]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
71ec1f3c2ec0fd83e14109a1fda8ecba972ce926
[thirdparty/glibc.git] / ChangeLog
1 2015-07-08 Roland McGrath <roland@hack.frob.com>
2
3 [BZ #18383]
4 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
5 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
6 * sysdeps/arm/configure: Regenerated.
7 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
8 (test-xfail-tst-tlsalign-static): Variable removed.
9
10 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
11 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
12 rather than explicit 'ln -s'.
13
14 * resolv/rpc/netdb.h: New file.
15 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
16
17 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18
19 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
20 length buffers.
21 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
22 test-skeleton.c.
23
24 [BZ #6544]
25 [BZ #11216]
26 [BZ #12836]
27 [BZ #13151]
28 [BZ #13152]
29 [BZ #14292]
30 * include/stdio.h (fmemopen): Remove hidden prototype.
31 (__fmemopen): Add new hidden prototype.
32 * libio/Makefile: Add oldfmemopen object.
33 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
34 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
35 compliance.
36 * libio/oldfmemopen.c: New file: old fmemopen implementation for
37 symbol compatibility.
38 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
39 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
40 fmemopen.
41 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
42 on append and read mode.
43 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
44 fmemopen.
45 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
46 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
47 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
48 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
49 Likewise.
50 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
51 [GLIBC_2.22]: Likewise.
52 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
53 Likewise.
54 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
55 Likewise.
56 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
57 [GLIBC_2.22]: Likewise.
58 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
59 [GLIBC_2.22]: Likewise.
60 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
61 [GLIBC_2.22]: Likewise.
62 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
63 [GLIBC_2.22]: Likewise.
64 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
65 [GLIBC_2.22]: Likewise.
66 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
67 [GLIBC_2.22]: Likewise.
68 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
69 [GLIBC_2.22]: Likewise.
70 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
71 Likewise.
72 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
73 Likewise.
74 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
75 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
76 [GLIBC_2.22]: Likewise.
77 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
78 [GLIBC_2.22]: Likewise.
79 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
80 [GLIBC_2.22]: Likewise.
81 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
82 [GLIBC_2.22]: Likewise.
83 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
84 Likewise.
85 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
86 Likewise.
87 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
88 Likewise.
89 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
90 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
91
92 2015-07-08 Carlos O'Donell <carlos@redhat.com>
93
94 [BZ #18643]
95 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
96 IPV6_PATHMTU, and IPV6_DONTFRAG.
97
98 2015-07-08 Feng Gao <gfree.wind@gmail.com>
99
100 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
101 and _IO_UNBUFFERED.
102 * libio/oldfileops.c: Likewise.
103 * libio/wfileops.c: Likewise.
104
105 2015-07-08 Mike Frysinger <vapier@gentoo.org>
106
107 * nscd/selinux.c: Delete selinux/flask.h include.
108
109 2015-07-08 Mike Frysinger <vapier@gentoo.org>
110
111 [BZ #18641]
112 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
113 (putpwent): Likewise.
114 (getpwnam): Likewise.
115 (getpwent_r): Likewise.
116 (getpwuid_r): Likewise.
117 (getpwnam_r): Likewise.
118 (fgetpwent_r): Likewise.
119
120 2015-07-08 Carlos O'Donell <carlos@redhat.com>
121
122 [BZ #18557]
123 * inet/rcmd.c (__validuser2_sa): Check user first to
124 short-circuit host check.
125
126 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
127 Mikhail Ilin <m.ilin@samsung.com>
128
129 [BZ #17833]
130 * elf/Makefile (tests): Add tst-nodelete.
131 (modules-names): Add tst-nodelete-uniquemod.
132 (tst-nodelete-uniquemod.so-no-z-defs): New.
133 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
134 (tst-nodelete-zmod.so-no-z-defs): Likewise.
135 ($(objpfx)tst-nodelete): Likewise.
136 ($(objpfx)tst-nodelete.out): Likewise.
137 (LDFLAGS-tst-nodelete): Likewise.
138 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
139 * elf/dl-close.c (_dl_close_worker): Add a parameter to
140 implement forced object deletion.
141 (_dl_close): Pass false to _dl_close_worker.
142 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
143 * elf/tst-nodelete.cc: New file.
144 * elf/tst-nodeletelib.cc: Likewise.
145 * elf/tst-znodeletelib.cc: Likewise.
146 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
147
148 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
149
150 [BZ #18508]
151 * stdlib/Makefile ($(objpfx)tst-makecontext3):
152 Depend on $(libdl).
153 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
154 is not called infinitely times.
155 (backtrace_helper): New function.
156 (trace_arg): New struct.
157 (st1): Enlarge stack size.
158 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
159 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
160 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
161 Likewise.
162
163 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
164
165 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
166
167 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
168
169 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
170 Include sys/types.h instead of bits/types.h.
171 Remove inclusion of bits/wordsize.h.
172
173 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
174
175 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
176 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
177 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
178 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
179 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
180 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
181
182 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
183
184 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
185 link-defines.sym.
186 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
187 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
188 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
189 and LR_SIZE.
190 * sysdeps/i386/link-defines.sym: New file.
191
192 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
193
194 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
195 (modules-names): Add tst-auditmod3a tst-auditmod3b.
196 ($(objpfx)tst-audit3): New rule.
197 ($(objpfx)tst-audit3.out): Likewise.
198 * sysdeps/i386/tst-audit3.c: New file.
199 * sysdeps/i386/tst-audit3.h: Likewise.
200 * sysdeps/i386/tst-auditmod3a.c: Likewise.
201 * sysdeps/i386/tst-auditmod3b.c: Likewise.
202
203 2015-07-07 Torvald Riegel <triegel@redhat.com>
204
205 [BZ #18633]
206 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
207 pointer in C code.
208 (__strcat_c): Likewise.
209 (__strcat_g): Likewise.
210
211 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
212
213 [BZ #18592]
214 * misc/sbrk.c: Set errno to ENOMEM on overflow.
215
216 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
217
218 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
219 New function. (__ieee754_sqrtf): New function.
220 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
221 New function.
222 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
223 New function.
224
225 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
226
227 * sysdeps/ieee754/support.c: Remove unused file.
228
229 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
230
231 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
232 registers instead of d ones so the layout is kernel abi compatible.
233 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
234 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
235 Likewise.
236
237 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
238
239 * sysdeps/aarch64/libm-test-ulps: Regenerated.
240
241 2015-07-01 Joseph Myers <joseph@codesourcery.com>
242
243 [BZ #18619]
244 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
245 and return argument in case of subnormal argument.
246
247 2015-07-01 Martin Sebor <msebor@redhat.com>
248
249 [BZ #18435]
250 * nptl/Makefile: Add tst-once5.cc.
251 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
252 Remove macro redefinitions.
253 * nptl/tst-once5.cc: New test.
254
255 2015-07-01 Joseph Myers <joseph@codesourcery.com>
256
257 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
258
259 * sysdeps/arm/libm-test-ulps: Regenerated.
260
261 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
262 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
263
264 2015-06-30 Torvald Riegel <triegel@redhat.com>
265
266 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
267 lll_lock_wait_private and lll_futex_wake probes.
268
269 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
270 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
271 Likewise.
272 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
273 atomic_spin_nop.
274 * sysdeps/x86_64/bits/atomic.h: Likewise.
275 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
276 to atomic_spin_nop and move ...
277 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
278 ... here and ...
279 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
280 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
281 atomic_spin_nop instead of BUSY_WAIT_NOP.
282 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
283 Likewise.
284 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
285 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
286 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
287 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
288 instead of atomic_delay.
289
290 2015-06-29 Joseph Myers <joseph@codesourcery.com>
291
292 [BZ #18613]
293 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
294 X_ADJ not X when adjusting exponent.
295 (__ieee754_gamma_r): Do intermediate computations in
296 round-to-nearest then adjust overflowing and underflowing results
297 as needed.
298 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
299 of X_ADJ not X when adjusting exponent.
300 (__ieee754_gammaf_r): Do intermediate computations in
301 round-to-nearest then adjust overflowing and underflowing results
302 as needed.
303 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
304 log of X_ADJ not X when adjusting exponent.
305 (__ieee754_gammal_r): Do intermediate computations in
306 round-to-nearest then adjust overflowing and underflowing results
307 as needed. Use 1.0L not 1.0f as numerator of division.
308 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
309 log of X_ADJ not X when adjusting exponent.
310 (__ieee754_gammal_r): Do intermediate computations in
311 round-to-nearest then adjust overflowing and underflowing results
312 as needed. Use 1.0L not 1.0f as numerator of division.
313 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
314 of X_ADJ not X when adjusting exponent.
315 (__ieee754_gammal_r): Do intermediate computations in
316 round-to-nearest then adjust overflowing and underflowing results
317 as needed. Use 1.0L not 1.0f as numerator of division.
318 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
319 to auto-libm-test-in.
320 (tgamma_test): Use ALL_RM_TEST.
321 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
322 tests of tgamma with spurious-overflow.
323 * math/auto-libm-test-out: Regenerated.
324 * math/gen-libm-have-vector-test.sh: Do not check for START.
325 * sysdeps/i386/fpu/libm-test-ulps: Update.
326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
327
328 [BZ #18612]
329 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
330 arguments, just return 0.5 times the argument, with underflow
331 forced as needed.
332 * math/auto-libm-test-in: Add more tests of j1.
333 * math/auto-libm-test-out: Regenerated.
334
335 [BZ #16559]
336 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
337 (__ieee754_j1): Force underflow exception for small results.
338 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
339 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
340 (__ieee754_j1f): Force underflow exception for small results.
341 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
342 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
343 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
344 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
345 (__ieee754_j1l): Force underflow exception for small results.
346 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
347 * math/auto-libm-test-in: Add more tests of j1 and jn.
348 * math/auto-libm-test-out: Regenerated.
349
350 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
351 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
352 (PF_MPLS): Likewise.
353 (AF_IB): Likewise.
354 (AF_MPLS): Likewise.
355 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
356 value and macro.
357 (MS_RMT_MASK): Include MS_LAZYTIME.
358
359 2015-06-26 Mel Gorman <mgorman@suse.de>
360
361 [BZ #18502]
362 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
363 already minimal.
364
365 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
366
367 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
368 (DT_MIPS_NUM): Update.
369 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
370 DT_MIPS_RLD_MAP_REL.
371
372 2015-06-25 Joseph Myers <joseph@codesourcery.com>
373
374 [BZ #16559]
375 [BZ #18602]
376 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
377 round-to-nearest internally then recompute results that
378 underflowed to zero in the original rounding mode.
379 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
380 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
381 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
382 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
383 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
384 * sysdeps/i386/fpu/libm-test-ulps: Update.
385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
386
387 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
388
389 * NEWS: Fixed description of link with vector math library.
390
391 2015-06-25 Andreas Schwab <schwab@suse.de>
392
393 [BZ #18549]
394 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
395 * libio/test-fmemopen.c (do_test): Add test for it.
396
397 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
398
399 [BZ #17841]
400 * Makeconfig (no-pie-ldflag): New.
401 (+link): Set to $(+link-pie) if default to PIE.
402 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
403 * config.make.in (build-pie-default): New.
404 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
405 is default. AC_SUBST.
406 * configure: Regenerated.
407 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
408
409 2015-06-24 Roland McGrath <roland@hack.frob.com>
410
411 * nptl/descr.h (struct pthread): Change type of field setxid_futex
412 to 'unsigned int'.
413
414 * resolv/gai_misc.h (struct waitlist): Change type of field
415 counterp to 'volatile unsigned int *'.
416 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
417 FUTEXADDR and OLDVAL.
418 * resolv/getaddrinfo_a.c (getaddrinfo_a):
419 Give local variable TOTAL type 'volatile unsigned int'.
420 (struct async_waitlist): Change type of field counter to 'unsigned int'.
421 * resolv/gai_suspend.c (gai_suspend):
422 Give local variable CNTR type 'unsigned int'.
423
424 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
425 counterp to 'volatile unsigned int *'.
426 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
427 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
428 (aio_suspend): Give local variable CNTR type 'unsigned int'.
429 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
430 Give local variable TOTAL type 'volatile unsigned int'.
431 (struct async_waitlist): Change type of field counter to 'unsigned int'.
432
433 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
434
435 [BZ #18383]
436 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
437 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
438 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
439 comment for i386/x86-64.
440 (test-xfail-tst-tlsalign-extern-static): Removed.
441
442 2015-06-24 Joseph Myers <joseph@codesourcery.com>
443
444 * math/test-double.h: New file.
445 * math/test-float.h: Likewise.
446 * math/test-ldouble.h: Likewise.
447 * math/test-math-inline.h: Likewise.
448 * math/test-math-no-inline.h: Likewise.
449 * math/test-math-scalar.h: Likewise.
450 * math/test-math-vector.h: Likewise.
451 * math/test-vec-loop.h: Remove file. Contents moved into
452 test-math-vector.h.
453 * math/libm-test.inc (MATHCONST): Do not document macro.
454 * math/test-double.c: Include test-double.h, test-math-no-inline.h
455 and test-math-scalar.h.
456 (FUNC): Remove macro.
457 (FUNC_TEST): Likewise.
458 (FLOAT): Likewise.
459 (MATHCONST): Likewise.
460 (PRINTF_EXPR): Likewise.
461 (PRINTF_XEXPR): Likewise.
462 (PRINTF_NEXPR): Likewise.
463 (TEST_DOUBLE): Likewise.
464 (TEST_MATHVEC): Likewise.
465 (__NO_MATH_INLINES): Likewise.
466 * math/test-float.c: Include test-float.h, test-math-no-inline.h
467 and test-math-scalar.h.
468 (FUNC): Remove macro.
469 (FUNC_TEST): Likewise.
470 (FLOAT): Likewise.
471 (MATHCONST): Likewise.
472 (PRINTF_EXPR): Likewise.
473 (PRINTF_XEXPR): Likewise.
474 (PRINTF_NEXPR): Likewise.
475 (TEST_FLOAT): Likewise.
476 (TEST_MATHVEC): Likewise.
477 (__NO_MATH_INLINES): Likewise.
478 * math/test-idouble.c: Include test-double.h, test-math-inline.h
479 and test-math-scalar.h.
480 (FUNC): Remove macro.
481 (FUNC_TEST): Likewise.
482 (FLOAT): Likewise.
483 (MATHCONST): Likewise.
484 (PRINTF_EXPR): Likewise.
485 (PRINTF_XEXPR): Likewise.
486 (PRINTF_NEXPR): Likewise.
487 (TEST_DOUBLE): Likewise.
488 (TEST_MATHVEC): Likewise.
489 (TEST_INLINE): Likewise.
490 (__NO_MATH_INLINES): Likewise.
491 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
492 test-math-scalar.h.
493 (FUNC): Remove macro.
494 (FUNC_TEST): Likewise.
495 (FLOAT): Likewise.
496 (MATHCONST): Likewise.
497 (PRINTF_EXPR): Likewise.
498 (PRINTF_XEXPR): Likewise.
499 (PRINTF_NEXPR): Likewise.
500 (TEST_FLOAT): Likewise.
501 (TEST_MATHVEC): Likewise.
502 (TEST_INLINE): Likewise.
503 (__NO_MATH_INLINES): Likewise.
504 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
505 and test-math-scalar.h.
506 (FUNC): Remove macro.
507 (FUNC_TEST): Likewise.
508 (FLOAT): Likewise.
509 (MATHCONST): Likewise.
510 (PRINTF_EXPR): Likewise.
511 (PRINTF_XEXPR): Likewise.
512 (PRINTF_NEXPR): Likewise.
513 (TEST_LDOUBLE): Likewise.
514 (TEST_MATHVEC): Likewise.
515 (TEST_INLINE): Likewise.
516 (__NO_MATH_INLINES): Likewise.
517 * math/test-ldouble.c: Include test-ldouble.h,
518 test-math-no-inline.h and test-math-scalar.h.
519 (FUNC): Remove macro.
520 (FUNC_TEST): Likewise.
521 (FLOAT): Likewise.
522 (MATHCONST): Likewise.
523 (PRINTF_EXPR): Likewise.
524 (PRINTF_XEXPR): Likewise.
525 (PRINTF_NEXPR): Likewise.
526 (TEST_LDOUBLE): Likewise.
527 (TEST_MATHVEC): Likewise.
528 (__NO_MATH_INLINES): Likewise.
529 * math/test-double-vlen2.h: Include test-double.h,
530 test-math-no-inline.h and test-math-vector.h.
531 (FLOAT): Remove macro.
532 (FUNC): Likewise.
533 (MATHCONST): Likewise.
534 (PRINTF_EXPR): Likewise.
535 (PRINTF_XEXPR): Likewise.
536 (PRINTF_NEXPR): Likewise.
537 (TEST_DOUBLE): Likewise.
538 (TEST_MATHVEC): Likewise.
539 (__NO_MATH_INLINES): Likewise.
540 (CNCT): Likewise.
541 (CONCAT): Likewise.
542 (WRAPPER_NAME): Likewise.
543 (WRAPPER_DECL): Likewise.
544 (WRAPPER_DECL_ff): Likewise.
545 (WRAPPER_DECL_fFF): Likewise.
546 (VECTOR_WRAPPER): Likewise.
547 (VECTOR_WRAPPER_ff): Likewise.
548 (VECTOR_WRAPPER_fFF): Likewise.
549 (VEC_LEN): New macro.
550 * math/test-double-vlen4.h: Include test-double.h,
551 test-math-no-inline.h and test-math-vector.h.
552 (FLOAT): Remove macro.
553 (FUNC): Likewise.
554 (MATHCONST): Likewise.
555 (PRINTF_EXPR): Likewise.
556 (PRINTF_XEXPR): Likewise.
557 (PRINTF_NEXPR): Likewise.
558 (TEST_DOUBLE): Likewise.
559 (TEST_MATHVEC): Likewise.
560 (__NO_MATH_INLINES): Likewise.
561 (CNCT): Likewise.
562 (CONCAT): Likewise.
563 (WRAPPER_NAME): Likewise.
564 (WRAPPER_DECL): Likewise.
565 (WRAPPER_DECL_ff): Likewise.
566 (WRAPPER_DECL_fFF): Likewise.
567 (VECTOR_WRAPPER): Likewise.
568 (VECTOR_WRAPPER_ff): Likewise.
569 (VECTOR_WRAPPER_fFF): Likewise.
570 (VEC_LEN): New macro.
571 * math/test-double-vlen8.h: Include test-double.h,
572 test-math-no-inline.h and test-math-vector.h.
573 (FLOAT): Remove macro.
574 (FUNC): Likewise.
575 (MATHCONST): Likewise.
576 (PRINTF_EXPR): Likewise.
577 (PRINTF_XEXPR): Likewise.
578 (PRINTF_NEXPR): Likewise.
579 (TEST_DOUBLE): Likewise.
580 (TEST_MATHVEC): Likewise.
581 (__NO_MATH_INLINES): Likewise.
582 (CNCT): Likewise.
583 (CONCAT): Likewise.
584 (WRAPPER_NAME): Likewise.
585 (WRAPPER_DECL): Likewise.
586 (WRAPPER_DECL_ff): Likewise.
587 (WRAPPER_DECL_fFF): Likewise.
588 (VECTOR_WRAPPER): Likewise.
589 (VECTOR_WRAPPER_ff): Likewise.
590 (VECTOR_WRAPPER_fFF): Likewise.
591 (VEC_LEN): New macro.
592 * math/test-float-vlen4.h: Include test-float.h,
593 test-math-no-inline.h and test-math-vector.h.
594 (FLOAT): Remove macro.
595 (FUNC): Likewise.
596 (MATHCONST): Likewise.
597 (PRINTF_EXPR): Likewise.
598 (PRINTF_XEXPR): Likewise.
599 (PRINTF_NEXPR): Likewise.
600 (TEST_FLOAT): Likewise.
601 (TEST_MATHVEC): Likewise.
602 (__NO_MATH_INLINES): Likewise.
603 (CNCT): Likewise.
604 (CONCAT): Likewise.
605 (WRAPPER_NAME): Likewise.
606 (WRAPPER_DECL): Likewise.
607 (WRAPPER_DECL_ff): Likewise.
608 (WRAPPER_DECL_fFF): Likewise.
609 (VECTOR_WRAPPER): Likewise.
610 (VECTOR_WRAPPER_ff): Likewise.
611 (VECTOR_WRAPPER_fFF): Likewise.
612 (VEC_LEN): New macro.
613 * math/test-float-vlen8.h: Include test-float.h,
614 test-math-no-inline.h and test-math-vector.h.
615 (FLOAT): Remove macro.
616 (FUNC): Likewise.
617 (MATHCONST): Likewise.
618 (PRINTF_EXPR): Likewise.
619 (PRINTF_XEXPR): Likewise.
620 (PRINTF_NEXPR): Likewise.
621 (TEST_FLOAT): Likewise.
622 (TEST_MATHVEC): Likewise.
623 (__NO_MATH_INLINES): Likewise.
624 (CNCT): Likewise.
625 (CONCAT): Likewise.
626 (WRAPPER_NAME): Likewise.
627 (WRAPPER_DECL): Likewise.
628 (WRAPPER_DECL_ff): Likewise.
629 (WRAPPER_DECL_fFF): Likewise.
630 (VECTOR_WRAPPER): Likewise.
631 (VECTOR_WRAPPER_ff): Likewise.
632 (VECTOR_WRAPPER_fFF): Likewise.
633 (VEC_LEN): New macro.
634 * math/test-float-vlen16.h: Include test-float.h,
635 test-math-no-inline.h and test-math-vector.h.
636 (FLOAT): Remove macro.
637 (FUNC): Likewise.
638 (MATHCONST): Likewise.
639 (PRINTF_EXPR): Likewise.
640 (PRINTF_XEXPR): Likewise.
641 (PRINTF_NEXPR): Likewise.
642 (TEST_FLOAT): Likewise.
643 (TEST_MATHVEC): Likewise.
644 (__NO_MATH_INLINES): Likewise.
645 (CNCT): Likewise.
646 (CONCAT): Likewise.
647 (WRAPPER_NAME): Likewise.
648 (WRAPPER_DECL): Likewise.
649 (WRAPPER_DECL_ff): Likewise.
650 (WRAPPER_DECL_fFF): Likewise.
651 (VECTOR_WRAPPER): Likewise.
652 (VECTOR_WRAPPER_ff): Likewise.
653 (VECTOR_WRAPPER_fFF): Likewise.
654 (VEC_LEN): New macro.
655 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
656 test-vec-loop.h.
657 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
658 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
659 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
660 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
661 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
662 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
663 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
664
665 2015-06-24 Roland McGrath <roland@hack.frob.com>
666
667 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
668 (__getlogin_r): ... this.
669
670 2015-06-24 Joseph Myers <joseph@codesourcery.com>
671
672 [BZ #18594]
673 * math/s_ccosh.c (__ccosh): Compare with least normal value
674 instead of comparing class with FP_SUBNORMAL.
675 * math/s_ccoshf.c (__ccoshf): Likewise.
676 * math/s_ccoshl.c (__ccoshl): Likewise.
677 * math/s_cexp.c (__cexp): Likewise.
678 * math/s_cexpf.c (__cexpf): Likewise.
679 * math/s_cexpl.c (__cexpl): Likewise.
680 * math/s_csin.c (__csin): Likewise.
681 * math/s_csinf.c (__csinf): Likewise.
682 * math/s_csinh.c (__csinh): Likewise.
683 * math/s_csinhf.c (__csinhf): Likewise.
684 * math/s_csinhl.c (__csinhl): Likewise.
685 * math/s_csinl.c (__csinl): Likewise.
686 * math/s_ctan.c (__ctan): Likewise.
687 * math/s_ctanf.c (__ctanf): Likewise.
688 * math/s_ctanh.c (__ctanh): Likewise.
689 * math/s_ctanhf.c (__ctanhf): Likewise.
690 * math/s_ctanhl.c (__ctanhl): Likewise.
691 * math/s_ctanl.c (__ctanl): Likewise.
692 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
693 csin, csinh, ctan and ctanh.
694 * math/auto-libm-test-out: Regenerated.
695 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
696 * sysdeps/i386/fpu/libm-test-ulps: Update.
697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
698
699 2015-06-24 Roland McGrath <roland@hack.frob.com>
700
701 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
702 return value is wrong, print the expected value too.
703
704 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
705
706 [BZ #18585]
707 * elf/readlib.c (is_gdb_python_file): New.
708 (process_file): Don't issue errors on filenames with -gdb.py
709 suffix.
710
711 2015-06-24 Joseph Myers <joseph@codesourcery.com>
712
713 * math/auto-libm-test-in: Add more tests of csin and csinh.
714 * math/auto-libm-test-out: Regenerated.
715 * math/libm-test.inc (csin_test_data): Remove tests moved to
716 auto-libm-test-in.
717 (csinh_test_data): Likewise.
718
719 [BZ #18593]
720 * math/s_csin.c (__csin): Negate before rather than after possibly
721 overflowing multiplication.
722 * math/s_csinf.c (__csinf): Likewise.
723 * math/s_csinh.c (__csinh): Likewise.
724 * math/s_csinhf.c (__csinhf): Likewise.
725 * math/s_csinhl.c (__csinhl): Likewise.
726 * math/s_csinl.c (__csinl): Likewise.
727 * math/auto-libm-test-in: Add some tests of csin and csinh.
728 * math/auto-libm-test-out: Regenerated.
729 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
730 (csinh_test_data): Likewise.
731 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
732
733 [BZ #18586]
734 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
735 underflow exception for small results.
736
737 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
738
739 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
740 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
741 variable and included header.
742 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
743 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
744 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
745 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
746 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
747 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
748 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
749 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
750 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
751 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
752 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
753 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
754 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
755 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
756 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
757 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
758
759 2015-06-23 Joseph Myers <joseph@codesourcery.com>
760
761 [BZ #16526]
762 [BZ #16538]
763 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
764 (__sin): Force underflow exception for arguments with small
765 absolute value.
766 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
767 (__kernel_sinf): Force underflow exception for arguments with
768 small absolute value.
769 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
770 (__kernel_sincosl): Force underflow exception for arguments with
771 small absolute value.
772 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
773 (__kernel_sinl): Force underflow exception for arguments with
774 small absolute value.
775 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
776 (__kernel_sincosl): Force underflow exception for arguments with
777 small absolute value.
778 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
779 (__kernel_sinl): Force underflow exception for arguments with
780 small absolute value.
781 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
782 (__kernel_sinl): Force underflow exception for arguments with
783 small absolute value.
784 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
785 (__kernel_sinf): Force underflow exception for arguments with
786 small absolute value.
787 * math/auto-libm-test-in: Add more tests of sin and sincos.
788 * math/auto-libm-test-out: Regenerated.
789
790 [BZ #18245]
791 [BZ #18583]
792 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
793 (__kernel_standard_l): Use feholdexcept and fesetenv around
794 conversion to double instead of special-casing overflow and
795 underflow.
796 * math/libm-test.inc (fmod_test_data): Add more tests.
797 (remainder_test_data): Likewise.
798 (sqrt_test_data): Likewise.
799
800 2015-06-23 Torvald Riegel <triegel@redhat.com>
801
802 [BZ #17403]
803 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
804 atomic_read_barrier, atomic_write_barrier): Define.
805 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
806 atomic_read_barrier, atomic_write_barrier): Define.
807
808 2015-06-23 Joseph Myers <joseph@codesourcery.com>
809
810 * math/Makefile [$(PERL) != no]
811 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
812 dependency on libm-test.stmp below the inclusion of Rules.
813
814 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
815
816 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
817 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
818 and included header.
819 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
820 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
821 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
822 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
823 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
824 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
825 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
826 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
827 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
828 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
829 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
830 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
831 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
832 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
833 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
834 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
835 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
836 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
837 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
838
839 2015-06-23 Joseph Myers <joseph@codesourcery.com>
840
841 [BZ #18371]
842 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
843 intermediate but not final result might underflow.
844 * math/s_csqrtf.c (__csqrtf): Likewise.
845 * math/s_csqrtl.c (__csqrtl): Likewise.
846 * math/auto-libm-test-in: Add more tests of csqrt.
847 * math/auto-libm-test-out: Regenerated.
848 * sysdeps/i386/fpu/libm-test-ulps: Update.
849
850 [BZ #18219]
851 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
852 threshold on absolute value of exponent for which scaling is used.
853 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
854 * math/auto-libm-test-in: Add more tests of exp2.
855 * math/auto-libm-test-out: Regenerated.
856
857 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
858
859 [BZ #17977]
860 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
861 when initializing interface list, based on the bug analysis
862 and the patch proposed by Eric Newton.
863 * resolv/tst-res_hconf_reorder.c: New test.
864 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
865 tst-res_hconf_reorder.
866 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
867 and $(shared-thread-library).
868 (tst-res_hconf_reorder-ENV): New variable.
869
870 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
871 in comment.
872
873 2015-06-22 Joseph Myers <joseph@codesourcery.com>
874
875 [BZ #16353]
876 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
877 (__expm1): Force underflow exception for arguments with small
878 absolute value.
879 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
880 (__expm1f): Force underflow exception for arguments with small
881 absolute value.
882 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
883 (__expm1): Force underflow exception for arguments with small
884 absolute value.
885 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
886 (__expm1f): Force underflow exception for arguments with small
887 absolute value.
888 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
889 Check for small arguments before calling __expm1.
890 * math/auto-libm-test-in: Do not mark underflow exceptions as
891 possibly missing for bug 16353.
892 * math/auto-libm-test-out: Regenerated.
893
894 2015-06-22 Andreas Schwab <schwab@suse.de>
895
896 [BZ #18513]
897 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
898 PTR queries.
899
900 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
901
902 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
903
904 * string/strcoll_l.c: Remove unused struct element idxnow.
905
906 2015-06-21 Joseph Myers <joseph@codesourcery.com>
907
908 [BZ #18569]
909 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
910 underflow and return argument in case of subnormal argument.
911 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
912 Likewise.
913 * math/auto-libm-test-in: Add more tests of expm1.
914 * math/auto-libm-test-out: Regenerated.
915
916 [BZ #16361]
917 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
918 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
919 tiny results.
920 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
921 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
922 tiny results.
923 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
924 mark underflow exceptions as possibly missing for bug 16361.
925 * math/auto-libm-test-out: Regenerated.
926
927 2015-06-19 Joseph Myers <joseph@codesourcery.com>
928
929 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
930 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
931 Remove variable.
932 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
933 (test-xfail-XOPEN2K8/utmpx.h/conform).
934
935 * conform/conformtest.pl ($xerrors): New variable.
936 (note_error): New function.
937 (compiletest): New argument $xfail. Use not_error.
938 (runtest): Likewise.
939 (top level): Handle xfail- lines. Update calls to compiletest and
940 runtest. Handle xfail- and optional- in headers listed with
941 allow-header.
942 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
943 (O_EXEC): Likewise.
944 (O_SEARCH): Likewise.
945 * conform/data/stropts.h-data (ioctl): Likewise.
946 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
947 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
948 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
949 (msghdr.msg_controllen): Likewise.
950 (cmsghdr.cmsg_len): Likewise.
951 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
952 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
953 variable.
954 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
955 (test-xfail-XPG4/stropts.h/conform): Likewise.
956 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
957 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
958 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
959 (test-xfail-UNIX98/stropts.h/conform): Likewise.
960 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
961 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
962 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
963 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
964 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
965 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
966 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
967 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
968 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
969 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
970 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
971 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
972 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
973 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
974 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
975
976 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
977
978 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
979 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
980 definitions for proper unfolding of __MATHDECL_VEC.
981
982 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
983
984 * benchtests/bench-strcoll.c:
985 Include string.h.
986 (main): Remove unused variable res.
987
988 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
989
990 * timezone/Makefile (%/UTC %/Universal):
991 Generate test-result files for UTC and Universal.
992
993 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
994
995 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
996
997 2015-06-18 Joseph Myers <joseph@codesourcery.com>
998
999 [BZ #16350]
1000 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
1001 for arguments with small absolute value.
1002 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
1003 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
1004 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
1005 (__asinh): Force underflow exception for arguments with small
1006 absolute value.
1007 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
1008 (__asinhf): Force underflow exception for arguments with small
1009 absolute value.
1010 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
1011 (__asinhl): Force underflow exception for arguments with small
1012 absolute value.
1013 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
1014 (__asinhl): Force underflow exception for arguments with small
1015 absolute value.
1016 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
1017 (__asinhl): Force underflow exception for arguments with small
1018 absolute value.
1019 * math/auto-libm-test-in: Do not mark underflow exceptions as
1020 possibly missing for bug 16350.
1021 * math/auto-libm-test-out: Regenerated.
1022
1023 * include/bits/ipc.h: Remove file.
1024 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
1025 variable.
1026 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1027 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1028 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1029 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1030 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1031 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1032 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1033 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1034 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1035
1036 * math/auto-libm-test-in: Remove spurious underflow allowance for
1037 tests of cexp.
1038 * math/auto-libm-test-out: Regenerated.
1039
1040 [BZ #18558]
1041 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
1042 unconditional definition.
1043 (MCAST_BLOCK_SOURCE): Likewise.
1044 (MCAST_UNBLOCK_SOURCE): Likewise.
1045 (MCAST_LEAVE_GROUP): Likewise.
1046 (MCAST_JOIN_SOURCE_GROUP): Likewise.
1047 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1048 (MCAST_MSFILTER): Likewise.
1049 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
1050 Remove variable.
1051 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1052 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1053 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1054 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1055 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1056
1057 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
1058
1059 * NEWS: Mention addition of x86_64 vector sincosf.
1060 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
1061 * math/test-float-vlen4.h: Likewise.
1062 * math/test-float-vlen8.h: Likewise.
1063 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1064 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
1065 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1066 * sysdeps/x86_64/fpu/Versions: New versions added.
1067 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1068 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1069 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1070 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
1071 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
1072 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
1073 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
1074 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
1075 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
1076 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
1077 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
1078 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
1079 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
1080 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
1081 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
1082 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
1083 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
1084 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1085 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1086 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1087 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1088 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1089 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1090 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1091
1092 * NEWS: Mention addition of x86_64 vector sincos.
1093 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
1094 * math/math.h (__MATHDECL_VEC): New macro.
1095 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
1096 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
1097 declaration under condition.
1098 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
1099 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
1100 TEST_VEC_LOOP change.
1101 * math/test-double-vlen4.h: Likewise.
1102 * math/test-double-vlen8.h: Likewise.
1103 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
1104 * math/test-float-vlen4.h: Likewise.
1105 * math/test-float-vlen8.h: Likewise.
1106 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1107 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
1108 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1109 * sysdeps/x86_64/fpu/Versions: New versions added.
1110 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1111 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1112 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1113 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
1114 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
1115 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
1116 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
1117 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
1118 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
1119 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
1120 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
1121 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
1122 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
1123 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
1124 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
1125 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
1126 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
1127 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1128 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1129 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1130 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1131 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1132 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1133 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1134
1135 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1136 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1137 redirections for powf.
1138 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1139 * sysdeps/x86_64/fpu/Versions: New versions added.
1140 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1141 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1142 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1143 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
1144 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
1145 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
1146 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
1147 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
1148 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
1149 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
1150 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
1151 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
1152 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
1153 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
1154 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
1155 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
1156 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
1157 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1158 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1159 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1160 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1161 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1162 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1163 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1164 * math/test-float-vlen16.h: Fixed 2 argument macro.
1165 * math/test-float-vlen4.h: Likewise.
1166 * math/test-float-vlen8.h: Likewise.
1167 * NEWS: Mention addition of x86_64 vector powf.
1168
1169 2015-06-17 Joseph Myers <joseph@codesourcery.com>
1170
1171 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1172 and redefine.
1173 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1174 and redefine.
1175 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
1176 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1177 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1178
1179 [BZ #18553]
1180 * resource/getpriority.c (getpriority): Rename to __getpriority
1181 and define as weak alias of __getpriority.
1182 * resource/setpriority.c (setpriority): Rename to __setpriority
1183 and define as weak alias of __setpriority.
1184 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
1185 __getpriority and define as weak alias of __getpriority.
1186 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
1187 __setpriority and define as weak alias of __setpriority.
1188 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
1189 strong name.
1190 (setpriority): Use __setpriority as strong name.
1191 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
1192 __getpriority and define as weak alias of __getpriority.
1193 * include/sys/resource.h (__getpriority): Declare. Use
1194 libc_hidden_proto.
1195 (__setpriority): Likewise.
1196 (getpriority): Don't use libc_hidden_proto.
1197 (setpriority): Likewise.
1198 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
1199 getpriority. Call __setpriority instead of setpriority.
1200 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
1201 Remove variable.
1202
1203 [BZ #18547]
1204 * misc/getttyent.c (getttynam): Rename to __getttynam and define
1205 as weak alias of __getttynam. Use prototype function definition.
1206 Call __setttyent, __getttyent and __endttyent instead of
1207 setttyent, getttyent and endttyent.
1208 (getttyent): Rename to __getttyent and define as weak alias of
1209 __getttyent. Call __setttyent instead of setttyent. Call
1210 __fgets_unlocked instead of fgets_unlocked.
1211 (setttyent): Rename to __setttyent and define as weak alias of
1212 __setttyent.
1213 (endttyent): Rename to __endttyent and define as weak alias of
1214 __endttyent.
1215 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
1216 (__setttyent): Likewise.
1217 (__endttyent): Likewise.
1218 (getttyent): Don't use libc_hidden_proto.
1219 (setttyent): Likewise.
1220 (endttyent): Likewise.
1221 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
1222 __endttyent instead of setttyent, getttyent and endttyent.
1223 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
1224 Remove variable.
1225
1226 [BZ #18546]
1227 * socket/recv.c (__recv): Use libc_hidden_def.
1228 * socket/socket.c (__socket): Likewise.
1229 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
1230 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
1231 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
1232 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
1233 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
1234 libc_hidden_def.
1235 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
1236 libc_hidden_weak.
1237 * include/sys/socket.h (__socket): Do not use attribute_hidden.
1238 Use libc_hidden_proto.
1239 (__recv): Likewise.
1240 * socket/Versions (libc): Export __recv and __socket at version
1241 GLIBC_PRIVATE.
1242 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
1243 instead of recv.
1244 (init_mq_netlink): Call __socket instead of socket.
1245 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
1246 Remove variable.
1247
1248 [BZ #18545]
1249 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
1250 __mq_timedreceive and define as alias of __mq_timedreceive. Use
1251 hidden_weak.
1252 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
1253 define as alias of __mq_timedsend. Use hidden_weak.
1254 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
1255 __mq_timedsend as strong name.
1256 (mq_timedreceive): Use __mq_timedreceive as strong name.
1257 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
1258 (__mq_timedreceive): Likewise.
1259 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
1260 __mq_timedreceive instead of mq_timedreceive.
1261 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
1262 instead of mq_timedsend.
1263 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
1264 Remove variable.
1265
1266 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
1267 hidden_def and hidden_weak instead of libc_hidden_def and
1268 libc_hidden_weak.
1269 (top level): Refer to hidden_def in comment.
1270 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
1271 macro. Use it instead of libc_hidden_def.
1272 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
1273 specify __GI_* name explicitly.
1274 (mq_timedreceive): Likewise.
1275 (mq_setattr): Likewise.
1276
1277 [BZ #18544]
1278 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
1279 __pthread_barrier_init and define as weak alias of
1280 __pthread_barrier_init.
1281 * sysdeps/sparc/nptl/pthread_barrier_init.c
1282 (pthread_barrier_init): Likewise.
1283 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
1284 __pthread_barrier_wait and define as weak alias of
1285 __pthread_barrier_wait.
1286 * sysdeps/sparc/nptl/pthread_barrier_wait.c
1287 (pthread_barrier_wait): Likewise.
1288 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
1289 (pthread_barrier_wait): Likewise.
1290 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
1291 (pthread_barrier_wait): Likewise.
1292 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
1293 (pthread_barrier_wait): Likewise.
1294 * nptl/Versions (libpthread): Export __pthread_barrier_init and
1295 __pthread_barrier_wait at version GLIBC_PRIVATE.
1296 * include/pthread.h (__pthread_barrier_init): Declare.
1297 (__pthread_barrier_wait): Likewise.
1298 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
1299 Call __pthread_barrier_wait instead of pthread_barrier_wait.
1300 (helper_thread): Likewise.
1301 (init_mq_netlink): Call __pthread_barrier_init instead of
1302 pthread_barrier_init.
1303
1304 [BZ #18542]
1305 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
1306 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
1307 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
1308 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
1309 vswscanf.
1310 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
1311 Remove variable.
1312
1313 [BZ #18540]
1314 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
1315 strong alias of _IO_fflush. Use libc_hidden_def.
1316 * libio/iofflush_u.c (fflush_unlocked): Rename to
1317 __fflush_unlocked and define as weak alias of __fflush_unlocked.
1318 Use libc_hidden_weak.
1319 * include/stdio.h (__fflush_unlocked): Declare. Use
1320 libc_hidden_proto.
1321 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
1322 fflush_unlocked.
1323 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
1324 Remove variable.
1325
1326 [BZ #18539]
1327 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
1328 define as weak alias of __addseverity.
1329 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
1330 Remove variable.
1331 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1332 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1333 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1334
1335 [BZ #18536]
1336 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
1337 (__tfind): Likewise.
1338 (__tdelete): Likewise.
1339 (__twalk): Likewise.
1340 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
1341 __twalk to GLIBC_PRIVATE.
1342 * include/search.h (__tsearch): Use libc_hidden_proto.
1343 (__tfind): Likewise.
1344 (__tdelete): Likewise.
1345 (__twalk): Likewise.
1346 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
1347 Call __tdelete instead of tdelete.
1348 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
1349 tfind. Call __tsearch instead of tsearch.
1350 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
1351 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
1352 Remove variable.
1353 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1354
1355 [BZ #18534]
1356 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
1357 (dprintf): Define as a weak alias of __dprintf, not a strong
1358 alias.
1359 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
1360 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
1361 dprintf.
1362 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
1363 Remove variable.
1364 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1365 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1366
1367 [BZ #18533]
1368 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
1369 not a strong alias.
1370 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
1371 Remove variable.
1372
1373 [BZ #18532]
1374 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
1375 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
1376 (in6addr_loopback): Rename to __in6addr_loopback and define as
1377 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
1378 * include/netinet/in.h (__in6addr_loopback): Declare. Use
1379 libc_hidden_proto.
1380 (__in6addr_any): Likewise.
1381 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
1382 in6addr_any.
1383 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
1384 variable.
1385 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1386
1387 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
1388
1389 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
1390 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
1391 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1392 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1393 redirections for pow.
1394 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1395 * sysdeps/x86_64/fpu/Versions: New versions added.
1396 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1397 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1398 build of SSE, AVX2 and AVX512 IFUNC versions.
1399 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
1400 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
1401 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
1402 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
1403 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
1404 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
1405 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
1406 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
1407 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
1408 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
1409 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
1410 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
1411 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
1412 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
1413 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1414 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1415 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1416 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1417 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1418 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1419 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1420 * NEWS: Mention addition of x86_64 vector pow.
1421
1422 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1423 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1424 redirections for expf.
1425 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1426 * sysdeps/x86_64/fpu/Versions: New versions added.
1427 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1428 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1429 build of SSE, AVX2 and AVX512 IFUNC versions.
1430 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
1431 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
1432 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
1433 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
1434 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
1435 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
1436 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
1437 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
1438 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
1439 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
1440 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
1441 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
1442 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
1443 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1444 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1445 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1446 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1447 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1448 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1449 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1450 * NEWS: Mention addition of x86_64 vector expf.
1451
1452 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
1453 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
1454 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1455 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1456 redirections for exp.
1457 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1458 * sysdeps/x86_64/fpu/Versions: New versions added.
1459 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1460 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1461 build of SSE, AVX2 and AVX512 IFUNC versions.
1462 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
1463 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
1464 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
1465 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
1466 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
1467 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
1468 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
1469 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
1470 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
1471 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
1472 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
1473 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
1474 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
1475 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1476 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1477 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1478 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1479 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1480 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1481 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1482 * NEWS: Mention addition of x86_64 vector exp.
1483
1484 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1485 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1486 redirections for logf.
1487 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1488 * sysdeps/x86_64/fpu/Versions: New versions added.
1489 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1490 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1491 build of SSE, AVX2 and AVX512 IFUNC versions.
1492 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
1493 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
1494 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
1495 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
1496 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
1497 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
1498 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
1499 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
1500 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
1501 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
1502 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
1503 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
1504 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
1505 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1506 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1507 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1508 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1509 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1510 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1511 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1512 * NEWS: Mention addition of x86_64 vector logf.
1513
1514 * bits/libm-simd-decl-stubs.h: Added stubs for log.
1515 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
1516 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1517 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1518 redirections for log.
1519 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1520 * sysdeps/x86_64/fpu/Versions: New versions added.
1521 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1522 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1523 build of SSE, AVX2 and AVX512 IFUNC versions.
1524 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
1525 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
1526 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
1527 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
1528 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
1529 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
1530 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
1531 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
1532 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
1533 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
1534 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
1535 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
1536 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
1537 test.
1538 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1539 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1540 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1541 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1542 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1543 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1544 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1545 * NEWS: Mention addition of x86_64 vector log.
1546
1547 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
1548
1549 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
1550 cfi_adjust_cfa_offset argument.
1551 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
1552 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1553
1554 [BZ #18034]
1555 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
1556 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
1557 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
1558 ordering using ldar.
1559 (_dl_tlsdesc_dynamic): Likewise.
1560 (_dl_tlsdesc_return_lazy): Likewise.
1561 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
1562 relaxed atomics instead of volatile and synchronize with release store.
1563 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
1564 volatile.
1565 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1566
1567 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
1568
1569 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1570 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
1571 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1572 * sysdeps/x86_64/fpu/Versions: New versions added.
1573 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1574 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1575 build of SSE, AVX2 and AVX512 IFUNC versions.
1576 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
1577 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
1578 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
1579 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
1580 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
1581 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
1582 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
1583 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
1584 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
1585 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
1586 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
1587 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
1588 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
1589 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1590 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1591 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1592 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1593 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1594 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1595 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1596 * NEWS: Mention addition of x86_64 vector sinf.
1597
1598 2015-06-14 Joseph Myers <joseph@codesourcery.com>
1599
1600 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
1601 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
1602 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
1603 Remove variable.
1604 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1605 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1606
1607 2015-06-12 Joseph Myers <joseph@codesourcery.com>
1608
1609 [BZ #18530]
1610 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
1611 strong alias of _IO_fputs. Use libc_hidden_def.
1612 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
1613 and define as weak alias of __fputs_unlocked. Use
1614 libc_hidden_weak.
1615 * include/stdio.h (__fputs_unlocked): Declare. Use
1616 libc_hidden_proto.
1617 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
1618 fputs_unlocked.
1619
1620 [BZ #18529]
1621 * resolv/netdb.h [__USE_POSIX]: Change condition to
1622 [__USE_XOPEN2K].
1623 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
1624 not expect.
1625 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
1626 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
1627 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
1628 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
1629 [XPG4 || UNIX98] (AI_ALL): Likewise.
1630 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
1631 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
1632 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
1633 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
1634 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
1635 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
1636 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
1637 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
1638 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
1639 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
1640 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
1641 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
1642 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
1643 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
1644 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
1645 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1646 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1647 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
1648 [XPG4 || UNIX98] (gai_strerror): Likewise.
1649 [XPG4 || UNIX98] (getaddrinfo): Likewise.
1650 [XPG4 || UNIX98] (getnameinfo): Likewise.
1651
1652 [BZ #18528]
1653 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
1654 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
1655 __USE_XOPEN2K8].
1656 (getgrent): Likewise.
1657 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
1658 expect.
1659 [XPG3 || POSIX2008] (endgrent): Likewise.
1660 [XPG3] (setgrent): Likewise.
1661 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
1662 variable.
1663 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1664
1665 [BZ #18527]
1666 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
1667 define as weak alias of __getlogin_r. Use libc_hidden_weak.
1668 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
1669 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
1670 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
1671 * include/unistd.h (__getlogin_r): Declare. Use
1672 libc_hidden_proto.
1673 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
1674 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
1675 variable.
1676 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1677 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1678 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1679
1680 2015-06-12 Martin Sebor <msebor@redhat.com>
1681
1682 [BZ #18512]
1683 * Makerules (check-install-supported): New target.
1684 (install): Add check-install-supported as a dependency.
1685 * manual/install.texi (Installing the C Library): Document
1686 that overriding prefix and exec_prefix is not supported.
1687 Mention DESTDIR.
1688 * INSTALL: Regenerate from the above.
1689
1690 2015-06-12 Joseph Myers <joseph@codesourcery.com>
1691
1692 [BZ #18519]
1693 * posix/Versions (libc): Export __libc_pread at version
1694 GLIBC_PRIVATE.
1695 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
1696 instead of pread.
1697 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
1698 variable.
1699
1700 [BZ #18522]
1701 * misc/efgcvt_r.c
1702 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
1703 (cvt_symbol): Use weak_alias instead of strong_alias.
1704 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
1705 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
1706 Remove variable.
1707 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1708 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1709
1710 [BZ #18520]
1711 * inet/herrno.c (h_errno): Rename to __h_errno.
1712 (__libc_h_errno): Define as alias of __h_errno not h_errno.
1713 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
1714 to __h_errno instead of h_errno.
1715 * nptl/herrno.c (h_errno): Rename to __h_errno.
1716 (__h_errno_location): Refer to __h_errno not h_errno.
1717 * resolv/Versions (h_errno): Rename to __h_errno.
1718 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
1719 Remove variable.
1720 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1721
1722 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
1723
1724 * configure.ac: More strict check for AVX512 assembler support.
1725 * configure: Regenerated.
1726
1727 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
1728 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
1729 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1730 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
1731 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1732 * sysdeps/x86_64/fpu/Versions: New versions added.
1733 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1734 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1735 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1736 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
1737 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
1738 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
1739 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
1740 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
1741 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
1742 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
1743 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
1744 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
1745 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
1746 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
1747 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
1748 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
1749 test.
1750 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1751 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1752 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1753 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1754 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1755 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1756 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1757 * NEWS: Mention addition of x86_64 vector sin.
1758
1759 2015-06-11 Florian Weimer <fweimer@redhat.com>
1760
1761 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
1762 comment.
1763
1764 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
1765
1766 [BZ #18479]
1767 * nptl/pt-interp.c: New file.
1768 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
1769 Add pt-interp.
1770 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
1771 $(common-objpfx)runtime-linker.h.
1772
1773 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
1774
1775 * Makeconfig (+interp): Remove unused variable.
1776 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
1777 only. Depend on $(common-objpfx)runtime-linker.h instead of
1778 $(elf-objpfx)runtime-linker.h.
1779 ($(elf-objpfx)runtime-linker.h): Rename to
1780 $(common-objpfx)runtime-linker.h and move ...
1781 * Makerules [$(build-shared) = yes]: ... here.
1782 * elf/interp.c: Include <runtime-linker.h> instead of
1783 <elf/runtime-linker.h>.
1784
1785 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1786
1787 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
1788 (__gettimeofday_syscall): Remove vsyscall fallback.
1789 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
1790 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
1791 Add syscall fallback function.
1792 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
1793 if vDSO is not present.
1794 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
1795 fallback function.
1796 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
1797 present.
1798 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
1799 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
1800
1801 2015-06-09 Joseph Myers <joseph@codesourcery.com>
1802
1803 [BZ #18497]
1804 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
1805 of wcscmp.
1806 (wcscmp): Define as weak alias of WCSCMP.
1807 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
1808 wcscoll.
1809 (USE_HIDDEN_DEF): Define.
1810 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
1811 __wcscoll. Don't use libc_hidden_weak.
1812 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
1813 wcscmp.
1814 * sysdeps/i386/i686/multiarch/wcscmp-c.c
1815 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
1816 __GI_wcscmp.
1817 (weak_alias): Undefine and redefine.
1818 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
1819 __wcscmp and define as weak alias of __wcscmp.
1820 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
1821 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
1822 (__wcscoll): Likewise.
1823 (wcscmp): Don't use libc_hidden_proto.
1824 (wcscoll): Likewise.
1825 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
1826 wcscoll.
1827 * posix/regexec.c (check_node_accept_bytes): Likewise.
1828 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
1829 variable.
1830 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1831 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1832
1833 [BZ #18507]
1834 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
1835 __fstatvfs and define as weak alias of __fstatvfs. Use
1836 libc_hidden_weak.
1837 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
1838 and define as weak alias of __statvfs. Use libc_hidden_weak.
1839 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
1840 Define as alias of __fstatvfs, not fstatvfs.
1841 (fstatvfs64): Likewise.
1842 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
1843 Define as alias of __statvfs, not statvfs.
1844 (statvfs64): Likewise.
1845 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
1846 Remove variable.
1847
1848 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1849
1850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1851 (HAVE_GETCPU_VSYSCALL): Define.
1852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1853 (HAVE_GETCPU_VSYSCALL): Likewise.
1854 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
1855 * sysdeps/unix/sysv/linux/sched_getcpu.c
1856 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
1857 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
1858 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
1859 prototype.
1860 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1861 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
1862 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
1863 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
1864 Define.
1865 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
1866 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1867 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
1868 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1869
1870 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
1871
1872 * sysdeps/x86_64/fpu/Makefile: New file.
1873 * sysdeps/x86_64/fpu/Versions: New file.
1874 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
1875 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
1876 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
1877 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
1878 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
1879 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
1880 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
1881 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
1882 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
1883 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
1884 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
1885 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
1886 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
1887 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1888 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1889 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
1890 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
1891 * sysdeps/x86_64/configure.ac: Options for libmvec build.
1892 * sysdeps/x86_64/configure: Regenerated.
1893 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
1894 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
1895 * manual/install.texi (Configuring and compiling): Document
1896 --disable-mathvec.
1897 * INSTALL: Regenerated.
1898 * NEWS: Mention addition of libmvec and x86_64 vector cos.
1899
1900 * math/Makefile: Added rules for vector tests.
1901 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
1902 declaration under condition.
1903 * math/test-double-vlen2.h: New file.
1904 * math/test-double-vlen4.h: New file.
1905 * math/test-double-vlen8.h: New file.
1906 * math/test-vec-loop.h: Added initialization macro.
1907 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
1908 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
1909 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
1910 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
1911 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
1912 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
1913 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
1914 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
1915 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
1916 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
1917 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
1918
1919 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1920 * sysdeps/x86_64/fpu/Versions: New versions added.
1921 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
1922 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
1923 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
1924 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
1925 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
1926 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
1927 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
1928 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
1929 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
1930 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
1931 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
1932 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
1933 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
1934 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1935 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1936 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1937 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
1938 * NEWS: Mention addition of x86_64 vector cosf.
1939
1940 * math/Makefile: Added CFLAGS for new tests.
1941 * math/test-float-vlen16.h: New file.
1942 * math/test-float-vlen4.h: New file.
1943 * math/test-float-vlen8.h: New file.
1944 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
1945 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
1946 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1947 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
1948 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
1949 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
1950 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
1951 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
1952 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
1953 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
1954 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
1955
1956 2015-06-09 Marko Myllynen <myllynen@redhat.com>
1957
1958 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
1959 * locale/programs/ld-ctype.c: Likewise.
1960
1961 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
1962
1963 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
1964 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
1965 bit_ZMM16_31_state): New macro.
1966 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1967 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
1968
1969 2015-06-08 Joseph Myers <joseph@codesourcery.com>
1970
1971 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
1972
1973 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
1974
1975 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
1976
1977 2015-06-05 Joseph Myers <joseph@codesourcery.com>
1978
1979 [BZ #18498]
1980 * libio/memstream.c (open_memstream): Rename to __open_memstream
1981 and define as weak alias of __open_memstream.
1982 * include/stdio.h (__open_memstream): Declare. Use
1983 libc_hidden_proto.
1984 (open_memstream): Don't use libc_hidden_proto.
1985 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
1986 open_memstream.
1987 * posix/getopt.c (_getopt_internal_r): Likewise.
1988 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
1989 variable.
1990 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1991 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1992 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1993
1994 [BZ #18496]
1995 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
1996 instead of wcrtomb.
1997
1998 [BZ #18483]
1999 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
2000 [__USE_XOPEN2K8]. Remove redundant #endif.
2001 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
2002 Remove redundant #if.
2003 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
2004 Remove variable.
2005 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2006 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2007
2008 [BZ #18495]
2009 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
2010 (__iswlower): Likewise.
2011 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
2012 (__iswlower): Likewise.
2013 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
2014 instead of towlower.
2015 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
2016 instead of iswlower. Call __towupper instead of towupper.
2017 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
2018 instead of iswalnum.
2019
2020 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2021
2022 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
2023 errors to stderr.
2024
2025 2015-06-05 Florian Weimer <fweimer@redhat.com>
2026
2027 [BZ #15661]
2028 [BZ #17322]
2029 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
2030 Check for overflow properly. Check for O_APPEND. Ignore large
2031 file system block sizes. Add comments about problems.
2032 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
2033 * manual/filesys.texi (Storage Allocation): New node.
2034
2035 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2036
2037 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
2038 cancellable syscalls.
2039 (SYS_ify): Add guard to no redefine it.
2040 (INLINE_SYSCALL): Likewise.
2041 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
2042 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
2043 SYSCALL_CANCEL instead.
2044 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
2045 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2046 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2047 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2048 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2049 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
2050 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
2051 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
2052 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
2053 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
2054 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
2055 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
2056 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
2057 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
2058 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
2059 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2060 Likewise.
2061 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2062 (__libc_pread64): Likewise.
2063 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
2064 (__libc_preadv): Likewise.
2065 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
2066 (__libc_readv64): Likewise.
2067 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2068 (__libc_pwrite): Likewise.
2069 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2070 (__libc_pwrite64): Likewise.
2071 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
2072 (__libc_pwritev): Likewise.
2073 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
2074 (__libc_pwritev64): Likewise.
2075 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
2076 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
2077 (sync_file_range): Likewise.
2078 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
2079 Likewise.
2080 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
2081 Likewise.
2082 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2083 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2084 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2085 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2086 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2087 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2088 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
2089 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
2090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2091 Likewise.
2092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2093 (__libc_read64): Likewise.
2094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
2095 Likewise.
2096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
2097 Likewise.
2098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
2099 Likewise.
2100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
2101 Likewise.
2102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2103 (__libc_pread64): Likewise.
2104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
2105 Likewise.
2106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2107 (__libc_pwrite64): Likewise.
2108 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
2109 (sync_file_range): Likewise.
2110 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
2111 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2112 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2113 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
2114 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
2115 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2116 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2117 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
2118 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
2119 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
2120 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2121 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2122 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2123 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2124 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
2125 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2126 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2127 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2128 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2129 Likewise.
2130 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
2131 Likewise.
2132 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
2133 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
2134 Likewise.
2135 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
2136 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
2137 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
2138 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
2139 Likewise.
2140 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
2141 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
2142 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
2143 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
2144 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
2145
2146 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
2147
2148 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
2149 Include dl-vdso.
2150 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
2151 Use VDSO routines for gettimeofday, clock_gettime if
2152 available.
2153 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
2154 Declare VDSO symbols.
2155 * sysdeps/unix/sysv/linux/arm/sysdep.h:
2156 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
2157 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2158 * sysdeps/unix/sysv/linux/arm/Versions: Add
2159 __vdso_clock_gettime.
2160
2161 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2162
2163 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
2164 be an inline implementation regardless of library is built within.
2165 (open_not_cancel_2): Likewise.
2166 (__read_nocancel): Likewise.
2167 (__write_nocancel): Likewise.
2168 (openat_not_cancel): Likewise.
2169 (openat_not_cancel_3): Likewise.
2170 (openat64_not_cancel): Likewise.
2171 (openat64_not_cancel_3): Likewise.
2172 (__close_nocancel): Likewise.
2173 (pause_not_cancel): Likewise.
2174 (nanosleep_not_cancel): Likewise.
2175 (sigsuspend_not_cancel): Likewise.
2176
2177 2015-06-04 Torvald Riegel <triegel@redhat.com>
2178
2179 [BZ #14958]
2180 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
2181 wake-up.
2182 (__pthread_rwlock_rdlock_slow): Likewise.
2183 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2184 Likewise.
2185 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2186 Likewise.
2187 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
2188 * nptl/tst-rwlock16.c: New file.
2189 * nptl/Makefile (tests): Add new test.
2190
2191 2015-06-04 Torvald Riegel <triegel@redhat.com>
2192
2193 [BZ #18324]
2194 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
2195 missing wake-up of readers.
2196 * nptl/tst-rwlock15.c: New file.
2197 * nptl/Makefile (tests): Add new test.
2198
2199 2015-06-03 Roland McGrath <roland@hack.frob.com>
2200
2201 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
2202 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
2203 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
2204 and __nacl_supply_interface_rtld.
2205 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
2206 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
2207 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
2208 Add __nacl_supply_interface_rtld.
2209 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
2210
2211 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
2212
2213 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
2214 isfinite.
2215 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2216 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
2217
2218 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
2219
2220 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
2221 __signbit* with standard C99 macros.
2222 * math/e_exp10l.c: Likewise.
2223 * math/e_exp2l.c: Likewise.
2224 * math/e_scalb.c: Likewise.
2225 * math/e_scalbf.c: Likewise.
2226 * math/e_scalbl.c: Likewise.
2227 * math/s_ldexp.c: Likewise.
2228 * math/s_ldexpf.c: Likewise.
2229 * math/s_ldexpl.c: Likewise.
2230 * math/w_atan2.c: Likewise.
2231 * math/w_atan2f.c: Likewise.
2232 * math/w_atan2l.c: Likewise.
2233 * math/w_cosh.c: Likewise.
2234 * math/w_coshf.c: Likewise.
2235 * math/w_coshl.c: Likewise.
2236 * math/w_exp10.c: Likewise.
2237 * math/w_exp10f.c: Likewise.
2238 * math/w_exp10l.c: Likewise.
2239 * math/w_exp2.c: Likewise.
2240 * math/w_exp2f.c: Likewise.
2241 * math/w_exp2l.c: Likewise.
2242 * math/w_fmod.c: Likewise.
2243 * math/w_fmodf.c: Likewise.
2244 * math/w_fmodl.c: Likewise.
2245 * math/w_hypot.c: Likewise.
2246 * math/w_hypotf.c: Likewise.
2247 * math/w_hypotl.c: Likewise.
2248 * math/w_jnl.c: Likewise.
2249 * math/w_lgamma.c: Likewise.
2250 * math/w_lgamma_r.c: Likewise.
2251 * math/w_lgammaf.c: Likewise.
2252 * math/w_lgammaf_r.c: Likewise.
2253 * math/w_lgammal.c: Likewise.
2254 * math/w_lgammal_r.c: Likewise.
2255 * math/w_pow.c: Likewise.
2256 * math/w_powf.c: Likewise.
2257 * math/w_powl.c: Likewise.
2258 * math/w_remainder.c: Likewise.
2259 * math/w_remainderf.c: Likewise.
2260 * math/w_remainderl.c: Likewise.
2261 * math/w_scalb.c: Likewise.
2262 * math/w_scalbf.c: Likewise.
2263 * math/w_scalbl.c: Likewise.
2264 * math/w_scalbln.c: Likewise.
2265 * math/w_scalblnf.c: Likewise.
2266 * math/w_scalblnl.c: Likewise.
2267 * math/w_sinh.c: Likewise.
2268 * math/w_sinhf.c: Likewise.
2269 * math/w_sinhl.c: Likewise.
2270 * math/w_tgamma.c: Likewise.
2271 * math/w_tgammaf.c: Likewise.
2272 * math/w_tgammal.c: Likewise.
2273 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2274 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
2275 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2276 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2277 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2278 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2279 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2280 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2281 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2282 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2283 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2284 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2285 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2286 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2287 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2288 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2289 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2290 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2291 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2292 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2293 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2294 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2295 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2296 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2297 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2298 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2299 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
2300 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2301 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2302 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2303 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
2304 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
2305 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
2306 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
2307 * stdio-common/printf_fp.c: Likewise.
2308 * stdio-common/printf_fphex.c: Likewise.
2309 * stdio-common/printf_size.c: Likewise.
2310
2311 2015-06-03 Joseph Myers <joseph@codesourcery.com>
2312
2313 [BZ #18470]
2314 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
2315 strnlen.
2316 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
2317 Remove variable.
2318 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2319 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2320 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2321 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2322 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2323 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2324 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2325 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2326 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2327 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2328
2329 [BZ #18468]
2330 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
2331 weak alias of __wmemchr. Use libc_hidden_weak.
2332 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
2333 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
2334 instead of wmemchr.
2335
2336 2015-06-02 Roland McGrath <roland@hack.frob.com>
2337
2338 [BZ #18383]
2339 * elf/tst-tlsalign-extern.c: New file.
2340 * elf/tst-tlsalign-extern-static.c: New file.
2341 * elf/tst-tlsalign-vars.c: New file.
2342 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
2343 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
2344 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
2345 ($(objpfx)tst-tlsalign-extern-static): Likewise.
2346 (test-xfail-tst-tlsalign-extern-static): New variable.
2347
2348 2015-06-02 Joseph Myers <joseph@codesourcery.com>
2349
2350 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
2351 Use variable name _sc_err instead of err.
2352 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
2353 instead of ret.
2354 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
2355 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
2356 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
2357 (INLINE_SYSCALL): Likewise.
2358
2359 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
2360 * include/string.h (__strnlen): Use libc_hidden_proto.
2361 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
2362 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
2363 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
2364 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
2365 (libc_hidden_def): Undefine and redefine.
2366 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
2367 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
2368 __GI_strnlen.
2369 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
2370 libc_hidden_def.
2371 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
2372
2373 [BZ #18469]
2374 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
2375 weak alias of __towlower. Use libc_hidden_weak.
2376 (towupper): Rename to __towupper and define as weak alias of
2377 __towupper. Use libc_hidden_weak.
2378 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
2379 (__towupper): Likewise.
2380 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
2381 __towlower instead of towlower.
2382
2383 2015-06-02 Roland McGrath <roland@hack.frob.com>
2384
2385 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
2386 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
2387
2388 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
2389
2390 * sysdeps/aarch64/libm-test-ulps: Update.
2391
2392 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2393
2394 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
2395 Define.
2396 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2397 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2398 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2399 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2400 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
2401 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
2402 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
2403
2404 2015-06-01 Martin Sebor <msebor@redhat.com>
2405
2406 [BZ #18116]
2407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2408 (__setcontext): Use extended four-operand version of mtsf whenever
2409 possible.
2410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2411 (__novec_swapcontext): Likewise.
2412
2413 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2414
2415 * benchtests/scripts/compare_bench.py: New file.
2416 * benchtests/scripts/import_bench.py (mean): New function.
2417 (split_list): Likewise.
2418 (do_for_all_timings): Likewise.
2419 (compress_timings): Likewise.
2420
2421 * benchtests/scripts/import_bench.py: New file.
2422 * benchtests/scripts/validate_benchout.py: Import import_bench
2423 instead of jsonschema.
2424 (validate_bench): Remove function.
2425 (main): Use import_bench.
2426
2427 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
2428
2429 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
2430 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
2431
2432 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2433
2434 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2435
2436 2015-05-28 Roland McGrath <roland@hack.frob.com>
2437
2438 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
2439 set THREAD_SELF->tid to a magic value and futex-wake it.
2440 Pass its address to the thread_exit system call.
2441 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
2442 bit is clear.
2443 * sysdeps/nacl/lowlevellock.h: New file.
2444 * sysdeps/nacl/lll_timedwait_tid.c: New file.
2445
2446 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
2447 Add TIMEOUT to current time, don't subtract it.
2448
2449 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
2450
2451 [BZ #18422]
2452 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
2453 ($(objpfx)tst-audit2.out): Also depend on
2454 $(objpfx)tst-auditmod9b.so.
2455 * elf/tst-audit2.c: Include <dlfcn.h>.
2456 (calloc_called): New.
2457 (calloc): Allow to be called more than once.
2458 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
2459
2460 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
2461
2462 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
2463 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
2464
2465 2015-05-27 Marko Myllynen <myllynen@redhat.com>
2466
2467 * stdlib/monetary.h: Fix comment.
2468
2469 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
2470
2471 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
2472 Avoid using variables in #defines that might cause shadowing.
2473 (INTERNAL_VSYSCALL_CALL): Likewise.
2474
2475 2015-05-26 Roland McGrath <roland@hack.frob.com>
2476
2477 * sysdeps/nacl/lll_timedlock_wait.c: New file.
2478
2479 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
2480 * nptl/lll_timedlock_wait.c: ... to this new file.
2481 * nptl/Makefile (libpthread-routines): Add it.
2482 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
2483 * nptl/lll_timedwait_tid.c: ... to this new file.
2484 * nptl/Makefile (libpthread-routines): Add it.
2485 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
2486 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
2487 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
2488 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
2489 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
2490 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
2491 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
2492 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
2493 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
2494 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
2495
2496 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2497
2498 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
2499 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2500 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2501 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
2502 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2503 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2504 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2505 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2506 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2507 * sysdeps/unix/sysv/linux/tile/sysdep.h
2508 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2509 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
2510 using vDSO syscall macro.
2511
2512 2015-05-26 Andriy Rysin <arysin@gmail.com>
2513
2514 [BZ #17293]
2515 * uk_UA: Fix sorting order for Ukrainian locale
2516
2517 2015-05-26 Marko Myllynen <myllynen@redhat.com>
2518
2519 * stdlib/monetary.h: Fix comment.
2520
2521 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
2522
2523 [BZ #18234]
2524 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
2525 st_mtim and st_ctim members.
2526 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
2527 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
2528 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
2529 (struct stat64): Likewise.
2530 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
2531 (struct stat64): Likewise.
2532 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
2533 (struct stat64): Likewise.
2534
2535 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2536
2537 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
2538 Define and include sysdep-vdso.h.
2539 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
2540 Likewise.
2541 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
2542 Likewise.
2543 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
2544 Define with VDSO_SYMBOL and use PTR_MANGLE.
2545 (__vdso_clock_gettime): Likewise.
2546 (__vdso_clock_getres): Likewise.
2547 (_libc_vdso_platform_setup): Likewise.
2548 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
2549 Likewise.
2550 (_libc_vdso_platform_setup): Likewise.
2551 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
2552 Likewise.
2553 (__vdso_clock_gettime): Likewise.
2554 (__vdso_clock_getres): Likewise.
2555 (__vdso_get_tbfreq): Likewise.
2556 (__vdso_getcpu): Likewise.
2557 (__vdso_time): Likewise.
2558 (__vdso_sigtramp_rt64): Likewise.
2559 (__vdso_signtramp32): Likewise.
2560 (__vdso_sigtramp_rt32): Likewise.
2561 (_libc_vdso_platform_setup): Likewise.
2562 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
2563 Likewise.
2564 (__vdso_clock_gettime): Likewise.
2565 (__vdso_clock_getres): Likewise.
2566 (_libc_vdso_platform_setup): Likewise.
2567 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
2568 Likewise.
2569 (__vdso_clock_gettime): Likewise.
2570 (_libc_vdso_platform_setup): Likewise.
2571 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2572 Likewise.
2573 (__vdso_getcpu): Likewise.
2574 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
2575 Use VDSO_SYMBOL macro to define.
2576 (__vdso_clock_gettime): Likewise.
2577 (__vdso_clock_getres): Likewise.
2578 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
2579 Likewise.
2580 (__vdso_clock_gettime): Likewise.
2581 (__vdso_clock_getres): Likewise.
2582 (__vdso_get_tbfreq): Likewise.
2583 (__vdso_getcpu): Likewise.
2584 (__vdso_time): Likewise.
2585 (__vdso_sigtramp_rt64): Likewise.
2586 (__vdso_signtramp32): Likewise.
2587 (__vdso_sigtramp_rt32): Likewise.
2588 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
2589 Likewise.
2590 (__vdso_clock_gettime): Likewise.
2591 (__vdso_clock_getres): Likewise.
2592 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
2593 Likewise.
2594 (__vdso_clock_gettime): Likewise.
2595 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
2596 Likewise.
2597 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
2598 macro.
2599 (INTERNAL_VSYSCALL): Likewise.
2600 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
2601 Remove macro.
2602 (INTERNAL_VSYSCALL): Likewise.
2603 (INTERNAL_VSYSCALL_NCS): Likewise.
2604 (INTERNAL_VSYSCALL_CALL): New macro.
2605 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2606 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
2607 Likewise.
2608 (INTERNAL_VSYSCALL): Likewise.
2609 (INTERNAL_VSYSCALL_NCS): Likewise.
2610 (INTERNAL_VSYSCALL_CALL): New macro.
2611 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2613 (INLINE_VSYSCALL): Remove macro.
2614 (INTERNAL_VSYSCALL): Remove macro.
2615 (INTERNAL_VSYSCALL_NCS): Remove macro.
2616 (INTERNAL_VSYSCALL_CALL): New macro.
2617 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
2618 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
2619 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2620 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
2621 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2623 (INLINE_VSYSCALL): Remove macro.
2624 (INTERNAL_VSYSCALL): Likewise.
2625 (INTERNAL_VSYSCALL_NCS): Likewise.
2626 (INTERNAL_VSYSCALL_CALL): New macro.
2627 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
2628 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
2629 PTR_DEMANGLE on vDSO pointer.
2630 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2631 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
2632 macro.
2633 (INTERNAL_SYSCALL): Likewise.
2634 (INTERNAL_VSYSCALL_NCS): Remove macro.
2635 (INTERNAL_VSYSCALL_CALL): New macro.
2636 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
2637 Remove macro.
2638 (INTERNAL_VSYSCALL): Likewise.
2639 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
2640 sysdep-vdso.h instead of libc-vdso.h.
2641 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
2642 definition.
2643 (INLINE_VSYSCALL): Likewise.
2644 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
2645 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
2646 definition.
2647 (INLINE_VSYSCALL): Likewise.
2648 (INTERNAL_VSYSCALL): Likewise.
2649 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2650 * sysdeps/unix/sysv/linux/timespec_get.c
2651 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2652 (timespec_get): Use ANSI prototype.
2653 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
2654 and definition for Linux.
2655
2656 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
2657
2658 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
2659 * include/libc-symbols.h: libmvec_hidden_* macro series added.
2660
2661 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
2662
2663 [BZ #18410]
2664 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
2665 for missing DT_PLTRELSZ.
2666
2667 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
2668
2669 Remove obsolete aliases that broke 'locale -a'
2670 [BZ #18412]
2671 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
2672 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
2673 breaking some applications that use 'locale -a' output.
2674 Change the encoding of this file from Latin-1 to ASCII to avoid
2675 other potential problems with people grepping this file.
2676
2677 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2678
2679 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
2680 -fasynchronous-unwind-tables.
2681 (CFLAGS-sendto.c): Likewise.
2682 (CFLAGS-sendmsg.c): Likewise.
2683 (CFLAGS-connect.c): Likewise.
2684 (CFLAGS-recvmsg.c): Likewise.
2685 (CFLAGS-recvfrom.c): Likewise.
2686 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
2687 (SOCKETCALL): New macro: non-cancellable socketcall.
2688 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
2689 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
2690 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
2691 * sysdeps/unix/sysv/linux/accept.c: New file.
2692 * sysdeps/unix/sysv/linux/bind.c: Likewise.
2693 * sysdeps/unix/sysv/linux/connect.c: Likewise.
2694 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
2695 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
2696 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
2697 * sysdeps/unix/sysv/linux/listen.c: Likewise.
2698 * sysdeps/unix/sysv/linux/recv.c: Likewise.
2699 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
2700 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
2701 * sysdeps/unix/sysv/linux/send.c: Likewise.
2702 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
2703 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
2704 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
2705 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
2706 * sysdeps/unix/sysv/linux/socket.c: Likewise.
2707 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
2708 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
2709 prototype.
2710 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
2711 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2712 instead of __internal_xxx function.
2713 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
2714 prototype.
2715 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
2716 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2717 instead of __internal_xxx function.
2718 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
2719 prototype.
2720 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
2721 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2722 instead of __internal_xxx function.
2723 * sysdeps/unix/sysv/linux/accept.S: Remove file.
2724 * sysdeps/unix/sysv/linux/bind.S: Likewise.
2725 * sysdeps/unix/sysv/linux/connect.S: Likewise.
2726 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
2727 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
2728 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
2729 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
2730 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
2731 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
2732 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
2733 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
2734 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2735 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
2736 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
2737 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
2738 * sysdeps/unix/sysv/linux/listen.S: Likewise.
2739 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
2740 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
2741 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
2742 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
2743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
2744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
2745 * sysdeps/unix/sysv/linux/recv.S: Likewise.
2746 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
2747 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
2748 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
2749 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2750 * sysdeps/unix/sysv/linux/send.S: Likewise.
2751 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
2752 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
2753 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
2754 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
2755 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
2756 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
2757 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
2758 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
2759 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2760 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
2761 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
2762 socketcall is implemented in GLIBC.
2763
2764 2015-05-22 Joseph Myers <joseph@codesourcery.com>
2765
2766 * soft-fp/fmadf4.c: Include <libc-internal.h>.
2767 (__fma): Ignore uninitialized warnings around packing.
2768 * soft-fp/fmasf4.c: Include <libc-internal.h>.
2769 (__fmaf): Ignore uninitialized warnings around packing.
2770 * soft-fp/fmatf4.c: Include <libc-internal.h>.
2771 (__fmal): Ignore uninitialized warnings around packing.
2772
2773 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
2774 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2775 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
2776 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2777
2778 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
2779 switch statement into default case.
2780 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
2781
2782 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
2783 a conditional in forcing "inexact".
2784 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2785 Likewise.
2786
2787 2015-05-22 Roland McGrath <roland@hack.frob.com>
2788
2789 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2790 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
2791 for each INTERNAL_SYSCALL use.
2792
2793 2015-05-22 Joseph Myers <joseph@codesourcery.com>
2794
2795 [BZ #438]
2796 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
2797 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
2798 variable.
2799
2800 [BZ #18444]
2801 * string/basename.c (basename): Rename to __basename and define as
2802 weak alias of __basename. Use libc_hidden_weak.
2803 * include/string.h (__basename): Declare. Use libc_hidden_proto.
2804 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
2805 __basename instead of basename.
2806 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
2807 Remove variable.
2808 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2809
2810 2015-05-18 Florian Weimer <fweimer@redhat.com>
2811
2812 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
2813 (_IO_JUMPS_FILE_plus): New.
2814 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
2815 _IO_CAST_FIELD_ACCESS.
2816 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
2817 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
2818 * libio/freopen.c (freopen): Likewise.
2819 * libio/freopen64.c (freopen64): Likewise.
2820 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
2821 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
2822 * libio/iofwide.c (_IO_fwide): Likewise.
2823 * libio/memstream.c (open_memstream): Likewise.
2824 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2825 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2826 * libio/oldiopopen.c (_IO_old_popen): Likewise.
2827
2828 2015-05-21 Joseph Myers <joseph@codesourcery.com>
2829
2830 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
2831 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
2832 NADJ.
2833 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
2834 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
2835 NADJ.
2836 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
2837 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
2838 NADJ.
2839
2840 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
2841 (p == 4) case.
2842
2843 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
2844 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
2845 Remove variable.
2846 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2847 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2848 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2849
2850 2015-05-21 Florian Weimer <fweimer@redhat.com>
2851
2852 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
2853 Adjust jump table label generation macros.
2854
2855 2015-05-21 Florian Weimer <fweimer@redhat.com>
2856
2857 * stdio-common/vfprintf.c (vfprintf): Move local variables
2858 args_malloced, specs, specs_malloced, and the code after
2859 do_positional to the printf_positional function.
2860 (printf_positional): New function.
2861
2862 2015-05-21 Florian Weimer <fweimer@redhat.com>
2863
2864 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
2865 function.
2866 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
2867 STEP4_TABLE, process_arg): Move macro definitions
2868 out of the vfprintf function. (Cosmetic change only.)
2869
2870 2015-05-21 Carlos O'Donell <carlos@redhat.com>
2871
2872 * benchtests/Makefile (stdio-common-bench): Define.
2873 (benchset): Add stdio-common-bench.
2874 * sprintf-inputs: New file.
2875 * sprintf-source.c: New file.
2876
2877 2015-05-21 Andreas Schwab <schwab@suse.de>
2878
2879 [BZ #13028]
2880 [BZ #17053]
2881 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
2882 of struct __res_state.
2883 * resolv/res_send.c (__libc_res_nsend): Likewise.
2884 (get_nsaddr): New function.
2885 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
2886 statp directly.
2887
2888 2015-05-20 Joseph Myers <joseph@codesourcery.com>
2889
2890 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
2891 -D_POSIX_C_SOURCE=199506L.
2892
2893 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
2894
2895 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
2896 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
2897 Do not mention otherwise.
2898 [POSIX] (_XOPEN_VERSION): Do not expect.
2899 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
2900 [POSIX] (_POSIX2_C_BIND): Likewise.
2901 [POSIX] (_POSIX2_VERSION): Likewise.
2902 [POSIX] (_XOPEN_XPG2): Likewise.
2903 [POSIX] (_XOPEN_XPG3): Likewise.
2904 [POSIX] (_XOPEN_XPG4): Likewise.
2905 [POSIX] (_XOPEN_UNIX): Likewise.
2906 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
2907 [POSIX] (_POSIX_BARRIERS): Likewise.
2908 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
2909 [POSIX] (_POSIX_CPUTIME): Likewise.
2910 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
2911 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
2912 [POSIX] (_POSIX_SHELL): Likewise.
2913 [POSIX] (_POSIX_SPAWN): Likewise.
2914 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
2915 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
2916 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
2917 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
2918 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
2919 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
2920 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
2921 [POSIX] (_XBS5_LP64_OFF64): Likewise.
2922 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
2923 [POSIX] (_POSIX_TIMEOUTS): Likewise.
2924 [POSIX] (_POSIX2_PBS): Likewise.
2925 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
2926 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
2927 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
2928 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
2929 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
2930 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
2931 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
2932 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
2933 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
2934 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
2935 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
2936 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
2937 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
2938 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
2939 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
2940 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
2941 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
2942 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
2943 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
2944 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
2945 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
2946 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
2947 [POSIX] (_SC_2_C_BIND): Likewise.
2948 [POSIX] (_SC_2_C_VERSION): Likewise.
2949 [POSIX] (_SC_2_PBS): Likewise.
2950 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
2951 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
2952 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
2953 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
2954 [POSIX] (_SC_2_PBS_TRACK): Likewise.
2955 [POSIX] (_SC_ATEXIT_MAX): Likewise.
2956 [POSIX] (_SC_BARRIERS): Likewise.
2957 [POSIX] (_SC_BASE): Likewise.
2958 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
2959 [POSIX] (_SC_DEVICE_IO): Likewise.
2960 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
2961 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
2962 [POSIX] (_SC_FD_MGMT): Likewise.
2963 [POSIX] (_SC_FIFO): Likewise.
2964 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
2965 [POSIX] (_SC_FILE_LOCKING): Likewise.
2966 [POSIX] (_SC_FILE_SYSTEM): Likewise.
2967 [POSIX] (_SC_IOV_MAX): Likewise.
2968 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
2969 [POSIX] (_SC_NETWORKING): Likewise.
2970 [POSIX] (_SC_PAGE_SIZE): Likewise.
2971 [POSIX] (_SC_PASS_MAX): Likewise.
2972 [POSIX] (_SC_PIPE): Likewise.
2973 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
2974 [POSIX] (_SC_REGEXP): Likewise.
2975 [POSIX] (_SC_SHELL): Likewise.
2976 [POSIX] (_SC_SIGNALS): Likewise.
2977 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
2978 [POSIX] (_SC_SPIN_LOCKS): Likewise.
2979 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
2980 [POSIX] (_SC_USER_GROUPS): Likewise.
2981 [POSIX] (_SC_USER_GROUPS_R): Likewise.
2982 [POSIX] (_SC_STREAMS): Likewise.
2983 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
2984 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
2985 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
2986 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
2987 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
2988 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
2989 [POSIX] (_PC_FILESIZEBITS): Likewise.
2990 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
2991 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
2992 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
2993 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
2994 [POSIX] (uid_t): Likewise.
2995 [POSIX] (gid_t): Likewise.
2996 [POSIX] (off_t): Likewise.
2997 [POSIX] (pid_t): Likewise.
2998 [POSIX] (cuserid): Allow.
2999 (_SC_2_CHAR_TERM): Require constant.
3000 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
3001 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
3002 variable.
3003
3004 2015-05-20 Roland McGrath <roland@hack.frob.com>
3005
3006 * sysdeps/nacl/pthread-pids.h: New file.
3007 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
3008 (create_thread): Use __nacl_get_tid to initialize PD->tid.
3009
3010 * nptl/pthread-pids.h: New file.
3011 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
3012 * nptl/nptl-init.c: Include <pthread-pids.h>.
3013 (__pthread_initialize_minimal_internal):
3014 Call __pthread_initialize_pids instead of set_tid_address syscall.
3015
3016 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
3017 * sysdeps/posix/usleep.c: ... here.
3018
3019 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3020
3021 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
3022 call_pselect6 object.
3023 [$(subdir) = io]: Remove call_sync_file_range object.
3024 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
3025 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
3026 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
3027 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
3028
3029 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
3030
3031 * math/s_cproj.c: Add include "math_private.h".
3032 * math/s_cprojf.c: Likewise.
3033 * math/s_cprojl.c: Likewise.
3034
3035 2015-05-19 Joseph Myers <joseph@codesourcery.com>
3036
3037 [BZ #18244]
3038 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
3039 high mantissa bit when testing whether P is a NaN.
3040 * math/libm-test.inc (remainder_test_data): Add more tests.
3041 (remquo_test_data): Likewise.
3042
3043 [BZ #18049]
3044 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
3045 below -32, return the argument, with underflow if subnormal.
3046 * math/auto-libm-test-in: Add more tests of atanh.
3047 * math/auto-libm-test-out: Regenerated.
3048
3049 2015-05-19 Roland McGrath <roland@hack.frob.com>
3050
3051 [BZ #18434]
3052 * nptl/tst-sem15.c: New file.
3053 * nptl/Makefile (tests): Add it.
3054 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
3055 s/<</>>/ to fix typo in EOVERFLOW check.
3056 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
3057
3058 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3059
3060 * manual/strings.texi (envz_remove): Fix typo in safety
3061 annotations.
3062
3063 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
3064 Steve Ellcey <sellcey@imgtec.com>
3065
3066 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
3067 in order to avoid strict alias warnings.
3068 (iruserok_af): Ditto for ra.
3069
3070 2015-05-19 James Lemke <jwlemke@codesourcery.com>
3071
3072 [BZ #17581]
3073 * malloc/hooks.c
3074 (magicbyte): Convert to a function and avoid returning 0x01.
3075 (mem2mem_check): Avoid using a length byte equal to the magic byte.
3076 (mem2chunk_check): Fix unsigned comparisons to zero.
3077 Hoist defs of sz and magic.
3078
3079 2015-05-19 Richard Henderson <rth@redhat.com>
3080
3081 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
3082
3083 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3084
3085 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3086
3087 [BZ #16159]
3088 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
3089 * malloc/arena.c (arena_lock): Check if arena is corrupt.
3090 (reused_arena): Find a non-corrupt arena.
3091 (heap_trim): Pass arena to unlink.
3092 * malloc/hooks.c (malloc_check_get_size): Pass arena to
3093 malloc_printerr.
3094 (top_check): Likewise.
3095 (free_check): Likewise.
3096 (realloc_check): Likewise.
3097 * malloc/malloc.c (malloc_printerr): Add arena argument.
3098 (unlink): Likewise.
3099 (munmap_chunk): Adjust.
3100 (ARENA_CORRUPTION_BIT): New macro.
3101 (arena_is_corrupt): Likewise.
3102 (set_arena_corrupt): Likewise.
3103 (sysmalloc): Use mmap if there are no usable arenas.
3104 (_int_malloc): Likewise.
3105 (__libc_malloc): Don't fail if arena_get returns NULL.
3106 (_mid_memalign): Likewise.
3107 (__libc_calloc): Likewise.
3108 (__libc_realloc): Adjust for additional argument to
3109 malloc_printerr.
3110 (_int_free): Likewise.
3111 (malloc_consolidate): Likewise.
3112 (_int_realloc): Likewise.
3113 (_int_memalign): Don't touch corrupt arenas.
3114 * malloc/tst-malloc-backtrace.c: New test case.
3115
3116 * Makefile (summarize-tests): Fix return value on success.
3117
3118 * manual/string.texi (Envz Functions): Add envz_remove.
3119
3120 2015-05-18 Roland McGrath <roland@hack.frob.com>
3121
3122 * sysdeps/posix/opendir.c: Include <stdbool.h>.
3123 (invalid_name): New function, broken out of ...
3124 (__opendirat): ... here. Call it.
3125 (need_isdir_precheck): New function, broken out of ...
3126 (__opendirat): ... here. Call it.
3127 Use __fxstatat64, not __xstatat64.
3128 (opendir_oflags): New function, broken out of ...
3129 (__opendirat): ... here. Call it.
3130 (opendir_tail): New function, broken out of ...
3131 (__opendirat): ... here. Call it.
3132 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
3133 opendir_tail, rather than punting to __opendirat.
3134 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
3135
3136 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3137
3138 * .gitignore: Ignore generated *.pyc.
3139
3140 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
3141
3142 * include/stdio.h: Define __need_wint_t.
3143 * test-skeleton.c: Avoid `for' loop initial declaration.
3144 * nptl/tst-initializers1.c: Use test-skeleton.c.
3145
3146 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3147
3148 [BZ #18418]
3149 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
3150
3151 2015-05-15 Joseph Myers <joseph@codesourcery.com>
3152
3153 [BZ #16352]
3154 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
3155 (__ieee754_atanh): Force underflow exception for results with
3156 small absolute value.
3157 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
3158 (__ieee754_atanhf): Force underflow exception for results with
3159 small absolute value.
3160 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
3161 (__ieee754_atanh): Force underflow exception for results with
3162 small absolute value.
3163 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
3164 (__ieee754_atanhf): Force underflow exception for results with
3165 small absolute value.
3166 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
3167 (__ieee754_atanhl): Force underflow exception for results with
3168 small absolute value.
3169 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
3170 (__ieee754_atanhl): Force underflow exception for results with
3171 small absolute value.
3172 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
3173 (__ieee754_atanhl): Force underflow exception for results with
3174 small absolute value.
3175 * math/auto-libm-test-in: Do not allow missing underflow
3176 exceptions from atanh.
3177 * math/auto-libm-test-out: Regenerated.
3178
3179 [BZ #18221]
3180 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
3181 2**-28 as threshold for returning x or +/- 1/x.
3182 * math/auto-libm-test-in: Add more tests of tan.
3183 * math/auto-libm-test-out: Regenerated.
3184
3185 [BZ #18220]
3186 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3187 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
3188 * math/auto-libm-test-in: Add another test of lgamma.
3189 * math/auto-libm-test-out: Regenerated.
3190
3191 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
3192
3193 * stdio-common/printf_fp.c (___printf_fp): Use abs.
3194 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
3195 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
3196 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
3197 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
3198 (ADD2A): Use fabs. (SUB2A): Use fabs.
3199 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
3200 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
3201 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
3202 (log1): Use fabs. (my_log2): Use fabs.
3203 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
3204 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
3205 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
3206 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
3207 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
3208 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
3209 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
3210 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
3211 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
3212 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
3213 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
3214
3215 2015-05-15 Joseph Myers <joseph@codesourcery.com>
3216
3217 [BZ #18217]
3218 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
3219 as threshold for returning 1 - x.
3220 * math/auto-libm-test-in: Add more tests of erfc.
3221 * math/auto-libm-test-out: Regenerated.
3222
3223 2015-05-14 Joseph Myers <joseph@codesourcery.com>
3224
3225 [BZ #18196]
3226 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
3227 threshold for large arguments.
3228 * math/auto-libm-test-in: Add another test of atan.
3229 * math/auto-libm-test-out: Regenerated.
3230
3231 [BZ #16339]
3232 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
3233 (__log1p): Force underflow exception for results with small
3234 absolute value.
3235 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
3236 (__log1pf): Force underflow exception for results with small
3237 absolute value.
3238 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
3239 (__log1p): Force underflow exception for results with small
3240 absolute value.
3241 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
3242 (__log1pf): Force underflow exception for results with small
3243 absolute value.
3244 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
3245 (__log1pl): Force underflow exception for results with small
3246 absolute value.
3247 * math/auto-libm-test-in: Do not allow missing underflow
3248 exceptions from log1p.
3249 * math/auto-libm-test-out: Regenerated.
3250
3251 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
3252 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3253
3254 [BZ #16704]
3255 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
3256
3257 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
3258
3259 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
3260 (libmvec): New variable.
3261 * configure.ac: Added option for mathvec build.
3262 * configure: Regenerated.
3263 * mathvec/Depend: New file.
3264 * mathvec/Makefile: New file.
3265 * shlib-versions: Added libmvec.
3266 * math/Makefile: Added rule for libm.so installation.
3267
3268 * bits/math-vector.h: New file.
3269 * bits/libm-simd-decl-stubs.h: New header.
3270 * math/Makefile (headers): Added new header
3271 libm-simd-decl-stubs.h.
3272 * math/math.h (__MATHCALL_VEC): New macro.
3273
3274 * math/gen-libm-have-vector-test.sh: Script generates series of macros
3275 for conditions in testing functions.
3276 * math/Makefile: Added call of libm-have-vector-test.sh.
3277 * math/libm-test.inc (HAVE_VECTOR): New macros.
3278
3279 * math/libm-test.inc: START refactored.
3280 * math/test-double.c (TEST_MATHVEC): Add define.
3281 * math/test-float.c: Likewise.
3282 * math/test-idouble.c: Likewise.
3283 * math/test-ifloat.c: Likewise.
3284 * math/test-ildoubl.c: Likewise.
3285 * math/test-ldouble.c: Likewise.
3286 * sysdeps/generic/math-tests-arch.h
3287 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
3288 architecture check.
3289
3290 * math/test-double.c (FUNC_TEST): New macro.
3291 * math/test-float.c: Likewise.
3292 * math/test-idouble.c: Likewise.
3293 * math/test-ifloat.c: Likewise.
3294 * math/test-ildoubl.c: Likewise.
3295 * math/test-ldouble.c: Likewise.
3296 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
3297
3298 2015-05-13 Roland McGrath <roland@hack.frob.com>
3299
3300 * sysdeps/nacl/fdopendir.c: New file.
3301
3302 * dirent/scandir-tail.c: New file.
3303 * dirent/scandir64-tail.c: New file.
3304 * dirent/Makefile (routines): Add them.
3305 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
3306 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
3307 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
3308 [!SCANDIR] (SCANDIR_TAIL): New macro.
3309 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
3310 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
3311 (SCANDIRAT): Macro removed.
3312 (SCANDIR_TAIL): New macro.
3313 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
3314 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
3315 (SCANDIRAT): Just call __opendirat and __scandir_tail.
3316 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
3317 (READDIR): Macro removed.
3318 (SCANDIR_TAIL): New macro.
3319 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
3320 (SCANDIR_TAIL): New macro.
3321
3322 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
3323 * dirent/scandir-cancel.c: ... to this new file.
3324 * dirent/Makefile (routines): Add it.
3325 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
3326 * sysdeps/unix/sysv/linux/i386/scandir64.c
3327 (SKIP_SCANDIR_CANCEL): Macro removed.
3328 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
3329
3330 * dirent/tst-scandir.c: New file.
3331 * dirent/tst-scandir64.c: New file.
3332 * dirent/Makefile (tests): Add them.
3333
3334 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
3335
3336 [BZ #18409]
3337 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
3338
3339 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3340
3341 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
3342 list.
3343
3344 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
3345
3346 * benchtests/bench-strcoll.c: New benchmark.
3347 * benchtests/Makefile: Generate locales and run benchmark.
3348 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
3349 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
3350 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
3351 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
3352 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
3353 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
3354 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
3355 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
3356 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
3357 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
3358 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
3359 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
3360 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
3361 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
3362 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
3363 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
3364 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
3365 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
3366 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
3367 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
3368 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
3369 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
3370 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
3371 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
3372
3373 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
3374
3375 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
3376 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3377
3378 2015-05-12 Roland McGrath <roland@hack.frob.com>
3379
3380 * posix/uname-values.h: New file.
3381 * posix/uname.c: Include that instead of <config-name.h>.
3382 * sysdeps/nacl/uname-values.h: New file.
3383 * sysdeps/arm/nacl/uname-values.h: New file.
3384
3385 2015-05-12 Joseph Myers <joseph@codesourcery.com>
3386
3387 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
3388 splitting into fields.
3389
3390 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
3391
3392 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
3393 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
3394 * locale/localeinfo.h: Add enum collation_encoding_type.
3395 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
3396 * programs/ld-collate.c (collate_output): Add encoding type info.
3397 * string/strcoll_l.c (STRDIFF): New function.
3398 * (STRCOLL): Use STRDIFF to skip over equal prefix.
3399 * wcsmbs/wcscoll_l.c: Define STRDIFF.
3400
3401 2015-05-11 Joseph Myers <joseph@codesourcery.com>
3402
3403 [BZ #18397]
3404 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
3405 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
3406 <fpu_control.h> instead of <math/fpu_control.c>.
3407 * sysdeps/mips/mips32/fpu/Makefile: New file.
3408
3409 2015-05-11 Andreas Schwab <schwab@suse.de>
3410
3411 [BZ #18007]
3412 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
3413 nss_endgrent.
3414 (_nss_compat_endgrent): Call nss_endgrent.
3415 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
3416 nss_endpwent.
3417 (_nss_compat_endpwent): Call nss_endpwent.
3418 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
3419 needent, call nss_setspent only if non-zero.
3420 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
3421 (internal_endspent): Don't call nss_endspent.
3422 (_nss_compat_endspent): Call nss_endspent.
3423 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
3424 Remove. All uses removed.
3425 (internal_setent): Remove parameter stayopen, add parameter
3426 stream. Use it instead of global variable.
3427 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
3428 (internal_endent, internal_getent): Add parameter stream. Use it
3429 instead of global variable.
3430 (CONCAT(_nss_files_end,ENTNAME))
3431 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
3432 (_nss_files_get##name##_r): Pass local stream. Remove locking.
3433 * nss/nss_files/files-alias.c (position, last_use): Remove. All
3434 uses removed.
3435 (internal_setent, internal_endent): Add parameter stream. Use it
3436 instead of global variable.
3437 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
3438 stream.
3439 (get_next_alias): Add parameter stream.
3440 (_nss_files_getaliasent_r): Pass global stream.
3441 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
3442 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
3443 (_nss_files_gethostbyname4_r): Pass local stream to
3444 internal_setent, internal_getent and internal_endent. Remove
3445 locking.
3446
3447 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3448
3449 * tst-strfmon1.c (tests): Update expected currency symbol.
3450
3451 2015-05-08 Roland McGrath <roland@hack.frob.com>
3452
3453 * sysdeps/nacl/gethostname.c: New file.
3454
3455 2015-05-08 Joseph Myers <joseph@codesourcery.com>
3456
3457 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
3458 and sinh.
3459 * math/auto-libm-test-out: Regenerated.
3460 * sysdeps/i386/fpu/libm-test-ulps: Update.
3461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3462
3463 2015-05-08 Carlos O'Donell <carlos@redhat.com>
3464
3465 [BZ #18125]
3466 * stdlib/tst-setcontext3.c: New file.
3467 * stdlib/tst-setcontext3.sh: New file.
3468 * stdlib/Makefile (tests): Add tst-setcontext3.
3469 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
3470 to verify test program created output file.
3471 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
3472 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
3473 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
3474 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
3475
3476 2015-05-06 Roland McGrath <roland@hack.frob.com>
3477
3478 [BZ #18383]
3479 * elf/tst-tlsalign.c: New file.
3480 * elf/tst-tlsalign-static.c: New file.
3481 * elf/tst-tlsalign-lib.c: New file.
3482 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
3483 (tests-static): Add tst-tlsalign-static.
3484 (modules-names): Add tst-tlsalign-lib.
3485 (test-xfail-tst-tlsalign): New variable.
3486 (test-xfail-tst-tlsalign-static): New variable.
3487
3488 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
3489 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
3490
3491 2015-05-06 Joseph Myers <joseph@codesourcery.com>
3492
3493 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
3494 csqrt, erfc, sin and sincos.
3495 * math/auto-libm-test-out: Regenerated.
3496 * sysdeps/i386/fpu/libm-test-ulps: Update.
3497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3498
3499 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
3500
3501 * sysdeps/aarch64/libm-test-ulps: Update.
3502
3503 2015-05-05 Joseph Myers <joseph@codesourcery.com>
3504
3505 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
3506 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
3507 * math/auto-libm-test-out: Regenerated.
3508 * sysdeps/i386/fpu/libm-test-ulps: Update.
3509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3510
3511 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
3512
3513 [BZ #18265]
3514 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
3515 (wcsncpy): Likewise.
3516
3517 2015-05-05 Florian Weimer <fweimer@redhat.com>
3518
3519 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3520 Assume __ASSUME_FALLOCATE is always true.
3521 * sysdeps/unix/sysv/linux/posix_fallocate64.c
3522 (__posix_fallocate64_l64): Likweise.
3523 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
3524 (posix_fallocate): Likewise.
3525 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
3526 (__posix_fallocate64_l64): Likewise.
3527 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3528 [!__ASSUME_FALLOCATE]: Add comment.
3529
3530 2015-05-05 Florian Weimer <fweimer@redhat.com>
3531
3532 * sysdeps/unix/sysv/linux/i386/Makefile
3533 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
3534 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
3535 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
3536 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
3537 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
3538 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
3539 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
3540
3541 2015-05-02 Joseph Myers <joseph@codesourcery.com>
3542
3543 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
3544 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
3545 tgamma.
3546 * math/auto-libm-test-out: Regenerated.
3547 * sysdeps/i386/fpu/libm-test-ulps: Update.
3548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3549
3550 2015-05-01 Joseph Myers <joseph@codesourcery.com>
3551
3552 * math/auto-libm-test-in: Add more tests of tgamma.
3553 * math/auto-libm-test-out: Regenerated.
3554 * sysdeps/i386/fpu/libm-test-ulps: Update.
3555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3556
3557 * math/auto-libm-test-in: Add more tests of tanh.
3558 * math/auto-libm-test-out: Regenerated.
3559 * sysdeps/i386/fpu/libm-test-ulps: Update.
3560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3561
3562 * math/auto-libm-test-in: Add more tests of tan.
3563 * math/auto-libm-test-out: Regenerated.
3564 * sysdeps/i386/fpu/libm-test-ulps: Update.
3565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3566
3567 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
3568 * math/auto-libm-test-out: Regenerated.
3569 * sysdeps/i386/fpu/libm-test-ulps: Update.
3570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3571
3572 * math/auto-libm-test-in: Add another test of pow.
3573 * math/auto-libm-test-out: Regenerated.
3574 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3575
3576 * math/auto-libm-test-in: Add more tests of lgamma.
3577 * math/auto-libm-test-out: Regenerated.
3578 * sysdeps/i386/fpu/libm-test-ulps: Update.
3579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3580
3581 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
3582 log1p.
3583 * math/auto-libm-test-out: Regenerated.
3584 * sysdeps/i386/fpu/libm-test-ulps: Update.
3585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3586
3587 2015-05-01 Mark Wielaard <mjw@redhat.com>
3588
3589 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
3590 Elf64_Chdr structs and ELFCOMPRESS constants.
3591
3592 2015-05-01 Joseph Myers <joseph@codesourcery.com>
3593
3594 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
3595 expm1.
3596 * math/auto-libm-test-out: Regenerated.
3597 * sysdeps/i386/fpu/libm-test-ulps: Update.
3598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3599
3600 * math/auto-libm-test-in: Add more tests of erf and erfc.
3601 * math/auto-libm-test-out: Regenerated.
3602 * sysdeps/i386/fpu/libm-test-ulps: Update.
3603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3604
3605 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
3606
3607 * config.h.in (HAVE_AARCH64_BE): Add.
3608
3609 2015-04-30 Joseph Myers <joseph@codesourcery.com>
3610
3611 * math/auto-libm-test-in: Add more tests of csqrt.
3612 * math/auto-libm-test-out: Regenerated.
3613 * sysdeps/i386/fpu/libm-test-ulps: Update.
3614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3615
3616 * math/auto-libm-test-in: Add more tests of cosh and sinh.
3617 * math/auto-libm-test-out: Regenerated.
3618 * sysdeps/i386/fpu/libm-test-ulps: Update.
3619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3620
3621 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
3622
3623 2015-04-29 Roland McGrath <roland@hack.frob.com>
3624
3625 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
3626 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
3627
3628 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
3629 (euidaccess, eaccess): Define as weak aliases.
3630
3631 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
3632 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
3633 but __suseconds_t is often 'long int' so some sources assume that
3634 type is being used (e.g. they use %ld to print tv_usec).
3635
3636 2015-04-29 Florian Weimer <fweimer@redhat.com>
3637
3638 [BZ #18007]
3639 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
3640 (CVE-2014-8121)
3641 * nss/tst-nss-getpwent.c: New file.
3642 * nss/Makefile (tests): Add new test.
3643
3644 2015-04-28 Joseph Myers <joseph@codesourcery.com>
3645
3646 [BZ #18346]
3647 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
3648 exponents less than 48 as cases where high part of mantissa needs
3649 examining to determine whether argument is integral.
3650 * math/libm-test.inc (round_test_data): Add more tests.
3651
3652 2015-04-28 Mark Wielaard <mjw@redhat.com>
3653
3654 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
3655
3656 2015-04-27 David S. Miller <davem@davemloft.net>
3657
3658 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
3659 __tls_get_addr.
3660 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3661
3662 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
3663
3664 [BZ#18333]
3665 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
3666
3667 2015-04-27 Florian Weimer <fweimer@redhat.com>
3668
3669 [BZ#18333]
3670 * time/tzset.c (parse_tzname): Return error on memory allocation
3671 failure.
3672 * test-skeleton.c (struct temp_name_list): Change type of name
3673 member to non-const.
3674 (add_temp_file): Create a copy of the file name.
3675 (delete_temp_files): Deallocate memory.
3676 (create_temp_file): Add comment.
3677
3678 2015-04-24 Florian Weimer <fweimer@redhat.com>
3679
3680 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
3681 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
3682
3683 2015-04-24 Roland McGrath <roland@hack.frob.com>
3684
3685 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
3686 * sysdeps/arm/configure: Regenerated.
3687
3688 2015-04-24 Florian Weimer <fweimer@redhat.com>
3689
3690 [BZ #17715]
3691 * time/tzfile.c (__tzfile_read): Check for large values of
3692 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
3693 * time/tzset.c (__tzstring_len): New function, based on the old
3694 __tzstring function.
3695 (__tzstring): Call __tzstring_len.
3696 (parse_tzname): New helper function extracted from
3697 __tzset_parse_tz. Call __tzstring_len, without making a copy of
3698 the input string.
3699 (parse_offset): New helper function extracted from
3700 __tzset_parse_tz. Replace switch with fallthrough with
3701 initialization before sscanf.
3702 (parse_rule): Likewise.
3703 (__tzset_parse_tz): Rewrite using the new helper functions. Use
3704 new-style function definition.
3705 * timezone/Makefile (tests): Add tst-tzset.
3706 (tst-tzset.out): Dependencies on time zone files.
3707 (tst-tzset-ENV): Set TZDIR.
3708 (testdata/XT%): Copy crafted time zone files.
3709 * timezone/README: Mention crafted time zone files.
3710 * timezone/testdata/XT1, timezone/testdata/XT2,
3711 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
3712 files.
3713 * timezone/tst-tzset.c: New test.
3714
3715 2015-04-24 Florian Weimer <fweimer@redhat.com>
3716
3717 * Makeconfig (+gccwarn): Remove -Winline.
3718
3719 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3720
3721 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
3722
3723 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3724
3725 * NEWS: Mention sysconf() cache information support for s390.
3726 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
3727
3728 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
3729
3730 * math/k_casinh.c (__kernel_casinh): Use __copysign.
3731 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
3732 (__nearbyint): Likewise.
3733 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
3734 (copysignl): Likewise.
3735
3736 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
3737
3738 [BZ #18287]
3739 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
3740 based on padding. (CVE-2015-1781)
3741
3742 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3743
3744 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
3745 libc-vdso.h.
3746 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
3747 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
3748 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
3749 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3750 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3751 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
3752 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
3753 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3754 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3755 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
3756 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3757 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3758 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3759 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
3760 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3761 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
3762 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
3763 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
3764 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
3765 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
3766 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
3767 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
3768 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
3769
3770 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
3771
3772 * stdlib/setenv.c (__add_to_environ):
3773 Dump core quickly if setenv (..., NULL, ...) is called.
3774 This time, do it the right way, and pacify GCC with a pragma.
3775
3776 2015-04-17 Roland McGrath <roland@hack.frob.com>
3777
3778 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
3779 IMAP->l_prev cannot be null, and #if out the code for the contrary
3780 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
3781 believe that NS (&_dl_ns[NSID]) could point outside the array.
3782
3783 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
3784 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
3785 before using NSID as an index.
3786
3787 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
3788
3789 [BZ #17825]
3790 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
3791 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
3792 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3793
3794 2015-04-17 Roland McGrath <roland@hack.frob.com>
3795
3796 Add preliminary port to Google Native Client on ARM.
3797 * abi-tags (.*-.*-nacl.*): New entry.
3798 * sysdeps/arm/nacl: New directory.
3799 * sysdeps/nacl: New directory.
3800
3801 2015-04-16 David S. Miller <davem@davemloft.net>
3802
3803 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
3804 lowlevellock-futex.h
3805
3806 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
3807
3808 * sysdeps/tile/configure.ac: New file.
3809 * sysdeps/tile/configure: Regenerated.
3810
3811 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3812
3813 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
3814 conditionals for weak_alias and libc_hidden_weak.
3815 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
3816 libc_hidden_weak and weak_alias.
3817 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
3818 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
3819 and weak_alias for static one.
3820
3821 2015-04-15 David S. Miller <davem@davemloft.net>
3822
3823 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3824
3825 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3826
3827 [BZ #18206]
3828 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
3829 Use signed comparision instead of substraction to avoid
3830 overflow bug.
3831 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
3832 Take the sign of ret.
3833 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
3834 Do not expect precise return values. Only the sign matters.
3835 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
3836 * wcsmbs/test-wcsncmp.c: New File.
3837 * string/test-strncmp.c: Add wcsncmp support.
3838
3839 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3840
3841 [BZ #6792]
3842 * math/w_log1p.c: New file.
3843 * math/w_log1pf.c: Likewise.
3844 * math/w_log1pl.c: Likewise.
3845 * math/Makefile (libm-calls): Add w_log1p.
3846 * math/s_log1pl.c (log1pl): Remove weak_alias.
3847 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
3848 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
3849 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
3850 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
3851 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
3852 [NO_LONG_DOUBLE] (log1pl): Likewise.
3853 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
3854 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
3855 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
3856 (log1p): Remove long_double_symbol.
3857 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
3858 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
3859 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
3860 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
3861 remove weak_alias for corresponding log1p function.
3862 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
3863 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
3864 * sysdeps/ia64/fpu/w_log1p.c: New file.
3865 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
3866 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
3867 * math/libm-test.inc (log1p_test_data): Add errno expectations.
3868
3869 2015-04-10 Joseph Myers <joseph@codesourcery.com>
3870
3871 [BZ #18247]
3872 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
3873 decimal exponent by 1.
3874 * stdlib/tst-strtod-round-data: Add more tests.
3875 * stdlib/tst-strtod-round.c (tests): Regenerated.
3876
3877 2015-04-09 Joseph Myers <joseph@codesourcery.com>
3878
3879 * math/auto-libm-test-in: Add more tests of clog and clog10.
3880 * math/auto-libm-test-out: Regenerated.
3881 * sysdeps/i386/fpu/libm-test-ulps: Update.
3882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3883
3884 2015-04-09 Roland McGrath <roland@hack.frob.com>
3885
3886 * Makeconfig (module-cppflags): Exclude all .v.i files.
3887 (skip-module-cppflags): Variable removed.
3888
3889 * configure.ac (libc_config_ok): Initialize before reading
3890 preconfigure scripts, not after.
3891 * configure: Regenerated.
3892
3893 * test-skeleton.c (TIMEOUT): Move #define to top level.
3894 (main): Grok environment variable TEST_DIRECT. If set, print
3895 test expectation details into that file and then behave as if
3896 given --direct.
3897
3898 2015-04-09 Florian Weimer <fweimer@redhat.com>
3899
3900 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
3901 warning on 32-bit.
3902
3903 2015-04-08 David S. Miller <davem@davemloft.net>
3904
3905 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3906
3907 2015-04-08 Joseph Myers <joseph@codesourcery.com>
3908
3909 * math/auto-libm-test-in: Add more tests of atanh.
3910 * math/auto-libm-test-out: Regenerated.
3911 * sysdeps/i386/fpu/libm-test-ulps: Update.
3912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3913
3914 * math/auto-libm-test-in: Add more tests of atan.
3915 * math/auto-libm-test-out: Regenerated.
3916 * sysdeps/i386/fpu/libm-test-ulps: Update.
3917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3918
3919 2015-04-08 Florian Weimer <fweimer@redhat.com>
3920
3921 * elf/pldd.c (main): Rewrite to use struct
3922 scratch_buffer instead of extend_alloca.
3923 * elf/pldd-xx.c (find_maps): Likewise.
3924 * grp/initgroups.c: Include <scratch_buffer.h> instead of
3925 <alloca.h>.
3926 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
3927 scratch_buffer instead of extend_alloca.
3928 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
3929 grp/compat-initgroups.c.
3930 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
3931 Rewrite to use struct scratch_buffer instead of extend_alloca.
3932 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
3933 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3934
3935 2015-04-08 Joseph Myers <joseph@codesourcery.com>
3936
3937 * math/auto-libm-test-in: Add more tests of cbrt.
3938 * math/auto-libm-test-out: Regenerated.
3939 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3940
3941 * math/auto-libm-test-in: Add more tests of cabs.
3942 * math/auto-libm-test-out: Regenerated.
3943 * sysdeps/i386/fpu/libm-test-ulps: Update.
3944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3945
3946 [BZ #18210]
3947 [BZ #18211]
3948 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
3949 (__ieee754_atan2): Set FE_TONEAREST mode for internal
3950 computations.
3951 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
3952 clog10.
3953 * math/auto-libm-test-out: Regenerated.
3954 * sysdeps/i386/fpu/libm-test-ulps: Update.
3955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3956
3957 [BZ #18197]
3958 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
3959 (atan): Set FE_TONEAREST mode for internal computations.
3960 * math/auto-libm-test-in: Add more tests of atan.
3961 * math/auto-libm-test-out: Regenerated.
3962
3963 2015-04-07 James Cowgill <james410@cowgill.org.uk>
3964
3965 [BZ #17930]
3966 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
3967
3968 2015-04-07 Florian Weimer <fweimer@redhat.com>
3969
3970 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
3971
3972 2015-04-07 Florian Weimer <fweimer@redhat.com>
3973
3974 * include/scratch_buffer.h: New file.
3975 * malloc/scratch_buffer_grow.c: Likewise.
3976 * malloc/scratch_buffer_grow_preserve.c: Likewise.
3977 * malloc/scratch_buffer_set_array_size.c: Likewise.
3978 * malloc/tst-scratch_buffer.c: Likewise.
3979 * malloc/Makefile (routines): Add scratch_buffer_grow.
3980 (tests): Add test case.
3981 * malloc/Versions (GLIBC_PRIVATE): Export
3982 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
3983 __libc_scratch_buffer_set_array_size.
3984
3985 2015-04-06 Richard Henderson <rth@redhat.com>
3986
3987 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
3988 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3989
3990 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
3991 unsigned int before printing.
3992
3993 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3994
3995 [BZ #17596]
3996 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
3997 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3998
3999 2015-04-02 Florian Weimer <fweimer@redhat.com>
4000
4001 * include/libc-internal.h (libc_max_align_t): Define.
4002
4003 2015-04-02 Andreas Schwab <schwab@suse.de>
4004
4005 [BZ #16850]
4006 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
4007
4008 2015-04-02 Mel Gorman <mgorman@suse.de>
4009
4010 [BZ #17195]
4011 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
4012 as well as the main arena.
4013
4014 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
4015
4016 [BZ #18185]
4017 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
4018 sharing L2 cache to 2 for Silvermont/Knights Landing.
4019
4020 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
4021
4022 [BZ #17711]
4023 * config.make.in (have-protected-data): New.
4024 * configure.ac: Check linker support for protected data symbol.
4025 * configure: Regenerated.
4026 * elf/Makefile (modules-names): Add tst-protected1moda and
4027 tst-protected1modb if $(have-protected-data) is yes.
4028 (tests): Add tst-protected1a and tst-protected1b if
4029 $(have-protected-data) is yes.
4030 ($(objpfx)tst-protected1a): New.
4031 ($(objpfx)tst-protected1b): Likewise.
4032 (tst-protected1modb.so-no-z-defs): Likewise.
4033 * elf/tst-protected1a.c: New file.
4034 * elf/tst-protected1b.c: Likewise.
4035 * elf/tst-protected1mod.h: Likewise.
4036 * elf/tst-protected1moda.c: Likewise.
4037 * elf/tst-protected1modb.c: Likewise.
4038
4039 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
4040
4041 [BZ #17711]
4042 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
4043 indicates it is called from do_lookup_x on relocation against
4044 protected data, skip the data definion in the executable from
4045 copy reloc.
4046 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
4047 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
4048 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
4049 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
4050 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
4051 otherwise to 0.
4052 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4053 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
4054 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
4055 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4056 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
4057 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
4058
4059 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
4060
4061 * sysdeps/nptl/pthread.h: Remove duplicate definition of
4062 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
4063
4064 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
4065
4066 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
4067 THREAD_SETMEM_NC.
4068 * sysdeps/x86_64/nptl/tls.h: Ditto.
4069
4070 2015-03-27 Roland McGrath <roland@hack.frob.com>
4071
4072 * dlfcn/tststatic.c (main): Converted to ...
4073 (do_test): ... this.
4074 (TEST_FUNCTION): New macro.
4075 Include test-skeleton.c.
4076
4077 2015-03-26 Alan Modra <amodra@gmail.com>
4078
4079 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
4080 Don't segfault if ifunc resolver returns a NULL. Do set plt to
4081 zero for undefined weak.
4082 (elf_machine_plt_conflict): Similarly.
4083
4084 2015-03-25 Joseph Myers <joseph@codesourcery.com>
4085
4086 * math/auto-libm-test-in: Add more tests of acosh, asinh and
4087 atanh.
4088 * math/auto-libm-test-out: Regenerated.
4089 * sysdeps/i386/fpu/libm-test-ulps: Update.
4090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4091
4092 * math/auto-libm-test-in: Add another test of asin.
4093 * math/auto-libm-test-out: Regenerated.
4094 * sysdeps/i386/fpu/libm-test-ulps: Update.
4095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4096
4097 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
4098 Remove macro.
4099 (LLL_EBX_REG): Likewise.
4100 (LLL_ENTER_KERNEL): Likewise.
4101
4102 * math/auto-libm-test-in: Add more tests of asin.
4103 * math/auto-libm-test-out: Regenerated.
4104 * sysdeps/i386/fpu/libm-test-ulps: Update.
4105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4106
4107 [BZ #18138]
4108 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
4109 libc_do_syscall_args): New structure.
4110 (INTERNAL_SYSCALL_MAIN_0): New macro.
4111 (INTERNAL_SYSCALL_MAIN_1): Likewise.
4112 (INTERNAL_SYSCALL_MAIN_2): Likewise.
4113 (INTERNAL_SYSCALL_MAIN_3): Likewise.
4114 (INTERNAL_SYSCALL_MAIN_4): Likewise.
4115 (INTERNAL_SYSCALL_MAIN_5): Likewise.
4116 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
4117 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
4118 Replace conditional definitions by conditional definitions of ....
4119 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
4120 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
4121 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
4122 (libpthread-sysdep_routines): Add libc-do-syscall.
4123 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
4124 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
4125 to __NR_futex not 240.
4126
4127 2015-03-25 Alan Modra <amodra@gmail.com>
4128
4129 * NEWS: Advertise TLS optimization.
4130 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
4131 (DT_PPC_NUM): Increment.
4132 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
4133 (CHECK_STATIC_TLS): Use here.
4134 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
4135 TLS descriptors.
4136 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4137 * sysdeps/powerpc/dl-tls.c: New file.
4138 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
4139 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
4140 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
4141 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
4142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
4143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
4144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
4145
4146 2015-03-25 Alan Modra <amodra@gmail.com>
4147
4148 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
4149 for overlapping .opd entries" to "support...".
4150 * sysdeps/powerpc/powerpc64/configure: Regenerate
4151
4152 2015-03-25 Joseph Myers <joseph@codesourcery.com>
4153
4154 * math/auto-libm-test-in: Add more tests of acos.
4155 * math/auto-libm-test-out: Regenerated.
4156 * sysdeps/i386/fpu/libm-test-ulps: Update.
4157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4158
4159 * math/auto-libm-test-in: Add more tests of expm1.
4160 * math/auto-libm-test-out: Regenerated.
4161 * sysdeps/i386/fpu/libm-test-ulps: Update.
4162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4163
4164 2015-03-24 Joseph Myers <joseph@codesourcery.com>
4165
4166 * math/auto-libm-test-in: Add more tests of cosh and sinh.
4167 * math/auto-libm-test-out: Regenerated.
4168 * sysdeps/i386/fpu/libm-test-ulps: Update.
4169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4170
4171 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4173
4174 * math/auto-libm-test-in: Add more tests of log2.
4175 * math/auto-libm-test-out: Regenerated.
4176 * sysdeps/i386/fpu/libm-test-ulps: Update.
4177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4178
4179 2015-03-23 Roland McGrath <roland@hack.frob.com>
4180
4181 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
4182 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
4183 _IO_IS_APPENDING bit in READ_WRITE instead.
4184
4185 2015-03-23 Florian Weimer <fweimer@redhat.com>
4186
4187 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
4188 (__determine_cpumask_size): Replace extend_alloca with a
4189 variable-length array. Do not treat res == 0 as an error.
4190
4191 2015-03-23 Florian Weimer <fweimer@redhat.com>
4192
4193 [BZ #18100]
4194 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
4195 and integer overflow.
4196 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
4197 (main): Add integer overflow tests.
4198 * manual/pattern.texi (Calling Wordexp): Document additional use
4199 for WRDE_SYNTAX.
4200
4201 2015-03-23 Alan Modra <amodra@gmail.com>
4202
4203 * config.h.in: Remove HAVE_ASM_PPC_REL16.
4204 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
4205 and false branch of conditional.
4206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4207 Likewise.
4208
4209 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
4210
4211 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
4212 libc-modules.h
4213 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
4214 unused declaration of _hurd_intr_rpc_msg_in_trap.
4215 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
4216 defined instead of whether it is non-zero.
4217 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
4218 input constraint instead of both input and output constraint. Use ecx
4219 clobber instead of %ecx.
4220 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
4221 mutex_unlock): Use a statement expression instead of an expression list.
4222 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
4223 type to vm_size_t instead of vm_address_t.
4224 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
4225 defined instead of whether it is non-zero.
4226 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
4227 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
4228 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
4229 comparisons with mapaddr.
4230 * nscd/nscd-client.h: Include <time.h>.
4231 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
4232 9th parameter to __vm_region instead of int.
4233 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
4234 * scripts/check-local-headers.sh (exclude): Add device/,
4235 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
4236 cthreads.h.
4237
4238 2015-03-19 Roland McGrath <roland@hack.frob.com>
4239
4240 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
4241 to account for alignment padding.
4242 * sysdeps/arm/memmove.S: Likewise.
4243
4244 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
4245
4246 * sysdeps/unix/sysv/linux/generic/README: New file.
4247
4248 2015-03-18 Joseph Myers <joseph@codesourcery.com>
4249
4250 [BZ #18138]
4251 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
4252 (futex_abstimed_wait)
4253 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
4254 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
4255 of lll_futex_timed_wait.
4256
4257 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
4258
4259 [BZ #17542]
4260 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
4261
4262 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
4263
4264 [BZ #17090]
4265 [BZ #17620]
4266 [BZ #17621]
4267 [BZ #17628]
4268 * NEWS: Update.
4269 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
4270 entries with Static TLS too. Skip entries past the end of the
4271 allocated DTV, from Alan Modra.
4272 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
4273 Static TLS DTV entry set up from...
4274 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
4275 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
4276 * nptl/allocatestack.c (init_one_static_tls): ... and here...
4277 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
4278 for Static TLS.
4279 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
4280 that the slot we find is associated with the given map before
4281 using its generation count.
4282 * nptl_db/db_info.c: Include ldsodefs.h.
4283 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
4284 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
4285 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
4286 (link_map::l_tls_offset): New struct field.
4287 (dtv_t::counter): Likewise.
4288 (rtld_global): New struct.
4289 (_rtld_global): New rtld variable.
4290 (dl_tls_dtv_slotinfo_list): New rtld global field.
4291 (dtv_slotinfo_list): New struct.
4292 (dtv_slotinfo): Likewise.
4293 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
4294 (td_lookup): Rename to...
4295 (td_mod_lookup): ... this. Use new mod parameter instead of
4296 LIBPTHREAD_SO.
4297 * nptl_db/td_thr_tlsbase.c: Include link.h.
4298 (dtv_slotinfo_list, dtv_slotinfo): New functions.
4299 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
4300 addresses even if the DTV is out of date or missing them.
4301 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
4302 index zero-length arrays.
4303 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
4304 (td_lookup): Make it a macro implemented in terms of...
4305 (td_mod_lookup): ... this declaration.
4306 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
4307 (DB_MAIN_VARIABLE): Likewise.
4308
4309 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
4310
4311 [BZ #18134]
4312 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
4313
4314 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
4315
4316 * stdlib/setenv.c (__add_to_environ): Revert previous change.
4317
4318 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
4319
4320 [BZ #18128]
4321 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
4322 (atomic_add, atomic_increment_and_test)
4323 (atomic_decrement_and_test): Fix 64-bit arithmetic.
4324
4325 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
4326
4327 * stdlib/setenv.c (__add_to_environ):
4328 Dump core quickly if setenv (..., NULL, ...) is called.
4329
4330 2015-03-13 Roland McGrath <roland@hack.frob.com>
4331
4332 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
4333 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
4334 all the necessary asm magic in one place.
4335 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
4336 using those.
4337
4338 2015-03-13 Carlos O'Donell <carlos@redhat.com>
4339
4340 [BZ #14906]
4341 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
4342 traced file mtime. Use consistent log message.
4343 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
4344 (register_traced_file): Call install_watches. Always set mtime.
4345 (invalidate_cache): Iterate over all trace files. Call install_watches.
4346 (inotify_check_files): Don't inline. Handle watching parent
4347 directories and configuration file movement in and out.
4348 (handle_inotify_events): New function.
4349 (main_loop_poll): Call handle_inotify_events.
4350 (main_loop_epoll): Likewise.
4351 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
4352 (struct traced_file): Use array of inotify fds. Add parent directory,
4353 and basename.
4354 (struct database_dyn): Remove unused file_mtime.
4355 (init_traced_file): New inline function.
4356 (define_traced_file): New macro.
4357 * nss/nss_db/db-init.c: Use define_traced_file.
4358 (_nss_db_init): Use init_traced_file.
4359 * nss/nss_files/files-init.c: Use define_traced_file.
4360 (_nss_files_init): Use init_traced_file.
4361
4362 2015-03-12 Joseph Myers <joseph@codesourcery.com>
4363
4364 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
4365 [_LIBC]: Do not include <stdlib.h>.
4366 [!_LIBC] (abort): Remove declaration.
4367 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
4368 _FP_STATIC_ASSERT instead of conditionally calling abort.
4369 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
4370 (_FP_EXTEND_CNAN): Likewise.
4371 (FP_TRUNC): Likewise.
4372 (__FP_CLZ): Likewise.
4373 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
4374
4375 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
4376
4377 * manual/string.texi (XPG basename): Fix prototype.
4378
4379 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4380
4381 [BZ #18080]
4382 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
4383 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4384 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
4385 (__setcontext): Likewise.
4386 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
4387 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4388 Call rt_sigprocmask syscall one time to set new signal mask
4389 and retrieve the current signal mask instead of two calls.
4390 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
4391 (__swapcontext): Likewise.
4392 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
4393 * stdlib/tst-setcontext2.c: New file.
4394
4395 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4396
4397 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4398
4399 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
4400
4401 [BZ #18093]
4402 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
4403 the wrong size.
4404
4405 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
4406
4407 [BZ #18043]
4408 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
4409
4410 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4411
4412 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
4413 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
4414 Remove define.
4415 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
4416 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
4417 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
4418 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
4419 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
4420 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
4421 define.
4422 * nptl_db/td_symbol_list.c (td_lookup): Remove
4423 HAVE_ASM_GLOBAL_DOT_NAME code.
4424 * sysdeps/powerpc/powerpc64/configure.ac: Remove
4425 HAVE_ASM_GLOBAL_DOT_NAME check.
4426 * sysdeps/powerpc/powerpc64/configure: Regenerate.
4427 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
4428 (DOT_LABEL): Remove define.
4429 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
4430 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
4431 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
4432 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
4433 (__TLS_GET_ADDR): Likewise.
4434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
4435 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
4436
4437 2015-03-11 Carlos O'Donell <carlos@redhat.com>
4438
4439 [BZ #18111]
4440 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
4441 (_FPU_SETCW): Initialize cw from fpsr before storing.
4442 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
4443 (fesetexceptflag): Rewrite using fpu_control.h.
4444 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
4445
4446 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
4447
4448 [BZ #18110]
4449 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
4450 asms.
4451 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
4452
4453 2015-03-11 Joseph Myers <joseph@codesourcery.com>
4454
4455 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
4456 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
4457 abort.
4458 (_FP_FMA): Likewise.
4459 (_FP_DIV): Likewise.
4460
4461 2015-03-10 Roland McGrath <roland@hack.frob.com>
4462
4463 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
4464 with 0 in that case.
4465 * Makefile (summarize-tests): New canned sequence, factored out of
4466 commands for targets tests and xtests. Display summary lines that
4467 don't start with PASS: or XFAIL: rather than ones that do start with
4468 ERROR: or FAIL:. Make the commands fail if any summary lines fail
4469 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
4470 do start with ERROR: or FAIL:.
4471 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
4472 (except for [$(build-shared) = yes]).
4473 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
4474 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
4475 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
4476 * nptl/Makefile: Revert 2015-03-04 changes.
4477 [$(CXX) empty] (tests-unsupported): New variable.
4478 * debug/Makefile: Likewise.
4479
4480 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
4481 gnulib file. Replace __attribute with __attribute__ throughout.
4482
4483 2015-03-10 Carlos O'Donell <carlos@redhat.com>
4484
4485 * sysdeps/hppa/fpu/libm-test-ulps: Update.
4486
4487 2015-03-10 Joseph Myers <joseph@codesourcery.com>
4488
4489 [BZ #18104]
4490 * math/auto-libm-test-in: Add another test of pow.
4491 * math/auto-libm-test-out: Regenerated.
4492
4493 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4494
4495 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
4496 $(config-cflags-nofma).
4497
4498 2015-03-10 Joseph Myers <joseph@codesourcery.com>
4499
4500 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
4501 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
4502 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
4503 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
4504 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
4505 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
4506 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
4507 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
4508 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
4509 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
4510 Add comment on closing #endif.
4511
4512 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4513
4514 * posix/wordexp.c (CHAR_IN_SET): New macro.
4515 (parse_param): Use it.
4516
4517 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4518
4519 * sysdeps/powerpc/fpu/libm-test-ulps: update.
4520
4521 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4522
4523 [BZ #18043]
4524 * posix/wordexp.c (parse_param): Fix buffer overflow.
4525 * posix/wordexp-test.c (test_case): Add test case.
4526
4527 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4528
4529 [BZ #18042]
4530 * posix/wordexp.c (parse_backtick): Fix off-by-one.
4531 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
4532
4533 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4534
4535 [BZ #18043]
4536 * posix/wordexp-test.c (test_case): Add test for BZ #18043
4537 (do_bz18043): Delete.
4538 (at_page_end): New.
4539 (testit): Refactor to have words at the edge of unreadable page.
4540
4541 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4542
4543 [BZ #16734]
4544 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
4545 Cleanup read-only streams as well.
4546 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
4547
4548 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
4549
4550 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
4551 <bits/libc-lockP.h>
4552
4553 2015-03-07 Joseph Myers <joseph@codesourcery.com>
4554
4555 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
4556 on [__KERNEL__].
4557 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
4558 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
4559 * soft-fp/op-common.h (_FP_DECL): Likewise.
4560
4561 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
4562
4563 * elf/ifuncdep2.c (global): Replace
4564 __attribute__((visibility("protected"))) with
4565 asm (".protected global").
4566 * elf/ifuncmod1.c (global): Likewise.
4567 * elf/ifuncmod5.c (global): Likewise.
4568
4569 2015-03-06 Joseph Myers <joseph@codesourcery.com>
4570
4571 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
4572 <asm/sfp-machine.h> instead of <sfp-machine.h>.
4573
4574 2015-03-06 Roland McGrath <roland@hack.frob.com>
4575
4576 * manual/install.texi (Configuring and compiling):
4577 Document test-wrapper-env-only.
4578 * INSTALL: Regenerated.
4579
4580 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4581
4582 [BZ #18043]
4583 * posix/wordexp.c (parse_param): Fix buffer overflow.
4584 * posix/wordexp-test.c (do_bz18043): Add test case.
4585
4586 2015-03-06 Vincent Bernat <vincent@bernat.im>
4587
4588 * time/tst-strptime2.c (do_test): Ensure failing tests are
4589 reported correctly.
4590 * time/tst-strptime3.c (do_test): Likewise.
4591
4592 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
4593
4594 Fix aio_error thread-safety.
4595 * sysdeps/pthread/aio_error.c: New file
4596 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
4597 synchronization.
4598
4599 2015-03-06 Florian Weimer <fweimer@redhat.com>
4600
4601 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
4602 (group_number, vfprintf): Use it.
4603 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
4604 (JUMP, REF): Use it.
4605 (WORK_BUFFER_SIZE): New enum constant.
4606 (process_arg, vfprintf): Use it.
4607
4608 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
4609
4610 * manual/errno.texi (Error Messages): Complete example function
4611 by adding missing #define.
4612 (program_invocation_name): Add statement indicating GNU
4613 extension and reference which header file declares the variable.
4614 (program_invocation_short_name): Likewise.
4615
4616 2015-03-06 Mike Frysinger <vapier@gentoo.org>
4617
4618 * manual/errno.texi (Error Messages): Delete strerror ISO C89
4619 compatibility note.
4620
4621 2015-03-05 Roland McGrath <roland@hack.frob.com>
4622
4623 * Makeconfig (test-wrapper-env-only): New variable.
4624 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
4625 then use that with $(test-wrapper-env-only) rather than using
4626 $(test-wrapper-env) $(run-program-env) $($*-ENV).
4627
4628 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
4629
4630 [BZ #18082]
4631 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
4632 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
4633 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
4634 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
4635 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
4636 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
4637 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
4638 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
4639 Likewise.
4640 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
4641 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
4642 Likewise.
4643 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
4644 Likewise.
4645 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
4646 Likewise.
4647 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
4648 Likewise.
4649 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
4650 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
4651 Likewise.
4652 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
4653 Likewise.
4654 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
4655 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
4656
4657 2015-03-04 Roland McGrath <roland@hack.frob.com>
4658
4659 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
4660 (ETH_ALEN): New macro.
4661 (struct ether_addr): Use it for length of ether_addr_octet.
4662
4663 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
4664 (setdb): Don't call __nss_configure_lookup for "rpc".
4665 (do_test): Don't call test_rpc.
4666 (output_rpcent, test_rpc): Functions moved ...
4667 * sunrpc/test-rpcent.c: ... to this new file.
4668 * sunrpc/Makefile (tests): Add it.
4669
4670 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
4671 __xpg_sigpause.
4672 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
4673 * nptl/tst-signal6.c: Likewise.
4674 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
4675 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
4676
4677 * configure.ac (libc_cv_cxx_link_ok): New check.
4678 Reset CXX to empty if it fails to link.
4679 * configure: Regenerated.
4680 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
4681 bug-atexit3-lib only if $(CXX) is nonempty.
4682 * nptl/Makefile (tests): Likewise for tst-cancel24.
4683 (tests, tests-static): Likewise for tst-cancel24-static.
4684 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
4685 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
4686 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
4687 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
4688
4689 2015-03-04 Andreas Schwab <schwab@suse.de>
4690
4691 [BZ #17631]
4692 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
4693 for non-GCC compilers.
4694 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4695 Likewise.
4696
4697 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4698
4699 [BZ #17776]
4700 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
4701 integer before bitwise and assembly operations.
4702 (feclearexcept): Likewise.
4703 * math/test-fenvinline.c: New file.
4704 * math/Makefile: Add test-fenvinline test.
4705
4706 2015-03-03 Alan Modra <amodra@gmail.com>
4707
4708 [BZ #16512]
4709 * scripts/localplt.awk: Strip off symbol version.
4710 * NEWS: Mention bug fix.
4711
4712 2015-03-02 Roland McGrath <roland@hack.frob.com>
4713
4714 * sysdeps/pthread/timer_routines.c
4715 (timer_free_list, thread_free_list, thread_active_list): Make static.
4716
4717 2015-03-02 Joseph Myers <joseph@codesourcery.com>
4718
4719 [BZ #17779]
4720 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4721 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4722 Undefine.
4723 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4724 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4725 Likewise.
4726 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4727 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4728 Likewise.
4729
4730 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4731
4732 [BZ #18036]
4733 * posix/fnmatch_loop.c (END): Detect invalid pattern.
4734 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
4735
4736 2015-03-02 Andreas Schwab <schwab@suse.de>
4737
4738 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
4739 variable name.
4740
4741 2015-03-02 Florian Weimer <fweimer@redhat.com>
4742
4743 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
4744 Return error status.
4745
4746 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
4747
4748 [BZ #15969]
4749 * locale/findlocale.c (_nl_find_locale): Introduce const
4750 version of loc_name and drop unsafe type casts.
4751
4752 2015-02-27 Roland McGrath <roland@hack.frob.com>
4753
4754 * dlfcn/tststatic2.c (main): Converted to ...
4755 (do_test): ... this.
4756 (TEST_FUNCTION): New macro.
4757 Include test-skeleton.c.
4758
4759 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
4760
4761 [BZ #17711]
4762 * elf/Makefile (tests): Add vismain only if PIE is enabled.
4763 (tests-pie): Add vismain.
4764 (CFLAGS-vismain.c): New.
4765 * elf/vismain.c: Add comments for PIE requirement.
4766
4767 2015-02-27 Joseph Myers <joseph@codesourcery.com>
4768
4769 [BZ #18046]
4770 [BZ #18047]
4771 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
4772 0x1p-56L as threshold for just returning the argument.
4773 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
4774 0x1p-32L as threshold for just returning the argument.
4775 * math/auto-libm-test-in: Add more tests of atanh.
4776 * math/auto-libm-test-out: Regenerated.
4777 * sysdeps/i386/fpu/libm-test-ulps: Update.
4778 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
4779
4780 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
4781
4782 * string/bcopy.c (bcopy): Call memmove for performance.
4783
4784 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
4785
4786 * string/bzero.c (__bzero): Call memset for performance.
4787
4788 2015-02-27 John David Anglin <dave.anglin@bell.net>
4789
4790 [BZ #18068]
4791 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
4792 to 00100000.
4793
4794 2015-02-27 Joseph Myers <joseph@codesourcery.com>
4795
4796 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
4797
4798 2015-02-26 Joseph Myers <joseph@codesourcery.com>
4799
4800 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
4801 (__kernel_standard): Use CSTR macro when setting exc.name.
4802 * sysdeps/ieee754/Makefile [$(subdir) = math]
4803 (CFLAGS-k_standard.c): Remove variable.
4804
4805 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
4806 setting p and q from "else if" to "else".
4807 (qzero): Likewise.
4808 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
4809 (qone): Likewise.
4810 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
4811 (qzerof): Likewise.
4812 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
4813 (qonef): Likewise.
4814 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
4815 (qzero): Likewise.
4816 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
4817 (qone): Likewise.
4818
4819 [BZ #18038]
4820 [BZ #18039]
4821 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
4822 return pi/2 for arguments below 0x1p-113L.
4823 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
4824 return pi/2 for arguments below 0x1p-106L.
4825 * math/auto-libm-test-in: Add more tests of acos.
4826 * math/auto-libm-test-out: Regenerated.
4827
4828 [BZ #16351]
4829 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
4830 (MO): New macro.
4831 (__ieee754_asin): Force underflow exception for results with small
4832 absolute value.
4833 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
4834 (MO): New macro.
4835 (__ieee754_asinf): Force underflow exception for results with
4836 small absolute value.
4837 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
4838 (__ieee754_asin): Force underflow exception for results with small
4839 absolute value.
4840 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
4841 (__ieee754_asinf): Force underflow exception for results with
4842 small absolute value.
4843 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
4844 (__ieee754_asinl): Force underflow exception for results with
4845 small absolute value.
4846 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
4847 (__ieee754_asinl): Force underflow exception for results with
4848 small absolute value.
4849 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
4850 (__ieee754_asinl): Force underflow exception for results with
4851 small absolute value.
4852 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
4853 Include <math.h>.
4854 * math/auto-libm-test-in: Do not mark underflow exceptions as
4855 possibly missing for bug 16351.
4856 * math/auto-libm-test-out: Regenerated.
4857
4858 [BZ #18030]
4859 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
4860 of power of 2 down when low part has opposite sign.
4861 * math/libm-test.inc (logb_test_data): Add more tests.
4862
4863 2015-02-26 Andreas Schwab <schwab@suse.de>
4864
4865 [BZ #18032]
4866 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
4867 over collating symbol inside a bracket expression. Minor cleanup.
4868 * posix/tst-fnmatch3.c (do_test): Add test case.
4869
4870 2015-02-26 Joseph Myers <joseph@codesourcery.com>
4871
4872 [BZ #18029]
4873 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
4874 Adjust exponent of power of 2 down when low part has opposite
4875 sign.
4876 * math/libm-test.inc (ilogb_test_data): Add more tests.
4877
4878 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
4879
4880 [BZ #15969]
4881 * locale/findlocale.c (_nl_find_locale): Fix constness error in
4882 the previous change.
4883
4884 [BZ #15969]
4885 * locale/findlocale.c (_nl_find_locale): Retry archive search
4886 after alias expansion.
4887
4888 2015-02-25 Roland McGrath <roland@hack.frob.com>
4889
4890 * iconv/tst-iconv3.c (main): Converted to ...
4891 (do_test): ... this.
4892 (TEST_FUNCTION): New macro.
4893 Include test-skeleton.c.
4894
4895 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
4896 (convert): Make function static.
4897 (test_unalign): Likewise. Add const to argument pointee types.
4898 (main): Replace with static function do_test.
4899 Print "Succeeded." only if RET is zero.
4900 (TEST_FUNCTION): New macro.
4901 Include test-skeleton.c.
4902
4903 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
4904 returns a null pointer.
4905
4906 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4907
4908 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
4909 to __memcpy_ppc only for static builds.
4910
4911 2015-02-25 Joseph Myers <joseph@codesourcery.com>
4912
4913 [BZ #18020]
4914 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
4915 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
4916 * math/auto-libm-test-in: Add more tests of asinh.
4917 * math/auto-libm-test-out: Regenerated.
4918 * sysdeps/i386/fpu/libm-test-ulps: Update.
4919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4920
4921 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
4922
4923 [BZ #15850]
4924 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
4925 and ip6_mtuinfo definitions here.
4926 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
4927 in this define too. Update comment.
4928
4929 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
4930
4931 * elf/sprof.c (load_shobj): Tweak error message to match others.
4932
4933 2015-02-24 Kevin Easton <kevin@guarana.org>
4934
4935 [BZ #16145] (partial fix)
4936 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
4937 to reduce lock contention.
4938
4939 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
4940
4941 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
4942 (struct timex): Update time comment.
4943 (ADJ_SETOFFSET): Define.
4944
4945 2015-02-24 Joseph Myers <joseph@codesourcery.com>
4946
4947 [BZ #18019]
4948 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4949 2**56 not 2**28 as threshold for log (2x) formula.
4950 * math/auto-libm-test-in: Add more tests of acosh.
4951 * math/auto-libm-test-out: Regenerated.
4952 * sysdeps/i386/fpu/libm-test-ulps: Update.
4953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4954
4955 2015-02-24 Mike Frysinger <vapier@gentoo.org>
4956
4957 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
4958 parenthesis around the buf assignment.
4959 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
4960
4961 2015-02-24 Joseph Myers <joseph@codesourcery.com>
4962
4963 [BZ #16783]
4964 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
4965 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
4966 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
4967 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4968 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4969 * math/libm-test.inc (scalb_test_data): Add more tests.
4970
4971 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4972
4973 [BZ #17916]
4974 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
4975 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
4976
4977 2015-02-24 Eric Rannaud <e@nanocritical.com>
4978
4979 [BZ #17523]
4980 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
4981 * io/bits/fcntl2.h (open): Use it.
4982 (openat): Likewise.
4983 * io/open.c (__libc_open): Likewise.
4984 * io/open64.c (__libc_open64): Likewise.
4985 * io/open64_2.c (__open64_2): Likewise.
4986 * io/open_2.c (__open_2): Likewise.
4987 * io/openat.c (__openat): Likewise.
4988 * io/openat64.c (__openat64): Likewise.
4989 * io/openat64_2.c (__openat64_2): Likewise.
4990 * io/openat_2.c (__openat_2): Likewise.
4991 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
4992 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
4993 * sysdeps/posix/open64.c (__libc_open64): Likewise.
4994 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4995 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
4996 (__open_nocancel): Likewise.
4997 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
4998 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
4999 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
5000
5001 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5002
5003 [BZ #14841]
5004 * resolv/gethnamaddr.c (getanswer): Skip logging if
5005 RES_USE_DNSSEC is set.
5006 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5007
5008 2015-02-24 Mike Frysinger <vapier@gentoo.org>
5009
5010 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
5011
5012 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
5013
5014 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5015 201304L, for Unicode 7.
5016
5017 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
5018
5019 [BZ #17836]
5020 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
5021 shared library. Add gmon-start.os otherwise.
5022 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
5023 $(objpfx)gmon-start.os if builing shared library.
5024 ($(objpfx)g$(static-start-installed-name)): Likewise.
5025
5026 2015-02-23 Andreas Schwab <schwab@suse.de>
5027
5028 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
5029
5030 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5031
5032 [BZ #17269]
5033 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
5034 (enlarge_userbuf): Likewise.
5035
5036 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
5037
5038 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
5039 * math/atest-exp.c (TIMEOUT): Adjust to 200.
5040 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
5041 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
5042
5043 2015-02-20 Joseph Myers <joseph@codesourcery.com>
5044
5045 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
5046 expression inside statement expression.
5047
5048 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
5049
5050 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
5051 <sysdeps/nptl/lowlevellock.h> and remove macros and
5052 functions that are now defined there.
5053 (SYS_futex): Remove.
5054 (lll_compare_and_swap): Remove.
5055 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
5056
5057 2015-02-19 Joseph Myers <joseph@codesourcery.com>
5058
5059 [BZ #17999]
5060 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
5061 instead of scandirat.
5062 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
5063 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
5064 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
5065 __scandirat.
5066 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
5067 (__scandirat): Declare. Use libc_hidden_proto.
5068 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
5069 Remove variable.
5070 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5071
5072 2015-02-18 Joseph Myers <joseph@codesourcery.com>
5073
5074 [BZ #15319]
5075 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
5076 (MO): New macro.
5077 (__ieee754_atan2): For results with small absolute value, force
5078 underflow exception and remove excess range and precision from
5079 return value.
5080 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
5081 (MO): New macro.
5082 (__ieee754_atan2f): For results with small absolute value, force
5083 underflow exception and remove excess range and precision from
5084 return value.
5085 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
5086 (MO): New macro.
5087 (__atan): For results with small absolute value, force underflow
5088 exception and remove excess range and precision from return value.
5089 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
5090 (MO): New macro.
5091 (__atanf): For results with small absolute value, force underflow
5092 exception and remove excess range and precision from return value.
5093 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
5094 <math.h>.
5095 (__ieee754_atan2): Force underflow exception for results with
5096 small absolute value.
5097 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
5098 <math_private.h>.
5099 (atan): Force underflow exception for results with small absolute
5100 value.
5101 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
5102 (__atanf): Force underflow exception for results with small
5103 absolute value.
5104 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
5105 <math.h>.
5106 (__atanl): Force underflow exception for results with small
5107 absolute value.
5108 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
5109 (__atanl): Force underflow exception for results with small
5110 absolute value.
5111 * sysdeps/x86/fpu/bits/mathinline.h
5112 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
5113 (__ieee754_atan2): Only define inline for long double.
5114 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
5115 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
5116 * math/auto-libm-test-in: Do not mark underflow exceptions as
5117 possibly missing for bug 15319. Add more tests of atan2.
5118 * math/auto-libm-test-out: Regenerated.
5119 * math/libm-test.inc (casin_test_data): Do not mark underflow
5120 exceptions as possibly missing for bug 15319.
5121 (casinh_test_data): Likewise.
5122 * sysdeps/i386/fpu/libm-test-ulps: Update.
5123
5124 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
5125
5126 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
5127 * sysdeps/mips/bits/endian.h: Fix comments.
5128
5129 2015-02-18 Joseph Myers <joseph@codesourcery.com>
5130
5131 [BZ #17996]
5132 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
5133 (hdestroy_r): Likewise.
5134 (hsearch_r): Likewise.
5135 (__hcreate_r): Declare and use libc_hidden_proto.
5136 (__hdestroy_r): Likewise.
5137 (__hsearch_r): Likewise.
5138 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
5139 (hcreate): Call __hcreate_r instead of hcreate_r.
5140 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
5141 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
5142 as weak alias of __hcreate_r.
5143 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
5144 __hdestroy_r.
5145 (hsearch_r): Rename to __hsearch_r and define as weak alias of
5146 __hsearch_r.
5147 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
5148 Remove variable.
5149 (test-xfail-XPG4/search.h/linknamespace): Likewise.
5150 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5151 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5152 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5153
5154 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5155
5156 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
5157 arena_lock into a single arena_get.
5158
5159 2015-02-17 Carlos O'Donell <carlos@redhat.com>
5160
5161 * dl-reloc.c: Inlucde libc-internal.h.
5162 (_dl_try_allocate_static_tls): Call ALIGN_UP.
5163 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
5164 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
5165 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
5166 (grow_heap): Likewise.
5167 * malloc/malloc.c: Include libc-internal.h.
5168 (do_check_malloc): Call powerof2.
5169 (sysmalloc): Use pagesize. Call ALIGN_UP.
5170 (systrim): Use pagesize.
5171 (mremap_chunk): Use pagesize. Call ALIGN_UP.
5172 (__libc_valloc): Use pagesize.
5173 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
5174
5175 2015-02-17 Joseph Myers <joseph@codesourcery.com>
5176
5177 [BZ #17991]
5178 * include/sys/resource.h (__getrlimit64): Declare. Use
5179 libc_hidden_proto.
5180 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
5181 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
5182 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
5183 getrlimit64.
5184 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
5185 __getrlimit64.
5186 [!getrlimit64] (getrlimit64): Define as weak alias of
5187 __getrlimit64. Use libc_hidden_weak.
5188 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
5189 using __getrlimit64 not __new_getrlimit64.
5190 (__GI_getrlimit64): Likewise.
5191 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
5192 Likewise.
5193 (__GI_getrlimit64): Likewise.
5194 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
5195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
5196 (getrlimit): Add __getrlimit64 alias.
5197 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
5198 Likewise.
5199 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
5200 Remove variable.
5201 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5202 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5203
5204 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5205
5206 * libio/fileops.c: Add missing sys/mman.h
5207 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
5208
5209 2015-02-17 Joseph Myers <joseph@codesourcery.com>
5210
5211 * manual/math.texi (Errors in Math Functions): Clarify goals
5212 regarding inexact and underflow exceptions.
5213
5214 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
5215
5216 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
5217 * sysdeps/mips/memset.S: Ditto.
5218
5219 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
5220
5221 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
5222
5223 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
5224
5225 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
5226 (__v1longjmp): Remove versioned symbol.
5227 (__v1siglongjmp): Remove alias and versioned symbol.
5228 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
5229 (__v2siglongjmp): Likewise.
5230
5231 2015-02-16 Torvald Riegel <triegel@redhat.com>
5232
5233 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
5234
5235 2015-02-16 Mike Frysinger <vapier@gentoo.org>
5236
5237 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
5238
5239 2015-02-16 Joseph Myers <joseph@codesourcery.com>
5240
5241 [BZ #17987]
5242 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
5243 zero result does not depend on the sign resulting from
5244 subtraction.
5245 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5246 Likewise.
5247 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5248 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5249 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5250 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5251 * math/libm-test.inc (remquo_test_data): Add more tests.
5252
5253 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
5254
5255 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
5256 Problem reported by J William Piggott.
5257
5258 2015-02-16 Joseph Myers <joseph@codesourcery.com>
5259
5260 [BZ #17978]
5261 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
5262 products 4 * y and 2 * y where those would overflow.
5263 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5264 Likewise.
5265 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5266 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5267 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5268 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5269 * math/libm-test.inc (remquo_test_data): Add more tests.
5270
5271 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
5272
5273 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
5274 [defined _COMPILING_NEWLIB].
5275 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
5276 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
5277
5278 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
5279 [!defined __mips_isa_rev || __mips_isa_rev < 6].
5280
5281 2015-02-16 Torvald Riegel <triegel@redhat.com>
5282
5283 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
5284 acquired.
5285
5286 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
5287
5288 [BZ #17792]
5289 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
5290 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
5291 HOST_STACK_END_ADDR): Likewise.
5292
5293 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
5294
5295 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
5296 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
5297 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
5298
5299 2015-02-13 Roland McGrath <roland@hack.frob.com>
5300
5301 * sysdeps/generic/c++-types.data: New file.
5302 * sysdeps/generic/ld.abilist: New file.
5303 * sysdeps/generic/libBrokenLocale.abilist: New file.
5304 * sysdeps/generic/libanl.abilist: New file.
5305 * sysdeps/generic/libc.abilist: New file.
5306 * sysdeps/generic/libcrypt.abilist: New file.
5307 * sysdeps/generic/libdl.abilist: New file.
5308 * sysdeps/generic/libm.abilist: New file.
5309 * sysdeps/generic/libpthread.abilist: New file.
5310 * sysdeps/generic/libresolv.abilist: New file.
5311 * sysdeps/generic/librt.abilist: New file.
5312
5313 2015-02-13 Joseph Myers <joseph@codesourcery.com>
5314
5315 [BZ #17569]
5316 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5317 Compute absolute value of x as modified by fmod, not original
5318 value of x.
5319 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
5320 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
5321 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
5322 RUN_TEST_ffI_f1_mod8.
5323 (remquo_test_data): Add more tests.
5324
5325 2015-02-13 Roland McGrath <roland@hack.frob.com>
5326
5327 * sysdeps/init_array/pt-crti.S: New file.
5328
5329 2015-02-13 Joseph Myers <joseph@codesourcery.com>
5330
5331 [BZ #17967]
5332 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
5333 __builtin_fmaf instead of relying on contraction of a * b + c.
5334
5335 2015-02-12 J William Piggott <elseifthen@gmx.com>
5336
5337 [BZ #17969]
5338 * manual/time.texi: correct the zoneinfo path in the TZ Variable
5339 node.
5340
5341 2015-02-12 Joseph Myers <joseph@codesourcery.com>
5342
5343 [BZ #17964]
5344 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
5345 __builtin_fma instead of relying on contraction of a * b + c.
5346
5347 2015-02-12 Roland McGrath <roland@hack.frob.com>
5348
5349 * Makeconfig (ASFLAGS): Add -Werror=undef.
5350 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
5351 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
5352 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
5353
5354 * Makeconfig (after-link): New variable.
5355 (+link-pie, +link-pie-tests): Use it.
5356 (+link-static, +link-static-tests): Likewise.
5357 (+link, +link-tests): Likewise.
5358 * Makerules (build-module, build-module-asneeded): Likewise.
5359 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
5360 Likewise.
5361 * elf/Makefile ($(objpfx)ld.so): Likewise.
5362
5363 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
5364
5365 [BZ #17965]
5366 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
5367 both struct timeval and struct timespec.
5368
5369 2015-02-12 Joseph Myers <joseph@codesourcery.com>
5370
5371 [BZ #16560]
5372 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5373 and redefine.
5374 (__ieee754_exp2l): Do not multiply small fractional parts by
5375 M_LN2l.
5376 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
5377 small argument.
5378 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5379 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5380 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
5381 * math/auto-libm-test-in: Add more tests of exp2.
5382 * math/auto-libm-test-out: Regenerated.
5383
5384 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5385
5386 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
5387 unaligned path.
5388
5389 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5390
5391 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
5392 little endian.
5393
5394 2015-02-12 Andreas Schwab <schwab@suse.de>
5395
5396 [BZ #15790]
5397 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5398 Filter out elision flags from value returned in kind.
5399 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
5400 * nptl/tst-pthread-mutexattr.c: New file.
5401
5402 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
5403
5404 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
5405 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
5406 into gnu-gnu, and update comment to refer to abi-tags.
5407
5408 2015-02-11 Joseph Myers <joseph@codesourcery.com>
5409
5410 [BZ #15467]
5411 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
5412 (__sincos): Set errno to EDOM for infinite argument.
5413 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
5414 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
5415 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
5416 (__sincosl): Set errno to EDOM for infinite argument.
5417 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
5418 (__sincosl): Set errno to EDOM for infinite argument.
5419 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
5420 (__sincosl): Set errno to EDOM for infinite argument.
5421 * math/libm-test.inc (sincos_test_data): Test errno setting.
5422
5423 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
5424
5425 * string/strxfrm_l.c: Remove #define STRCMP.
5426 * string/strcoll_l.c: Remove #define STRLEN.
5427 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
5428 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
5429
5430 2015-02-10 Joseph Myers <joseph@codesourcery.com>
5431
5432 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
5433 * sysdeps/mips/mips32/sfp-machine.h: ... here.
5434 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
5435 * sysdeps/mips/mips64/Makefile: ... here.
5436 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
5437 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
5438 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
5439 * sysdeps/mips/mips64/sfp-machine.h: ... here.
5440 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
5441 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
5442 * sysdeps/mips/mips64/n64/Implies: Likewise.
5443
5444 2015-02-10 Roland McGrath <roland@hack.frob.com>
5445
5446 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
5447 <sys/time.h>, <string.h>, and <errno.h>.
5448 (dest_offset, dest_address, value, zero): Remove unused variables.
5449 (ldouble): Remove typedef.
5450 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
5451 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
5452 1). Fix code style.
5453 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
5454 (check): Function removed.
5455 (CHECK): New macro.
5456 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
5457 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
5458 Don't call set_sigaction_FP and remove_sigaction_FP here.
5459 (ldouble_test): Just use 'long double' as macro argument, no need for
5460 the 'ldouble' typedef.
5461 (do_test): Set up SIGFPE handler at start, using plain signal rather
5462 than sigaction. Fix code style.
5463
5464 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
5465
5466 [BZ #17949]
5467 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
5468 jump label.
5469
5470 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5471
5472 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
5473 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5474
5475 * sysdeps/powerpc/configure.ac: Remove file.
5476 * sysdeps/powerpc/configure: Likewise.
5477
5478 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5479 [sysdep_routines]: Remove wordcopy-power6 object.
5480 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5481 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
5482 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
5483 (__memmove_ppc32): Likewise.
5484 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
5485 file.
5486 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
5487 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
5488 Remove preprocessor.
5489
5490 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5491 [sysdep_routines]: Remove wide chars objects.
5492 [wcsmbs]: New rule for wide char objects.
5493
5494 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5495 Remove wordcopy-power6 obejct.
5496 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
5497 Use local call for wordcopy and memcpy symbols.
5498 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
5499 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
5500 implementation for loader.
5501 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
5502
5503 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5504 Remove wordcopy-power7 object.
5505 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
5506 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
5507 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
5508 (_wordcopy_fwd_dest_aligned): Likewise.
5509 (_wordcopy_bwd_aligned): Likewise.
5510 (_wordcopy_bwd_dest_aligned): Likewise.
5511
5512 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
5513 Rewrite to call __memmove_ppc instead of include default
5514 implementation.
5515
5516 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5517 Remove wide chars objects.
5518 [wcsmbs]: New rule for wide char objects.
5519
5520 2015-02-09 Andreas Schwab <schwab@suse.de>
5521
5522 [BZ #17912]
5523 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5524 in terms of __O_DIRECTORY.
5525
5526 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
5527
5528 * time/getdate.c: Include <stdbool.h>.
5529 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
5530 call PTR_MANGLE.
5531 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
5532 PTR_DEMANGLE.
5533
5534 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
5535
5536 Add ersatz _Static_assert on older C hosts
5537 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
5538 pre-C11 C platform that is not known to support _Static_assert.
5539
5540 2015-02-07 Richard Braun <rbraun@sceen.net>
5541
5542 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
5543 sigstate.
5544 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
5545
5546 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
5547
5548 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
5549 priority against unexistent AIO_PRIO_DELTA_MAX.
5550 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
5551 instead of int.
5552 * misc/fchflags.c (fchflags): Likewise.
5553 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
5554 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
5555 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
5556 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
5557 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
5558 Declare macros.
5559 [__USE_MISC] (chflags, fchflags): Declare functions.
5560 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
5561 EINVAL when nfds is greater than FD_SETSIZE.
5562 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
5563 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
5564 45.
5565 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
5566 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
5567 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
5568 MACH_RCV_TIMED_OUT.
5569 * hurd/hurd/signal.h (_hurd_self_sigstate,
5570 _hurd_critical_section_lock, _hurd_critical_section_unlock):
5571 Explicit casts from void *.
5572 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
5573 * abi-tags: Rename gnu-gnu os into gnu.
5574
5575 [BZ #4719]
5576 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
5577 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
5578 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
5579 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
5580 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
5581 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
5582
5583 [BZ #17944]
5584 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
5585 duplicates ADDR->sun_path with sockaddr LEN limitation.
5586 * sysdeps/mach/hurd/connect.c: Include <string.h>
5587 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
5588 * sysdeps/mach/hurd/sendmsg.c: Likewise.
5589 * sysdeps/mach/hurd/sendto.c: Likewise.
5590 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
5591 implementing it by hand.
5592
5593 2015-02-06 Roland McGrath <roland@hack.frob.com>
5594
5595 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
5596 Use sfi_breg on ldr.
5597 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
5598 Likewise.
5599
5600 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
5601 it's defined.
5602 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
5603 Test SIGSETXID only if it's defined.
5604
5605 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
5606
5607 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
5608 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
5609
5610 * nptl/tst-align2.c: Moved ...
5611 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
5612 * nptl/Makefile (tests): Remove tst-align2.
5613 * sysdeps/unix/sysv/linux/Makefile
5614 [$(subdir) = nptl] (tests): Add tst-align-clone.
5615 * nptl/tst-getpid1.c: Moved ...
5616 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
5617 * nptl/tst-getpid2.c: Moved ...
5618 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
5619 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
5620 * sysdeps/unix/sysv/linux/Makefile
5621 [$(subdir) = nptl] (tests): ... here.
5622 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
5623 * sysdeps/unix/sysv/linux/Makefile
5624 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
5625
5626 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
5627 Drop trailing \n from perror argument. Use return rather than exit.
5628
5629 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
5630 on [SA_SIGINFO].
5631 * nptl/tst-cancel21.c (do_test): Likewise.
5632 * debug/tst-backtrace6.c: Include <signal.h> first thing.
5633 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
5634 [!SA_SIGINFO]: Make it a stub test.
5635
5636 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
5637 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
5638
5639 * posix/tst-getlogin.c: Move to ...
5640 * login/tst-getlogin.c: ... here.
5641 * posix/Makefile (tests): Move tst-getlogin to ...
5642 * login/Makefile (tests): ... here.
5643
5644 * libio/tst-atime.c (do_test): Move local variables SV and E
5645 inside [ST_NOATIME] conditional.
5646
5647 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
5648
5649 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
5650
5651 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
5652 (wait_code): New function replaces macro.
5653 Call nanosleep rather than syscall.
5654
5655 * nptl/pt-system.c: Rewritten. Put everything under
5656 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5657 Use IFUNC to redirect when possible.
5658
5659 * nptl/pt-longjmp.c: Rewritten. Put everything under
5660 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5661 Use IFUNC to redirect when possible.
5662
5663 * nptl/pt-fork.c: Rewritten. Put everything under
5664 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5665 Use IFUNC to redirect when possible.
5666 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
5667
5668 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
5669 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
5670 unconditionally nowadays. This included the only reference to
5671 __vdso_clock_gettime that appears outside libc proper.
5672 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
5673 Remove version set (containing only __vdso_clock_gettime).
5674 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
5675 Add attribute_hidden.
5676 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
5677 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
5678 libc_hidden_data_def.
5679 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5680 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5681
5682 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
5683 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
5684 setrpcent, and getrpcport to ...
5685 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
5686 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
5687 getrpcbynumber_r, and getrpcent_r to ...
5688 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
5689 * inet/getrpcbyname.c: Moved ...
5690 * sunrpc/getrpcbyname.c: ... here.
5691 * inet/getrpcbyname_r.c: Moved ...
5692 * sunrpc/getrpcbyname_r.c: ... here.
5693 * inet/getrpcbynumber.c: Moved ...
5694 * sunrpc/getrpcbynumber.c: ... here.
5695 * inet/getrpcbynumber_r.c: Moved ...
5696 * sunrpc/getrpcbynumber_r.c: ... here.
5697 * inet/getrpcent.c: Moved ...
5698 * sunrpc/getrpcent.c: ... here.
5699 * inet/getrpcent_r.c: Moved ...
5700 * sunrpc/getrpcent_r.c: ... here.
5701 * inet/Makefile (routines): Move those to ...
5702 * sunrpc/Makefile (routines): ... here.
5703 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
5704 the $(subdirs) list.
5705 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
5706 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
5707 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
5708 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
5709
5710 * elf/Makefile (routines): Include $(all-dl-routines), not just
5711 $(dl-routines).
5712 (rtld-routines): Likewise. Use = rather than :=.
5713 * sysdeps/aarch64/Makefile [$(subdir) = elf]
5714 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
5715 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
5716 * sysdeps/arm/Makefile: Likewise.
5717 * sysdeps/i386/Makefile: Likewise.
5718 * sysdeps/x86_64/Makefile: Likewise.
5719 * sysdeps/hppa/Makefile [$(subdir) = elf]
5720 (sysdep_routines, sysdep-rtld-routines): Don't add
5721 $(sysdep-dl-routines) to these.
5722 * sysdeps/ia64/Makefile: Likewise.
5723 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
5724 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
5725 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
5726 Don't add dl-static to these; sysdep-dl-routines alone is enough.
5727 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
5728 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
5729 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
5730 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
5731 * sysdeps/powerpc/Makefile [$(subdir) = elf]
5732 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
5733 these; sysdep-dl-routines alone is enough.
5734
5735 2015-02-06 Joseph Myers <joseph@codesourcery.com>
5736
5737 [BZ #17932]
5738 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
5739 where multiplication results in zero and third argument is finite
5740 and nonzero.
5741 * math/auto-libm-test-in: Add more tests of fma.
5742 * math/auto-libm-test-out: Regenerated.
5743
5744 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
5745 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
5746 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
5747 (_FP_CMP_EQ): Likewise.
5748 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
5749
5750 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
5751 extra argument CHECK_NAN. Redefine as wrapper around
5752 _FP_EXTEND_CNAN.
5753
5754 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
5755
5756 * version.h (RELEASE): Set to "stable".
5757 (VERSION): Set to "2.21"
5758 * include/features.h (__GLIBC_MINOR__): Set to 21.
5759
5760 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
5761
5762 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5763 Paul Eggert <eggert@cs.ucla.edu>
5764
5765 [BZ #16618]
5766 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
5767 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
5768 size in bytes. Store needed elements in wpmax. Use needed size
5769 in bytes for extend_alloca.
5770
5771 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
5772
5773 * manual/install.texi: Latest tested versions are GCC 4.9.2,
5774 binutls 2.25, and texinfo 5.2.
5775 * INSTALL: Regenerate.
5776 * sysdeps/nios2/configure: Regenerate.
5777 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
5778 * manual/contrib.texi: Update.
5779 * po/be.po: Update.
5780 * po/bg.po: Update.
5781 * po/ca.po: Update.
5782 * po/cs.po: Update.
5783 * po/da.po: Update.
5784 * po/de.po: Update.
5785 * po/el.po: Update.
5786 * po/eo.po: Update.
5787 * po/es.po: Update.
5788 * po/fi.po: Update.
5789 * po/fr.po: Update.
5790 * po/gl.po: Update.
5791 * po/hr.po: Update.
5792 * po/hu.po: Update.
5793 * po/ia.po: Update.
5794 * po/id.po: Update.
5795 * po/it.po: Update.
5796 * po/ja.po: Update.
5797 * po/ko.po: Update.
5798 * po/lt.po: Update.
5799 * po/nb.po: Update.
5800 * po/nl.po: Update.
5801 * po/pl.po: Update.
5802 * po/pt_BR.po: Update.
5803 * po/ru.po: Update.
5804 * po/rw.po: Update.
5805 * po/sk.po: Update.
5806 * po/sl.po: Update.
5807 * po/sv.po: Update.
5808 * po/tr.po: Update.
5809 * po/uk.po: Update.
5810 * po/vi.po: Update.
5811 * po/zh_CN.po: Update.
5812 * po/zh_TW.po: Update.
5813
5814 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
5815 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
5816 * sysdeps/hppa/dl-irel.h: Remove #warning.
5817 * sysdeps/hppa/entry.h: Provide prototype for
5818 __canonicalize_funcptr_for_compare and cast argument.
5819 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
5820 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
5821 * sysdeps/hppa/sotruss-lib.c: New file.
5822 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
5823 (atomic_compare_and_exchange_val_acq): Use __typeof__.
5824 (atomic_compare_and_exchange_bool_acq): Likewise.
5825 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
5826 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
5827
5828 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
5829 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
5830 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
5831
5832 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
5833
5834 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
5835 called function in non-PIC case.
5836
5837 2015-01-31 David S. Miller <davem@davemloft.net>
5838
5839 * sysdeps/sparc/sparc32/bits/atomic.h
5840 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
5841 unlock not after it.
5842 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
5843 volatile register usage warnings from the compiler.
5844
5845 * sysdeps/sparc/nptl/sem_init.c: Delete.
5846 * sysdeps/sparc/nptl/sem_post.c: Delete.
5847 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
5848 * sysdeps/sparc/nptl/sem_wait.c: Delete.
5849 * sysdeps/sparc/sparc32/sem_init.c: New file.
5850 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
5851 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
5852 padding explicitly initialized.
5853 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
5854 padding for in-semaphore spinlock.
5855 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
5856 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
5857 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
5858 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
5859 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
5860 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
5861 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
5862 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
5863 version.
5864 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
5865 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
5866
5867 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
5868
5869 [BZ #17801]
5870 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5871 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
5872 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
5873 New.
5874 (index_AVX_Fast_Unaligned_Load): Likewise.
5875 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
5876 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
5877 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
5878 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
5879 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
5880 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
5881 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
5882 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
5883 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
5884
5885 2015-01-29 Andreas Schwab <schwab@suse.de>
5886
5887 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
5888
5889 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5890
5891 [BZ #17892]
5892 * nscd/nscd_stat.c (send_stats): Initialize DATA.
5893
5894 2015-01-28 Martin Sebor <msebor@redhat.com>
5895
5896 * math/README.libm-test: Clarify. Add "How to read the test output."
5897
5898 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
5899
5900 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
5901 Define to 0.
5902
5903 2015-01-28 Joseph Myers <joseph@codesourcery.com>
5904
5905 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
5906 (__HAVE_64B_ATOMICS): Define to 0.
5907
5908 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5909
5910 [BZ #17885]
5911 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
5912 value to set as new flag.
5913
5914 [BZ #16576]
5915 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
5916 and use _ARCH_PPCSQ instead.
5917 (__ieee754_sqrt): Likewise.
5918 (__ieee754_sqrtf): Likewise.
5919 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
5920 _ARCH_PPCSQ is defined.
5921 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
5922 fsqrt instruction.
5923 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
5924 _ARCH_PPCSQ is defined.
5925 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
5926 fsqrts instruction.
5927 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
5928
5929 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5930
5931 * iconv/loop.c: Suppress array out of bound warning caused by GCC
5932 bug (GCC BZ #64739).
5933
5934 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
5935
5936 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
5937 Mark _retval as used.
5938 (lll_futex_wake_unlock): Likewise.
5939 (lll_futex_timed_wait_requeue_pi): Likewise.
5940
5941 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5942 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
5943 register variables.
5944
5945 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
5946 libm_hidden_def.
5947
5948 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
5949 (__bswap_64): Mark as __always_inline.
5950
5951 2015-01-25 Bram <bug_rh@spam.wizbit.be>
5952
5953 [BZ #15378]
5954 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
5955 when none of the search directories exist.
5956
5957 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5958
5959 [BZ #17869]
5960 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
5961 power8 in .machine directive.
5962
5963 [BZ #17868]
5964 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
5965 set dependency from opd value.
5966
5967 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
5968
5969 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5970 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
5971 architecture.
5972
5973 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
5974
5975 [BZ #17870]
5976 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
5977 with uint64_t.
5978 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
5979 (uint64_t) 1.
5980 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
5981 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
5982 Replace 1UL with (uint64_t) 1.
5983 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
5984 int with uint64_t.
5985
5986 2015-01-23 Roland McGrath <roland@hack.frob.com>
5987
5988 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
5989 (if_freenameindex): Likewise.
5990
5991 * resource/getrlimit64.c: Add missing libc_hidden_def.
5992
5993 2015-01-22 Joseph Myers <joseph@codesourcery.com>
5994
5995 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
5996 __label__.
5997 (_FP_FMA): Likewise.
5998 (_FP_TO_INT_ROUND): Likewise.
5999 (_FP_FROM_INT): Likewise.
6000
6001 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6002
6003 [BZ #16418]
6004 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
6005 Make code racy and cancel safe.
6006
6007 2015-01-21 Carlos O'Donell <carlos@redhat.com>
6008
6009 * sysdeps/arm/unwind-resume.h: Fix copyright year.
6010 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
6011 attribution.
6012
6013 * pwd/tst-getpw.c: Rewrite.
6014
6015 [BZ #17702]
6016 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
6017 (modules-names): Add moddummy1 and moddummy2.
6018 ($(objpfx)tst-rec-dlopen): Define.
6019 * dlfcn/moddummy1.c: New file.
6020 * dlfcn/moddummy2.c: New file.
6021 * dlfcn/tst-rec-dlopen.c: New file.
6022 * elf/dl-cache.c (_dl_load_cache_lookup):
6023 Return char*. Copy result with alloca/strcpy/strdup.
6024 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
6025 returns char*. Free cached. If not saving realname
6026 free cached.
6027 * elf/dl-open.c (dl_open_worker): Do not assert that
6028 _r_debug->r_state is RT_CONSISTENT.
6029 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
6030 returns char*.
6031
6032 2015-01-21 Torvald Riegel <triegel@redhat.com>
6033 Carlos O'Donell <carlos@redhat.com>
6034
6035 [BZ #12674]
6036 * nptl/sem_waitcommon.c: New file.
6037 * nptl/sem_wait.c: Include sem_waitcommon.c.
6038 (__sem_wait_cleanup, do_futex_wait): Remove.
6039 (__new_sem_wait): Adapt.
6040 (__new_sem_trywait): New function.
6041 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
6042 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
6043 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
6044 (sem_timedwait): Adapt.
6045 * nptl/sem_post.c (__new_sem_post): Adapt.
6046 (futex_wake): New function.
6047 (__old_sem_post): Add release MO fence.
6048 * nptl/sem_open.c (sem_open): Adapt.
6049 * nptl/sem_init.c (__new_sem_init): Adapt.
6050 (futex_private_if_supported): New function.
6051 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
6052 (__old_sem_getvalue): Add using previous code.
6053 * sysdeps/nptl/internaltypes.h: Adapt.
6054 * nptl/tst-sem13.c (do_test): Adapt.
6055 * nptl/tst-sem11.c (main): Adapt.
6056 * nptl/sem_trywait.c: Remove.
6057 * nptl/DESIGN-sem.txt: Remove.
6058 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
6059 (gen-as-const-headers): Remove structsem.sym.
6060 * nptl/structsem.sym: Remove.
6061 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
6062 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
6063 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
6064 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
6065 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
6066 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
6067 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
6068 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
6069 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
6070 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
6071 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
6072 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
6073 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
6074 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
6075 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
6076 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
6077 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
6078 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
6079 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
6080 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
6081 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
6082 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
6083
6084 2015-01-20 Carlos O'Donell <carlos@redhat.com>
6085
6086 * INSTALL: Regenerated.
6087
6088 * po/libc.pot: Regenerated.
6089
6090 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
6091 Sandra Loosemore <sandra@codesourcery.com>
6092 Andrew Jenner <andrew@codesourcery.com>
6093 Joseph Myers <joseph@codesourcery.com>
6094 Nathan Sidwell <nathan@codesourcery.com>
6095
6096 * NEWS: Mention new Nios II port.
6097 * sysdeps/nios2/Implies: New file.
6098 * sysdeps/nios2/Makefile: New file.
6099 * sysdeps/nios2/Subdirs: New file.
6100 * sysdeps/nios2/Versions: New file.
6101 * sysdeps/nios2/__longjmp.S: New file.
6102 * sysdeps/nios2/abort-instr.h: New file.
6103 * sysdeps/nios2/backtrace.c: New file.
6104 * sysdeps/nios2/bits/endian.h: New file.
6105 * sysdeps/nios2/bits/fenv.h: New file.
6106 * sysdeps/nios2/bits/link.h: New file.
6107 * sysdeps/nios2/bits/setjmp.h: New file.
6108 * sysdeps/nios2/bsd-_setjmp.S: New file.
6109 * sysdeps/nios2/bsd-setjmp.S: New file.
6110 * sysdeps/nios2/configure: New generated file.
6111 * sysdeps/nios2/configure.ac: New file.
6112 * sysdeps/nios2/crti.S: New file.
6113 * sysdeps/nios2/crtn.S: New file.
6114 * sysdeps/nios2/dl-init.c: New file.
6115 * sysdeps/nios2/dl-machine.h: New file.
6116 * sysdeps/nios2/dl-sysdep.h: New file.
6117 * sysdeps/nios2/dl-tls.h: New file.
6118 * sysdeps/nios2/dl-trampoline.S: New file.
6119 * sysdeps/nios2/gccframe.h: New file.
6120 * sysdeps/nios2/gmp-mparam.h: New file.
6121 * sysdeps/nios2/jmpbuf-offsets.h: New file.
6122 * sysdeps/nios2/jmpbuf-unwind.h: New file.
6123 * sysdeps/nios2/ldsodefs.h: New file.
6124 * sysdeps/nios2/libc-tls.c: New file.
6125 * sysdeps/nios2/libm-test-ulps: New file.
6126 * sysdeps/nios2/machine-gmon.h: New file.
6127 * sysdeps/nios2/math-tests.h: New file.
6128 * sysdeps/nios2/math_private.h: New file.
6129 * sysdeps/nios2/memusage.h: New file.
6130 * sysdeps/nios2/nptl/Makefile: New file.
6131 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
6132 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
6133 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
6134 * sysdeps/nios2/nptl/pthreaddef.h: New file.
6135 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
6136 * sysdeps/nios2/nptl/tls.h: New file.
6137 * sysdeps/nios2/preconfigure: New file.
6138 * sysdeps/nios2/s_fma.c: New file.
6139 * sysdeps/nios2/s_fmaf.c: New file.
6140 * sysdeps/nios2/setjmp.S: New file.
6141 * sysdeps/nios2/sfp-machine.h: New file.
6142 * sysdeps/nios2/sotruss-lib.c: New file.
6143 * sysdeps/nios2/stackguard-macros.h: New file.
6144 * sysdeps/nios2/stackinfo.h: New file.
6145 * sysdeps/nios2/start.S: New file.
6146 * sysdeps/nios2/sysdep.h: New file.
6147 * sysdeps/nios2/tls-macros.h: New file.
6148 * sysdeps/nios2/tst-audit.h: New file.
6149 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
6150 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
6151 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
6152 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
6153 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
6154 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
6155 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
6156 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
6157 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
6158 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
6159 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
6160 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
6161 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
6162 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
6163 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
6164 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
6165 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
6166 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
6167 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
6168 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
6169 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
6170 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
6171 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
6172 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
6173 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
6174 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
6175 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
6176 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
6177 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
6178 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
6179 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
6180 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
6181 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
6182 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
6183 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
6184 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
6185 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
6186 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
6187 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
6188 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
6189 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
6190 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
6191 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
6192 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
6193
6194 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6195
6196 [BZ #17844]
6197 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
6198 (getutent): Use weak_alias in non SHARED case
6199 and default_symbol_version in SHARED case.
6200 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
6201 (getutent_r, pututline): Likewise.
6202 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
6203 (getutid): Likewise.
6204 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
6205 (getutid_r): Likewise.
6206 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
6207 (getutline): Likewise.
6208 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
6209 (getutline_r): Likewise.
6210 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
6211 (updwtmp): Likewise.
6212
6213 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6214
6215 [BZ #17848]
6216 * sysdeps/s390/s390-32/memcmp.S
6217 (memcmp_g5): Rename to __memcmp_g5.
6218 * sysdeps/s390/s390-32/memcpy.S
6219 (memcpy_g5): Rename to __memcpy_g5.
6220 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6221 (memcpy_mvcle) Rename to __memcpy_mvcle.
6222 * sysdeps/s390/s390-32/memset.S
6223 (memset_g5): Rename to __memset_g5.
6224 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6225 (IFUNC_RESOLVE): Prefix ifunc-resolve function
6226 and use prefixed functions.
6227 * sysdeps/s390/s390-32/multiarch/memcmp.S
6228 (memcmp_z196): Rename to __memcmp_z196.
6229 (memcmp_z10): Rename to __memcmp_z10.
6230 (memcmp): Set alias to __memcmp_g5.
6231 (bcmp): Set alias to __memcmp_g5.
6232 * sysdeps/s390/s390-32/multiarch/memcpy.S
6233 (memcpy_z196): Rename to __memcpy_z196.
6234 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6235 (memcpy_z10): Rename to __memcpy_z10.
6236 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6237 (memcpy): Set alias to __memcpy_g5.
6238 * sysdeps/s390/s390-32/multiarch/memset.S
6239 (memset_z196): Rename to __memset_z196.
6240 Jump to __memset_mvcle instead of memset_mvcle.
6241 (memset_z10): Rename to __memset_z10.
6242 Jump to __memset_mvcle instead of memset_mvcle.
6243 (memset_mvcle) Rename to __memset_mvcle.
6244 (memset): Set alias to __memset_g5.
6245 * sysdeps/s390/s390-64/memcmp.S
6246 (memcmp_z900): Rename to __memcmp_z900.
6247 * sysdeps/s390/s390-64/memcpy.S
6248 (memcpy_z900): Rename to __memcpy_z900.
6249 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6250 (memcpy_mvcle) Rename to __memcpy_mvcle.
6251 * sysdeps/s390/s390-64/memset.S
6252 (memset_z900): Rename to __memset_z900.
6253 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
6254 (IFUNC_RESOLVE): Prefix ifunc-resolve function
6255 and use prefixed functions.
6256 * sysdeps/s390/s390-64/multiarch/memcmp.S
6257 (memcmp_z196): Rename to __memcmp_z196.
6258 (memcmp_z10): Rename to __memcmp_z10.
6259 (memcmp): Set alias to __memcmp_z900.
6260 (bcmp): Set alias to __memcmp_z900.
6261 * sysdeps/s390/s390-64/multiarch/memcpy.S
6262 (memcpy_z196): Rename to __memcpy_z196.
6263 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6264 (memcpy_z10): Rename to __memcpy_z10.
6265 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6266 (memcpy): Set alias to __memcpy_z900.
6267 * sysdeps/s390/s390-64/multiarch/memset.S
6268 (memset_z196): Rename to __memset_z196.
6269 Jump to __memset_mvcle instead of memset_mvcle.
6270 (memset_z10): Rename to __memset_z10.
6271 Jump to __memset_mvcle instead of memset_mvcle.
6272 (memset_mvcle) Rename to __memset_mvcle.
6273 (memset): Set alias to __memset_z900.
6274
6275 2015-01-14 Joseph Myers <joseph@codesourcery.com>
6276
6277 [BZ #17748]
6278 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
6279 __fesetenv instead of fesetenv.
6280
6281 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6282
6283 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
6284 macro.
6285
6286 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6287
6288 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
6289 regression on LE.
6290
6291 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
6292 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
6293 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6294 strncmp-power8 object.
6295 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6296 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
6297 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
6298 * NEWS: Update.
6299
6300 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6301 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6302
6303 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
6304 trailing byte check.
6305
6306 2015-01-13 David S. Miller <davem@davemloft.net>
6307
6308 * include/signal.h (__sigreturn): Guard with __USE_MISC.
6309
6310 2015-01-13 Roland McGrath <roland@hack.frob.com>
6311
6312 * login/logout.c (logout): Use memset rather than bzero.
6313 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
6314 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
6315 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
6316 (_gethtbyaddr): Likewise.
6317 * locale/programs/simple-hash.c (bcopy): Macro removed.
6318
6319 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6320
6321 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6322 Add strcmp-power8 object.
6323 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6324 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
6325 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
6326 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
6327 __strcmp_power8 implementation.
6328 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
6329 * NEWS: Update.
6330
6331 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6332 Add strncpy-power8 and stpncpy-power8 objects.
6333 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6334 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
6335 implementations.
6336 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
6337 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
6338 __stpncpy_power8 implementation.
6339 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
6340 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
6341 __strncpy_power8 implementation.
6342 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
6343 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
6344 * NEWS: Update.
6345
6346 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
6347 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
6348 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
6349
6350 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6351 strncat-power8 object.
6352 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
6353 __strcat_power8 implementation.
6354 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6355 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
6356 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
6357 optimized strcat for power8.
6358
6359 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6360 strcpy-power8 and stpcpy-power8 objects.
6361 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6362 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
6363 implementations.
6364 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
6365 multiarch stpcpy implementation for POWER8.
6366 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
6367 multiarch strcpy implementation for POWER8.
6368 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
6369 __strcpy_power8 function.
6370 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
6371 stpcpy for POWER8.
6372 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
6373 strcpy for POWER8.
6374 * NEWS: Update.
6375
6376 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
6377
6378 [BZ #16009]
6379 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
6380 weights and rules. Use do_xfrm_cached if data fits in cache,
6381 do_xfrm otherwise. Moved former main loop to...
6382 * (do_xfrm_cached): New function.
6383 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
6384 find_idx, find_position and stack_push.
6385 * (find_idx): New function.
6386 * (find_position): Likewise.
6387 * localedata/sort-test.sh: Added test run for do_xfrm.
6388 * localedata/xfrm-test.c (main): Added command line option
6389 -nocache to run the test with strings that are too large for
6390 the STRXFRM cache.
6391
6392 2015-01-13 Torvald Riegel <triegel@redhat.com>
6393
6394 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
6395 variable to lll_futex_wake call, not the value itself.
6396
6397 2015-01-12 Joseph Myers <joseph@codesourcery.com>
6398
6399 [BZ #17803]
6400 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
6401 twom64. Adjust value to 0x1p-64L.
6402 (__scalblnl): Only return standard underflowing result for K <=
6403 -64 not K <= -63; adjust exponent for underflowing result by 64
6404 not 63.
6405 * math/libm-test.inc (scalbn_test_data): Add more tests.
6406 (scalbln_test_data): Likewise.
6407
6408 [BZ #17834]
6409 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
6410 0x1p63L.
6411 (__scalblnl): Get new exponent of adjusted subnormal value from ES
6412 not HX.
6413 * math/libm-test.inc (scalbn_test_data): Add more tests.
6414 (scalbln_test_data): Likewise.
6415
6416 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6417 Stefani Seibold <stefani@seibold.net>
6418
6419 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
6420 (sysdep_routines): Add dl-vdso here, ...
6421 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
6422 (sysdep_routines): ... not here.
6423 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
6424 fallback when vDSO is not presented.
6425 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
6426 Define with libc_hidden_proto/libc_hidden_data_def definitions.
6427 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
6428 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
6429 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
6430 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
6431 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
6432 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
6433 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
6434 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
6435 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
6436 fallback configurable symbol when vDSO is not available.
6437 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
6438 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
6439 be able to redefine fallback symbol when vDSO is not available.
6440 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
6441 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
6442
6443 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6444
6445 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
6446 (TLS_INIT_TP): Add tm_capable initialization.
6447 (TLS_DEFINE_INIT_TP): Likewise.
6448 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
6449 TCB.
6450 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
6451 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
6452 calculation.
6453 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
6454 transactoion is lock elision is built and TCB tm_capable is set.
6455 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
6456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6457 (INTERNAL_SYSCALL_NCS): Likewise.
6458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6459 (INTERNAL_SYSCALL_NCS): Likewise.
6460 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
6461
6462 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
6463 for powerpc.
6464 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6465 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
6466 and remove it for 32 bits case.
6467 [pthread_rwlock_t] (__rwelision): New field for lock elision.
6468 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
6469 initialization.
6470 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
6471 Disable lock elision with rdlocks if elision is not available.
6472
6473 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
6474 (sysdep_routines): Add lock elision objects.
6475 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6476 [pthread_mutex_t] (__spins): Rework to add lock elision field.
6477 [pthread_mutex_t] (__elision): Add field.
6478 [__PTHREAD_SPINS]: Adjust to init lock elision field.
6479 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
6480 elision definitions for powerpc.
6481 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
6482 implementation of lock elision for powerpc.
6483 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
6484 implementation of timed lock elision for powerpc.
6485 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
6486 implementation of trylock with lock elision for powerpc.
6487 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
6488 implementaion of unlock for lock elision for powerpc.
6489 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
6490 automatic enable lock elision for mutexes.
6491 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
6492 transaction execution definitions for powerpc.
6493 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
6494 definitions.
6495 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
6496 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
6497 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
6498 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
6499 * NEWS: Update.
6500
6501 2015-01-09 Roland McGrath <roland@hack.frob.com>
6502
6503 * sysdeps/posix/shm-directory.c: Use <> rather than ""
6504 for #include of <shm-directory.h>.
6505
6506 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
6507
6508 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
6509 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
6510
6511 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
6512
6513 [BZ #17791]
6514 * NEWS: Mention bug fix.
6515 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
6516 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
6517 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
6518
6519 2015-01-09 Torvald Riegel <triegel@redhat.com>
6520
6521 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
6522
6523 2015-01-09 Torvald Riegel <triegel@redhat.com>
6524
6525 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
6526
6527 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
6528
6529 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
6530 pointer and cast to uintptr_t.
6531
6532 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
6533
6534 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
6535 removed.
6536 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
6537
6538 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
6539
6540 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
6541 of 0.
6542
6543 2015-01-08 Roland McGrath <roland@hack.frob.com>
6544
6545 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
6546 <nptl/pthreadP.h> instead.
6547 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
6548
6549 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
6550 already defined.
6551 [__SIGRTMIN] (init): Function removed.
6552 [__SIGRTMIN] (initialized): Variable removed.
6553 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
6554 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
6555 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
6556 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
6557 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
6558 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
6559 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
6560 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
6561 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
6562 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
6563 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
6564 * sysdeps/nptl/allocrtsig.c: New file.
6565 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
6566 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
6567 * sysdeps/generic/testrtsig.h: File removed.
6568
6569 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
6570 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
6571
6572 * nptl/nptl-init.c (pthread_functions): Conditionalize
6573 .ptr__nptl_setxid initialization on [SIGSETXID].
6574
6575 * sysdeps/nptl/sys/procfs.h: New file.
6576 * nptl_db/Makefile (headers): Add it.
6577 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
6578
6579 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
6580 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
6581 * nptl/pthread_attr_setaffinity.c: Include it.
6582 * nptl/pthread_setattr_default_np.c: Likewise.
6583 * nptl/check-cpuset.h: New file.
6584
6585 2015-01-08 Richard Henderson <rth@redhat.com>
6586
6587 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
6588 (CFLAGS-tst-execstack-prog.c): Likewise.
6589 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
6590
6591 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
6592 Sandra Loosemore <sandra@codesourcery.com>
6593 Andrew Jenner <andrew@codesourcery.com>
6594 Joseph Myers <joseph@codesourcery.com>
6595 Nathan Sidwell <nathan@codesourcery.com>
6596
6597 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
6598 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
6599 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
6600 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
6601 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
6602 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
6603 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
6604 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
6605 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
6606 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
6607 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
6608 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
6609 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
6610 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
6611 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
6612 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
6613 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
6614
6615 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6616
6617 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
6618 timespec struct member in syscall macro.
6619 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
6620 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
6621 first timeval struct member in syscall macro.
6622 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
6623
6624 2015-01-07 Joseph Myers <joseph@codesourcery.com>
6625
6626 [BZ #17748]
6627 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
6628 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
6629 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
6630 __feupdateenv and define as weak alias of __feupdateenv. Use
6631 libm_hidden_weak.
6632 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
6633 libm_hidden_def.
6634 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
6635 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
6636 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6637 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
6638 libm_hidden_def.
6639 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
6640 __feupdateenv and define as weak alias of __feupdateenv. Use
6641 libm_hidden_weak.
6642 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
6643 libm_hidden_def.
6644 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
6645 __feupdateenv and define as weak alias of __feupdateenv. Use
6646 libm_hidden_weak.
6647 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
6648 libm_hidden_def.
6649 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6650 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6651 (__feupdateenv): Likewise.
6652 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
6653 __feupdateenv and define as weak alias of __feupdateenv. Use
6654 libm_hidden_weak.
6655 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6656 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
6657 libm_hidden_def.
6658 * sysdeps/tile/math_private.h (__feupdateenv): New inline
6659 function.
6660 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
6661 libm_hidden_def.
6662 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
6663 __feupdateenv instead of feupdateenv.
6664 (default_libc_feupdateenv_test): Likewise.
6665 (libc_feresetround_ctx): Likewise.
6666
6667 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6668
6669 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
6670 prototype.
6671
6672 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
6673
6674 * posix/regcomp.c (parse_bracket_exp): Initialize type to
6675 COLL_SYM in a couple of places to avoid uninitialized variable
6676 wanings on tilegx gcc 4.8.2.
6677
6678 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
6679
6680 * sysdeps/aarch64/strcpy.S: New file.
6681 * sysdeps/aarch64/stpcpy.S: New file.
6682 * NEWS: Updated.
6683
6684 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
6685
6686 * sysdeps/aarch64/strrchr.S: New file.
6687 * NEWS: Updated.
6688
6689 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
6690
6691 [BZ #17658]
6692 * stdlib/setenv.c: Fix memory leak when setting large,
6693 duplicate string.
6694
6695 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
6696
6697 [BZ #17273]
6698 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
6699 and tabs from buffer before parsing fstab entry.
6700 * misc/tst-mntent.c (main): Add test for mount entry with
6701 trailing spaces and tabs.
6702
6703 2015-01-06 Joseph Myers <joseph@codesourcery.com>
6704
6705 [BZ #17748]
6706 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
6707 * math/fesetround.c (fesetround): Rename to __fesetround and
6708 define as weak alias of __fesetround. Use libm_hidden_weak.
6709 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
6710 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
6711 * sysdeps/arm/fesetround.c (fesetround): Likewise.
6712 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
6713 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
6714 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
6715 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
6716 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
6717 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
6718 __fesetround_inline.
6719 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
6720 __fesetround_inline instead of __fesetround.
6721 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
6722 __fesetround and define as weak alias of __fesetround. Use
6723 libm_hidden_weak. Call __fesetround_inline instead of
6724 __fesetround.
6725 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
6726 __fesetround and define as weak alias of __fesetround. Use
6727 libm_hidden_weak.
6728 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
6729 Likewise.
6730 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
6731 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6732 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
6733 * sysdeps/tile/math_private.h (__fesetround): New inline function.
6734 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
6735 __fesetround and define as weak alias of __fesetround. Use
6736 libm_hidden_weak.
6737 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
6738 __fesetround instead of fesetround.
6739 (default_libc_feholdexcept_setround): Likewise.
6740 (libc_feholdsetround_ctx): Likewise.
6741 (libc_feholdsetround_noex_ctx): Likewise.
6742
6743 [BZ #17748]
6744 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
6745 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
6746 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6747 and define as weak alias of __fesetenv. Use libm_hidden_weak.
6748 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6749 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
6750 define as weak alias of __fesetenv. Use libm_hidden_weak.
6751 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6752 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6753 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6754 define as weak alias of __fesetenv. Use libm_hidden_weak.
6755 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6756 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6757 define as weak alias of __fesetenv. Use libm_hidden_weak.
6758 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
6759 libm_hidden_def.
6760 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
6761 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
6762 Likewise.
6763 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6764 define as weak alias of __fesetenv. Use libm_hidden_weak.
6765 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6766 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6767 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
6768 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6769 and define as weak alias of __fesetenv. Use libm_hidden_weak.
6770 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
6771 __fesetenv instead of fesetenv.
6772 (libc_feresetround_noex_ctx): Likewise.
6773 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6774 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6775 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6776 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6777 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6778 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6779 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6780 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6781 (__feupdateenv): Likewise.
6782 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6783 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6784 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6785 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
6786
6787 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
6788
6789 [BZ #17806]
6790 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
6791 addresses have been freed.
6792
6793 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
6794
6795 * resolv/res_init.c (__res_vinit): Improve comments about nserv
6796 and nservall.
6797
6798 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
6799
6800 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
6801 Clean up check_pf allocation pattern. addresses
6802
6803 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6804
6805 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
6806 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
6807 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
6808 * nptl/pthread_exit.c (__pthread_exit): Likewise.
6809 * nptl/pthread_join.c (pthread_join): Likewise.
6810 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
6811 * sysdeps/posix/waitid.c (__waitid): Likewise.
6812 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
6813 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
6814 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
6815 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
6816 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
6817 Likewise.
6818 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
6819 (__libc_pread64): Likewise.
6820 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
6821 (__libc_pwrite): Likewise.
6822 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
6823 (__libc_pwrite64): Likewsie.
6824 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
6825 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
6826 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
6827 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
6828 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
6829 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
6830 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
6832 Likewise.
6833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6834 (__libc_pread64): Likewise.
6835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
6836 Likewise.
6837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6838 (__libc_pwrite64): Likewise.
6839 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
6840 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6841 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
6842 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
6843 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6844 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6845 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
6846 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
6847 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
6848 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
6849 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
6850 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6851 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
6852 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
6853 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6854 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
6855 Likewise.
6856
6857 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
6858
6859 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
6860 (CFLAGS-test-double.c): Likewise.
6861 (CFLAGS-test-ldouble.c): Likewise.
6862 (CPPFLAGS-test-ifloat.c): Likewise.
6863 (CPPFLAGS-test-idouble.c): Likewise.
6864 (CPPFLAGS-test-ildoubl.c): Likewise.
6865 (CFLAGS-test-test-fenv.c): Remove variable.
6866 (CFLAGS-test-misc.c): Likewise.
6867
6868 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
6869
6870 [BZ #17797]
6871 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
6872 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
6873 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
6874 CLOCKS_PER_SEC == 1000000.
6875 * time/clocktest.c (main): Replace %ld with %jd and cast to
6876 intmax_t.
6877
6878 2015-01-05 Roland McGrath <roland@hack.frob.com>
6879
6880 * sysdeps/generic/unwind-resume.h: New file.
6881 * sysdeps/gnu/unwind-resume.c: Include it.
6882 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
6883 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
6884 argument list.
6885 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
6886 global rather than static.
6887 (_Unwind_Resume): Update user.
6888 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
6889 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
6890 rather than static. Add __attribute__ ((cold)).
6891 (_Unwind_Resume, __gcc_personality_v0): Update callers.
6892 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
6893 * sysdeps/arm/arm-unwind-resume.S: New file.
6894 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
6895 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
6896 * sysdeps/arm/Makefile [$(subdir) = csu]
6897 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
6898 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6899 Add rt-arm-unwind-resume.
6900 [$(subdir) = nptl]
6901 (libpthread-sysdep_routines, libpthread-shared-only-routines):
6902 Add pt-arm-unwind-resume.
6903 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
6904 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
6905
6906 2015-01-05 Joseph Myers <joseph@codesourcery.com>
6907
6908 [BZ #17748]
6909 * include/fenv.h (__feholdexcept): Declare. Use
6910 libm_hidden_proto.
6911 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
6912 define as weak alias of __feholdexcept. Use libm_hidden_weak.
6913 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6914 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
6915 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
6916 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
6917 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
6918 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6919 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
6920 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
6921 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6922 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
6923 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
6924 (feholdexcept): Likewise.
6925 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6926 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6927 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6928 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6929 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
6930 __feholdexcept instead of feholdexcept.
6931 (default_libc_feholdexcept_setround): Likewise.
6932
6933 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
6934
6935 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
6936 to avoid using stl/str to align destination.
6937
6938 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
6939
6940 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
6941
6942 2015-01-05 Joseph Myers <joseph@codesourcery.com>
6943
6944 [BZ #17796]
6945 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
6946 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
6947 Define as weak alias not strong alias.
6948
6949 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
6950
6951 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
6952 bltzal with addiupc.
6953 (RTLD_START): Ditto.
6954
6955 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
6956
6957 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
6958 for __vdso_* functions in declarations.
6959 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
6960 definitions.
6961 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
6962 INTERNAL_VSYSCALL): Use struct return types to check for error.
6963
6964 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
6965 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
6966 function with cast from llround().
6967 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
6968 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
6969 Define.
6970
6971 2015-01-05 Joseph Myers <joseph@codesourcery.com>
6972
6973 [BZ #17793]
6974 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
6975 Define as weak alias not strong alias.
6976
6977 [BZ #17635]
6978 * ctype/ctype-c99.c: New file. isblank implementation moved from
6979 ...
6980 * ctype/ctype-extn.c: ... here.
6981 (__isblank_l): Move to ...
6982 * ctype/ctype-c99_l.c: ... here. New file.
6983 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
6984 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
6985 Remove variable.
6986 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6987 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6988 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
6989 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
6990 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6991
6992 [BZ #17777]
6993 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
6994 (posix_fadvise64): Define as weak alias not strong alias.
6995 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6996 (posix_fallocate64): Likewise.
6997 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
6998 Remove variable.
6999 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
7000 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
7001 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
7002 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
7003 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
7004
7005 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
7006
7007 [BZ #16191]
7008 * NEWS: Mention bug fix.
7009 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
7010 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
7011 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
7012 (HOST_STACK_END_ADDR): Likewise.
7013
7014 2015-01-02 Joseph Myers <joseph@codesourcery.com>
7015
7016 [BZ #17748]
7017 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
7018 * math/fegetround.c (fegetround): Rename to __fegetround and
7019 define as weak alias of __fegetround. Use libm_hidden_weak.
7020 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
7021 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
7022 * sysdeps/arm/fegetround.c (fegetround): Likewise.
7023 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
7024 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7025 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
7026 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
7027 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
7028 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7029 Undefine after rather than before function definition; use
7030 parentheses around function name in definition.
7031 (__fegetround): Also undefine macro after function definition.
7032 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
7033 __fegetround and define as weak alias of __fegetround. Use
7034 libm_hidden_weak. Do not undefine as macro.
7035 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7036 Likewise.
7037 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
7038 __fegetround and define as weak alias of __fegetround. Use
7039 libm_hidden_weak.
7040 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7041 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7042 * sysdeps/tile/math_private.h (__fegetround): New inline function.
7043 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
7044 __fegetround and define as weak alias of __fegetround. Use
7045 libm_hidden_weak.
7046 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
7047 __fegetround instead of fegetround.
7048
7049 [BZ #17782]
7050 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
7051 Condition macro definition on [__USE_MISC].
7052
7053 [BZ #17781]
7054 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
7055 (struct sigaction): Change type of sa_flags field to int.
7056
7057 [BZ #17780]
7058 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
7059 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
7060 __glibc_reserved0.
7061
7062 * nptl/version.c (banner): Use single year in copyright notice.
7063
7064 * NEWS: Update copyright dates.
7065 * catgets/gencat.c (print_version): Likewise.
7066 * csu/version.c (banner): Likewise.
7067 * debug/catchsegv.sh: Likewise.
7068 * debug/pcprofiledump.c (print_version): Likewise.
7069 * debug/xtrace.sh (do_version): Likewise.
7070 * elf/ldconfig.c (print_version): Likewise.
7071 * elf/ldd.bash.in: Likewise.
7072 * elf/pldd.c (print_version): Likewise.
7073 * elf/sotruss.sh: Likewise.
7074 * elf/sprof.c (print_version): Likewise.
7075 * iconv/iconv_prog.c (print_version): Likewise.
7076 * iconv/iconvconfig.c (print_version): Likewise.
7077 * locale/programs/locale.c (print_version): Likewise.
7078 * locale/programs/localedef.c (print_version): Likewise.
7079 * login/programs/pt_chown.c (print_version): Likewise.
7080 * malloc/memusage.sh (do_version): Likewise.
7081 * malloc/memusagestat.c (print_version): Likewise.
7082 * malloc/mtrace.pl: Likewise.
7083 * manual/libc.texinfo: Likewise.
7084 * nptl/version.c (banner): Likewise.
7085 * nscd/nscd.c (print_version): Likewise.
7086 * nss/getent.c (print_version): Likewise.
7087 * nss/makedb.c (print_version): Likewise.
7088 * posix/getconf.c (main): Likewise.
7089 * scripts/test-installation.pl: Likewise.
7090 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7091
7092 2015-01-02 Will Newton <will.newton@linaro.org>
7093
7094 * sysdeps/arm/armv7/configure: Removed.
7095 * sysdeps/arm/armv7/configure.ac: Likewise.
7096
7097 2015-01-02 Joseph Myers <joseph@codesourcery.com>
7098
7099 * All files with FSF copyright notices: Update copyright dates
7100 using scripts/update-copyrights.
7101 * intl/plural.c: Regenerated.
7102 * locale/programs/charmap-kw.h: Likewise.
7103 * locale/programs/locfile-kw.h: Likewise.
7104
7105 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7106
7107 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
7108
7109 2014-12-31 Joseph Myers <joseph@codesourcery.com>
7110
7111 [BZ #17748]
7112 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
7113 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
7114 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7115 and define as weak alias of __fegetenv. Use libm_hidden_weak.
7116 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7117 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
7118 define as weak alias of __fegetenv. Use libm_hidden_weak.
7119 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
7120 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7121 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7122 define as weak alias of __fegetenv. Use libm_hidden_weak.
7123 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7124 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7125 define as weak alias of __fegetenv. Use libm_hidden_weak.
7126 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
7127 libm_hidden_def.
7128 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
7129 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
7130 Likewise.
7131 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7132 define as weak alias of __fegetenv. Use libm_hidden_weak.
7133 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7134 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7135 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
7136 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7137 and define as weak alias of __fegetenv. Use libm_hidden_weak.
7138 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
7139 __fegetenv instead of fegetenv.
7140 (libc_feholdsetround_noex_ctx): Likewise.
7141
7142 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
7143
7144 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
7145 (Elf_MIPS_ABIFlags_v0): New structure.
7146 (EF_MIPS_FP64): Define.
7147 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
7148 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
7149 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
7150 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
7151 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
7152 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
7153 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
7154 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
7155 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
7156 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
7157 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
7158 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
7159 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
7160 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
7161 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
7162 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
7163 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
7164 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
7165 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
7166 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
7167 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
7168 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
7169 field.
7170 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
7171 EF_MIPS_FP64.
7172 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
7173 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
7174 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
7175 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
7176 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
7177 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
7178 * sysdeps/mips/tst-abi-interlink.c: Likewise.
7179 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
7180 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
7181 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
7182 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
7183 record the current FP ABI extension.
7184 (mips-mode-switch): Define to show if kernel headers support mode
7185 switching.
7186 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7187 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
7188 supported SYSV ABI version to 3.
7189 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
7190 feature.
7191
7192 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7193 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7194
7195 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
7196 path.
7197 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
7198
7199 2014-12-31 Joseph Myers <joseph@codesourcery.com>
7200
7201 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
7202 __fegetround and redefine to call __fegetround. Remove condition
7203 on [!__NO_MATH_INLINES].
7204 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
7205 function.
7206 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
7207 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7208 Remove macro.
7209 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
7210 instead of <fenv_libc.h>.
7211 (__llrintl): Call fegetround instead of __fegetround.
7212 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
7213 instead of <fenv_libc.h>.
7214 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7215 (__lrintl): Call fegetround instead of __fegetround.
7216 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
7217 instead of <fenv_libc.h>.
7218 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7219 (__rintl): Call fegetround instead of __fegetround.
7220
7221 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7222
7223 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
7224 arrays.
7225
7226 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
7227
7228 [BZ #17775]
7229 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
7230 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
7231 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
7232
7233 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
7234
7235 * sysdeps/i386/tls-macros.h: Include <features.h>.
7236 (TLS_LE): Use non-PIC version for GCC >= 5.0.
7237 (TLS_IE): Likewise.
7238 (TLS_LD): Likewise.
7239 (TLS_GD): Likewise.
7240 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
7241 define for GCC >= 5.0.
7242
7243 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
7244
7245 * math/test-fenv.c (test_single_exception, set_single_exc,
7246 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
7247 feexcp_mask_test, feenable_test, fe_single_test): Add
7248 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
7249 case where they are not used.
7250 * math/libm-test.inc: Likewise.
7251 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
7252 unused in the absence of FP rounding/exception support.
7253 * stdio-common/tst-printf-round.c: Likewise.
7254 * stdlib/tst-strtod-round.c: Likewise.
7255 * stdlib/tst-strtod-underflow.c: Likewise.
7256
7257 2014-12-30 Joseph Myers <joseph@codesourcery.com>
7258
7259 [BZ #17723]
7260 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
7261 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
7262 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7263 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7264 libm_hidden_weak.
7265 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
7266 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7267 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
7268 libm_hidden_def.
7269 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7270 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7271 libm_hidden_weak.
7272 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
7273 Likewise.
7274 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
7275 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7276 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7277 libm_hidden_weak.
7278 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7279 libm_hidden_def.
7280 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7281 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
7282 (__feraiseexcept): Likewise.
7283 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7284 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7285 libm_hidden_weak.
7286 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7287 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7288 libm_hidden_def.
7289 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
7290 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
7291 Use libm_hidden_def.
7292 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
7293 libm_hidden_def.
7294 (feraiseexcept): Define as weak not strong alias. Use
7295 libm_hidden_weak.
7296 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
7297 New inline function. Factored out of ...
7298 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
7299 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
7300 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
7301 feraiseexcept.
7302 * math/w_acos.c (__acos): Likewise.
7303 * math/w_asin.c (__asin): Likewise.
7304 * math/w_ilogb.c (__ilogb): Likewise.
7305 * math/w_j0.c (y0): Likewise.
7306 * math/w_j1.c (y1): Likewise.
7307 * math/w_jn.c (yn): Likewise.
7308 * math/w_log.c (__log): Likewise.
7309 * math/w_log10.c (__log10): Likewise.
7310 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
7311 * sysdeps/aarch64/fpu/math_private.h
7312 (libc_feupdateenv_test_aarch64): Likewise.
7313 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7314 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
7315 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
7316 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7317 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7318 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7319 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
7320 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7321 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7322 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7323
7324 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
7325
7326 [BZ #17732]
7327 * io/test-utime.c (main): Replace %ld with %jd and cast to
7328 intmax_t.
7329 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
7330 * nptl/tst-mutex5.c: Include <stdint.h>.
7331 (do_test): Replace %ld with %jd and cast to intmax_t.
7332 * posix/tst-regex.c (run_test): Likewise.
7333 (run_test_backwards): Likewise.
7334 * rt/tst-clock.c: Include <stdint.h>.
7335 (clock_test): Replace %ld with %jd and cast to intmax_t.
7336 * rt/tst-cpuclock1.c: Include <stdint.h>.
7337 (do_test): Replace %lu with %ju and cast to uintmax_t.
7338 * rt/tst-cpuclock2.c: Include <stdint.h>.
7339 (do_test): Replace %lu with %ju and cast to uintmax_t.
7340 * rt/tst-mqueue1.c: Include <stdint.h>.
7341 (check_attrs): Replace %ld with %jd and cast to intmax_t.
7342 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
7343 intmax_t.
7344 * rt/tst-mqueue4.c (do_test): Likewise.
7345 * rt/tst-timer4.c: Include <stdint.h>.
7346 (check_ts): Replace %ld with %jd and cast to intmax_t.
7347 (do_test): Likewise.
7348 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
7349 and cast to intmax_t.
7350 * sysdeps/pthread/tst-timer.c (main): Likewise.
7351 * time/clocktest.c (main): Likewise.
7352 * time/tst-posixtz.c (do_test): Likewise.
7353 * timezone/tst-timezone.c (main): Likewise.
7354
7355 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
7356 H.J. Lu <hongjiu.lu@intel.com>
7357
7358 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
7359 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
7360 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
7361 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
7362 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
7363 version if bit_Fast_Unaligned_Load is set.
7364 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7365 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7366 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7367 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7368 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7369 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7370 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7371 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
7372 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
7373 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
7374 to 4.
7375 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
7376 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
7377 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
7378 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
7379
7380 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
7381
7382 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
7383 instead of #if to avoid a Wundef warning.
7384 * stdlib/tst-limits.c (do_test): Likewise.
7385
7386 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
7387 parallel other exception macros.
7388 (fegetenv): Convert from macro to extern inline so that it applies
7389 retroactively to inline functions already seen by the compiler.
7390 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
7391
7392 * posix/Makefile (before-compile): Use $(objpfx) for
7393 posix-conf-vars-def.h.
7394
7395 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7396
7397 * posix/getconf.c (main): Use size_t for type of I.
7398 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
7399 NSPEC.
7400
7401 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
7402 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
7403 * posix/posix-envs.def: Likewise.
7404 * sysdeps/posix/sysconf.c: Likewise.
7405 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
7406 (specs): Remove array.
7407 * scripts/gen-posix-conf-vars.awk: Support generation of specs
7408 array.
7409
7410 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
7411 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
7412 (__sysconf): Use CONF_IS_* macros.
7413
7414 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
7415 ($(objpfx)posix-conf-vars-def.h): New target.
7416 * posix/posix-conf-vars.list: New file.
7417 * posix/posix-conf-vars.h: New file.
7418 * posix/confstr.c: Include posix-conf-vars.h.
7419 (confstr): Use CONF_IS_* macros.
7420 * posix/posix-envs.def: Include posix-conf-vars.h. Use
7421 CONF_IS_* macros.
7422 * scripts/gen-posix-conf-vars.awk: New file.
7423
7424 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
7425
7426 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
7427 fegetround): Add no-op macros to avoid linknamespace issues.
7428
7429 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
7430 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
7431
7432 * sysdeps/unix/sysv/linux/tile/sysdep.h
7433 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
7434 assembly-specific section to avoid a redefinition warning.
7435
7436 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
7437 long before casting to pointer to avoid a cast warning.
7438
7439 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
7440
7441 * sysdeps/tile/tilegx/Implies: New file.
7442
7443 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
7444
7445 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
7446
7447 2014-12-23 Florian Weimer <fweimer@redhat.com>
7448
7449 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
7450
7451 2014-12-22 Joseph Myers <joseph@codesourcery.com>
7452
7453 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
7454 not define.
7455 * sysdeps/unix/sysv/linux/utimes.c: Do not include
7456 <kernel-features.h>.
7457 (__utimes) [__NR_utimes]: Make code unconditional.
7458 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
7459 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7460 (__ASSUME_UTIMES): Do not undefine.
7461 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7462 (__ASSUME_UTIMES): Likewise.
7463 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7464 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
7465 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
7466 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
7467
7468 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
7469
7470 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
7471
7472 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
7473
7474 [BZ #17747]
7475 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
7476 alias to weak alias for j0l, y0l.
7477 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
7478 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
7479
7480 [BZ #17746]
7481 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
7482 conversion.
7483
7484 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
7485
7486 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
7487 to zero if not already defined.
7488
7489 2014-12-22 Joseph Myers <joseph@codesourcery.com>
7490
7491 [BZ #17724]
7492 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
7493 (__kernel_standard_f): Remove. Moved to k_standardf.c.
7494 (__kernel_standard_l): Remove. Moved to k_standardl.c with
7495 (char *) casts added.
7496 * sysdeps/ieee754/k_standardf.c: New file.
7497 * sysdeps/ieee754/k_standardl.c: Likewise.
7498 * math/Makefile (libm-support): Remove k_standard.
7499 (libm-calls): Add k_standard.
7500
7501 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7502
7503 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7504 Optimize to avoid an unnecessary FPCR read.
7505
7506 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7507
7508 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
7509 Optimize to reduce FPCR/FPSR accesses.
7510
7511 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7512
7513 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
7514 Call libc_fetestexcept_aarch64.
7515
7516 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7517
7518 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
7519 Call libc_fesetround_aarch64.
7520
7521 2014-12-22 Joseph Myers <joseph@codesourcery.com>
7522
7523 [BZ #17733]
7524 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
7525 (__bind): Do not define as weak alias.
7526 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
7527 define.
7528 (__getsockname): Do not define as weak alias.
7529
7530 2014-12-22 Will Newton <will.newton@linaro.org>
7531
7532 * manual/install.texi: Document that we require bison 2.7
7533 or above.
7534 * INSTALL: Regenerate.
7535 * configure.ac: Use AC_CHECK_PROG_VER instead of
7536 AC_PATH_PROG when checking for bison and check for
7537 version 2.7 or above.
7538 * configure: Regenerate.
7539
7540 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
7541
7542 [BZ #17745]
7543 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
7544 * sysdeps/tile/ffsll.c (ffsll): To here.
7545
7546 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
7547
7548 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
7549
7550 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
7551 if not defined.
7552 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
7553 definition.
7554 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7555 hidden ___tls_get_addr.
7556 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7557 hidden __tls_get_addr.
7558 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
7559 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
7560 Likewise.
7561
7562 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
7563
7564 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
7565 _dl_init call.
7566
7567 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
7568
7569 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
7570 from "call _dl_init@PLT".
7571 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7572
7573 2014-12-21 Anders Kaseorg <andersk@mit.edu>
7574
7575 * manual/search.texi: (Array Sort Function): Clarify stable sorting
7576 guarantees.
7577
7578 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
7579
7580 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
7581
7582 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
7583
7584 [BZ #17744]
7585 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
7586 strnlen.
7587
7588 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
7589
7590 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
7591 of multu on MIPSr6.
7592 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
7593 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
7594 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
7595 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
7596 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
7597
7598 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
7599
7600 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
7601 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
7602 (PTR_SUBU): Use subu for mips32r6/mips64r6.
7603 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
7604 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
7605 mips32r6/mips64r6.
7606 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
7607
7608 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
7609
7610 * string/strncat.c (STRNCAT): Simplify implementation.
7611
7612 2014-12-19 David S. Miller <davem@davemloft.net>
7613
7614 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
7615 access the quad as both a long double and as a series of 4 words.
7616
7617 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
7618 link_map->l_info array access.
7619
7620 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
7621
7622 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
7623
7624 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
7625 * math/atest-exp2.c (TIMEOUT): Likewise.
7626 * math/atest-sincos.c (TIMEOUT): Likewise.
7627
7628 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
7629
7630 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
7631 -Wno-error with -fno-builtin-lround.
7632
7633 2014-12-19 Torvald Riegel <triegel@redhat.com>
7634
7635 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
7636 Contains futex constants and functions moved over from ...
7637 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
7638 <lowlevellock-futex.h>.
7639 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7640 (lll_timedwait_tid): Add comments and parentheses around macro
7641 arguments.
7642
7643 2014-12-19 Torvald Riegel <triegel@redhat.com>
7644
7645 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
7646 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
7647 (__lll_private_flag): Remove.
7648 (lll_futex_wait): Likewise.
7649 (lll_futex_timed_wait): Likewise.
7650 (lll_futex_wake): Likewise.
7651 (lll_futex_requeue): Likewise.
7652 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7653 (__lll_timedwait_tid): Spell out argument names.
7654 (lll_timedwait_tid): Add comments and parentheses around macro
7655 arguments.
7656 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
7657 LLL_SHARED and LLL_PRIVATE usable from assembly code.
7658
7659 2014-12-19 Torvald Riegel <triegel@redhat.com>
7660
7661 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
7662 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
7663 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7664 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
7665 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
7666 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
7667 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
7668 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
7669 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
7670 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
7671 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
7672 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
7673 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
7674 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
7675 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
7676 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
7677 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
7678 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
7679 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
7680
7681 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
7682
7683 * sysdeps/x86_64/x32/Makefile: New file.
7684
7685 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
7686
7687 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
7688 1L with (mp_limb_t) 1.
7689
7690 2014-12-17 Roland McGrath <roland@hack.frob.com>
7691
7692 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
7693 * nptl/libc_pthread_init.c: ... here.
7694 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
7695 * nptl/register-atfork.c: ... here.
7696
7697 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
7698 Use pthread_sigmask rather than INTERNAL_SYSCALL.
7699 Use assert_perror to check its return value.
7700 (__gai_create_helper_thread): Likewise.
7701
7702 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
7703
7704 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
7705
7706 2014-12-17 Joseph Myers <joseph@codesourcery.com>
7707
7708 [BZ #17725]
7709 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
7710 __profil_counter.
7711 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
7712 Likewise.
7713 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
7714 Likewise.
7715 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
7716 Likewise.
7717 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
7718 (profil_counter): Likewise.
7719 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
7720 (profil_counter): Likewise.
7721 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
7722 Likewise.
7723 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
7724 Likewise.
7725 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
7726 (profil_counter): Likewise.
7727 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
7728 Likewise.
7729 [!__profil_counter] (profil_counter): Define as weak alias of
7730 __profil_counter.
7731 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
7732 (profil_counter): Rename to __profil_counter.
7733 [!__profil_counter] (profil_counter): Define as weak alias of
7734 __profil_counter.
7735 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
7736 (profil_counter): Rename to __profil_counter.
7737 [!__profil_counter] (profil_counter): Define as weak alias of
7738 __profil_counter.
7739 * sysdeps/posix/profil.c: Update comment referring to
7740 profil_counter.
7741 (__profil): Use __profil_counter instead of profil_counter.
7742 * sysdeps/posix/sprofil.c (profil_counter): Rename to
7743 __profil_counter. Use __profil_counter_ushort and
7744 __profil_counter_uint in definitions.
7745 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
7746 instead of profil_counter_uint and profil_counter_ushort.
7747
7748 [BZ #17722]
7749 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
7750 define as weak alias of __inet_makeaddr.
7751 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
7752 as weak alias of __inet_addr.
7753 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
7754 as weak alias of __inet_pton. Use libc_hidden_weak.
7755 * include/arpa/inet.h (__inet_pton): Declare. Use
7756 libc_hidden_proto.
7757 (inet_makeaddr): Don't use libc_hidden_proto.
7758 (__inet_makeaddr): Declare. Use libc_hidden_proto.
7759 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
7760 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
7761 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
7762 Remove variable.
7763 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
7764 (test-xfail-POSIX/time.h/linknamespace): Likewise.
7765
7766 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
7767
7768 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
7769
7770 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
7771
7772 * stdio-common/bug-vfprintf-nargs.c (do_test):
7773 Cast value to intptr_t to avoid format warning
7774 for usage with PRIdPTR printing macro.
7775
7776 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
7777
7778 * libio/tst-widetext.c (do_test):
7779 Use format type %td instead of %Zd for ptrdiff_t
7780 in order to avoid format warning.
7781
7782 2014-12-17 Andreas Schwab <schwab@suse.de>
7783
7784 * nscd/mem.c (gc): Add size_t cast to match printf format.
7785
7786 2014-12-16 Roland McGrath <roland@hack.frob.com>
7787
7788 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
7789 (init): Apply PTR_MANGLE to pointers before storing them.
7790 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
7791 before using them.
7792
7793 2014-12-16 Joseph Myers <joseph@codesourcery.com>
7794
7795 [BZ #17719]
7796 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
7797 define as weak alias of __memrchr.
7798 (__memrchr): Do not define as strong alias of memrchr.
7799 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
7800 Remove variable.
7801 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
7802 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
7803 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
7804
7805 [BZ #17717]
7806 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
7807 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
7808 (if_indextoname): Rename to __if_indextoname and define as weak
7809 alias of __if_indextoname. Use libc_hidden_weak.
7810 (if_freenameindex): Rename to __if_freenameindex and define as
7811 weak alias of __if_freenameindex.
7812 (if_nameindex): Rename to __if_nameindex and define as weak alias
7813 of __if_nameindex.
7814 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
7815 __if_nametoindex and define as weak alias of __if_nametoindex.
7816 Use libc_hidden_weak.
7817 (if_freenameindex): Rename to __if_freenameindex and define as
7818 weak alias of __if_freenameindex.
7819 (if_nameindex): Rename to __if_nameindex and define as weak alias
7820 of __if_nameindex.
7821 (if_indextoname): Rename to __if_indextoname and define as weak
7822 alias of __if_indextoname. Use libc_hidden_weak.
7823 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
7824 __if_nametoindex and define as weak alias of __if_nametoindex.
7825 Use libc_hidden_weak.
7826 (if_freenameindex): Rename to __if_freenameindex and define as
7827 weak alias of __if_freenameindex. Use libc_hidden_weak.
7828 (if_nameindex_netlink): Use __if_freenameindex instead of
7829 if_freenameindex.
7830 (if_nameindex): Rename to __if_nameindex and define as weak alias
7831 of __if_nameindex. Use libc_hidden_weak.
7832 (if_indextoname): Rename to __if_indextoname and define as weak
7833 alias of __if_indextoname. Use libc_hidden_weak.
7834 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
7835 libc_hidden_proto.
7836 [!_ISOMAC] (__if_freenameindex): Likewise.
7837 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
7838 if_nametoindex.
7839 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
7840 variable.
7841 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
7842 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
7843 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
7844 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
7845 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
7846 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
7847 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
7848
7849 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
7850 Remove variable.
7851 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
7852 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
7853
7854 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7855
7856 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
7857 subscript above bounds'
7858
7859 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
7860 bounds.
7861
7862 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
7863
7864 * libio/tst-fopenloc.c: Use test-skeleton.c.
7865
7866 * stdlib/tst-bsearch.c: Use test-skeleton.c.
7867 (entry): Rename to ITEM.
7868 (do_test, comp): Adjust.
7869
7870 * stdio-common/tst-fseek.c: Use test-skeleton.c.
7871
7872 2014-12-16 Torvald Riegel <triegel@redhat.com>
7873
7874 * string/tester.c: Include <libc-internal.h>.
7875 (test_memset): Ignore -Wmemset-transposed-args.
7876
7877 2014-12-16 Torvald Riegel <triegel@redhat.com>
7878
7879 * misc/tst-mntent2.c (do_test): Fix warning.
7880
7881 2014-12-16 Torvald Riegel <triegel@redhat.com>
7882
7883 * elf/tst-unique4lib.cc(a): Mark as used.
7884
7885 2014-12-16 Florian Weimer <fweimer@redhat.com>
7886
7887 [BZ #17630]
7888 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
7889 names.
7890
7891 2014-12-16 Allan McRae <allan@archlinux.org>
7892
7893 * stdio-common/Makefile (tests): Re-add bug26.
7894
7895 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
7896
7897 [BZ #17657]
7898 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
7899 static array.
7900
7901 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
7902
7903 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
7904 (__lll_lock_wait): Likewise.
7905 (__lll_timedlock_wait): Likewise.
7906 (__lll_timedwait_tid): Likewise.
7907 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
7908 (__lll_robust_timedlock_wait): Likewise.
7909 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
7910 (lll_cond_trylock): Likewise.
7911 (__lll_lock): Likewise.
7912 (__lll_robust_lock): Likewise.
7913 (__lll_cond_lock): Likewise.
7914 (lll_robust_cond_lock): Likewise.
7915 (__lll_timedlock): Likewise.
7916 (__lll_robust_timedlock): Likewise.
7917 (__lll_unlock): Likewise.
7918 (__lll_robust_unlock): Likewise.
7919 (lll_wait_tid): Likewise.
7920 (lll_timedwait_tid): Likewise.
7921
7922 2014-12-15 Torvald Riegel <triegel@redhat.com>
7923
7924 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
7925
7926 2014-12-15 Torvald Riegel <triegel@redhat.com>
7927
7928 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
7929
7930 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
7931
7932 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
7933 * stdio-common/tst-sprintf.c: Likewise.
7934
7935 2014-12-15 Torvald Riegel <triegel@redhat.com>
7936
7937 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
7938
7939 2014-12-15 Jeff Law <law@redhat.com>
7940
7941 [BZ #16617]
7942 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
7943 on the heap. (CVE-2012-3406)
7944 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
7945 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
7946 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
7947
7948 2014-12-15 Will Newton <will.newton@linaro.org>
7949
7950 * manual/install.texi: Bump required version of texinfo
7951 to 4.7 from 4.5.
7952 * INSTALL: Regenerated.
7953 * configure.ac: Check for makeinfo version 4.7 and above.
7954 * configure: Regenerated.
7955
7956 2014-12-12 Roland McGrath <roland@hack.frob.com>
7957
7958 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
7959 PREFIX, string constant to insert between directory and name.
7960 * sysdeps/posix/shm_open.c: Update caller.
7961 * sysdeps/posix/shm_unlink.c: Likewise.
7962 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
7963 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
7964 (SEM_SHM_PREFIX): New macro.
7965 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
7966 [$(have-thread-library) = no].
7967 * nptl/Makefile (libpthread-routines): Add shm-directory.
7968 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
7969 * sysdeps/nptl/shm-directory.h: New file.
7970 * sysdeps/posix/shm-directory.c
7971 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
7972 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
7973 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
7974 INTERNAL_SYSCALL.
7975 (__where_is_shmfs): Function removed.
7976 (mountpoint, defaultmount, defaultdir, __namedsem_once):
7977 Variables removed.
7978 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
7979 Use SHM_GET_NAME.
7980 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
7981
7982 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
7983 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
7984 unconditional for use inside libpthread.
7985 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
7986
7987 2014-12-12 Roland McGrath <roland@hack.frob.com>
7988
7989 * nptl/pthread_getaffinity.c: New file.
7990 * nptl/pthread_setaffinity.c: New file.
7991 * nptl/pthread_getname.c: New file.
7992 * nptl/pthread_setname.c: New file.
7993
7994 * nptl/pthread_create.c (START_THREAD_DEFN)
7995 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
7996
7997 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7998 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7999
8000 * resolv/res_send.c (send_vc): Disable warning resplen may
8001 be used uninitialized.
8002
8003 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8004
8005 * nptl/tst-mutex6.c
8006 (ATTR_NULL): New define checks ATTR against NULL.
8007 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
8008 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
8009
8010 2014-12-11 James Lemke <jwlemke@codesourcery.com>
8011
8012 [BZ #17581]
8013 * malloc/hooks.c
8014 (mem2mem_check): Revert my previous change.
8015 (malloc_check_get_size): Revert my previous change.
8016 (mem2chunk_check): Revert my previous change.
8017
8018 2014-12-11 Roland McGrath <roland@hack.frob.com>
8019
8020 * sysdeps/posix/shm-directory.c: New file.
8021 * sysdeps/posix/shm-directory.h: New file.
8022 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
8023 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
8024 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
8025 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
8026 Transmute EPERM to EACCES.
8027 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
8028 from ...
8029 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
8030 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
8031
8032 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8033
8034 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
8035 pointer and cast to uintptr_t.
8036 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
8037 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
8038 Add cast to avoid warning.
8039 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
8040
8041 2014-12-11 Joseph Myers <joseph@codesourcery.com>
8042
8043 * nptl/semaphore.h: Move to ...
8044 * sysdeps/pthread/semaphore.h: ... here.
8045 * Makefile (installed-headers): Change nptl/semaphore.h to
8046 sysdeps/pthread/semaphore.h.
8047
8048 2014-12-11 Roland McGrath <roland@hack.frob.com>
8049
8050 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
8051 generated error format strings.
8052
8053 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
8054 -Wformat-extra-args warnings for scanf formats.
8055 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
8056 test of zero-length format (duh).
8057 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
8058 corner-case scanf format test.
8059 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
8060 generated fprintf format string.
8061 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
8062 corner-case sprintf format tests.
8063 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
8064 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
8065 -Wformat-extra-args warnings throughout.
8066 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
8067 (CFLAGS-scanf4.c): Likewise.
8068 (CFLAGS-scanf7.c): Likewise.
8069 (CFLAGS-tst-sprintf.c): Likewise.
8070 (CFLAGS-tst-printf.c): Likewise.
8071 (CFLAGS-tst-printfsz.c): Likewise.
8072
8073 2014-12-11 Joseph Myers <joseph@codesourcery.com>
8074
8075 * include/cpio.h: New file.
8076 * include/fmtmsg.h: Likewise.
8077
8078 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
8079 corresponding format argument to size_t.
8080 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
8081 arguments.
8082 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
8083 corresponding format argument to size_t.
8084 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
8085 arguments.
8086 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
8087 corresponding format argument to size_t.
8088 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
8089 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
8090 (CFLAGS-tst-mbswcs2.c): Likewise.
8091 (CFLAGS-tst-mbswcs3.c): Likewise.
8092 (CFLAGS-tst-mbswcs4.c): Likewise.
8093 (CFLAGS-tst-mbswcs5.c): Likewise.
8094 (CFLAGS-tst-trans.c): Likewise
8095
8096 2014-12-11 Roland McGrath <roland@hack.frob.com>
8097
8098 * posix/regexbug1.c (main): Use "%s" format with regerror results,
8099 rather than assuming they won't contain any '%'s.
8100
8101 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
8102
8103 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
8104 inhibit_loop_to_libcall to avoid recursive calls.
8105 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
8106 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
8107
8108 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
8109
8110 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
8111 prototype.
8112
8113 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
8114
8115 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
8116 integer value instead of boolean.
8117
8118 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
8119
8120 * malloc/malloc.c: Fix powerof2 check.
8121
8122 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8123
8124 * locale/programs/locfile.h (maybe_swap_uint32):
8125 Remove inline and add unused attribute.
8126
8127 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8128
8129 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8130 Truncating assembler expression to a .long expression.
8131
8132 2014-12-11 Andreas Schwab <schwab@suse.de>
8133
8134 * elf/rtld.c (struct map_args): Constify str member.
8135 (do_preload): Constify fname argument.
8136
8137 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8138
8139 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
8140 constants definition.
8141
8142 2014-12-11 Andreas Schwab <schwab@suse.de>
8143
8144 [BZ #16657]
8145 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
8146 FORCE_ELISION instead of DO_ELISION.
8147 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
8148 Remove.
8149 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
8150 Likewise.
8151
8152 * iconvdata/gconv-modules: Remove duplicate entry.
8153
8154 2014-12-11 Will Newton <will.newton@linaro.org>
8155
8156 Merge gettext 0.19.3 into intl/.
8157
8158 This involves a number of cosmetic changes to comments
8159 and ANSI function definitions and prototypes throughout
8160 all the files. The gettext copyright header is used but
8161 with the date ranges taken from the glibc copy.
8162
8163 * NEWS: Add gettext merge to 2.21.
8164 * intl/bindtextdom.c: Switch to gettext copyright.
8165 Use ANSI definitions and prototypes.
8166 Use gl_* locking primitives rather than __libc_* ones.
8167 Use __builtin_expect rather than __glibc_likely/unlikely.
8168 * intl/dcgettext.c: Switch to gettext copyright.
8169 Use ANSI definitions and prototypes.
8170 * intl/dcigettext.c: Switch to gettext copyright.
8171 Use ANSI definitions and prototypes.
8172 (INTDIV0_RAISES_SIGFPE): New define.
8173 Use gl_* locking primitives rather than __libc_* ones.
8174 Include eval-plural.h instead of plural-eval.c.
8175 Use __builtin_expect rather than __glibc_likely/unlikely.
8176 * intl/dcngettext.c: Switch to gettext copyright.
8177 Use ANSI definitions and prototypes.
8178 * intl/dgettext.c: Likewise.
8179 * intl/dngettext.c: Likewise.
8180 * intl/plural-eval.c: Renamed to...
8181 * intl/eval-plural.h: ...this.
8182 * intl/explodename.c: Switch to gettext copyright.
8183 Use ANSI definitions and prototypes.
8184 (_nl_explode_name): Use strchr instead of __rawmemchr.
8185 * intl/finddomain.c: Switch to gettext copyright.
8186 Use ANSI definitions and prototypes.
8187 Use gl_* locking primitives rather than __libc_* ones.
8188 (_nl_find_domain): Use malloc rather than alloca for
8189 allocation of temporary locale name.
8190 * intl/gettext.c: Switch to gettext copyright.
8191 Use ANSI definitions and prototypes.
8192 * intl/gettextP.h: Switch to gettext copyright.
8193 Use ANSI definitions and prototypes.
8194 Use gl_* locking primitives rather than __libc_* ones.
8195 * intl/gmo.h: Switch to gettext copyright.
8196 (struct sysdep_string): Move struct segment_pair outside of
8197 struct definition.
8198 * intl/hash-string.c: Use ANSI definitions and prototypes.
8199 * intl/hash-string.h: Switch to gettext copyright.
8200 Use ANSI definitions and prototypes.
8201 * intl/l10nflist.c: Switch to gettext copyright.
8202 Use ANSI definitions and prototypes.
8203 (_nl_normalize_codeset): Avoid integer overflow.
8204 * intl/loadinfo.h: Switch to gettext copyright.
8205 Use ANSI definitions and prototypes.
8206 (LIBINTL_DLL_EXPORTED): New define.
8207 (PATH_SEPARATOR): New define.
8208 * intl/loadmsgcat.c: Switch to gettext copyright.
8209 * intl/localealias.c: Switch to gettext copyright.
8210 Use ANSI definitions and prototypes.
8211 (_nl_expand_alias): Use PATH_SEPARATOR.
8212 * intl/ngettext.c: Switch to gettext copyright.
8213 Use ANSI definitions and prototypes.
8214 * intl/plural-exp.c: Likewise.
8215 * intl/plural-exp.h: Switch to gettext copyright.
8216 Use ANSI definitions and prototypes.
8217 (struct expression): Move definition of enum operator outside
8218 of struct definition.
8219 * intl/plural.c: Regenerate.
8220 * intl/plural.y: Switch to gettext copyright.
8221 Use ANSI definitions and prototypes.
8222 Port to bison 3.0.
8223 * intl/textdomain.c: Switch to gettext copyright.
8224 Use ANSI definitions and prototypes.
8225 Use gl_* locking primitives rather than __libc_* ones.
8226
8227 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
8228
8229 * debug/warning-nop.c: Add used atrribute.
8230
8231 2014-12-10 Joseph Myers <joseph@codesourcery.com>
8232
8233 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
8234
8235 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
8236 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
8237 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
8238
8239 2014-12-10 Joseph Myers <joseph@codesourcery.com>
8240 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8241
8242 [BZ #17634]
8243 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
8244 Undefine after defining function. Define as weak alias of
8245 __wcschr. Use libc_hidden_weak.
8246 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
8247 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
8248 (libc_hidden_def): Also define __GI___wcschr alias.
8249 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
8250 __wcschr and define as weak alias of __wcschr.
8251 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
8252 __wcschr.
8253 [!WCSCHR] (DEFAULT_WCSCHR): Define.
8254 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
8255 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
8256 libc_hidden_weak. Do not use libc_hidden_def.
8257 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
8258 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
8259 __GI___wcschr alias.
8260 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
8261 [IS_IN (libc)] (wcschr): Define as macro expanding to
8262 __redirect_wcschr.
8263 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
8264 [IS_IN (libc)] (__wcschr_power6): Likewise.
8265 [IS_IN (libc)] (__wcschr_power7): Likewise.
8266 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
8267 instead of wcschr.
8268 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
8269 __libc_wcschr.
8270 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
8271 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
8272 __wcschr and define as weak alias of __wcschr. Use
8273 libc_hidden_builtin_def.
8274 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
8275 as weak alias of __wcschr. Use libc_hidden_weak.
8276 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
8277 wcschr.
8278 * time/era.c (_nl_init_era_entries): Likewise.
8279 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
8280 variable.
8281 (test-xfail-XPG3/time.h/linknamespace): Likewise.
8282 (test-xfail-XPG4/time.h/linknamespace): Likewise.
8283
8284 2014-12-10 Joseph Myers <joseph@codesourcery.com>
8285
8286 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
8287 format for long int variable.
8288
8289 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
8290
8291 [BZ #10672]
8292 * manual/search.texi: (Array Sort Function): Remove claim how to make
8293 qsort stable.
8294
8295 2014-12-10 Andreas Schwab <schwab@suse.de>
8296
8297 [BZ #12847]
8298 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
8299 user-controlled locks.
8300
8301 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
8302
8303 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
8304 register.
8305
8306 2014-12-10 Joseph Myers <joseph@codesourcery.com>
8307
8308 * configure.ac (--disable-werror): New configure option.
8309 (enable_werror): New AC_SUBST.
8310 * configure: Regenerated.
8311 * config.make.in (enable-werror): New variable.
8312 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
8313 -Wno-error=undef.
8314 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
8315 * manual/install.texi (Configuring and compiling): Document
8316 --disable-werror.
8317 * INSTALL: Regenerated.
8318 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
8319 (CFLAGS-tst-chk2.c): Likewise.
8320 (CFLAGS-tst-chk3.c): Likewise.
8321 (CFLAGS-tst-chk4.cc): Likewise.
8322 (CFLAGS-tst-chk5.cc): Likewise.
8323 (CFLAGS-tst-chk6.cc): Likewise.
8324 (CFLAGS-tst-lfschk1.c): Likewise.
8325 (CFLAGS-tst-lfschk2.c): Likewise.
8326 (CFLAGS-tst-lfschk3.c): Likewise.
8327 (CFLAGS-tst-lfschk4.cc): Likewise.
8328 (CFLAGS-tst-lfschk5.cc): Likewise.
8329 (CFLAGS-tst-lfschk6.cc): Likewise.
8330
8331 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
8332 (main): Disable -Wdeprecated-declarations around calls to
8333 register_printf_function.
8334
8335 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
8336 (do_test): Disable -Wdiv-by-zero around some calls to
8337 fwrite_unlocked and fread_unlocked.
8338
8339 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
8340 (DIAG_POP_NEEDS_COMMENT): Likewise.
8341 (_DIAG_STR1): Likewise.
8342 (_DIAG_STR): Likewise.
8343 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
8344 * stdio-common/bug21.c: Include <libc-internal.h>.
8345 (do_test): Disable -Wformat around call to sscanf.
8346 * stdio-common/scanf14.c: Include <libc-internal.h>.
8347 (main): Disable -Wformat around some calls to scanf functions.
8348
8349 2014-12-09 Torvald Riegel <triegel@redhat.com>
8350
8351 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
8352
8353 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8354
8355 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
8356 stack variable alignment.
8357
8358 2014-12-06 Joseph Myers <joseph@codesourcery.com>
8359
8360 [BZ #17682]
8361 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
8362 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
8363 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
8364 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
8365 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
8366 __getrlimit instead of getrlimit.
8367 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
8368 __gettimeofday instead of gettimeofday.
8369 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8370 Likewise.
8371 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8372 Likewise.
8373 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8374 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
8375 Remove variable.
8376 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8377 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8378
8379 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8380
8381 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
8382 for wide-character tests.
8383
8384 2014-12-04 Roland McGrath <roland@hack.frob.com>
8385
8386 * io/openat64.c: #include <libc-internal.h>
8387 (__openat64): Prototypify. Use ignore_value on MODE.
8388 * io/openat.c: Likewise.
8389 * misc/reboot.c: #include <libc-internal.h>
8390 (reboot): Prototypify. Use ignore_value on HOWTO.
8391 * misc/ptrace.c: #include <libc-internal.h>
8392 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
8393
8394 2014-12-04 Joseph Myers <joseph@codesourcery.com>
8395
8396 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
8397 XPG4, UNIX98 and XOPEN2K.
8398 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
8399 Remove variable.
8400 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8401
8402 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8403
8404 * libio/fileops.c: Use ISO C style for function definitions.
8405 * libio/iofopen.c: Likewise.
8406 * libio/wfileops.c: Likewise.
8407
8408 [BZ #17653]
8409 * libio/fileops.c (_IO_new_file_underflow): Unset cached
8410 offset on EOF.
8411 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
8412 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
8413 (fgets_func): Function pointer to fgets and fgetws.
8414 (do_ftell_test): Add test to verify ftell value after read
8415 EOF.
8416 (do_test): Set fgets_func.
8417
8418 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
8419 O_TRUNC flag for w and w+ modes.
8420 (do_rewind_test): Likewise.
8421 (do_ftell_test): Likewise.
8422 (do_write_test): Likewise.
8423
8424 [BZ #17647]
8425 * libio/fileops.c (do_ftell): Seek only when there are
8426 unflushed writes.
8427 * libio/wfileops.c (do_ftell_wide): Likewise.
8428 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
8429 test case.
8430 (do_one_test): Call it.
8431
8432 2014-12-03 Joseph Myers <joseph@codesourcery.com>
8433
8434 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
8435 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
8436 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
8437 Remove variable.
8438 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8439 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8440 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8441
8442 2014-12-02 Joseph Myers <joseph@codesourcery.com>
8443
8444 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
8445 Remove variable.
8446 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8447
8448 [BZ #17668]
8449 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
8450 as weak alias of __getifaddrs. Use libc_hidden_weak.
8451 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8452 __freeifaddrs. Use libc_hidden_weak.
8453 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
8454 define as weak alias of __getifaddrs. Use libc_hidden_weak.
8455 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8456 __freeifaddrs. Use libc_hidden_weak.
8457 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
8458 __getifaddrs and define as weak alias of __getifaddrs. Use
8459 libc_hidden_weak.
8460 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8461 __freeifaddrs. Use libc_hidden_weak.
8462 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
8463 Remove variable.
8464 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8465 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8466
8467 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
8468
8469 [BZ #17601]
8470 * sysdeps/mips/start.S (__start): Use indirect jump to call
8471 __libc_start_main.
8472
8473 2014-12-02 Joseph Myers <joseph@codesourcery.com>
8474
8475 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
8476
8477 * nptl/tst-mutex1.c: Include <stdbool.h>.
8478 [!ATTR] (ATTR_NULL): New macro.
8479 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
8480 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
8481 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
8482
8483 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
8484 to char *.
8485
8486 [BZ #17665]
8487 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
8488 Change conditional to [__USE_MISC].
8489
8490 [BZ #17664]
8491 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
8492 fgets_unlocked.
8493 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
8494 __fgets_unlocked.
8495 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
8496 fgets_unlocked.
8497 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
8498 Remove variable.
8499 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8500 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8501 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8502 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8503 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8504 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8505 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8506 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8507 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8508
8509 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
8510
8511 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8512
8513 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8514 Remove strpbrk objects.
8515 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8516 (__libc_ifunc_impl_list): Remove strpbrk implementation.
8517 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
8518 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
8519 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
8520 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
8521
8522 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8523 Remove strcspn objects.
8524 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8525 (__libc_ifunc_impl_list): Remove strcspn implementation.
8526 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
8527 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
8528 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
8529 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
8530
8531 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8532 Remove strspn objetcs.
8533 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8534 (__libc_ifunc_impl_list): Remove strspn implementation.
8535 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
8536 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8537 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
8538 * sysdeps/powerpc/powerpc64/strspn.S: New file.
8539
8540 2014-12-01 James Lemke <jwlemke@codesourcery.com>
8541
8542 [BZ #17581]
8543 * malloc/hooks.c
8544 (mem2mem_check): Add a terminator to the chain of checking blocks.
8545 (malloc_check_get_size): Use it here.
8546 (mem2chunk_check): Ditto.
8547
8548 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8549
8550 * sysdeps/powerpc/powerpc64/strtok.S: New file.
8551 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
8552
8553 2014-11-29 Carlos O'Donell <carlos@redhat.com>
8554
8555 * bits/ioctl-types.h: Indent preprocessor directives correctly.
8556
8557 * nptl/nptl-init.c: Include libc-internal.h.
8558 (__pthread_initialize_minimal_internal): Use ROUND_UP.
8559
8560 * elf/ldconfig.c (search_dir): Expand comment.
8561
8562 2014-11-29 Joseph Myers <joseph@codesourcery.com>
8563
8564 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
8565 variable.
8566 (linknamespace-symlist-stdlibs-tests): Likewise.
8567 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
8568 instead of $(objpfx)symlist-stdlibs.
8569 (linknamespace-libs-isoc): New variable.
8570 (linknamespace-libs): Use $(linknamespace-libs-isoc).
8571 (linknamespace-libs-ISO): New variable.
8572 (linknamespace-libs-ISO99): Likewise.
8573 (linknamespace-libs-ISO11): Likewise.
8574 (linknamespace-libs-XPG3): Likewise.
8575 (linknamespace-libs-XPG4): Likewise.
8576 (linknamespace-libs-POSIX): Likewise.
8577 (linknamespace-libs-UNIX98): Likewise.
8578 (linknamespace-libs-XOPEN2K): Likewise.
8579 (linknamespace-libs-POSIX2008): Likewise.
8580 (linknamespace-libs-XOPEN2K8): Likewise.
8581 ($(objpfx)symlist-stdlibs): Replace by
8582 $(linknamespace-symlist-stdlibs-tests). Use
8583 $(linknamespace-libs-$*) as set of libraries.
8584 ($(linknamespace-header-tests)): Update dependencies. Use
8585 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
8586 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
8587 * conform/linknamespace.pl: Remove comment about considering
8588 definitions of symbols from irrelevant libraries.
8589
8590 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
8591
8592 [BZ #13862]
8593 * elf/dl-tls.c: Include <atomic.h>.
8594 (oom): Remove #ifdef SHARED/#endif.
8595 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
8596 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
8597 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
8598 big enough.
8599 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
8600 * nptl/Makefile (tests): Add tst-stack4.
8601 (modules-names): Add tst-stack4mod.
8602 ($(objpfx)tst-stack4): New.
8603 (tst-stack4mod.sos): Likewise.
8604 ($(objpfx)tst-stack4.out): Likewise.
8605 ($(tst-stack4mod.sos)): Likewise.
8606 (clean): Likewise.
8607 * nptl/tst-stack4.c: New file.
8608 * nptl/tst-stack4mod.c: Likewise.
8609
8610 2014-11-27 J. Brown <jb999@gmx.de>
8611
8612 * sysdeps/x86/bits/string.h: Add recent CPUs.
8613
8614 2014-11-27 Joseph Myers <joseph@codesourcery.com>
8615
8616 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
8617 sigblock.
8618
8619 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
8620 feof.
8621
8622 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
8623 variable.
8624
8625 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
8626
8627 * nscd/connections.c: Include libc-internal.h because of macro
8628 usage ignore_value.
8629
8630 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8631
8632 * string/bits/string3.h (__warn_memset_zero_len): Don't
8633 declare for gcc newer than 5.0.
8634 (memset): Don't test for zero-length __LEN for gcc newer than
8635 5.0.
8636
8637 2014-11-27 Joseph Myers <joseph@codesourcery.com>
8638
8639 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
8640 size_t for %zu format.
8641
8642 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
8643 difference, not %ju.
8644
8645 2014-11-26 Joseph Myers <joseph@codesourcery.com>
8646
8647 * include/libc-internal.h (ignore_value): New macro.
8648 * nscd/connections.c (restart): Wrap calls to setuid and setgid
8649 with ignore_value.
8650
8651 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
8652 definition.
8653
8654 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
8655 pthread_cleanup_push to void *.
8656
8657 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
8658 Undefine.
8659
8660 [BZ #16619]
8661 [BZ #16740]
8662 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
8663 instead of 1L << 52.
8664
8665 * libio/bug-rewind.c (do_test): Check fwscanf return values.
8666 * libio/bug-rewind2.c (do_test): Likewise.
8667
8668 * debug/test-stpcpy_chk-ifunc.c: Remove file.
8669 * debug/test-strcpy_chk-ifunc.c: Likewise.
8670 * wcsmbs/test-wcschr-ifunc.c: Likewise.
8671 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8672 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8673 * wcsmbs/test-wcslen-ifunc.c: Likewise.
8674 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8675 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8676 * Rules [$(multi-arch) = no] (tests): Do not filter out
8677 $(tests-ifunc).
8678 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
8679 * debug/Makefile (tests-ifunc): Remove variable.
8680 (tests): Do not add $(tests-ifunc).
8681 * wcsmbs/Makefile (tests-ifunc): Remove variable.
8682 (tests): Do not add $(tests-ifunc).
8683 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
8684 [TEST_IFUNC]: Remove conditionals.
8685 * string/test-string.h (TEST_IFUNC): Remove macro.
8686 [TEST_IFUNC]: Remove conditionals.
8687
8688 * string/test-strchr.c [!WIDE] (L): New macro.
8689 [WIDE] (L): Likewise.
8690 (check1): Use CHAR instead of char. Use L on string and character
8691 constants.
8692
8693 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
8694
8695 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
8696 tests.
8697 * sysdeps/powerpc/bits/atomic.h
8698 (__arch_atomic_exchange_and_add_32_acq): Add definition.
8699 (__arch_atomic_exchange_and_add_32_rel): Likewise.
8700 (atomic_exchange_and_add_acq): Likewise.
8701 (atomic_exchange_and_add_rel): Likewise.
8702 * sysdeps/powerpc/powerpc32/bits/atomic.h
8703 (__arch_atomic_exchange_and_add_64_acq): Add definition.
8704 (__arch_atomic_exchange_and_add_64_rel): Likewise.
8705 * sysdeps/powerpc/powerpc64/bits/atomic.h
8706 (__arch_atomic_exchange_and_add_64_acq): Add definition.
8707 (__arch_atomic_exchange_and_add_64_rel): Likewise.
8708
8709 2014-11-26 Torvald Riegel <triegel@redhat.com>
8710
8711 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
8712 Change synchronization of __sched_fifo_min_prio and
8713 __sched_fifo_max_prio.
8714 * nptl/pthread_mutexattr_getprioceiling.c
8715 (pthread_mutexattr_getprioceiling): Likewise.
8716 * nptl/pthread_mutexattr_setprioceiling.c
8717 (pthread_mutexattr_setprioceiling): Likewise.
8718 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
8719 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8720 Likewise.
8721
8722 2014-11-26 Joseph Myers <joseph@codesourcery.com>
8723
8724 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
8725 void.
8726
8727 2014-11-25 Joseph Myers <joseph@codesourcery.com>
8728
8729 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
8730 third argument const.
8731
8732 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
8733
8734 fnmatch: work around GCC compiler warning bug with uninit var
8735 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
8736 This works around a bug with x86-64 GCC 4.9.2 and earlier
8737 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
8738 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
8739 used uninitialized in this function [-Wmaybe-uninitialized]".
8740
8741 2014-11-25 Joseph Myers <joseph@codesourcery.com>
8742
8743 * posix/bug-regex31.c (main): Return RES not 0.
8744
8745 2014-11-25 Anton Blanchard <anton@samba.org>
8746
8747 * sysdeps/powerpc/bits/atomic.h
8748 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
8749
8750 2014-11-24 Sterling Augustine <saugustine@google.com>
8751
8752 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
8753
8754 2014-11-24 Ryan Cumming <etaoins@gmail.com>
8755
8756 [BZ #17608]
8757 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
8758
8759 2014-11-24 Joseph Myers <joseph@codesourcery.com>
8760
8761 [BZ #17633]
8762 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
8763 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
8764 variable.
8765 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8766 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8767
8768 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
8769
8770 * string/strncpy.c (strncpy): Improve performance by using memset.
8771
8772 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
8773
8774 * string/strcpy.c (strcpy):
8775 Improve performance by using strlen and memcpy.
8776
8777 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
8778
8779 * string/strcoll_l.c (get_next_seq): __always_inline.
8780 * string/strcoll_l.c (do_compare): __always_inline.
8781
8782 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8783
8784 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
8785 defined.
8786 * include/mqueue.h: Likewise.
8787 * include/stdlib.h: Likewise.
8788
8789 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
8790 (get_null_defines): Adjust.
8791 * sunrpc/Makefile: Adjust comment.
8792 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
8793 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
8794 (CFLAGS-interp.c): Likewise.
8795 (CFLAGS-ldconfig.c): Likewise.
8796 (CPPFLAGS-.os): Likewise.
8797 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8798 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8799 * extra-modules.mk (extra-modules.mk): Likewise.
8800 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
8801 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
8802 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
8803 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
8804 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
8805 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
8806 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
8807 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
8808 * iconvdata/Makefile (CPPFLAGS): Likewise.
8809 (cpp-srcs-left): Add libof for all iconvdata routines.
8810 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
8811 * include/assert.h: Likewise.
8812 * include/ctype.h: Likewise.
8813 * include/errno.h: Likewise.
8814 * include/libc-symbols.h: Likewise.
8815 * include/math.h: Likewise.
8816 * include/netdb.h: Likewise.
8817 * include/resolv.h: Likewise.
8818 * include/stdio.h: Likewise.
8819 * include/stdlib.h: Likewise.
8820 * include/string.h: Likewise.
8821 * include/sys/stat.h: Likewise.
8822 * include/wctype.h: Likewise.
8823 * intl/l10nflist.c: Likewise.
8824 * libidn/idn-stub.c: Likewise.
8825 * libio/libioP.h: Likewise.
8826 * nptl/libc_multiple_threads.c: Likewise.
8827 * nptl/pthreadP.h: Likewise.
8828 * posix/regex_internal.h: Likewise.
8829 * resolv/res_hconf.c: Likewise.
8830 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
8831 * sysdeps/arm/memmove.S: Likewise.
8832 * sysdeps/arm/sysdep.h: Likewise.
8833 * sysdeps/generic/_itoa.h: Likewise.
8834 * sysdeps/generic/symbol-hacks.h: Likewise.
8835 * sysdeps/gnu/errlist.awk: Likewise.
8836 * sysdeps/gnu/errlist.c: Likewise.
8837 * sysdeps/i386/i586/memcpy.S: Likewise.
8838 * sysdeps/i386/i586/memset.S: Likewise.
8839 * sysdeps/i386/i686/memcpy.S: Likewise.
8840 * sysdeps/i386/i686/memmove.S: Likewise.
8841 * sysdeps/i386/i686/mempcpy.S: Likewise.
8842 * sysdeps/i386/i686/memset.S: Likewise.
8843 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8844 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8845 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
8846 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
8847 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8848 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8849 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
8850 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8851 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8852 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8853 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8854 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8855 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8856 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8857 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8858 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8859 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
8860 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
8861 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
8862 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8863 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8864 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8865 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8866 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8867 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8868 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8869 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
8870 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8871 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
8872 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8873 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8874 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8875 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8876 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8877 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8878 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8879 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8880 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8881 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8882 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8883 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8884 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8885 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8886 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8887 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8888 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8889 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
8890 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
8891 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8892 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8893 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8894 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
8895 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
8896 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8897 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8898 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
8899 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8900 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
8901 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
8902 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8903 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8904 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8905 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
8906 * sysdeps/nptl/bits/libc-lock.h: Likewise.
8907 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8908 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
8909 * sysdeps/posix/closedir.c: Likewise.
8910 * sysdeps/posix/opendir.c: Likewise.
8911 * sysdeps/posix/readdir.c: Likewise.
8912 * sysdeps/posix/rewinddir.c: Likewise.
8913 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
8914 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
8915 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8916 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8917 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8918 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
8919 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
8920 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
8921 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
8922 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
8923 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
8924 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
8925 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
8926 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
8927 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
8928 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
8929 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
8930 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
8931 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
8932 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
8933 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
8934 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
8935 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
8936 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
8937 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
8938 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
8939 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
8940 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
8941 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
8942 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
8943 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
8944 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
8945 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
8946 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
8947 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
8948 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
8949 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8950 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8951 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
8952 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
8953 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
8954 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
8955 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
8956 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
8957 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
8958 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
8959 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
8960 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
8961 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
8962 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
8963 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
8964 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
8965 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
8966 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
8967 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
8968 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
8969 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
8970 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
8971 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
8972 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
8973 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
8974 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
8975 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
8976 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
8977 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
8978 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
8979 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
8980 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
8981 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
8982 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
8983 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
8984 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
8985 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
8986 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
8987 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
8988 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
8989 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
8990 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
8991 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8992 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
8993 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
8994 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8995 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
8996 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
8997 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8998 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
8999 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
9000 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9001 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9002 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9003 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
9004 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
9005 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
9006 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9007 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9008 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
9009 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9010 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9011 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
9012 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
9013 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9014 * sysdeps/unix/alpha/sysdep.S: Likewise.
9015 * sysdeps/unix/alpha/sysdep.h: Likewise.
9016 * sysdeps/unix/make-syscalls.sh: Likewise.
9017 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9018 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9019 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9020 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
9021 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9022 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
9023 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
9024 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9025 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9026 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
9027 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9028 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9029 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9030 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9031 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9032 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9033 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9034 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9035 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9036 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9037 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
9038 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9039 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9040 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9041 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9042 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9043 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9046 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
9047 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9048 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9049 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9050 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9051 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9052 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9053 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9054 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9055 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9056 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9057 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9058 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9059 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9060 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9061 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9062 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9063 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9064 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9065 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9066 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9067 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9068 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9069 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9070 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9071 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
9072 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9073 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9074 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9075 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
9076 * sysdeps/x86_64/memcpy.S: Likewise.
9077 * sysdeps/x86_64/memmove.c: Likewise.
9078 * sysdeps/x86_64/memset.S: Likewise.
9079 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
9080 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9081 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9082 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
9083 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9084 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9085 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9086 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9087 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9088 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9089 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9090 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9091 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
9092 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9093 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9094 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
9095 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9096 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9097 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9098 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9099 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
9100 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9101 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9102 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9103 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9104 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9105 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9106 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
9107 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9108 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9109 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
9110 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9111 * sysdeps/x86_64/strcmp.S: Likewise.
9112
9113 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
9114
9115 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
9116 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
9117 * elf/rtld-Rules: Likewise.
9118 * elf/setup-vdso.h: Likewise.
9119 * include/assert.h: Likewise.
9120 * include/bits/stdlib-float.h: Likewise.
9121 * include/errno.h: Likewise.
9122 * include/sys/stat.h: Likewise.
9123 * include/unistd.h: Likewise.
9124 * sysdeps/aarch64/setjmp.S: Likewise.
9125 * sysdeps/alpha/setjmp.S: Likewise.
9126 * sysdeps/arm/__longjmp.S: Likewise.
9127 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
9128 * sysdeps/arm/setjmp.S: Likewise.
9129 * sysdeps/arm/sysdep.h: Likewise.
9130 * sysdeps/generic/_itoa.h: Likewise.
9131 * sysdeps/generic/dl-sysdep.h: Likewise.
9132 * sysdeps/generic/ldsodefs.h: Likewise.
9133 * sysdeps/i386/dl-tls.h: Likewise.
9134 * sysdeps/i386/setjmp.S: Likewise.
9135 * sysdeps/m68k/setjmp.c: Likewise.
9136 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
9137 * sysdeps/mach/hurd/opendir.c: Likewise.
9138 * sysdeps/posix/getcwd.c: Likewise.
9139 * sysdeps/posix/opendir.c: Likewise.
9140 * sysdeps/posix/profil.c: Likewise.
9141 * sysdeps/powerpc/dl-procinfo.h: Likewise.
9142 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9143 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9144 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9145 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9146 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
9147 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
9148 * sysdeps/s390/dl-tls.h: Likewise.
9149 * sysdeps/s390/s390-32/setjmp.S: Likewise.
9150 * sysdeps/s390/s390-64/setjmp.S: Likewise.
9151 * sysdeps/sh/sh3/setjmp.S: Likewise.
9152 * sysdeps/sh/sh4/setjmp.S: Likewise.
9153 * sysdeps/unix/alpha/sysdep.h: Likewise.
9154 * sysdeps/unix/arm/sysdep.S: Likewise.
9155 * sysdeps/unix/i386/sysdep.S: Likewise.
9156 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9157 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9158 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9159 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9160 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9161 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9162 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9163 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9164 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9165 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9166 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
9167 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9168 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9171 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9172 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9173 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9174 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9175 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9176 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9177 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9178 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9179 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9180 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9181 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9182 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9183 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9184 * sysdeps/x86_64/setjmp.S: Likewise.
9185
9186 * include/math.h: Use IS_IN instead of IS_IN_libm.
9187 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
9188 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9189 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9190 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9191 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9192 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9193 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9194 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9195 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9196 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9197 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
9198 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
9199 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
9200 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
9201 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
9202 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
9203 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
9204 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
9205 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
9206 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
9207 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
9208 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
9209 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
9210 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
9211 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
9212 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
9213 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
9214 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
9215 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
9216 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
9217 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
9218 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9219 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
9221 Likewise.
9222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
9223 Likewise.
9224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
9225 Likewise.
9226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
9227 Likewise.
9228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
9229 Likewise.
9230 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9231 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
9232 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9233 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9234 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9235 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
9237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
9238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
9239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
9240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
9241 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
9242 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
9243 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9244 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9245 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9246 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9247 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9248 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9249 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9250 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
9251 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
9252 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
9253 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
9254 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
9255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9256 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
9257
9258 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
9259 * nptl/pthreadP.h: Likewise.
9260 * nptl_db/structs.def: Likewise.
9261 * sysdeps/arm/sysdep.h: Likewise.
9262 * sysdeps/nptl/bits/libc-lock.h: Likewise.
9263 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9264 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
9265 * sysdeps/unix/alpha/sysdep.h: Likewise.
9266 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9267 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9268 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9269 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9270 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9271 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9272 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9273 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9274 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9275 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9276 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9277 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9278 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9279 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9282 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9283 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9284 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9285 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9286 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9287 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9288 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9289 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9290 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
9291 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9292
9293 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
9294 * nptl/pthreadP.h: Likewise.
9295 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9296 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9297 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9298 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9299 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9300 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9301 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9302 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9303 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9304 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9305 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9306 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9308 Likewise.
9309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9310 Likewise.
9311 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9312 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9313 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9314 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9315 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9316 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9317 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9318 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9319
9320 * dlfcn/dladdr.c: Use IS_IN.
9321 * dlfcn/dladdr1.c: Likewise.
9322 * dlfcn/dlclose.c: Likewise.
9323 * dlfcn/dlerror.c: Likewise.
9324 * dlfcn/dlinfo.c: Likewise.
9325 * dlfcn/dlmopen.c: Likewise.
9326 * dlfcn/dlopen.c: Likewise.
9327 * dlfcn/dlsym.c: Likewise.
9328 * dlfcn/dlvsym.c: Likewise.
9329
9330 * include/ifaddrs.h: Use IS_IN.
9331 * inet/check_pf.c: Likewise.
9332 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9333 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
9334
9335 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
9336 IS_IN_ldconfig.
9337 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
9338 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
9339
9340 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
9341 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
9342 IS_IN (libc).
9343
9344 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
9345
9346 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
9347 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9348 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9349 * include/libc-symbols.h (IS_IN_LIB): New macro.
9350 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
9351 * include/netdb.h: Likewise.
9352 * include/stap-probe.h: Remove all uses of IN_LIB.
9353
9354 * Makeconfig (module-cppflags-real): Define MODULE_NAME
9355 instead of IN_MODULE.
9356 * include/libc-symbols.h (IN_MODULE): Define using
9357 MODULE_NAME.
9358 (PASTE_NAME, PASTE_NAME1): New macros.
9359 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
9360 of IN_LIB.
9361 (STAP_PROBE_ASM): Likewise.
9362
9363 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
9364
9365 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
9366 __mach_init in dlopened libc.
9367
9368 2014-11-22 Mike Frysinger <vapier@gentoo.org>
9369
9370 * sysdeps/arm/preconfigure.ac: Delete EABI check.
9371 * sysdeps/arm/preconfigure: Regenerate.
9372
9373 2014-11-21 Roland McGrath <roland@hack.frob.com>
9374
9375 * nptl/pthread_create.c (__pthread_create_2_1): Set
9376 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
9377 when copying values from IATTR into PD.
9378
9379 2014-11-21 Will Newton <will.newton@linaro.org>
9380 Andrew Pinski <andrew.pinski@caviumnetworks.com>
9381
9382 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
9383 Refactor inline-asm. Also add comment.
9384
9385 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
9386 ElfW macro instead of hardcoded Elf64 types.
9387 (la_aarch64_gnu_pltenter): Likewise.
9388 * sysdeps/aarch64/dl-machine.h
9389 (elf_machine_runtime_setup): Use ElfW(Addr).
9390
9391 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
9392 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
9393 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
9394 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
9395 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
9396 (R_AARCH64_TLS_DTPMOD64): Rename to ..
9397 (R_AARCH64_TLS_DTPMOD): This.
9398 (R_AARCH64_TLS_DTPREL64): Rename to ...
9399 (R_AARCH64_TLS_DTPREL): This.
9400 (R_AARCH64_TLS_TPREL64): Rename to ...
9401 (R_AARCH64_TLS_TPREL): This.
9402 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
9403 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
9404 R_AARCH64_TLS_TPREL64.
9405 (elf_machine_rela): Likewise.
9406
9407 2014-11-21 Torvald Riegel <triegel@redhat.com>
9408
9409 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
9410 by setting it to 0. 64b atomics are not supported currently.
9411
9412 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9413
9414 [BZ #16469]
9415 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
9416 search domain names.
9417
9418 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9419
9420 [BZ #16469]
9421 * NEWS: Update.
9422 * resolv/res_query.c (__libc_res_nquerydomain): Retain
9423 trailing dot.
9424 * posix/tst-getaddrinfo5.c: New.
9425 * posix/Makefile (tests): Add it.
9426
9427 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9428
9429 [BZ #14498]
9430 * NEWS: Fixed.
9431 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
9432 after parsing line but before break_if_match.
9433 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
9434 if there is a protocol mismatch.
9435
9436 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
9437
9438 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
9439 because the potential race is on the user-supplied stream.
9440
9441 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9442
9443 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
9444 string literal if not passed a buffer.
9445 * manual/job.texi (ctermid): Update reasoning, note deviation
9446 from posix, suggest mtasurace when not passed a buffer, for
9447 future non-preliminary safety notes.
9448
9449 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9450
9451 * manual/users.texi (cuserid): Fix MT-Safety note for the case
9452 of not passing it a buffer.
9453 Reported by Peng Haitao.
9454
9455 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9456
9457 * manual/Makefile ($(objpfx)stamp-summary): Require
9458 check-safety.sh to pass.
9459 * manual/check-safety.sh: Wish for verification that every
9460 @deftypefn and @deftypefun is followed by a @safety remark.
9461
9462 2014-11-20 Roland McGrath <roland@hack.frob.com>
9463
9464 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
9465
9466 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
9467 PTHREAD_CANCEL_ASYNCHRONOUS.
9468 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
9469 send SIGCANCEL.
9470
9471 * nptl/default-sched.h: New file.
9472 * sysdeps/unix/sysv/linux/default-sched.h: New file.
9473 * nptl/pthread_create.c: Include it.
9474 (__pthread_create_2_1): Use collect_default_sched instead of making
9475 Linux syscalls here directly.
9476
9477 2014-11-20 Torvald Riegel <triegel@redhat.com>
9478
9479 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
9480 __pthread_once): Use C11 atomics.
9481
9482 2014-11-20 Torvald Riegel <triegel@redhat.com>
9483
9484 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
9485
9486 2014-11-20 Torvald Riegel <triegel@redhat.com>
9487
9488 * include/atomic.h (__atomic_link_error, __atomic_check_size,
9489 atomic_thread_fence_acquire, atomic_thread_fence_release,
9490 atomic_thread_fence_seq_cst, atomic_load_relaxed,
9491 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
9492 atomic_compare_exchange_weak_relaxed,
9493 atomic_compare_exchange_weak_acquire,
9494 atomic_compare_exchange_weak_release,
9495 atomic_exchange_acquire, atomic_exchange_release,
9496 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
9497 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
9498 atomic_fetch_and_acquire,
9499 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
9500
9501 2014-11-20 Torvald Riegel <triegel@redhat.com>
9502
9503 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
9504 USE_ATOMIC_COMPILER_BUILTINS): Define.
9505 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
9506 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9507 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
9508 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9509 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
9510 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9511 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
9512 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9513 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
9514 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9515 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
9516 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9517 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
9518 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9519 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
9520 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9521 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9522 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9523 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9524 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9525 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
9526 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9527 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9528 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9529 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
9530 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9531 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9532 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9533 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
9534 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9535 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
9536 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9537 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
9538 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9539 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9540 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9541 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
9542 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9543 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
9544 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9545
9546 2014-11-19 Roland McGrath <roland@hack.frob.com>
9547
9548 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
9549 the sched_priority value here. It was already checked when the user
9550 called pthread_attr_setschedparam.
9551
9552 * nptl/tst-bad-schedattr.c: New file.
9553 * nptl/Makefile (tests): Add it.
9554
9555 2014-11-19 Carlos O'Donell <carlos@redhat.com>
9556 Florian Weimer <fweimer@redhat.com>
9557 Joseph Myers <joseph@codesourcery.com>
9558 Adam Conrad <adconrad@0c3.net>
9559 Andreas Schwab <schwab@suse.de>
9560 Brooks <bmoses@google.com>
9561
9562 [BZ #17625]
9563 * wordexp-test.c (__dso_handle): Add prototype.
9564 (__register_atfork): Likewise.
9565 (__app_register_atfork): New function.
9566 (registered_forks): New global.
9567 (register_fork): New function.
9568 (test_case): Add 3 new tests for WRDE_CMDSUB.
9569 (main): Call __app_register_atfork.
9570 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
9571 fork count is non-zero fail the test.
9572 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
9573 is set.
9574 (parse_dollars): Remove check for WRDE_NOCMD.
9575 (parse_dquote): Likewise.
9576
9577 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9578
9579 * Makeconfig (built-modules): List non-library modules to be
9580 built.
9581 (module-cppflags): Include libc-modules.h for
9582 everything except shlib-versions.v.i.
9583 (CPPFLAGS): Use it.
9584 (before-compile): Add libc-modules.h.
9585 ($(common-objpfx)libc-modules.h,
9586 $(common-objpfx)libc-modules.stmp): New targets.
9587 (common-generated): Add libc-modules.h and libc-modules.stmp.
9588 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
9589 * include/libc-symbols.h: Don't include libc-modules.h.
9590 * include/libc-modules.h: Remove file.
9591 * scripts/gen-libc-modules.awk: New script to generate
9592 libc-modules.h.
9593 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
9594 Depend on libc-modules.stmp.
9595
9596 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
9597
9598 * Makeconfig (in-module): Get value of libof set for the
9599 translation unit.
9600 (CPPFLAGS): Use $(in-module).
9601 * Makerules: Don't suffix routine names for nonlib.
9602 * include/libc-modules.h: New file.
9603 * include/libc-symbols.h: Include libc-modules.h
9604 (IS_IN): New macro to replace IS_IN_* macros.
9605 * elf/Makefile: Set libof-* for each routine.
9606 * elf/rtld-Rules: Likewise.
9607 * extra-modules.mk: Likewise.
9608 * iconv/Makefile: Likewise.
9609 * iconvdata/Makefile: Likewise.
9610 * locale/Makefile: Likewise.
9611 * malloc/Makefile: Likewise.
9612 * nss/Makefile: Likewise.
9613 * sysdeps/gnu/Makefile: Likewise.
9614 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
9615 * sysdeps/unix/sysv/linux/Makefile: Likewise.
9616 * sysdeps/s390/s390-64/Makefile: Likewise.
9617 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
9618 CPPFLAGS for nscd instead of nonlib.
9619
9620 2014-11-18 Roland McGrath <roland@hack.frob.com>
9621
9622 * nptl/createthread.c: New file.
9623
9624 * nptl/createthread.c: Moved ...
9625 * sysdeps/unix/sysv/linux/createthread.c: ... here.
9626
9627 * nptl/createthread.c: Add proper top-line comment.
9628 (do_clone): Folded into ...
9629 (create_thread): ... here. Take new arguments STOPPED_START and
9630 THREAD_RAN. Always set PD->stopped_start to something here. Don't
9631 increment __nptl_threads, do event-reporting logic, do
9632 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
9633 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
9634 resource cleanup if sched_setaffinity or sched_setscheduler fails,
9635 just send SIGCANCEL.
9636 * nptl/pthread_create.c: Forward-declare create_thread before
9637 including createthread.c.
9638 (start_thread): Use new macro START_THREAD_DEFN to replace defining
9639 declaration, and new macro START_THREAD_SELF to replace argument.
9640 Remove return statement.
9641 (report_thread_creation): New function.
9642 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
9643 synchronization logic, and __nptl_nthreads increment here, around
9644 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
9645 PD->parent_cancelhandling here, before create_thread. When
9646 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
9647 __deallocate_stack, and ENOMEM translation here.
9648
9649 2014-11-18 Joseph Myers <joseph@codesourcery.com>
9650
9651 [BZ #17616]
9652 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
9653 (mptwo): Rename to __mptwo.
9654 (__inv): Use __mptwo instead of mptwo.
9655 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
9656 (mptwo): Rename to __mptwo.
9657 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
9658 of mpone and __mptwo instead of mptwo.
9659 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
9660 instead of mpone.
9661 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9662 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
9663 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
9664 of mpone and __mptwo instead of mptwo.
9665 (__mpranred): Use __mpone instead of mpone.
9666 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
9667 variable.
9668 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9669 (test-xfail-ISO99/math.h/linknamespace): Likewise.
9670 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9671 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9672 (test-xfail-ISO11/math.h/linknamespace): Likewise.
9673 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9674 (test-xfail-XPG3/math.h/linknamespace): Likewise.
9675 (test-xfail-XPG4/math.h/linknamespace): Likewise.
9676 (test-xfail-POSIX/math.h/linknamespace): Likewise.
9677 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9678 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9679 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9680 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9681 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9682 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9683 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9684 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9685 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9686 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9687
9688 2014-11-18 Tom de Vries <tom@codesoucery.com>
9689
9690 * manual/signal.texi (Primitives Interrupted by Signals): In section,
9691 replace BSD Handler xref with BSD Signal Handling.
9692
9693 2014-11-17 Richard Henderson <rth@redhat.com>
9694
9695 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
9696 (_FP_PACK_RAW_2): Remove.
9697 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
9698 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
9699 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
9700 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
9701 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
9702 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
9703 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
9704 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
9705 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
9706 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
9707 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
9708 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
9709 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
9710 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
9711 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
9712 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
9713
9714 2014-11-14 Roland McGrath <roland@hack.frob.com>
9715
9716 * signal/signal.h [__USE_MISC]
9717 (struct sigvec): Remove type.
9718 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
9719 (sigvec): Remove declaration.
9720 * sysdeps/posix/sigvec.c: Moved ...
9721 * signal/sigvec.c: ... here, replacing old file.
9722 (struct sigvec): New type, copied from old signal.h definition.
9723 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
9724 (__sigvec): Convert definition to prototype.
9725 (sigvec): Replace weak_alias with compat_symbol.
9726 * signal/Versions (libc: GLIBC_2.21): New version set.
9727 * include/signal.h: Remove __sigvec declaration.
9728 * sysdeps/unix/bsd/sigvec.c: Remove file.
9729 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
9730 * manual/signal.texi (BSD Handler): Remove subsection.
9731 Move siginterrupt up to ...
9732 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
9733 (Blocking in BSD): Fold subsection into its parent.
9734 * NEWS: Mention sigvec removal.
9735
9736 2014-11-14 Joseph Myers <joseph@codesourcery.com>
9737
9738 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
9739 (DLA_FMS): Make definition conditional only on [__FMA4__].
9740 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
9741 definition.
9742
9743 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
9744 Make definition conditional only on [PROF].
9745 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
9746 definition.
9747 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
9748 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
9749
9750 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
9751 !__GNUC__].
9752 * include/signal.h (__sigpause): Move declaration above call to
9753 libc_hidden_proto.
9754 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
9755 variable.
9756 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9757 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9758
9759 2014-11-14 David S. Miller <davem@davemloft.net>
9760
9761 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
9762 Define before including <string/memcpy.c> and <string/mempcpy.c>.
9763
9764 2014-11-14 Joseph Myers <joseph@codesourcery.com>
9765
9766 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
9767 * configure: Regenerated.
9768 * manual/install.texi (Tools for Compilation): Document a
9769 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
9770 compiler verified to work.
9771 * INSTALL: Regenerated.
9772
9773 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
9774 redeclare with asm name.
9775 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
9776 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
9777 including <string.h>.
9778 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9779 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
9780 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9781 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
9782 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9783 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9784 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9785
9786 2014-11-13 Joseph Myers <joseph@codesourcery.com>
9787
9788 * stdlib/strtol.c (__strtol): Use prototype definition.
9789
9790 [BZ #17594]
9791 * stdlib/strtol.c (SYM__): New macro.
9792 (SYM__1): Likewise.
9793 (__strtol): Likewise.
9794 (strtol): Rename to __strtol and define as weak alias of
9795 __strtol. Use libc_hidden_weak.
9796
9797 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9798
9799 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
9800 Use numbered labels in inline assembly.
9801
9802 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9803
9804 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
9805 Add setjmp LIBC_PROBE.
9806 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
9807 Likewise.
9808 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
9809 Add longjmp, longjmp_target LIBC_PROBE.
9810 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
9811 Likewise.
9812
9813 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9814
9815 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9816 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
9817 to get rid of unused variable warning.
9818
9819 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9820
9821 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
9822 Check for unwind_backtrace == NULL only in SHARED case.
9823 (__backchain_backtrace): Compile only in SHARED case.
9824 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
9825 Likewise.
9826 (__backchain_backtrace): Declare as static.
9827
9828 2014-11-12 Roland McGrath <roland@hack.frob.com>
9829
9830 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
9831 (__libc_multiple_threads_ptr): Variable moved ...
9832 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
9833
9834 2014-11-12 Joseph Myers <joseph@codesourcery.com>
9835
9836 * conform/GlibcConform.pm: New file.
9837 * conform/conformtest.pl: Use GlibcConform module.
9838 * conform/linknamespace.pl: New file.
9839 * conform/list-header-symbols.pl: Likewise.
9840 * conform/Makefile (linknamespace-symlists-base): New variable.
9841 (linknamespace-symlists-tests): Likewise.
9842 (linknamespace-header-base): Likewise.
9843 (linknamespace-header-tests): Likewise.
9844 (tests-special): Add new tests.
9845 ($(linknamespace-symlists-tests)): New rule.
9846 (linknamespace-libs): New variable.
9847 ($(objpfx)symlist-stdlibs): New rule.
9848 ($(linknamespace-header-tests)): Likewise.
9849 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
9850 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
9851 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
9852 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
9853 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
9854 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
9855 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
9856 (test-xfail-ISO/math.h/linknamespace): Likewise.
9857 (test-xfail-ISO/signal.h/linknamespace): Likewise.
9858 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
9859 (test-xfail-ISO/time.h/linknamespace): Likewise.
9860 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9861 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
9862 (test-xfail-ISO99/math.h/linknamespace): Likewise.
9863 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9864 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9865 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9866 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9867 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
9868 (test-xfail-ISO11/math.h/linknamespace): Likewise.
9869 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9870 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9871 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9872 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
9873 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
9874 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
9875 (test-xfail-XPG3/math.h/linknamespace): Likewise.
9876 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
9877 (test-xfail-XPG3/search.h/linknamespace): Likewise.
9878 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
9879 (test-xfail-XPG3/time.h/linknamespace): Likewise.
9880 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
9881 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
9882 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
9883 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
9884 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
9885 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
9886 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
9887 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
9888 (test-xfail-XPG4/math.h/linknamespace): Likewise.
9889 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
9890 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
9891 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
9892 (test-xfail-XPG4/search.h/linknamespace): Likewise.
9893 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
9894 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
9895 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
9896 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
9897 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
9898 (test-xfail-XPG4/time.h/linknamespace): Likewise.
9899 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
9900 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
9901 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
9902 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
9903 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
9904 (test-xfail-POSIX/math.h/linknamespace): Likewise.
9905 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
9906 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
9907 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
9908 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9909 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
9910 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9911 (test-xfail-POSIX/time.h/linknamespace): Likewise.
9912 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
9913 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
9914 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9915 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
9916 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
9917 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
9918 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
9919 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9920 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9921 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9922 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
9923 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
9924 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9925 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9926 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
9927 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9928 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
9929 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
9930 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
9931 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
9932 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9933 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9934 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
9935 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9936 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
9937 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
9938 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
9939 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
9940 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9941 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
9942 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
9943 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
9944 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
9945 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
9946 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9947 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9948 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
9949 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
9950 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
9951 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
9952 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9953 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
9954 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
9955 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
9956 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
9957 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
9958 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
9959 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9960 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9961 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
9962 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
9963 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9964 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9965 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
9966 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
9967 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
9968 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
9969 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9970 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
9971 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
9972 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
9973 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
9974 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9975 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
9976 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9977 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
9978 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9979 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
9980 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
9981 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
9982 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9983 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9984 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9985 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9986 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
9987 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9988 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9989 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
9990 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
9991 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
9992 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
9993 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9994 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9995 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
9996 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9997 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
9998 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9999 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
10000 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
10001 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
10002 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
10003 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
10004 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10005 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10006 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
10007 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10008 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10009 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
10010
10011 [BZ #17589]
10012 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
10013 of fgets_unlocked.
10014
10015 [BZ #17585]
10016 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
10017 (memmem): Rename to __memmem and define as weak alias of
10018 __memmem. Use libc_hidden_weak.
10019 (__memmem): Use libc_hidden_def.
10020 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
10021 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
10022 memmem.
10023
10024 [BZ #17582]
10025 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
10026 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
10027 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
10028 and define as weak alias of __fgets_unlocked. Use
10029 libc_hidden_weak.
10030 (__fgets_unlocked): Use libc_hidden_def.
10031 * include/stdio.h (__fgets_unlocked): Declare. Use
10032 libc_hidden_proto.
10033 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
10034 __fgets_unlocked instead of fgets_unlocked.
10035 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
10036 (GET_NPROCS_CONF_PARSER): Likewise.
10037 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
10038 (GET_NPROCS_CONF_PARSER): Likewise.
10039
10040 [BZ #17574]
10041 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
10042 weak alias of __wmemset. Use libc_hidden_weak.
10043 (__wmemset): Use libc_hidden_def.
10044 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
10045 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
10046 of wmemset.
10047
10048 [BZ #17573]
10049 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
10050 with asm name __mempcpy.
10051 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
10052
10053 [BZ #17572]
10054 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
10055 and define as weak alias of __rawmemchr.
10056 (__rawmemchr): Do not define as strong alias of rawmemchr.
10057
10058 [BZ #17571]
10059 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
10060 alias of __qsort_r.
10061 (qsort): Call __qsort_r instead of qsort_r.
10062 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
10063 (__qsort_r): Declare. Call libc_hidden_proto.
10064 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
10065 instead of qsort_r.
10066 * nscd/gai.c (__qsort_r): Define to qsort_r.
10067 * posix/tst-rfc3484.c (__qsort_r): Likewise.
10068 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
10069 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
10070
10071 [BZ #17570]
10072 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
10073 define as weak alias of __malloc_info.
10074
10075 [BZ #17584]
10076 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
10077 as weak alias of __rewinddir. Don't use libc_hidden_def.
10078 (__rewinddir): Use libc_hidden_def.
10079 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
10080 as weak alias of __rewinddir. Don't use libc_hidden_def.
10081 (__rewinddir): Use libc_hidden_def.
10082 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
10083 weak alias of __rewinddir. Don't use libc_hidden_def.
10084 (__rewinddir): Use libc_hidden_def.
10085 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
10086 (__rewinddir): Use libc_hidden_proto.
10087 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
10088 rewinddir.
10089 (__getcwd): Use __rewinddir instead of rewinddir.
10090
10091 [BZ #17583]
10092 * libio/fileno.c (fileno): Rename to __fileno and define as weak
10093 alias of __fileno. Use libc_hidden_weak.
10094 (__fileno): Use libc_hidden_def.
10095 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
10096 * libio/ftello.c (ftello): Rename to __ftello and define as weak
10097 alias of __ftello.
10098 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
10099 __ftello.
10100 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
10101 (__fread_unlocked): Define as strong alias of _IO_fread. Use
10102 libc_hidden_def.
10103 (fread_unlocked): Don't use libc_hidden_ver.
10104 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
10105 and define as weak alias of __fread_unlocked. Don't use
10106 libc_hidden_def.
10107 (__fread_unlocked): Use libc_hidden_def.
10108 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
10109 (ftello): Don't use libc_hidden_proto.
10110 (__ftello): Declare. Use libc_hidden_proto.
10111 (fread_unlocked): Don't use libc_hidden_proto.
10112 (__fread_unlocked): Declare. Use libc_hidden_proto.
10113 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
10114 and __ftello instead of fileno, fread_unlocked and ftello.
10115
10116 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10117
10118 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
10119 GOT12.
10120 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10121 Likewise.
10122 (_dl_start_user): Likewise.
10123 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
10124
10125 2014-11-12 Carlos O'Donell <carlos@redhat.com>
10126 Siddhesh Poyarekar <siddhesh@redhat.com>
10127
10128 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
10129 Move argv and envp down instead of moving argc up.
10130 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
10131
10132 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
10133
10134 [BZ #17506]
10135 * test-skeleton.c (main): Return successful if one of
10136 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
10137 * string/tst-strcoll-overflow.c: Define expected status.
10138
10139 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
10140
10141 [BZ #17475]
10142 * locale/iso-639.def: Define Bhili and Tulu language codes.
10143
10144 2014-11-11 Alan Hayward <alan.hayward@arm.com>
10145
10146 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
10147
10148 2014-11-10 Renlin Li <Renlin.Li@arm.com>
10149
10150 [BZ #17555]
10151 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
10152
10153 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
10154
10155 * configure.ac: Updated check of minimal required version to
10156 2.22.
10157 * manual/install.texi (Tools for Compilation): Updated version
10158 number.
10159 * configure: Regenerated.
10160 * INSTALL: Likewise.
10161
10162 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
10163
10164 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
10165 __tls_get_addr.
10166
10167 2014-11-07 Joseph Myers <joseph@codesourcery.com>
10168
10169 * include/sys/wait.h (__libc_waitpid): Remove declaration.
10170 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
10171 (__waitpid): Don't define as alias. Use libc_hidden_def not
10172 libc_hidden_weak.
10173 (waitpid): Define as alias of __waitpid.
10174 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
10175 __waitpid.
10176 (__waitpid): Don't define as alias. Use libc_hidden_def not
10177 libc_hidden_weak.
10178 (waitpid): Define as alias of __waitpid.
10179 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
10180 __libc_waitpid alias.
10181 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
10182 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
10183 Likewise.
10184 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
10185 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
10186 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
10187 alias.
10188 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
10189 __waitpid.
10190 (__waitpid): Don't define as alias. Use libc_hidden_def not
10191 libc_hidden_weak.
10192 (waitpid): Define as alias of __waitpid.
10193
10194 2014-11-06 Carlos O'Donell <carlos@redhat.com>
10195
10196 * manual/llio.texi: Add comment that write safety has been
10197 fixed in Linux.
10198
10199 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
10200 (localplt-build-dso): Add elf/ld.so.
10201 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
10202 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
10203 and free for ld.so.
10204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
10205 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
10206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
10207 Likewise.
10208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10209 Likewise.
10210 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
10211 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
10212 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
10213 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
10214 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10215 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
10216 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
10217 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
10218 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10219 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
10220 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
10221
10222 2014-11-05 Joseph Myers <joseph@codesourcery.com>
10223
10224 [BZ #14132]
10225 * include/libc-symbols.h (INTUSE): Remove macro.
10226 (INTDEF): Likewise.
10227 (INTVARDEF): Likewise.
10228 (_INTVARDEF): Likewise.
10229 (INTDEF2): Likewise.
10230 (INTVARDEF2): Likewise.
10231 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
10232 rtld_hidden_def instead of INTVARDEF.
10233 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
10234 (_dl_starting_up_internal): Remove declaration.
10235 (_dl_starting_up): Use rtld_hidden_proto.
10236 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
10237 declaration.
10238 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
10239 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
10240 _dl_starting_up.
10241 * elf/dl-writev.h (_dl_writev): Likewise.
10242 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
10243 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
10244 _dl_starting_up_internal.
10245
10246 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10247
10248 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
10249 test-skeleton.c.
10250
10251 2014-11-05 Will Newton <will.newton@linaro.org>
10252
10253 * benchtests/Makefile: (bench-malloc): Add malloc thread
10254 scalability benchmark.
10255 * benchtests/bench-malloc-threads.c: New file.
10256
10257 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
10258
10259 * sysdeps/aarch64/strchrnul.S: New file.
10260
10261 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10262
10263 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
10264 definition.
10265 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10266 Likwise.
10267 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10268 Likewise.
10269 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10270 Likewise.
10271 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10272 Likewise.
10273 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10274 Likewise.
10275
10276 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
10277
10278 * catgets/test-gencat.c: Use test-skeleton.c.
10279 * catgets/tst-catgets.c: Likewise.
10280 * csu/tst-empty.c: Likewise.
10281 * elf/tst-audit2.c: Likewise.
10282 * elf/tst-global1.c: Likewise.
10283 * elf/tst-pathopt.c: Likewise.
10284 * elf/tst-piemod1.c: Likewise.
10285 * elf/tst-tls10.c: Likewise.
10286 * elf/tst-tls11.c: Likewise.
10287 * elf/tst-tls12.c: Likewise.
10288 * gnulib/tst-gcc.c: Likewise.
10289 * iconvdata/tst-e2big.c: Likewise.
10290 * iconvdata/tst-loading.c: Likewise.
10291 * iconv/tst-iconv1.c: Likewise.
10292 * iconv/tst-iconv2.c: Likewise.
10293 * inet/test-inet6_opt.c: Likewise.
10294 * inet/tst-gethnm.c: Likewise.
10295 * inet/tst-network.c: Likewise.
10296 * inet/tst-ntoa.c: Likewise.
10297 * intl/tst-codeset.c: Likewise.
10298 * intl/tst-gettext2.c: Likewise.
10299 * intl/tst-gettext3.c: Likewise.
10300 * intl/tst-ngettext.c: Likewise.
10301 * intl/tst-translit.c: Likewise.
10302 * io/test-stat.c: Likewise.
10303 * libio/test-fmemopen.c: Likewise.
10304 * libio/tst-freopen.c: Likewise.
10305 * libio/tst-sscanf.c: Likewise.
10306 * libio/tst-ungetwc1.c: Likewise.
10307 * libio/tst-ungetwc2.c: Likewise.
10308 * libio/tst-widetext.c: Likewise.
10309 * localedata/tst-ctype.c: Likewise.
10310 * localedata/tst-digits.c: Likewise.
10311 * localedata/tst-leaks.c: Likewise.
10312 * localedata/tst-mbswcs1.c: Likewise.
10313 * localedata/tst-mbswcs2.c: Likewise.
10314 * localedata/tst-mbswcs3.c: Likewise.
10315 * localedata/tst-mbswcs4.c: Likewise.
10316 * localedata/tst-mbswcs5.c: Likewise.
10317 * localedata/tst-setlocale.c: Likewise.
10318 * localedata/tst-trans.c: Likewise.
10319 * localedata/tst-wctype.c: Likewise.
10320 * localedata/tst-xlocale1.c: Likewise.
10321 * login/tst-grantpt.c: Likewise.
10322 * malloc/tst-calloc.c: Likewise.
10323 * malloc/tst-malloc.c: Likewise.
10324 * malloc/tst-mallocstate.c: Likewise.
10325 * malloc/tst-mcheck.c: Likewise.
10326 * malloc/tst-mtrace.c: Likewise.
10327 * malloc/tst-obstack.c: Likewise.
10328 * math/atest-exp2.c: Likewise.
10329 * math/atest-exp.c: Likewise.
10330 * math/atest-sincos.c: Likewise.
10331 * math/test-matherr.c: Likewise.
10332 * math/test-misc.c: Likewise.
10333 * math/test-powl.c: Likewise.
10334 * math/tst-definitions.c: Likewise.
10335 * misc/tst-dirname.c: Likewise.
10336 * misc/tst-efgcvt.c: Likewise.
10337 * misc/tst-fdset.c: Likewise.
10338 * misc/tst-hsearch.c: Likewise.
10339 * misc/tst-mntent2.c: Likewise.
10340 * nptl/tst-sem7.c: Likewise.
10341 * nptl/tst-sem8.c: Likewise.
10342 * nptl/tst-sem9.c: Likewise.
10343 * nss/test-netdb.c: Likewise.
10344 * posix/tst-fnmatch.c: Likewise.
10345 * posix/tst-getlogin.c: Likewise.
10346 * posix/tst-gnuglob.c: Likewise.
10347 * posix/tst-mmap.c: Likewise.
10348 * pwd/tst-getpw.c: Likewise.
10349 * resolv/tst-inet_ntop.c: Likewise.
10350 * rt/tst-timer.c: Likewise.
10351 * stdio-common/test-fseek.c: Likewise.
10352 * stdio-common/test-popen.c: Likewise.
10353 * stdio-common/test-vfprintf.c: Likewise.
10354 * stdio-common/tst-cookie.c: Likewise.
10355 * stdio-common/tst-fileno.c: Likewise.
10356 * stdio-common/tst-gets.c: Likewise.
10357 * stdio-common/tst-obprintf.c: Likewise.
10358 * stdio-common/tst-perror.c: Likewise.
10359 * stdio-common/tst-sprintf2.c: Likewise.
10360 * stdio-common/tst-sprintf3.c: Likewise.
10361 * stdio-common/tst-sprintf.c: Likewise.
10362 * stdio-common/tst-swprintf.c: Likewise.
10363 * stdio-common/tst-tmpnam.c: Likewise.
10364 * stdio-common/tst-unbputc.c: Likewise.
10365 * stdio-common/tst-wc-printf.c: Likewise.
10366 * stdlib/tst-environ.c: Likewise.
10367 * stdlib/tst-fmtmsg.c: Likewise.
10368 * stdlib/tst-limits.c: Likewise.
10369 * stdlib/tst-rand48-2.c: Likewise.
10370 * stdlib/tst-rand48.c: Likewise.
10371 * stdlib/tst-random2.c: Likewise.
10372 * stdlib/tst-random.c: Likewise.
10373 * stdlib/tst-strtol.c: Likewise.
10374 * stdlib/tst-strtoll.c: Likewise.
10375 * stdlib/tst-tls-atexit.c: Likewise.
10376 * stdlib/tst-xpg-basename.c: Likewise.
10377 * string/test-ffs.c: Likewise.
10378 * string/tst-bswap.c: Likewise.
10379 * string/tst-inlcall.c: Likewise.
10380 * string/tst-strtok.c: Likewise.
10381 * string/tst-strxfrm.c: Likewise.
10382 * sysdeps/x86_64/tst-audit10.c: Likewise.
10383 * sysdeps/x86_64/tst-audit3.c: Likewise.
10384 * sysdeps/x86_64/tst-audit4.c: Likewise.
10385 * sysdeps/x86_64/tst-audit5.c: Likewise.
10386 * time/tst-ftime_l.c: Likewise.
10387 * time/tst-getdate.c: Likewise.
10388 * time/tst-mktime3.c: Likewise.
10389 * time/tst-mktime.c: Likewise.
10390 * time/tst-posixtz.c: Likewise.
10391 * time/tst-strptime2.c: Likewise.
10392 * time/tst-strptime3.c: Likewise.
10393 * wcsmbs/tst-btowc.c: Likewise.
10394 * wcsmbs/tst-mbrtowc.c: Likewise.
10395 * wcsmbs/tst-mbsrtowcs.c: Likewise.
10396 * wcsmbs/tst-wchar-h.c: Likewise.
10397 * wcsmbs/tst-wcpncpy.c: Likewise.
10398 * wcsmbs/tst-wcrtomb.c: Likewise.
10399 * wcsmbs/tst-wcsnlen.c: Likewise.
10400 * wcsmbs/tst-wcstof.c: Likewise.
10401
10402 2014-11-04 Joseph Myers <joseph@codesourcery.com>
10403
10404 [BZ #14132]
10405 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
10406 INTDEF.
10407 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
10408 declaration.
10409 (_dl_mcount): Use rtld_hidden_proto.
10410 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
10411 _dl_mcount.
10412 * elf/rtld.c (_rtld_global_ro): Likewise.
10413
10414 [BZ #14132]
10415 * elf/dl-init.c (_dl_init): Don't use INTDEF.
10416 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
10417 of _dl_init_internal.
10418 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
10419 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
10420 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
10421 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
10422 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
10423 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
10424 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
10425 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
10426 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
10427 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
10428 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
10429 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
10430 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10431 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10432 * sysdeps/tile/dl-start.S (_start): Likewise.
10433 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
10434 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
10435
10436 [BZ #14132]
10437 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
10438 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
10439 (rtld_progname): Make macro definition unconditional.
10440 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
10441 INTDEF.
10442 (dlmopen_doit): Do not use INTUSE with _dl_argv.
10443 (dl_main): Likewise.
10444 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10445 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
10446 instead of _dl_argv_internal.
10447 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10448 __GI__dl_argv instead of INTUSE(_dl_argv).
10449 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
10450 __GI__dl_argv instead of _dl_argv_internal.
10451
10452 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
10453 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
10454 macro.
10455 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
10456 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
10457 New macro.
10458 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
10459 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
10460 macro.
10461 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
10462 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
10463
10464 2014-11-04 Andreas Schwab <schwab@suse.de>
10465
10466 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
10467
10468 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10469
10470 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
10471 mtvsrd instruction in binary form.
10472
10473 2014-11-03 Andreas Schwab <schwab@suse.de>
10474
10475 [BZ #17522]
10476 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
10477 for less than MB_LEN_MAX use a local buffer of that size.
10478 * libio/tst-fputws.c: New file.
10479 * libio/Makefile (tests): Add tst-fputws.
10480
10481 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
10482
10483 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
10484 the size of the fpu_fr.fpu_dregs[] array.
10485
10486 2014-11-01 Joseph Myers <joseph@codesourcery.com>
10487
10488 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
10489 (__nanosleep): Do not define as alias.
10490 (nanosleep): Define as alias of __nanosleep.
10491 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
10492 __libc_nanosleep name.
10493
10494 2014-10-31 Joseph Myers <joseph@codesourcery.com>
10495
10496 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
10497 install.texi in comment.
10498
10499 2014-10-31 Torvald Riegel <triegel@redhat.com>
10500
10501 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
10502 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
10503 ... add here and use lwsync or sync ...
10504 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
10505 ... and add here using lwsync.
10506
10507 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
10508
10509 * elf/dl-machine-reject-phdr.h: New file.
10510 * elf/dl-load.c: #include that.
10511 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
10512 if that returned true.
10513
10514 2014-10-31 Roland McGrath <roland@hack.frob.com>
10515
10516 [BZ #17496]
10517 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
10518 gen-as-const-headers chunk. Add a big scare comment after the last
10519 safe place to touch before-compile.
10520
10521 2014-10-31 Joseph Myers <joseph@codesourcery.com>
10522
10523 * manual/install.texi (Tools for Compilation): Update autoconf
10524 version requirements.
10525 * INSTALL: Regenerated.
10526
10527 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
10528 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
10529 (__libc_pselect): Likewise.
10530
10531 [BZ #14138]
10532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
10533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10536
10537 2014-10-31 Torvald Riegel <triegel@redhat.com>
10538
10539 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
10540 correct barrier instruction.
10541 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
10542 Likewise.
10543 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
10544 Likewise.
10545
10546 2014-10-30 Roland McGrath <roland@hack.frob.com>
10547
10548 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
10549 after defining inlines. Instead, just use parens to defeat macro
10550 expansion of __isctype in its declaration.
10551
10552 2014-10-30 Joseph Myers <joseph@codesourcery.com>
10553
10554 * include/sys/uio.h (__libc_readv): Remove declaration.
10555 (__libc_writev): Likewise.
10556 * misc/readv.c (__libc_readv): Rename to __readv.
10557 (__readv): Do not define as alias.
10558 (readv): Define as alias of __readv.
10559 * misc/writev.c (__libc_writev): Rename to __writev.
10560 (__writev): Do not define as alias.
10561 (writev): Define as alias of __writev.
10562 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
10563 (__readv): Do not define as alias.
10564 (readv): Define unconditionally as alias of __readv.
10565 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
10566 (__writev): Do not define as alias.
10567 (writev): Define unconditionally as alias of __writev.
10568 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
10569 name.
10570 (writev): Do not define __libc_writev name.
10571
10572 2014-10-30 Roland McGrath <roland@hack.frob.com>
10573
10574 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
10575 (convert_charseq): New function, broken out of ...
10576 (use_from_charmap): ... here. Call it.
10577 (use_to_charmap): Use convert_charseq and free instead of duplicating
10578 its code with a variable-length stack struct.
10579
10580 2014-10-30 Joseph Myers <joseph@codesourcery.com>
10581
10582 * include/fcntl.h (__libc_creat): Remove declaration.
10583 * io/creat.c (__libc_creat): Rename to creat.
10584 (creat): Do not define as alias.
10585 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
10586 of creat instead of __libc_creat.
10587 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
10588 to creat.
10589 (creat): Do not define as alias.
10590 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
10591 __libc_creat.
10592 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
10593 __libc_creat name.
10594 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
10595 Likewise.
10596
10597 2014-10-29 Carlos O'Donell <carlos@redhat.com>
10598
10599 * manual/llio.texi: Add comments discussing why write() may be
10600 considered MT-unsafe on Linux.
10601
10602 2014-10-28 Carlos O'Donell <carlos@redhat.com>
10603
10604 * dl-load.c (local_strdup): Remove.
10605 (expand_dynamic_string_token): Use __strdup.
10606 (decompose_rpath): Likewise.
10607 (_dl_map_object): Likewise.
10608
10609 2014-10-28 Joseph Myers <joseph@codesourcery.com>
10610
10611 [BZ #14132]
10612 * sysdeps/generic/unwind-dw2-fde.c
10613 (__register_frame_info_bases_internal): Do not declare.
10614 (__register_frame_info_table_bases_internal): Likewise.
10615 (__deregister_frame_info_bases_internal): Likewise.
10616 (__register_frame_info_bases): Declare and use hidden_proto before
10617 definition. Use hidden_def instead of INTDEF.
10618 (__register_frame_info_table_bases): Likewise.
10619 (__deregister_frame_info_bases): Likewise.
10620 (__register_frame_info): Do not use INTUSE.
10621 (__register_frame): Likewise.
10622 (__register_frame_info_table): Likewise.
10623 (__register_frame_table): Likewise.
10624 (__deregister_frame_info): Likewise.
10625 (__deregister_frame): Likewise.
10626
10627 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
10628
10629 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10630 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
10631 not undefine.
10632 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
10633 Likewise.
10634 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
10635 Likewise.
10636
10637 2014-10-27 Joseph Myers <joseph@codesourcery.com>
10638
10639 [BZ #14138]
10640 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
10641 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
10642 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
10643 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
10644 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
10645 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
10646 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
10647 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
10648 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
10649 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
10650 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
10651 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
10652 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
10653 syscall.
10654 (setfsuid): Likewise.
10655 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
10656 (setfsuid): Likewise.
10657 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
10658 (setfsuid): Likewise.
10659 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
10660 Likewise.
10661 (setfsuid): Likewise.
10662 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
10663 (setfsuid): Likewise.
10664 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
10665 Likewise.
10666 (setfsuid): Likewise.
10667
10668 2014-10-27 Andreas Schwab <schwab@suse.de>
10669
10670 [BZ #17501]
10671 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
10672 check for Slow_SSE4_2 feature bit.
10673 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
10674 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10675 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
10676 Likewise. Fix check for Fast_Unaligned_Load feature bit.
10677
10678 2014-10-24 Roland McGrath <roland@hack.frob.com>
10679
10680 * configure.ac: Validate compiler version with a empirical test of
10681 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
10682 $CC -v output.
10683 * configure: Regenerated.
10684
10685 * inet/htons.c (htons): Prototypify.
10686 * inet/htonl.c (htonl): Likewise.
10687
10688 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10689
10690 * string/strncat.c (strncat): Improve performance by using strlen.
10691
10692 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10693
10694 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
10695
10696 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10697
10698 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
10699 Call libc_fetestexcept_aarch64.
10700
10701 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10702
10703 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
10704 Call libc_feholdexcept_aarch64.
10705
10706 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10707
10708 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
10709 Call get_rounding_mode.
10710
10711 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10712
10713 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10714 Simplify logic.
10715
10716 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10717
10718 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
10719 Simplify logic.
10720
10721 2014-10-24 Joseph Myers <joseph@codesourcery.com>
10722
10723 [BZ #14138]
10724 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
10725 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
10726 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
10727 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
10728 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
10729 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
10730 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
10731 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
10732 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
10733 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
10734 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10735 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
10736 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
10737 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
10738 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
10739 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
10740 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
10741 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
10742 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
10743 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
10744 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
10745 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
10746 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
10747 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
10748 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
10749 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
10750 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
10751 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
10752 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
10753 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
10754 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
10755 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
10756 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
10757 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
10758 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
10759 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
10760 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
10761 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
10762 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
10763 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
10764 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
10765 syscall.
10766 (geteuid): Likewise.
10767 (getgid): Likewise.
10768 (getuid): Likewise.
10769 (getresgid): Likewise.
10770 (getresuid): Likewise.
10771 (getgroups): Likewise.
10772 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
10773 (geteuid): Likewise.
10774 (getgid): Likewise.
10775 (getuid): Likewise.
10776 (getresgid): Likewise.
10777 (getresuid): Likewise.
10778 (getgroups): Likewise.
10779 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
10780 (geteuid): Likewise.
10781 (getgid): Likewise.
10782 (getuid): Likewise.
10783 (getresgid): Likewise.
10784 (getresuid): Likewise.
10785 (getgroups): Likewise.
10786 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
10787 Likewise.
10788 (geteuid): Likewise.
10789 (getgid): Likewise.
10790 (getuid): Likewise.
10791 (getresgid): Likewise.
10792 (getresuid): Likewise.
10793 (getgroups): Likewise.
10794 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
10795 (geteuid): Likewise.
10796 (getgid): Likewise.
10797 (getuid): Likewise.
10798 (getresgid): Likewise.
10799 (getresuid): Likewise.
10800 (getgroups): Likewise.
10801 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
10802 Likewise.
10803 (geteuid): Likewise.
10804 (getgid): Likewise.
10805 (getuid): Likewise.
10806 (getgroups): Likewise.
10807
10808 [BZ #14138]
10809 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
10810 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
10811 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
10812 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10813 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
10814 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
10815 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
10816 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
10817 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
10818 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
10819 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
10820 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
10821 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
10822 __chown.
10823 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
10824 (lchown): Likewise.
10825 (fchown): Likewise.
10826 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
10827 Likewise.
10828 (lchown): Likewise.
10829 (fchown): Likewise.
10830 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
10831 (lchown): Likewise.
10832 (fchown): Likewise.
10833 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
10834 Likewise.
10835 (lchown): Likewise.
10836 (fchown): Likewise.
10837
10838 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10839
10840 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
10841 Simplify logic.
10842
10843 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10844
10845 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10846 Cleanup logic.
10847
10848 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10849
10850 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10851 Remove unused include.
10852
10853 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10854
10855 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
10856 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
10857 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
10858 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
10859
10860 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
10861 Helge Deller <deller@gmx.de>
10862
10863 [BZ #17508]
10864 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
10865 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
10866 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
10867
10868 2014-10-23 Joseph Myers <joseph@codesourcery.com>
10869
10870 [BZ #14132]
10871 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
10872 Remove macro definition.
10873 (__ashrdi3_v_glibc20): Likewise.
10874 (__lshrdi3_v_glibc20): Likewise.
10875 (__cmpdi2_v_glibc20): Likewise.
10876 (__ucmpdi2_v_glibc20): Likewise.
10877 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
10878 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10879 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10880 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10881 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10882 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
10883
10884 2014-10-22 Roland McGrath <roland@hack.frob.com>
10885
10886 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
10887 old GNU extension [0] syntax.
10888 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
10889 alloca rather than an array member with variable length.
10890 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
10891 * nscd/nscd.c (invalidate_db): New function, broken out of ...
10892 (parse_opt): ... here. Likewise use alloca there.
10893 Validate the -i argument before checking for rootness.
10894 (send_shutdown): New function, broken out of ...
10895 (parse_opt): ... here.
10896
10897 2014-10-22 Roland McGrath <roland@hack.frob.com>
10898
10899 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
10900 macro to get at the _rt_local_ro field.
10901 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
10902 ([PIC] case) or _dl_hwcap ([!PIC] case).
10903 * sysdeps/arm/setjmp.S: Likewise.
10904
10905 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
10906 * sysdeps/arm/configure.ac: New check to define it.
10907 * sysdeps/arm/configure: Regenerated.
10908 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
10909 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
10910 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
10911 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
10912 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
10913 Use move/movt pair instead of a load.
10914 (LDST_GLOBAL): Macro removed.
10915 (LDR_GLOBAL): New macro replaces it.
10916 (LDR_HIDDEN): New macro.
10917 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
10918 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
10919
10920 * setjmp/tst-setjmp-static.c: New file.
10921 * setjmp/Makefile (tests): Add it.
10922 (tests-static): New variable.
10923
10924 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
10925
10926 [BZ #17485]
10927 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
10928
10929 2014-10-21 Joseph Myers <joseph@codesourcery.com>
10930
10931 [BZ #14132]
10932 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
10933
10934 2014-10-21 Roland McGrath <roland@hack.frob.com>
10935
10936 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
10937
10938 2014-10-20 Roland McGrath <roland@hack.frob.com>
10939
10940 * io/fts.c (dirent_not_directory): New function.
10941 (fts_build): Call it.
10942
10943 2014-10-20 Roland McGrath <roland@hack.frob.com>
10944
10945 * nptl/version.c (__nptl_main): Use normal __write rather than
10946 INTERNAL_SYSCALL.
10947 (banner): Update copyright years.
10948
10949 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
10950 gettimeofday.
10951 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10952 * nptl/pthread_cond_timedwait.c: Likewise.
10953 * nptl/pthread_mutex_timedlock.c: Likewise.
10954 * nptl/sem_timedwait.c: Likewise.
10955
10956 * sysdeps/nptl/bits/libc-lock.h
10957 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10958 (__libc_lock_init_recursive): Return void, not 0.
10959 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
10960 (__libc_rwlock_init): Likewise.
10961 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
10962
10963 2014-10-20 Torvald Riegel <triegel@redhat.com>
10964
10965 [BZ #15215]
10966 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
10967 (__pthread_once_slow): ... here.
10968 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
10969 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
10970
10971 2014-10-20 Torvald Riegel <triegel@redhat.com>
10972
10973 [BZ #15215]
10974 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
10975 __PTHREAD_ONCE_FORK_GEN_INCR): New.
10976 * sysdeps/nptl/fork.c (__libc_fork): Use them.
10977 * nptl/pthread_once.c (__pthread_once): Likewise.
10978 Update comments.
10979
10980 2014-10-20 Joseph Myers <joseph@codesourcery.com>
10981
10982 [BZ #14138]
10983 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
10984 name.
10985 (writev): Use __libc_writev as strong name.
10986 * sysdeps/unix/sysv/linux/readv.c: Remove file.
10987 * sysdeps/unix/sysv/linux/writev.c: Likewise.
10988
10989 2014-10-17 Roland McGrath <roland@hack.frob.com>
10990
10991 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
10992
10993 * sysdeps/i386/nptl/tls.h
10994 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
10995 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
10996 New macros.
10997 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
10998 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
10999 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
11000 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
11001 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
11002 Call CHECK_THREAD_SYSINFO instead of doing an assert.
11003
11004 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11005 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
11006 on [__NR_futex].
11007 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
11008 broken out of ...
11009 (__pthread_mutex_init): ... here. Call it.
11010 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
11011 Conditionalize PI cases on [__NR_futex].
11012 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
11013 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11014 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11015
11016 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
11017 conditional on [SIGSETXID].
11018 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
11019 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
11020 is defined. Likewise for SIGSETXID.
11021 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
11022 Conditionalize definitions on [SIGSETXID].
11023 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
11024 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
11025 unblocking on [SIGCANCEL].
11026
11027 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
11028 [__NR_set_robust_list].
11029
11030 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11031
11032 * string/strcoll_l.c (get_next_seq): Fix up formatting.
11033 (do_compare): Likewise.
11034
11035 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
11036
11037 [BZ #15884]
11038 * string/strcoll_l.c: Don't include stdio.h.
11039 (coll_seq): Remove members idxarr and rulearr.
11040 (get_next_seq_cached): Remove function.
11041 (get_next_seq): Likewise.
11042 (get_next_seq_nocache): Rename to get_next_seq.
11043 (do_compare): Remove function.
11044 (do_compare_nocache): Rename to do_compare.
11045 (STRCOLL): Remove weight and rules cache.
11046
11047 2014-10-16 Roland McGrath <roland@hack.frob.com>
11048
11049 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
11050 * sysdeps/arm/sfp-machine.h: ... to here.
11051 * sysdeps/arm/Implies: Remove arm/soft-fp.
11052
11053 2014-10-14 Joseph Myers <joseph@codesourcery.com>
11054
11055 * conform/data/sys/utsname.h-data (*_t): Allow.
11056 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
11057 [POSIX] (WEXITED): Do not expect constant.
11058 [POSIX] (WSTOPPED): Likewise.
11059 [POSIX] (WNOHANG): Likewise.
11060 [POSIX] (WNOWAIT): Likewise.
11061 [POSIX] (siginfo_t): Do not expect type or elements.
11062 [POSIX] (pid_t): Do not expect type.
11063 [POSIX] (signal.h): Do not allow header.
11064 [POSIX] (sys/resource.h): Likewise.
11065 [POSIX] (si_*): Do not allow pattern.
11066 [POSIX] (W*): Likewise.
11067 [POSIX] (P_*): Likewise.
11068 [POSIX] (BUS_*): Likewise.
11069 [POSIX] (CLD_*): Likewise.
11070 [POSIX] (FPE_*): Likewise.
11071 [POSIX] (ILL_*): Likewise.
11072 [POSIX] (POLL_*): Likewise.
11073 [POSIX] (SEGV_*): Likewise.
11074 [POSIX] (SI_*): Likewise.
11075 [POSIX] (TRAP_*): Likewise.
11076 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
11077 variable.
11078
11079 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
11080
11081 [BZ #12926]
11082 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
11083 infinite loop when __recvmsg returns 0.
11084
11085 2014-10-10 Joseph Myers <joseph@codesourcery.com>
11086
11087 * CANCEL-FCT-WAIVE: Remove file.
11088 * CANCEL-FILE-WAIVE: Likewise.
11089
11090 [BZ #14132]
11091 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
11092 instead of INTVARDEF.
11093 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11094 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
11095 rtld_hidden_data_def instead of INTVARDEF.
11096 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11097 * elf/dl-deps.c (expand_dst): Likewise.
11098 * elf/dl-load.c (_dl_dst_count): Likewise.
11099 (_dl_dst_substitute): Likewise.
11100 (decompose_rpath): Likewise.
11101 (_dl_init_paths): Likewise.
11102 (open_path): Likewise.
11103 (_dl_map_object): Likewise.
11104 * elf/rtld.c (dl_main): Likewise.
11105 (process_dl_audit): Likewise.
11106 (process_envvars): Likewise.
11107 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
11108 Remove declaration.
11109 (__libc_enable_secure): Use rtld_hidden_proto.
11110
11111 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11112
11113 * elf/dl-load.c
11114 (add_path): New function broken out of _dl_rtld_di_serinfo.
11115 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
11116
11117 2014-10-09 Joseph Myers <joseph@codesourcery.com>
11118
11119 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
11120 parentheses around macro arguments.
11121 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
11122 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
11123 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
11124 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
11125 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
11126 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11127 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11128 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
11129 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
11130 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
11131 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
11132 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
11133 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
11134 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
11135 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
11136 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
11137 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
11138 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
11139 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
11140 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
11141 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
11142 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
11143 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
11144 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11145 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11146 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
11147 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
11148 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
11149 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
11150 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
11151 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
11152 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
11153 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
11154 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
11155 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
11156 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
11157 Likewise.
11158 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
11159 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11160 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11161 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
11162 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
11163 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
11164 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
11165 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
11166 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
11167 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
11168 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
11169 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
11170 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
11171 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
11172 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
11173 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11174 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11175 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
11176 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
11177 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
11178 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
11179 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
11180 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
11181 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
11182 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
11183 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
11184 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
11185 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
11186 (_FP_FRAC_SRS_1): Likewise.
11187 (_FP_FRAC_CLZ_1): Likewise.
11188 (_FP_MUL_MEAT_1_imm): Likewise.
11189 (_FP_MUL_MEAT_1_wide): Likewise.
11190 (_FP_MUL_MEAT_1_hard): Likewise.
11191 (_FP_SQRT_MEAT_1): Likewise.
11192 (_FP_FRAC_ASSEMBLE_1): Likewise.
11193 (_FP_FRAC_DISASSEMBLE_1): Likewise.
11194 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
11195 (__FP_CLZ_2): Likewise.
11196 (_FP_MUL_MEAT_2_wide): Likewise.
11197 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
11198 (_FP_MUL_MEAT_2_gmp): Likewise.
11199 (_FP_MUL_MEAT_2_120_240_double): Likewise.
11200 (_FP_SQRT_MEAT_2): Likewise.
11201 (_FP_FRAC_ASSEMBLE_2): Likewise.
11202 (_FP_FRAC_DISASSEMBLE_2): Likewise.
11203 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
11204 (_FP_FRAC_CLZ_4): Likewise.
11205 (_FP_MUL_MEAT_4_wide): Likewise.
11206 (_FP_MUL_MEAT_4_gmp): Likewise.
11207 (_FP_SQRT_MEAT_4): Likewise.
11208 (_FP_FRAC_ASSEMBLE_4): Likewise.
11209 (_FP_FRAC_DISASSEMBLE_4): Likewise.
11210 * soft-fp/op-common.h (_FP_CMP): Likewise.
11211 (_FP_CMP_EQ): Likewise.
11212 (_FP_CMP_UNORD): Likewise.
11213 (_FP_TO_INT): Likewise.
11214 (_FP_FROM_INT): Likewise.
11215 [!__FP_CLZ] (__FP_CLZ): Likewise.
11216 (_FP_DIV_HELP_imm): Likewise.
11217 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
11218 Likewise.
11219 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
11220 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
11221 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
11222 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
11223 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
11224 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11225 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11226 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
11227 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
11228 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
11229 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
11230 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
11231 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
11232 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
11233 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
11234 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
11235 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
11236 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
11237 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
11238 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
11239 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
11240 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
11241 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
11242 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11243 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11244 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
11245 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
11246 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
11247 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
11248 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
11249 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
11250 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
11251 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
11252 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
11253 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
11254 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
11255 (FP_UNPACK_RAW_SP): Likewise.
11256 (FP_PACK_RAW_S): Likewise.
11257 (FP_PACK_RAW_SP): Likewise.
11258 (FP_UNPACK_S): Likewise.
11259 (FP_UNPACK_SP): Likewise.
11260 (FP_UNPACK_SEMIRAW_S): Likewise.
11261 (FP_UNPACK_SEMIRAW_SP): Likewise.
11262 (FP_PACK_S): Likewise.
11263 (FP_PACK_SP): Likewise.
11264 (FP_PACK_SEMIRAW_S): Likewise.
11265 (FP_PACK_SEMIRAW_SP): Likewise.
11266 (_FP_SQRT_MEAT_S): Likewise.
11267 (FP_CMP_S): Likewise.
11268 (FP_CMP_EQ_S): Likewise.
11269 (FP_CMP_UNORD_S): Likewise.
11270 (FP_TO_INT_S): Likewise.
11271 (FP_FROM_INT_S): Likewise.
11272
11273 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
11274
11275 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
11276 (FP_EX_INVALID_IMZ): Likewise.
11277 (FP_EX_INVALID_IMZ_FMA): Likewise.
11278 (FP_EX_INVALID_ISI): Likewise.
11279 (FP_EX_INVALID_ZDZ): Likewise.
11280 (FP_EX_INVALID_IDI): Likewise.
11281 (FP_EX_INVALID_SQRT): Likewise.
11282 (FP_EX_INVALID_CVI): Likewise.
11283 (FP_EX_INVALID_VC): Likewise.
11284 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
11285 "invalid" exceptions.
11286 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
11287 (_FP_ADD_INTERNAL): Likewise.
11288 (_FP_MUL): Likewise.
11289 (_FP_FMA): Likewise.
11290 (_FP_DIV): Likewise.
11291 (_FP_CMP_CHECK_NAN): Likewise.
11292 (_FP_SQRT): Likewise.
11293 (_FP_TO_INT): Likewise.
11294 (FP_EXTEND): Likewise.
11295
11296 2014-10-09 Allan McRae <allan@archlinux.org>
11297
11298 * po/fr.po: Update French translation from translation project.
11299
11300 2014-10-09 Joseph Myers <joseph@codesourcery.com>
11301
11302 [BZ #14132]
11303 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
11304 of INTDEF.
11305 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
11306 (__cxa_atexit): Use libc_hidden_proto.
11307 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
11308
11309 [BZ #14132]
11310 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
11311 declaration.
11312 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
11313 [!_ISOMAC] (__iswspace_l_internal): Likewise.
11314 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
11315 [!_ISOMAC] (__iswctype_internal): Likewise.
11316 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
11317 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
11318 alias.
11319 (fcntl): Remove __fcntl_internal alias.
11320 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
11321 __connect_internal alias.
11322 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
11323 Likewise.
11324
11325 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
11326 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
11327 FP_DENORM_ZERO.
11328 (_FP_CHECK_FLUSH_ZERO): New macro.
11329 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
11330 (_FP_CMP): Likewise.
11331 (_FP_CMP_EQ): Likewise.
11332 (_FP_TO_INT): Do not set inexact for subnormal arguments if
11333 FP_DENORM_ZERO.
11334 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
11335 (FP_TRUNC): Likewise.
11336
11337 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
11338 treated as invalid conversion, not as normal exponent.
11339
11340 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
11341 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
11342 (_FP_CMP_EQ): Likewise.
11343 (_FP_CMP_UNORD): Likewise.
11344 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
11345 (FP_CMP_EQ_D): Likewise.
11346 (FP_CMP_UNORD_D): Likewise.
11347 * soft-fp/extended.h (FP_CMP_E): Likewise.
11348 (FP_CMP_EQ_E): Likewise.
11349 (FP_CMP_UNORD_E): Likewise.
11350 * soft-fp/quad.h (FP_CMP_Q): Likewise.
11351 (FP_CMP_EQ_Q): Likewise.
11352 (FP_CMP_UNORD_Q): Likewise.
11353 * soft-fp/single.h (FP_CMP_S): Likewise.
11354 (FP_CMP_EQ_S): Likewise.
11355 (FP_CMP_UNORD_S): Likewise.
11356 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
11357 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
11358 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
11359 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
11360 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
11361 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
11362 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
11363 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
11364 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
11365 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
11366 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
11367 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
11368 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
11369 to FP_CMP_Q.
11370 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
11371 FP_CMP_Q.
11372 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
11373 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
11374 FP_CMP_EQ_Q.
11375 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
11376 FP_CMP_Q.
11377 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
11378 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
11379 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
11380 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
11381 FP_CMP_EQ_Q.
11382 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
11383 FP_CMP_Q.
11384 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
11385 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
11386 FP_CMP_EQ_Q.
11387 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
11388 FP_CMP_Q.
11389 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
11390 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
11391 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
11392 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
11393 FP_CMP_EQ_Q.
11394
11395 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
11396 a subnormal result, set the underflow exception if trapping on
11397 underflow is enabled.
11398 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
11399 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
11400 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
11401 redefine to 0.
11402 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
11403 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11404 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11405 * soft-fp/extendxftf2.c (__extendxftf2): Use
11406 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
11407
11408 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
11409 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
11410 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11411 FP_HANDLE_EXCEPTIONS.
11412 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
11413 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11414 FP_HANDLE_EXCEPTIONS.
11415 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
11416 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11417 FP_HANDLE_EXCEPTIONS.
11418 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
11419 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11420 FP_HANDLE_EXCEPTIONS.
11421
11422 2014-10-08 Joseph Myers <joseph@codesourcery.com>
11423
11424 [BZ #14132]
11425 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
11426 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
11427 use INTUSE.
11428 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
11429 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
11430 Remove alias.
11431 (__adjtimex): Define using libc_hidden_ver.
11432 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
11433 Remove declaration.
11434 (ntp_gettime): Call __adjtimex directly.
11435 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
11436 Remove declaration.
11437 (ntp_gettimex): Call __adjtimex directly.
11438 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
11439 __adjtimex_internal alias.
11440
11441 2014-10-08 Roland McGrath <roland@hack.frob.com>
11442
11443 [BZ #17460]
11444 * nscd/nscd.c (more_help): Rewrite list of tables collection
11445 using xstrdup and asprintf.
11446
11447 * nscd/nscd_conf.c: Remove local xstrdup declaration.
11448
11449 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11450 Roland McGrath <roland@hack.frob.com>
11451
11452 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
11453 (do_lookup_unique): ... local function 'enter' here; update callers.
11454
11455 2014-10-06 Joseph Myers <joseph@codesourcery.com>
11456
11457 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
11458 compat_symbol calls on [SHARED].
11459 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
11460 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
11461 Remove.
11462 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11463 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
11464 (oldsetrlimit): Remove.
11465 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11467 (lchown): New syscall entry.
11468 (oldsetrlimit): Remove.
11469 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11470 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
11471 (oldsetrlimit): Remove.
11472 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11473
11474 [BZ #14138]
11475 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
11476 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
11477 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
11478 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
11479 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11480 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
11481 (fchown): Likewise.
11482 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
11483 (fchown): Likewise.
11484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
11485 Likewise.
11486
11487 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11488
11489 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
11490 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
11491 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
11492 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
11493 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
11494 Likewise.
11495 (__old_sem_post): Likewise.
11496
11497 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
11498
11499 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
11500 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
11501 HAVE_CLOCK_GETTIME_VSYSCALL macros.
11502 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
11503 Use INLINE_VSYSCALL macro.
11504 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
11505 __vdso_clock_gettime.
11506 * sysdeps/unix/sysv/linux/tile/init-first.c
11507 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
11508 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
11509 __vdso_clock_gettime.
11510
11511 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
11512 to set up frame more cleanly.
11513
11514 * sysdeps/tile/memcmp.c: New file.
11515
11516 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
11517
11518 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
11519 * sysdeps/tile/tilegx/strcasestr.c: New file.
11520 * sysdeps/tile/tilegx/strnlen.c: New file.
11521 * sysdeps/tile/tilegx/strstr.c: New file.
11522
11523 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
11524
11525 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
11526
11527 * nptl/tst-setuid3.c: Write errors to stdout.
11528
11529 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11530
11531 * elf/dl-deps.c
11532 (preload): New functions broken out of _dl_map_object_deps.
11533 (_dl_map_object_deps): Remove a nested function. Update call sites.
11534
11535 2014-10-01 Joseph Myers <joseph@codesourcery.com>
11536
11537 [BZ #14138]
11538 * sysdeps/unix/sysv/linux/execve.c: Remove file.
11539 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
11540
11541 2014-10-01 Steve Ellcey <sellcey@mips.com>
11542
11543 * sysdeps/mips/strcmp.S: New.
11544
11545 2014-09-30 Joseph Myers <joseph@codesourcery.com>
11546
11547 [BZ #14138]
11548 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
11549 (linkat): Likewise.
11550 (mkdirat): Likewise.
11551 (readlinkat): Likewise.
11552 (renameat): Likewise.
11553 (symlinkat): Likewise.
11554 (unlinkat): Likewise.
11555 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
11556 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
11557 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
11558 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
11559 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11560 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
11561 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
11562
11563 2014-09-30 Will Newton <will.newton@linaro.org>
11564
11565 * math/math.h: Define long double math functions if
11566 _LIBC_TEST is defined.
11567 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
11568
11569 * localedata/Makefile: Move assignment to tests-special
11570 into an ifdef testing run-built-tests.
11571 * timezone/Makefile: Likewise.
11572
11573 2014-09-29 Joseph Myers <joseph@codesourcery.com>
11574
11575 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
11576 with $(BASH) not $(SHELL).
11577
11578 2014-09-29 Carlos O'Donell <carlos@redhat.com>
11579 Matthew LeGendre <legendre1@llnl.gov>
11580
11581 [BZ #17411]
11582 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
11583 l_reloc_result.
11584
11585 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11586
11587 * stdio-common/printf_fp.c
11588 (hack_digit): New function, broken out of ...
11589 (__printf_fp): ... local function here. Update call sites.
11590 hack_digit now takes an additional parameter that is a pointer
11591 to a struct of the referenced locals. Those locals moved inside
11592 the struct and references updated.
11593
11594 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
11595
11596 * aclocal.m4: Require autoconf 2.69.
11597 * configure: Regenerated.
11598 * sysdeps/aarch64/configure: Likewise.
11599 * sysdeps/alpha/configure: Likewise.
11600 * sysdeps/arm/armv7/configure: Likewise.
11601 * sysdeps/arm/configure: Likewise.
11602 * sysdeps/ia64/configure: Likewise.
11603 * sysdeps/mach/configure: Likewise.
11604 * sysdeps/mips/configure: Likewise.
11605 * sysdeps/s390/configure: Likewise.
11606 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
11607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
11608
11609 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
11610 file.
11611 * sysdeps/ia64/configure.ac: Likewise.
11612
11613 2014-09-26 Joseph Myers <joseph@codesourcery.com>
11614
11615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
11616 specify symbol version for ld.so. Do not include entry for
11617 libpthread.
11618 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11619 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11620 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11621
11622 [BZ #14171]
11623 * Makeconfig [$(build-shared) = yes]
11624 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
11625 makefiles.
11626 [$(build-shared) = yes && $(soversions.mk-done) = t]
11627 ($(common-objpfx)gnu/lib-names.h): Remove rule.
11628 [$(build-shared) = yes && $(soversions.mk-done) = t]
11629 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
11630 to Makerules.
11631 [$(build-shared) = yes && $(soversions.mk-done) = t]
11632 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
11633 here.
11634 [$(build-shared) = yes && $(soversions.mk-done) = t]
11635 (common-generated): Don't append gnu/lib-names.h and
11636 gnu/lib-names.stmp here.
11637 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
11638 (lib-names-h-abi): New variable.
11639 [$(build-shared) = yes && $(soversions.mk-done) = t]
11640 (lib-names-stmp-abi): Likewise.
11641 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11642 abi-variants] (before-compile): Append
11643 $(common-objpfx)$(lib-names-h-abi).
11644 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11645 abi-variants] (common-generated): Append gnu/lib-names.h.
11646 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11647 abi-variants] (install-others-nosubdir): Depend on
11648 $(inst_includedir)/$(lib-names-h-abi).
11649 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11650 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
11651 [$(build-shared) = yes && $(soversions.mk-done) = t]
11652 ($(common-objpfx)$(lib-names-h-abi)): New rule.
11653 [$(build-shared) = yes && $(soversions.mk-done) = t]
11654 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
11655 [$(build-shared) = yes && $(soversions.mk-done) = t]
11656 (common-generated): Append $(lib-names-h-abi) and
11657 $(lib-names-stmp-abi).
11658 * scripts/lib-names.awk: Do not handle multi being set.
11659 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
11660 Remove variable.
11661 (abi-lp64_be-ld-soname): Likewise.
11662 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
11663 Likewise.
11664 (abi-hard-ld-soname): Likewise.
11665 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
11666 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
11667 Remove variable.
11668 (abi-o32_hard-ld-soname): Likewise.
11669 (abi-o32_soft_2008-ld-soname): Likewise.
11670 (abi-o32_hard_2008-ld-soname): Likewise.
11671 (abi-n32_soft-ld-soname): Likewise.
11672 (abi-n32_hard-ld-soname): Likewise.
11673 (abi-n32_soft_2008-ld-soname): Likewise.
11674 (abi-n32_hard_2008-ld-soname): Likewise.
11675 (abi-n64_soft-ld-soname): Likewise.
11676 (abi-n64_hard-ld-soname): Likewise.
11677 (abi-n64_soft_2008-ld-soname): Likewise.
11678 (abi-n64_hard_2008-ld-soname): Likewise.
11679 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
11680 Likewise.
11681 (abi-64-v2-ld-soname): Likewise.
11682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
11683 ld.so entries.
11684 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
11685 variable.
11686 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
11687 entry.
11688 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
11689 variable.
11690 (abi-64-ld-soname): Likewise.
11691 (abi-x32-ld-soname): Likewise.
11692 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
11693 entry.
11694 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11695
11696 2014-09-23 Joseph Myers <joseph@codesourcery.com>
11697
11698 [BZ #14138]
11699 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
11700 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
11701 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
11702 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
11703 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
11704 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
11705 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
11706 syscall entry for GLIBC_2.2 symbol version.
11707 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
11708 Likewise.
11709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11710 (setrlimit): Likewise.
11711 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
11712 Likewise.
11713
11714 2014-09-23 Will Newton <will.newton@linaro.org>
11715
11716 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
11717 _LINUX_ARM_SYSDEP_H include guard too.
11718 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
11719 define.
11720
11721 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
11722
11723 * sysdeps/unix/sysv/linux/eventfd.c:
11724 Make first argument unsigned.
11725 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
11726 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
11727
11728 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
11729
11730 * socket/recvmmsg.c (recvmmsg): Drop const argument.
11731 * socket/sys/socket.h: Likewise
11732 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
11733
11734 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11735
11736 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
11737
11738 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
11739
11740 * time/tst-ftime.c: New test.
11741 * time/Makefile (tests): Add tst-ftime.
11742
11743 2014-09-17 Joseph Myers <joseph@codesourcery.com>
11744
11745 * soft-fp/extended.h: Fix comment formatting.
11746 * soft-fp/op-1.h: Likewise.
11747 * soft-fp/op-2.h: Likewise.
11748 * soft-fp/op-4.h: Likewise.
11749 * soft-fp/op-8.h: Likewise.
11750 * soft-fp/op-common.h: Likewise.
11751 * soft-fp/soft-fp.h: Likewise.
11752
11753 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
11754
11755 2014-09-16 Joseph Myers <joseph@codesourcery.com>
11756
11757 [BZ #6652]
11758 * Makeconfig (soversions-default-setname): Remove variable.
11759 ($(common-objpfx)soversions.i): Don't pass default_setname to
11760 soversions.awk.
11761 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
11762 oldest_abi to abi-versions.awk.
11763 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
11764 * config.make.in (oldest-abi): Remove variable.
11765 * configure.ac (--enable-oldest-abi): Remove configure option.
11766 * configure: Regenerated.
11767 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
11768 text.
11769 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
11770 * scripts/soversions.awk: Do not handle default_setname variable.
11771 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
11772 variable.
11773 * sysdeps/mach/hurd/configure: Regenerated.
11774 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
11775 variable.
11776 * sysdeps/unix/sysv/linux/configure: Regenerated.
11777
11778 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11779
11780 * elf/Makefile (CFLAGS-interp.c): Remove.
11781 ($(elf-objpfx)runtime-linker.h): Generate header with linker
11782 path string.
11783 * elf/interp.c: Include generated runtime-linker.h
11784
11785 * Makerules (lib%.so): Don't include $(+interp) in
11786 prerequisites.
11787 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
11788 * dlfcn/eval.c: Remove file.
11789
11790 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
11791 macros.
11792
11793 [BZ #17266]
11794 * misc/sys/cdefs.h: Define __extern_always_inline for clang
11795 4.2 and newer.
11796
11797 [BZ #17370]
11798 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
11799
11800 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11801 Jakub Jelinek <jakub@redhat.com>
11802
11803 [BZ #17266]
11804 * libio/stdio.h: Check definition of __fortify_function
11805 instead of __extern_always_inline to include bits/stdio2.h.
11806 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
11807 check if __extern_always_inline is defined.
11808 [__USE_MISC || __USE_XOPEN]: Likewise.
11809 [__USE_ISOC99] Likewise.
11810 * misc/sys/cdefs.h (__fortify_function): Define only if
11811 __extern_always_inline is defined.
11812 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
11813 __extern_always_inline and __extern_inline only for g++-4.3
11814 and newer or a compatible gcc.
11815
11816 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
11817
11818 [BZ #17371]
11819 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11820 last change to handle zero prefix length.
11821
11822 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11823
11824 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
11825 _SC_REGEX_VERSION.
11826
11827 * posix/getconf.c (vars): Add _POSIX_IPV6 and
11828 _POSIX_RAW_SOCKETS.
11829
11830 2014-09-13 Allan McRae <allan@archlinux.org>
11831
11832 * po/ru.po: Update Russian translation from translation project.
11833
11834 2014-09-12 Roland McGrath <roland@hack.frob.com>
11835
11836 * locale/programs/locale.c (show_locale_vars): Inline local function
11837 into its sole call site. Clean up some style nits.
11838 (print_item): New function, broken out of ...
11839 (show_info): ... local function here. Clean up style nits.
11840
11841 * locale/programs/ld-ctype.c (set_one_default): New function, broken
11842 out of ...
11843 (set_class_defaults): ... local function set_default here.
11844 Define set_default as a macro locally to pass constant parameters.
11845 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
11846 rather than a shared local.
11847
11848 * stdlib/rpmatch.c (try): New function, broken out of ...
11849 (rpmatch): ... local function here. Also, prototypify definition.
11850
11851 2014-09-12 Joseph Myers <joseph@codesourcery.com>
11852
11853 * scripts/soversions.awk: Do not handle configuration names.
11854 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
11855 vendor and os variables to soversions.awk.
11856 * configure.ac: Do not modify gnu-* host_os.
11857 * configure: Regenerated
11858 * shlib-versions: Remove first column with configuration names.
11859 * nptl/shlib-versions: Likewise.
11860 * nptl_db/shlib-versions: Likewise.
11861 * sysdeps/hppa/shlib-versions: Likewise.
11862 * sysdeps/m68k/shlib-versions: Likewise.
11863 * sysdeps/mach/hurd/shlib-versions: Likewise.
11864 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
11865 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
11866 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
11867 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
11868 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
11869 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
11870 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
11871 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
11872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11873 Likewise.
11874 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11875 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11876 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11877 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11878 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11879 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
11880 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11881 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11882
11883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11884 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
11885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
11886 Regenerated.
11887 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
11888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11889 Condition symbol version definitions on [HAVE_ELFV2_ABI].
11890
11891 * shlib-versions: Remove OS-specific entries. Moved to files in
11892 sysdeps.
11893 * sysdeps/mach/hurd/shlib-versions: New file.
11894 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11895
11896 * nptl/shlib-versions: Remove architecture-specific entries.
11897 Moved to files in sysdeps.
11898 * shlib-versions: Likewise.
11899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
11900 file.
11901 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11902 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11903 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11904 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11905
11906 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
11907 (UDP_NO_CHECK6_RX): Likewise.
11908
11909 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11910
11911 * sysdeps/posix/sysconf.c (__sysconf): Spell
11912 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
11913
11914 2014-08-12 Florian Weimer <fweimer@redhat.com>
11915
11916 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
11917 loading.
11918 * iconv/Versions (__gconv_transliterate): Export for use from
11919 gconv modules.
11920 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
11921 (struct __gconv_trans_data, __gconv_trans_fct,
11922 __gconv_trans_context_fct, __gconv_trans_query_fct,
11923 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
11924 definitions.
11925 (struct __gconv_step_data): Remove __trans member.
11926 (__gconv_transliterate): Declaration moved from gconv_int.h. No
11927 longer hidden. Remove unused trans_data argument.
11928 * iconv/gconv_int.h (struct trans_struct): Remove definition.
11929 (__gconv_translit_find): Remove declaration.
11930 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
11931 prototype.
11932 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
11933 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
11934 trans_data argument. Add hidden definition.
11935 (__gconv_translit_find): Remove.
11936 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
11937 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
11938 * iconv/skeleton.c: Remove transliteration initialization.
11939 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
11940 __gconv_step_data initialization.
11941 * libio/iofwide.c (__libio_translit_): Remove.
11942 (_IO_fwide): Adjust struct __gconv_step_data initialization.
11943 * wcsmbs/btowc.c (__btowc): Likewise.
11944 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11945 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11946 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
11947 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
11948 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
11949 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
11950 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
11951 * wcsmbs/wctob.c (wctob): Likewise.
11952
11953 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11954
11955 [BZ #16194]
11956 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
11957 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
11958 register usage.
11959 * sysdeps/x86/Makefile: Adjust.
11960
11961 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11962 Roland McGrath <roland@hack.frob.com>
11963
11964 * locale/weight.h: Add include guard.
11965 (findidx): Make static rather than auto; take new parameters
11966 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
11967 * locale/weightwc.h: Likewise.
11968 * posix/fnmatch_loop.c
11969 (FCT): Change type of EXTRA from int32_t to wint_t.
11970 Don't include either header inside the function.
11971 Call FINDIDX rather than findidx, and pass new arguments.
11972 #undef FINDIDX at the end of the file.
11973 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
11974 FINDIDX before including fnmatch_loop.c for the non-wide version.
11975 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
11976 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
11977 for the wide version.
11978 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
11979 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
11980 Pass new arguments to findidx.
11981 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
11982 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
11983 Don't #include it inside the function. Pass new arguments to findidx.
11984 * posix/regex_internal.h
11985 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
11986 (re_string_elem_size_at): Don't #include it inside the function.
11987 Pass new arguments to findidx.
11988 * string/strcoll_l.c: #include WEIGHT_H at top level.
11989 (get_next_seq): Don't #include it inside the function.
11990 Pass new arguments to findidx.
11991 (get_next_seq_nocache): Likewise.
11992 * string/strxfrm_l.c: #include WEIGHT_H at top level.
11993 (STRXFRM): Don't #include it inside the function.
11994 Pass new arguments to findidx.
11995
11996 2014-09-11 Florian Weimer <fweimer@redhat.com>
11997
11998 [BZ #17344]
11999 * malloc/malloc.c (unlink): Turn asserts into a call to
12000 malloc_printerr.
12001
12002 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
12003
12004 [BZ #17370]
12005 * libio/wfileops (do_ftell_wide): Free OUT.
12006
12007 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
12008
12009 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
12010
12011 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12012
12013 [BZ #17363]
12014 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
12015 group if the current group is empty.
12016
12017 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12018
12019 * benchtests/bench-memset.c (test_main): Add more test from size
12020 from 32 to 512 bytes.
12021 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12022 Add POWER8 memset object.
12023 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12024 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
12025 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
12026 implementation.
12027 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
12028 Likewise.
12029 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
12030 multiarch POWER8 memset optimization.
12031 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
12032 POWER8 memset optimization.
12033
12034 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12035 Remove bzero multiarch objects.
12036 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
12037 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
12038 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
12039 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
12040 Remove define.
12041 [__bzero]: Redefine to specific name.
12042 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
12043 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
12044 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
12045 define.
12046 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12047 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12048
12049 2014-09-10 Florian Weimer <fweimer@redhat.com>
12050
12051 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
12052 warnings into errors.
12053
12054 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
12055 __cxa_thread_atexit_impl prototype.
12056
12057 2014-09-09 Steve Ellcey <sellcey@mips.com>
12058
12059 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
12060 Fix capitalization of error message.
12061
12062 2014-09-09 Steve Ellcey <sellcey@mips.com>
12063
12064 * sysdeps/mips/preconfigure: Modify ABI tests.
12065
12066 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
12067
12068 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
12069
12070 2014-09-07 Roland McGrath <roland@hack.frob.com>
12071 Carlos O'Donell <carlos@systemhalted.org>
12072
12073 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
12074 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
12075 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
12076 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
12077 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
12078 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
12079 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
12080 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
12081 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
12082 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
12083 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
12084 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
12085 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
12086 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
12087 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
12088 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
12089 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
12090 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
12091 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
12092 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
12093 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
12094 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
12095 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
12096 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
12097 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
12098 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
12099 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
12100 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
12101 Deconditionalize the code that was previously under [RESET_PID].
12102 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
12103 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
12104 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
12105 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
12106 include sysdep.h.
12107
12108 2014-09-08 Allan McRae <allan@archlinux.org>
12109
12110 * version.h (RELEASE): Set to "development".
12111 (VERSION): Set to "2.20.90"
12112
12113 2014-09-07 Allan McRae <allan@archlinux.org
12114
12115 * version.h (RELEASE): Set to "stable".
12116 (VERSION): Set to "2.20"
12117 * include/features.h (__GLIBC_MINOR__): Set to 20.
12118
12119 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
12120 Liebler.
12121
12122 * po/ko.po: Update Korean translation from translation project.
12123
12124 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
12125
12126 [BZ #17354]
12127 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
12128 macro for handling signed relocations.
12129
12130 2014-09-03 Florian Weimer <fweimer@redhat.com>
12131
12132 [BZ #17325]
12133 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
12134 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
12135 assert.
12136 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
12137 * iconvdata/ibm935.c (BODY): Likewise.
12138 * iconvdata/ibm937.c (BODY): Likewise.
12139 * iconvdata/ibm939.c (BODY): Likewise.
12140 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
12141 assert.
12142 * iconvdata/Makefile (iconv-test.out): Pass module list to test
12143 script.
12144 * iconvdata/run-iconv-test.sh: New test loop for checking for
12145 decoder crashers.
12146
12147 2014-09-02 Khem Raj <raj.khem@gmail.com>
12148
12149 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
12150 libm_hidden_ver.
12151
12152 2014-09-01 Allan McRae <allan@archlinux.org>
12153
12154 * po/eo.po: Update Esperanto translation from translation project.
12155
12156 * po/ca.po: Update Catalan translation from translation project.
12157
12158 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
12159
12160 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
12161 __proc_dostop call.
12162
12163 2014-08-27 Mark Wielaard <mjw@redhat.com>
12164
12165 [BZ #17319]
12166 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
12167 to call set_thread_area instead of hand written asm.
12168 (__NR_set_thread_area): Removed define.
12169 (TLS_FLAG_WRITABLE): Likewise.
12170 (__ASSUME_SET_THREAD_AREA): Remove check.
12171 (TLS_EBX_ARG): Remove define.
12172 (TLS_LOAD_EBX): Likewise.
12173
12174 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12175
12176 Simplify atomicity of socket creation in bind.
12177
12178 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
12179 looking up the name after linking the file.
12180
12181 2014-08-27 Allan McRae <allan@archlinux.org>
12182
12183 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12184
12185 2014-08-26 Florian Weimer <fweimer@redhat.com>
12186
12187 [BZ #17187]
12188 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
12189 trans_compare, open_translit, __gconv_translit_find):
12190 Remove module loading code.
12191
12192 2014-08-26 Allan McRae <allan@archlinux.org>
12193
12194 * po/vi.po: Update Vietnamese translation from translation project.
12195
12196 * po/uk.po: Update Ukrainian translation from translation project.
12197
12198 * po/fr.po: Update French translation from translation project.
12199
12200 * po/ru.po: Update Russian translation from translation project.
12201
12202 * po/pl.po: Update Polish translation from translation project.
12203
12204 * po/cs.po: Update Czech translation from translation project.
12205
12206 * po/de.po: Update German translation from translation project.
12207
12208 * po/bg.po: Update Bulgarian translation from translation project.
12209
12210 * po/sv.po: Update Sweedish translation from translation project.
12211
12212 * po/nl.po: Update Dutch translation from translation project.
12213
12214 * po/es.po: Update Spanish translation from translation project.
12215
12216 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12217
12218 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
12219
12220 * catgets/Makefile (CPPFLAGS-gencat): Remove.
12221 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
12222 (CPPFLAGS-iconvconfig): Likewise.
12223 * timezone/Makefile (CPPFLAGS-zic): Likewise.
12224
12225 * include/libc-symbols.h: Remove unnecessary check for
12226 NOT_IN_libc.
12227 * nptl/pthreadP.h: Likewise.
12228 * sysdeps/aarch64/setjmp.S: Likewise.
12229 * sysdeps/alpha/setjmp.S: Likewise.
12230 * sysdeps/arm/sysdep.h: Likewise.
12231 * sysdeps/i386/setjmp.S: Likewise.
12232 * sysdeps/m68k/setjmp.c: Likewise.
12233 * sysdeps/posix/getcwd.c: Likewise.
12234 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12235 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12236 * sysdeps/s390/s390-32/setjmp.S: Likewise.
12237 * sysdeps/s390/s390-64/setjmp.S: Likewise.
12238 * sysdeps/sh/sh3/setjmp.S: Likewise.
12239 * sysdeps/sh/sh4/setjmp.S: Likewise.
12240 * sysdeps/unix/alpha/sysdep.h: Likewise.
12241 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12242 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12243 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12244 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12247 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12248 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12249 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12250 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12251 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12252 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12253 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12254 * sysdeps/x86_64/setjmp.S: Likewise.
12255
12256 2014-08-13 Joseph Myers <joseph@codesourcery.com>
12257
12258 [BZ #17263]
12259 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
12260 <stdint.h>.
12261 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
12262 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
12263
12264 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12265
12266 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
12267
12268 [BZ #17262]
12269 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
12270 and __x86_64__ when disabling x87 inline functions.
12271
12272 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
12273
12274 [BZ #17259]
12275 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
12276 asm statement with __cpuid_count.
12277
12278 2014-08-12 Mike Frysinger <vapier@gentoo.org>
12279
12280 * configure.ac: Change __ehdr_start code to dereference the struct.
12281 Run readelf on the output to look for relocations.
12282 * configure: Regenerated.
12283
12284 2014-08-12 Joseph Myers <joseph@codesourcery.com>
12285
12286 [BZ #17261]
12287 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
12288 value to 0.
12289 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
12290
12291 2014-08-12 Roland McGrath <roland@hack.frob.com>
12292
12293 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
12294
12295 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
12296
12297 [BZ #16892]
12298 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
12299 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
12300
12301 2014-08-12 Sean Anderson <seanga2@gmail.com>
12302
12303 * malloc/malloc.c: Fix typo in comment.
12304
12305 2014-08-09 Allan McRae <allan@archlinux.org>
12306
12307 * Regenerate libc.po.
12308
12309 2014-08-08 Mike Frysinger <vapier@gentoo.org>
12310
12311 * intl/tst-gettext2.sh: Check every lang file for creation.
12312
12313 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
12314
12315 * sysdeps/aarch64/fpu/math_private.h
12316 (libc_feholdsetround_noex_aarch64_ctx): New function.
12317
12318 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
12319
12320 * sysdeps/arm/armv6/strcpy.S (strcpy):
12321 Fix performance issue in misaligned cases.
12322
12323 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12324
12325 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
12326 Move definition from termios.h.
12327 (struct termio): Likewise.
12328 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12329 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12330 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12331 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12332 Likewise.
12333 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
12334 Move definition to ioctl-types.h
12335 (struct termio): Likewise.
12336 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12337 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12338 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12339 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12340 Likewise.
12341
12342 2014-08-05 Richard Henderson <rth@redhat.com>
12343
12344 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
12345 exceptions.
12346 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
12347 Add fraiseexcpt.
12348 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
12349 Use __feraiseexcept.
12350 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
12351 Protect libm symbols with IS_IN_libm.
12352
12353 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
12354
12355 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
12356
12357 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
12358
12359 2014-08-04 Will Newton <will.newton@linaro.org>
12360
12361 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
12362 file.
12363
12364 2014-08-04 Mike Frysinger <vapier@gentoo.org>
12365
12366 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
12367 variants for each function.
12368
12369 2014-08-04 Roland McGrath <roland@hack.frob.com>
12370
12371 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
12372 appended ...
12373 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
12374 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
12375 appended ...
12376 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
12377 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
12378 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
12379 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
12380 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
12381 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
12382 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
12383 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
12384 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
12385 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
12386 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
12387 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
12388 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
12389 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
12390 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
12391 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
12392 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
12393 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
12394 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
12395 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
12396 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
12397 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
12398 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
12399 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
12400 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
12401 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
12402 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
12403 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
12404 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
12405 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
12406 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
12407 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
12408 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
12409 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
12410 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
12411 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
12412 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
12413 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
12414 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
12415 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
12416 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
12417 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
12418 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
12419 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
12420 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
12421 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
12422 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
12423 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
12424 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
12425 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
12426 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
12427 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
12428 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
12429 Update #include.
12430 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
12431 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
12432
12433 2014-08-04 Roland McGrath <roland@hack.frob.com>
12434
12435 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
12436 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
12437 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
12438 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
12439 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
12440 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
12441
12442 2014-08-04 Roland McGrath <roland@hack.frob.com>
12443
12444 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
12445 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
12446 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12447 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
12448
12449 2014-08-04 Roland McGrath <roland@hack.frob.com>
12450
12451 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
12452 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
12453 (__libc_vfork): Define function under this name.
12454 (__vfork): Define as an alias.
12455 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
12456 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
12457
12458 2014-08-04 Roland McGrath <roland@hack.frob.com>
12459
12460 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
12461 that was previously under [RESET_PID].
12462 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
12463
12464 2014-08-04 Andreas Schwab <schwab@suse.de>
12465
12466 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
12467
12468 2014-08-03 Mike Frysinger <vapier@gentoo.org>
12469
12470 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
12471 (main): Likewise.
12472
12473 2014-08-01 Roland McGrath <roland@hack.frob.com>
12474
12475 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
12476
12477 2014-08-01 Richard Henderon <rth@redhat.com>
12478
12479 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
12480 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
12481 typo in exact zero test.
12482 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12483 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12484 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12485
12486 2014-08-01 Roland McGrath <roland@hack.frob.com>
12487
12488 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
12489 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
12490 * sysdeps/arm/sysdep.h: ... here.
12491 [!__ASSEMBLER__]: Include <stdint.h>.
12492
12493 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12494
12495 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
12496 (HAVE_WCTYPE_H): Likewise.
12497 (HAVE_ISWCTYPE): Likewise.
12498 (ENABLE_NLS): Likewise.
12499 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
12500 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
12501
12502 * posix/regex_internal.c: Check if DEBUG is defined and is
12503 set.
12504
12505 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
12506 (HAVE_MBSRTOWCS): Likewise.
12507 * posix/fnmatch.c: Include string.h unconditionally.
12508
12509 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
12510
12511 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
12512 reversal.
12513
12514 2014-07-31 Roland McGrath <roland@hack.frob.com>
12515
12516 * sysdeps/generic/safe-fatal.h: New file.
12517 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
12518 * nptl/forward.c: Include it.
12519 (__pthread_unwind): Use __safe_fatal as default action, rather
12520 than a bogus use of INTERNAL_SYSCALL that could never work.
12521
12522 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
12523 * configure.ac (libc_cv_builtin_trap): New test.
12524 * configure: Regenerated.
12525 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
12526 (ABORT_INSTRUCTION): Define using __builtin_trap.
12527
12528 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
12529 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
12530 * sysdeps/nptl/nptl-signals.h: New file.
12531 * nptl/pthreadP.h: Include <nptl-signals.h>.
12532
12533 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
12534
12535 * sysdeps/s390/s390-64/utf16-utf32-z9.c
12536 (ONE_DIRECTION): Define.
12537 * sysdeps/s390/s390-64/utf8-utf16-z9.c
12538 (ONE_DIRECTION): Define.
12539 * sysdeps/s390/s390-64/utf8-utf32-z9.c
12540 (ONE_DIRECTION): Define.
12541
12542 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
12543
12544 * sysdeps/s390/Makefile: Delete file.
12545 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
12546 * sysdeps/s390/__longjmp.c: Delete file.
12547 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
12548 Remove fields __flags and __reserved.
12549 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
12550 and add versioning.
12551 * sysdeps/s390/rtld-__longjmp.c: Delete file.
12552 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
12553 * sysdeps/s390/rtld-setjmp.S: Likewise.
12554 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
12555 * sysdeps/s390/s390-32/__longjmp.c: ... here.
12556 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
12557 * sysdeps/s390/s390-32/setjmp.S: ... here.
12558 Add versioning.
12559 (__sigsetjmp): Remove setting __flags field.
12560 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
12561 * sysdeps/s390/s390-64/__longjmp.c: ... here.
12562 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
12563 * sysdeps/s390/s390-64/setjmp.S: ... here.
12564 Add versioning.
12565 (__sigsetjmp): Remove setting __flags field.
12566 * sysdeps/s390/setjmp.S: Delete file.
12567 * sysdeps/s390/sigjmp.c: Likewise.
12568 * sysdeps/s390/v1-longjmp.c: Likewise.
12569 * sysdeps/s390/v1-setjmp.h: Likewise.
12570 * sysdeps/s390/v1-sigjmp.c: Likewise.
12571 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
12572 Remove v1-longjmp_chk.
12573 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
12574 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
12575 Include debug/longjmp_chk.c and add versioning.
12576 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
12577 Include nptl/pt-longjmp.c and add versioning.
12578 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
12579 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
12580 Include __longjmp.c.
12581 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12582 Move to ...
12583 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
12584 (__getcontext): Remove setting __flags field.
12585 Add versioning.
12586 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12587 Don't restore upper high grps.
12588 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
12589 Likewise.
12590 (__swapcontext): Remove setting uc_flags field.
12591 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
12592 Delete file.
12593 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12594 Include __longjmp.c.
12595 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12596 Move to ...
12597 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
12598 (__getcontext): Remove setting __flags field.
12599 Add versioning.
12600 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
12601 (__swapcontext): Remove setting uc_flags field.
12602 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
12603 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
12604 Remove fields uc_high_gprs and __reserved.
12605 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
12606 New file with reverted content.
12607 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
12608 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
12609 Regenerated.
12610 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
12611 Regenerated.
12612
12613 2014-07-31 Andreas Schwab <schwab@suse.de>
12614
12615 * config.h.in (HAVE_IFUNC): Define to 0.
12616 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
12617 definedness.
12618
12619 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
12620
12621 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12622 memmove-avx-unaligned, memcpy-avx-unaligned and
12623 mempcpy-avx-unaligned.
12624 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12625 Add tests for AVX memcpy functions.
12626 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
12627 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
12628 memcpy_chk.
12629 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
12630 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
12631 memmove_chk.
12632 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
12633 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
12634 mempcpy_chk.
12635 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
12636 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
12637 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
12638
12639 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12640
12641 [BZ #17213]
12642 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
12643 powerpc64le.
12644
12645 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
12646
12647 [BZ #16839]
12648 * manual/llio.texi: Add section about open file description locks.
12649 * manual/examples/ofdlocks.c: Example of open file description
12650 lock usage.
12651 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
12652 F_OFD_SETLK, and F_OFD_SETLKW.
12653
12654 2014-07-23 Allan McRae <allan@archlinux.org>
12655
12656 * po/es.po: Update Spanish translation from translation project.
12657
12658 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
12659
12660 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
12661
12662 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
12663
12664 [BZ #17078]
12665 * sysdeps/arm/dl-machine.h (elf_machine_rela)
12666 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
12667 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
12668
12669 2014-07-17 Joseph Myers <joseph@codesourcery.com>
12670
12671 [BZ #17088]
12672 * math/fesetenv.c (__fesetenv)
12673 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
12674 * math/feupdateenv.c (__feupdateenv)
12675 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
12676
12677 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
12678 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12679 (__ASSUME_SOCKETCALL): Do not define.
12680
12681 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
12682 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
12683 (__ASSUME_SOCKETCALL): Do not define.
12684 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
12685 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12686 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12687 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12688 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12689 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
12690 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12691 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12692
12693 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
12694 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
12695 (__ASSUME_SOCKETCALL): Do not define.
12696 (__ASSUME_IPC64): Define unconditionally.
12697 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12698 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12699 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12700 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12701 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
12702 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12703 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
12704 Likewise.
12705
12706 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
12707 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
12708 (__ASSUME_SOCKETCALL): Do not define.
12709 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
12710 (__ASSUME_FUTEX_LOCK_PI): Likewise.
12711 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12712 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12713 (__ASSUME_REQUEUE_PI): Define unconditionally.
12714 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
12715 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12716 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12717 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
12718 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12719 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12720
12721 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
12722 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
12723 (__ASSUME_SOCKETCALL): Do not define.
12724 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
12725 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12726 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12727 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
12728 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12729 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12730
12731 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
12732 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
12733 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12734 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
12735 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12736 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
12737 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12738 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
12739 (__ASSUME_GETCPU_SYSCALL): Likewise.
12740
12741 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
12742 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
12743 cases for individual architectures.
12744 * sysdeps/gnu/configure: Regenerated.
12745 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
12746 LIBC_SLIBDIR_RTLDDIR.
12747 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
12748 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
12749 LIBC_SLIBDIR_RTLDDIR.
12750 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
12751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
12752 LIBC_SLIBDIR_RTLDDIR.
12753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12754 Regenerated.
12755 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
12756 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
12757 file.
12758 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
12759 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
12760 file.
12761 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
12762 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
12763 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
12764 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
12765
12766 * sysdeps/aarch64/shlib-versions: Move to ...
12767 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
12768 * sysdeps/alpha/shlib-versions: Move to ...
12769 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
12770 * sysdeps/arm/shlib-versions: Move to ...
12771 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
12772 * sysdeps/hppa/shlib-versions: Move all contents except for
12773 libgcc_s entry to ...
12774 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
12775 entry from ...
12776 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
12777 * sysdeps/ia64/shlib-versions: Move to ...
12778 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
12779 entry from ...
12780 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
12781 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
12782 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
12783 * sysdeps/microblaze/shlib-versions: Move to ...
12784 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
12785 * sysdeps/mips/shlib-versions: Move to ...
12786 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
12787 entry from ...
12788 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
12789 * sysdeps/tile/shlib-versions: Move to ...
12790 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
12791 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
12792 from ...
12793 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
12794 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
12795 entry from ...
12796 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
12797
12798 2014-07-17 Will Newton <will.newton@linaro.org>
12799
12800 * sysdeps/arm/bits/atomic.h
12801 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
12802 (__arch_compare_and_exchange_bool_16_int): Likewise.
12803 (__arch_compare_and_exchange_bool_64_int): Likewise.
12804
12805 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
12806 into an #else block.
12807
12808 2014-07-16 Roland McGrath <roland@hack.frob.com>
12809
12810 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
12811 just Linux configurations. Test empirically that the compiler sets
12812 __ARM_EABI__, rather than using the tuple to decide.
12813 * sysdeps/arm/preconfigure: Regenerated.
12814 * sysdeps/unix/sysv/linux/arm/configure: File removed.
12815 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
12816 contents appended ...
12817 * sysdeps/arm/configure.ac: ... here.
12818 * sysdeps/arm/configure: Regenerated.
12819
12820 2014-07-15 Roland McGrath <roland@hack.frob.com>
12821
12822 * nptl/pthread_kill.c: New file.
12823 * nptl/pthread_sigmask.c: New file.
12824 * nptl/pthread_sigqueue.c: New file.
12825
12826 * sysdeps/nptl/lowlevellock.h: New file.
12827 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
12828 * sysdeps/nptl/lowlevellock-futex.h: New file.
12829
12830 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
12831 Remove dead declarations.
12832
12833 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
12834
12835 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
12836 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
12837 config-cflags-avx2.
12838 * sysdeps/x86_64/configure.ac: Likewise.
12839 * sysdeps/i386/configure: Regenerated.
12840 * sysdeps/x86_64/configure: Likewise.
12841 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12842 memset-avx2 only if config-cflags-avx2 is yes.
12843 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12844 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
12845 defined.
12846 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
12847 only if HAVE_AVX2_SUPPORT is defined.
12848 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12849
12850 2014-07-14 Alan Modra <amodra@gmail.com>
12851
12852 [BZ #17153]
12853 * elf/elf.h (DT_PPC64_NUM): Correct value.
12854 * NEWS: Add to fixed bug list.
12855
12856 2014-07-13 Jim Meyering <meyering@fb.com>
12857
12858 [BZ 17150]
12859 regex: don't deref NULL upon heap allocation failure
12860 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
12861 failure in one more place.
12862 To trigger the segfault, configure grep -with-included-regex,
12863 build it, and run these commands:
12864 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
12865
12866 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
12867
12868 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12869
12870 2014-07-11 Richard Henderson <rth@redhat.com>
12871
12872 * sysdeps/aarch64/libm-test-ulps: Update.
12873
12874 2014-07-10 Florian Weimer <fweimer@redhat.com>
12875
12876 [BZ #17135]
12877 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
12878 * nptl/allocatestack.c (__nptl_setxid_error): New function.
12879 (__nptl_setxid): Initialize error member. Call
12880 __nptl_setxid_error.
12881 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
12882 * nptl/descr.h (struct xid_command): Add error member.
12883 * nptl/tst-setuid3.c: New file.
12884 * nptl/Makefile (tests): Add it.
12885
12886 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12887
12888 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
12889 New define.
12890 (__lll_trylock): Use __lll_base_trylock.
12891 (__lll_cond_trylock): Likewise.
12892
12893 2014-07-10 Roland McGrath <roland@hack.frob.com>
12894
12895 * nptl/pthread_create.c (start_thread): Use atomic_or and
12896 lll_futex_wake directly rather than lll_robust_dead.
12897 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12898 (lll_robust_dead): Macro removed.
12899 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
12900 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12901 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12902 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12903 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12904 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12905 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12906 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12907 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12908 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12909 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12910 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12911 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12912 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12913 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12914
12915 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
12916 Use atomic_compare_and_exchange_val_acq directly rather than
12917 lll_robust_trylock.
12918 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12919 (__lll_robust_trylock, lll_robust_trylock): Removed.
12920 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12921 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12922 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12923 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12924 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12925 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12926 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12927 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12928 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12929 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12930 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12931 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12932 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12933 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12934
12935 2014-07-02 Florian Weimer <fweimer@redhat.com>
12936
12937 * manual/locale.texi (Locale Names): New section documenting
12938 locale name syntax. Adjust menu and node chaining accordingly.
12939 (Choosing Locale): Reference Locale Names, Locale Categories.
12940 Mention setting LC_ALL=C. Reflect that name syntax is now
12941 documented.
12942 (Locale Categories): New section title. Reference Locale Names.
12943 LC_ALL is an environment variable, but not a category.
12944 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
12945 description, now in Locale Name. Reference that section. Locale
12946 name syntax is now documented.
12947
12948 2014-07-02 Florian Weimer <fweimer@redhat.com>
12949
12950 [BZ #17137]
12951 * locale/findlocale.c (name_present, valid_locale_name): New
12952 functions.
12953 (_nl_find_locale): Use the loc_name variable to store name
12954 candidates. Call name_present and valid_locale_name to check and
12955 validate locale names. Return an error if the locale is invalid.
12956
12957 2014-07-02 Florian Weimer <fweimer@redhat.com>
12958
12959 * locale/setlocale.c (setlocale): Use strdup for allocating
12960 composite name copy.
12961
12962 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12963
12964 Sync up with gnulib.
12965 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
12966 [!_LIBC && ENABLE_NLS]: Include gettext.h.
12967 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
12968 and _GL_ARG_NONNULL.
12969 [USE_UNLOCKED_IO]: Include unlocked-io.h.
12970 [!_LIBC]: Include code for Windows and Cygwin.
12971 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
12972 Include prototype for int strerror_r.
12973 [!_LIBC] (is_open): New function.
12974 (flush_stdout): New function.
12975 (print_errno_message): Use it.
12976 (error): Likewise.
12977 (error_at_line): Likewise.
12978 (error_tail) Add function attribute macros. Use
12979 __builtin_expect.
12980
12981 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
12982
12983 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
12984
12985 * io/ftw.c: Include sys/param.h unconditionally.
12986
12987 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
12988
12989 [BZ #17125]
12990 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
12991 libc_freeres_ptr.
12992 (freecache): New function to free CACHE on exit.
12993
12994 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
12995 initialization.
12996
12997 2014-07-09 David S. Miller <davem@davemloft.net>
12998
12999 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13000
13001 * sysdeps/sparc/nptl/internaltypes.h: Delete.
13002 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
13003 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
13004 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
13005 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
13006 * sysdeps/sparc/nptl/sem_init.c: Likewise.
13007 * sysdeps/sparc/nptl/sem_post.c: Likewise.
13008 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
13009 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
13010 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
13011 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
13012 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
13013 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
13014
13015 2014-07-09 Andreas Schwab <schwab@suse.de>
13016
13017 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
13018 output.
13019 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
13020 (do_test): Likewise.
13021
13022 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13023
13024 2014-07-09 Will Newton <will.newton@linaro.org>
13025
13026 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
13027 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
13028 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
13029 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
13030 * sysdeps/hppa/start.S (_start): Likewise.
13031
13032 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
13033
13034 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
13035
13036 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
13037 defined.
13038
13039 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13040
13041 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
13042 after checking that it is non-NULL.
13043
13044 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
13045
13046 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13047
13048 * sysdeps/powerpc/memmove.c: Remove file.
13049 * sysdeps/powerpc/powerpc32/power4/memcopy.h
13050 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
13051 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
13052 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
13053 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
13054 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
13055 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
13056 string memmove instead of removed powerpc one.
13057
13058 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13059 [weak_alias]: Fix compiler warning due trailing data.
13060 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
13061 [weak_alias]: Likewise.
13062 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
13063 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
13064
13065 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13066 (__libc_ifunc_impl_list): Add memmove functions.
13067
13068 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13069
13070 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
13071 Remove code.
13072 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
13073 Likewise
13074 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
13075 Likewise
13076 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
13077 Likewise
13078 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
13079 Likewise
13080 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
13081 Likewise
13082 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
13083 Likewise
13084 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
13085 Likewise
13086 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
13087 Likewise
13088 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
13089 Likewise
13090 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
13091 Likewise
13092 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
13093 Likewise
13094 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
13095 Likewise
13096 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
13097 Likewise
13098 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
13099 Likewise
13100 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
13101 Likewise
13102 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
13103 Likewise
13104
13105 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13106
13107 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
13108 to avoid alignment traps in non-cacheable memory.
13109 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13110
13111 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
13112 multiarch objects.
13113 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
13114 file: multiarch power7 memmove.
13115 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
13116 multiarch default memmove.
13117 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
13118 multiarch memove for powerpc32/power4.
13119
13120 * string/bcopy.c: Use full path to include memmove.c.
13121 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
13122 multiarch objects.
13123 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
13124 bcopy for powerpc64.
13125 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
13126 bcopy for powerpc64.
13127 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
13128 and memmove implementations.
13129 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
13130 optimized multiarch memmove for POWER7/powerpc64.
13131 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
13132 default multiarch memmove for powerpc64.
13133 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
13134 multiarch for powerpc64.
13135 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
13136 for POWER7/powerpc64.
13137 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
13138 memmove for POWER7/powerpc64.
13139
13140 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
13141 glibc default one.
13142
13143 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
13144 __ELF_NATIVE_CLASS equal to 64.
13145
13146 2014-07-07 Roland McGrath <roland@hack.frob.com>
13147
13148 * sysdeps/nptl/lowlevellock.h: File removed.
13149
13150 * NEWS: NPTL is no longer an add-on!
13151 * nptl/internaltypes.h: Moved ...
13152 * sysdeps/nptl/internaltypes.h: ... here.
13153 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
13154 * sysdeps/nptl/fork.c: Likewise.
13155 * sysdeps/nptl/gai_misc.h: Likewise.
13156 * sysdeps/nptl/librt-cancellation.c: Likewise.
13157 * sysdeps/nptl/jmp-unwind.c: Likewise.
13158 * sysdeps/nptl/setxid.h: Likewise.
13159 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
13160 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
13161 * sysdeps/unix/sysv/linux/arm/Implies: New file.
13162 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
13163 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
13164 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
13165 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
13166 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
13167 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
13168 * sysdeps/unix/sysv/linux/mips/Implies: New file.
13169 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
13170 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
13171 * sysdeps/unix/sysv/linux/sh/Implies: New file.
13172 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
13173 * sysdeps/unix/sysv/linux/tile/Implies: New file.
13174 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
13175 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
13176 * nptl/Makeconfig: Moved ...
13177 * sysdeps/nptl/Makeconfig: ... here.
13178 * nptl/configure: File removed.
13179 * nptl/ANNOUNCE: File removed.
13180 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
13181 * sysdeps/unix/sysv/linux/configure: Regenerated.
13182
13183 * nptl/Makefile (routines): Add libc_pthread_init,
13184 libc_multiple_threads, register-atfork and unregister-atfork.
13185 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
13186 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
13187 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
13188 pthread-pi-defines.sym, structsem.sym.
13189 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
13190 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
13191 [$(subdir) = nptl] (tests): Add tst-setgetname.
13192 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
13193 * sysdeps/unix/sysv/linux/sigaction.c: Just include
13194 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
13195 [!LIBC_SIGACTION]: Remove aliases.
13196 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13197 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13198 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13199 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
13200 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13201 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13202 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13203 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13204 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13205 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
13206 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
13207 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
13208 __libc_allocate_rtsig_private.
13209 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
13210 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
13211 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
13212 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
13213 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
13214 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
13215 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
13216 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
13217 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
13218 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
13219 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
13220 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
13221 * nptl/internaltypes.h: ... here.
13222 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
13223 * sysdeps/nptl/jmp-unwind.c: ... here.
13224 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
13225 * nptl/libc-lowlevellock.c: ... here.
13226 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
13227 * nptl/libc_multiple_threads.c: ... here.
13228 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
13229 * nptl/libc_pthread_init.c: ... here.
13230 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
13231 * nptl/lowlevelbarrier.sym: ... here.
13232 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
13233 * nptl/lowlevelcond.sym: ... here.
13234 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
13235 * nptl/lowlevellock.c: ... here.
13236 * nptl/lowlevellock.h: Moved ...
13237 * sysdeps/nptl/lowlevellock.h: ... here.
13238 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
13239 * nptl/lowlevelrobustlock.c: ... here.
13240 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
13241 * nptl/lowlevelrobustlock.sym: ... here.
13242 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
13243 * nptl/lowlevelrwlock.sym: ... here.
13244 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
13245 * nptl/pt-fork.c: ... here.
13246 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
13247 * nptl/pthread-pi-defines.sym: ... here.
13248 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
13249 * nptl/pthread_attr_getaffinity.c: ... here.
13250 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
13251 * nptl/pthread_attr_setaffinity.c: ... here.
13252 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
13253 * nptl/pthread_mutex_cond_lock.c: ... here.
13254 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13255 Update #include.
13256 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
13257 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
13258 * nptl/pthread_once.c: ... here, replacing old file.
13259 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
13260 * nptl/pthread_yield.c: ... here.
13261 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
13262 * nptl/register-atfork.c: ... here.
13263 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
13264 * nptl/sem_post.c: ... here.
13265 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
13266 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
13267 * nptl/sem_timedwait.c: ... here.
13268 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
13269 * nptl/sem_trywait.c: ... here.
13270 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
13271 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
13272 * nptl/sem_wait.c: ... here.
13273 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
13274 * nptl/structsem.sym: ... here.
13275 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
13276 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
13277 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
13278 * nptl/unregister-atfork.c: ... here.
13279 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
13280 * nptl/unwindbuf.sym: ... here.
13281 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
13282 * sysdeps/nptl/fork.c: ... here.
13283 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
13284 * sysdeps/nptl/fork.h: ... here.
13285 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
13286 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
13287 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
13288 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
13289 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
13290 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
13291 * sysdeps/unix/sysv/linux/getpid.c: ... here.
13292 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
13293 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
13294 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
13295 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
13296 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
13297 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
13298 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
13299 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
13300 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
13301 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
13302 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
13303 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
13304 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
13305 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
13306 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
13307 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
13308 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
13309 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
13310 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
13311 * sysdeps/unix/sysv/linux/raise.c: ... here.
13312 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
13313 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
13314 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
13315 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
13316 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
13317 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
13318 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
13319 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
13320 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
13321 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
13322 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
13323 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
13324 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
13325 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
13326 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
13327
13328 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13329
13330 * sysdeps/generic/memcopy.h: Add comment for
13331 MEMCPY_OK_FOR_FWD_MEMMOVE.
13332
13333 2014-07-04 Will Newton <will.newton@linaro.org>
13334
13335 * string/memchr.c: Merge from gnulib.
13336 [_LIBC]: Remove conditionals.
13337 (__ptr_t): Remove define.
13338 (LONG_MAX_32_BITS): Likewise.
13339 (LONG_MAX): Likewise.
13340 (MEMCHR): Use ANSI prototype and optimize algorithm.
13341
13342 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
13343
13344 2014-07-03 Roland McGrath <roland@hack.frob.com>
13345
13346 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
13347 (lll_futex_timed_wait_bitset): Fix syscall argument count.
13348
13349 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
13350 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
13351 in a bare environment with no <stdlib.h> installed.
13352 * sysdeps/nptl/configure: Regenerated.
13353
13354 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
13355
13356 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
13357 AC_EGREP_CPP for kernel header checks, so they only succeed if
13358 including <linux/version.h> actually works right.
13359 * sysdeps/unix/sysv/linux/configure: Regenerated.
13360
13361 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
13362 value so it's not diagnosed as unused.
13363
13364 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
13365 thing) with "ifeq ($(subdir),rt)".
13366
13367 2014-07-03 Richard Henderson <rth@redhat.com>
13368
13369 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
13370 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
13371 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
13372
13373 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
13374 (math_force_eval): New.
13375
13376 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
13377 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
13378
13379 * sysdeps/alpha/fpu/s_round.c: Remove file.
13380 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
13381
13382 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
13383 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
13384 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
13385 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
13386 (_dl_start, print_statistics): Likewise.
13387 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
13388 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
13389
13390 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13391 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13392 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13393 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13394 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13395 (HP_SMALL_TIMING_AVAIL): Define.
13396 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13397 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13398 (HP_SMALL_TIMING_AVAIL): Define.
13399 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13400 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13401
13402 * sysdeps/aarch64/hp-timing.h: New file.
13403
13404 * sysdeps/generic/hp-timing.h: Remove dead comment.
13405 * sysdeps/generic/hp-timing-common.h: New file.
13406 * sysdeps/alpha/hp-timing.h: Include it.
13407 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
13408 * sysdeps/i386/i686/hp-timing.h: Likewise.
13409 * sysdeps/ia64/hp-timing.h: Likewise.
13410 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13411 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13412 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13413 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13414 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
13415 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
13416 (hp_timing_t): New.
13417
13418 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
13419 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
13420 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
13421 * elf/rtld.c (_dl_start_final): Likewise.
13422 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
13423 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13424 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13425 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13426 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13427 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13428 (HP_TIMING_DIFF_INIT): Remove.
13429 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13430 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13431 (HP_TIMING_DIFF_INIT): Remove.
13432 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13433 * sysdeps/i386/i686/hp-timing.c: Remove file.
13434 * sysdeps/x86_64/hp-timing.c: Remove file.
13435 * sysdeps/ia64/hp-timing.c: Remove file.
13436 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
13437 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
13438 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
13439 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
13440
13441 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
13442 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
13443 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
13444 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13445 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13446 (HP_TIMING_ACCUM): Remove.
13447 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13448 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
13449 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13450
13451 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
13452 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
13453 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
13454 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
13455 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
13456 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13457 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
13458 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13459
13460 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
13461
13462 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
13463
13464 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
13465
13466 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13467
13468 Sync up with gettext.
13469 * intl/loadmsgcat.c: Define O_BINARY if not defined.
13470 [_MSC_VER]: Include malloc.h
13471 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
13472 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
13473 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
13474 TEMP_FAILURE_RETRY. Cast return of alloca.
13475 [!_LIBC] Call gl_rwlock_init.
13476 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
13477
13478 2014-07-02 Roland McGrath <roland@hack.frob.com>
13479
13480 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
13481 before checking its value.
13482
13483 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13484
13485 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
13486
13487 * debug/memcpy_chk.c: Don't include pagecopy.h.
13488 * debug/mempcpy_chk.c: Likewise.
13489 * string/memcpy.c: Likewise.
13490 * string/memmove.c: Likewise.
13491 * sysdeps/powerpc/memmove.c: Likewise.
13492 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
13493 definition of PAGE_COPY_FWD_MAYBE here...
13494 * sysdeps/generic/pagecopy.h: ... from here.
13495 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
13496
13497 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13498 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13499
13500 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
13501 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
13502 optimizations.
13503 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13504 (__libc_ifunc_impl_list): Likewise.
13505 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
13506 multiarch strcat for PPC64.
13507 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
13508 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
13509
13510 2014-07-02 Roland McGrath <roland@hack.frob.com>
13511
13512 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
13513
13514 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13515
13516 * intl/loadmsgcat.c: Remove declaration of
13517 get_sysdep_segment_value.
13518 (get_sysdep_segment_value): Use ISO C style.
13519 (_nl_load_domain): Use ISO C style. Get rid of redundant
13520 semicolon. Fix typo and formatting in comment.
13521 (_nl_unload_domain): Use ISO C style.
13522
13523 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
13524
13525 2014-07-02 Will Newton <will.newton@linaro.org>
13526
13527 * malloc/obstack.c: Merge from gnulib master.
13528 [HAVE_CONFIG_H]: Remove conditional code.
13529 [!_LIBC]: Include config.h.
13530 [!ELIDE_CODE]: Don't include inttypes.h, include
13531 stdint.h unconditionally.
13532 (print_and_abort): Mark as _Noreturn.
13533 (_obstack_allocated_p): Mark as __attribute_pure__.
13534 (obstack_free): Rename to __obstack_free.
13535 [!__attribute__]: Remove conditional code.
13536 * malloc/obstack.h: Merge from gnulib master.
13537 [__cplusplus]: Move conditional down.
13538 [!__attribute_pure__]: Define __attribute_pure__ here
13539 if it is not already defined.
13540 (_obstack_memory_used): Mark as __attribute_pure__.
13541 [!__obstack_free]: Define as obstack_free.
13542 [__GNUC__]: Remove check for ancient NeXT gcc.
13543
13544 2014-07-02 Will Newton <will.newton@linaro.org>
13545 Paul Eggert <eggert@cs.ucla.edu>
13546
13547 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
13548
13549 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13550
13551 * resolv/gethnamaddr.c: Add comment warning that the file is
13552 not maintained.
13553
13554 2014-07-01 Carlos O'Donell <carlos@redhat.com>
13555
13556 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
13557 entries.
13558
13559 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
13560 entry for aio_cancel and aio_cancel64.
13561 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
13562 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
13563 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
13564 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
13565 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
13566 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
13567 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
13568 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
13569 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
13570 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
13571 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
13572 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
13573 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
13574
13575 2014-07-01 Roland McGrath <roland@hack.frob.com>
13576
13577 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
13578 * nptl/pthread_mutex_lock.c: Likewise.
13579 * nptl/pthread_mutex_timedlock.c: Likewise.
13580 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
13581
13582 2014-07-01 Richard henderson <rth@redhat.com>
13583
13584 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
13585 (__isnan, __isnanl): Remove.
13586 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
13587
13588 * sysdeps/alpha/fpu/libm-test-ulps: Update.
13589
13590 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
13591
13592 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13593
13594 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13595
13596 * resolv/nss_dns/dns-host.c (getanswer_r)
13597 [MULTI_PTRS_ARE_ALIASES]: Remove code.
13598
13599 2014-07-01 Joseph Myers <joseph@codesourcery.com>
13600
13601 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13602 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
13603 undefine.
13604 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
13605 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
13606
13607 2014-07-01 Roland McGrath <roland@hack.frob.com>
13608
13609 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
13610 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
13611
13612 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
13613 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
13614
13615 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
13616 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
13617 ... here.
13618 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
13619 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
13620
13621 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
13622 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
13623 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
13624 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
13625
13626 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
13627 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
13628 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
13629 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
13630 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
13631 Moved ...
13632 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
13633 ... here.
13634 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
13635 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
13636 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
13637 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
13638 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
13639 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
13640 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
13641 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
13642 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
13643 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
13644 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
13645 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
13646 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
13647 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
13648 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
13649 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
13650 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
13651 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
13652 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
13653 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
13654 ... here.
13655 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
13656 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
13657 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
13658 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
13659 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
13660 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
13661 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
13662 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
13663
13664 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
13665
13666 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
13667 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
13668 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
13669 Add sysdep.
13670
13671 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13672
13673 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13674
13675 2014-06-30 Joseph Myers <joseph@codesourcery.com>
13676
13677 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13678 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13679
13680 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13681
13682 * sysdeps/arm/libm-test-ulps: Regenerated.
13683
13684 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
13685 Roland McGrath <roland@hack.frob.com>
13686
13687 * test-skeleton.c (signal_handler): Kill the whole process group
13688 before killing the child individually.
13689 (main): Report any failure on `setpgid'.
13690
13691 2014-06-30 Roland McGrath <roland@hack.frob.com>
13692
13693 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
13694 from _TLS_H to _ARM_NPTL_TLS_H.
13695 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
13696 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
13697
13698 2014-06-30 Joseph Myers <joseph@codesourcery.com>
13699
13700 [BZ #16539]
13701 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
13702 (__expm1l): Return argument unchanged when small but not
13703 subnormal.
13704
13705 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
13706 include macro name.
13707 (_FP_UNPACK_RAW_1_P): Likewise.
13708 (_FP_PACK_RAW_1): Likewise.
13709 (_FP_PACK_RAW_1_P): Likewise.
13710 (_FP_MUL_MEAT_1_wide): Likewise.
13711 (_FP_MUL_MEAT_DW_1_hard): Likewise.
13712 (_FP_MUL_MEAT_1_hard): Likewise.
13713 (_FP_DIV_MEAT_1_imm): Likewise.
13714 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
13715 (_FP_DIV_MEAT_1_udiv): Likewise.
13716 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
13717 (_FP_UNPACK_RAW_2): Likewise.
13718 (_FP_UNPACK_RAW_2_P): Likewise.
13719 (_FP_PACK_RAW_2): Likewise.
13720 (_FP_PACK_RAW_2_P): Likewise.
13721 (_FP_MUL_MEAT_DW_2_wide): Likewise.
13722 (_FP_MUL_MEAT_2_wide): Likewise.
13723 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
13724 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13725 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
13726 (_FP_MUL_MEAT_2_gmp): Likewise.
13727 (_FP_DIV_MEAT_2_udiv): Likewise.
13728 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
13729 (_FP_FRAC_SRL_4): Likewise.
13730 (_FP_FRAC_SRST_4): Likewise.
13731 (_FP_FRAC_SRS_4): Likewise.
13732 (_FP_UNPACK_RAW_4): Likewise.
13733 (_FP_UNPACK_RAW_4_P): Likewise.
13734 (_FP_PACK_RAW_4): Likewise.
13735 (_FP_PACK_RAW_4_P): Likewise.
13736 (_FP_MUL_MEAT_DW_4_wide): Likewise.
13737 (_FP_MUL_MEAT_4_wide): Likewise.
13738 (_FP_MUL_MEAT_4_gmp): Likewise.
13739 (umul_ppppmnnn): Likewise.
13740 (_FP_DIV_MEAT_4_udiv): Likewise.
13741 (__FP_FRAC_ADD_4): Likewise.
13742 (__FP_FRAC_SUB_3): Likewise.
13743 (__FP_FRAC_SUB_4): Likewise.
13744 (__FP_FRAC_DEC_3): Likewise.
13745 (__FP_FRAC_DEC_4): Likewise.
13746 (__FP_FRAC_ADDI_4): Likewise.
13747 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
13748 (_FP_FRAC_SRL_8): Likewise.
13749 (_FP_FRAC_SRS_8): Likewise.
13750
13751 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
13752 include macro name.
13753 (FP_UNPACK_RAW_EP): Likewise.
13754 (FP_PACK_RAW_E): Likewise.
13755 (FP_PACK_RAW_EP): Likewise.
13756 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
13757 (_FP_ISSIGNAN): Likewise.
13758 (_FP_ADD_INTERNAL): Likewise.
13759 (_FP_FMA): Likewise.
13760 (_FP_CMP): Likewise.
13761 (_FP_SQRT): Likewise.
13762 (_FP_TO_INT): Likewise.
13763 (_FP_FROM_INT): Likewise.
13764 (FP_EXTEND): Likewise.
13765 (_FP_DIV_MEAT_N_loop): Likewise.
13766
13767 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
13768
13769 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
13770 throughout.
13771
13772 2014-06-29 Joseph Myers <joseph@codesourcery.com>
13773
13774 [BZ #17097]
13775 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
13776 result with correct sign in case of exponents that produce
13777 overflow except for X very close to 1.
13778
13779 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
13780
13781 mktime: merge #if/#ifdef usage from glibc
13782 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
13783 as that works with both Glibc's and Gnulib's style.
13784 See thread starting at Siddhesh Poyarekar's bug report at:
13785 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
13786
13787 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13788
13789 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
13790 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
13791 * sysdeps/tile/tilegx/memmove.c: Remove file.
13792
13793 2014-06-27 Joseph Myers <joseph@codesourcery.com>
13794
13795 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
13796 abi-name definition.
13797 * scripts/soversions.awk: Do not handle or generate ABI lines.
13798 * shlib-versions: Remove ABI entries.
13799 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
13800 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
13801
13802 2014-06-27 Roland McGrath <roland@hack.frob.com>
13803
13804 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
13805 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
13806 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
13807 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
13808 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
13809 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
13810 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
13811 Moved ...
13812 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
13813 ... here.
13814 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
13815 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
13816 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
13817 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
13818 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
13819 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
13820 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
13821 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
13822 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
13823 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
13824 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
13825 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
13826 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
13827 Moved ...
13828 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
13829 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
13830 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
13831 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
13832 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
13833 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
13834 Moved ...
13835 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
13836 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
13837 Moved ...
13838 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
13839 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
13840 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
13841 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
13842 Moved ...
13843 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
13844 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
13845 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
13846 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
13847 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
13848 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
13849 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
13850 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
13851 Moved ...
13852 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
13853 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
13854 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
13855 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
13856 Moved ...
13857 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
13858 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
13859 Moved ...
13860 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
13861 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
13862 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
13863 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
13864 Moved ...
13865 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
13866 ... here.
13867 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
13868 Identical file removed.
13869 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
13870 Moved ...
13871 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
13872 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
13873 Identical file removed.
13874 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
13875 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
13876 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
13877 Moved ...
13878 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
13879 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
13880 Identical file removed.
13881 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
13882 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
13883 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
13884 Identical file removed.
13885 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
13886 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
13887 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
13888 Identical file removed.
13889 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
13890 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
13891 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
13892 Identical file removed.
13893 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
13894 Moved ...
13895 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
13896 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
13897 Identical file removed.
13898 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
13899 Moved ...
13900 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
13901 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
13902 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
13903 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
13904 Identical file removed.
13905 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
13906 Moved ...
13907 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
13908 ... here.
13909 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
13910 Identical file removed.
13911 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
13912 Moved ...
13913 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
13914 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
13915 Identical file removed.
13916 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
13917 Moved ...
13918 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
13919 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
13920 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
13921 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
13922 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
13923 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
13924 Moved ...
13925 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
13926 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
13927 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
13928
13929 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
13930 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
13931 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
13932 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
13933 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
13934
13935 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
13936
13937 [BZ #17092]
13938 * nscd/nscd.c (monitor_child): Return exit status of child
13939 instead of return value from wait syscall.
13940
13941 2014-06-27 Joseph Myers <joseph@codesourcery.com>
13942
13943 * configure.ac (libc_commonpagesize): Remove variable.
13944 (libc_relro_required): Likewise.
13945 (libc_cv_z_relro): Remove configure test.
13946 * configure: Regenerated.
13947 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
13948 variable.
13949 (libc_relro_required): Likewise.
13950 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
13951 (libc_relro_required): Likewise.
13952 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
13953 (libc_relro_required): Likewise.
13954 * sysdeps/arm/preconfigure: Regenerated.
13955 * sysdeps/ia64/preconfigure: Remove file.
13956 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
13957 variable.
13958 (libc_relro_required): Likewise.
13959
13960 [BZ #16561]
13961 [BZ #16562]
13962 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
13963 (__ieee754_yn): Set FE_TONEAREST mode internally and then
13964 recompute overflowing results in original rounding mode.
13965 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
13966 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
13967 recompute overflowing results in original rounding mode.
13968 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
13969 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13970 recompute overflowing results in original rounding mode.
13971 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
13972 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13973 recompute overflowing results in original rounding mode.
13974 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
13975 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13976 recompute overflowing results in original rounding mode.
13977 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
13978 (libc_feholdsetround_ctx): New macro.
13979 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
13980 * sysdeps/i386/fpu/libm-test-ulps: Update.
13981 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
13982
13983 2014-06-26 Joseph Myers <joseph@codesourcery.com>
13984
13985 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
13986 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
13987 corresponding .cpsetup call.
13988
13989 2014-06-26 Roland McGrath <roland@hack.frob.com>
13990
13991 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
13992 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
13993 * sysdeps/arm/Makefile [$(subdir) = csu]
13994 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
13995 (static-only-routines): Add aeabi_read_tp here.
13996 (shared-only-routines): Add libc-aeabi_read_tp here.
13997 (CFLAGS-libc-start.c): Add -fexceptions here.
13998 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
13999 (sysdep_routines, static-only-routines, shared-only-routines):
14000 Don't add to these here.
14001 (CFLAGS-libc-start.c): Likewise.
14002
14003 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
14004 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14005 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
14006 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14007 * sysdeps/arm/Makefile [$(subdir) = rt]
14008 (librt-sysdep_routines, librt-shared-only-routines):
14009 Append rt-aeabi_unwind_cpp_pr1 here.
14010 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
14011 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
14012 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
14013 (libpthread-sysdep_routines, libpthread-shared-only-routines):
14014 Append nptl-aeabi_unwind_cpp_pr1 here.
14015 (tests): Filter out tst-cleanupx4 here.
14016 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
14017 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
14018 Don't do those here.
14019
14020 2014-06-26 Joseph Myers <joseph@codesourcery.com>
14021
14022 * scripts/list-sources.sh: Do not handle ports specially.
14023
14024 2014-06-26 Roland McGrath <roland@hack.frob.com>
14025
14026 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
14027 * sysdeps/arm/feupdateenv.c: Likewise.
14028
14029 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
14030
14031 2014-06-26 Joseph Myers <joseph@codesourcery.com>
14032
14033 * manual/texinfo.tex: Update to version 2014-05-05.10 with
14034 trailing whitespace removed.
14035 * scripts/config.guess: Update to version 2014-03-23.
14036 * scripts/config.sub: Update to version 2014-05-01
14037 * scripts/install-sh: Update to version 2013-12-25.23.
14038 * scripts/move-if-change: Update from gnulib.
14039
14040 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14041
14042 * debug/memmove_chk.c: Remove pagecopy.h include.
14043
14044 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
14045
14046 * time/mktime.c (leapyear): Remove inline keyword. The code is now
14047 identical to gnulib mktime.
14048
14049 2014-06-26 Joseph Myers <joseph@codesourcery.com>
14050
14051 * configure.ac: Do not test for machine being rs6000. Do not test
14052 for powerpc*-*soft.
14053 * configure: Regenerated.
14054
14055 [BZ #11505]
14056 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
14057 test.
14058 * configure: Regenerated.
14059 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
14060 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
14061 Remove configure test.
14062 * sysdeps/arm/configure: Regenerated.
14063 * sysdeps/nptl/configure.ac: Do not check
14064 libc_cv_asm_cfi_directives.
14065 * sysdeps/nptl/configure: Regenerated.
14066 * sysdeps/x86_64/nptl/configure.ac: Remove file.
14067 * sysdeps/x86_64/nptl/configure: Remove generated file.
14068 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
14069 unconditional.
14070 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
14071
14072 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14073
14074 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
14075 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
14076 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
14077 it is defined.
14078
14079 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
14080 instead of whether it is defined.
14081 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
14082 * sysdeps/hppa/dl-machine.h: Likewise.
14083 * sysdeps/ia64/dl-machine.h: Likewise.
14084 * sysdeps/m68k/dl-machine.h: Likewise.
14085 * sysdeps/microblaze/dl-machine.h: Likewise.
14086 * sysdeps/mips/dl-machine.: Likewise.
14087 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14088 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14089 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14090 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14091 * sysdeps/sh/dl-machine.h: Likewise.
14092 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14093 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14094 * sysdeps/tile/dl-machine.h: Likewise.
14095 * sysdeps/x86_64/dl-machine.h: Likewise.
14096
14097 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
14098 code.
14099 (verify_persistent_db): Likewise.
14100
14101 2014-06-26 Roland McGrath <roland@hack.frob.com>
14102
14103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
14104 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
14105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
14106 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
14107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14108 Moved ...
14109 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14110 ... here.
14111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
14112 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
14113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
14114 Identical file removed.
14115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
14116 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
14117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
14118 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
14119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
14120 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
14121 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
14122 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
14123 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
14124 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
14125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14126 Moved ...
14127 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
14128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
14129 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
14130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
14131 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
14132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14133 Moved ...
14134 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
14135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
14136 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
14137 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
14138 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
14139 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14140 Identical file removed.
14141 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
14142 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
14143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
14144 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
14145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14146 Moved ...
14147 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14148 ... here.
14149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
14150 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
14151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
14152 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
14153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
14154 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
14155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
14156 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
14157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
14158 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
14159 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14160 Moved ...
14161 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
14162 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
14163 Moved ...
14164 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
14165 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
14166 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
14167 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14168 Moved ...
14169 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
14170 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
14171 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
14172
14173 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
14174 folded into ...
14175 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
14176 * sysdeps/unix/sysv/linux/s390/Versions
14177 (libpthread: GLIBC_2.19): New version set.
14178 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
14179 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
14180 (librt: GLIBC_2.3.3): New version set.
14181 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
14182 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
14183 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
14184 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
14185 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
14186 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
14187 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
14188 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
14189 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
14190 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
14191 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
14192 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
14193 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
14194 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
14195 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
14196 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
14197 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
14198 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
14199 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
14200 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
14201 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
14202 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
14203 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
14204 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
14205 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
14206 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
14207 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
14208 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
14209 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
14210 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
14211 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
14212 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
14213 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
14214 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
14215 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
14216 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
14217 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
14218 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
14219 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
14220 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
14221 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
14222 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
14223 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
14224 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
14225 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
14226
14227 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
14228 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
14229 (__libc_vfork): Define the function under this name.
14230 [!NOT_IN_libc] (__vfork): Make this an alias.
14231 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14232 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
14233 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
14234 (__libc_vfork): Define the function under this name.
14235 [!NOT_IN_libc] (__vfork): Make this an alias.
14236 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14237 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
14238 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
14239 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
14240 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
14241 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14242
14243 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
14244 code that was previously under [RESET_PID].
14245 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
14246 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
14247 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
14248
14249 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
14250 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
14251 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
14252 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
14253 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
14254 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
14255 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
14256 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
14257 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
14258 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
14259 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
14260 Moved ...
14261 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
14262 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
14263 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
14264 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
14265 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
14266 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
14267 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
14268 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
14269 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
14270 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
14271 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
14272 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
14273 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
14274 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
14275 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
14276 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
14277 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
14278 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
14279 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
14280 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
14281 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
14282 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
14283 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
14284 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
14285 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
14286 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
14287 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
14288 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
14289 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
14290
14291 2014-06-25 Roland McGrath <roland@hack.frob.com>
14292
14293 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
14294 that was previously under [RESET_PID].
14295 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
14296
14297 2014-06-25 Joseph Myers <joseph@codesourcery.com>
14298
14299 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
14300 not undefine and redefine.
14301 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
14302 [O_CLOEXEC]: Make code unconditional.
14303 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
14304 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
14305 <kernel-features.h>.
14306 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
14307 conditional variable definition.
14308 (shm_open) [O_CLOEXEC]: Make code unconditional.
14309 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
14310 code.
14311
14312 * configure.ac (USE_REGPARMS): Don't define here.
14313 * configure: Regenerated.
14314 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
14315 * sysdeps/i386/configure: Regenerated.
14316
14317 * nptl/createthread.c: Don't include kernel-features.h.
14318 * nptl/pthread_cancel.c: Likewise.
14319 * nptl/pthread_condattr_setclock.c: Likewise.
14320 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
14321 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
14322 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
14323 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
14324 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
14325 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
14326 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
14327 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
14328 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
14329 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
14330 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
14331 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
14332 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
14333 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
14334 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
14335 * nscd/gai.c: Likewise.
14336 * nss/nss_db/db-open.c: Likewise.
14337 * sysdeps/generic/ldsodefs.h: Likewise.
14338 * sysdeps/sh/nptl/tls.h: Likewise.
14339 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14340 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
14341 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
14342 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
14343 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
14344 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14345 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
14346 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14347 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14348 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
14349 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
14350 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14351 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
14352 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
14353 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
14354 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
14355 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
14356 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
14357 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
14358 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
14359 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
14360 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
14361 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
14362 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
14363 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
14364 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
14365 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
14366 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
14367 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
14368 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
14369 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
14370 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
14371 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
14372 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14373 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14374 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14375 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14376 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
14377 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
14378 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
14379 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14380 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
14381 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
14382 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14383 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
14384 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
14385 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
14386 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
14387 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
14388 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
14389 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
14390 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
14391 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
14392 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14393 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
14394 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14395 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14396 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
14397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
14399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
14400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
14401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
14402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
14403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
14404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
14405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
14408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
14409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
14410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
14411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
14413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
14417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
14418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
14419 * sysdeps/unix/sysv/linux/pread.c: Likewise.
14420 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
14421 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
14422 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
14423 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
14424 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
14425 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
14426 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
14427 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
14428 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
14429 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
14430 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
14431 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
14432 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
14433 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
14434 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
14435 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14436 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
14437 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
14438 * sysdeps/unix/sysv/linux/system.c: Likewise.
14439 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
14440 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
14441 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14442 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14443 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14444 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14445 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14446
14447 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
14448 * configure: Regenerated.
14449 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
14450
14451 * configure.ac (base_machine): Do not set specially for particular
14452 machines here.
14453 * configure: Regenerated.
14454 * sysdeps/powerpc/preconfigure: Move machine and base_machine
14455 settings from configure.ac.
14456 * sysdeps/i386/preconfigure: New file.
14457 * sysdeps/s390/preconfigure: Likewise.
14458 * sysdeps/sh/preconfigure: Likewise.
14459 * sysdeps/sparc/preconfigure: Likewise.
14460
14461 2014-06-25 Roland McGrath <roland@hack.frob.com>
14462
14463 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
14464 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
14465 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
14466 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
14467 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
14468 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
14469 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
14470 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
14471 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
14472 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
14473 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
14474 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
14475 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
14476 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
14477 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
14478 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
14479 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
14480 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
14481 * sysdeps/sparc/sparc64/Makefile: ... appended here.
14482
14483 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
14484 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
14485 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
14486 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
14487 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
14488 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
14489 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
14490 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
14491 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
14492 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
14493 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
14494 * sysdeps/sparc/sparc32/sem_post.c: ... here.
14495 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
14496 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
14497 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
14498 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
14499 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
14500 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
14501 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
14502 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
14503 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
14504 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
14505 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
14506 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
14507 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
14508 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
14509 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
14510 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
14511 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
14512 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
14513 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
14514 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
14515 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
14516 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
14517 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
14518 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
14519 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
14520 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
14521
14522 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
14523 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
14524 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
14525 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
14526 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14527 Moved ...
14528 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14529 ... here.
14530 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
14531 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
14532 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
14533 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
14534 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
14535 Moved ...
14536 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
14537 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
14538 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
14539 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
14540 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
14541 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
14542 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
14543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14544 Moved ...
14545 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
14546 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14547 Moved ...
14548 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
14549 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
14550 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
14551 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14552 Moved ...
14553 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
14554 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
14555 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
14556 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
14557 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
14558 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
14559 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
14560 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
14561 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
14562 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14563 Moved ...
14564 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14565 ... here.
14566 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
14567 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
14568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
14569 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
14570 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
14571 Moved ...
14572 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
14573 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
14574 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
14575 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
14576 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
14577 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
14578 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
14579 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14580 Moved ...
14581 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
14582 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14583 Moved ...
14584 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
14585 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
14586 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
14587 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14588 Moved ...
14589 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
14590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
14591 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
14592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
14593 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
14594
14595 2014-06-25 Joseph Myers <joseph@codesourcery.com>
14596
14597 * timezone/checktab.awk: Update from tzcode 2014e.
14598 * timezone/private.h: Likewise.
14599 * timezone/tzfile.h: Likewise.
14600 * timezone/zdump.c: Likewise.
14601 * timezone/zic.c: Likewise.
14602
14603 * sysdeps/unix/sysv/linux/kernel-features.h
14604 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
14605 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
14606 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
14607 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14608 Remove conditional code.
14609
14610 2014-06-25 Will Newton <will.newton@linaro.org>
14611
14612 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
14613 (_dl_arm_cap_flags): Add HWCAP2 values.
14614 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
14615 (_DL_HWCAP_COUNT): Increase to 37.
14616 (_DL_HWCAP_LAST): New define.
14617 (_DL_HWCAP2_LAST): New define.
14618 (_dl_procinfo): Add support for printing
14619 AT_HWCAP2 entries.
14620 (_dl_string_hwcap): Use _dl_hwcap_string.
14621
14622 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14623
14624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14625
14626 2014-06-25 Joseph Myers <joseph@codesourcery.com>
14627
14628 * README: Do not mention ports directory.
14629
14630 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
14631 Remove macro.
14632 * sysdeps/unix/sysv/linux/futimes.c: Do not include
14633 <kernel-features.h>.
14634 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
14635 conditional variable definition.
14636 (__futimes): Update comment.
14637 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
14638 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
14639
14640 [BZ #16560]
14641 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
14642 arguments close to 0.
14643 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
14644 Likewise.
14645 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
14646 Likewise.
14647 * math/auto-libm-test-in: Add more tests of exp10.
14648 * math/auto-libm-test-out: Regenerated.
14649 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14650
14651 * sysdeps/unix/sysv/linux/kernel-features.h
14652 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
14653 * sysdeps/unix/sysv/linux/readv.c: Do not include
14654 <kernel-features.h>.
14655 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14656 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14657 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14658 unconditional.
14659 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14660 conditional code.
14661 * sysdeps/unix/sysv/linux/writev.c: Do not include
14662 <kernel-features.h>.
14663 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14664 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14665 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14666 unconditional.
14667 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14668 conditional code.
14669
14670 2014-06-25 Will Newton <will.newton@linaro.org>
14671
14672 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
14673 comment changes throughout the file. Remove checks
14674 for HAVE_*_H definitions that are not required.
14675 (__gen_tempname): Call abort if an unknown kind value is
14676 passed.
14677
14678 2014-06-25 Andreas Schwab <schwab@suse.de>
14679
14680 [BZ #17086]
14681 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
14682 scalbln, scalblnf, scalblnl in libc.
14683
14684 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14685
14686 [BZ #17086]
14687 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
14688 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
14689 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
14690
14691 2014-06-24 Roland McGrath <roland@hack.frob.com>
14692
14693 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
14694 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
14695 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
14696 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
14697 Update #include.
14698 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
14699 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
14700 Update #include.
14701 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
14702 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
14703 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
14704 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
14705 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
14706 * sysdeps/x86/bits/pthreadtypes.h: ... here.
14707 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
14708 * sysdeps/x86/bits/semaphore.h: ... here.
14709 * sysdeps/x86/nptl/elide.h: Moved ...
14710 * sysdeps/x86/elide.h: ... here.
14711 * sysdeps/x86_64/nptl/Implies: File removed.
14712 * sysdeps/i386/nptl/Implies: File removed.
14713
14714 2014-06-24 Joseph Myers <joseph@codesourcery.com>
14715
14716 [BZ #16539]
14717 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
14718 return the argument for normal arguments with exponent below -64.
14719 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14720 Likewise.
14721 * math/auto-libm-test-in: Add another test of expm1.
14722 * math/auto-libm-test-out: Regenerated.
14723
14724 [BZ #16287]
14725 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
14726 calling __erfcl for arguments at least 16.
14727 * math/auto-libm-test-in: Add more tests of erf.
14728 * math/auto-libm-test-out: Regenerated.
14729
14730 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
14731 individual architectures.
14732 * sysdeps/unix/sysv/linux/configure: Regenerated.
14733 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
14734 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
14735 * sysdeps/unix/sysv/linux/powerpc/configure.ac
14736 (ldd_rewrite_script): Define variable.
14737 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
14739 file.
14740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
14741 generated file.
14742 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
14743 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
14744 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
14745 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
14746 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
14747 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
14748 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
14749 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
14750
14751 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14752
14753 [BZ #17084]
14754 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
14755 Rename member __data.d to __data.__elision_data.
14756
14757 2014-06-24 Wilco <wdijkstr@arm.com>
14758
14759 * NEWS: Add 16918 to fixed bug list.
14760
14761 2014-06-24 Wilco <wdijkstr@arm.com>
14762
14763 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
14764
14765 2014-06-24 Wilco <wdijkstr@arm.com>
14766
14767 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
14768 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
14769 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
14770 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
14771 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
14772 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
14773 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
14774 Use _FPU_MASK_RM.
14775
14776 2014-06-24 Wilco <wdijkstr@arm.com>
14777
14778 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
14779
14780 2014-06-24 Wilco <wdijkstr@arm.com>
14781
14782 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
14783 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
14784 * sysdeps/arm/fesetround.c (fesetround): Remove space.
14785 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
14786
14787 2014-06-24 Wilco <wdijkstr@arm.com>
14788
14789 [BZ #16918]
14790 * sysdeps/arm/feupdateenv.c (feupdateenv):
14791 Rewrite to reduce FPSCR accesses and fix return value.
14792
14793 2014-06-24 Wilco <wdijkstr@arm.com>
14794
14795 * sysdeps/arm/fclrexcpt.c (feclearexcept):
14796 Optimize to avoid unnecessary FPSCR writes.
14797 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
14798 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
14799 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
14800 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
14801
14802 2014-06-24 Wilco <wdijkstr@arm.com>
14803
14804 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
14805 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
14806 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
14807 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
14808 Call libc_fetestexcept_vfp.
14809 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
14810 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
14811 __SOFTFP__ ifdef so that they can be built for softfp.
14812
14813 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14814
14815 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
14816 argument type signed char.
14817
14818 * Makerules (check-abi): Dump diff of symlist if the test
14819 fails.
14820
14821 2014-06-23 Roland McGrath <roland@hack.frob.com>
14822
14823 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
14824 using abort.
14825
14826 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
14827 Remove unused variable ST.
14828
14829 2014-06-23 Joseph Myers <joseph@codesourcery.com>
14830
14831 [BZ #16354]
14832 [BZ #17061]
14833 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
14834 small arguments before calling __expm1.
14835 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
14836 small arguments before calling __expm1f.
14837 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
14838 small arguments before calling __expm1l.
14839 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14840 Likewise.
14841 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
14842 * math/auto-libm-test-in: Add more cosh tests. Do not allow
14843 spurious underflow for some cosh tests.
14844 * math/auto-libm-test-out: Regenerated.
14845 * sysdeps/i386/fpu/libm-test-ulps: Update.
14846
14847 [BZ #17050]
14848 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
14849 (__ieee754_y1): Set errno if return value overflows.
14850 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
14851 (__ieee754_y1f): Set errno if return value overflows.
14852 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
14853 (__ieee754_y1l): Set errno if return value overflows.
14854 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
14855 (__ieee754_y1l): Set errno if return value overflows.
14856 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
14857 * math/auto-libm-test-out: Regenerated.
14858
14859 * math/gen-auto-libm-tests.c: Document use of
14860 ignore-zero-inf-sign.
14861 (input_flag_type): Add value flag_ignore_zero_inf_sign.
14862 (input_flags): Add ignore-zero-inf-sign.
14863 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
14864 * math/gen-libm-test.pl (generate_testfile): Handle
14865 ignore-zero-inf-sign.
14866 * math/auto-libm-test-in: Mark some cpow tests with
14867 ignore-zero-inf-sign and some with xfail-rounding.
14868 * math/auto-libm-test-out: Regenerated.
14869 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
14870 * sysdeps/i386/fpu/libm-test-ulps: Update.
14871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14872
14873 [BZ #16315]
14874 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
14875 overflowing or underflowing operations take place with sign of
14876 result.
14877 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14878 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14879 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
14880 (__ieee754_pow): Recompute overflowing and underflowing results in
14881 original rounding mode.
14882 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
14883 (__powl_helper): Allow negative argument X and scale negated value
14884 as needed. Avoid passing value outside [-1, 1] to f2xm1.
14885 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
14886 overflowing or underflowing operations take place with sign of
14887 result.
14888 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
14889 Include <math.h>.
14890 * math/auto-libm-test-in: Add more tests of pow.
14891 * math/auto-libm-test-out: Regenerated.
14892 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
14893 (pow_tonearest_test_data): Remove.
14894 (pow_test_tonearest): Likewise.
14895 (pow_towardzero_test_data): Likewise.
14896 (pow_test_towardzero): Likewise.
14897 (pow_downward_test_data): Likewise.
14898 (pow_test_downward): Likewise.
14899 (pow_upward_test_data): Likewise.
14900 (pow_test_upward): Likewise.
14901 (main): Don't call removed functions.
14902 * sysdeps/i386/fpu/libm-test-ulps: Update.
14903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14904
14905 2014-06-23 Roland McGrath <roland@hack.frob.com>
14906
14907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
14908 Moved ...
14909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
14910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14911 Moved ...
14912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
14913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14914 Moved ...
14915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
14916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14917 Moved ...
14918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
14919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14920 File removed.
14921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14922 File removed.
14923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
14924 File removed.
14925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
14926 File removed.
14927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
14928 File removed.
14929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
14930 File removed.
14931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
14932 File removed.
14933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14934 File removed.
14935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
14936 File removed.
14937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14938 File removed.
14939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
14940 File removed.
14941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
14942 File removed.
14943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
14944 Moved ...
14945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
14946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
14947 Moved ...
14948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14949 ... here.
14950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
14951 Moved ...
14952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
14953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
14954 Moved ...
14955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
14956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
14957 Moved ...
14958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
14959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
14960 Moved ...
14961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
14962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
14963 Moved ...
14964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
14965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
14966 Moved ...
14967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
14968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
14969 Moved ...
14970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
14971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
14972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14973 ... here.
14974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
14975 Moved ...
14976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
14977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14978 Moved ...
14979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14980 ... here.
14981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
14982 Moved ...
14983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14984 ... here.
14985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14986 Moved ...
14987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
14988 ... here.
14989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14990 Moved ...
14991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
14992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14993 Moved ...
14994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
14995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
14996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
14997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14998 Moved ...
14999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
15000 ... here.
15001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15002 Moved ...
15003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
15004 ... here.
15005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15006 Moved ...
15007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
15008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15009 Moved ...
15010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
15011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15012 Moved ...
15013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
15014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15015 Moved ...
15016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
15017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15018 Moved ...
15019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
15020 ... here.
15021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15022 Moved ...
15023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
15024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15025 Moved ...
15026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
15027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15028 Moved ...
15029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
15030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15031 Moved ...
15032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
15033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
15034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
15035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15036 Moved ...
15037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
15038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15039 Moved ...
15040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
15041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15042 Moved ...
15043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
15044 ... here.
15045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15046 Moved ...
15047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
15048 ... here.
15049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15050 Moved ...
15051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
15052 ... here.
15053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15054 Moved ...
15055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
15056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15057 Moved ...
15058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
15059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15060 Moved ...
15061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
15062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15063 Moved ...
15064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
15065 ... here.
15066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15067 Moved ...
15068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
15069 ... here.
15070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15071 Moved ...
15072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
15073 ... here.
15074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15075 Moved ...
15076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
15077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15078 Moved ...
15079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
15080
15081 2014-06-23 Will Newton <will.newton@linaro.org>
15082 Wilco <wdijkstr@arm.com>
15083
15084 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
15085 implementation. Include get-rounding-mode.h.
15086 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
15087 [!libc_feholdsetround_noex_ctx]: Define
15088 libc_feholdsetround_noex_ctx.
15089 [!libc_feholdsetround_noexf_ctx]: Define
15090 libc_feholdsetround_noexf_ctx.
15091 [!libc_feholdsetround_noexl_ctx]: Define
15092 libc_feholdsetround_noexl_ctx.
15093 (libc_feholdsetround_ctx): New function.
15094 (libc_feresetround_ctx): New function.
15095 (libc_feholdsetround_noex_ctx): New function.
15096 (libc_feresetround_noex_ctx): New function.
15097
15098 2014-06-23 Roland McGrath <roland@hack.frob.com>
15099
15100 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
15101 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
15102 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
15103 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
15104 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
15105 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
15106
15107 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
15108 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
15109 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
15110 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
15111 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
15112 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
15113 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
15114 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
15115 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
15116 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
15117 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
15118 Moved ...
15119 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
15120 ... here.
15121 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
15122 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
15123 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
15124 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
15125 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
15126 Moved ...
15127 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
15128 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
15129 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
15130 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
15131 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
15132 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
15133 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
15134 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
15135 Moved ...
15136 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
15137 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
15138 Moved ...
15139 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
15140 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
15141 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
15142 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
15143 Moved ...
15144 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
15145 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
15146 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
15147 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
15148 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
15149 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
15150 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
15151 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
15152 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
15153 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
15154 Moved ...
15155 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
15156 ... here.
15157 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
15158 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
15159 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
15160 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
15161 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
15162 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
15163 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
15164 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
15165 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
15166 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
15167 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
15168 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
15169 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
15170 Moved ...
15171 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
15172 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
15173 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
15174 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
15175 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
15176 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
15177 Moved ...
15178 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
15179 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
15180 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
15181 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
15182 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
15183
15184 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
15185 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
15186 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
15187 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
15188 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
15189 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
15190 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
15191 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
15192 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
15193 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
15194 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
15195 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
15196 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
15197 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
15198 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
15199 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
15200 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
15201 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
15202 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
15203 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
15204 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
15205 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
15206 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
15207 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
15208 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
15209 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
15210 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
15211 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
15212
15213 2014-06-23 Joseph Myers <joseph@codesourcery.com>
15214
15215 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
15216 (FALLOC_FL_COLLAPSE_RANGE): New macro.
15217 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
15218 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
15219 (IPV6_PMTUDISC_INTERFACE): Likewise.
15220 (IPV6_PMTUDISC_OMIT): Likewise.
15221
15222 2014-06-23 Andreas Schwab <schwab@suse.de>
15223
15224 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
15225 Remove unused errout label.
15226
15227 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15228
15229 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
15230 macro: hardware supports Vector Crypto instructions.
15231
15232 2014-06-23 Will Newton <will.newton@linaro.org>
15233
15234 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
15235 rather than __builtin_expect.
15236
15237 * elf/dl-lookup.c (undefined_msg): Remove variable.
15238 (_dl_lookup_symbol_x): Replace undefined_msg with string
15239 literal.
15240
15241 * elf/dl-lookup.c (do_lookup_unique): New function.
15242 (do_lookup_x): Move STB_GNU_UNIQUE handling code
15243 to a separate function.
15244
15245 2014-06-23 Andreas Schwab <schwab@suse.de>
15246
15247 [BZ #17079]
15248 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
15249 before reading the next line.
15250
15251 2014-06-23 Will Newton <will.newton@linaro.org>
15252
15253 * test-skeleton.c (signal_handler): Use printf and %m
15254 rather than perror. Use printf rather than fprintf to
15255 stderr. Use puts rather than fputs to stderr.
15256 (main): Likewise.
15257
15258 2014-06-22 Ludovic Courtès <ludo@gnu.org>
15259
15260 * nscd/nscd.c (thread_info_t): Remove typedef.
15261 (thread_info): Remove variable.
15262
15263 2014-06-21 Allan McRae <allan@archlinux.org>
15264
15265 * NEWS: Mention CVE-2014-4043.
15266
15267 2014-06-20 Roland McGrath <roland@hack.frob.com>
15268
15269 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
15270 * nptl/smp.h: ... here.
15271
15272 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
15273
15274 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
15275 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
15276 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
15277 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
15278
15279 * nptl/allocatestack.c: Include <stack-aliasing.h>.
15280 * nptl/stack-aliasing.h: New file.
15281 * sysdeps/i386/i686/stack-aliasing.h: New file.
15282 * sysdeps/i386/i686/nptl/Makefile: File removed.
15283 * sysdeps/x86_64/stack-aliasing.h: New file.
15284 * sysdeps/x86_64/nptl/Makefile
15285 (CFLAGS-pthread_create.c): Variable removed.
15286
15287 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
15288 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
15289 old file.
15290 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
15291 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
15292 old file.
15293
15294 2014-06-21 Joseph Myers <joseph@codesourcery.com>
15295
15296 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15297 (__ASSUME_SIGFRAME_V2): Remove macro.
15298 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
15299 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
15300 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
15301 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
15302 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
15303 Declare as function. Remove conditional macro definitions.
15304 (__default_rt_sa_restorer): Likewise.
15305 (__default_sa_restorer_v1): Remove declaration.
15306 (__default_sa_restorer_v2): Likewise.
15307 (__default_rt_sa_restorer_v1): Likewise.
15308 (__default_rt_sa_restorer_v2): Likewise.
15309 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
15310 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
15311 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
15312
15313 2014-06-20 Roland McGrath <roland@hack.frob.com>
15314
15315 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
15316 (libpthread-routines): Add sysdep.
15317 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
15318 * sysdeps/unix/sysv/linux/sparc/Versions
15319 (libpthread: GLIBC_2.3.3): New version set.
15320 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
15321 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
15322 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
15323 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
15324 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
15325 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
15326 Moved ...
15327 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
15328 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
15329 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
15330 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
15331 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
15332 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
15333 * sysdeps/sparc/nptl/sem_init.c: ... here.
15334 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
15335 * sysdeps/sparc/nptl/sem_post.c: ... here.
15336 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
15337 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
15338 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
15339 * sysdeps/sparc/nptl/sem_wait.c: ... here.
15340 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
15341 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
15342 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
15343 (libpthread-routines): Add cpu_relax.
15344 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
15345 File removed.
15346 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
15347 (librt: GLIBC_2.3.3): New version set.
15348 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
15349 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
15350 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
15351 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
15352 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
15353 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
15354 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
15355 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
15356 Moved ...
15357 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
15358 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
15359 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
15360 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
15361 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
15362 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
15363 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
15364 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
15365 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
15366 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
15367 Moved ...
15368 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
15369 Update #include.
15370 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
15371 Moved ...
15372 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
15373 Update #include.
15374 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
15375 Moved ...
15376 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
15377 Update #include.
15378 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
15379 Moved ...
15380 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
15381 Update #include.
15382 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
15383 Moved ...
15384 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
15385 Update #include.
15386 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
15387 Moved ...
15388 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
15389 Update #include.
15390 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
15391 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
15392 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
15393 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
15394 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
15395 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
15396 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
15397 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
15398 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
15399 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
15400 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
15401 Moved ...
15402 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
15403 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
15404 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
15405 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
15406 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
15407
15408 2014-06-20 Joseph Myers <joseph@codesourcery.com>
15409
15410 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
15411 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
15412 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
15413 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
15414 * nscd/nscd.c: Likewise.
15415 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
15416 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
15417 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
15418 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
15419
15420 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
15421 <kernel-features.h>.
15422 (init_mq_netlink): Remove conditional have_sock_cloexec
15423 definitions. Remove code conditional on have_sock_cloexec < 0.
15424 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
15425 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
15426 * sysdeps/unix/sysv/linux/opensock.c: Do not include
15427 <kernel-features.h>.
15428 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
15429 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
15430
15431 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
15432
15433 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15434 Add tests for memset_chk and memset.
15435
15436 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
15437 with AVX2_Usable.
15438
15439 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
15440
15441 [BZ #16046]
15442 * elf/tst-dl-iter-static.c: New file.
15443 * elf/Makefile (tests-static): Add tst-dl-iter-static.
15444
15445 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
15446 error.
15447
15448 2014-06-20 Joseph Myers <joseph@codesourcery.com>
15449
15450 * sysdeps/unix/sysv/linux/kernel-features.h
15451 (__ASSUME_F_GETOWN_EX): Remove macro.
15452 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
15453 <kernel-features.h>.
15454 (miss_F_GETOWN_EX): Remove variable or macro.
15455 (do_fcntl): Do not check miss_F_GETOWN_EX.
15456 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
15457
15458 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
15459 Remove macro.
15460 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
15461 [!__ASSUME_AT_RANDOM]: Remove conditional code.
15462 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
15463
15464 * sysdeps/unix/sysv/linux/kernel-features.h
15465 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
15466 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
15467 [ADJ_OFFSET_SS_READ]: Make code unconditional.
15468 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
15469
15470 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
15471
15472 [BZ #17075]
15473 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
15474 Fix calculation of the symbol's value.
15475 * sysdeps/arm/tst-armtlsdescloc.c: New file.
15476 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
15477 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
15478 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
15479 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
15480 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
15481 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
15482 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
15483 (modules-names): Add `tst-armtlsdescmod',
15484 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
15485 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
15486 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15487 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
15488 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
15489 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15490 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
15491 ($(objpfx)tst-armtlsdescloc): New dependency.
15492 ($(objpfx)tst-armtlsdescextnow): Likewise.
15493 ($(objpfx)tst-armtlsdescextlazy): Likewise.
15494 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
15495 TLS scheme support.
15496 * sysdeps/arm/configure: Regenerate.
15497
15498 2014-06-20 Joseph Myers <joseph@codesourcery.com>
15499
15500 * include/fcntl.h (__atfct_seterrno): Remove prototype.
15501 (__atfct_seterrno_2): Likewise.
15502 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
15503 <kernel-features.h>.
15504 (__ASSUME_ATFCTS): Do not undefine and redefine.
15505 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
15506 (__have_atfcts): Remove conditional definition.
15507 (__fxstatat([__NR_fstatat64]: Make code unconditional.
15508 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
15509 unreachable if [__ASSUME_ATFCTS].
15510 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
15511 not undefine and redefine.
15512 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
15513 <kernel-features.h>.
15514 (faccessat) [__NR_faccessat]: Make code unconditional.
15515 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
15516 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
15517 <kernel-features.h>.
15518 (fchmodat) [__NR_fchmodat]: Make code unconditional.
15519 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15520 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
15521 <kernel-features.h>.
15522 (fchownat) [__NR_fchownat]: Make code unconditional.
15523 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
15524 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
15525 <kernel-features.h>.
15526 (futimesat) [__NR_futimesat]: Make code unconditional.
15527 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
15528 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15529 <kernel-features.h>.
15530 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15531 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15532 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15533 <kernel-features.h>.
15534 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
15535 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15536 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
15537 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15538 <kernel-features.h>.
15539 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
15540 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15541 * sysdeps/unix/sysv/linux/linkat.c: Do not include
15542 <kernel-features.h>.
15543 (linkat) [__NR_linkat]: Make code unconditional.
15544 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15545 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
15546 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
15547 <kernel-features.h>.
15548 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
15549 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15550 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
15551 <kernel-features.h>.
15552 (mkdirat) [__NR_mkdirat]: Make code unconditional.
15553 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
15554 * sysdeps/unix/sysv/linux/openat.c: Do not include
15555 <kernel-features.h>.
15556 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
15557 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
15558 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
15559 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
15560 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
15561 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
15562 <kernel-features.h>.
15563 (readlinkat) [__NR_readlinkat]: Make code unconditional.
15564 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
15565 result of INLINE_SYSCALL directly, not via int variable.
15566 * sysdeps/unix/sysv/linux/renameat.c: Do not include
15567 <kernel-features.h>.
15568 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
15569 (renameat) [__NR_renameat]: Make code unconditional.
15570 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
15571 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
15572 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
15573 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
15574 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
15575 (__ASSUME_ATFCTS): Do not undefine and redefine.
15576 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
15577 <kernel-features.h>.
15578 (symlinkat) [__NR_symlinkat]: Make code unconditional.
15579 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15580 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
15581 <kernel-features.h>.
15582 (unlinkat) [__NR_unlinkat]: Make code unconditional.
15583 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15584 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
15585 (__ASSUME_ATFCTS): Do not undefine and redefine.
15586 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15587 <kernel-features.h>.
15588 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15589 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15590 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15591 <kernel-features.h>.
15592 (__xmknodat) [__NR_mknodat]: Make code unconditional.
15593 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15594
15595 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
15596
15597 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
15598
15599 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
15600
15601 [BZ #17069]
15602 * posix/regcomp.c (parse_reg_exp): Deallocate partially
15603 constructed tree before returning error.
15604 * posix/bug-regexp36.c: Expand test case.
15605
15606 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
15607
15608 [BZ #6803]
15609 * math/libm-test.inc (scalbln_test_date):
15610 Add errno expectations.
15611 * math/w_scalblnf.c: New File.
15612 Add wrapper which checks for setting errno to ERANGE.
15613 Add weak_alias for corresponding scalbln function.
15614 * math/w_scalbln.c: Likewise.
15615 * math/w_scalblnl.c: Likewise.
15616 * math/Makefile (libm-calls): Add w_scalbln.
15617 * sysdeps/ieee754/flt-32/s_scalblnf.c:
15618 Remove weak_alias for corresponding scalbln function.
15619 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15620 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15621 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15622 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15623 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
15624 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15625 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
15626 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15627 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
15628 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
15629 Remove long_double_symbol for scalblnl function in libm, libc.
15630 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
15631 Add wrapper which checks for setting errno to ERANGE.
15632 Add long_double_symbol for scalblnl function in libm, libc.
15633 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
15634 Remove long_double_symbol for scalblnl in libm.
15635 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
15636 Add wrapper which checks for setting errno to ERANGE.
15637 Add long_double_symbol for scalblnl function in libm.
15638 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
15639 Do not use wrapper because of own implementation.
15640
15641 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
15642
15643 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
15644 3 bytes for __pad1 for x32.
15645 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
15646
15647 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
15648 H.J. Lu <hongjiu.lu@intel.com>
15649
15650 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
15651 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
15652 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15653 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15654 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
15655
15656 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
15657
15658 [BZ #17069]
15659 * posix/regcomp.c (parse_expression): Deallocate partially
15660 constructed tree before returning error.
15661 * posix/Makefile.c (tests): Add bug-regex36.
15662 (generated): Add bug-regex36.mtrace.
15663 (tests-special): Add $(objpfx)bug-regex36-mem.out
15664 (bug-regex36-ENV): New variable.
15665 ($(objpfx)bug-regex36-mem.out): New rule.
15666 * posix/bug-regex36.c: New file.
15667
15668 2014-06-19 Will Newton <will.newton@linaro.org>
15669
15670 * malloc/malloc.c (systrim): If extra is zero then return
15671 early.
15672
15673 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15674
15675 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
15676
15677 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
15678
15679 * sysdeps/aarch64/strchr.S: New file.
15680
15681 2014-06-18 Joseph Myers <joseph@codesourcery.com>
15682
15683 [BZ #17022]
15684 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
15685 from arguments -2 or below.
15686 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15687 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
15688
15689 2014-06-18 Andreas Schwab <schwab@suse.de>
15690
15691 [BZ #17062]
15692 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
15693 of a bracket expr not to run off the end of the string.
15694 * posix/Makefile (tests): Add tst-fnmatch3.
15695 * posix/tst-fnmatch3.c: New file.
15696
15697 2014-06-18 Joseph Myers <joseph@codesourcery.com>
15698
15699 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
15700 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15701 [$(cross-compiling) = no]: Likewise.
15702 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15703 [$(cross-compiling) = no]: Likewise.
15704
15705 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15706
15707 [BZ #17031]
15708 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
15709 double, adjusted for any remainder from the high double.
15710 * math/libm-test.inc (nearbyint): Add tests.
15711 (rint): Likewise.
15712
15713 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15714
15715 * nptl/sysdeps/powerpc/Makefile: Moved ...
15716 * sysdeps/powerpc/nptl/Makefile: ... here.
15717 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
15718 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
15719 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
15720 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
15721 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
15722 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
15723 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
15724 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
15725 * nptl/sysdeps/powerpc/tls.h: Moved ...
15726 * sysdeps/powerpc/nptl/tls.h: ... here.
15727
15728 2014-06-16 Joseph Myers <joseph@codesourcery.com>
15729
15730 [BZ #16681]
15731 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
15732 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
15733 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
15734 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
15735 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
15736 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
15737 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
15738 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
15739 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
15740
15741 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
15742
15743 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15744
15745 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
15746
15747 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
15748 defined operator.
15749
15750 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
15751 $TIMEOUTFACTOR.
15752
15753 2014-06-16 Florian Weimer <fweimer@redhat.com>
15754
15755 [BZ #17058]
15756 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
15757 non-executed part of the test.
15758
15759 2014-06-16 Andreas Schwab <schwab@suse.de>
15760
15761 * string/bits/string2.h (strdup, strndup): Update feature guard.
15762
15763 2014-06-14 David S. Miller <davem@davemloft.net>
15764
15765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15766
15767 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
15768
15769 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
15770 that was previously under [RESET_PID].
15771 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
15772
15773 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
15774 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
15775 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
15776 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15777 (__libc_vfork): New strong alias.
15778 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
15779
15780 2014-06-14 Andi Kleen <ak@linux.intel.com>
15781
15782 * sysdeps/generic/elide.h: New file.
15783
15784 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
15785
15786 * Makefile (installed-headers): Adjust path of pthread.h header.
15787
15788 2014-06-13 Roland McGrath <roland@hack.frob.com>
15789
15790 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
15791 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
15792 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
15793 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
15794
15795 * nptl/sysdeps/s390/Makefile: Moved ...
15796 * sysdeps/s390/nptl/Makefile: ... here.
15797 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
15798 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
15799 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
15800 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
15801 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
15802 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
15803 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
15804 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
15805 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
15806 * sysdeps/s390/nptl/pthreaddef.h: ... here.
15807 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
15808 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
15809 * nptl/sysdeps/s390/tls.h: Moved ...
15810 * sysdeps/s390/nptl/tls.h: ... here.
15811
15812 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
15813 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
15814
15815 2014-06-13 David S. Miller <davem@davemloft.net>
15816
15817 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
15818 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
15819 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
15820 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
15821 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
15822 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
15823 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
15824 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
15825 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
15826 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
15827 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
15828 Remove RESET_PID cpp guards.
15829 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
15830 Remove RESET_PID cpp guards.
15831 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
15832
15833 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
15834
15835 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
15836 __sp to uintptr_t.
15837
15838 2014-06-13 Andi Kleen <ak@linux.intel.com>
15839
15840 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
15841 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
15842 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
15843 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
15844 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
15845 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
15846 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
15847 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
15848 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
15849 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
15850 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
15851 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
15852 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
15853 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
15854 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
15855 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
15856 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
15857 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
15858 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
15859 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
15860
15861 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
15862 (pthread_rwlock_rdlock): Add elision.
15863 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
15864 (pthread_rwlock_wrlock): Add elision.
15865 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
15866 (pthread_rwlock_trywrlock): Add elision.
15867 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
15868 (pthread_rwlock_tryrdlock): Add elision.
15869 * nptl/pthread_rwlock_unlock.c: Include elide.h.
15870 (pthread_rwlock_tryrdlock): Add elision unlock.
15871 * nptl/sysdeps/pthread/pthread.h:
15872 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
15873 (PTHREAD_RWLOCK_INITIALIZER,
15874 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
15875 Handle new elision field.
15876 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
15877 * sysdeps/arm/nptl/bits/pthreadtypes.h
15878 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15879 * sysdeps/sh/nptl/bits/pthreadtypes.h
15880 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15881 * sysdeps/tile/nptl/bits/pthreadtypes.h
15882 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15883 * sysdeps/a/nptl/bits/pthreadtypes.h
15884 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15885 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15886 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15887 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15888 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15889 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
15890 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15891 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15892 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15893 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15894 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15895 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15896 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15897 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15898 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15899 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
15900 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15901 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
15902 (elision_init): Set try_xbegin to zero when no RTM.
15903 * sysdeps/x86/nptl/bits/pthreadtypes.h
15904 (pthread_rwlock_t): Change __pad1 to __rwelision.
15905 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15906
15907 2014-06-13 Andi Kleen <ak@linux.intel.com>
15908
15909 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
15910 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
15911 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
15912 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
15913
15914 2014-06-13 Meador Inge <meadori@codesourcery.com>
15915
15916 [BZ #16996]
15917 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
15918 that the cached result has been set before returning it.
15919
15920 2014-06-12 Roland McGrath <roland@hack.frob.com>
15921
15922 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
15923 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
15924 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
15925 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
15926 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
15927 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
15928
15929 * nptl/sysdeps/sparc/Makefile: Moved ...
15930 * sysdeps/sparc/nptl/Makefile: ... here.
15931 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
15932 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
15933 * nptl/sysdeps/sparc/tls.h: Moved ...
15934 * sysdeps/sparc/nptl/tls.h: ... here.
15935 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
15936 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
15937 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
15938 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
15939 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
15940 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
15941 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
15942 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
15943 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
15944 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
15945 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
15946 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
15947 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
15948 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
15949 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
15950 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
15951 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
15952 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
15953 Update #include.
15954 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
15955 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
15956 Update #include.
15957 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
15958 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
15959 Update #include.
15960 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
15961 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
15962 Update #include.
15963
15964 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15965
15966 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
15967 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
15968
15969 * sysdeps/pthread/posix-timer.h: Include <list.h>.
15970 (struct list_links): Type removed.
15971 (struct thread_node, struct timer_node): Replace struct list_links
15972 with struct list_head.
15973 (list_unlink_ip): Likewise.
15974 * sysdeps/pthread/timer_routines.c
15975 (timer_free_list, thread_free_list, thread_active_list): Likewise.
15976 (list_append, list_insbefore): Likewise.
15977 (list_init): Function removed.
15978 (thread_init, init_module): Use INIT_LIST_HEAD instead.
15979 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
15980 * sysdeps/pthread/Makefile: ... here, new file.
15981
15982 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
15983 * sysdeps/nptl/Implies: ... here.
15984 * sysdeps/unix/sysv/linux/Implies: Add nptl.
15985 * nptl/sysdeps/pthread/list.h: Moved ...
15986 * include/list.h: ... here.
15987 * nptl/sysdeps/pthread/createthread.c: Moved ...
15988 * nptl/createthread.c: ... here.
15989 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
15990 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
15991 * nptl/pt-longjmp.c: ... here.
15992 * nptl/sysdeps/pthread/Makefile: Moved ...
15993 * sysdeps/nptl/Makefile: ... here.
15994 * nptl/sysdeps/pthread/Subdirs: Moved ...
15995 * sysdeps/nptl/Subdirs: ... here.
15996 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
15997 * sysdeps/nptl/aio_misc.h: ... here.
15998 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
15999 * sysdeps/nptl/bits/libc-lock.h: ... here.
16000 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
16001 * sysdeps/nptl/bits/libc-lockP.h: ... here.
16002 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
16003 * sysdeps/nptl/bits/stdio-lock.h: ... here.
16004 * nptl/sysdeps/pthread/configure: Moved ...
16005 * sysdeps/nptl/configure: ... here.
16006 * nptl/sysdeps/pthread/configure.ac: Moved ...
16007 * sysdeps/nptl/configure.ac: ... here.
16008 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
16009 * sysdeps/nptl/gai_misc.h: ... here.
16010 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
16011 * sysdeps/nptl/librt-cancellation.c: ... here.
16012 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
16013 * sysdeps/nptl/malloc-machine.h: ... here.
16014 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
16015 * sysdeps/nptl/pthread-functions.h: ... here.
16016 * nptl/sysdeps/pthread/pthread.h: Moved ...
16017 * sysdeps/nptl/pthread.h: ... here.
16018 * nptl/sysdeps/pthread/setxid.h: Moved ...
16019 * sysdeps/nptl/setxid.h: ... here.
16020 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
16021 * sysdeps/nptl/sigfillset.c: ... here.
16022 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
16023 * sysdeps/nptl/tcb-offsets.h: ... here.
16024 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
16025 * sysdeps/nptl/tst-mqueue8x.c: ... here.
16026 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
16027 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
16028 * nptl/sysdeps/pthread/allocalim.h: Moved ...
16029 * sysdeps/pthread/allocalim.h: ... here.
16030 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
16031 * sysdeps/pthread/bits/sigthread.h: ... here.
16032 * nptl/sysdeps/pthread/flockfile.c: Moved ...
16033 * sysdeps/pthread/flockfile.c: ... here.
16034 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
16035 * sysdeps/pthread/ftrylockfile.c: ... here.
16036 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
16037 * sysdeps/pthread/funlockfile.c: ... here.
16038 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
16039 * sysdeps/pthread/posix-timer.h: ... here.
16040 * nptl/sysdeps/pthread/timer_create.c: Moved ...
16041 * sysdeps/pthread/timer_create.c: ... here.
16042 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
16043 * sysdeps/pthread/timer_delete.c: ... here.
16044 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
16045 * sysdeps/pthread/timer_getoverr.c: ... here.
16046 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
16047 * sysdeps/pthread/timer_gettime.c: ... here.
16048 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
16049 * sysdeps/pthread/timer_routines.c: ... here.
16050 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
16051 * sysdeps/pthread/timer_settime.c: ... here.
16052 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
16053 * sysdeps/pthread/tst-timer.c: ... here.
16054 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
16055 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
16056
16057 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
16058 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
16059
16060 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
16061 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
16062 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
16063 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
16064 Update #include target.
16065 * nptl/sysdeps/i386/i686/Makefile: Moved ...
16066 * sysdeps/i386/i686/nptl/Makefile: ... here.
16067 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
16068 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
16069 Update #include target.
16070 * nptl/sysdeps/i386/i686/tls.h: Moved ...
16071 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
16072 * nptl/sysdeps/i386/Makefile: Moved ...
16073 * sysdeps/i386/nptl/Makefile: ... here.
16074 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
16075 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
16076 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
16077 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
16078 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
16079 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
16080 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
16081 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
16082 * sysdeps/i386/nptl/pthreaddef.h: ... here.
16083 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
16084 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
16085 * nptl/sysdeps/i386/tls.h: Moved ...
16086 * sysdeps/i386/nptl/tls.h: ... here.
16087
16088 * sysdeps/sh/Makefile [$(subdir) = csu]
16089 (gen-as-const-headers): Add tcb-offsets.sym.
16090 * nptl/sysdeps/sh/Makefile: File removed.
16091 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
16092 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
16093 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
16094 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
16095 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
16096 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
16097 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
16098 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
16099 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
16100 * sysdeps/sh/nptl/pthreaddef.h: ... here.
16101 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
16102 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
16103 * nptl/sysdeps/sh/tls.h: Moved ...
16104 * sysdeps/sh/nptl/tls.h: ... here.
16105 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
16106 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
16107 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
16108 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
16109 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
16110 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
16111 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
16112 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
16113 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
16114 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
16115 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
16116 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
16117 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
16118 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
16119 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
16120 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
16121 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
16122 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
16123 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
16124 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
16125 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
16126 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
16127 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
16128 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
16129 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
16130 Moved ...
16131 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
16132 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
16133 Moved ...
16134 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
16135 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
16136 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
16137 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
16138 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
16139 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
16140 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
16141 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
16142 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
16143 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
16144 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
16145 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
16146 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
16147 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
16148 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
16149 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
16150 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
16151 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
16152 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
16153
16154 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
16155
16156 * posix/spawn_faction_addopen.c: Include string.h.
16157
16158 2014-06-11 Roland McGrath <roland@hack.frob.com>
16159
16160 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
16161 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
16162 * nptl/sysdeps/x86_64/Makefile: Moved ...
16163 * sysdeps/x86_64/nptl/Makefile: ... here.
16164 * nptl/sysdeps/x86_64/configure: Moved ...
16165 * sysdeps/x86_64/nptl/configure: ... here.
16166 * nptl/sysdeps/x86_64/configure.ac: Moved ...
16167 * sysdeps/x86_64/nptl/configure.ac: ... here.
16168 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
16169 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
16170 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
16171 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
16172 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
16173 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
16174 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
16175 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
16176 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
16177 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
16178 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
16179 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
16180 * nptl/sysdeps/x86_64/tls.h: Moved ...
16181 * sysdeps/x86_64/nptl/tls.h: ... here.
16182 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
16183 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
16184 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
16185 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
16186
16187 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
16188
16189 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16190
16191 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16192
16193 2014-06-11 Joseph Myers <joseph@codesourcery.com>
16194
16195 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
16196 type.
16197 [POSIX] (off_t): Likewise.
16198 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
16199 [POSIX] (S_ISBLK): Require macro.
16200 [POSIX] (S_ISCHR): Likewise.
16201 [POSIX] (S_ISDIR): Likewise.
16202 [POSIX] (S_ISFIFO): Likewise.
16203 [POSIX] (S_ISREG): Likewise.
16204 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
16205 optional-macro.
16206 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
16207 type.
16208 [POSIX] (time_t): Likewise.
16209 [POSIX] (timer_t): Likewise.
16210
16211 2014-06-11 Florian Weimer <fweimer@redhat.com>
16212
16213 [BZ #17048]
16214 * posix/spawn_int.h (struct __spawn_action): Make the path string
16215 non-const to support deallocation.
16216 * posix/spawn_faction_addopen.c
16217 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
16218 * posix/spawn_faction_destroy.c
16219 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
16220 path in all spawn_do_open actions.
16221 * posix/tst-spawn.c (do_test): Exercise the copy operation in
16222 posix_spawn_file_actions_addopen.
16223
16224 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
16225
16226 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
16227 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
16228 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
16229 conditional code always true.
16230 (__libc_vfork): New alias.
16231
16232 2014-06-11 Roland McGrath <roland@hack.frob.com>
16233
16234 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16235 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
16236
16237 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
16238
16239 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16240 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
16241
16242 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16243 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
16244
16245 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16246 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
16247
16248 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16249
16250 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
16251 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
16252 multiarch strcmp for PPC64.
16253 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
16254 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
16255 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
16256 multiarch optimizations.
16257 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16258 (__libc_ifunc_impl_list): Likewise.
16259
16260 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16261
16262 * benchtests/scripts/validate_benchout.py: New script.
16263 * benchtests/Makefile (bench-func): Call it.
16264 * benchtests/scripts/benchout.schema.json: New file.
16265
16266 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
16267
16268 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
16269 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
16270 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
16271 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
16272 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
16273 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
16274 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
16275 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
16276 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
16277 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
16278 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
16279 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
16280 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
16281 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
16282 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
16283 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
16284 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
16285 Moved ...
16286 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
16287 ... here.
16288 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
16289 Moved ...
16290 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
16291 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
16292 Moved ...
16293 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
16294 ... here.
16295 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
16296 Moved ...
16297 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
16298 ... here.
16299 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
16300 Moved ...
16301 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
16302 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
16303 Moved ...
16304 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
16305 ... here.
16306 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
16307 Moved ...
16308 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
16309 ... here.
16310 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
16311 Moved ...
16312 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
16313 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
16314 Moved ...
16315 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
16316 ... here.
16317 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
16318 Moved ...
16319 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
16320 ... here.
16321 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
16322 Moved ...
16323 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
16324 ... here.
16325 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
16326 Moved ...
16327 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
16328 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
16329 Moved ...
16330 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
16331 ... here.
16332 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
16333 Moved ...
16334 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
16335 ... here.
16336 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
16337 Moved ...
16338 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
16339 ... here.
16340 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
16341 Moved ...
16342 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
16343 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
16344 Moved ...
16345 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
16346 ... here.
16347 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
16348 Moved ...
16349 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
16350 ... here.
16351 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
16352 Moved ...
16353 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
16354 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
16355 Moved ...
16356 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
16357 ... here.
16358 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
16359 Moved ...
16360 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
16361 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
16362 Moved ...
16363 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
16364 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
16365 Moved ...
16366 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
16367 ... here.
16368 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
16369 Moved ...
16370 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
16371 ... here.
16372 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
16373 Moved ...
16374 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
16375 ... here.
16376 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
16377 Moved ...
16378 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
16379 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
16380 Moved ...
16381 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
16382 ... here.
16383 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
16384 Moved ...
16385 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
16386 ... here.
16387 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
16388 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
16389 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
16390 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
16391 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
16392 Moved ...
16393 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
16394 ... here.
16395 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
16396 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
16397 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
16398 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
16399 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
16400 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
16401 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
16402 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
16403 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
16404 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
16405 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
16406 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
16407 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
16408 Moved ...
16409 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
16410 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
16411 Moved ...
16412 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
16413 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
16414 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
16415 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
16416 Moved ...
16417 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
16418 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
16419 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
16420 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
16421 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
16422 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
16423 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
16424
16425 2014-06-10 Wilco <wdijkstr@arm.com>
16426
16427 * math/test-fenv-return.c: New file.
16428 * math/Makefile: Add new test test-fenv-return.
16429
16430 2014-06-10 Joseph Myers <joseph@codesourcery.com>
16431
16432 [BZ #17042]
16433 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
16434 when x - 1 is zero.
16435 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
16436 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
16437 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
16438 0.0L for an argument of 1.0L.
16439 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
16440 Likewise.
16441 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
16442 value when x - 1 is zero.
16443 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
16444 * sysdeps/i386/fpu/libm-test-ulps: Update.
16445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16446
16447 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
16448
16449 [BZ #15119]
16450 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
16451
16452 2014-06-09 Roland McGrath <roland@hack.frob.com>
16453
16454 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
16455 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
16456
16457 2014-06-09 Roland McGrath <roland@hack.frob.com>
16458
16459 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16460 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
16461
16462 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16463 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
16464
16465 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16466 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
16467
16468 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16469 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
16470
16471 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
16472 if not already defined.
16473 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
16474 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
16475 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
16476 (TLS_INIT_TP): Use it.
16477 (TLS_DEFINE_INIT_TP): New macro.
16478 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
16479
16480 2014-06-09 Joseph Myers <joseph@codesourcery.com>
16481
16482 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
16483 constant.
16484 [POSIX] (IXANY): Likewise.
16485 [POSIX] (OLCUC): Likewise.
16486 [POSIX || POSIX2008] (CBAUD): Do not allow.
16487 [POSIX || POSIX2008] (DEFECHO): Likewise.
16488 [POSIX || POSIX2008] (ECHOCTL): Likewise.
16489 [POSIX || POSIX2008] (ECHOKE): Likewise.
16490 [POSIX || POSIX2008] (ECHOPRT): Likewise.
16491 [POSIX || POSIX2008] (EXTA): Likewise.
16492 [POSIX || POSIX2008] (EXTB): Likewise.
16493 [POSIX || POSIX2008] (FLUSHO): Likewise.
16494 [POSIX || POSIX2008] (LOBLK): Likewise.
16495 [POSIX || POSIX2008] (PENDIN): Likewise.
16496 [POSIX || POSIX2008] (SWTCH): Likewise.
16497 [POSIX || POSIX2008] (VDISCARD): Likewise.
16498 [POSIX || POSIX2008] (VDSUSP): Likewise.
16499 [POSIX || POSIX2008] (VLNEXT): Likewise.
16500 [POSIX || POSIX2008] (VREPRINT): Likewise.
16501 [POSIX || POSIX2008] (VSTATUS): Likewise.
16502 [POSIX || POSIX2008] (VWERASE): Likewise.
16503 (B*): Change to B[0123456789]*.
16504 * conform/data/time.h-data [POSIX || UNIX98]
16505 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
16506 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16507 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
16508 [POSIX] (tm_*): Do not allow.
16509
16510 2014-06-07 Joseph Myers <joseph@codesourcery.com>
16511
16512 * Makefile (install): Don't set LANGUAGE.
16513 * Makefile.in (install): Likewise.
16514 * assert/Makefile (test-assert-ENV): Remove variable.
16515 (test-assert-perr-ENV): Likewise.
16516 * elf/Makefile (neededtest4-ENV): Likewise.
16517 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16518 [$(cross-compiling) = no]: Don't set LANGUAGE.
16519 * io/ftwtest-sh (LANG): Remove variable.
16520 * libio/Makefile (tst-widetext-ENV): Likewise.
16521 * manual/install.texi (Running make install): Don't refer to
16522 environment settings for make install.
16523 * INSTALL: Regenerated.
16524 * nptl/tst-tls6.sh: Don't set LANG.
16525 * posix/globtest.sh (LANG): Remove variable.
16526 * string/Makefile (tester-ENV): Likewise.
16527 (inl-tester-ENV): Likewise.
16528 (noinl-tester-ENV): Likewise.
16529 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16530 [$(cross-compiling) = no]: Don't set LANGUAGE.
16531 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
16532 without explicit environment settings.
16533
16534 2014-06-06 Roland McGrath <roland@hack.frob.com>
16535
16536 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
16537 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
16538 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
16539 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
16540
16541 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
16542
16543 * crypt/crypt-private.h [DOS]: Add some includes taken from the
16544 other files in the crypt directory.
16545 * crypt/crypt.c: Remove duplicate includes.
16546 * crypt/crypt-entry.c: Likewise.
16547 * crypt/crypt_util.c: Likewise.
16548
16549 2014-06-06 Joseph Myers <joseph@codesourcery.com>
16550
16551 * Makeconfig (run-program-env): New variable.
16552 (run-program-prefix-before-env): Likewise.
16553 (run-program-prefix-after-env): Likewise.
16554 (run-program-prefix): Define in terms of new variables.
16555 (built-program-cmd-before-env): New variable.
16556 (built-program-cmd-after-env): Likewise.
16557 (built-program-cmd): Define in terms of new variables.
16558 (test-program-prefix-before-env): New variable.
16559 (test-program-prefix-after-env): Likewise.
16560 (test-program-prefix): Define in terms of new variables.
16561 (test-program-cmd-before-env): New variable.
16562 (test-program-cmd-after-env): Likewise.
16563 (test-program-cmd): Define in terms of new variables.
16564 * Rules (make-test-out): Use $(run-program-env).
16565 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
16566 (help): Do not mention environment variables. Mention
16567 --timeoutfactor option.
16568 (timeoutfactor): New variable.
16569 (blacklist_exports): Remove function.
16570 (exports): Remove variable.
16571 (command): Do not include ${exports}.
16572 * manual/install.texi (Configuring and compiling): Do not mention
16573 test wrappers preserving environment variables. Mention that last
16574 assignment to a variable must take precedence.
16575 * INSTALL: Regenerated.
16576 * benchtests/Makefile (run-bench): Use $(run-program-env).
16577 * catgets/Makefile ($(objpfx)test1.cat): Use
16578 $(built-program-cmd-before-env), $(run-program-env) and
16579 $(built-program-cmd-after-env).
16580 ($(objpfx)test2.cat): Do not specify environment variables
16581 explicitly.
16582 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
16583 $(run-program-env) and $(built-program-cmd-after-env).
16584 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
16585 $(run-program-env) and $(test-program-cmd-after-env).
16586 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
16587 explicitly.
16588 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
16589 run_program_env and test_program_cmd_after_env arguments.
16590 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
16591 * elf/tst-pathopt.sh: Use run_program_env argument.
16592 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
16593 $(test-wrapper-env) and $(run-program-env).
16594 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
16595 run_program_env arguments.
16596 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
16597 * intl/Makefile ($(objpfx)tst-gettext.out): Use
16598 $(test-program-prefix-before-env), $(run-program-env) and
16599 $(test-program-prefix-after-env).
16600 ($(objpfx)tst-gettext2.out): Likewise.
16601 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
16602 run_program_env and test_program_prefix_after_env arguments.
16603 * intl/tst-gettext2.sh: Likewise.
16604 * intl/tst-gettext4.sh: Do not set environment variables
16605 explicitly.
16606 * intl/tst-gettext6.sh: Likewise.
16607 * intl/tst-translit.sh: Likewise.
16608 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
16609 $(test-program-prefix-before-env), $(run-program-env) and
16610 $(test-program-prefix-after-env).
16611 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
16612 run_program_env and test_program_prefix_after_env arguments.
16613 * math/Makefile (run-regen-ulps): Use $(run-program-env).
16614 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
16615 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
16616 explicitly with each use of ${test_wrapper_env}.
16617 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
16618 $(test-program-prefix-before-env), $(run-program-env) and
16619 $(test-program-prefix-after-env).
16620 * posix/tst-getconf.sh: Do not set environment variables
16621 explicitly.
16622 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
16623 run_program_env and test_program_prefix_after_env arguments.
16624 * stdio-common/tst-printf.sh: Do not set environment variables
16625 explicitly.
16626 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
16627 $(test-program-prefix-before-env), $(run-program-env) and
16628 $(test-program-prefix-after-env).
16629 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
16630 run_program_env and test_program_prefix_after_env arguments.
16631 Split $test calls into $test_pre and $test.
16632 * timezone/Makefile (build-testdata): Use
16633 $(built-program-cmd-before-env), $(run-program-env) and
16634 $(built-program-cmd-after-env).
16635
16636 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16637
16638 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
16639 strlen for non SHARED builds.
16640
16641 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16642
16643 * nptl/allocatestack.c (check_list): Inlined function...
16644 (__reclaim_stacks): ... here.
16645
16646 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
16647
16648 [BZ #15698]
16649 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
16650 memory overrun.
16651
16652 2014-06-05 Joseph Myers <joseph@codesourcery.com>
16653
16654 * Rules (make-test-out): Include
16655 LOCPATH=$(common-objpfx)localedata in default environment.
16656 * debug/Makefile (tst-chk1-ENV): Remove variable.
16657 (tst-chk2-ENV): Likewise.
16658 (tst-chk3-ENV): Likewise.
16659 (tst-chk4-ENV): Likewise.
16660 (tst-chk5-ENV): Likewise.
16661 (tst-chk6-ENV): Likewise.
16662 (tst-lfschk1-ENV): Likewise.
16663 (tst-lfschk2-ENV): Likewise.
16664 (tst-lfschk3-ENV): Likewise.
16665 (tst-lfschk4-ENV): Likewise.
16666 (tst-lfschk5-ENV): Likewise.
16667 (tst-lfschk6-ENV): Likewise.
16668 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
16669 (tst-iconv7-ENV): Likewise.
16670 * intl/Makefile (LOCPATH-ENV): Likewise.
16671 (tst-codeset-ENV): Likewise.
16672 (tst-gettext3-ENV): Likewise.
16673 (tst-gettext5-ENV): Likewise.
16674 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
16675 (tst-fopenloc-ENV): Likewise.
16676 (tst-fgetws-ENV): Remove variable.
16677 (tst-ungetwc1-ENV): Likewise.
16678 (tst-ungetwc2-ENV): Likewise.
16679 (bug-ungetwc2-ENV): Likewise.
16680 (tst-swscanf-ENV): Likewise.
16681 (bug-ftell-ENV): Likewise.
16682 (tst-fgetwc-ENV): Likewise.
16683 (tst-fseek-ENV): Likewise.
16684 (tst-ftell-partial-wide-ENV): Likewise.
16685 (tst-ftell-active-handler-ENV): Likewise.
16686 (tst-ftell-append-ENV): Likewise.
16687 * posix/Makefile (tst-fnmatch-ENV): Likewise.
16688 (tst-regexloc-ENV): Likewise.
16689 (bug-regex1-ENV): Likewise.
16690 (tst-regex-ENV): Likewise.
16691 (tst-regex2-ENV): Likewise.
16692 (bug-regex5-ENV): Likewise.
16693 (bug-regex6-ENV): Likewise.
16694 (bug-regex17-ENV): Likewise.
16695 (bug-regex18-ENV): Likewise.
16696 (bug-regex19-ENV): Likewise.
16697 (bug-regex20-ENV): Likewise.
16698 (bug-regex22-ENV): Likewise.
16699 (bug-regex23-ENV): Likewise.
16700 (bug-regex25-ENV): Likewise.
16701 (bug-regex26-ENV): Likewise.
16702 (bug-regex30-ENV): Likewise.
16703 (bug-regex32-ENV): Likewise.
16704 (bug-regex33-ENV): Likewise.
16705 (bug-regex34-ENV): Likewise.
16706 (bug-regex35-ENV): Likewise.
16707 (tst-rxspencer-ENV): Likewise.
16708 (tst-rxspencer-no-utf8-ENV): Likewise.
16709 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
16710 (tst-sscanf-ENV): Likewise.
16711 (tst-swprintf-ENV): Likewise.
16712 (tst-swscanf-ENV): Likewise.
16713 (test-vfprintf-ENV): Likewise.
16714 (scanf13-ENV): Likewise.
16715 (bug14-ENV): Likewise.
16716 (tst-grouping-ENV): Likewise.
16717 * stdlib/Makefile (tst-strtod-ENV): Likewise.
16718 (tst-strtod3-ENV): Likewise.
16719 (tst-strtod4-ENV): Likewise.
16720 (tst-strtod5-ENV): Likewise.
16721 (testmb2-ENV): Likewise./
16722 * string/Makefile (tst-strxfrm-ENV): Likewise.
16723 (tst-strxfrm2-ENV): Likewise.
16724 (bug-strcoll1-ENV): Likewise.
16725 (test-strcasecmp-ENV): Likewise.
16726 (test-strncasecmp-ENV): Likewise.
16727 * time/Makefile (tst-strptime-ENV): Likewise.
16728 (tst-ftime_l-ENV): Likewise.
16729 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
16730 (tst-mbrtowc-ENV): Likewise.
16731 (tst-wcrtomb-ENV): Likewise.
16732 (tst-mbrtowc2-ENV): Likewise.
16733 (tst-c16c32-1-ENV): Likewise.
16734 (tst-mbsnrtowcs-ENV): Likewise.
16735
16736 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
16737
16738 * manual/resource.texi (How to get information about the memory
16739 subsystem?): Fix typo.
16740 Reported by Peon de la Parra Ivan <peon@keba.com>
16741
16742 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
16743
16744 [BZ #16882]
16745 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
16746 (pthread_spin_lock): Branch out of spin loop to proper location.
16747 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
16748 (pthread_spin_lock): Likewise.
16749
16750 * nptl/tst-spin4.c: New test.
16751 * nptl/Makefile (tests): Add tst-spin4.
16752
16753 2014-06-03 Andreas Schwab <schwab@suse.de>
16754
16755 [BZ #15946]
16756 * resolv/res_send.c (send_dg): Reload file descriptor after
16757 calling reopen.
16758
16759 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
16760
16761 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16762
16763 2014-06-03 Richard Henderson <rth@redhat.com>
16764
16765 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
16766 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
16767 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
16768 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
16769 in the SAVE_PID block.
16770 (__libc_vfork): New alias.
16771 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
16772
16773 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
16774 child in registers, not on the stack. Remove RESET_PID conditionals.
16775 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
16776
16777 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
16778
16779 * sysdeps/aarch64/libm-test-ulps: Regenerate.
16780
16781 2014-06-03 Wilco <wdijkstr@arm.com>
16782
16783 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
16784 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
16785 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16786 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
16787 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
16788 Likewise.
16789
16790 2014-06-03 Wilco <wdijkstr@arm.com>
16791
16792 * sysdeps/aarch64/fpu/math_private.h
16793 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
16794 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
16795 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
16796 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16797 Fix declarations.
16798
16799 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16800
16801 * crypt/crypt-private.h: Include ufc-crypt.h.
16802 (__b64_from_24bit): Declare extern.
16803 * crypt/crypt_util.c(__b64_from_24bit): New function.
16804 (b64t): New static const variable.
16805 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
16806 (b64t): Remove variable.
16807 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
16808 * crypt/sha256-crypt.c: Include crypt-private.h.
16809 (b64t): Remove variable.
16810 (__sha256_crypt_r): Remove b64_from_24bit and replace
16811 with __b64_from_24bit.
16812 * crypt/sha512-crypt.c: Likewise.
16813
16814 2014-06-02 Roland McGrath <roland@hack.frob.com>
16815
16816 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
16817 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
16818 Label the code __libc_vfork rather than __vfork.
16819 [!NOT_IN_libc] (vfork): Define as weak alias.
16820 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
16821 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
16822 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
16823
16824 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16825
16826 * malloc/malloc.c (malloc_info): Fix format specifier for
16827 n_mmaps.
16828
16829 2014-06-02 Wilco <wdijkstr@arm.com>
16830
16831 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
16832 FPCR write.
16833
16834 2014-06-02 Wilco <wdijkstr@arm.com>
16835
16836 [BZ #17009]
16837 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
16838 Rewrite to reduce FPCR/FPSR accesses.
16839
16840 2014-06-01 David S. Miller <davem@davemloft.net>
16841
16842 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16843
16844 2014-05-31 David S. Miller <davem@davemloft.net>
16845
16846 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
16847 to occur in round to nearest mode when |x| >= 2.0
16848
16849 2014-05-30 Richard Henderson <rth@twiddle.net>
16850
16851 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
16852 (PSEUDO_RET_NOERRNO): Remove.
16853 (ret): Don't redefine.
16854 (ret_NOERRNO): Define in terms of ret.
16855 (ret_ERRVAL): Likewise.
16856
16857 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
16858 use of PSEUDO_RET; perform the error check directly.
16859
16860 2014-05-30 Marko Myllynen <myllynen@redhat.com>
16861
16862 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
16863 with __int128_t.
16864
16865 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16866
16867 * malloc/malloc (malloc_info): Fix formatting.
16868
16869 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16870 Roland McGrath <roland@hack.frob.com>
16871
16872 * malloc/malloc (malloc_info): Also print mmapped statistics.
16873
16874 2014-05-30 Roland McGrath <roland@hack.frob.com>
16875
16876 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
16877 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
16878
16879 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
16880
16881 * malloc/malloc.c (malloc_info): Inline mi_arena.
16882
16883 2014-05-29 Richard Henderson <rth@twiddle.net>
16884
16885 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
16886 Remove comma before expanding ASM_ARGS_##nr.
16887 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
16888 Make _x0 a strict output; make _x8 a strict input; adjust expansion
16889 of ASM_ARGS_##nr.
16890 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
16891 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
16892 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
16893 (ASM_ARGS_1): Add leading comma.
16894
16895 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
16896 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
16897 to __errno_location.
16898 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
16899 Remove the expected plt for __errno_location.
16900
16901 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16902 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
16903 call to __read_tp.
16904
16905 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16906 Always allocate 64 bytes of stack frame. Use ldp/stp to create
16907 it and break it down.
16908 (DOCARGS_0, DOCARGS_1): Do nothing.
16909 (DOCARGS_2): Update to store into the new stack frame.
16910 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
16911 (UNDOCARGS_1): Update to restore from the new stack frame.
16912 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
16913 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
16914
16915 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16916 (SINGLE_THREAD_P): New parameter for result regno.
16917 (PSEUDO): Update to match; use cbz instead of beq.
16918
16919 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16920 Use ENTRY to define the _nocancel entry point. Share the syscall
16921 and syscall error check paths with the cancel path.
16922 (PSEUDO_END): New.
16923
16924 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
16925 whitespace; tabs before and after asm mnemonics.
16926
16927 2014-05-29 Eric Wong <normalperson@yhbt.net>
16928
16929 [BZ #15132]
16930 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16931 Call fstat64 or stat64 internally, depending on arguments passed.
16932 Replace stat buffer argument with file descriptor argument.
16933 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
16934 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
16935 Pass fd to __internal_statvfs instead of calling fstat64.
16936 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
16937 Pass fd to __internal_statvfs64 instead of calling fstat64.
16938 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
16939 Pass -1 to __internal_statvfs instead of calling stat64.
16940 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
16941 Pass -1 to __internal_statvfs64 instead of calling stat64.
16942
16943 2014-05-28 Roland McGrath <roland@hack.frob.com>
16944
16945 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
16946 that was previously under [RESET_PID].
16947 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
16948
16949 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
16950 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
16951
16952 2014-05-27 Roland McGrath <roland@hack.frob.com>
16953
16954 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
16955
16956 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
16957 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
16958
16959 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
16960
16961 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
16962
16963 2014-05-27 Andreas Schwab <schwab@suse.de>
16964
16965 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
16966 TLS_INIT_TP macro.
16967 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
16968 * elf/rtld.c (init_tls, dl_main): Likewise.
16969 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
16970 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
16971 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
16972 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
16973 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
16974 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
16975 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
16976 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
16977 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
16978 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
16979 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
16980 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
16981 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
16982 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
16983 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
16984 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
16985 * sysdeps/generic/tls.h: Update description.
16986
16987 2014-05-27 Will Newton <will.newton@linaro.org>
16988
16989 [BZ #16990]
16990 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
16991 and restore r2 rather than just restoring.
16992
16993 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16994
16995 [BZ #16724]
16996 * libio/tst-ftell-append.c: New test case.
16997 * libio/Makefile (tests): Add test case.
16998 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
16999 append mode.
17000 * libio/wfileops.c (do_ftell_wide): Likewise.
17001
17002 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17003
17004 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17005
17006 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
17007 ...
17008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
17009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17010 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
17011 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
17012 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
17013 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
17014 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
17015 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
17016 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
17017 Moved ...
17018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
17019 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
17020 Moved ...
17021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
17022 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
17023 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
17024 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
17025 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
17026 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
17027 ...
17028 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
17029 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
17030 Moved ...
17031 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
17032 here.
17033 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
17034 ...
17035 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
17036 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
17037 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
17038
17039 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
17040 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
17041 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
17042 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
17043
17044 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
17045 merge into ...
17046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
17047 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
17048 ...
17049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
17050 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
17051 ...
17052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
17053 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17054 Moved ...
17055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
17056 here.
17057 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17058 Moved ...
17059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
17060 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17061 Moved ...
17062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
17063
17064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
17065 conditional [RESET_PID].
17066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
17067 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
17068 removed.
17069 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
17070 removed.
17071
17072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
17073 <tcb-offsets.h>.
17074 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17075 (__libc_vfork): New strong alias.
17076 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
17077 removed.
17078 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
17079 Removed.
17080
17081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
17082 <tcb-offsets.h>.
17083 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
17084 (__libc_vfork): New strong alias.
17085 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
17086 removed.
17087 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
17088 removed.
17089
17090 2014-05-26 Carlos O'Donell <carlos@redhat.com>
17091
17092 * malloc/malloc.c (mi_arena): New function.
17093 (malloc_info): Remove nested function mi_arena. Call non-nosted
17094 function mi_arena.
17095
17096 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17097
17098 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
17099 by insrwi.
17100 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
17101 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
17102 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
17103 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
17104 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
17105 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
17106 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
17107
17108 2014-05-26 Andreas Schwab <schwab@suse.de>
17109
17110 [BZ #16984]
17111 * locale/programs/repertoire.c (repertoire_read): Add slash
17112 between I18NPATH element and file name.
17113 * locale/programs/locfile.c (locfile_read): Likewise.
17114
17115 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
17116
17117 * nptl/pthread_mutexattr_settype.c
17118 (__pthread_mutexattr_settype):
17119 Disable lock elision for PTHREAD_MUTEX_NORMAL.
17120
17121 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
17122
17123 * nptl/tst-mutex5 (do_test):
17124 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
17125
17126 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17127
17128 * benchtests/README: Document 'init' directive.
17129 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
17130 BENCH_INIT.
17131 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
17132 (parse_file): Recognize 'init' directive.
17133
17134 2014-05-26 Kyle McMartin <kyle@redhat.com>
17135
17136 [BZ #16796]
17137 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
17138 alignment of struct pthread.
17139
17140 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17141
17142 [BZ #16878]
17143 * nscd/netgroupcache.c (addgetnetgrentX): Look for
17144 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17145 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
17146 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17147
17148 2014-05-25 Richard Henderson <rth@twiddle.net>
17149
17150 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17151 (SINGLE_THREAD_P_PIC): Remove.
17152 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
17153 (SINGLE_THREAD_P_PIC): Remove.
17154
17155 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
17156 branch to syscall error ...
17157 (PSEUDO): ... here.
17158 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
17159 from __local_syscall_error to .Lsyscall_error.
17160 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
17161 (SYSCALL_ERROR): Update label name.
17162
17163 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17164 Do not use DOARGS/UNDOARGS.
17165 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
17166 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
17167 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
17168 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
17169 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
17170
17171 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
17172 block comment.
17173
17174 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
17175 define if !NOT_IN_libc.
17176 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
17177 define with non-default symbol versions.
17178
17179 2014-05-23 Richard Henderson <rth@twiddle.net>
17180
17181 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
17182 (vfork, __vfork): Define via compat_symbol.
17183
17184 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
17185 [!HAVE_IFUNC] (vfork_compat): Remove.
17186 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
17187
17188 2014-05-23 Joseph Myers <joseph@codesourcery.com>
17189
17190 [BZ #16978]
17191 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
17192 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
17193 variable.
17194
17195 2014-05-23 Richard Henderson <rth@twiddle.net>
17196
17197 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
17198 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
17199 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
17200 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
17201
17202 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
17203 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
17204 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
17205 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
17206 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
17207 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
17208 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
17209 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
17210 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
17211 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
17212 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
17213 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
17214 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
17215 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
17216 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
17217 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
17218 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
17219 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
17220 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
17221 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
17222 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
17223 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
17224 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
17225 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
17226 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
17227 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
17228 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
17229 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
17230 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
17231 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
17232 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
17233 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
17234 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
17235 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
17236 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
17237 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
17238 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
17239 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
17240 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
17241 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
17242 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
17243 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
17244 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
17245 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
17246 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
17247 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
17248 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
17249 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
17250 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
17251 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
17252 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
17253 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
17254 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
17255 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
17256 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
17257 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
17258
17259 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
17260 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
17261 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
17262 before exiting on error.
17263 (__libc_vfork): New strong alias.
17264 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
17265 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
17266
17267 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
17268 that was previously under [RESET_PID].
17269 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
17270
17271 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
17272
17273 2014-05-23 Joseph Myers <joseph@codesourcery.com>
17274
17275 [BZ #16977]
17276 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
17277 value when x - 1 is zero.
17278 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
17279 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
17280 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
17281 0.0L for an argument of 1.0L.
17282 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
17283 Likewise.
17284 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
17285 value when x - 1 is zero.
17286 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
17287 * sysdeps/i386/fpu/libm-test-ulps: Update.
17288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17289
17290 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
17291
17292 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
17293 alphasort and versionsort.
17294
17295 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17296
17297 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
17298 macro.
17299 [copysignf]: Likewise.
17300
17301 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17302
17303 * crypt/md5-crypt.c: Fix formatting.
17304
17305 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
17306
17307 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
17308 (b64_from_24bit): New function.
17309
17310 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17311
17312 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
17313 libc_hidden_builtin_def to ifunc.
17314 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
17315 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
17316
17317 2014-05-21 Roland McGrath <roland@hack.frob.com>
17318
17319 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
17320 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
17321
17322 2014-05-21 Joseph Myers <joseph@codesourcery.com>
17323
17324 * nscd/Depend (linuxthreads): Remove.
17325 (nptl): Add.
17326 * resolv/Depend (linuxthreads): Remove.
17327 * rt/Depend (linuxthreads): Remove.
17328
17329 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
17330 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
17331 $(common-objpfx)elf/.
17332 (link-libc-before-gnulib): Likewise.
17333 (elfobjdir): Remove variable.
17334 * Makefile (install): Use $(elf-objpfx) instead of
17335 $(common-objpfx)elf/.
17336 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
17337 $(elfobjdir)/.
17338 (link-libc-deps): Likewise.
17339 ($(common-objpfx)libc.so): Likewise.
17340 ($(common-objpfx)linkobj/libc.so): Likewise.
17341 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
17342 instead of $(common-objpfx)elf/.
17343 (symbolic-link-list): Likewise.
17344 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17345 [$(cross-compiling) = no]: Likewise.
17346 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
17347 $(elfobjdir)/.
17348 (static-gnulib-arch): Likewise.
17349 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17350 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
17351 $(common-objpfx)elf/.
17352
17353 2014-05-21 Richard Henderson <rth@redhat.com>
17354
17355 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17356 (SINGLE_THREAD_P): Use the correct width load. Fold
17357 into the ldr offset.
17358
17359 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
17360 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
17361
17362 2014-05-20 Joseph Myers <joseph@codesourcery.com>
17363
17364 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
17365 (libgcc_s_resume): Use __attribute_used__.
17366 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
17367 Likewise.
17368
17369 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17370
17371 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
17372 optimization when used with float constants.
17373
17374 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17375
17376 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
17377
17378 [BZ #16915]
17379 * locale/nl_langinfo_l.c: Make direct reference to every
17380 _nl_current_CATEGORY symbol.
17381 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
17382 (tests-static): Add tst-langinfo-static.
17383 (tests-special): Add tst-langinfo-static.out.
17384 ($(objpfx)tst-langinfo.out): Redirect output.
17385 ($(objpfx)tst-langinfo-static.out): New.
17386 * localedata/tst-langinfo.sh: Send output to stdout.
17387 * localedata/tst-langinfo-static.c: New file.
17388
17389 [BZ #16965]
17390 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
17391 when the shift amount is modulo the limb size.
17392
17393 2014-05-20 Richard Henderson <rth@redhat.com>
17394
17395 [BZ #16967]
17396 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
17397 Change type of sa_flags from unsigned int to int.
17398
17399 [BZ #16966]
17400 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
17401
17402 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
17403
17404 2014-05-20 Will Newton <will.newton@linaro.org>
17405
17406 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17407 Test the return value of the system call in the nocancel case.
17408
17409 2014-05-20 Will Newton <will.newton@linaro.org>
17410 Yvan Roux <yvan.roux@linaro.org>
17411
17412 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
17413 #include of asm/ptrace.h.
17414 (PTRACE_GET_THREAD_AREA): Remove #undef.
17415 (PTRACE_GETHBPREGS): Likewise.
17416 (PTRACE_SETHBPREGS): Likewise.
17417 (struct user_regs_struct): New structure.
17418 (struct user_fpsimd_struct): New structure.
17419 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
17420 #include of asm/ptrace.h and second #include of sys/user.h.
17421 (PTRACE_GET_THREAD_AREA): Remove #undef.
17422 (PTRACE_GETHBPREGS): Likewise.
17423 (PTRACE_SETHBPREGS): Likewise.
17424 (ELF_NGREG): Use new struct user_regs_struct.
17425 (elf_fpregset_t): Use new struct user_fpsimd_struct.
17426
17427 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17428
17429 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
17430 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
17431
17432 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
17433
17434 [BZ #16958]
17435 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
17436 membar to avoid block loads/stores to overlap previous stores.
17437
17438 2014-05-17 Richard Henderson <rth@redhat.com>
17439
17440 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
17441 Create the __##syscall_name##_nocancel entry point.
17442 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
17443 Remove; let the sysdep-cancel.h code create it.
17444
17445 2014-05-17 David S. Miller <davem@davemloft.net>
17446
17447 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
17448 Protect with __USE_GNU.
17449 (TIOCSET_TEMPT): Likewise.
17450 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
17451 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
17452 these are already provided in bits/ioctl-types.h
17453
17454 2014-05-16 Roland McGrath <roland@hack.frob.com>
17455
17456 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
17457 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
17458
17459 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
17460 Use wait4 regardless of [__NR_waitpid].
17461
17462 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17463
17464 PR libgcc/60166
17465 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17466 (_FP_NANSIGN_Q): Set the quiet bit.
17467
17468 2014-05-16 Joseph Myers <joseph@codesourcery.com>
17469
17470 * benchtests/Makefile
17471 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
17472 not $(common-objpfx)math/libm.so.
17473 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
17474 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
17475 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
17476 $(common-objpfx)dlfcn/libdl.so.
17477 ($(objpfx)tst-audit8): Depend on $(libm), not
17478 $(common-objpfx)math/libm.so.
17479 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
17480 not $(common-objpfx)dlfcn/libdl.so.
17481 * math/Makefile
17482 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17483 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
17484 [$(build-shared) = yes].
17485 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
17486 $(common-objpfx)nptl/libpthread.so.
17487 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
17488 $(common-objpfx)math/libm.so$(libm.so-version) or
17489 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
17490 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
17491 $(common-objpfx)dlfcn/libdl.so.
17492 * setjmp/Makefile (link-libm): Remove variable.
17493 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
17494 * stdio-common/Makefile (link-libm): Remove variable.
17495 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
17496 * stdlib/Makefile (link-libm): Remove variable.
17497 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
17498 ($(objpfx)tst-strtod-round): Likewise.
17499 ($(objpfx)tst-tininess): Likewise.
17500 ($(objpfx)tst-strtod-underflow): Likewise.
17501 ($(objpfx)tst-strtod6): Likewise.
17502 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
17503 $(libdl), not $(common-objpfx)nptl/libpthread.so and
17504 $(common-objpfx)dlfcn/libdl.so.
17505
17506 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17507
17508 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
17509 BSD terminal modes definitions.
17510
17511 2014-05-16 Roland McGrath <roland@hack.frob.com>
17512
17513 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
17514 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
17515
17516 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
17517 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
17518 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
17519 Don't do #include_next.
17520 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
17521 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
17522 Don't do #include_next.
17523 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
17524 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
17525 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
17526 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
17527
17528 2014-05-16 Allan McRae <allan@archlinux.org>
17529
17530 * po/sv.po: Update Swedish translation from translation project.
17531
17532 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
17533 in sed expression.
17534
17535 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
17536
17537 [BZ #16917]
17538 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
17539 errno if the TIOCGPTN ioctl fails with an error different than
17540 EINVAL.
17541 * login/tst-ptsname.c: New file.
17542 * login/Makefile (tests): Add tst-ptsname.
17543
17544 [BZ #16943]
17545 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
17546 and prlimit64.
17547
17548 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17549
17550 [BZ #16849]
17551 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
17552 herrno to return EAI_AGAIN.
17553
17554 2014-05-14 Roland McGrath <roland@hack.frob.com>
17555
17556 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
17557 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
17558 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
17559 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
17560 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
17561 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
17562 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
17563 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
17564 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
17565 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
17566 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
17567 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
17568 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
17569 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
17570 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
17571 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
17572 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
17573 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
17574 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
17575 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
17576 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
17577 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
17578 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
17579 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
17580 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
17581 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
17582 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
17583 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
17584 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
17585 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
17586 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
17587 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
17588 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
17589 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
17590 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
17591 Moved ...
17592 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
17593 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
17594 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
17595 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
17596 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
17597 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
17598 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
17599 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
17600 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
17601 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
17602 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
17603 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
17604 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
17605 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
17606 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
17607 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
17608 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
17609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
17610 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
17611 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
17612 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
17613 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
17614 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
17615 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
17616 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
17617 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
17618 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
17619 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17620 Moved ...
17621 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
17622 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
17623 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
17624 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
17625 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
17626 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
17627 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
17628 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
17629 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
17630 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
17631 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
17632 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
17633 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
17634 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
17635 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
17636 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
17637 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
17638 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
17639 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
17640 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17641 Moved ...
17642 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
17643 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
17644 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
17645
17646 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
17647 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
17648 (libpthread-sysdep_routines): Add elision-related stuff here instead.
17649 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
17650 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
17651 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
17652 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
17653 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
17654 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
17655 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
17656 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
17657 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
17658 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
17659 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
17660 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
17661 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
17662 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
17663 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
17664 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
17665 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
17666 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
17667 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
17668 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
17669 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
17670 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
17671 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
17672 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
17673 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
17674 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
17675 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
17676 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
17677
17678 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
17679 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
17680
17681 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
17682 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
17683 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
17684 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
17685 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
17686 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
17687 Moved ...
17688 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
17689 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
17690 Moved ...
17691 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
17692 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
17693 Moved ...
17694 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
17695 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
17696 Moved ...
17697 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
17698 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
17699 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
17700 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
17701 Moved ...
17702 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
17703 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
17704 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
17705 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
17706 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
17707 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
17708 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
17709 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
17710 Moved ...
17711 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
17712 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17713 Moved ...
17714 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17715 ... here.
17716 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
17717 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
17718 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
17719 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
17720 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17721 Moved ...
17722 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17723 ... here.
17724 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
17725 Moved ...
17726 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
17727 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
17728 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
17729 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
17730 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
17731 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
17732 Moved ...
17733 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
17734 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
17735 Moved ...
17736 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
17737 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
17738 Moved ...
17739 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
17740 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
17741 Moved ...
17742 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
17743 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
17744 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
17745 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
17746 Moved ...
17747 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
17748 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
17749 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
17750 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
17751 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
17752 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
17753 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
17754 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
17755 Moved ...
17756 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
17757 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17758 Moved ...
17759 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17760 ... here.
17761 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
17762 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
17763 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
17764 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
17765 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17766 Moved ...
17767 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17768 ... here.
17769 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
17770 Moved ...
17771 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
17772 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
17773 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
17774 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
17775 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
17776 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
17777 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
17778 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
17779 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
17780 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
17781 Moved ...
17782 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
17783 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
17784 Moved ...
17785 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
17786 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
17787 Moved ...
17788 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
17789 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
17790 Moved ...
17791 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
17792 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
17793 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
17794 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
17795 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
17796 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
17797 Moved ...
17798 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
17799 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
17800 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
17801 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
17802 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
17803 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
17804 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
17805 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
17806 Moved ...
17807 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
17808 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17809 Moved ...
17810 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17811 ... here.
17812 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
17813 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
17814 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
17815 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
17816 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17817 Moved ...
17818 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17819 ... here.
17820 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
17821 Moved ...
17822 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
17823 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
17824 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
17825 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
17826 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
17827 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
17828 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
17829 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
17830 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
17831 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
17832 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
17833
17834 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
17835 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
17836
17837 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
17838 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
17839
17840 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
17841 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
17842 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
17843 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
17844 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
17845 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
17846 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
17847 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
17848 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
17849 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
17850 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
17851 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
17852 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
17853 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
17854 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
17855 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
17856 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
17857 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
17858 Moved ...
17859 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
17860 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
17861 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
17862 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
17863 Moved ...
17864 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
17865 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
17866 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
17867 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
17868 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
17869 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
17870 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
17871 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
17872 Moved ...
17873 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
17874 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
17875 Moved ...
17876 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
17877 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
17878 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
17879 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
17880 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
17881 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
17882 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
17883 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
17884 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
17885 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
17886 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
17887 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
17888 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
17889 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
17890 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
17891 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
17892 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
17893
17894 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
17895 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
17896 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
17897 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
17898 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
17899
17900 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
17901 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
17902 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
17903 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
17904 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
17905 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
17906 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
17907 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
17908 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
17909 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
17910
17911 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
17912 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
17913
17914 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
17915 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
17916 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
17917 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
17918 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
17919 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
17920 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
17921 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
17922 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
17923 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
17924 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
17925 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
17926 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
17927 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
17928 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
17929 Update #include.
17930 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
17931 Likewise.
17932 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17933 Likewise.
17934 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17935 Likewise.
17936 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17937 Likewise.
17938 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
17939 Likewise.
17940 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
17941 Likewise.
17942 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17943 Likewise.
17944 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
17945 Likewise.
17946 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
17947 Likewise.
17948 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
17949 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
17950 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
17951 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
17952 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
17953 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
17954 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
17955 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
17956 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
17957 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
17958 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
17959 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
17960 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
17961 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
17962 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
17963
17964 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
17965 that was previously under [RESET_PID].
17966 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17967 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
17968 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
17969
17970 * sysdeps/i386/nptl/Implies: New file.
17971 * sysdeps/x86_64/nptl/Implies: New file.
17972 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
17973 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
17974 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
17975 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
17976
17977 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
17978 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17979 (__libc_vfork): New strong alias.
17980 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
17981 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
17982
17983 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
17984 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17985 (__libc_vfork): New strong alias.
17986 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
17987 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
17988
17989 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
17990 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17991 (__libc_vfork): New strong alias.
17992 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
17993 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
17994 * nptl/pt-vfork.c: New file.
17995 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
17996 (libpthread: GLIBC_2.20): New version set (empty).
17997
17998 2014-05-14 Will Newton <will.newton@linaro.org>
17999
18000 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
18001 rather than #if.
18002
18003 2014-05-14 Joseph Myers <joseph@codesourcery.com>
18004
18005 [BZ #16564]
18006 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
18007 arguments with exponent 65 or above.
18008 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
18009 arguments 0x1p113L or above.
18010 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
18011 to arguments 0x1p107L or above.
18012 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
18013 positive arguments with exponent 65 or above.
18014 * math/auto-libm-test-in: Add more tests of log1p.
18015 * math/auto-libm-test-out: Regenerated.
18016
18017 [BZ #16928]
18018 * math/s_cacos.c (__cacos): Ensure zero real part of result from
18019 non-finite arguments is +0.
18020 * math/s_cacosf.c (__cacosf): Likewise.
18021 * math/s_cacosl.c (__cacosl): Likewise.
18022 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
18023 * sysdeps/i386/fpu/libm-test-ulps: Update.
18024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18025
18026 [BZ #16927]
18027 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
18028 value.
18029 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
18030 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
18031 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
18032 for explicit high bit of mantissa when testing for argument equal
18033 to 1.
18034 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
18035 * sysdeps/i386/fpu/libm-test-ulps: Update.
18036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18037
18038 [BZ #16516]
18039 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
18040 (__erf): Scale by 16 instead of 8 in potentially underflowing
18041 case. Ensure exception if result actually underflows.
18042 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
18043 (__erff): Scale by 16 instead of 8 in potentially underflowing
18044 case. Ensure exception if result actually underflows.
18045 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
18046 (efx8): Remove variable.
18047 (__erfl): Scale by 16 instead of 8 in potentially underflowing
18048 case. Ensure exception if result actually underflows.
18049 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
18050 (efx8): Remove variable.
18051 (__erfl): Scale by 16 instead of 8 in potentially underflowing
18052 case. Ensure exception if result actually underflows.
18053 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
18054 (efx8): Remove variable.
18055 (__erfl): Scale by 16 instead of 8 in potentially underflowing
18056 case. Ensure exception if result actually underflows.
18057 * math/auto-libm-test-in: Add more tests of erf.
18058 * math/auto-libm-test-out: Regenerated.
18059
18060 2014-05-14 Andreas Schwab <schwab@suse.de>
18061
18062 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
18063 Remove code conditionalized on USE___THREAD.
18064
18065 * config.h.in (HAVE_PT_CHOWN): Define as 0.
18066 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
18067 not definedness.
18068
18069 2014-05-14 Joseph Myers <joseph@codesourcery.com>
18070
18071 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
18072 Define unconditionally.
18073 (__ASSUME_O_CLOEXEC): Likewise.
18074 (__ASSUME_SOCK_CLOEXEC): Likewise.
18075 (__ASSUME_IN_NONBLOCK): Likewise.
18076 (__ASSUME_PIPE2): Likewise.
18077 (__ASSUME_EVENTFD2): Likewise.
18078 (__ASSUME_SIGNALFD4): Likewise.
18079 (__ASSUME_DUP3): Likewise.
18080 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18081 (__ASSUME_DUP3): Do not define.
18082 (__ASSUME_EVENTFD2): Likewise.
18083 (__ASSUME_IN_NONBLOCK): Likewise.
18084 (__ASSUME_O_CLOEXEC): Likewise.
18085 (__ASSUME_PIPE2): Likewise.
18086 (__ASSUME_SIGNALFD4): Likewise.
18087 (__ASSUME_SOCK_CLOEXEC): Likewise.
18088 (__ASSUME_UTIMES): Undefine.
18089 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18090 (__ASSUME_UTIMES): Do not define.
18091 (__ASSUME_O_CLOEXEC): Likewise.
18092 (__ASSUME_SOCK_CLOEXEC): Likewise.
18093 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
18094 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
18095 0x020621].
18096 (__ASSUME_PIPE2): Likewise.
18097 (__ASSUME_EVENTFD2): Likewise.
18098 (__ASSUME_SIGNALFD4): Likewise.
18099 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
18100 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
18101 Do not define.
18102 (__ASSUME_EVENTFD2): Likewise.
18103 (__ASSUME_SIGNALFD4): Likewise.
18104 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18105 (__ASSUME_32BITUIDS): Likewise.
18106 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18107 (__ASSUME_IPC64): Likewise.
18108 (__ASSUME_ST_INO_64_BIT): Likewise.
18109 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
18110 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
18111 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18112 (__ASSUME_UTIMES): Do not define.
18113 (__ASSUME_PSELECT): Likewise.
18114 (__ASSUME_PPOLL): Likewise.
18115 (__ASSUME_O_CLOEXEC): Likewise.
18116 (__ASSUME_SOCK_CLOEXEC): Likewise.
18117 (__ASSUME_IN_NONBLOCK): Likewise.
18118 (__ASSUME_PIPE2): Likewise.
18119 (__ASSUME_EVENTFD2): Likewise.
18120 (__ASSUME_SIGNALFD4): Likewise.
18121 (__ASSUME_DUP3): Likewise.
18122 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18123 (__ASSUME_UTIMES): Likewise.
18124 (__ASSUME_O_CLOEXEC): Likewise.
18125 (__ASSUME_SOCK_CLOEXEC): Likewise.
18126 (__ASSUME_IN_NONBLOCK): Likewise.
18127 (__ASSUME_PIPE2): Likewise.
18128 (__ASSUME_EVENTFD2): Likewise.
18129 (__ASSUME_SIGNALFD4): Likewise.
18130 (__ASSUME_DUP3): Likewise.
18131 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18132 (__ASSUME_UTIMES): Likewise.
18133 (__ASSUME_O_CLOEXEC): Likewise.
18134 (__ASSUME_SOCK_CLOEXEC): Likewise.
18135 (__ASSUME_IN_NONBLOCK): Likewise.
18136 (__ASSUME_PIPE2): Likewise.
18137 (__ASSUME_EVENTFD2): Likewise.
18138 (__ASSUME_SIGNALFD4): Likewise.
18139 (__ASSUME_DUP3): Likewise.
18140 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
18141 Likewise.
18142 (__ASSUME_UTIMES): Likewise.
18143 (__ASSUME_EVENTFD2): Likewise.
18144 (__ASSUME_SIGNALFD4): Likewise.
18145 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18146 (__ASSUME_O_CLOEXEC): Likewise.
18147 (__ASSUME_SOCK_CLOEXEC): Likewise.
18148 (__ASSUME_IN_NONBLOCK): Likewise.
18149 (__ASSUME_PIPE2): Likewise.
18150 (__ASSUME_EVENTFD2): Likewise.
18151 (__ASSUME_SIGNALFD4): Likewise.
18152 (__ASSUME_DUP3): Likewise.
18153 (__ASSUME_UTIMES): Undefine.
18154
18155 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
18156 feclearexcept. Remove symbol versioning code.
18157 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
18158 symbol versioning code.
18159 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
18160 symbol versioning code.
18161 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
18162 feupdateenv. Remove symbol versioning code.
18163 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
18164 fegetexceptflag. Remove symbol versioning code.
18165 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
18166 fesetexceptflag. Remove symbol versioning code.
18167 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
18168 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
18169 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
18170 (__posix_fadvise64_l32): Remove prototype.
18171 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
18172 code.
18173
18174 2014-05-13 Roland McGrath <roland@hack.frob.com>
18175
18176 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
18177 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
18178 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
18179 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
18180
18181 2014-05-13 Sami Kerola <kerolasa@iki.fi>
18182
18183 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
18184 current working directory
18185
18186 2014-05-13 Roland McGrath <roland@hack.frob.com>
18187
18188 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
18189 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
18190 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
18191 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
18192 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
18193 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
18194 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
18195 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
18196 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
18197 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
18198 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
18199 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
18200 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
18201 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
18202 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
18203 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
18204 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
18205 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
18206 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
18207 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
18208 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
18209 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
18210 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
18211 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
18212 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
18213 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
18214 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
18215 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
18216 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
18217 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
18218 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
18219 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
18220 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
18221 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
18222 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
18223 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
18224 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
18225 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
18226 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
18227 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
18228 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
18229 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
18230
18231 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
18232 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
18233
18234 * sysdeps/unix/sysv/linux/arm/Makefile
18235 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
18236 Add rt-aeabi_unwind_cpp_pr1.
18237 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
18238 Add nptl-aeabi_unwind_cpp_pr1.
18239 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
18240 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
18241 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
18242 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
18243 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
18244 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
18245
18246 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
18247 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
18248 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
18249 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
18250
18251 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
18252 Deconditionalize the code that was previously under [RESET_PID].
18253 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
18254
18255 * sysdeps/generic/exit-thread.h: New file.
18256 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
18257 * include/unistd.h (__exit_thread): Remove declaration.
18258 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
18259 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
18260 * csu/libc-start.c: Include <exit-thread.h>.
18261 (LIBC_START_MAIN): Pass no argument to __exit_thread.
18262 * nptl/pthread_create.c: Include <exit-thread.h>.
18263 (start_thread): Call __exit_thread in place of __exit_thread_inline.
18264 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
18265 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
18266 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
18267 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
18268 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
18269 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
18270 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
18271 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
18272 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
18273 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
18274 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
18275 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
18276 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
18277 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
18278 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
18279 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
18280
18281 2014-05-13 Andreas Schwab <schwab@suse.de>
18282
18283 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
18284
18285 2014-05-12 Joseph Myers <joseph@codesourcery.com>
18286
18287 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
18288 (__ASSUME_UTIMES): Do not condition on kernel version.
18289 (__ASSUME_PSELECT): Define unconditionally.
18290 (__ASSUME_PPOLL): Likewise.
18291 (__ASSUME_ATFCTS): Likewise.
18292 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
18293 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
18294 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
18295 (__ASSUME_UTIMENSAT): Define unconditionally.
18296 (__ASSUME_PRIVATE_FUTEX): Likewise.
18297 (__ASSUME_FALLOCATE): Likewise.
18298 (__ASSUME_O_CLOEXEC): Likewise.
18299 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
18300 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
18301 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
18302 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
18303 (__ASSUME_IN_NONBLOCK): Likewise.
18304 (__ASSUME_PIPE2): Likewise.
18305 (__ASSUME_EVENTFD2): Likewise.
18306 (__ASSUME_SIGNALFD4): Likewise.
18307 (__ASSUME_DUP3): Likewise.
18308 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18309 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
18310 (__ASSUME_AT_RANDOM): Likewise.
18311 (__ASSUME_PREADV): Likewise.
18312 (__ASSUME_PWRITEV): Likewise.
18313 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
18314 (__ASSUME_F_GETOWN_EX): Define unconditionally.
18315 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
18316 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18317 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
18318 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18319 (__ASSUME_O_CLOEXEC): Define unconditionally.
18320 (__ASSUME_PSELECT): Do not undefine conditionally.
18321 (__ASSUME_PPOLL): Likewise.
18322 (__ASSUME_ATFCTS): Likewise.
18323 (__ASSUME_SET_ROBUST_LIST): Likewise.
18324 (__ASSUME_UTIMENSAT): Likewise.
18325 (__ASSUME_FDATASYNC): Define unconditionally.
18326 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18327 (__ASSUME_SIGFRAME_V2): Likewise.
18328 )__ASSUME_EVENTFD2): Likewise.
18329 (__ASSUME_SIGNALFD4): Likewise.
18330 (__ASSUME_PSELECT): Do not undefine conditionally.
18331 (__ASSUME_PPOLL): Likewise.
18332 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18333 (__ASSUME_PSELECT): Define unconditionally.
18334 (__ASSUME_PPOLL): Likewise.
18335 (__ASSUME_O_CLOEXEC): Likewise.
18336 (__ASSUME_SOCK_CLOEXEC): Likewise.
18337 (__ASSUME_IN_NONBLOCK): Likewise.
18338 (__ASSUME_PIPE2): Likewise.
18339 (__ASSUME_EVENTFD2): Likewise.
18340 (__ASSUME_SIGNALFD4): Likewise.
18341 (__ASSUME_DUP3): Likewise.
18342 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18343 (__ASSUME_O_CLOEXEC): Likewise.
18344 (__ASSUME_SOCK_CLOEXEC): Likewise.
18345 (__ASSUME_IN_NONBLOCK): Likewise.
18346 (__ASSUME_PIPE2): Likewise.
18347 (__ASSUME_EVENTFD2): Likewise.
18348 (__ASSUME_SIGNALFD4): Likewise.
18349 (__ASSUME_DUP3): Likewise.
18350 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18351 (__ASSUME_EVENTFD2): Likewise.
18352 (__ASSUME_SIGNALFD4): Likewise.
18353 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18354
18355 2014-05-12 Andreas Schwab <schwab@suse.de>
18356
18357 [BZ #16932]
18358 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
18359 (_nss_nis_gethostbyname4_r): Return error if item length is larger
18360 than maximum RPC packet size.
18361 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
18362 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
18363 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
18364 (_nss_nis_getservbyport_r): Likewise.
18365
18366 2014-05-12 Will Newton <will.newton@linaro.org>
18367
18368 * malloc/Makefile (tests): Add tst-mallopt.
18369 * malloc/tst-mallopt.c: New file.
18370
18371 2014-05-09 Roland McGrath <roland@hack.frob.com>
18372
18373 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
18374 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
18375
18376 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18377
18378 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
18379 (tst-tlsmod6.so): Likewise.
18380
18381 2014-05-09 Roland McGrath <roland@hack.frob.com>
18382
18383 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
18384
18385 2014-05-09 Joseph Myers <joseph@codesourcery.com>
18386
18387 [BZ #16064]
18388 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
18389 and <dl-procinfo.h>.
18390 (__fegetenv): Save SSE state in envp->__eip if supported.
18391 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
18392 envp->__eip if supported.
18393 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
18394 and <dl-procinfo.h>.
18395 (__fesetenv): Always set __eip, __cs_selector, __opcode,
18396 __data_offset and __data_selector in environment to 0. Set SSE
18397 state if supported.
18398 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
18399 test-fenv-sse.
18400 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
18401 -mfpmath=sse.
18402 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
18403
18404 2014-05-09 Will Newton <will.newton@linaro.org>
18405
18406 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
18407 and libc_relro_required for ARM.
18408 * sysdeps/arm/preconfigure: Regenerate.
18409
18410 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
18411 Stefan Liebler <stli@linux.vnet.ibm.com>
18412
18413 * config.make.in (enable-lock-elision): New Makefile variable.
18414 * configure.ac: Likewise.
18415 * configure: Regenerate.
18416 * sysdeps/s390/configure.ac:
18417 Add check for gcc transactions support.
18418 * sysdeps/s390/configure: Regenerate.
18419 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
18420 Build elision files if enabled.
18421 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
18422 Add lock elision support for s390.
18423 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18424 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
18425 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
18426 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
18427 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
18428 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18429 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
18430 Likewise.
18431 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
18432 Likewise.
18433 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
18434 Likewise.
18435 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
18436 Likewise.
18437 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
18438 (__lll_timedlock_elision, __lll_lock_elision)
18439 (__lll_unlock_elision, __lll_trylock_elision)
18440 (lll_timedlock_elision, lll_lock_elision)
18441 (lll_unlock_elision, lll_trylock_elision): Add.
18442 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18443 (pthread_mutex_t): Add lock elision support for s390.
18444
18445 2014-05-14 Wilco <wdijkstr@arm.com>
18446
18447 * sysdeps/arm/fclrexcpt.c: Cleanup.
18448 * sysdeps/arm/fedisblxcpt.c: Cleanup.
18449 * sysdeps/arm/feenablxcpt.c: Cleanup.
18450 * sysdeps/arm/fegetenv.c: Cleanup.
18451 * sysdeps/arm/fegetexcept.c: Cleanup.
18452 * sysdeps/arm/fegetround.c: Cleanup.
18453 * sysdeps/arm/feholdexcpt.c: Cleanup.
18454 * sysdeps/arm/fesetenv.c: Cleanup.
18455 * sysdeps/arm/fesetround.c: Cleanup.
18456 * sysdeps/arm/feupdateenv.c: Cleanup.
18457 * sysdeps/arm/fgetexcptflg.c: Cleanup.
18458 * sysdeps/arm/fraiseexcpt.c: Cleanup.
18459 * sysdeps/arm/fsetexcptflg.c: Cleanup.
18460 * sysdeps/arm/ftestexcept.c: Cleanup.
18461 * sysdeps/arm/get-rounding-mode.h: Cleanup.
18462 * sysdeps/arm/setfpucw.c: Cleanup.
18463
18464 2014-05-09 Will Newton <will.newton@linaro.org>
18465
18466 * sysdeps/arm/armv7/strcmp.S: New file.
18467 * NEWS: Mention addition of ARMv7 optimized strcmp.
18468
18469 2014-05-08 Roland McGrath <roland@hack.frob.com>
18470
18471 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
18472 look for %.ac rather than %.in.
18473
18474 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
18475 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
18476 * sysdeps/mach/hurd/configure: Regenerated.
18477 * sysdeps/unix/sysv/linux/configure: Regenerated.
18478
18479 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
18480
18481 2014-05-07 Steve Ellcey <sellcey@mips.com>
18482
18483 [BZ# 16922]
18484 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
18485 (LONG_SUB): Ditto.
18486 (PTR_SUB): Ditto.
18487
18488 2014-05-07 Andreas Schwab <schwab@suse.de>
18489
18490 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
18491 when skipping over non-matching result from nscd.
18492
18493 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
18494
18495 [BZ #16876]
18496 * nptl/sockperf.c (client): Check socket return value.
18497
18498 [BZ #16877]
18499 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
18500 nscd security class.
18501
18502 2014-05-06 Roland McGrath <roland@hack.frob.com>
18503
18504 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
18505 * sysdeps/arm/unwind.h: ... here.
18506
18507 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
18508
18509 [BZ# 16916]
18510 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
18511 Define.
18512
18513 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18514
18515 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
18516 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
18517 multiarch strncpy for PPC64.
18518 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
18519 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
18520 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
18521 multiarch optimizations.
18522 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18523 (__libc_ifunc_impl_list): Likewise.
18524 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
18525 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
18526 multiarch stpncpy for PPC64.
18527 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
18528 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
18529
18530 2014-05-06 Andreas Schwab <schwab@suse.de>
18531
18532 [BZ #16912]
18533 * gmon/mcount.c (_MCOUNT_DECL): Use
18534 atomic_compare_and_exchange_bool_acq instead of
18535 catomic_compare_and_exchange_bool_acq.
18536
18537 2014-05-05 Roland McGrath <roland@hack.frob.com>
18538
18539 * elf/Makefile (others, install-bin): Remove pldd.
18540 (pldd-modules): Variable removed.
18541 ($(objpfx)pldd): Target removed.
18542 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
18543 (others, install-bin): Append pldd here.
18544 ($(objpfx)pldd): New target.
18545
18546 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
18547 to 0, so the first #if test emitted later doesn't see it undefined.
18548 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
18549 * sysdeps/gnu/errlist.c: Regenerated.
18550
18551 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18552
18553 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18554 [libc_hidden_builtin_def]: Define to empty value.
18555 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
18556 [libc_hidden_builtin_def]: Likewise.
18557 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
18558 [libc_hidden_builtin_def]: Likewise.
18559 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
18560 [libc_hidden_builtin_def]: Likewise.
18561 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
18562 __redirect_memcpy and define ifunc as default hidden symbol.
18563 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
18564 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
18565
18566 2014-05-04 Adam Conrad <adconrad@0c3.net>
18567
18568 * locale/iso-4217.def: Reintroduce XDR currency.
18569
18570 2014-05-04 Allan McRae <allan@archlinux.org>
18571
18572 * po/eo.po: Update Esperanto translation from translation project.
18573
18574 2014-05-02 Carlos O'Donell <carlos@redhat.com>
18575
18576 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
18577 and FEATURE_INDEX_MAX to 1.
18578 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
18579
18580 2014-05-01 Steve Ellcey <sellcey@mips.com>
18581
18582 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
18583 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
18584 * iconvdata/big5.c (ONE_DIRECTION): Define.
18585 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
18586 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
18587 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
18588 * iconvdata/cp932.c (ONE_DIRECTION): Define.
18589 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
18590 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
18591 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
18592 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
18593 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
18594 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
18595 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
18596 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
18597 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
18598 * iconvdata/gbk.c (ONE_DIRECTION): Define.
18599 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
18600 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
18601 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
18602 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
18603 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
18604 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
18605 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
18606 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
18607 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
18608 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
18609 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
18610 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
18611 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
18612 * iconvdata/iso646.c (ONE_DIRECTION): Define.
18613 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
18614 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
18615 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
18616 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
18617 * iconvdata/johab.c (ONE_DIRECTION): Define.
18618 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
18619 * iconvdata/sjis.c (ONE_DIRECTION): Define.
18620 * iconvdata/t.61.c (ONE_DIRECTION): Define.
18621 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
18622 * iconvdata/tscii.c (ONE_DIRECTION): Define.
18623 * iconvdata/uhc.c (ONE_DIRECTION): Define.
18624 * iconvdata/unicode.c (ONE_DIRECTION): Define.
18625 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
18626 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
18627 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
18628
18629 2014-05-01 Roland McGrath <roland@hack.frob.com>
18630
18631 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
18632 (_IO_JUMPS_OFFSET): Define to 0.
18633
18634 * nptl/sysdeps/pthread/bits/libc-lock.h
18635 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
18636 (__libc_lock_define_initialized_recursive): Always define using
18637 initializer. Modern compilers treat uninitialized (implicit zero) and
18638 explicit zero initializers the same (i.e. put the datum in bss).
18639
18640 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
18641
18642 * nscd/nscd-client.h: Include <string.h>.
18643
18644 2014-05-01 David S. Miller <davem@davemloft.net>
18645
18646 [BZ #16885]
18647 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
18648 multiple zero bytes exist at the end of a string.
18649 Reported by Aurelien Jarno <aurelien@aurel32.net>
18650
18651 * string/test-strcmp.c (check): Add explicit test for situations where
18652 there are multiple zero bytes after the first.
18653
18654 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
18655
18656 [BZ #16890]
18657 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
18658 when compiling wprintf.
18659 * stdio-common/tstdiomisc.c (t3): New function.
18660 (main): Call it.
18661
18662 2014-05-01 Steve Ellcey <sellcey@mips.com>
18663
18664 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
18665 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
18666 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
18667 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
18668
18669 2014-05-01 Steve Ellcey <sellcey@mips.com>
18670
18671 * stdlib/longlong.h: Updated from GCC.
18672
18673 2014-05-01 Will Newton <will.newton@linaro.org>
18674 Bernard Ogden <bernie.ogden@linaro.org>
18675
18676 * NEWS: Update fixed bug list.
18677
18678 [BZ #15119]
18679 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
18680
18681 2014-04-30 David S. Miller <davem@davemloft.net>
18682
18683 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
18684 (libc_feholdexcept_setround_sparc_ctx): New function.
18685 (libc_fesetenv_sparc_ctx): Likewise.
18686 (libc_feupdateenv_sparc_ctx): Likewise.
18687 (libc_feholdsetround_sparc_ctx): Likewise.
18688 (libc_feholdexcept_setround_ctx): Define.
18689 (libc_feholdexcept_setroundf_ctx): Likewise.
18690 (libc_feholdexcept_setroundl_ctx): Likewise.
18691 (libc_fesetenv_ctx): Likewise.
18692 (libc_fesetenvf_ctx): Likewise.
18693 (libc_fesetenvl_ctx): Likewise.
18694 (libc_feupdateenv_ctx): Likewise.
18695 (libc_feupdateenvf_ctx): Likewise.
18696 (libc_feupdateenvl_ctx): Likewise.
18697 (libc_feresetround_ctx): Likewise.
18698 (libc_feresetroundf_ctx): Likewise.
18699 (libc_feresetroundl_ctx): Likewise.
18700 (libc_feholdsetround_ctx): Likewise.
18701 (libc_feholdsetroundf_ctx): Likewise.
18702 (libc_feholdsetroundl_ctx): Likewise.
18703
18704 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18705 with __USE_GNU instead of XOPEN cpp guards.
18706
18707 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
18708 0.
18709
18710 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18711 with XOPEN cpp guards.
18712
18713 2014-04-30 Julian Brown <julian@codesourcery.com>
18714
18715 [BZ #16888]
18716 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
18717 handling.
18718
18719 2014-04-30 Joseph Myers <joseph@codesourcery.com>
18720
18721 [BZ #9894]
18722 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
18723 Change to 2.6.32.
18724 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
18725 * sysdeps/unix/sysv/linux/configure: Regenerated.
18726 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
18727 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
18728 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
18729 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
18730 * README: Update reference to required Linux kernel version.
18731 * manual/install.texi (Linux): Update reference to required Linux
18732 kernel headers version.
18733 * INSTALL: Regenerated.
18734
18735 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
18736 header inclusion.
18737 [POSIX] (limits.h): Likewise.
18738 [POSIX] (math.h): Likewise.
18739 [POSIX] (sys/wait.h): Likewise.
18740 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
18741 function.
18742 [POSIX] (stddef.h): Do not allow header inclusion.
18743
18744 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18745
18746 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
18747
18748 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
18749
18750 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
18751 Return immediately after lll_futex_wake.
18752
18753 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18754
18755 [BZ #16791]
18756 * nscd/nscd-client.h (datahead_init_common): Initialize entire
18757 structure.
18758 (datahead_init_pos): Call datahead_init_common early.
18759 (datahead_init_neg): Likewise.
18760
18761 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
18762 datahead_init_neg): New functions.
18763 * nscd/aicache.c (addhstaiX): Use them.
18764 * nscd/grpcache.c (cache_addgr): Likewise.
18765 * nscd/hstcache.c (cache_addhst): Likewise.
18766 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18767 * nscd/netgroupcache.c (do_notfound): Likewise.
18768 (addgetnetgrentX): Likewise.
18769 (addinnetgrX): Likewise.
18770 * nscd/pwdcache.c (cache_addpw): Likewise.
18771 * nscd/servicescache.c (cache_addserv): Likewise.
18772
18773 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18774 Atsushi Onoe <atsushi@onoe.org>
18775
18776 [BZ #14308]
18777 [BZ #12994]
18778 [BZ #13651]
18779 * resolv/res_query.c (__libc_res_nsearch): Return if at least
18780 one response is valid.
18781 * resolv/res_send.c (send_dg): Check for validity of other
18782 response if the current response is a referral.
18783
18784 2014-04-29 Steve Ellcey <sellcey@mips.com>
18785
18786 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
18787
18788 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
18789
18790 [BZ #16823]
18791 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
18792 Always divide by positive zero when computing -Inf result.
18793 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18794 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
18795
18796 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18797
18798 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
18799 FPSCR if value do not change.
18800 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18801 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
18802 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18803 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18804 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
18805 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
18806 function.
18807
18808 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
18809
18810 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
18811 * sysdeps/unix/sysv/linux/hppa: Move directory from
18812 ports/systeps/unix/sysv/linux/hppa.
18813 * README: Update listing for hppa-*-linux-gnu.
18814
18815 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
18816
18817 [BZ #16754]
18818 * manual/stdio.texi (Hook functions): Fix types of stream hook
18819 functions.
18820 [BZ #16854]
18821 * socket/sys/socket.h: Fix typo in comment.
18822
18823 2014-04-28 Wilco <wdijkstr@arm.com>
18824
18825 * sysdeps/arm/fenv_private.h: New file.
18826 * sysdeps/arm/math_private.h: New file.
18827 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
18828
18829 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
18830
18831 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
18832 with __int128_t.
18833 (La_x86_64_retval): Likewise.
18834
18835 2014-04-24 Ian Bolton <ian.bolton@arm.com>
18836
18837 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
18838 fpsr if value didn't change.
18839 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
18840 to fpcr if value didn't change.
18841 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
18842 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
18843 fpsr or fpcr if value didn't change.
18844 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
18845 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
18846 fpcr if value didn't change.
18847 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
18848 to fpsr if value didn't change.
18849
18850 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18851
18852 * nptl/tst-sem3.c: Use test-skeleton.c
18853 (main): Rename to do_test. Use return instead of
18854 exit.
18855 * nptl/tst-sem4.c: Use test-skeleton.c
18856 (main): Rename to do_test.
18857
18858 2014-04-22 David S. Miller <davem@davemloft.net>
18859
18860 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
18861 (struct sigaction): New struct member __glibc_reserved0, change
18862 type of sa_flags to int.
18863
18864 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
18865
18866 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
18867 (COUNT_LEADING_ZEROS_0): Define for AArch64.
18868
18869 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18870
18871 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
18872 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
18873
18874 2014-04-22 Will Newton <will.newton@linaro.org>
18875 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
18876
18877 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
18878 (__longjmp): Add longjmp and longjmp_target SystemTap
18879 probes.
18880 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
18881 (__sigsetjmp): Add setjmp SystemTap probe.
18882
18883 2014-04-17 Carlos O'Donell <carlos@redhat.com>
18884
18885 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
18886 match manual order.
18887
18888 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18889
18890 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
18891
18892 * sysdeps/powerpc/fpu/fenv_private.h
18893 (libc_feholdexcept_setroundl_ctx): Define to
18894 libc_feholdexcept_setround_ppc_ctx.
18895 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
18896 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
18897 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
18898 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
18899
18900 2014-04-17 Ian Bolton <ian.bolton@arm.com>
18901
18902 * sysdeps/aarch64/math-tests.h: New file.
18903
18904 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
18905
18906 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
18907 New.
18908 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18909 Check and set bit_AVX2_Usable.
18910 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
18911 macro.
18912 (bit_AVX2): Likewise.
18913 (index_AVX2_Usable): Likewise.
18914 (CPUID_AVX2): Likewise.
18915 (HAS_AVX2): Likewise.
18916
18917 2014-04-17 Will Newton <will.newton@linaro.org>
18918
18919 * manual/setjmp.texi (System V contexts): Add note that
18920 calling setcontext on a context created by a call to a
18921 signal handler is undefined. Update text to note that
18922 setcontext from a signal handler is possible but not
18923 recommended.
18924
18925 [BZ #16629]
18926 * stdlib/tst-setcontext.c: Include signal.h.
18927 (main): Check that the signal stack before and
18928 after swapcontext is the same.
18929
18930 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
18931 Re-implement to restore registers in user code and avoid
18932 rt_sigreturn system call.
18933
18934 2014-04-17 Wilco <wdijkstr@arm.com>
18935
18936 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
18937 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
18938 * math/test-fenv.c: Skip exception trap tests on targets which only
18939 support non-stop mode.
18940
18941 2014-04-17 Ian Bolton <ian.bolton@arm.com>
18942 Wilco Dijkstra <wilco.dijkstra@arm.com>
18943
18944 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
18945 (libc_feholdsetround_aarch64_ctx)
18946 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
18947 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
18948 (libc_feresetround_ctx, libc_feresetroundf_ctx)
18949 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
18950 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
18951 (libc_feresetround_noexl_ctx): Define.
18952
18953 2014-04-16 Richard Henderson <rth@redhat.com>
18954
18955 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
18956
18957 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
18958 unwind tables.
18959
18960 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
18961 const from the non-libc, non-ldso copy.
18962
18963 * sysdeps/alpha/libm-test-ulps: Regenerate.
18964
18965 2014-04-16 Ian Bolton <ian.bolton@arm.com>
18966 Wilco Dijkstra <wilco.dijkstra@arm.com>
18967
18968 * sysdeps/aarch64/fpu/math_private.h: New file.
18969
18970 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
18971
18972 * sysdeps/aarch64/libm-test-ulps: Regenerate.
18973
18974 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
18975
18976 [BZ #16275]
18977 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
18978 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
18979 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
18980 Intel MPX bound registers before _dl_profile_fixup.
18981 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
18982 registers after _dl_profile_fixup. Save and restore bound
18983 registers bnd0/bnd1 when calling _dl_call_pltexit.
18984 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
18985 (LR_BND_OFFSET): Likewise.
18986 (LRV_BND0_OFFSET): Likewise.
18987 (LRV_BND1_OFFSET): Likewise.
18988
18989 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18990
18991 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
18992 to...
18993 * sysdeps/mach/hurd/i386/tls.h: ... here.
18994 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
18995 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
18996 fields.
18997
18998 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18999
19000 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
19001
19002 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
19003
19004 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19005
19006 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
19007
19008 [BZ #14770]
19009 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
19010 * sysdeps/s390/configure: Regenerate.
19011
19012 [BZ #16824]
19013 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
19014 Set round-to-nearest internally to reduce error accumulation.
19015
19016 2014-04-16 Alan Modra <amodra@gmail.com>
19017
19018 [BZ #16740]
19019 [BZ #16619]
19020 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
19021 * math/libm-test.inc (frexp_test_data): Add tests.
19022 * NEWS: Update fixed bug list.
19023
19024 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19025
19026 * benchtests/Makefile: Depend on libraries in build directory.
19027 (bench-math): Separate out math tests.
19028 (bench-pthread): Separate out pthread tests.
19029 (bench): Include math and pthread tests.
19030
19031 2014-04-14 Carlos O'Donell <carlos@redhat.com>
19032
19033 [BZ #16831]
19034 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
19035 _dl_debug_initialize.
19036
19037 * configure.ac: Remove SELinux header check.
19038 * configure: Regenerate.
19039 * nscd/selinux.c (perms): Array of const char* to permission names.
19040 (nscd_request_avc_has_perm): Call security_deny_unknown to find
19041 default policy. Call string_to_security_class and string_to_av_perm to
19042 translate strings. Enforce default policy and call avs_has_perm with
19043 results of translated strings.
19044
19045 2014-04-13 David S. Miller <davem@davemloft.net>
19046
19047 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19048
19049 2014-04-12 Allan McRae <allan@archlinux.org>
19050
19051 [BZ #16838]
19052 * manual/string.texi (Collation Functions): Fix qsort argument
19053 order in example.
19054 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19055
19056 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
19057
19058 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
19059 Make the test a no-op if there are no exceptions defined.
19060
19061 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
19062
19063 * elf/Makefile (tests): make tst-dlopen-aout conditional on
19064 enable-hardcoded-path-in-tests
19065
19066 2014-04-11 Will Newton <will.newton@linaro.org>
19067
19068 * benchtests/Makefile (extra-objs): Add json-lib.o.
19069 (bench-func): Tidy up JSON output.
19070 * benchtests/bench-skeleton.c: Include json-lib.h.
19071 (main): Use JSON library functions to do output of
19072 benchmark results.
19073 * benchtests/bench-timing-type.c (main): Output the
19074 timing type simply, leaving formatting to the user.
19075 * benchtests/json-lib.c: New file.
19076 * benchtests/json-lib.h: Likewise.
19077
19078 2014-04-11 Torvald Riegel <triegel@redhat.com>
19079
19080 [BZ #15215]
19081 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
19082 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
19083 memory barriers. Add comments.
19084 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
19085 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
19086 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
19087 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
19088 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
19089 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
19090
19091 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19092
19093 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
19094 * sysdeps/s390/s390-64/configure.ac: ... this ...
19095 * sysdeps/s390/configure.ac: ... to here.
19096 * sysdeps/s390/s390-32/configure: Delete file.
19097 * sysdeps/s390/s390-64/configure: Delete file.
19098 * sysdeps/s390/configure: Regenerate.
19099
19100 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
19101
19102 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
19103
19104 2014-04-11 Will Newton <will.newton@linaro.org>
19105
19106 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
19107 to zero if it is not defined elsewhere. (mtrim): Test
19108 the value of MALLOC_DEBUG with #if rather than #ifdef.
19109
19110 2014-04-10 Torvald Riegel <triegel@redhat.com>
19111
19112 * benchtests/pthread_once-inputs: New file.
19113 * benchtests/pthread_once-source.c: New file.
19114 * benchtests/README: Update documentation.
19115
19116 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
19117 H.J. Lu <hongjiu.lu@intel.com>
19118
19119 [BZ #16275]
19120 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
19121 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
19122 * sysdeps/x86_64/configure: Regenerated.
19123 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
19124 macro.
19125 (REGISTER_SAVE_RAX): Likewise.
19126 (REGISTER_SAVE_RCX): Likewise.
19127 (REGISTER_SAVE_RDX): Likewise.
19128 (REGISTER_SAVE_RSI): Likewise.
19129 (REGISTER_SAVE_RDI): Likewise.
19130 (REGISTER_SAVE_R8): Likewise.
19131 (REGISTER_SAVE_R9): Likewise.
19132 (REGISTER_SAVE_BND0): Likewise.
19133 (REGISTER_SAVE_BND1): Likewise.
19134 (REGISTER_SAVE_BND2): Likewise.
19135 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
19136 bound registers when calling _dl_fixup.
19137
19138 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19139
19140 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
19141 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
19142 of its definition.
19143 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
19144 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
19145 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
19146 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
19147 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
19148 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
19149 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
19150
19151 2014-04-09 Peter Brett <peter@peter-b.co.uk>
19152
19153 [BZ #15514]
19154 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
19155 pathconf(_PC_NAME_MAX).
19156
19157 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19158
19159 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
19160 Remove macro usage.
19161 (__PTHREAD_SPINS): Move definition to ...
19162 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19163 (__PTHREAD_SPINS): ... here.
19164 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19165 (__PTHREAD_SPIN): Likewise.
19166 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
19167 (__PTHREAD_SPIN): Likewise.
19168 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
19169 (__PTHREAD_SPIN): Likewise.
19170 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
19171 (__PTHREAD_SPIN): Likewise.
19172 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19173 (__PTHREAD_SPIN): Likewise.
19174 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19175 (__PTHREAD_SPIN): Likewise.
19176 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
19177 (__PTHREAD_SPIN): Likewise.
19178 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19179 (__PTHREAD_SPIN): Likewise.
19180 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19181 (__PTHREAD_SPIN): Likewise.
19182 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19183 (__PTHREAD_SPIN): Likewise.
19184 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19185 (__PTHREAD_SPIN): Likewise.
19186 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
19187 (__PTHREAD_SPIN): Likewise.
19188
19189 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
19190 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
19191 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
19192 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
19193 imply folder.
19194 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
19195 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
19196 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
19197 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
19198 correct imply path.
19199 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
19200 strlen symbol for non multi-arch builds.
19201 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
19202 missing hidden_def and weak_alias.
19203
19204 2014-04-08 Carlos O'Donell <carlos@redhat.com>
19205
19206 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
19207
19208 2014-04-07 Will Newton <will.newton@linaro.org>
19209
19210 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
19211 and contents. [!_LIBC] Remove #ifndef and contents.
19212 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
19213 * string/memccpy.c (__memccpy): Use ANSI prototype.
19214 * string/memfrob.c (memfrob): Likewise.
19215 * string/strcoll.c (STRCOLL): Likewise.
19216 * string/strlen.c (strlen): Likewise.
19217 * string/strtok.c (STRTOK): Likewise.
19218 * string/strcat.c: Remove unused #include of memcopy.h.
19219 (strcat): Use ANSI prototype.
19220 * string/strchr.c: Remove unused #include of memcopy.h.
19221 (strchr): Use ANSI prototype.
19222 * string/strcmp.c: Remove unused #include of memcopy.h.
19223 (strcmp): Use ANSI prototype.
19224 * string/strcpy.c: Remove unused #include of memcopy.h.
19225 (strcpy): Use ANSI prototype.
19226
19227 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19228
19229 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
19230 * config.make.in (config-extra-cppflags): Set it from
19231 libc_extra_cppflags.
19232 * configure.ac (libc_extra_cflags): Make it accumulate over
19233 configure fragments.
19234 (libc_extra_cppflags): New flag.
19235 * configure. Regenerate.
19236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
19237 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
19238 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
19239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19240
19241 [BZ #16815]
19242 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
19243 result for FE_DOWNWARD rounding mode.
19244 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19245 Likewise.
19246 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19247
19248 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
19249
19250 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
19251 in function argument name.
19252
19253 2014-04-03 David Svoboda <svoboda@cert.org>
19254
19255 [BZ #5666]
19256 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
19257 explicitly.
19258
19259 2014-04-03 Roland McGrath <roland@hack.frob.com>
19260
19261 * elf/dl-unmap-segments.h: New file.
19262 * sysdeps/generic/ldsodefs.h
19263 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
19264 * elf/dl-close.c: Include <dl-unmap-segments.h>.
19265 * elf/dl-fptr.c: Likewise.
19266 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
19267 * sysdeps/aarch64/tlsdesc.c: Likewise.
19268 * sysdeps/arm/tlsdesc.c: Likewise.
19269 * sysdeps/i386/tlsdesc.c: Likewise.
19270 * sysdeps/tile/dl-runtime.c: Likewise.
19271 * sysdeps/x86_64/tlsdesc.c: Likewise.
19272 * elf/dl-load.h: New file.
19273 * elf/dl-load.c: Include it.
19274 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
19275 Macros moved to dl-load.h.
19276 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
19277 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
19278 Use _dl_unmap_segments in place of __munmap.
19279 Break out segment-mapping loop into ...
19280 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
19281
19282 2014-04-03 Will Newton <will.newton@linaro.org>
19283
19284 * elf/dl-lookup.c (do_lookup_x): Remove comment
19285 referring to nested function and move variable
19286 declarations down to before first use.
19287
19288 2014-04-02 Joseph Myers <joseph@codesourcery.com>
19289
19290 [BZ #16799]
19291 [BZ #16800]
19292 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
19293 with 0 numerator.
19294 * math/s_catanf.c (__catanf): Likewise.
19295 * math/s_catanh.c (__catanh): Likewise.
19296 * math/s_catanhf.c (__catanhf): Likewise.
19297 * math/s_catanhl.c (__catanhl): Likewise.
19298 * math/s_catanl.c (__catanl): Likewise.
19299 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
19300 by positive zero when computing -Inf result.
19301 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
19302 (catanh_test): Likewise.
19303 * sysdeps/i386/fpu/libm-test-ulps: Update.
19304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19305
19306 [BZ #16789]
19307 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
19308 instead of using underflowing value in computing result.
19309 * math/s_clog10.c (__clog10): Likewise.
19310 * math/s_clog10f.c (__clog10f): Likewise.
19311 * math/s_clog10l.c (__clog10l): Likewise.
19312 * math/s_clogf.c (__clogf): Likewise.
19313 * math/s_clogl.c (__clogl): Likewise.
19314 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
19315 (clog10_test): Likewise.
19316 * sysdeps/i386/fpu/libm-test-ulps: Update.
19317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19318
19319 2014-04-02 Alan Modra <amodra@gmail.com>
19320
19321 [BZ #16739]
19322 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
19323 output when value is near a power of two. Use int64_t for lx and
19324 remove casts. Use decimal rather than hex exponent constants.
19325 Don't use long double multiplication when double will suffice.
19326 * math/libm-test.inc (nextafter_test_data): Add tests.
19327 * NEWS: Add 16739 and 16786 to bug list.
19328
19329 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
19330
19331 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
19332
19333 2014-04-01 Will Newton <will.newton@linaro.org>
19334
19335 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
19336 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
19337
19338 2014-04-01 Florian Weimer <fweimer@redhat.com>
19339
19340 [BZ #13347]
19341 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
19342 * nptl/tst-setuid2.c: New file.
19343 * nptl/Makefile (xtests): Add tst-setuid2.
19344
19345 2014-04-01 Alan Modra <amodra@gmail.com>
19346
19347 [BZ #16786]
19348 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
19349
19350 2014-03-31 Joseph Myers <joseph@codesourcery.com>
19351
19352 [BZ #6803]
19353 [BZ #6804]
19354 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
19355 set errno as appropriate.
19356 * math/w_scalbf.c (__scalbf): Likewise.
19357 * math/w_scalbl.c (__scalbl): Likewise.
19358 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
19359 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
19360 * math/libm-test.inc (scalb_test_data): Add errno expectations.
19361 Add more NaN tests.
19362
19363 [BZ #16349]
19364 * math/w_atan2.c: Include <errno.h>.
19365 (__atan2): Set errno for result underflowing to zero.
19366 * math/w_atan2f.c: Include <errno.h>.
19367 (__atan2f): Set errno for result underflowing to zero.
19368 * math/w_atan2l.c: Include <errno.h>.
19369 (__atan2l): Set errno for result underflowing to zero.
19370 * math/auto-libm-test-in: Don't allow missing errno for some atan2
19371 tests.
19372 * math/auto-libm-test-out: Regenerated.
19373
19374 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19375
19376 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
19377 Encode instruction correctly in little endian.
19378 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
19379 Likewise.
19380 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
19381 Likewise.
19382 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
19383 Likewise.
19384 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
19385 Likewise.
19386
19387 2014-03-31 Joseph Myers <joseph@codesourcery.com>
19388
19389 [BZ #9894]
19390 * sysdeps/unix/sysv/linux/kernel-features.h
19391 [__sparc__ && !__arch64__ && !__sparc_v9__]
19392 (__ASSUME_SET_ROBUST_LIST): Do not define.
19393 [__sparc__ && !__arch64__ && !__sparc_v9__]
19394 (__ASSUME_FUTEX_LOCK_PI): Likewise.
19395 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
19396 Likewise.
19397 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19398 (__ASSUME_FUTEX_LOCK_PI): Undefine.
19399 (__ASSUME_REQUEUE_PI): Likewise.
19400 (__ASSUME_SET_ROBUST_LIST): Likewise.
19401 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19402 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
19403 Undefine.
19404 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19405 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
19406 Likewise.
19407 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
19408 Likewise.
19409 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
19410 Likewise.
19411 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19412 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
19413 Undefine.
19414 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
19415 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
19416 Likewise.
19417
19418 [BZ #16648]
19419 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19420 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
19421 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
19422
19423 2014-03-31 Will Newton <will.newton@linaro.org>
19424
19425 * benchtests/Makefile (bench): Add ffs and ffsll to list
19426 of tests.
19427 * benchtests/ffs-inputs: New file.
19428 * benchtests/ffsll-inputs: Likewise.
19429
19430 2014-03-29 Joseph Myers <joseph@codesourcery.com>
19431
19432 [BZ #16770]
19433 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
19434 too large before casting to int.
19435 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
19436 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
19437 * math/libm-test.inc (scalb_test_data): Add more tests.
19438
19439 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19440
19441 * benchtests/Makefile (DETAILED_OPT): New make option.
19442 (bench-func): Run benchmark program with -d if DETAILED_OPT is
19443 set.
19444 * benchtests/bench-skeleton.c: Include stdbool.h.
19445 (main): Store and print timings per input.
19446 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
19447 member to each argument value.
19448 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
19449 (_print_arg_data): Initialize per-input timing to 0.
19450
19451 * benchtests/Makefile (timing-type): New binary.
19452 (bench-clean): Also remove bench-timing-type.
19453 (bench): New target for timing-type.
19454 (bench-func): Print output in JSON format.
19455 * benchtests/bench-skeleton.c (main): Print output in JSON
19456 format.
19457 * benchtests/bench-timing-type.c: New file.
19458 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
19459 (TIMING_PRINT_STATS): Remove.
19460 * benchtests/scripts/bench.py (_print_arg_data): Store variant
19461 name separately.
19462
19463 * benchtests/bench-modf.c: Remove.
19464 * benchtests/modf-inputs: New inputs file.
19465
19466 2014-03-28 Joseph Myers <joseph@codesourcery.com>
19467
19468 [BZ #16362]
19469 * math/s_clog10.c (M_PI_LOG10E): New macro.
19470 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
19471 imaginary parts are 0.
19472 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
19473 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
19474 imaginary parts are 0.
19475 * math/s_clog10l.c (M_PI_LOG10El): New macro.
19476 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
19477 imaginary parts are 0.
19478 * math/libm-test.inc (clog10_test_data): Update expected results
19479 for when real and imaginary parts are 0.
19480
19481 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
19482
19483 * elf/dl-load.c: Finish conversion of __builtin_expect into
19484 __glibc_{un}likely.
19485
19486 2014-03-27 Joseph Myers <joseph@codesourcery.com>
19487
19488 [BZ #16348]
19489 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
19490 1+x for argument with exponent below -67.
19491 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
19492 Likewise.
19493 * math/auto-libm-test-in: Add more tests of exp.
19494 * math/auto-libm-test-out: Regenerated.
19495
19496 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19497
19498 [BZ #16759]
19499 * inet/getnetgrent_r.c (get_nonempty_val): New function.
19500 (nscd_getnetgrent): Use it.
19501
19502 [BZ #16760]
19503 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
19504 of stpcpy.
19505
19506 2014-03-27 Andi Kleen <ak@linux.intel.com>
19507
19508 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
19509 (lll_robust_lock, lll_cond_lock, lll_timedlock)
19510 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19511 (lll_robust_unlock): Remove out of line section. Use cfi
19512 intrinsics.
19513 (LLL_STUB_UNWIND_INFO*): Remove.
19514 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
19515 (lll_robust_lock, lll_cond_lock, lll_timedlock)
19516 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19517 (lll_robust_unlock): Remove out of line section. Use cfi
19518 intrinsics.
19519 (LLL_STUB_UNWIND_INFO*): Remove.
19520
19521 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19522
19523 [BZ #16758]
19524 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
19525 blank values.
19526
19527 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
19528
19529 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
19530
19531 2014-03-26 Joseph Myers <joseph@codesourcery.com>
19532
19533 [BZ #16198]
19534 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
19535 fnstenv.
19536 * math/test-fenv-preserve.c: New file.
19537 * math/Makefile (tests): Add test-fenv-preserve.
19538
19539 2014-03-26 Will Newton <will.newton@linaro.org>
19540
19541 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
19542
19543 2014-03-25 Roland McGrath <roland@hack.frob.com>
19544
19545 * scripts/versionlist.awk: Partition the version sets and emit all
19546 GLIBC_* (sorted) before all others (sorted).
19547
19548 2014-03-25 Joseph Myers <joseph@codesourcery.com>
19549
19550 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
19551 GLIBC_2.2.5 version.
19552
19553 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19554
19555 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
19556 calls.
19557
19558 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
19559 previous change.
19560
19561 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19562
19563 2014-03-25 Andreas Schwab <schwab@suse.de>
19564
19565 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
19566 label to be used after in6ailist is initialized.
19567
19568 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19569
19570 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19571 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19572
19573 2014-03-25 Joseph Myers <joseph@codesourcery.com>
19574
19575 [BZ #16357]
19576 [BZ #16599]
19577 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
19578 min_plus_half.
19579 (fp_formats): Update initializers.
19580 (init_fp_formats): Initialize new field.
19581 (output_for_one_input_case): Allow underflow for results up to
19582 min_plus_half.
19583 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
19584 * math/auto-libm-test-in: Don't mark some underflows from asin and
19585 atanh as spurious.
19586 * math/auto-libm-test-out: Regenerated.
19587 * sysdeps/i386/fpu/libm-test-ulps: Update.
19588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19589
19590 2014-03-25 Andreas Schwab <schwab@suse.de>
19591
19592 * libio/Makefile (tst-ftell-partial-wide-ENV)
19593 (tst-ftell-active-handler-ENV): Define.
19594
19595 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
19596
19597 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
19598
19599 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
19600
19601 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
19602
19603 2014-03-24 Joseph Myers <joseph@codesourcery.com>
19604
19605 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
19606 * sysdeps/x86_64/fpu/multiarch/e_exp.c
19607 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19608
19609 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
19610
19611 [BZ #16634]
19612 * elf/dl-load.c (open_verify): Add mode parameter.
19613 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
19614 (open_path): Change from boolean 'secure' to complete flag 'mode'
19615 (_dl_map_object): Adjust.
19616 * elf/Makefile (tests): Add tst-dlopen-aout.
19617 * elf/tst-dlopen-aout.c: New test.
19618
19619 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
19620
19621 [BZ #16714]
19622 * sysdeps/unix/sysv/linux/s390/bits/stat.h
19623 (struct stat): Rename member pad0 to __glibc_reserved0.
19624
19625 [BZ #16712]
19626 * sysdeps/s390/s390-32/bits/wordsize.h
19627 (__WORDSIZE32_SIZE_ULONG): New define.
19628 * sysdeps/s390/s390-64/bits/wordsize.h
19629 (__WORDSIZE32_SIZE_ULONG): Likewise.
19630 * sysdeps/generic/stdint.h (SIZE_MAX):
19631 Define as UL if __WORDSIZE32_SIZE_ULONG.
19632
19633 [BZ #16713]
19634 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
19635 (__glibc_reserved0): New variable.
19636 (sa_flags): Change type to int.
19637
19638 * posix/Makefile (before-compile): Use += before-compile instead
19639 of a :=.
19640
19641 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19642 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19643
19644 2014-03-20 Andreas Schwab <schwab@suse.de>
19645
19646 [BZ #16743]
19647 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
19648 non-matching result from nscd.
19649
19650 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19651
19652 * scripts/bench.py: Moved to ...
19653 * benchtests/scripts/bench.py: ... here.
19654 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
19655
19656 2014-03-24 Andreas Schwab <schwab@suse.de>
19657
19658 [BZ #16002]
19659 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
19660 alloca_account and account alloca use for struct in6ailist.
19661
19662 2014-03-24 Joseph Myers <joseph@codesourcery.com>
19663
19664 [BZ #16284]
19665 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
19666 rounding mode to recompute results that overflow to infinity or
19667 underflow to zero.
19668 * math/auto-libm-test-in: Don't mark tests as expected to fail for
19669 bug 16284.
19670 * math/auto-libm-test-out: Regenerated.
19671 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
19672 (ccosh_test): Likewise.
19673 (csin_test_data): Use plus_oflow.
19674 (csin_test): Use ALL_RM_TEST.
19675 (csinh_test_data): Use plus_oflow.
19676 (csinh_test): Use ALL_RM_TEST.
19677 * sysdeps/i386/fpu/libm-test-ulps: Update.
19678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19679
19680 2014-03-21 Joseph Myers <joseph@codesourcery.com>
19681
19682 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
19683 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
19684 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
19685
19686 [BZ #16731]
19687 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
19688 when x - 1 is zero.
19689 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
19690 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
19691 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19692 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
19693 argument is 1.
19694 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
19695 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
19696 zero.
19697 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
19698 * sysdeps/i386/fpu/libm-test-ulps: Update.
19699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19700
19701 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19702
19703 * scripts/bench.pl: Remove file.
19704 * scripts/bench.py: New benchmark script.
19705 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
19706 * benchtests/README: Mention python dependency.
19707 * scripts/pylintrc: New file.
19708 * scripts/pylint: New file.
19709
19710 * bits/mathdef.h: Use #ifdef instead of #if.
19711 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
19712 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19713 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
19714 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19715 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
19716 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19717
19718 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19719 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19720
19721 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
19722 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
19723 and strpbrk-ppc64 objects.
19724 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19725 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
19726 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
19727 multiarch strpbrk for POWER7.
19728 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
19729 multiarch strpbrk for PPC64.
19730 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
19731 ifunc selector.
19732 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
19733 strpbrk for POWER7.
19734
19735 2014-03-20 Joseph Myers <joseph@codesourcery.com>
19736
19737 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
19738 (atan_test): Likewise.
19739 (atanh_test_data): Use NO_TEST_INLINE for two tests.
19740 (atanh_test): Use ALL_RM_TEST.
19741 (atan2_test_data): Likewise.
19742 (cabs_test): Likewise.
19743 (cacosh_test): Likewise.
19744 (carg_test): Likewise.
19745 (casin_test): Likewise.
19746 (casinh_test): Likewise.
19747 (cbrt_test): Likewise.
19748 (csqrt_test): Likewise.
19749 (erf_test): Likewise.
19750 (erfc_test): Likewise.
19751 (pow10_test): Likewise.
19752 (exp2_test): Likewise.
19753 (hypot_test): Likewise.
19754 (j0_test): Likewise.
19755 (j1_test): Likewise.
19756 (lgamma_test): Likewise.
19757 (gamma_test): Likewise.
19758 (sincos_test): Likewise.
19759 (tanh_test): Likewise.
19760 (y0_test): Likewise.
19761 (y1_test): Likewise.
19762 * sysdeps/i386/fpu/libm-test-ulps: Update.
19763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19764
19765 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19766
19767 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
19768 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
19769 and strcspn-ppc64 objects.
19770 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19771 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
19772 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
19773 multiarch strcspn for POWER7.
19774 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
19775 multiarch strcspn for PPC64.
19776 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
19777 ifunc selector.
19778 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
19779 strcspn for POWER7.
19780
19781 2014-03-20 Joseph Myers <joseph@codesourcery.com>
19782
19783 * math/gen-libm-test.pl (generate_testfile): Expect only function
19784 name as argument to AUTO_TESTS_* and pass results for all rounding
19785 modes to parse_args.
19786 (parse_auto_input): Separate inputs of automatic tests from
19787 outputs before storing in %auto_tests.
19788 * math/libm-test.inc (acos_test_data): Update call to
19789 AUTO_TESTS_f_f.
19790 (acos_test): Use ALL_RM_TEST.
19791 (acos_tonearest_test_data): Remove.
19792 (acos_test_tonearest): Likewise.
19793 (acos_towardzero_test_data): Likewise.
19794 (acos_test_towardzero): Likewise.
19795 (acos_downward_test_data): Likewise.
19796 (acos_test_downward): Likewise.
19797 (acos_upward_test_data): Likewise.
19798 (acos_test_upward): Likewise.
19799 (acosh_test_data): Update call to AUTO_TESTS_f_f.
19800 (asin_test_data): Likewise.
19801 (asin_test): Use ALL_RM_TEST.
19802 (asin_tonearest_test_data): Remove.
19803 (asin_test_tonearest): Likewise.
19804 (asin_towardzero_test_data): Likewise.
19805 (asin_test_towardzero): Likewise.
19806 (asin_downward_test_data): Likewise.
19807 (asin_test_downward): Likewise.
19808 (asin_upward_test_data): Likewise.
19809 (asin_test_upward): Likewise.
19810 (asinh_test_data): Update call to AUTO_TESTS_f_f.
19811 (atan_test_data): Likewise.
19812 (atanh_test_data): Likewise.
19813 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
19814 (cabs_test_data): Update call to AUTO_TESTS_c_f.
19815 (carg_test_data): Likewise.
19816 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
19817 (ccos_test_data): Update call to AUTO_TESTS_c_c.
19818 (ccosh_test_data): Likewise.
19819 (cexp_test_data): Likewise.
19820 (clog_test_data): Likewise.
19821 (clog10_test_data): Likewise.
19822 (cos_test_data): Update call to AUTO_TESTS_f_f.
19823 (cos_test): Use ALL_RM_TEST.
19824 (cos_tonearest_test_data): Remove.
19825 (cos_test_tonearest): Likewise.
19826 (cos_towardzero_test_data): Likewise.
19827 (cos_test_towardzero): Likewise.
19828 (cos_downward_test_data): Likewise.
19829 (cos_test_downward): Likewise.
19830 (cos_upward_test_data): Likewise.
19831 (cos_test_upward): Likewise.
19832 (cosh_test_data): Update call to AUTO_TESTS_f_f.
19833 (cosh_test): Use ALL_RM_TEST.
19834 (cosh_tonearest_test_data): Remove.
19835 (cosh_test_tonearest): Likewise.
19836 (cosh_towardzero_test_data): Likewise.
19837 (cosh_test_towardzero): Likewise.
19838 (cosh_downward_test_data): Likewise.
19839 (cosh_test_downward): Likewise.
19840 (cosh_upward_test_data): Likewise.
19841 (cosh_test_upward): Likewise.
19842 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
19843 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
19844 (ctan_test_data): Likewise.
19845 (ctan_test): Use ALL_RM_TEST.
19846 (ctan_tonearest_test_data): Remove.
19847 (ctan_test_tonearest): Likewise.
19848 (ctan_towardzero_test_data): Likewise.
19849 (ctan_test_towardzero): Likewise.
19850 (ctan_downward_test_data): Likewise.
19851 (ctan_test_downward): Likewise.
19852 (ctan_upward_test_data): Likewise.
19853 (ctan_test_upward): Likewise.
19854 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
19855 (ctanh_test): Use ALL_RM_TEST.
19856 (ctanh_tonearest_test_data): Remove.
19857 (ctanh_test_tonearest): Likewise.
19858 (ctanh_towardzero_test_data): Likewise.
19859 (ctanh_test_towardzero): Likewise.
19860 (ctanh_downward_test_data): Likewise.
19861 (ctanh_test_downward): Likewise.
19862 (ctanh_upward_test_data): Likewise.
19863 (ctanh_test_upward): Likewise.
19864 (erf_test_data): Update call to AUTO_TESTS_f_f.
19865 (erfc_test_data): Likewise.
19866 (exp_test_data): Likewise.
19867 (exp_test): Use ALL_RM_TEST.
19868 (exp_tonearest_test_data): Remove.
19869 (exp_test_tonearest): Likewise.
19870 (exp_towardzero_test_data): Likewise.
19871 (exp_test_towardzero): Likewise.
19872 (exp_downward_test_data): Likewise.
19873 (exp_test_downward): Likewise.
19874 (exp_upward_test_data): Likewise.
19875 (exp_test_upward): Likewise.
19876 (exp10_test_data): Update call to AUTO_TESTS_f_f.
19877 (exp10_test): Use ALL_RM_TEST.
19878 (exp10_tonearest_test_data): Remove.
19879 (exp10_test_tonearest): Likewise.
19880 (exp10_towardzero_test_data): Likewise.
19881 (exp10_test_towardzero): Likewise.
19882 (exp10_downward_test_data): Likewise.
19883 (exp10_test_downward): Likewise.
19884 (exp10_upward_test_data): Likewise.
19885 (exp10_test_upward): Likewise.
19886 (exp2_test_data): Update call to AUTO_TESTS_f_f.
19887 (expm1_test_data): Likewise.
19888 (expm1_test): Use ALL_RM_TEST.
19889 (expm1_tonearest_test_data): Remove.
19890 (expm1_test_tonearest): Likewise.
19891 (expm1_towardzero_test_data): Likewise.
19892 (expm1_test_towardzero): Likewise.
19893 (expm1_downward_test_data): Likewise.
19894 (expm1_test_downward): Likewise.
19895 (expm1_upward_test_data): Likewise.
19896 (expm1_test_upward): Likewise.
19897 (fma_test_data): Update call to AUTO_TESTS_fff_f.
19898 (fma_test): Use ALL_RM_TEST.
19899 (fma_towardzero_test_data): Remove.
19900 (fma_test_towardzero): Likewise.
19901 (fma_downward_test_data): Likewise.
19902 (fma_test_downward): Likewise.
19903 (fma_upward_test_data): Likewise.
19904 (fma_test_upward): Likewise.
19905 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
19906 (j0_test_data): Update call to AUTO_TESTS_f_f.
19907 (j1_test_data): Likewise.
19908 (jn_test_data): Update call to AUTO_TESTS_if_f.
19909 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
19910 (log_test_data): Update call to AUTO_TESTS_f_f.
19911 (log10_test_data): Likewise.
19912 (log1p_test_data): Likewise.
19913 (log2_test_data): Likewise.
19914 (pow_test_data): Update call to AUTO_TESTS_ff_f.
19915 (pow_tonearest_test_data): Likewise.
19916 (sin_test_data): Update call to AUTO_TESTS_f_f.
19917 (sin_test): Use ALL_RM_TEST.
19918 (sin_tonearest_test_data): Remove.
19919 (sin_test_tonearest): Likewise.
19920 (sin_towardzero_test_data): Likewise.
19921 (sin_test_towardzero): Likewise.
19922 (sin_downward_test_data): Likewise.
19923 (sin_test_downward): Likewise.
19924 (sin_upward_test_data): Likewise.
19925 (sin_test_upward): Likewise.
19926 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
19927 (sinh_test_data): Update call to AUTO_TESTS_f_f.
19928 (sinh_test): Use ALL_RM_TEST.
19929 (sinh_tonearest_test_data): Remove.
19930 (sinh_test_tonearest): Likewise.
19931 (sinh_towardzero_test_data): Likewise.
19932 (sinh_test_towardzero): Likewise.
19933 (sinh_downward_test_data): Likewise.
19934 (sinh_test_downward): Likewise.
19935 (sinh_upward_test_data): Likewise.
19936 (sinh_test_upward): Likewise.
19937 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
19938 (sqrt_test): Use ALL_RM_TEST.
19939 (sqrt_tonearest_test_data): Remove.
19940 (sqrt_test_tonearest): Likewise.
19941 (sqrt_towardzero_test_data): Likewise.
19942 (sqrt_test_towardzero): Likewise.
19943 (sqrt_downward_test_data): Likewise.
19944 (sqrt_test_downward): Likewise.
19945 (sqrt_upward_test_data): Likewise.
19946 (sqrt_test_upward): Likewise.
19947 (tan_test_data): Update call to AUTO_TESTS_f_f.
19948 (tan_test): Use ALL_RM_TEST.
19949 (tan_tonearest_test_data): Remove.
19950 (tan_test_tonearest): Likewise.
19951 (tan_towardzero_test_data): Likewise.
19952 (tan_test_towardzero): Likewise.
19953 (tan_downward_test_data): Likewise.
19954 (tan_test_downward): Likewise.
19955 (tan_upward_test_data): Likewise.
19956 (tan_test_upward): Likewise.
19957 (tanh_test_data): Update call to AUTO_TESTS_f_f.
19958 (tgamma_test_data): Likewise.
19959 (y0_test_data): Likewise.
19960 (y1_test_data): Likewise.
19961 (yn_test_data): Update call to AUTO_TESTS_if_f.
19962 (main): Do not call removed functions.
19963
19964 2014-03-19 Joseph Myers <joseph@codesourcery.com>
19965
19966 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
19967 (ldexp_test_data): Remove.
19968 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
19969 scalbn_test_data.
19970 (scalb_test): Use ALL_RM_TEST.
19971
19972 2014-03-19 Andreas Schwab <schwab@suse.de>
19973
19974 * nscd/nscd.service: Also invalidate netgroup cache on reload.
19975
19976 2014-03-19 Joseph Myers <joseph@codesourcery.com>
19977
19978 [BZ #16649]
19979 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19980 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
19981 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
19982 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19983 (__ASSUME_PREADV): Undefine.
19984 (__ASSUME_PWRITEV): Likewise.
19985
19986 2014-03-18 Roland McGrath <roland@hack.frob.com>
19987
19988 * bits/mman-linux.h: Add comment about non-Linux use.
19989 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
19990 bits/mman-linux.h resting place.
19991
19992 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
19993 * bits/mman-linux.h: ... here.
19994
19995 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19996
19997 * conform/conformtest.pl: Add standard definition when calling C
19998 preprocessor on data files.
19999 (checknamespace): Remove unused variable.
20000
20001 2014-03-18 Joseph Myers <joseph@codesourcery.com>
20002
20003 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
20004 minus_oflow, plus_uflow and minus_uflow in expected results.
20005 * math/libm-test.inc (scalbn_test_data): Add more tests of
20006 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
20007 minus_uflow.
20008 (scalbn_test): Use ALL_RM_TEST.
20009 (scalbln_test_data): Add more tests of negative arguments. Use
20010 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
20011 (scalbln_test): Use ALL_RM_TEST.
20012
20013 2014-03-18 Roland McGrath <roland@hack.frob.com>
20014
20015 * scripts/abilist.awk: Ignore symbols marked with .hidden.
20016
20017 2014-03-18 Will Newton <will.newton@linaro.org>
20018
20019 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
20020 inaccurate comment.
20021
20022 2014-03-18 Joseph Myers <joseph@codesourcery.com>
20023
20024 * Makerules [!subdir] (check-abi): Exit with error status if a
20025 test failed.
20026
20027 2014-03-17 Joseph Myers <joseph@codesourcery.com>
20028
20029 * math/libm-test.inc (nearbyint_test_data): Include all tests used
20030 for rint. Include results for all rounding modes.
20031 (nearbyint_test): Use ALL_RM_TEST.
20032 (rint_test_data): Include all tests used for nearbyint.
20033
20034 2014-03-17 Will Newton <will.newton@linaro.org>
20035
20036 * nptl/sysdeps/pthread/pthread.h: Revert previous
20037 change.
20038
20039 * sysdeps/generic/ldsodefs.h: Revert previous
20040 change.
20041
20042 * libio/genops.c: Revert previous change.
20043 * libio/libioP.h: Likewise.
20044 * stdio-common/vfprintf.c: Likewise.
20045
20046 * sysdeps/generic/math_private.h: Revert previous
20047 change.
20048
20049 * sysdeps/generic/math_private.h: Check whether
20050 HAVE_RM_CTX is defined with #ifdef rather
20051 than #if.
20052
20053 * argp/argp-fmtstream.h: Check whether
20054 __STRICT_ANSI__ is defined with #ifdef rather
20055 than #if.
20056 * argp/argp.h: Likewise.
20057
20058 * libio/genops.c: Check whether
20059 _IO_JUMPS_OFFSET is defined with #ifdef rather
20060 than #if.
20061 * libio/libioP.h: Likewise.
20062 * stdio-common/vfprintf.c: Likewise.
20063
20064 * sysdeps/generic/ldsodefs.h: Check whether
20065 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
20066 than #if.
20067
20068 * nptl/sysdeps/pthread/pthread.h: Check
20069 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
20070 its value.
20071
20072 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20073
20074 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
20075 setting O_APPEND.
20076 * libio/tst-ftell-active-handler.c (do_append_test): Add a
20077 test case.
20078
20079 [BZ #16680]
20080 * libio/fileops.c (_IO_file_open): Seek to end of file but
20081 don't cache the offset.
20082 (get_file_offset): Remove function.
20083 (do_ftell): Use cached offset when available.
20084 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
20085 don't cache the offset.
20086 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
20087 case.
20088 (do_one_test): Call it.
20089 (do_ftell_test): Fix up expected old offset for a+ mode.
20090 * libio/wfileops.c (do_ftell_wide): Used cached offset when
20091 available.
20092
20093 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
20094 up test status with function return status.
20095 (do_write_test): Likewise.
20096 (do_append_test): Likewise.
20097
20098 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
20099 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
20100 Remove.
20101
20102 2014-03-17 Joseph Myers <joseph@codesourcery.com>
20103
20104 * math/gen-libm-test.pl (parse_args): Handle results specified for
20105 each rounding mode separately.
20106 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
20107 tests and results from lrint_tonearest_test_data,
20108 lrint_towardzero_test_data, lrint_downward_test_data and
20109 lrint_upward_test_data.
20110 (lrint_test): Use ALL_RM_TEST.
20111 (lrint_tonearest_test_data): Remove.
20112 (lrint_test_tonearest): Likewise.
20113 (lrint_towardzero_test_data): Likewise.
20114 (lrint_test_towardzero): Likewise.
20115 (lrint_downward_test_data): Likewise.
20116 (lrint_test_downward): Likewise.
20117 (lrint_upward_test_data): Likewise.
20118 (lrint_test_upward): Likewise.
20119 (llrint_test_data): Merge in per-rounding-mode tests and results
20120 from llrint_tonearest_test_data, llrint_towardzero_test_data,
20121 llrint_downward_test_data and llrint_upward_test_data.
20122 (llrint_test): Use ALL_RM_TEST.
20123 (llrint_tonearest_test_data): Remove.
20124 (llrint_test_tonearest): Likewise.
20125 (llrint_towardzero_test_data): Likewise.
20126 (llrint_test_towardzero): Likewise.
20127 (llrint_downward_test_data): Likewise.
20128 (llrint_test_downward): Likewise.
20129 (llrint_upward_test_data): Likewise.
20130 (llrint_test_upward): Likewise.
20131 (rint_test_data): Merge in per-rounding-mode tests and results
20132 from rint_tonearest_test_data, rint_towardzero_test_data,
20133 rint_downward_test_data and rint_upward_test_data. Add
20134 per-rounding-mode results for tests not in those arrays.
20135 (rint_test): Use ALL_RM_TEST.
20136 (rint_tonearest_test_data): Remove.
20137 (rint_test_tonearest): Likewise.
20138 (rint_towardzero_test_data): Likewise.
20139 (rint_test_towardzero): Likewise.
20140 (rint_downward_test_data): Likewise.
20141 (rint_test_downward): Likewise.
20142 (rint_upward_test_data): Likewise.
20143 (rint_test_upward): Likewise.
20144 (main): Don't call removed functions.
20145
20146 2014-03-14 Roland McGrath <roland@hack.frob.com>
20147
20148 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
20149 "Compiled on ..." crapola. It is anti-useful.
20150
20151 2014-03-14 Joseph Myers <joseph@codesourcery.com>
20152
20153 * scripts/evaluate-test.sh: Handle fourth argument to determine
20154 whether test run should stop on failure.
20155 * Makeconfig (stop-on-test-failure): New variable.
20156 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
20157 $(stop-on-test-failure).
20158 * Makefile (tests): Give a summary of results from testing and
20159 exit with failure status if they include an ERROR or FAIL.
20160 (xtests): Likewise.
20161 * manual/install.texi (Configuring and compiling): Mention
20162 stop-on-test-failure=y.
20163 * INSTALL: Regenerated.
20164
20165 2014-03-14 Roland McGrath <roland@hack.frob.com>
20166
20167 * scripts/versionlist.awk: New file.
20168 * Makerules [$(build-shared) = yes]
20169 (postclean-generated): Add Versions.def, not Versions.def.v and
20170 Versions.def.v.i.
20171 ($(common-objpfx)Versions.def.v.i): Target removed.
20172 ($(common-objpfx)Versions.def): New target.
20173 ($(common-objpfx)Versions.all): Depend on that rather that
20174 $(common-objpfx)Versions.def.v.
20175 * Versions.def: File removed.
20176
20177 * Makeconfig (+gccwarn): Add -Wundef.
20178 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
20179 a dl-sysdep.h breaking its contract.
20180 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
20181 * include/stackinfo.h: New file.
20182 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
20183 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
20184 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
20185 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
20186 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
20187 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
20188 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20189 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20190 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20191 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20192 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20193 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
20194 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20195 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20196 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20197
20198 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20199
20200 [BZ #16707]
20201 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
20202 implementation.
20203 * math/libm-test.inc (round_test_data): Add more tests.
20204
20205 [BZ #16706]
20206 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
20207 implementation.
20208 * math/libm-test.inc (nearbyint_test_data): Add more tests.
20209
20210 [BZ #16701]
20211 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
20212 implementation.
20213 * math/libm-test.inc (ceil_test_data): Add more tests.
20214
20215 * math/libm-test.inc (trunc_test_data): Add more tests related to
20216 BZ#16414.
20217
20218 2014-03-14 Roland McGrath <roland@hack.frob.com>
20219
20220 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
20221 with #if rather than #ifdef.
20222 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
20223
20224 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
20225
20226 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
20227 first. Disable AVX-512 GCC support if assembler doesn't support
20228 it.
20229 * sysdeps/x86_64/configure: Regenerated.
20230
20231 2014-03-13 Carlos O'Donell <carlos@redhat.com>
20232
20233 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
20234 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
20235 (__old_pthread_attr_setstack): Likewise.
20236 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
20237 [!_STACK_GROWS_DOWN]: Likewise.
20238
20239 2014-03-13 Mike Frysinger <vapier@gentoo.org>
20240
20241 * config.make.in (have-bash2): Delete.
20242 * configure.ac (libc_cv_have_bash2): Delete.
20243 * configure: Regenerate.
20244 * elf/Makefile (common-ldd-rewrite): Rename to ...
20245 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
20246 (sh-ldd-rewrite): Delete.
20247 (bash-ldd-rewrite): Delete.
20248 (have-bash2): Delete checks.
20249 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
20250 ldd-rewrite.
20251
20252 * config.make.in (have-ksh): Delete.
20253 (KSH): Delete.
20254 * configure.ac (libc_cv_have_ksh): Delete.
20255 * configure: Regenerate.
20256
20257 * elf/Makefile: Delete $(have-ksh) check.
20258 ($(objpfx)sotruss): Change KSH to BASH.
20259 * elf/sotruss.ksh: Rename to ...
20260 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
20261 function style to match POSIX. Drop ksh vim mode setting.
20262
20263 * manual/time.texi (Specifying the Time Zone with TZ): Change
20264 Tuesday to Thursday.
20265
20266 * debug/tst-longjmp_chk2.c: Update header comment.
20267 (stackoverflow_handler): Add comment. Call assert on pass value.
20268
20269 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
20270
20271 [BZ #16194]
20272 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
20273 (HAVE_AVX512_ASM_SUPPORT): Likewise.
20274 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
20275 (La_x86_64_vector): Add zmm.
20276 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
20277 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
20278 ($(objpfx)tst-audit10): New target.
20279 ($(objpfx)tst-audit10.out): Likewise.
20280 (tst-audit10-ENV): New.
20281 (AVX512-CFLAGS): Likewise.
20282 (CFLAGS-tst-audit10.c): Likewise.
20283 (CFLAGS-tst-auditmod10a.c): Likewise.
20284 (CFLAGS-tst-auditmod10b.c): Likewise.
20285 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
20286 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
20287 * sysdeps/x86_64/configure: Regenerated.
20288 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
20289 AVX-512 zmm register support.
20290 (_dl_x86_64_save_sse): Likewise.
20291 (_dl_x86_64_restore_sse): Likewise.
20292 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
20293 size vector registers.
20294 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
20295 (ZMM_SIZE): Likewise.
20296 * sysdeps/x86_64/tst-audit10.c: New file.
20297 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
20298 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
20299
20300 2014-03-13 Roland McGrath <roland@hack.frob.com>
20301
20302 * configure.ac (HAVE_EHDR_START): New check.
20303 * configure: Regenerated.
20304 * config.h.in (HAVE_EHDR_START): New #undef.
20305 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
20306 assuming the lowest-addressed segment maps the start of the file.
20307
20308 2014-03-13 Joseph Myers <joseph@codesourcery.com>
20309
20310 * INSTALL: Regenerated.
20311
20312 2014-03-13 Will Newton <will.newton@linaro.org>
20313
20314 * manual/setjmp.texi (System V contexts): Improve
20315 clarity and grammar of documentation.
20316
20317 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
20318
20319 [BZ #16381]
20320 * elf/Makefile (tests): Add tst-pie2.
20321 (tests-pie): Add tst-pie2.
20322 * elf/tst-pie2.c: New file.
20323 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
20324 for ET_EXEC.
20325 * elf/rtld.c (map_doit): Load executable as lt_executable.
20326 (dl_main): Likewise.
20327
20328 2014-03-12 Joseph Myers <joseph@codesourcery.com>
20329
20330 [BZ #16642]
20331 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20332 (__ASSUME_PSELECT): Undefine.
20333
20334 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20335
20336 [BZ #16689]
20337 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
20338 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
20339 static build.
20340 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
20341 selector for static builds.
20342
20343 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20344
20345 [BZ #16695]
20346 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
20347 key in the buffer.
20348
20349 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20350
20351 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
20352 IFUNC selector for static builds.
20353
20354 2014-03-11 Joseph Myers <joseph@codesourcery.com>
20355
20356 * sysdeps/mips/math_private.h [__mips_hard_float]
20357 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
20358 libc_feresetround_mips_ctx.
20359 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
20360 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
20361 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
20362
20363 [BZ #16677]
20364 * math/s_nextafter.c (__nextafter): Do not return value from
20365 overflowing computation.
20366 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
20367 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
20368 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
20369 Likewise.
20370 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
20371 Likewise.
20372 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
20373 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
20374
20375 2014-03-11 Roland McGrath <roland@hack.frob.com>
20376
20377 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
20378 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
20379 Move sfi_sp use from the load-multiple (that no longer sets sp) to
20380 the new mov targetting sp.
20381
20382 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20383
20384 [BZ #16683]
20385 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
20386 Define it for static builds as well.
20387 (NO_BZERO_IMPL): Likewise.
20388
20389 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20390
20391 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
20392 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
20393 multiarch strspn for PPC64.
20394 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
20395 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
20396 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20397 (__libc_ifunc_impl_list): Likewise.
20398 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
20399 multiarch optimizations
20400 * string/strspn.c (strspn): Using macro to redefine symbol name.
20401
20402 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20403 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20404
20405 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
20406 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
20407 multiarch strncat for PPC64.
20408 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
20409 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
20410 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20411 (__libc_ifunc_impl_list): Likewise.
20412 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
20413 multiarch optimizations
20414
20415 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20416
20417 [BZ #16639]
20418 * nscd/nscd.service: Make service type forking.
20419
20420 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20421
20422 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
20423 sign in non default rounding modes.
20424 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
20425
20426 2014-03-08 Joseph Myers <joseph@codesourcery.com>
20427
20428 * math/libm-test.inc (ALL_RM_TEST): New macro.
20429 (ceil_test): Use ALL_RM_TEST.
20430 (cimag_test): Likewise.
20431 (conj_test): Likewise.
20432 (copysign_test): Likewise.
20433 (cproj_test): Likewise.
20434 (creal_test): Likewise.
20435 (fabs_test): Likewise.
20436 (floor_test): Likewise.
20437 (fmax_test): Likewise.
20438 (fmin_test): Likewise.
20439 (fmod_test): Likewise.
20440 (fpclassify_test): Likewise.
20441 (frexp_test): Likewise.
20442 (ilogb_test): Likewise.
20443 (isfinite_test): Likewise.
20444 (finite_test): Likewise.
20445 (isgreater_test): Likewise.
20446 (isgreaterequal_test): Likewise.
20447 (isinf_test): Likewise.
20448 (isless_test): Likewise.
20449 (islessequal_test): Likewise.
20450 (islessgreater_test): Likewise.
20451 (isnan_test): Likewise.
20452 (isnormal_test): Likewise.
20453 (issignaling_test): Likewise.
20454 (isunordered_test): Likewise.
20455 (logb_test): Likewise.
20456 (logb_downward_test_data): Remove.
20457 (logb_test_downward): Likewise.
20458 (lround_test): Use ALL_RM_TEST.
20459 (llround_test): Likewise.
20460 (modf_test): Likewise.
20461 (nexttoward_test): Likewise.
20462 (remainder_test): Likewise.
20463 (drem_test): Likewise.
20464 (remainder_tonearest_test_data): Likewise.
20465 (remainder_test_tonearest): Likewise.
20466 (drem_test_tonearest): Likewise.
20467 (remainder_towardzero_test_data): Likewise.
20468 (remainder_test_towardzero): Likewise.
20469 (drem_test_towardzero): Likewise.
20470 (remainder_downward_test_data): Likewise.
20471 (remainder_test_downward): Likewise.
20472 (drem_test_downward): Likewise.
20473 (remainder_upward_test_data): Likewise.
20474 (remainder_test_upward): Likewise.
20475 (drem_test_upward): Likewise.
20476 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
20477 (round_test): Use ALL_RM_TEST.
20478 (signbit_test): Likewise.
20479 (trunc_test): Likewise.
20480 (significand_test): Likewise.
20481 (main): Don't call removed functions.
20482
20483 2014-03-07 Joseph Myers <joseph@codesourcery.com>
20484
20485 [BZ #16674]
20486 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
20487 || __USE_XOPEN2K8].
20488 (ILL_ILLOPN): Likewise.
20489 (ILL_ILLADR): Likewise.
20490 (ILL_ILLTRP): Likewise.
20491 (ILL_PRVOPC): Likewise.
20492 (ILL_PRVREG): Likewise.
20493 (ILL_COPROC): Likewise.
20494 (ILL_BADSTK): Likewise.
20495 (FPE_INTDIV): Likewise.
20496 (FPE_INTOVF): Likewise.
20497 (FPE_FLTDIV): Likewise.
20498 (FPE_FLTOVF): Likewise.
20499 (FPE_FLTUND): Likewise.
20500 (FPE_FLTRES): Likewise.
20501 (FPE_FLTINV): Likewise.
20502 (FPE_FLTSUB): Likewise.
20503 (SEGV_MAPERR): Likewise.
20504 (SEGV_ACCERR): Likewise.
20505 (BUS_ADRALN): Likewise.
20506 (BUS_ADRERR): Likewise.
20507 (BUS_OBJERR): Likewise.
20508 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20509 (TRAP_TRACE): Likewise.
20510 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20511 __USE_XOPEN2K8].
20512 (CLD_KILLED): Likewise.
20513 (CLD_DUMPED): Likewise.
20514 (CLD_TRAPPED): Likewise.
20515 (CLD_STOPPED): Likewise.
20516 (CLD_CONTINUED): Likewise.
20517 (POLL_IN): Likewise.
20518 (POLL_OUT): Likewise.
20519 (POLL_MSG): Likewise.
20520 (POLL_ERR): Likewise.
20521 (POLL_PRI): Likewise.
20522 (POLL_HUP): Likewise.
20523 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
20524 Likewise.
20525 (ILL_ILLOPN): Likewise.
20526 (ILL_ILLADR): Likewise.
20527 (ILL_ILLTRP): Likewise.
20528 (ILL_PRVOPC): Likewise.
20529 (ILL_PRVREG): Likewise.
20530 (ILL_COPROC): Likewise.
20531 (ILL_BADSTK): Likewise.
20532 (FPE_INTDIV): Likewise.
20533 (FPE_INTOVF): Likewise.
20534 (FPE_FLTDIV): Likewise.
20535 (FPE_FLTOVF): Likewise.
20536 (FPE_FLTUND): Likewise.
20537 (FPE_FLTRES): Likewise.
20538 (FPE_FLTINV): Likewise.
20539 (FPE_FLTSUB): Likewise.
20540 (SEGV_MAPERR): Likewise.
20541 (SEGV_ACCERR): Likewise.
20542 (BUS_ADRALN): Likewise.
20543 (BUS_ADRERR): Likewise.
20544 (BUS_OBJERR): Likewise.
20545 (BUS_MCEERR_AR): Likewise.
20546 (BUS_MCEERR_AO): Likewise.
20547 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20548 (TRAP_TRACE): Likewise.
20549 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20550 __USE_XOPEN2K8].
20551 (CLD_KILLED): Likewise.
20552 (CLD_DUMPED): Likewise.
20553 (CLD_TRAPPED): Likewise.
20554 (CLD_STOPPED): Likewise.
20555 (CLD_CONTINUED): Likewise.
20556 (POLL_IN): Likewise.
20557 (POLL_OUT): Likewise.
20558 (POLL_MSG): Likewise.
20559 (POLL_ERR): Likewise.
20560 (POLL_PRI): Likewise.
20561 (POLL_HUP): Likewise.
20562 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
20563 (ILL_ILLOPN): Likewise.
20564 (ILL_ILLADR): Likewise.
20565 (ILL_ILLTRP): Likewise.
20566 (ILL_PRVOPC): Likewise.
20567 (ILL_PRVREG): Likewise.
20568 (ILL_COPROC): Likewise.
20569 (ILL_BADSTK): Likewise.
20570 (FPE_INTDIV): Likewise.
20571 (FPE_INTOVF): Likewise.
20572 (FPE_FLTDIV): Likewise.
20573 (FPE_FLTOVF): Likewise.
20574 (FPE_FLTUND): Likewise.
20575 (FPE_FLTRES): Likewise.
20576 (FPE_FLTINV): Likewise.
20577 (FPE_FLTSUB): Likewise.
20578 (SEGV_MAPERR): Likewise.
20579 (SEGV_ACCERR): Likewise.
20580 (BUS_ADRALN): Likewise.
20581 (BUS_ADRERR): Likewise.
20582 (BUS_OBJERR): Likewise.
20583 (BUS_MCEERR_AR): Likewise.
20584 (BUS_MCEERR_AO): Likewise.
20585 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20586 (TRAP_TRACE): Likewise.
20587 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20588 __USE_XOPEN2K8].
20589 (CLD_KILLED): Likewise.
20590 (CLD_DUMPED): Likewise.
20591 (CLD_TRAPPED): Likewise.
20592 (CLD_STOPPED): Likewise.
20593 (CLD_CONTINUED): Likewise.
20594 (POLL_IN): Likewise.
20595 (POLL_OUT): Likewise.
20596 (POLL_MSG): Likewise.
20597 (POLL_ERR): Likewise.
20598 (POLL_PRI): Likewise.
20599 (POLL_HUP): Likewise.
20600 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
20601 Likewise.
20602 (ILL_ILLOPN): Likewise.
20603 (ILL_ILLADR): Likewise.
20604 (ILL_ILLTRP): Likewise.
20605 (ILL_PRVOPC): Likewise.
20606 (ILL_PRVREG): Likewise.
20607 (ILL_COPROC): Likewise.
20608 (ILL_BADSTK): Likewise.
20609 (ILL_BADIADDR): Likewise.
20610 (ILL_BREAK): Likewise.
20611 (FPE_INTDIV): Likewise.
20612 (FPE_INTOVF): Likewise.
20613 (FPE_FLTDIV): Likewise.
20614 (FPE_FLTOVF): Likewise.
20615 (FPE_FLTUND): Likewise.
20616 (FPE_FLTRES): Likewise.
20617 (FPE_FLTINV): Likewise.
20618 (FPE_FLTSUB): Likewise.
20619 (FPE_DECOVF): Likewise.
20620 (FPE_DECDIV): Likewise.
20621 (FPE_DECERR): Likewise.
20622 (FPE_INVASC): Likewise.
20623 (FPE_INVDEC): Likewise.
20624 (SEGV_MAPERR): Likewise.
20625 (SEGV_ACCERR): Likewise.
20626 (SEGV_PSTKOVF): Likewise.
20627 (BUS_ADRALN): Likewise.
20628 (BUS_ADRERR): Likewise.
20629 (BUS_OBJERR): Likewise.
20630 (BUS_MCEERR_AR): Likewise.
20631 (BUS_MCEERR_AO): Likewise.
20632 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20633 (TRAP_TRACE): Likewise.
20634 (TRAP_BRANCH): Likewise.
20635 (TRAP_HWBKPT): Likewise.
20636 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20637 __USE_XOPEN2K8].
20638 (CLD_KILLED): Likewise.
20639 (CLD_DUMPED): Likewise.
20640 (CLD_TRAPPED): Likewise.
20641 (CLD_STOPPED): Likewise.
20642 (CLD_CONTINUED): Likewise.
20643 (POLL_IN): Likewise.
20644 (POLL_OUT): Likewise.
20645 (POLL_MSG): Likewise.
20646 (POLL_ERR): Likewise.
20647 (POLL_PRI): Likewise.
20648 (POLL_HUP): Likewise.
20649 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
20650 (ILL_ILLOPN): Likewise.
20651 (ILL_ILLADR): Likewise.
20652 (ILL_ILLTRP): Likewise.
20653 (ILL_PRVOPC): Likewise.
20654 (ILL_PRVREG): Likewise.
20655 (ILL_COPROC): Likewise.
20656 (ILL_BADSTK): Likewise.
20657 (FPE_INTDIV): Likewise.
20658 (FPE_INTOVF): Likewise.
20659 (FPE_FLTDIV): Likewise.
20660 (FPE_FLTOVF): Likewise.
20661 (FPE_FLTUND): Likewise.
20662 (FPE_FLTRES): Likewise.
20663 (FPE_FLTINV): Likewise.
20664 (FPE_FLTSUB): Likewise.
20665 (SEGV_MAPERR): Likewise.
20666 (SEGV_ACCERR): Likewise.
20667 (BUS_ADRALN): Likewise.
20668 (BUS_ADRERR): Likewise.
20669 (BUS_OBJERR): Likewise.
20670 (BUS_MCEERR_AR): Likewise.
20671 (BUS_MCEERR_AO): Likewise.
20672 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20673 (TRAP_TRACE): Likewise.
20674 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20675 __USE_XOPEN2K8].
20676 (CLD_KILLED): Likewise.
20677 (CLD_DUMPED): Likewise.
20678 (CLD_TRAPPED): Likewise.
20679 (CLD_STOPPED): Likewise.
20680 (CLD_CONTINUED): Likewise.
20681 (POLL_IN): Likewise.
20682 (POLL_OUT): Likewise.
20683 (POLL_MSG): Likewise.
20684 (POLL_ERR): Likewise.
20685 (POLL_PRI): Likewise.
20686 (POLL_HUP): Likewise.
20687 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
20688 (ILL_ILLOPN): Likewise.
20689 (ILL_ILLADR): Likewise.
20690 (ILL_ILLTRP): Likewise.
20691 (ILL_PRVOPC): Likewise.
20692 (ILL_PRVREG): Likewise.
20693 (ILL_COPROC): Likewise.
20694 (ILL_BADSTK): Likewise.
20695 (FPE_INTDIV): Likewise.
20696 (FPE_INTOVF): Likewise.
20697 (FPE_FLTDIV): Likewise.
20698 (FPE_FLTOVF): Likewise.
20699 (FPE_FLTUND): Likewise.
20700 (FPE_FLTRES): Likewise.
20701 (FPE_FLTINV): Likewise.
20702 (FPE_FLTSUB): Likewise.
20703 (SEGV_MAPERR): Likewise.
20704 (SEGV_ACCERR): Likewise.
20705 (BUS_ADRALN): Likewise.
20706 (BUS_ADRERR): Likewise.
20707 (BUS_OBJERR): Likewise.
20708 (BUS_MCEERR_AR): Likewise.
20709 (BUS_MCEERR_AO): Likewise.
20710 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20711 (TRAP_TRACE): Likewise.
20712 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20713 __USE_XOPEN2K8].
20714 (CLD_KILLED): Likewise.
20715 (CLD_DUMPED): Likewise.
20716 (CLD_TRAPPED): Likewise.
20717 (CLD_STOPPED): Likewise.
20718 (CLD_CONTINUED): Likewise.
20719 (POLL_IN): Likewise.
20720 (POLL_OUT): Likewise.
20721 (POLL_MSG): Likewise.
20722 (POLL_ERR): Likewise.
20723 (POLL_PRI): Likewise.
20724 (POLL_HUP): Likewise.
20725 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
20726 (ILL_ILLOPN): Likewise.
20727 (ILL_ILLADR): Likewise.
20728 (ILL_ILLTRP): Likewise.
20729 (ILL_PRVOPC): Likewise.
20730 (ILL_PRVREG): Likewise.
20731 (ILL_COPROC): Likewise.
20732 (ILL_BADSTK): Likewise.
20733 (FPE_INTDIV): Likewise.
20734 (FPE_INTOVF): Likewise.
20735 (FPE_FLTDIV): Likewise.
20736 (FPE_FLTOVF): Likewise.
20737 (FPE_FLTUND): Likewise.
20738 (FPE_FLTRES): Likewise.
20739 (FPE_FLTINV): Likewise.
20740 (FPE_FLTSUB): Likewise.
20741 (SEGV_MAPERR): Likewise.
20742 (SEGV_ACCERR): Likewise.
20743 (BUS_ADRALN): Likewise.
20744 (BUS_ADRERR): Likewise.
20745 (BUS_OBJERR): Likewise.
20746 (BUS_MCEERR_AR): Likewise.
20747 (BUS_MCEERR_AO): Likewise.
20748 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20749 (TRAP_TRACE): Likewise.
20750 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20751 __USE_XOPEN2K8].
20752 (CLD_KILLED): Likewise.
20753 (CLD_DUMPED): Likewise.
20754 (CLD_TRAPPED): Likewise.
20755 (CLD_STOPPED): Likewise.
20756 (CLD_CONTINUED): Likewise.
20757 (POLL_IN): Likewise.
20758 (POLL_OUT): Likewise.
20759 (POLL_MSG): Likewise.
20760 (POLL_ERR): Likewise.
20761 (POLL_PRI): Likewise.
20762 (POLL_HUP): Likewise.
20763 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
20764 (ILL_ILLOPN): Likewise.
20765 (ILL_ILLADR): Likewise.
20766 (ILL_ILLTRP): Likewise.
20767 (ILL_PRVOPC): Likewise.
20768 (ILL_PRVREG): Likewise.
20769 (ILL_COPROC): Likewise.
20770 (ILL_BADSTK): Likewise.
20771 (ILL_DBLFLT): Likewise.
20772 (ILL_HARDWALL): Likewise.
20773 (FPE_INTDIV): Likewise.
20774 (FPE_INTOVF): Likewise.
20775 (FPE_FLTDIV): Likewise.
20776 (FPE_FLTOVF): Likewise.
20777 (FPE_FLTUND): Likewise.
20778 (FPE_FLTRES): Likewise.
20779 (FPE_FLTINV): Likewise.
20780 (FPE_FLTSUB): Likewise.
20781 (SEGV_MAPERR): Likewise.
20782 (SEGV_ACCERR): Likewise.
20783 (BUS_ADRALN): Likewise.
20784 (BUS_ADRERR): Likewise.
20785 (BUS_OBJERR): Likewise.
20786 (BUS_MCEERR_AR): Likewise.
20787 (BUS_MCEERR_AO): Likewise.
20788 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20789 (TRAP_TRACE): Likewise.
20790 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20791 __USE_XOPEN2K8].
20792 (CLD_KILLED): Likewise.
20793 (CLD_DUMPED): Likewise.
20794 (CLD_TRAPPED): Likewise.
20795 (CLD_STOPPED): Likewise.
20796 (CLD_CONTINUED): Likewise.
20797 (POLL_IN): Likewise.
20798 (POLL_OUT): Likewise.
20799 (POLL_MSG): Likewise.
20800 (POLL_ERR): Likewise.
20801 (POLL_PRI): Likewise.
20802 (POLL_HUP): Likewise.
20803 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
20804 (ILL_ILLOPN): Likewise.
20805 (ILL_ILLADR): Likewise.
20806 (ILL_ILLTRP): Likewise.
20807 (ILL_PRVOPC): Likewise.
20808 (ILL_PRVREG): Likewise.
20809 (ILL_COPROC): Likewise.
20810 (ILL_BADSTK): Likewise.
20811 (FPE_INTDIV): Likewise.
20812 (FPE_INTOVF): Likewise.
20813 (FPE_FLTDIV): Likewise.
20814 (FPE_FLTOVF): Likewise.
20815 (FPE_FLTUND): Likewise.
20816 (FPE_FLTRES): Likewise.
20817 (FPE_FLTINV): Likewise.
20818 (FPE_FLTSUB): Likewise.
20819 (SEGV_MAPERR): Likewise.
20820 (SEGV_ACCERR): Likewise.
20821 (BUS_ADRALN): Likewise.
20822 (BUS_ADRERR): Likewise.
20823 (BUS_OBJERR): Likewise.
20824 (BUS_MCEERR_AR): Likewise.
20825 (BUS_MCEERR_AO): Likewise.
20826 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20827 (TRAP_TRACE): Likewise.
20828 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20829 __USE_XOPEN2K8].
20830 (CLD_KILLED): Likewise.
20831 (CLD_DUMPED): Likewise.
20832 (CLD_TRAPPED): Likewise.
20833 (CLD_STOPPED): Likewise.
20834 (CLD_CONTINUED): Likewise.
20835 (POLL_IN): Likewise.
20836 (POLL_OUT): Likewise.
20837 (POLL_MSG): Likewise.
20838 (POLL_ERR): Likewise.
20839 (POLL_PRI): Likewise.
20840 (POLL_HUP): Likewise.
20841 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
20842 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20843
20844 [BZ #16670]
20845 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
20846 before #include of <time.h>.
20847 [!__USE_XOPEN2K] (__need_timespec): Likewise.
20848 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
20849 (test-xfail-UNIX98/sched.h/conform): Likewise.
20850
20851 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
20852
20853 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
20854 error absence of trapping exception support.
20855 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
20856
20857 2014-03-07 Joseph Myers <joseph@codesourcery.com>
20858
20859 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
20860 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
20861 * timezone/Makefile (testdata): Move definition above include of
20862 Rules.
20863 (test-zones): New variable.
20864 (tests-special): Add zone files.
20865 (build-testdata): Use $(evaluate-test).
20866
20867 * elf/Makefile (tests-special): Rename tests to end with .out.
20868 ($(objpfx)noload-mem): Likewise.
20869 ($(objpfx)tst-leaks1-mem): Likewise.
20870 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
20871 * iconv/Makefile (xtests-special): Change test-iconvconfig to
20872 $(objpfx)test-iconvconfig.out.
20873 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
20874 set -e inside subshell and redirect output to file.
20875 * iconvdata/Makefile (generated): Rename tests to end with .out.
20876 Correct type.
20877 (tests-special): Rename tests to end with .out.
20878 ($(objpfx)mtrace-tst-loading): Likewise.
20879 * intl/Makefile (generated): Likewise.
20880 (tests-special): Likewise.
20881 ($(objpfx)mtrace-tst-gettext): Likewise.
20882 * misc/Makefile (generated): Likewise.
20883 (tests-special): Likewise.
20884 ($(objpfx)tst-error1-mem): Likewise.
20885 * nptl/Makefile (tests-special): Likewise.
20886 ($(objpfx)tst-stack3-mem): Likewise.
20887 (generated): Likewise.
20888 * posix/Makefile (generated): Likewise.
20889 (tests-special): Likewise.
20890 (xtests-special): Likewise.
20891 ($(objpfx)tst-fnmatch-mem): Likewise.
20892 ($(objpfx)bug-regex2-mem): Likewise.
20893 ($(objpfx)bug-regex14-mem): Likewise.
20894 ($(objpfx)bug-regex21-mem): Likewise.
20895 ($(objpfx)bug-regex31-mem): Likewise.
20896 ($(objpfx)tst-vfork3-mem): Likewise.
20897 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
20898 ($(objpfx)tst-pcre-mem): Likewise.
20899 ($(objpfx)tst-boost-mem): Likewise.
20900 ($(objpfx)bug-ga2-mem): Likewise.
20901 ($(objpfx)bug-glob2-mem): Likewise.
20902 * resolv/Makefile (generate): Likewise.
20903 (tests-special): Likewise.
20904 (xtests-special): Likewise.
20905 (generated): Likewise.
20906 ($(objpfx)mtrace-tst-leaks): Likewise.
20907 ($(objpfx)mtrace-tst-leaks2): Likewise.
20908
20909 * scripts/merge-test-results.sh: New file.
20910 * Makefile (tests-special-notdir): New variable.
20911 (tests): Run merge-test-results.sh.
20912 (xtests): Likewise.
20913 * Rules (tests-special-notdir): New variable.
20914 (xtests-special-notdir): Likewise.
20915 (tests): Run merge-test-results.sh
20916 (xtests): Likewise.
20917
20918 * Makeconfig (test-xfail-name): New variable.
20919 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
20920 compute variable name for expected failures.
20921 * conform/Makefile (conformtest-headers-data): New variable.
20922 (conformtest-standards): Likewise.
20923 (conformtest-headers-ISO): Likewise.
20924 (conformtest-headers-ISO99): Likewise.
20925 (conformtest-headers-ISO11): Likewise.
20926 (conformtest-headers-POSIX): Likewise.
20927 (conformtest-headers-XPG3): Likewise.
20928 (conformtest-headers-XPG4): Likewise.
20929 (conformtest-headers-UNIX98): Likewise.
20930 (conformtest-headers-XOPEN2K): Likewise.
20931 (conformtest-headers-POSIX2008): Likewise.
20932 (conformtest-headers-XOPEN2K8): Likewise.
20933 (conformtest-header-list-base): Likewise.
20934 (conformtest-header-list-tests): Likewise.
20935 (conformtest-header-base): Likewise.
20936 (conformtest-header-tests): Likewise.
20937 (tests-special): Add $(conformtest-header-list-tests). If
20938 [$(fast-check) && !$(cross-compiling)], add
20939 $(conformtest-header-tests) instead of
20940 $(objpfx)run-conformtest.out.
20941 (generated): Add $(conformtest-header-list-base). If
20942 [$(fast-check) && !$(cross-compiling)], add
20943 $(conformtest-header-base). Remove previous setting.
20944 ($(conformtest-header-list-tests)): New target.
20945 (test-xfail-run-conformtest): Remove variable.
20946 ($(objpfx)run-conformtest.out): Remove target.
20947 (test-xfail-ISO11/complex.h/conform): New variable.
20948 (test-xfail-ISO11/stdalign.h/conform): Likewise.
20949 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
20950 (test-xfail-XPG3/varargs.h/conform): Likewise.
20951 (test-xfail-XPG4/varargs.h/conform): Likewise.
20952 (test-xfail-UNIX98/varargs.h/conform): Likewise.
20953 (test-xfail-XPG4/ndbm.h/conform): Likewise.
20954 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
20955 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
20956 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
20957 (test-xfail-XPG3/fcntl.h/conform): Likewise.
20958 (test-xfail-XPG3/ftw.h/conform): Likewise.
20959 (test-xfail-XPG3/grp.h/conform): Likewise.
20960 (test-xfail-XPG3/langinfo.h/conform): Likewise.
20961 (test-xfail-XPG3/limits.h/conform): Likewise.
20962 (test-xfail-XPG3/pwd.h/conform): Likewise.
20963 (test-xfail-XPG3/search.h/conform): Likewise.
20964 (test-xfail-XPG3/signal.h/conform): Likewise.
20965 (test-xfail-XPG3/stdio.h/conform): Likewise.
20966 (test-xfail-XPG3/stdlib.h/conform): Likewise.
20967 (test-xfail-XPG3/string.h/conform): Likewise.
20968 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
20969 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
20970 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
20971 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
20972 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
20973 (test-xfail-XPG3/sys/types.h/conform): Likewise.
20974 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
20975 (test-xfail-XPG3/termios.h/conform): Likewise.
20976 (test-xfail-XPG3/time.h/conform): Likewise.
20977 (test-xfail-XPG3/unistd.h/conform): Likewise.
20978 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
20979 (test-xfail-XPG4/fcntl.h/conform): Likewise.
20980 (test-xfail-XPG4/langinfo.h/conform): Likewise.
20981 (test-xfail-XPG4/netdb.h/conform): Likewise.
20982 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
20983 (test-xfail-XPG4/signal.h/conform): Likewise.
20984 (test-xfail-XPG4/stdio.h/conform): Likewise.
20985 (test-xfail-XPG4/stdlib.h/conform): Likewise.
20986 (test-xfail-XPG4/stropts.h/conform): Likewise.
20987 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
20988 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
20989 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
20990 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
20991 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
20992 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
20993 (test-xfail-XPG4/sys/time.h/conform): Likewise.
20994 (test-xfail-XPG4/sys/types.h/conform): Likewise.
20995 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
20996 (test-xfail-XPG4/termios.h/conform): Likewise.
20997 (test-xfail-XPG4/ucontext.h/conform): Likewise.
20998 (test-xfail-XPG4/unistd.h/conform): Likewise.
20999 (test-xfail-XPG4/utmpx.h/conform): Likewise.
21000 (test-xfail-POSIX/sched.h/conform): Likewise.
21001 (test-xfail-POSIX/signal.h/conform): Likewise.
21002 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21003 (test-xfail-POSIX/tar.h/conform): Likewise.
21004 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
21005 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
21006 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
21007 (test-xfail-UNIX98/netdb.h/conform): Likewise.
21008 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
21009 (test-xfail-UNIX98/sched.h/conform): Likewise.
21010 (test-xfail-UNIX98/signal.h/conform): Likewise.
21011 (test-xfail-UNIX98/stdio.h/conform): Likewise.
21012 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21013 (test-xfail-UNIX98/stropts.h/conform): Likewise.
21014 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
21015 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
21016 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
21017 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
21018 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
21019 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
21020 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
21021 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
21022 (test-xfail-UNIX98/unistd.h/conform): Likewise.
21023 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
21024 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
21025 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
21026 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
21027 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
21028 (test-xfail-XOPEN2K/math.h/conform): Likewise.
21029 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
21030 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
21031 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
21032 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
21033 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
21034 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
21035 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
21036 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
21037 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
21038 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
21039 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
21040 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
21041 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
21042 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
21043 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
21044 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
21045 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
21046 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
21047 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
21048 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
21049 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
21050 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
21051 (test-xfail-POSIX2008/signal.h/conform): Likewise.
21052 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
21053 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
21054 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
21055 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
21056 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
21057 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
21058 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
21059 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
21060 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
21061 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
21062 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
21063 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
21064 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
21065 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
21066 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
21067 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
21068 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
21069 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
21070 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
21071 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
21072 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
21073 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
21074 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
21075 (conformtest-cc-flags): Likewise.
21076 ($(conformtest-header-tests): New target.
21077 * conform/check-header-lists.sh: New file.
21078 * conform/run-conformtest.sh: Remove.
21079
21080 * conform/conformtest.pl: Allow ' and \ in values given for
21081 constants.
21082 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
21083 inclusion.
21084 [POSIX] (sys/types.h): Likewise.
21085 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
21086 inclusion.
21087 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
21088 inclusion.
21089 * conform/data/signal.h-data (SIGIO): Remove expectation.
21090 [XPG3] (SIGBUS): Do not expect.
21091 [POSIX || XPG3] (SIGPOLL): Likewise.
21092 [POSIX || XPG3] (SIGPROF): Likewise.
21093 [POSIX || XPG3] (SIGSYS): Likewise.
21094 [XPG3] (SIGTRAP): Likewise.
21095 [POSIX || XPG3] (SIGURG): Likewise.
21096 [POSIX || XPG3] (SIGVTALRM): Likewise.
21097 [POSIX || XPG3] (SIGXCPU): Likewise.
21098 [POSIX || XPG3] (SIGXFSZ): Likewise.
21099 [POSIX] (SA_SIGINFO): Expect.
21100 [XPG3] (siginfo_t): Do not expect type or contents.
21101 [POSIX] (si_pid): Do not expect element.
21102 [POSIX] (si_uid): Likewise.
21103 [POSIX] (si_addr): Likewise.
21104 [POSIX] (si_status): Likewise.
21105 [POSIX] (si_band): Likewise.
21106 [XPG4] (si_value): Likewise.
21107 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
21108 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
21109 [POSIX || XPG3] (ILL_ILLADR): Likewise.
21110 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
21111 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
21112 [POSIX || XPG3] (ILL_PRVREG): Likewise.
21113 [POSIX || XPG3] (ILL_COPROC): Likewise.
21114 [POSIX || XPG3] (ILL_BADSTK): Likewise.
21115 [POSIX || XPG3] (FPE_INTDIV): Likewise.
21116 [POSIX || XPG3] (FPE_INTOVF): Likewise.
21117 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
21118 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
21119 [POSIX || XPG3] (FPE_FLTUND): Likewise.
21120 [POSIX || XPG3] (FPE_FLTRES): Likewise.
21121 [POSIX || XPG3] (FPE_FLTINV): Likewise.
21122 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
21123 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
21124 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
21125 [POSIX || XPG3] (BUS_ADRALN): Likewise.
21126 [POSIX || XPG3] (BUS_ADRERR): Likewise.
21127 [POSIX || XPG3] (BUS_OBJERR): Likewise.
21128 [POSIX || XPG3] (CLD_EXITED): Likewise.
21129 [POSIX || XPG3] (CLD_KILLED): Likewise.
21130 [POSIX || XPG3] (CLD_DUMPED): Likewise.
21131 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
21132 [POSIX || XPG3] (CLD_STOPPED): Likewise.
21133 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
21134 [POSIX || XPG3] (POLL_IN): Likewise.
21135 [POSIX || XPG3] (POLL_OUT): Likewise.
21136 [POSIX || XPG3] (POLL_MSG): Likewise.
21137 [POSIX || XPG3] (POLL_ERR): Likewise.
21138 [POSIX || XPG3] (POLL_PRI): Likewise.
21139 [POSIX || XPG3] (POLL_HUP): Likewise.
21140 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
21141 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
21142 (SIG*): Do not allow.
21143 [XPG3] (si_*): Likewise.
21144 [XPG3] (SI_*): Likewise.
21145 [XPG3 || XPG4] (sigev_*): Likewise.
21146 [XPG3 || XPG4] (SIGEV_*): Likewise.
21147 [XPG3 || XPG4] (sival_*): Likewise.
21148 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
21149 [POSIX || XPG3] (BUS_*): Likewise.
21150 [POSIX || XPG3] (CLD_*): Likewise.
21151 [POSIX || XPG3] (FPE_*): Likewise.
21152 [POSIX || XPG3] (ILL_*): Likewise.
21153 [POSIX || XPG3] (POLL_*): Likewise.
21154 [POSIX || XPG3] (SEGV_*): Likewise.
21155 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
21156 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
21157 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
21158 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
21159 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
21160 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
21161 Specify type and value.
21162 (TVERSLEN): Likewise.
21163 (REGTYPE): Likewise.
21164 (AREGTYPE): Likewise.
21165 (LNKTYPE): Likewise.
21166 (SYMTYPE): Likewise.
21167 (CHRTYPE): Likewise.
21168 (BLKTYPE): Likewise.
21169 (DIRTYPE): Likewise.
21170 (FIFOTYPE): Likewise.
21171 (CONTTYPE): Likewise.
21172 (TSUID): Likewise.
21173 (TSGID): Likewise.
21174 (TSVTX): Likewise.
21175 (TUREAD): Likewise.
21176 (TUWRITE): Likewise.
21177 (TUEXEC): Likewise.
21178 (TGREAD): Likewise.
21179 (TGWRITE): Likewise.
21180 (TGEXEC): Likewise.
21181 (TOREAD): Likewise.
21182 (TOWRITE): Likewise.
21183 (TOEXEC): Likewise.
21184 [POSIX] (TSVTX): Expect constant.
21185
21186 2014-03-06 Joseph Myers <joseph@codesourcery.com>
21187
21188 * Makefile (tests): Change dependencies to ....
21189 (tests-special): ... additions to this variable.
21190 (tests): Depend on $(tests-special).
21191 * Makerules (check-abi-list): New variable.
21192 (check-abi): Depend on $(check-abi-list).
21193 [$(subdir) = elf] (tests-special): Add
21194 $(objpfx)check-abi-libc.out.
21195 [$(build-shared) = yes && subdir] (tests-special): Add
21196 $(check-abi-list).
21197 [$(build-shared) = yes && subdir] (tests): Do not depend on
21198 check-abi.
21199 * Rules (tests): Depend on $(tests-special).
21200 (xtests): Depend on $(xtests-special).
21201 * catgets/Makefile (tests): Change dependencies to ....
21202 (tests-special): ... additions to this variable.
21203 * conform/Makefile (tests): Change dependencies to ....
21204 (tests-special): ... additions to this variable.
21205 * elf/Makefile (tests): Change dependencies to ....
21206 (tests-special): ... additions to this variable.
21207 * grp/Makefile (tests): Change dependencies to ....
21208 (tests-special): ... additions to this variable.
21209 * iconv/Makefile (xtests): Change dependencies to ....
21210 (xtests-special): ... additions to this variable.
21211 * iconvdata/Makefile (tests): Change dependencies to ....
21212 (tests-special): ... additions to this variable.
21213 * intl/Makefile (tests): Change dependencies to ....
21214 (tests-special): ... additions to this variable. Also add
21215 $(objpfx)tst-gettext.out.
21216 * io/Makefile (tests): Change dependencies to ....
21217 (tests-special): ... additions to this variable.
21218 * libio/Makefile (tests): Change dependencies to ....
21219 (tests-special): ... additions to this variable.
21220 * malloc/Makefile (tests): Change dependencies to ....
21221 (tests-special): ... additions to this variable.
21222 * misc/Makefile (tests): Change dependencies to ....
21223 (tests-special): ... additions to this variable.
21224 * nptl/Makefile (tests): Change dependencies to ....
21225 (tests-special): ... additions to this variable.
21226 * nptl_db/Makefile (tests): Change dependencies to ....
21227 (tests-special): ... additions to this variable.
21228 * posix/Makefile (tests): Change dependencies to ....
21229 (tests-special): ... additions to this variable.
21230 (xtests): Change dependencies to ....
21231 (xtests-special): ... additions to this variable.
21232 * resolv/Makefile (tests): Change dependencies to ....
21233 (tests-special): ... additions to this variable.
21234 (xtests): Change dependencies to ....
21235 (xtests-special): ... additions to this variable.
21236 * stdio-common/Makefile (tests): Change dependencies to ....
21237 (tests-special): ... additions to this variable.
21238 (do-tst-unbputc): Remove target.
21239 (do-tst-printf): Likewise.
21240 * stdlib/Makefile (tests): Change dependencies to ....
21241 (tests-special): ... additions to this variable.
21242 * string/Makefile (tests): Change dependencies to ....
21243 (tests-special): ... additions to this variable.
21244 * sysdeps/x86/Makefile (tests): Change dependencies to ....
21245 (tests-special): ... additions to this variable.
21246
21247 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
21248 whole file.
21249 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
21250 whole file.
21251 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
21252 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
21253
21254 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
21255 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
21256 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
21257 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
21258 * conform/data/libgen.h-data [XPG3]: Likewise.
21259 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
21260 * conform/data/ndbm.h-data [XPG3]: Likewise.
21261 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21262 * conform/data/netdb.h-data [XPG3]: Likewise.
21263 * conform/data/netinet/in.h-data [XPG3]: Likewise.
21264 * conform/data/poll.h-data [XPG3]: Likewise.
21265 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21266 * conform/data/strings.h-data [XPG3]: Likewise.
21267 * conform/data/stropts.h-data [XPG3]: Likewise.
21268 * conform/data/sys/mman.h-data [XPG3]: Likewise.
21269 * conform/data/sys/resource.h-data [XPG3]: Likewise.
21270 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
21271 Likewise.
21272 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
21273 * conform/data/sys/time.h-data [XPG3]: Likewise.
21274 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
21275 * conform/data/sys/uio.h-data [XPG3]: Likewise.
21276 * conform/data/sys/un.h-data [XPG3]: Likewise.
21277 * conform/data/syslog.h-data [XPG3]: Likewise.
21278 * conform/data/ucontext.h-data [XPG3]: Likewise.
21279 * conform/data/utmpx.h-data [XPG3]: Likewise.
21280 * conform/data/varargs.h-data [UNIX98]: Enable file.
21281
21282 * manual/Makefile (INSTALL_INFO): Remove variable setting.
21283
21284 * math/libm-test.inc (struct test_f_f_data): Move expected results
21285 into structure for each rounding mode.
21286 (struct test_ff_f_data): Likewise.
21287 (struct test_ff_f_data_nexttoward): Likewise.
21288 (struct test_fi_f_data): Likewise.
21289 (struct test_fl_f_data): Likewise.
21290 (struct test_if_f_data): Likewise.
21291 (struct test_fff_f_data): Likewise.
21292 (struct test_c_f_data): Likewise.
21293 (struct test_f_f1_data): Likewise.
21294 (struct test_fF_f1_data): Likewise.
21295 (struct test_ffI_f1_data): Likewise.
21296 (struct test_c_c_data): Likewise.
21297 (struct test_cc_c_data): Likewise.
21298 (struct test_f_i_data): Likewise.
21299 (struct test_ff_i_data): Likewise.
21300 (struct test_f_l_data): Likewise.
21301 (struct test_f_L_data): Likewise.
21302 (struct test_fFF_11_data): Likewise.
21303 (RM_): New macro.
21304 (RM_FE_DOWNWARD): Likewise.
21305 (RM_FE_TONEAREST): Likewise.
21306 (RM_FE_TOWARDZERO): Likewise.
21307 (RM_FE_UPWARD): Likewise.
21308 (RUN_TEST_LOOP_f_f): Update references to expected results.
21309 (RUN_TEST_LOOP_2_f): Likewise.
21310 (RUN_TEST_LOOP_fff_f): Likewise.
21311 (RUN_TEST_LOOP_c_f): Likewise.
21312 (RUN_TEST_LOOP_f_f1): Likewise.
21313 (RUN_TEST_LOOP_fF_f1): Likewise.
21314 (RUN_TEST_LOOP_fI_f1): Likewise.
21315 (RUN_TEST_LOOP_ffI_f1): Likewise.
21316 (RUN_TEST_LOOP_c_c): Likewise.
21317 (RUN_TEST_LOOP_cc_c): Likewise.
21318 (RUN_TEST_LOOP_f_i): Likewise.
21319 (RUN_TEST_LOOP_f_i_tg): Likewise.
21320 (RUN_TEST_LOOP_ff_i_tg): Likewise.
21321 (RUN_TEST_LOOP_f_b): Likewise.
21322 (RUN_TEST_LOOP_f_b_tg): Likewise.
21323 (RUN_TEST_LOOP_f_l): Likewise.
21324 (RUN_TEST_LOOP_f_L): Likewise.
21325 (RUN_TEST_LOOP_fFF_11): Likewise.
21326 * math/gen-libm-test.pl (parse_args): Output four copies of
21327 expected results for each test.
21328
21329 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21330 (__ASSUME_UTIMES): Remove.
21331 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21332 (__ASSUME_UTIMES): Likewise.
21333
21334 * math/gen-auto-libm-tests.c: Update comment on output format.
21335 (output_for_one_input_case): Generate before-rounding and
21336 after-rounding information as conditions on output flags not
21337 floating-point format.
21338 * math/auto-libm-test-out: Regenerated.
21339 * math/gen-libm-test.pl (cond_value): New function.
21340 (or_cond_value): Use cond_value.
21341 (generate_testfile): Handle conditional exceptions.
21342
21343 2014-03-05 Joseph Myers <joseph@codesourcery.com>
21344
21345 * math/libm-test.inc (max_valid_error): New variable.
21346 (init_max_error): Take new argument specifying whether function
21347 results are exactly determined. Set max_valid_error and bound
21348 other variables for errors based on this argument.
21349 (set_max_error): Do not record results above max_valid_error.
21350 (check_float_internal): Only accept errors of up to 0.5ulps if
21351 also at most max_valid_error.
21352 (START): Take new argument EXACT and pass it to init_max_error.
21353 (acos_test): Update call to START.
21354 (acos_test_tonearest): Likewise.
21355 (acos_test_towardzero): Likewise.
21356 (acos_test_downward): Likewise.
21357 (acos_test_upward): Likewise.
21358 (acosh_test): Likewise.
21359 (asin_test): Likewise.
21360 (asin_test_tonearest): Likewise.
21361 (asin_test_towardzero): Likewise.
21362 (asin_test_downward): Likewise.
21363 (asin_test_upward): Likewise.
21364 (asinh_test): Likewise.
21365 (atan_test): Likewise.
21366 (atanh_test): Likewise.
21367 (atan2_test): Likewise.
21368 (cabs_test): Likewise.
21369 (cacos_test): Likewise.
21370 (cacosh_test): Likewise.
21371 (carg_test): Likewise.
21372 (casin_test): Likewise.
21373 (casinh_test): Likewise.
21374 (catan_test): Likewise.
21375 (catanh_test): Likewise.
21376 (cbrt_test): Likewise.
21377 (ccos_test): Likewise.
21378 (ccosh_test): Likewise.
21379 (ceil_test): Likewise.
21380 (cexp_test): Likewise.
21381 (cimag_test): Likewise.
21382 (clog_test): Likewise.
21383 (clog10_test): Likewise.
21384 (conj_test): Likewise.
21385 (copysign_test): Likewise.
21386 (cos_test): Likewise.
21387 (cos_test_tonearest): Likewise.
21388 (cos_test_towardzero): Likewise.
21389 (cos_test_downward): Likewise.
21390 (cos_test_upward): Likewise.
21391 (cosh_test): Likewise.
21392 (cosh_test_tonearest): Likewise.
21393 (cosh_test_towardzero): Likewise.
21394 (cosh_test_downward): Likewise.
21395 (cosh_test_upward): Likewise.
21396 (cpow_test): Likewise.
21397 (cproj_test): Likewise.
21398 (creal_test): Likewise.
21399 (csin_test): Likewise.
21400 (csinh_test): Likewise.
21401 (csqrt_test): Likewise.
21402 (ctan_test): Likewise.
21403 (ctan_test_tonearest): Likewise.
21404 (ctan_test_towardzero): Likewise.
21405 (ctan_test_downward): Likewise.
21406 (ctan_test_upward): Likewise.
21407 (ctanh_test): Likewise.
21408 (ctanh_test_tonearest): Likewise.
21409 (ctanh_test_towardzero): Likewise.
21410 (ctanh_test_downward): Likewise.
21411 (ctanh_test_upward): Likewise.
21412 (erf_test): Likewise.
21413 (erfc_test): Likewise.
21414 (exp_test): Likewise.
21415 (exp_test_tonearest): Likewise.
21416 (exp_test_towardzero): Likewise.
21417 (exp_test_downward): Likewise.
21418 (exp_test_upward): Likewise.
21419 (exp10_test): Likewise.
21420 (exp10_test_tonearest): Likewise.
21421 (exp10_test_towardzero): Likewise.
21422 (exp10_test_downward): Likewise.
21423 (exp10_test_upward): Likewise.
21424 (pow10_test): Likewise.
21425 (exp2_test): Likewise.
21426 (expm1_test): Likewise.
21427 (expm1_test_tonearest): Likewise.
21428 (expm1_test_towardzero): Likewise.
21429 (expm1_test_downward): Likewise.
21430 (expm1_test_upward): Likewise.
21431 (fabs_test): Likewise.
21432 (fdim_test): Likewise.
21433 (floor_test): Likewise.
21434 (fma_test): Likewise.
21435 (fma_test_towardzero): Likewise.
21436 (fma_test_downward): Likewise.
21437 (fma_test_upward): Likewise.
21438 (fmax_test): Likewise.
21439 (fmin_test): Likewise.
21440 (fmod_test): Likewise.
21441 (fpclassify_test): Likewise.
21442 (frexp_test): Likewise.
21443 (hypot_test): Likewise.
21444 (ilogb_test): Likewise.
21445 (isfinite_test): Likewise.
21446 (finite_test): Likewise.
21447 (isgreater_test): Likewise.
21448 (isgreaterequal_test): Likewise.
21449 (isinf_test): Likewise.
21450 (isless_test): Likewise.
21451 (islessequal_test): Likewise.
21452 (islessgreater_test): Likewise.
21453 (isnan_test): Likewise.
21454 (isnormal_test): Likewise.
21455 (issignaling_test): Likewise.
21456 (isunordered_test): Likewise.
21457 (j0_test): Likewise.
21458 (j1_test): Likewise.
21459 (jn_test): Likewise.
21460 (ldexp_test): Likewise.
21461 (lgamma_test): Likewise.
21462 (gamma_test): Likewise.
21463 (lrint_test): Likewise.
21464 (lrint_test_tonearest): Likewise.
21465 (lrint_test_towardzero): Likewise.
21466 (lrint_test_downward): Likewise.
21467 (lrint_test_upward): Likewise.
21468 (llrint_test): Likewise.
21469 (llrint_test_tonearest): Likewise.
21470 (llrint_test_towardzero): Likewise.
21471 (llrint_test_downward): Likewise.
21472 (llrint_test_upward): Likewise.
21473 (log_test): Likewise.
21474 (log10_test): Likewise.
21475 (log1p_test): Likewise.
21476 (log2_test): Likewise.
21477 (logb_test): Likewise.
21478 (logb_test_downward): Likewise.
21479 (lround_test): Likewise.
21480 (llround_test): Likewise.
21481 (modf_test): Likewise.
21482 (nearbyint_test): Likewise.
21483 (nextafter_test): Likewise.
21484 (nexttoward_test): Likewise.
21485 (pow_test): Likewise.
21486 (pow_test_tonearest): Likewise.
21487 (pow_test_towardzero): Likewise.
21488 (pow_test_downward): Likewise.
21489 (pow_test_upward): Likewise.
21490 (remainder_test): Likewise.
21491 (drem_test): Likewise.
21492 (remainder_test_tonearest): Likewise.
21493 (drem_test_tonearest): Likewise.
21494 (remainder_test_towardzero): Likewise.
21495 (drem_test_towardzero): Likewise.
21496 (remainder_test_downward): Likewise.
21497 (drem_test_downward): Likewise.
21498 (remainder_test_upward): Likewise.
21499 (drem_test_upward): Likewise.
21500 (remquo_test): Likewise.
21501 (rint_test): Likewise.
21502 (rint_test_tonearest): Likewise.
21503 (rint_test_towardzero): Likewise.
21504 (rint_test_downward): Likewise.
21505 (rint_test_upward): Likewise.
21506 (round_test): Likewise.
21507 (scalb_test): Likewise.
21508 (scalbn_test): Likewise.
21509 (scalbln_test): Likewise.
21510 (signbit_test): Likewise.
21511 (sin_test): Likewise.
21512 (sin_test_tonearest): Likewise.
21513 (sin_test_towardzero): Likewise.
21514 (sin_test_downward): Likewise.
21515 (sin_test_upward): Likewise.
21516 (sincos_test): Likewise.
21517 (sinh_test): Likewise.
21518 (sinh_test_tonearest): Likewise.
21519 (sinh_test_towardzero): Likewise.
21520 (sinh_test_downward): Likewise.
21521 (sinh_test_upward): Likewise.
21522 (sqrt_test): Likewise.
21523 (sqrt_test_tonearest): Likewise.
21524 (sqrt_test_towardzero): Likewise.
21525 (sqrt_test_downward): Likewise.
21526 (sqrt_test_upward): Likewise.
21527 (tan_test): Likewise.
21528 (tan_test_tonearest): Likewise.
21529 (tan_test_towardzero): Likewise.
21530 (tan_test_downward): Likewise.
21531 (tan_test_upward): Likewise.
21532 (tanh_test): Likewise.
21533 (tgamma_test): Likewise.
21534 (trunc_test): Likewise.
21535 (y0_test): Likewise.
21536 (y1_test): Likewise.
21537 (yn_test): Likewise.
21538 (significand_test): Likewise.
21539
21540 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
21541 individual tests in comment.
21542 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
21543 (prev_max_error): New variable.
21544 (prev_real_max_error): Likewise.
21545 (prev_imag_max_error): Likewise.
21546 (compare_ulp_data): Don't refer to test names in comment.
21547 (find_test_ulps): Remove function.
21548 (find_function_ulps): Likewise.
21549 (find_complex_function_ulps): Likewise.
21550 (init_max_error): Take function name as argument. Look up ulps
21551 for that function.
21552 (print_ulps): Remove function.
21553 (print_max_error): Use prev_max_error instead of calling
21554 find_function_ulps.
21555 (print_complex_max_error): Use prev_real_max_error and
21556 prev_imag_max_error instead of calling find_complex_function_ulps.
21557 (check_float_internal): Take max_ulp parameter instead of calling
21558 find_test_ulps. Don't call print_ulps.
21559 (check_float): Update call to check_float_internal.
21560 (check_complex): Update calls to check_float_internal.
21561 (START): Pass argument to init_max_error.
21562 * math/gen-libm-test.pl (%results): Don't include "kind"
21563 information.
21564 (parse_ulps): Don't handle ulps of individual tests.
21565 (print_ulps_file): Likewise.
21566 (output_ulps): Likewise.
21567 * math/README.libm-test: Update.
21568 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
21569 individual tests.
21570 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
21571 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
21572 * sysdeps/arm/libm-test-ulps: Likewise.
21573 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21574 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
21575 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
21576 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
21577 * sysdeps/microblaze/libm-test-ulps: Likewise.
21578 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
21579 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21580 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21581 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
21582 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21583 * sysdeps/sh/libm-test-ulps: Likewise.
21584 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21585 * sysdeps/tile/libm-test-ulps: Likewise.
21586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21587
21588 2014-03-04 Joseph Myers <joseph@codesourcery.com>
21589
21590 * math/libm-test.inc (print_complex_max_error): Check separately
21591 whether real and imaginary errors are within allowed range and
21592 pass 0 to print_complex_function_ulps instead of value within
21593 allowed range.
21594
21595 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21596
21597 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
21598 formatting.
21599 (get_handles_fopen): Likewise.
21600 (do_write_test): Likewise.
21601
21602 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
21603
21604 * libio/fileops.c (do_ftell): Use cached offset when
21605 available.
21606 * libio/iofwide.c (do_ftell_wide): Likewise.
21607 * libio/iofdopen.c (_IO_new_fdopen): Don't use
21608 _IO_file_attach.
21609 * libio/wfileops.c (_IO_fwide): Don't cache offset.
21610
21611 [BZ #16532]
21612 * libio/libioP.h (get_file_offset): New function.
21613 * libio/fileops.c (get_file_offset): Likewise.
21614 (do_ftell): Likewise.
21615 (_IO_new_file_seekoff): Split out ftell logic.
21616 * libio/wfileops.c (do_ftell_wide): Likewise.
21617 (_IO_wfile_seekoff): Split out ftell logic.
21618 * libio/tst-ftell-active-handler.c: New test case.
21619 * libio/Makefile (tests): Add it.
21620
21621 2014-03-03 Roland McGrath <roland@hack.frob.com>
21622
21623 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
21624 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
21625
21626 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21627
21628 [BZ #16639]
21629 * nscd/connections.c (nscd_init): Call do_exit.
21630 (start_threads): Call do_exit and notify_parent.
21631 (begin_drop_privileges): Call do_exit.
21632 (finish_drop_privileges): Likewise.
21633 * nscd/selinux.c (preserve_capabilities): Likewise.
21634 (install_real_capabilities): Likewise.
21635 (nscd_selinux_enabled): Likewise.
21636 (avc_create_thread): Likewise.
21637 (avc_alloc_lock): Likewise.
21638 (nscd_avc_init): Likewise.
21639 * nscd/nscd.c (parent_fd): New static variable.
21640 (main): Create a pipe between parent and child processes.
21641 Skip closing parent_fd.
21642 (monitor_child): New function.
21643 (do_exit): Likewise.
21644 (notify_parent): Likewise.
21645 * nscd/nscd.h (notify_parent): Likewise.
21646 (do_exit): Likewise.
21647
21648 2014-03-03 Carlos O'Donell <carlos@redhat.com>
21649
21650 * malloc/malloc.c (__libc_calloc): Revert last change.
21651
21652 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21653
21654 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21655
21656 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21657
21658 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
21659 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
21660 implementation.
21661 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21662 (__libc_ifunc_impl_list): Likewise.
21663 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
21664 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
21665 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
21666 * string/strrchr.c: Define STRRCHR.
21667
21668 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
21669
21670 * benchtest/bench-strtok.c (simple_strtok): Delete.
21671 (strtok_string): Use as benchmark.
21672 * string/strtok (STRTOK): New macro.
21673
21674 2014-02-28 Carlos O'Donell <carlos@redhat.com>
21675
21676 * manual/threads.texi: Add header and standard comments to all
21677 functions.
21678
21679 * elf/dl-lookup.c (check_match): New function.
21680 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
21681 (do_lookup_x): Remove nested function check_match. Use non-nested
21682 function check_match.
21683
21684 2014-02-28 Roland McGrath <roland@hack.frob.com>
21685
21686 * csu/Makefile (generated, before-compile): Use += rather than =.
21687 * catgets/Makefile (generated, generated-dirs): Likewise.
21688 * debug/Makefile (generated): Likewise.
21689 * dlfcn/Makefile (generated): Likewise.
21690 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
21691 * iconvdata/Makefile (before-compile, generated): Likewise.
21692 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
21693 * libio/Makefile (generated): Likewise.
21694 * malloc/Makefile (generated): Likewise.
21695 * manual/Makefile (generated, generated-dirs): Likewise.
21696 * misc/Makefile (generated): Likewise.
21697 * posix/Makefile (generated): Likewise.
21698 * resolv/Makefile (generated): Likewise.
21699 * sunrpc/Makefile (generated, generated-dirs): Likewise.
21700 * timezone/Makefile (generated, generated-dirs): Likewise.
21701
21702 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
21703
21704 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21705
21706 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
21707 power8 implementation.
21708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
21709 file: POWER8 llround ifunc implementation.
21710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21711 (__lllround): Add POWER8 implementation.
21712 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
21713 POWER8 llround implementation.
21714
21715 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
21716 power8 implementation.
21717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
21718 file: POWER8 llrint ifunc implementation.
21719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
21720 Add POWER8 implementation.
21721 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
21722 POWER8 llrint implementation.
21723
21724 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
21725 power8 implementation.
21726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
21727 file: POWER8 finite ifunc implementation.
21728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
21729 Add POWER8 implementation.
21730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
21731 Likewise.
21732 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
21733 POWER8 finite implementation.
21734 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
21735
21736 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
21737 power8 implementation.
21738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
21739 file: POWER8 isinf ifunc implementation.
21740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
21741 POWER8 implementation.
21742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
21743 Likewise.
21744 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
21745 isinf implementation.
21746 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
21747
21748 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21749 (INIT_ARCH): Add hwcap2 initialization.
21750 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21751 power8 implementation.
21752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
21753 file: POWER8 isnan ifunc implementation.
21754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
21755 POWER8 implementation.
21756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
21757 Likewise.
21758 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
21759 isnan implementation.
21760 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
21761
21762 2014-02-27 Joey Ye <joey.ye@arm.com>
21763
21764 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
21765 (_FP_NANFRAC_Q): Set to zero.
21766
21767 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21768
21769 [BZ #16623]
21770 * math/auto-libm-test-in: New test inputs.
21771 * math/auto-libm-test-out: Regenerate.
21772 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
21773 and DA.
21774 (__cos): Likewise.
21775 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21776
21777 2014-02-27 Joseph Myers <joseph@codesourcery.com>
21778
21779 * scripts/evaluate-test.sh: Take new argument indicating whether
21780 failure is expected.
21781 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
21782 indicating whether failure is expected.
21783 * conform/Makefile (test-xfail-run-conformtest): New variable.
21784 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
21785 level.
21786 * posix/Makefile (test-xfail-annexc): New variable.
21787 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
21788
21789 2014-02-26 Joseph Myers <joseph@codesourcery.com>
21790
21791 * argp/Makefile: Include Makeconfig immediately after defining
21792 subdir.
21793 * assert/Makefile: Likewise.
21794 * benchtests/Makefile: Likewise.
21795 * catgets/Makefile: Likewise.
21796 * conform/Makefile: Likewise.
21797 * crypt/Makefile: Likewise.
21798 * csu/Makefile: Likewise.
21799 (all): Remove target.
21800 * ctype/Makefile: Include Makeconfig immediately after defining
21801 subdir.
21802 * debug/Makefile: Likewise.
21803 * dirent/Makefile: Likewise.
21804 * dlfcn/Makefile: Likewise.
21805 * gmon/Makefile: Likewise.
21806 * gnulib/Makefile: Likewise.
21807 * grp/Makefile: Likewise.
21808 * gshadow/Makefile: Likewise.
21809 * hesiod/Makefile: Likewise.
21810 * hurd/Makefile: Likewise.
21811 (all): Remove target.
21812 * iconvdata/Makefile: Include Makeconfig immediately after
21813 defining subdir.
21814 * inet/Makefile: Likewise.
21815 * intl/Makefile: Likewise.
21816 * io/Makefile: Likewise.
21817 * libio/Makefile: Likewise.
21818 (all): Remove target.
21819 * locale/Makefile: Include Makeconfig immediately after defining
21820 subdir.
21821 * login/Makefile: Likewise.
21822 * mach/Makefile: Likewise.
21823 (all): Remove target.
21824 * malloc/Makefile: Include Makeconfig immediately after defining
21825 subdir.
21826 (all): Remove target.
21827 * manual/Makefile: Include Makeconfig immediately after defining
21828 subdir.
21829 * math/Makefile: Likewise.
21830 * misc/Makefile: Likewise.
21831 * nis/Makefile: Likewise.
21832 * nss/Makefile: Likewise.
21833 * po/Makefile: Likewise.
21834 (all): Remove target.
21835 * posix/Makefile: Include Makeconfig immediately after defining
21836 subdir.
21837 * pwd/Makefile: Likewise.
21838 * resolv/Makefile: Likewise.
21839 * resource/Makefile: Likewise.
21840 * rt/Makefile: Likewise.
21841 * setjmp/Makefile: Likewise.
21842 * shadow/Makefile: Likewise.
21843 * signal/Makefile: Likewise.
21844 * socket/Makefile: Likewise.
21845 * soft-fp/Makefile: Likewise.
21846 * stdio-common/Makefile: Likewise.
21847 * stdlib/Makefile: Likewise.
21848 * streams/Makefile: Likewise.
21849 * string/Makefile: Likewise.
21850 * sunrpc/Makefile: Likewise.
21851 (all): Remove target.
21852 * sysvipc/Makefile: Include Makeconfig immediately after defining
21853 subdir.
21854 * termios/Makefile: Likewise.
21855 * time/Makefile: Likewise.
21856 * timezone/Makefile: Likewise.
21857 (all): Remove target.
21858 * wcsmbs/Makefile: Include Makeconfig immediately after defining
21859 subdir.
21860 * wctype/Makefile: Likewise.
21861
21862 2014-02-26 Steve Ellcey <sellcey@mips.com>
21863
21864 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
21865 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
21866 (libc_feholdexcept_setround_mips): Ditto.
21867 (libc_feholdsetround): New.
21868 (libc_feholdsetroundf): New.
21869 (libc_feholdsetroundl): New.
21870 (libc_feupdateenv_test_mips): New.
21871 (libc_feupdateenv_test): New.
21872 (libc_feupdateenv_testf): New.
21873 (libc_feupdateenv_testl): New.
21874 (libc_feresetround): New.
21875 (libc_feresetroundf): New.
21876 (libc_feresetroundl): New.
21877 (libc_fetestexcept_mips): New.
21878 (libc_fetestexcept): New.
21879 (libc_fetestexceptf): New.
21880 (libc_fetestexceptl): New.
21881 (HAVE_RM_CTX): New.
21882 (libc_feholdexcept_setround_mips_ctx): New.
21883 (libc_feholdexcept_setround_ctx): New.
21884 (libc_feholdexcept_setroundf_ctx): New.
21885 (libc_feholdexcept_setroundl_ctx): New.
21886 (libc_fesetenv_mips_ctx): New.
21887 (libc_fesetenv_ctx): New.
21888 (libc_fesetenv_ctxf): New.
21889 (libc_fesetenv_ctxl): New.
21890 (libc_feupdateenv_mips_ctx): New.
21891 (libc_feupdateenv_ctx): New.
21892 (libc_feupdateenvf_ctx): New.
21893 (libc_feupdateenvl_ctx): New.
21894 (libc_feholdsetround_mips_ctx): New.
21895 (libc_feholdsetround_ctx): New.
21896 (libc_feholdsetroundf_ctx): New.
21897 (libc_feholdsetroundl_ctx): New.
21898 (libc_feresetround_mips_ctx): New.
21899 (libc_feresetround_ctx): New.
21900 (libc_feresetroundf_ctx): New.
21901 (libc_feresetroundl_ctx): New.
21902
21903 2014-02-26 Carlos O'Donell <carlos@redhat.com>
21904
21905 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
21906
21907 * manual/ipc.texi: New file.
21908 * manual/Makefile (chapters): Add ipc.
21909 * manual/job.texi: Add "Inter-Process Communication" to next.
21910 * manual/process.texi: Add "Inter-Process Communication" to prev.
21911
21912 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21913
21914 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21915
21916 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
21917
21918 * malloc/malloc.c (__libc_calloc): Simplify implementation.
21919
21920 * manual/arith.texi: Fix spaces after sentences.
21921 * manual/charset.texi: Likewise.
21922 * manual/errno.texi: Likewise.
21923 * manual/install.texi: Likewise.
21924 * manual/llio.texi: Likewise.
21925 * manual/locale.texi: Likewise.
21926 * manual/maint.texi: Likewise.
21927 * manual/math.texi: Likewise.
21928 * manual/memory.texi: Likewise.
21929 * manual/message.texi: Likewise.
21930 * manual/probes.texi: Likewise.
21931 * manual/resource.texi: Likewise.
21932 * manual/signal.texi: Likewise.
21933 * manual/socket.texi: Likewise.
21934 * manual/stdio.texi: Likewise.
21935 * manual/string.texi: Likewise.
21936 * manual/time.texi: Likewise.
21937 * manual/users.texi: Likewise.
21938
21939 2014-02-25 Carlos O'Donell <carlos@redhat.com>
21940
21941 [BZ #16632]
21942 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
21943 _DEFAULT_SOURCE is defined.
21944
21945 2014-02-25 Ulrich Drepper <drepper@gmail.com>
21946 Carlos O'Donell <carlos@redhat.com>
21947
21948 [BZ #16613]
21949 * elf/dl-tls.c (_dl_count_modids): New function.
21950 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
21951 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
21952 audit library and increment generation counter.
21953 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
21954 * elf/tst-audit9.c: New file.
21955 * elf/tst-auditmod9a.c: New file.
21956 * elf/tst-auditmod9b.c: New file.
21957 * elf/Makefile: Add rules to build and run tst-audit9.
21958
21959 2014-02-25 Florian Weimer <fweimer@redhat.com>
21960
21961 [BZ #15347]
21962 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
21963
21964 2014-02-25 Will Newton <will.newton@linaro.org>
21965
21966 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
21967 (__longjmp): Restore sp and lr before restoring callee
21968 saved registers. Add longjmp and longjmp_target
21969 SystemTap probe point.
21970 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
21971 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
21972 Define to zero to match jmpbuf layout.
21973 * sysdeps/arm/setjmp.S: Include stap-probe.h.
21974 (__sigsetjmp): Save sp and lr before saving callee
21975 saved registers. Add setjmp SystemTap probe point.
21976
21977 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21978
21979 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21980
21981 2014-02-24 Andreas Schwab <schwab@suse.de>
21982
21983 [BZ #15804]
21984 * elf/pldd.c (wait_for_ptrace_stop): New function.
21985 (main): Call it after attaching.
21986
21987 2014-02-22 Roland McGrath <roland@hack.frob.com>
21988
21989 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
21990 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
21991 Versions files is now verboten.
21992 * hurd/Versions (libc: GLIBC_2.0):
21993 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
21994 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
21995 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
21996 * mach/Versions: Likewise.
21997
21998 * csu/Versions: Remove unused %include.
21999 * resolv/Versions: Likewise.
22000
22001 2014-02-21 Joseph Myers <joseph@codesourcery.com>
22002
22003 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
22004 ($(objpfx)check-local-headers.out): Likewise.
22005 ($(objpfx)begin-end-check.out): Likewise.
22006 * Makerules (check-abi-%.out): Likewise.
22007 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
22008 ($(objpfx)test2.cat): Likewise.
22009 ($(objpfx)de/libc.cat): Likewise.
22010 ($(objpfx)test-gencat.out): Likewise.
22011 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
22012 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
22013 ($(objpfx)noload-mem): Likewise.
22014 ($(objpfx)tst-pathopt.out): Likewise.
22015 ($(objpfx)tst-rtld-load-self.out): Likewise.
22016 ($(objpfx)tst-array1-cmp.out): Likewise.
22017 ($(objpfx)tst-array1-static-cmp.out): Likewise.
22018 ($(objpfx)tst-array2-cmp.out): Likewise.
22019 ($(objpfx)tst-array3-cmp.out): Likewise.
22020 ($(objpfx)tst-array4-cmp.out): Likewise.
22021 ($(objpfx)tst-array5-cmp.out): Likewise.
22022 ($(objpfx)tst-array5-static-cmp.out): Likewise.
22023 ($(objpfx)check-textrel.out): Likewise.
22024 ($(objpfx)check-execstack.out): Likewise.
22025 ($(objpfx)check-localplt.out): Likewise.
22026 ($(objpfx)order2-cmp.out): Likewise.
22027 ($(objpfx)tst-leaks1-mem): Likewise.
22028 ($(objpfx)tst-leaks1-static-mem): Likewise.
22029 ($(objpfx)tst-initorder-cmp.out): Likewise.
22030 ($(objpfx)tst-initorder2-cmp.out): Likewise.
22031 ($(objpfx)tst-unused-dep.out): Likewise.
22032 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
22033 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
22034 * iconv/Makefile (test-iconvconfig): Likewise.
22035 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
22036 ($(objpfx)iconv-test.out): Likewise.
22037 ($(objpfx)tst-tables.out): Likewise.
22038 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
22039 ($(objpfx)tst-gettext.out): Likewise.
22040 ($(objpfx)tst-translit.out): Likewise.
22041 ($(objpfx)tst-gettext2.out): Likewise.
22042 ($(objpfx)tst-gettext4.out): Likewise.
22043 ($(objpfx)tst-gettext6.out): Likewise.
22044 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
22045 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
22046 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
22047 ($(objpfx)tst-fopenloc-mem.out): Likewise.
22048 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
22049 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
22050 * posix/Makefile ($(objpfx)globtest.out): Likewise.
22051 ($(objpfx)wordexp-tst.out): Likewise.
22052 ($(objpfx)annexc.out): Likewise.
22053 ($(objpfx)tst-fnmatch-mem): Likewise.
22054 ($(objpfx)bug-regex2-mem): Likewise.
22055 ($(objpfx)bug-regex14-mem): Likewise.
22056 ($(objpfx)bug-regex21-mem): Likewise.
22057 ($(objpfx)bug-regex31-mem): Likewise.
22058 ($(objpfx)tst-vfork3-mem): Likewise.
22059 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22060 ($(objpfx)tst-pcre-mem): Likewise.
22061 ($(objpfx)tst-boost-mem): Likewise.
22062 ($(objpfx)tst-getconf.out): Likewise.
22063 ($(objpfx)bug-ga2-mem): Likewise.
22064 ($(objpfx)bug-glob2-mem): Likewise.
22065 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
22066 ($(objpfx)mtrace-tst-leaks2): Likewise.
22067 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
22068 ($(objpfx)tst-printf.out): Likewise.
22069 ($(objpfx)tst-setvbuf1.out): Likewise.
22070 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
22071 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
22072 ($(objpfx)tst-fmtmsg.out): Likewise.
22073 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
22074 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
22075
22076 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
22077 * bits/sigaction.h [__USE_MISC]: Likewise.
22078 * bits/waitstatus.h: Update #endif comments.
22079 * ctype/ctype.h: Likewise.
22080 * dirent/dirent.h: Likewise.
22081 [__USE_MISC]: Remove redundant conditionals.
22082 * grp/grp.h: Update #endif comments.
22083 [__USE_GNU]: Remove redundant conditionals.
22084 [__USE_MISC]: Likewise.
22085 * inet/netinet/in.h [__USE_GNU]: Likewise.
22086 * io/sys/stat.h [__USE_MISC]: Likewise.
22087 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
22088 * libio/bits/stdio.h: Update #endif comments.
22089 [__USE_MISC]: Remove redundant conditionals.
22090 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
22091 * libio/stdio.h: Update #endif comments.
22092 [__USE_MISC]: Remove redundant conditionals.
22093 * math/bits/math-finite.h [__USE_MISC]: Likewise.
22094 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
22095 * math/math.h: Update #else and #endif comments.
22096 [__USE_MISC]: Remove redundant conditionals.
22097 * misc/sys/uio.h: Update #endif comments.
22098 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
22099 * posix/glob.h [__USE_MISC]: Likewise.
22100 * posix/sys/types.h: Update #endif comments.
22101 [__USE_MISC]: Remove redundant conditionals.
22102 * posix/sys/wait.h: Update #endif comments.
22103 [__USE_MISC]: Remove redundant conditionals.
22104 * posix/unistd.h: Update #endif comments.
22105 [__USE_MISC]: Remove redundant conditionals.
22106 * pwd/pwd.h [__USE_GNU]: Likewise.
22107 [__USE_MISC]: Likewise.
22108 * resolv/netdb.h [__USE_GNU]: Likewise.
22109 * signal/signal.h: Update #endif comments.
22110 [__USE_MISC]: Remove redundant conditionals.
22111 * stdlib/stdlib.h: Update #else and #endif comments.
22112 [__USE_MISC]: Remove redundant conditionals.
22113 [__USE_GNU]: Likewise.
22114 * string/bits/string2.h [__USE_MISC]: Likewise.
22115 * string/string.h: Update #endif comments.
22116 [__USE_MISC]: Remove redundant conditionals.
22117 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
22118 Likewise.
22119 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
22120 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
22121 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
22122 Likewise.
22123 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
22124 Likewise.
22125 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
22126 comments.
22127 [__USE_MISC]: Remove redundant conditionals.
22128 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
22129 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
22130 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
22131 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
22132 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
22133 Likewise.
22134 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
22135 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
22136 Likewise.
22137 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
22138 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
22139 Likewise.
22140 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
22141 Likewise.
22142 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
22143 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
22144 Likewise.
22145 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
22146 Likewise.
22147 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
22148 * sysdeps/x86/bits/string.h: Update #endif comments.
22149 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
22150 conditionals.
22151 * time/sys/time.h: Update #endif comments.
22152 * time/time.h: Likewise.
22153 [__USE_MISC]: Remove redundant conditionals.
22154
22155 2014-02-21 Yury Gribov <y.gribov@samsung.com>
22156
22157 [BZ #16600]
22158 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
22159
22160 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
22161
22162 * Versions.def (librt): Add GLIBC_2.17.
22163
22164 2014-02-21 Adam Conrad <adconrad@0c3.net>
22165
22166 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
22167 synonym for _SYS_AUXV_H to allow direct inclusion.
22168 * sysdeps/sparc/bits/hwcap.h: Likewise.
22169 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
22170 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
22171 * sysdeps/sparc/sysdep.h: Likewise.
22172
22173 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22174
22175 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
22176
22177 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22178
22179 * benchtests/bench-strrchr.c: Print length instead of position.
22180
22181 2014-02-20 Joseph Myers <joseph@codesourcery.com>
22182
22183 [BZ #16611]
22184 * sysdeps/unix/sysv/linux/kernel-features.h
22185 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
22186 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
22187 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
22188 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
22189 Likewise.
22190 [__i386__ || __powerpc__ || __sh__ || __sparc__]
22191 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22192 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
22193 (__ASSUME_SENDMMSG): Define instead of using previous
22194 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
22195 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22196 (__ASSUME_SENDMMSG_SYSCALL): Define.
22197 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22198 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
22199 Likewise.
22200 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22201 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22202 Likewise.
22203 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22204 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22205 Likewise.
22206 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
22207 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22208 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22209 [__ASSUME_SENDMMSG]: Change conditionals to
22210 [__ASSUME_SENDMMSG_SOCKETCALL].
22211 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22212 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
22213 Define.
22214 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22215 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
22216 Likewise.
22217 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
22218 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22219 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22220 [!__ASSUME_SENDMMSG]: Change conditional to
22221 [!__ASSUME_SENDMMSG_SOCKETCALL].
22222 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22223 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22224 Define.
22225
22226 [BZ #16610]
22227 * sysdeps/unix/sysv/linux/kernel-features.h
22228 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
22229 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
22230 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
22231 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
22232 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22233 [__i386__ || __sparc__]
22234 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22235 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
22236 (__ASSUME_RECVMMSG): Define instead of using previous
22237 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
22238 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22239 (__ASSUME_RECVMMSG_SYSCALL): Define.
22240 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22241 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22242 Likewise.
22243 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22244 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22245 Likewise.
22246 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22247 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22248 Likewise.
22249 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
22250 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22251 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22252 [__ASSUME_RECVMMSG]: Change condition to
22253 [__ASSUME_RECVMMSG_SOCKETCALL].
22254 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22255 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22256 Define.
22257 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22258 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22259 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22260 Likewise.
22261 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
22262 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22263 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22264 [!__ASSUME_RECVMMSG]: Change condition to
22265 [!__ASSUME_RECVMMSG_SOCKETCALL].
22266 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22267 (__ASSUME_RECVMMSG_SYSCALL): Define.
22268
22269 [BZ #16609]
22270 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
22271 __powerpc__ || __s390__ || __sh__ || __sparc__]
22272 (__ASSUME_SOCKETCALL): Define.
22273 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
22274 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
22275 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
22276 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
22277 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22278 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
22279 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
22280 (__ASSUME_ACCEPT4): Define instead of using previous
22281 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
22282 __powerpc__ || __sparc__ || __s390__)] condition.
22283 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22284 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22285 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
22286 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22287 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22288 [!__ASSUME_ACCEPT4]: Change condition to
22289 [!__ASSUME_ACCEPT4_SOCKETCALL].
22290 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22291 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
22292 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
22293 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22294 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
22295 __ASSUME_ACCEPT4_SYSCALL.
22296 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
22297 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
22298 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22299 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
22300 __ASSUME_ACCEPT4_SYSCALL.
22301 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
22302 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22303 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22304 [__ASSUME_ACCEPT4]: Change condition to
22305 [__ASSUME_ACCEPT4_SOCKETCALL].
22306 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22307 (__ASSUME_SOCKETCALL): Define.
22308 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
22309 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22310 (__ASSUME_SOCKETCALL): Define.
22311 (__ASSUME_ACCEPT4): Remove.
22312 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
22313 Define.
22314 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22315 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
22316 Likewise.
22317 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22318 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22319
22320 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
22321 macro.
22322 (HWCAP_ARM_LPAE): Likewise.
22323 (HWCAP_ARM_EVTSTRM): Likewise.
22324 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
22325 Add vpfd32, lpae and evtstrm.
22326 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
22327 Increase to 22.
22328
22329 2014-02-19 Joseph Myers <joseph@codesourcery.com>
22330
22331 * math/auto-libm-test-in: Add tests of clog10.
22332 * math/auto-libm-test-out: Regenerated.
22333 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
22334 * sysdeps/i386/fpu/libm-test-ulps: Update.
22335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22336
22337 2014-02-18 Andreas Schwab <schwab@suse.de>
22338
22339 [BZ #16574]
22340 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
22341 Store non-zero if the second buffer was newly allocated.
22342 (send_dg): Likewise.
22343 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
22344 to send_vc and send_dg.
22345 (res_nsend): Pass NULL for ansp2_malloced.
22346 * resolv/res_query.c (__libc_res_nquery): Add parameter
22347 answerp2_malloced and pass it down to __libc_res_nsend.
22348 (res_nquery): Pass additional NULL to __libc_res_nquery.
22349 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
22350 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
22351 second answer buffer if answerp2_malloced was set.
22352 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
22353 (__libc_res_nquerydomain): Add parameter
22354 answerp2_malloced and pass it down to __libc_res_nquery.
22355 (res_nquerydomain): Pass additional NULL to
22356 __libc_res_nquerydomain.
22357 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
22358 additional NULL to __libc_res_nsend and __libc_res_nquery.
22359 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
22360 additional NULL to __libc_res_nsearch.
22361 (_nss_dns_gethostbyname4_r): Revert last change. Use new
22362 parameter of __libc_res_nsearch to check for separately allocated
22363 second buffer.
22364 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
22365 __libc_res_nquery.
22366 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
22367 additional NULL to __libc_res_nquery.
22368 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
22369 __libc_res_nsearch.
22370 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
22371 * include/resolv.h: Update prototypes of __libc_res_nquery,
22372 __libc_res_nsearch, __libc_res_nsend.
22373
22374 2014-02-18 Joseph Myers <joseph@codesourcery.com>
22375
22376 * math/auto-libm-test-in: Add tests of fma.
22377 * math/auto-libm-test-out: Regenerated.
22378 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
22379 (fma_towardzero_test_data): Likewise.
22380 (fma_downward_test_data): Likewise.
22381 (fma_upward_test_data): Likewise.
22382 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
22383 mpc_mode.
22384 (rounding_modes): Add values for new field.
22385 (func_calc_method): Add value mpfr_fff_f.
22386 (func_calc_desc): Add mpfr_fff_f union field.
22387 (test_function): Add field exact_args.
22388 (FUNC): Add macro argument EXACT_ARGS.
22389 (FUNC_mpfr_f_f): Update call to FUNC.
22390 (FUNC_mpfr_f_f): Likewise.
22391 (FUNC_mpfr_ff_f): Likewise.
22392 (FUNC_mpfr_if_f): Likewise.
22393 (FUNC_mpc_c_f): Likewise.
22394 (FUNC_mpc_c_c): Likewise.
22395 (test_functions): Add fma. Update calls to FUNC.
22396 (handle_input_arg): Add argument exact_args.
22397 (add_test): Update call to handle_input_arg.
22398 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
22399 (output_for_one_input_case): Update call to calc_generic_results.
22400 Recalculate exact zero results in each rounding mode.
22401
22402 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
22403 non-negative before setting low bit.
22404 * math/auto-libm-test-in: Mark one asin test possibly having
22405 spurious underflow.
22406 * math/auto-libm-test-out: Regenerated.
22407 * sysdeps/i386/fpu/libm-test-ulps: Update.
22408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22409
22410 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
22411
22412 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
22413 * sysdeps/unix/sysv/linux/microblaze: Move directory from
22414 ports/sysdeps/unix/sysv/linux/microblaze.
22415 * README: Add missing listing for microblaze*-*-linux-gnu.
22416
22417 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
22418
22419 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
22420 duplicate code
22421
22422 2014-02-16 Mike Frysinger <vapier@gentoo.org>
22423
22424 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
22425 * sysdeps/unix/sysv/linux/ia64: Move directory from
22426 ports/sysdeps/unix/sysv/linux/ia64.
22427 * README: Update listing for ia64-*-linux-gnu.
22428
22429 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
22430 Joseph Myers <joseph@codesourcery.com>
22431
22432 * Makeconfig (test-name): New variable.
22433 (evaluate-test): Likewise.
22434 * Makerules (do-test-clean): Remove .test-result files.
22435 (common-mostlyclean): Likewise.
22436 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
22437 * scripts/evaluate-test.sh: New file.
22438
22439 2014-02-14 Joseph Myers <joseph@codesourcery.com>
22440
22441 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
22442 separate $(objpfx)tst-fopenloc-cmp.out and
22443 $(objpfx)tst-fopenloc-mem.out targets.
22444 (tests): Update dependencies.
22445 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
22446 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
22447 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
22448 (tst-rxspencer-no-utf8-ARGS): New variable.
22449 (tst-rxspencer-no-utf8-ENV): Likewise.
22450 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
22451 instead of $(objpfx)tst-rxspencer-mem.
22452 ($(objpfx)tst-rxspencer-mem): Change target to
22453 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
22454 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
22455 * posix/tst-rxspencer-no-utf8.c: New file.
22456
22457 * elf/Makefile ($(objpfx)order.out): Remove rule.
22458 [$(run-built-tests) = yes] (tests): Depend on
22459 $(objpfx)order-cmp.out.
22460 ($(objpfx)order-cmp.out): New rule.
22461 [$(run-built-tests) = yes] (tests): Depend on
22462 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
22463 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
22464 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
22465 $(objpfx)tst-array5-static-cmp.out.
22466 ($(objpfx)tst-array1.out): Remove rule.
22467 ($(objpfx)tst-array1-cmp.out): New rule.
22468 ($(objpfx)tst-array1-static.out): Remove rule.
22469 ($(objpfx)tst-array1-static-cmp.out): New rule.
22470 ($(objpfx)tst-array2.out): Remove rule.
22471 ($(objpfx)tst-array2-cmp.out): New rule.
22472 ($(objpfx)tst-array3.out): Remove rule.
22473 ($(objpfx)tst-array3-cmp.out): New rule.
22474 ($(objpfx)tst-array4.out): Remove rule.
22475 ($(objpfx)tst-array4-cmp.out): New rule.
22476 ($(objpfx)tst-array5.out): Remove rule.
22477 ($(objpfx)tst-array5-cmp.out): New rule.
22478 ($(objpfx)tst-array5-static.out): Remove rule.
22479 ($(objpfx)tst-array5-static-cmp.out): New rule.
22480 [$(run-built-tests) = yes] (tests): Depend on
22481 $(objpfx)order2-cmp.out.
22482 ($(objpfx)order2.out): Remove rule.
22483 ($(objpfx)order2-cmp.out): New rule.
22484 ($(objpfx)tst-initorder.out): Remove rule.
22485 [$(run-built-tests) = yes] (tests): Depend on
22486 $(objpfx)tst-initorder-cmp.out.
22487 ($(objpfx)tst-initorder-cmp.out): New rule.
22488 ($(objpfx)tst-initorder2.out): Remove rule.
22489 [$(run-built-tests) = yes] (tests): Depend on
22490 $(objpfx)tst-initorder2-cmp.out.
22491 ($(objpfx)tst-initorder2-cmp.out): New rule.
22492 [$(run-built-tests) = yes] (tests): Depend on
22493 $(objpfx)tst-unused-dep-cmp.out.
22494 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
22495 ($(objpfx)tst-unused-dep-cmp.out): New rule.
22496 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
22497 on $(objpfx)tst-setvbuf1-cmp.out.
22498 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
22499 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
22500 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
22501 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
22502 ($(objpfx)tst-svc.out): Remove rule.
22503 ($(objpfx)tst-svc-cmp.out): New rule.
22504
22505 2014-02-13 Joseph Myers <joseph@codesourcery.com>
22506
22507 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
22508 * ctype/ctype.h [__USE_MISC]: Likewise.
22509 * dirent/dirent.h [__USE_MISC]: Likewise.
22510 * grp/grp.h [__USE_MISC]: Likewise.
22511 * io/fcntl.h [__USE_MISC]: Likewise.
22512 * io/sys/stat.h [__USE_MISC]: Likewise.
22513 * libio/stdio.h [__USE_MISC]: Likewise.
22514 * posix/unistd.h [__USE_MISC]: Likewise.
22515 * pwd/pwd.h [__USE_MISC]: Likewise.
22516 * stdlib.h [__USE_MISC]: Likewise.
22517 * string/bits/string2.h [__USE_MISC]: Likewise.
22518 * string/string.h [__USE_MISC]: Likewise.
22519 * time/time.h [__USE_MISC]: Likewise.
22520
22521 2014-02-13 Andreas Schwab <schwab@suse.de>
22522
22523 [BZ #16574]
22524 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
22525 second answer buffer if it was separately allocated.
22526
22527 2014-02-12 Joseph Myers <joseph@codesourcery.com>
22528
22529 * sysdeps/mips/math-tests.h: Include <features.h>.
22530 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22531 (ROUNDING_TESTS_long_double): Do not define.
22532 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22533 (EXCEPTION_TESTS_long_double): Likewise.
22534 * sysdeps/mips/mips64/libm-test-ulps: Update.
22535
22536 * include/features.h (__USE_BSD): Remove macro definitions.
22537 (__USE_SVID): Likewise.
22538 (_BSD_SOURCE): Likewise.
22539 (_SVID_SOURCE): Likewise.
22540 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
22541 from definition of _DEFAULT_SOURCE.
22542 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
22543 [_DEFAULT_SOURCE].
22544 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
22545 * bits/mman.h [__USE_BSD]: Likewise.
22546 * bits/termios.h [__USE_BSD]: Likewise.
22547 * bits/waitstatus.h [__USE_BSD]: Likewise.
22548 * ctype/ctype.h [__USE_SVID]: Likewise.
22549 * dirent/dirent.h [__USE_BSD]: Likewise.
22550 * grp/grp.h [__USE_SVID]: Likewise.
22551 [__USE_BSD]: Likewise.
22552 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
22553 * io/fcntl.h [__USE_BSD]: Likewise.
22554 * io/ftw.h [__USE_BSD]: Likewise.
22555 * io/sys/stat.h [__USE_BSD]: Likewise.
22556 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
22557 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
22558 * libio/stdio.h [__USE_SVID]: Likewise.
22559 [__USE_BSD]: Likewise.
22560 * math/math.h [__USE_SVID]: Likewise.
22561 [__USE_BSD]: Likewise.
22562 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
22563 * misc/bits/syslog.h [__USE_BSD]: Likewise.
22564 * misc/search.h [__USE_SVID]: Likewise.
22565 * misc/sys/mman.h [__USE_BSD]: Likewise.
22566 * misc/sys/syslog.h [__USE_BSD]: Likewise.
22567 * misc/sys/uio.h [__USE_BSD]: Likewise.
22568 * posix/bits/unistd.h [__USE_BSD]: Likewise.
22569 * posix/glob.h [__USE_BSD]: Likewise.
22570 * posix/regex.h [__USE_BSD]: Likewise.
22571 * posix/sys/types.h [__USE_BSD]: Likewise.
22572 [__USE_SVID]: Likewise.
22573 * posix/sys/utsname.h [__USE_SVID]: Likewise.
22574 * posix/sys/wait.h [__USE_BSD]: Likewise.
22575 [__USE_SVID]: Likewise.
22576 * posix/unistd.h [__USE_BSD]: Likewise.
22577 [__USE_SVID]: Likewise.
22578 * pwd/pwd.h [__USE_SVID]: Likewise.
22579 * resolv/netdb.h [__USE_BSD]: Likewise.
22580 * setjmp/setjmp.h [__USE_BSD]: Likewise.
22581 * signal/signal.h [__USE_BSD]: Likewise.
22582 [__USE_SVID]: Likewise.
22583 * socket/sys/socket.h [__USE_BSD]: Likewise.
22584 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
22585 * stdlib/stdlib.h [__USE_BSD]: Likewise.
22586 [__USE_SVID]: Likewise.
22587 * string/bits/string2.h [__USE_BSD]: Likewise.
22588 [__USE_SVID]: Likewise.
22589 * string/bits/string3.h [__USE_BSD]: Likewise.
22590 * string/endian.h [__USE_BSD]: Likewise.
22591 * string/string.h [__USE_SVID]: Likewise.
22592 [__USE_BSD]: Likewise.
22593 * string/strings.h [__USE_BSD]: Likewise.
22594 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
22595 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
22596 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
22597 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
22598 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
22599 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
22600 Likewise.
22601 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
22602 Likewise.
22603 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
22604 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
22605 Likewise.
22606 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
22607 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
22608 Likewise.
22609 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
22610 Likewise.
22611 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
22612 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
22613 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
22614 Likewise.
22615 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
22616 Likewise.
22617 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
22618 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
22619 * termios/termios.h [__USE_BSD]: Likewise.
22620 * time/sys/time.h [__USE_BSD]: Likewise.
22621 * time/time.h [__USE_BSD]: Likewise.
22622 [__USE_SVID]: Likewise.
22623
22624 * Makefile (subdir_targets): Remove subdir_lint.out.
22625
22626 * stdio-common/Makefile (do-tst-unbputc): Remove target.
22627 (do-tst-printf): Likewise.
22628 (tests): Depend directly on $(objpfx)tst-unbputc.out and
22629 $(objpfx)tst-printf.out.
22630
22631 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
22632
22633 * Makerules (check-abi-%): Change target to
22634 $(objpfx)check-abi-%.out.
22635 (check-abi target): Update dependencies.
22636 (check-abi-pattern variable): Redirect output of diff to $@.
22637 (check-abi variable): Likewise.
22638 * elf/Makefile (check-abi): Update dependencies.
22639
22640 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
22641 unused.
22642 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
22643 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
22644 subnormal range.
22645 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
22646 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
22647 value has largest subnormal exponent.
22648 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
22649 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
22650 * sysdeps/aarch64/soft-fp/sfp-machine.h
22651 (_FP_TININESS_AFTER_ROUNDING): New macro.
22652 * sysdeps/alpha/soft-fp/sfp-machine.h
22653 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22654 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22655 Likewise.
22656 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
22657 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22658 * sysdeps/mips/soft-fp/sfp-machine.h
22659 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22660 * sysdeps/powerpc/soft-fp/sfp-machine.h
22661 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22662 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22663 Likewise.
22664 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22665 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22666 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22667 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22668 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22669 Likewise.
22670
22671 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
22672
22673 [BZ #16545]
22674 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
22675 model 1.
22676
22677 2014-02-12 Richard Henderson <rth@redhat.com>
22678
22679 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
22680 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
22681 * sysdeps/unix/sysv/linux/alpha: Move directory from
22682 ports/sysdeps/unix/sysv/linux/alpha.
22683 * README: Update listing for alpha-*-linux-gnu.
22684
22685 2014-02-11 Joseph Myers <joseph@codesourcery.com>
22686
22687 * include/features.h: Update comment documenting feature test
22688 macros.
22689 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
22690 _DEFAULT_SOURCE.
22691 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
22692 (_SVID_SOURCE): Likewise.
22693 (_DEFAULT_SOURCE): Update description of default features.
22694 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
22695 with _GNU_SOURCE.
22696 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
22697 (S_ISVTX): Likewise.
22698 * manual/math.texi (Mathematical Constants): Likewise.
22699 * manual/signal.texi (Interrupted Primitives): Likewise.
22700 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
22701 * math/test-matherr.c (_SVID_SOURCE): Do not define.
22702 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
22703 Don't refer to _SVID_SOURCE in warning text.
22704
22705 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22706
22707 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
22708 already defined.
22709 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
22710 * sysdeps/mips/dl-lookup.c: Remove.
22711 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
22712
22713 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22714
22715 [BZ #16447]
22716 * math/auto-libm-test-in: Add testcase for expl.
22717 * math/auto-libm-test-out: Regenerate.
22718 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
22719 calculation of unsafe.
22720 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
22721
22722 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
22723
22724 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
22725 * sysdeps/unix/sysv/linux/aarch64: Move directory from
22726 ports/sysdeps/unix/sysv/linux/aarch64.
22727 * README: Update listing for aarch64*-*-linux-gnu.
22728
22729 2014-02-11 Will Newton <will.newton@linaro.org>
22730
22731 * manual/probes.texi (Mathematical Function Probes): Use
22732 "triggered" instead of "hit".
22733
22734 * manual/probes.texi (Internal Probes): Add documentation
22735 of setjmp, longjmp and longjmp_target probes.
22736
22737 * include/stap-probe.h: Add comment about probe argument
22738 format.
22739
22740 * malloc/mtrace.c (attribute_hidden): Remove unused macro
22741 definition. (tr_where, tr_freehook, tr_mallochook,
22742 tr_reallochook, tr_memalignhook): Use ANSI protoype.
22743
22744 2014-02-11 David S. Miller <davem@davemloft.net>
22745
22746 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
22747 processing int_tests.
22748
22749 2014-02-10 Joseph Myers <joseph@codesourcery.com>
22750
22751 * sysdeps/mips: Move directory from ports/sysdeps/mips.
22752 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
22753 * sysdeps/unix/sysv/linux/mips: Move directory from
22754 ports/sysdeps/unix/sysv/linux/mips.
22755 * README: Update listing for mips-*-linux-gnu and
22756 mips64-*-linux-gnu.
22757
22758 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
22759
22760 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
22761 * sysdeps/unix/sysv/linux/m68k: Move directory from
22762 ports/sysdeps/unix/sysv/linux/m68k.
22763 * README: Update listing for m68k-*-linux-gnu.
22764
22765 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
22766
22767 * sysdeps/tile: Move directory from ports/sysdeps/tile.
22768 * sysdeps/unix/sysv/linux/generic: Move directory from
22769 ports/sysdeps/unix/sysv/linux/generic.
22770 * sysdeps/unix/sysv/linux/tile: Move directory from
22771 ports/sysdeps/unix/sysv/linux/tile.
22772 * README: Update listing for tile*-*-linux-gnu.
22773
22774 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
22775
22776 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
22777 __builtin_expect.
22778 * benchtests/bench-memmem.c (simple_memmem): Likewise.
22779 * catgets/open_catalog.c (__open_catalog): Likewise.
22780 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
22781 * debug/confstr_chk.c: Likewise.
22782 * debug/fread_chk.c (__fread_chk): Likewise.
22783 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
22784 * debug/getgroups_chk.c: Likewise.
22785 * debug/mbsnrtowcs_chk.c: Likewise.
22786 * debug/mbsrtowcs_chk.c: Likewise.
22787 * debug/mbstowcs_chk.c: Likewise.
22788 * debug/memcpy_chk.c: Likewise.
22789 * debug/memmove_chk.c: Likewise.
22790 * debug/mempcpy_chk.c: Likewise.
22791 * debug/memset_chk.c: Likewise.
22792 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22793 * debug/strcat_chk.c (__strcat_chk): Likewise.
22794 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
22795 * debug/strncat_chk.c (__strncat_chk): Likewise.
22796 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
22797 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
22798 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
22799 * debug/wcpncpy_chk.c: Likewise.
22800 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22801 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
22802 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
22803 * debug/wcsncpy_chk.c: Likewise.
22804 * debug/wcsnrtombs_chk.c: Likewise.
22805 * debug/wcsrtombs_chk.c: Likewise.
22806 * debug/wcstombs_chk.c: Likewise.
22807 * debug/wmemcpy_chk.c: Likewise.
22808 * debug/wmemmove_chk.c: Likewise.
22809 * debug/wmempcpy_chk.c: Likewise.
22810 * debug/wmemset_chk.c: Likewise.
22811 * dirent/scandirat.c (SCANDIRAT): Likewise.
22812 * dlfcn/dladdr1.c (dladdr1): Likewise.
22813 * dlfcn/dladdr.c (dladdr): Likewise.
22814 * dlfcn/dlclose.c (dlclose_doit): Likewise.
22815 * dlfcn/dlerror.c (__dlerror): Likewise.
22816 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
22817 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
22818 * dlfcn/dlopen.c (dlopen_doit): Likewise.
22819 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
22820 * dlfcn/dlsym.c (dlsym_doit): Likewise.
22821 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
22822 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
22823 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
22824 Likewise.
22825 * elf/dl-conflict.c: Likewise.
22826 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
22827 * elf/dl-dst.h: Likewise.
22828 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
22829 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
22830 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
22831 * elf/dl-init.c (call_init, _dl_init): Likewise.
22832 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
22833 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
22834 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
22835 Likewise.
22836 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
22837 Likewise.
22838 * elf/dl-minimal.c (__libc_memalign): Likewise.
22839 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
22840 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22841 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
22842 * elf/dl-sym.c (do_sym): Likewise.
22843 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
22844 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
22845 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
22846 * elf/dl-writev.h (_dl_writev): Likewise.
22847 * elf/ldconfig.c (search_dir): Likewise.
22848 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
22849 (dl_main): Likewise.
22850 * elf/setup-vdso.h (setup_vdso): Likewise.
22851 * grp/compat-initgroups.c (compat_call): Likewise.
22852 * grp/fgetgrent.c (fgetgrent): Likewise.
22853 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
22854 * grp/putgrent.c (putgrent): Likewise.
22855 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22856 Likewise.
22857 * hurd/hurdinit.c: Likewise.
22858 * iconvdata/8bit-gap.c (struct): Likewise.
22859 * iconvdata/ansi_x3.110.c : Likewise.
22860 * iconvdata/big5.c : Likewise.
22861 * iconvdata/big5hkscs.c : Likewise.
22862 * iconvdata/cp1255.c: Likewise.
22863 * iconvdata/cp1258.c : Likewise.
22864 * iconvdata/cp932.c : Likewise.
22865 * iconvdata/euc-cn.c: Likewise.
22866 * iconvdata/euc-jisx0213.c : Likewise.
22867 * iconvdata/euc-jp.c: Likewise.
22868 * iconvdata/euc-jp-ms.c : Likewise.
22869 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
22870 * iconvdata/gb18030.c : Likewise.
22871 * iconvdata/gbbig5.c (const): Likewise.
22872 * iconvdata/gbgbk.c: Likewise.
22873 * iconvdata/gbk.c : Likewise.
22874 * iconvdata/ibm1364.c : Likewise.
22875 * iconvdata/ibm930.c : Likewise.
22876 * iconvdata/ibm932.c: Likewise.
22877 * iconvdata/ibm933.c : Likewise.
22878 * iconvdata/ibm935.c : Likewise.
22879 * iconvdata/ibm937.c : Likewise.
22880 * iconvdata/ibm939.c : Likewise.
22881 * iconvdata/ibm943.c: Likewise.
22882 * iconvdata/iso_11548-1.c: Likewise.
22883 * iconvdata/iso-2022-cn.c : Likewise.
22884 * iconvdata/iso-2022-cn-ext.c : Likewise.
22885 * iconvdata/iso-2022-jp-3.c: Likewise.
22886 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
22887 * iconvdata/iso-2022-kr.c : Likewise.
22888 * iconvdata/iso646.c (gconv_end): Likewise.
22889 * iconvdata/iso_6937-2.c : Likewise.
22890 * iconvdata/iso_6937.c : Likewise.
22891 * iconvdata/iso8859-1.c: Likewise.
22892 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
22893 * iconvdata/shift_jisx0213.c : Likewise.
22894 * iconvdata/sjis.c : Likewise.
22895 * iconvdata/t.61.c : Likewise.
22896 * iconvdata/tcvn5712-1.c : Likewise.
22897 * iconvdata/tscii.c: Likewise.
22898 * iconvdata/uhc.c : Likewise.
22899 * iconvdata/unicode.c (gconv_end): Likewise.
22900 * iconvdata/utf-16.c (gconv_end): Likewise.
22901 * iconvdata/utf-32.c (gconv_end): Likewise.
22902 * iconvdata/utf-7.c (base64): Likewise.
22903 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
22904 * iconv/gconv_close.c (__gconv_close): Likewise.
22905 * iconv/gconv_open.c (__gconv_open): Likewise.
22906 * iconv/gconv_simple.c (internal_ucs4_loop_single)
22907 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
22908 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
22909 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
22910 (ucs4le_internal_loop_single): Likewise.
22911 * iconv/iconv.c (iconv): Likewise.
22912 * iconv/iconv_close.c: Likewise.
22913 * iconv/loop.c (SINGLE): Likewise.
22914 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
22915 * include/atomic.h: Likewise.
22916 * inet/inet6_option.c (option_alloc): Likewise.
22917 * intl/bindtextdom.c (set_binding_values): Likewise.
22918 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
22919 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
22920 * intl/localealias.c (read_alias_file): Likewise.
22921 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22922 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
22923 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
22924 * libio/fmemopen.c (fmemopen): Likewise.
22925 * libio/iofgets.c (_IO_fgets): Likewise.
22926 * libio/iofgets_u.c (fgets_unlocked): Likewise.
22927 * libio/iofgetws.c (fgetws): Likewise.
22928 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
22929 * libio/iogetdelim.c (_IO_getdelim): Likewise.
22930 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
22931 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
22932 * locale/findlocale.c (_nl_find_locale): Likewise.
22933 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
22934 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
22935 Likewise.
22936 * locale/setlocale.c (setlocale): Likewise.
22937 * login/programs/pt_chown.c (main): Likewise.
22938 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
22939 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
22940 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
22941 (mmap, mmap64, mremap, munmap): Likewise.
22942 * math/e_exp2l.c: Likewise.
22943 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
22944 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
22945 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
22946 * math/s_catan.c (__catan): Likewise.
22947 * math/s_catanf.c (__catanf): Likewise.
22948 * math/s_catanh.c (__catanh): Likewise.
22949 * math/s_catanhf.c (__catanhf): Likewise.
22950 * math/s_catanhl.c (__catanhl): Likewise.
22951 * math/s_catanl.c (__catanl): Likewise.
22952 * math/s_ccosh.c (__ccosh): Likewise.
22953 * math/s_ccoshf.c (__ccoshf): Likewise.
22954 * math/s_ccoshl.c (__ccoshl): Likewise.
22955 * math/s_cexp.c (__cexp): Likewise.
22956 * math/s_cexpf.c (__cexpf): Likewise.
22957 * math/s_cexpl.c (__cexpl): Likewise.
22958 * math/s_clog10.c (__clog10): Likewise.
22959 * math/s_clog10f.c (__clog10f): Likewise.
22960 * math/s_clog10l.c (__clog10l): Likewise.
22961 * math/s_clog.c (__clog): Likewise.
22962 * math/s_clogf.c (__clogf): Likewise.
22963 * math/s_clogl.c (__clogl): Likewise.
22964 * math/s_csin.c (__csin): Likewise.
22965 * math/s_csinf.c (__csinf): Likewise.
22966 * math/s_csinh.c (__csinh): Likewise.
22967 * math/s_csinhf.c (__csinhf): Likewise.
22968 * math/s_csinhl.c (__csinhl): Likewise.
22969 * math/s_csinl.c (__csinl): Likewise.
22970 * math/s_csqrt.c (__csqrt): Likewise.
22971 * math/s_csqrtf.c (__csqrtf): Likewise.
22972 * math/s_csqrtl.c (__csqrtl): Likewise.
22973 * math/s_ctan.c (__ctan): Likewise.
22974 * math/s_ctanf.c (__ctanf): Likewise.
22975 * math/s_ctanh.c (__ctanh): Likewise.
22976 * math/s_ctanhf.c (__ctanhf): Likewise.
22977 * math/s_ctanhl.c (__ctanhl): Likewise.
22978 * math/s_ctanl.c (__ctanl): Likewise.
22979 * math/w_pow.c: Likewise.
22980 * math/w_powf.c: Likewise.
22981 * math/w_powl.c: Likewise.
22982 * math/w_scalb.c (sysv_scalb): Likewise.
22983 * math/w_scalbf.c (sysv_scalbf): Likewise.
22984 * math/w_scalbl.c (sysv_scalbl): Likewise.
22985 * misc/error.c (error_tail): Likewise.
22986 * misc/pselect.c (__pselect): Likewise.
22987 * nis/nis_callback.c (__nis_create_callback): Likewise.
22988 * nis/nis_call.c (__nisfind_server): Likewise.
22989 * nis/nis_creategroup.c (nis_creategroup): Likewise.
22990 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
22991 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
22992 * nis/nis_getservlist.c (nis_getservlist): Likewise.
22993 * nis/nis_lookup.c (nis_lookup): Likewise.
22994 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
22995 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
22996 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
22997 * nis/nis_xdr.c (xdr_endpoint): Likewise.
22998 * nis/nss_compat/compat-grp.c (getgrent_next_file)
22999 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
23000 * nis/nss_compat/compat-initgroups.c (add_group)
23001 (internal_getgrent_r): Likewise.
23002 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
23003 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
23004 * nis/nss_compat/compat-spwd.c (getspent_next_file)
23005 (internal_getspnam_r): Likewise.
23006 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
23007 (_nss_nis_getaliasbyname_r): Likewise.
23008 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
23009 (_nss_nis_getntohost_r): Likewise.
23010 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
23011 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
23012 (_nss_nis_getgrgid_r): Likewise.
23013 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
23014 (internal_nis_gethostent_r, internal_gethostbyname2_r)
23015 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
23016 (_nss_nis_gethostbyname4_r): Likewise.
23017 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
23018 (initgroups_netid): Likewise.
23019 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
23020 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
23021 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
23022 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
23023 (_nss_nis_getprotobynumber_r): Likewise.
23024 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
23025 (_nss_nis_getsecretkey): Likewise.
23026 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
23027 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
23028 (_nss_nis_getpwuid_r): Likewise.
23029 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
23030 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
23031 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
23032 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
23033 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
23034 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
23035 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
23036 Likewise.
23037 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
23038 (_nss_nisplus_getntohost_r): Likewise.
23039 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
23040 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
23041 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
23042 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
23043 Likewise.
23044 * nis/nss_nisplus/nisplus-initgroups.c
23045 (_nss_nisplus_initgroups_dyn): Likewise.
23046 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
23047 (_nss_nisplus_getnetbyaddr_r): Likewise.
23048 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
23049 (_nss_nisplus_getprotobynumber_r): Likewise.
23050 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
23051 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
23052 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
23053 Likewise.
23054 * nis/nss_nisplus/nisplus-service.c
23055 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
23056 (_nss_nisplus_getservbyport_r): Likewise.
23057 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
23058 (_nss_nisplus_getspnam_r): Likewise.
23059 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
23060 Likewise.
23061 * nscd/aicache.c (addhstaiX): Likewise.
23062 * nscd/cache.c (cache_search, prune_cache): Likewise.
23063 * nscd/connections.c (register_traced_file, send_ro_fd)
23064 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
23065 (main_loop_epoll): Likewise.
23066 * nscd/grpcache.c (addgrbyX): Likewise.
23067 * nscd/hstcache.c (addhstbyX): Likewise.
23068 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23069 * nscd/mem.c (gc, mempool_alloc): Likewise.
23070 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
23071 (addinnetgrX): Likewise.
23072 * nscd/nscd-client.h (__nscd_acquire_maplock)
23073 (__nscd_drop_map_ref): Likewise.
23074 * nscd/nscd_getai.c (__nscd_getai): Likewise.
23075 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
23076 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
23077 Likewise.
23078 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
23079 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23080 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
23081 (__nscd_get_map_ref): Likewise.
23082 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
23083 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
23084 Likewise.
23085 * nscd/pwdcache.c (addpwbyX): Likewise.
23086 * nscd/selinux.c (preserve_capabilities): Likewise.
23087 * nscd/servicescache.c (addservbyX): Likewise.
23088 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
23089 * posix/fnmatch.c (fnmatch): Likewise.
23090 * posix/getopt.c (_getopt_internal_r): Likewise.
23091 * posix/glob.c (glob, glob_in_dir): Likewise.
23092 * posix/wordexp.c (exec_comm_child): Likewise.
23093 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
23094 (getanswer_r, gaih_getanswer_slice): Likewise.
23095 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
23096 * resolv/res_init.c: Likewise.
23097 * resolv/res_mkquery.c (res_nmkquery): Likewise.
23098 * resolv/res_query.c (__libc_res_nquery): Likewise.
23099 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
23100 Likewise.
23101 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
23102 * stdio-common/perror.c (perror): Likewise.
23103 * stdio-common/printf_fp.c (___printf_fp): Likewise.
23104 * stdio-common/tmpnam.c (tmpnam): Likewise.
23105 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23106 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
23107 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23108 Likewise.
23109 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
23110 * stdlib/putenv.c (putenv): Likewise.
23111 * stdlib/setenv.c (__add_to_environ): Likewise.
23112 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23113 * stdlib/strtol_l.c (INTERNAL): Likewise.
23114 * string/memmem.c (memmem): Likewise.
23115 * string/strerror.c (strerror): Likewise.
23116 * string/strnlen.c (__strnlen): Likewise.
23117 * string/test-memmem.c (simple_memmem): Likewise.
23118 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
23119 * sunrpc/pm_getport.c (__get_socket): Likewise.
23120 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
23121 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
23122 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
23123 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
23124 Likewise.
23125 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
23126 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23127 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
23128 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
23129 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
23130 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
23131 Likewise.
23132 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
23133 Likewise.
23134 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
23135 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
23136 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23137 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23138 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
23139 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
23140 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
23141 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
23142 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
23143 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
23144 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23145 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
23146 Likewise.
23147 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
23148 Likewise.
23149 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
23150 Likewise.
23151 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
23152 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23153 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
23154 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
23155 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
23156 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
23157 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23158 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
23159 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
23160 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
23161 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
23162 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23163 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
23164 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
23165 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23166 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
23167 Likewise.
23168 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
23169 Likewise.
23170 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
23171 Likewise.
23172 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
23173 Likewise.
23174 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23175 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23176 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
23177 Likewise.
23178 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
23179 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
23180 * sysdeps/posix/opendir.c (__opendirat): Likewise.
23181 * sysdeps/posix/sleep.c: Likewise.
23182 * sysdeps/posix/tempname.c: Likewise.
23183 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
23184 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23185 Likewise.
23186 * sysdeps/powerpc/powerpc32/dl-machine.h
23187 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
23188 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
23189 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23190 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
23191 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
23192 Likewise.
23193 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
23194 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
23195 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23196 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
23197 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23198 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
23199 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
23200 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
23201 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23202 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
23203 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
23204 (elf_machine_lazy_rel): Likewise.
23205 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23206 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
23207 (elf_machine_lazy_rel): Likewise.
23208 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
23209 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
23210 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
23211 * sysdeps/unix/grantpt.c (grantpt): Likewise.
23212 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
23213 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
23214 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
23215 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23216 Likewise.
23217 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
23218 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
23219 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
23220 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
23221 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23222 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23223 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
23224 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
23225 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
23226 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23227 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23228 Likewise.
23229 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
23230 (__posix_fallocate64_l64): Likewise.
23231 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
23232 (posix_fallocate): Likewise.
23233 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
23234 Likewise.
23235 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23236 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
23237 (getifaddrs_internal): Likewise.
23238 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
23239 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
23240 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
23241 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
23242 * sysdeps/unix/sysv/linux/posix_fallocate64.c
23243 (__posix_fallocate64_l64): Likewise.
23244 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
23245 Likewise.
23246 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
23247 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
23248 (__get_clockfreq): Likewise.
23249 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
23250 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
23251 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
23252 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23253 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23254 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
23255 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
23256 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
23257 Likewise.
23258 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
23259 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
23260 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
23261 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
23262 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23263 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
23264 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
23265 Likewise.
23266 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23267 (posix_fallocate): Likewise.
23268 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23269 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
23270 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
23271 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
23272 (elf_machine_rela, elf_machine_rela_relative)
23273 (elf_machine_lazy_rel): Likewise.
23274 * time/asctime.c (asctime_internal): Likewise.
23275 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
23276 * time/tzset.c (__tzset_parse_tz): Likewise.
23277 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23278 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
23279 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
23280 * wcsmbs/wcsmbsload.h: Likewise.
23281
23282 [BZ #15894]
23283 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
23284
23285 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
23286 (arena_get2): Remove THREAD_STATS conditionals.
23287 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
23288 (__malloc_stats, int): Likewise.
23289
23290 2014-02-08 Mike Frysinger <vapier@gentoo.org>
23291
23292 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
23293 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
23294
23295 * manual/setjmp.texi: Fix typos/grammar errors.
23296
23297 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
23298 Only return early when n is <= 0. Delete unused return statement.
23299
23300 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
23301 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
23302 * debug/tst-longjmp_chk3.c: New file.
23303
23304 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
23305 (test_main): Replace code with set_fortify_handler call.
23306 * debug/test-strcpy_chk.c: Likewise.
23307 * debug/tst-chk1.c: Likewise.
23308 * debug/tst-longjmp_chk.c: Likewise.
23309 * test-skeleton.c: Include fcntl.h & paths.h
23310 (set_fortify_handler): Define.
23311
23312 * debug/tst-longjmp_chk.c: Add header comment and include
23313 ../test-skeleton.c.
23314 (do_test): Mark static.
23315 (TEST_FUNCTION): Define.
23316
23317 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
23318 (IP_PMTUDISC_INTERFACE): Likewise.
23319 (IP_MULTICAST_IF): Likewise.
23320 (IP_MULTICAST_TTL): Likewise.
23321 (IP_MULTICAST_LOOP): Likewise.
23322 (IP_ADD_MEMBERSHIP): Likewise.
23323 (IP_DROP_MEMBERSHIP): Likewise.
23324 (IP_UNBLOCK_SOURCE): Likewise.
23325 (IP_BLOCK_SOURCE): Likewise.
23326 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
23327 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
23328 (IP_MSFILTER): Likewise.
23329 (MCAST_JOIN_GROUP): Likewise.
23330 (MCAST_BLOCK_SOURCE): Likewise.
23331 (MCAST_UNBLOCK_SOURCE): Likewise.
23332 (MCAST_LEAVE_GROUP): Likewise.
23333 (MCAST_JOIN_SOURCE_GROUP): Likewise.
23334 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
23335 (MCAST_MSFILTER): Likewise.
23336 (IP_MULTICAST_ALL): Likewise.
23337 (IP_UNICAST_IF): Likewise.
23338
23339 * timezone/Makefile: Delete $(have-ksh) check.
23340 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
23341 * timezone/tzselect.ksh: Add +x mode bits.
23342
23343 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
23344 (ANON_INODE_FS_MAGIC): Likewise.
23345 (BDEVFS_MAGIC): Likewise.
23346 (BINFMTFS_MAGIC): Likewise.
23347 (BTRFS_TEST_MAGIC): Likewise.
23348 (CRAMFS_MAGIC_WEND): Likewise.
23349 (DEBUGFS_MAGIC): Likewise.
23350 (ECRYPTFS_SUPER_MAGIC): Likewise.
23351 (EXT3_SUPER_MAGIC): Likewise.
23352 (EXT4_SUPER_MAGIC): Likewise.
23353 (FUTEXFS_SUPER_MAGIC): Likewise.
23354 (HOSTFS_SUPER_MAGIC): Likewise.
23355 (HUGETLBFS_MAGIC): Likewise.
23356 (MINIX3_SUPER_MAGIC): Likewise.
23357 (MTD_INODE_FS_MAGIC): Likewise.
23358 (NILFS_SUPER_MAGIC): Likewise.
23359 (OPENPROM_SUPER_MAGIC): Likewise.
23360 (PIPEFS_MAGIC): Likewise.
23361 (PSTOREFS_MAGIC): Likewise.
23362 (QNX6_SUPER_MAGIC): Likewise.
23363 (RAMFS_MAGIC): Likewise.
23364 (REISERFS_SUPER_MAGIC_STRING): Likewise.
23365 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
23366 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
23367 (SECURITYFS_MAGIC): Likewise.
23368 (SELINUX_MAGIC): Likewise.
23369 (SMACK_MAGIC): Likewise.
23370 (SOCKFS_MAGIC): Likewise.
23371 (SQUASHFS_MAGIC): Likewise.
23372 (STACK_END_MAGIC): Likewise.
23373 (TMPFS_MAGIC): Likewise.
23374 (USBDEVICE_SUPER_MAGIC): Likewise.
23375 (V9FS_MAGIC): Likewise.
23376 (XENFS_SUPER_MAGIC): Likewise.
23377 (CRAMFS_MAGIC): Fix typo in comment.
23378 (EXT2_SUPER_MAGIC): Update comment.
23379 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
23380
23381 2014-02-08 Joseph Myers <joseph@codesourcery.com>
23382
23383 * sysdeps/arm: Move directory from ports/sysdeps/arm.
23384 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
23385 * sysdeps/unix/sysv/linux/arm: Move directory from
23386 ports/sysdeps/unix/sysv/linux/arm.
23387 * README: Update listing for arm-*-linux-gnueabi.
23388
23389 * README: Remove mention of am33.
23390
23391 2014-02-07 Roland McGrath <roland@hack.frob.com>
23392
23393 * bits/sigset.h (__sigemptyset): Use a statement expression rather
23394 than the comma operator, to avoid "rhs of comma has no effect"
23395 compiler warnings.
23396 (__sigfillset, __sigandset, __sigorset): Likewise.
23397 * include/signal.h (__sigemptyset): Likewise.
23398 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
23399
23400 2014-02-07 Allan McRae <allan@archlinux.org>
23401
23402 * version.h (RELEASE): Set to "development".
23403 (VERSION): Set to "2.19.90"
23404 * NEWS: Add 2.20 section.
23405
23406 2014-02-06 Carlos O'Donell <carlos@redhat.com>
23407
23408 [BZ #16529]
23409 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
23410
23411 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23412
23413 * manual/contrib.texi: Update entry for Carlos O'Donell,
23414 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
23415
23416 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
23417
23418 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
23419
23420 * sysdeps/unix/sysv/linux/kernel-features.h
23421 [__LINUX_KERNEL_VERSION >= 0x020621]
23422 (__ASSUME_PROC_PID_TASK_COMM): Define.
23423
23424 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23425
23426 [BZ #16398]
23427 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
23428 conversion when destination buffer does not have enough space.
23429 * libio/tst-ftell-partial-wide.c: New test case.
23430 * libio/Makefile (tests): Add tst-ftell-partial-wide.
23431
23432 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
23433 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
23434 Leonard and Allan McRae.
23435
23436 2014-02-04 David S. Miller <davem@davemloft.net>
23437
23438 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
23439 32-bit.
23440
23441 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23442
23443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
23444 New file
23445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
23446 New file
23447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
23448 New file.
23449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
23450 New file.
23451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
23452 New file.
23453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
23454 New file.
23455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
23456 New file.
23457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
23458 New file.
23459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
23460 New file.
23461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
23462 New file.
23463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
23464 New file.
23465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
23466 New file.
23467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
23468 New file.
23469
23470 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23471
23472 * nptl/shlib-versions: Change powerpc*le start to 2.17.
23473 * shlib-versions: Likewise.
23474
23475 2014-02-04 Roland McGrath <roland@hack.frob.com>
23476 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23477
23478 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
23479 (abilist-pattern): New variable, set to %-le.abilist.
23480
23481 * Makerules (abilist-pattern): New variable.
23482 (vpath): Use $(abilist-pattern) in place of %.abilist.
23483 (check-abi-% pattern rule): Likewise.
23484 (check-abi, update-abi): Likewise.
23485
23486 2014-02-04 Eric Wong <normalperson@yhbt.net>
23487
23488 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23489
23490 2014-02-03 Carlos O'Donell <carlos@redhat.com>
23491
23492 * manual/startup.texi: Add next, previous, and top entries for
23493 the `Program Arguments' and `Environment Variables' nodes.
23494
23495 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
23496
23497 * manual/macros.texi: Add comments before MTASC-safety macros.
23498
23499 * manual/users.texi: Document MTASC-safety properties.
23500
23501 * manual/threads.texi (pthread_key_create, pthread_key_delete)
23502 (pthread_getspecific, pthread_setspecific): Format with
23503 @deftypefun, and add @safety note.
23504 * manual/signal.texi: Move comments that analyze the above
23505 functions to their home place.
23506
23507 2014-02-03 Allan McRae <allan@archlinux.org>
23508
23509 * po/sl.po: Update Slovenian translation from translation project.
23510
23511 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
23512
23513 * manual/time.texi (timegm): Add missing blank after @c.
23514 Reported by Joseph Myers <joseph@codesourcery.com>.
23515
23516 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
23517
23518 * manual/check-safety.sh: New.
23519 * manual/Makefile ($(objpfx)stamp-summary): Run it.
23520
23521 * manual/terminal.texi: Document MTASC-safety properties.
23522
23523 * manual/filesys.texi: Document MTASC-safety properties.
23524
23525 * manual/errno.texi: Document MTASC-safety properties.
23526
23527 * manual/intro.texi: Document safety identifiers and
23528 conditionals.
23529
23530 * manual/string.texi (wcstok): Fix prototype.
23531 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
23532
23533 * manual/time.texi: Document MTASC-safety properties.
23534
23535 * manual/string.texi: Document MTASC-safety properties.
23536
23537 * manual/threads.texi: Document MTASC-safety properties.
23538
23539 * manual/stdio.texi: Document MTASC-safety properties.
23540
23541 * manual/syslog.texi: Document MTASC-safety properties.
23542
23543 * manual/sysinfo.texi: Document MTASC-safety properties.
23544
23545 * manual/startup.texi: Document MTASC-safety properties.
23546
23547 * manual/socket.texi: Document MTASC-safety properties.
23548
23549 * manual/signal.texi: Document MTASC-safety properties.
23550
23551 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
23552
23553 * manual/setjmp.texi: Document MTASC-safety properties.
23554
23555 * manual/search.texi: Document MTASC-safety properties.
23556
23557 * manual/resource.texi: Document MTASC-safety properties.
23558
23559 * manual/process.texi: Document MTASC-safety properties.
23560
23561 * manual/platform.texi: Document MTASC-safety properties.
23562
23563 * manual/pipe.texi: Document MTASC-safety properties.
23564
23565 * manual/pattern.texi: Document MTASC-safety properties.
23566
23567 * manual/message.texi: Document MTASC-safety properties.
23568
23569 [BZ #12751]
23570 * manual/memory.texi: Document MTASC-safety properties.
23571
23572 * manual/math.texi: Document MTASC-safety properties.
23573
23574 * manual/locale.texi: Document MTASC-safety properties.
23575
23576 * manual/llio.texi: Document MTASC-safety properties.
23577
23578 * manual/libdl.texi: New.
23579
23580 * manual/lang.texi: Document MTASC-safety properties.
23581
23582 * manual/job.texi: Document MTASC-safety properties.
23583
23584 * manual/getopt.texi: Document MTASC-safety properties.
23585
23586 * manual/ctype.texi: Document MTASC-safety properties.
23587
23588 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
23589
23590 [BZ #16046]
23591 * csu/libc-tls.c (static_map): Remove variable.
23592 (__libc_setup_tls): Use main executable's link map for TLS data.
23593 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
23594 casing for LM_ID_BASE and GL(dl_nns).
23595 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
23596 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
23597 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
23598 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
23599 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
23600 member.
23601 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
23602 l_phnum members.
23603
23604 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
23605
23606 * manual/debug.texi: Document MTASC-safety properties.
23607
23608 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
23609
23610 [BZ #16510]
23611 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
23612 of __x86_64__ when disabling x87 inline functions.
23613
23614 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
23615
23616 * manual/charset.texi: Document MTASC-safety properties.
23617
23618 * manual/crypt.texi: Document MTASC-safety properties.
23619
23620 * manual/conf.texi: Document MTASC-safety properties.
23621
23622 * manual/arith.texi: Document MTASC-safety properties.
23623
23624 * manual/argp.texi: Document MTASC-safety properties.
23625
23626 * manual/macros.texi: Introduce macros to document multi
23627 thread, asynchronous signal and asynchronous cancellation
23628 safety properties.
23629 * manual/intro.texi: Introduce the properties themselves.
23630
23631 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23632
23633 * sysdeps/sh/sh4/Makefile: New file.
23634
23635 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
23636
23637 * math/gen-libm-test.pl ($srcdir): New variable.
23638 ($auto_input): Use it.
23639
23640 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23641
23642 [BZ #16506]
23643 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
23644 access beyond array bounds when parsing netgroups file.
23645
23646 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
23647 the old buffer before realloc.
23648
23649 2014-01-27 Allan McRae <allan@archlinux.org>
23650
23651 * po/fr.po: Update French translation from translation project.
23652
23653 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23654
23655 * sysdeps/sh/libm-test-ulps: Regenerate.
23656
23657 2014-01-24 David S. Miller <davem@davemloft.net>
23658
23659 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
23660
23661 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23662
23663 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
23664 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
23665
23666 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23667
23668 [BZ #16474]
23669 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
23670 string pointers after reallocation.
23671
23672 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23673
23674 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
23675 __SH4A__ instead of __SH_FPU_ANY__.
23676
23677 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23678
23679 * sysdeps/sh/fpu_control.h: New file.
23680 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
23681 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
23682 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
23683 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
23684 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
23685 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
23686 * sysdeps/sh/sys/ucontext.h: Remove.
23687 * sysdeps/sh/sys: Remove directory.
23688
23689 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23690
23691 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
23692 s390/sys/ucontext.h.
23693 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
23694 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
23695
23696 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
23697
23698 [BZ #15605]
23699 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
23700
23701 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23702
23703 [BZ#16431]
23704 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23705 Adjust the vDSO correctly for internal calls.
23706 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
23707
23708 2014-01-20 Allan McRae <allan@archlinux.org>
23709
23710 * po/ca.po: Update Catalan translation from translation project.
23711
23712 2014-01-16 Mike Frysinger <vapier@gentoo.org>
23713
23714 * sysdeps/s390/sotruss-lib.c: New file.
23715
23716 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23717
23718 [BZ#16430]
23719 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
23720 (__GI___gettimeofday): Alias for a different internal symbol to avoid
23721 local calls issues by not having a PLT stub required for IFUNC calls.
23722 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
23723
23724 2014-01-16 Joseph Myers <joseph@codesourcery.com>
23725
23726 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
23727 * math/test-fpucw-static.c: Likewise.
23728
23729 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23730
23731 [BZ #16453]
23732 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
23733
23734 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23735
23736 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
23737 implementation for powerpc.
23738
23739 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
23740
23741 [BZ #14782]
23742 * sysdeps/posix/system.c (__libc_system): Do not enable
23743 asynchronous cancellation.
23744
23745 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23746
23747 [BZ #16427]
23748 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
23749 handling only for numbers special also in the IEEE case.
23750
23751 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23752
23753 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23754
23755 2014-01-11 Allan McRae <allan@archlinux.org>
23756
23757 * po/bg.po: Update Bulgarian translation from translation project.
23758
23759 * po/de.po: Update German translation from translation project.
23760
23761 2014-01-10 Roland McGrath <roland@hack.frob.com>
23762
23763 * sysdeps/generic/gcc-compat.h: New file.
23764
23765 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23766
23767 * benchtests/asin-inputs: Correct slow inputs.
23768 * benchtests/acos-inputs: Likewise.
23769
23770 2014-01-10 Allan McRae <allan@archlinux.org>
23771
23772 * po:sv.po: Update Swedish translation from translation project.
23773
23774 * po/vi.po: Update Vietnamese translation from translation project.
23775
23776 * po/eo.po: Update Esperanto translation from translation project.
23777
23778 * po/cs.po: Update Czech translation from translation project.
23779
23780 * po/nl.po: Update Dutch translation from translation project.
23781
23782 * po/pl.po: Update Polish translation from translation project.
23783
23784 * po/ru.po: Update Russian translation from translation project.
23785
23786 * po/uk.po: Update Ukrainian translation from translation project.
23787
23788 2014-01-08 Brooks Moses <bmoses@google.com>
23789
23790 * elf/dl-load.c: Fix comment typo.
23791
23792 2014-01-08 Carlos O'Donell <carlos@redhat.com>
23793
23794 * po/header.pot: Rename to...
23795 * po/pot.header: ... this.
23796 * po/Makefile: Use pot.header.
23797
23798 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
23799 Maxim Kuvyrkov <maxim@kugelworks.com>
23800
23801 [BZ #16394]
23802 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
23803 SRC and DEST against LEN.
23804
23805 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23806
23807 [BZ #16414]
23808 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
23809 implementation.
23810 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
23811
23812 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23813
23814 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23815
23816 2014-01-08 Joseph Myers <joseph@codesourcery.com>
23817
23818 [BZ #16408]
23819 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
23820 for large positive arguments.
23821
23822 2014-01-07 Joseph Myers <joseph@codesourcery.com>
23823
23824 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23825
23826 * math/auto-libm-test-in: Mark various tests with
23827 xfail-rounding:ldbl-128ibm.
23828 * math/auto-libm-test-out: Regenerated.
23829
23830 [BZ #16407]
23831 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
23832 Increase overflow threshold.
23833
23834 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
23835
23836 [BZ #14286]
23837 * stdio-common/vfprintf.c: Check for integer overflow.
23838
23839 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23840
23841 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
23842 the first argument and return value of __tls_get_addr_internal.
23843
23844 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23845
23846 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
23847 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
23848
23849 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23850
23851 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
23852 * sysdeps/s390/rtld-global-offsets.sym: New file.
23853 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
23854 GLIBC_2.19 symbol.
23855 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
23856 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
23857 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
23858 ... this.
23859 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
23860 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
23861 ... this.
23862 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23863 Regenerate.
23864 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23865 Regenerate.
23866 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
23867 halfs of GPRs for high_gprs contexts.
23868 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
23869 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
23870 field.
23871 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
23872 uc_flags field.
23873 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
23874 64 bit versions:
23875 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
23876 for high GPRs (uc_high_gprs) and for future extensions
23877 (__reserved).
23878 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
23879 for future extensions (__reserved).
23880 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
23881 64 bit versions:
23882 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
23883 SC_HIGHGPRS offset definition.
23884 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
23885 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
23886
23887 * Versions.def: Add GLIBC_2.19 for libpthread.
23888 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
23889 siglongjmp for libpthread with GLIBC_2.19 symver.
23890 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
23891 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
23892 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
23893 * sysdeps/s390/__longjmp.c: New file.
23894 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
23895 * sysdeps/s390/longjmp.c: New file.
23896 * sysdeps/s390/setjmp.S: New file.
23897 * sysdeps/s390/sigjmp.S: New file.
23898 * sysdeps/s390/v1-longjmp.c: New file.
23899 * sysdeps/s390/v1-setjmp.h: New file.
23900 * sysdeps/s390/v1-sigjmp.c: New file.
23901 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
23902 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
23903 GLIBC_2.19 version.
23904 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
23905 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
23906 versioned symbols for ____longjmp_chk.
23907 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
23908 Likewise.
23909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23910 Regenerate.
23911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23912 Regenerate.
23913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23914 Regenerate.
23915 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23916 Regenerate.
23917 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
23918 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
23919 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
23920 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
23921 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
23922 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
23923 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
23924 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
23925 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
23926 * sysdeps/s390/rtld-__longjmp.c: New file.
23927 * sysdeps/s390/rtld-setjmp.S: New file.
23928
23929 2014-01-06 Joseph Myers <joseph@codesourcery.com>
23930
23931 [BZ #16400]
23932 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23933 Return -__logl (x) for small positive arguments without evaluating
23934 a polynomial.
23935
23936 2014-01-06 Mike Frysinger <vapier@gentoo.org>
23937
23938 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
23939 Rename to ...
23940 (__ptrace_peeksiginfo_args): ... this.
23941 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23942 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23943 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23944
23945 2014-01-06 Allan McRae <allan@archlinux.org>
23946
23947 * inet/netinet/in.h: Fix typo in comment.
23948
23949 2014-01-05 Andreas Jaeger <aj@suse.de>
23950
23951 * sysdeps/i386/fpu/libm-test-ulps: Update.
23952
23953 2014-01-05 Allan McRae <allan@archlinux.org>
23954
23955 * po/libc.pot: Regenerated.
23956
23957 * malloc/memusagestat.c: Fix gettext call formatting.
23958
23959 2014-01-04 Sami Kerola <kerolasa@iki.fi>
23960
23961 * nscd/nscd.c: Improve usage() output.
23962
23963 2014-01-04 Mike Frysinger <vapier@gentoo.org>
23964
23965 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
23966 * sysdeps/unix/sysv/linux/configure: Regenerated.
23967 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
23968 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
23969
23970 2014-01-03 Joseph Myers <joseph@codesourcery.com>
23971
23972 [BZ #16390]
23973 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23974 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
23975
23976 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23977
23978 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
23979 extra tokens at end of #undef directive.
23980 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23981 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
23982 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
23983
23984 2014-01-03 Joseph Myers <joseph@codesourcery.com>
23985
23986 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23987
23988 * math/auto-libm-test-in: Mark various tests with
23989 xfail-rounding:ldbl-128ibm.
23990 * math/auto-libm-test-out: Regenerated.
23991
23992 2014-01-02 Joseph Myers <joseph@codesourcery.com>
23993
23994 [BZ #16386]
23995 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
23996 numbers with subnormal high part when calculating exponent.
23997
23998 [BZ #16385]
23999 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
24000 fabs.
24001
24002 [BZ #16384]
24003 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
24004 M_LN2l.
24005 (__ieee754_acoshl): Use __log1pl not __log1p.
24006
24007 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
24008
24009 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
24010 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
24011 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
24012 (grow_heap, heap_trim, _int_new_arena, get_free_list)
24013 (reused_arena, arena_get2): Convert to GNU style.
24014 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
24015 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
24016 (memalign_check, __malloc_set_state): Likewise.
24017 * malloc/mallocbug.c (main): Likewise.
24018 * malloc/malloc.c (__malloc_assert, malloc_init_state)
24019 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
24020 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
24021 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
24022 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
24023 (__posix_memalign, malloc_info): Likewise.
24024 * malloc/malloc.h: Likewise.
24025 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
24026 (mallochook, memalignhook, reallochook, mabort): Likewise.
24027 * malloc/mcheck.h: Likewise.
24028 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
24029 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
24030 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
24031 * malloc/morecore.c (__default_morecore): Likewise.
24032 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
24033 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
24034 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
24035 (print_and_abort): Likewise.
24036 * malloc/obstack.h: Likewise.
24037 * malloc/set-freeres.c (__libc_freeres): Likewise.
24038 * malloc/tst-mallocstate.c (main): Likewise.
24039 * malloc/tst-mtrace.c (main): Likewise.
24040 * malloc/tst-realloc.c (do_test): Likewise.
24041
24042 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24043
24044 [BZ #16366]
24045 * nscd/netgroupcache.c (do_notfound): New function.
24046 (addgetnetgrentX): Use it.
24047
24048 [BZ # 16365]
24049 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
24050 NSS_STATUS_NOTFOUND.
24051
24052 2014-01-01 Joseph Myers <joseph@codesourcery.com>
24053
24054 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24056
24057 2014-01-01 Allan McRae <allan@archlinux.org>
24058
24059 * scripts/update-copyrights: Update configure input file suffix.
24060
24061 * NEWS: Update copyright year.
24062 * catgets/gencat.c: Likewise.
24063 * csu/version.c: Likewise.
24064 * debug/catchsegv.sh: Likewise.
24065 * debug/pcprofiledump.c: Likewise.
24066 * debug/xtrace.sh: Likewise.
24067 * elf/ldconfig.c: Likewise.
24068 * elf/ldd.bash.in: Likewise.
24069 * elf/pldd.c: Likewise.
24070 * elf/sotruss.ksh: Likewise.
24071 * elf/sprof.c: Likewise.
24072 * iconv/iconv_prog.c: Likewise.
24073 * iconv/iconvconfig.c: Likewise.
24074 * locale/programs/locale.c: Likewise.
24075 * locale/programs/localedef.c: Likewise.
24076 * login/programs/pt_chown.c: Likewise.
24077 * malloc/memusage.sh: Likewise.
24078 * malloc/memusagestat.c: Likewise.
24079 * malloc/mtrace.pl: Likewise.
24080 * manual/libc.texinfo: Likewise.
24081 * nscd/nscd.c: Likewise.
24082 * nss/getent.c: Likewise.
24083 * nss/makedb.c: Likewise.
24084 * posix/getconf.c: Likewise.
24085 * scripts/test-installation.pl: Likewise.
24086
24087 * All files with FSF copyright notices: Update copyright dates
24088 using scripts/update-copyrights.
24089 * intl/plural.c: Regenerated.
24090 * locale/programs/charmap-kw.h: Likewise.
24091 * locale/programs/locfile-kw.h: Likewise.
24092
24093 2013-12-31 Mike Frysinger <vapier@gentoo.org>
24094
24095 * sysdeps/unix/sysv/linux/configure: Regenerated.
24096 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
24097 the linux/fanotify.h header.
24098 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
24099 HAVE_LINUX_FANOTIFY_H is defined.
24100
24101 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24102
24103 * benchtests/cos-inputs: New inputs.
24104 * benchtests/sin-inputs: Likewise.
24105
24106 * benchtests/atan-inputs: New inputs. Fix name of multiple
24107 precision fallback inputs.
24108
24109 * benchtests/atanh-inputs: New inputs.
24110 * benchtests/tanh-inputs: Likewise.
24111
24112 * benchtests/acosh-inputs: New inputs.
24113 * benchtests/asinh-inputs: Likewise.
24114
24115 * benchtests/cosh-inputs: New inputs.
24116 * benchtests/sinh-inputs: Likewise.
24117
24118 * benchtests/acos-inputs: Add more inputs.
24119 * benchtests/asin-inputs: Likewise.
24120
24121 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
24122
24123 [BZ #16375]
24124 * manual/arith.texi: Fix spelling.
24125 * manual/charset.texi: Likewise.
24126 * manual/errno.texi: Likewise.
24127 * manual/filesys.texi: Likewise.
24128 * manual/lang.texi: Likewise.
24129 * manual/llio.texi: Likewise.
24130 * manual/locale.texi: Likewise.
24131 * manual/message.texi: Likewise.
24132 * manual/resource.texi: Likewise.
24133 * manual/search.texi: Likewise.
24134 * manual/setjmp.texi: Likewise.
24135 * manual/stdio.texi: Likewise.
24136 * manual/string.texi: Likewise.
24137 * manual/sysinfo.texi: Likewise.
24138 * manual/time.texi: Likewise.
24139
24140 2013-12-27 Carlos O'Donell <carlos@redhat.com>
24141
24142 * po/sl.po: New file.
24143
24144 2013-12-27 Mike Frysinger <vapier@gentoo.org>
24145
24146 * .gitignore: Add core/.gdbinit/.gdb_history.
24147
24148 2013-12-27 Allan McRae <allan@archlinux.org>
24149
24150 [BZ #16369]
24151 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
24152 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
24153
24154 2013-12-24 Brooks Moses <bmoses@google.com>
24155
24156 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
24157 all compilers that claim C++98 compliance, not just GCC.
24158 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
24159 Likewise.
24160
24161 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
24162
24163 * NEWS: Restore accidentally deleted bug-fix entries.
24164
24165 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
24166 Ondřej Bílka <neleai@seznam.cz>
24167
24168 [BZ #15073]
24169 * malloc/malloc.c (_int_free): Perform sanity check only if we
24170 have_lock.
24171
24172 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
24173
24174 [BZ #12986]
24175 * manual/stdio.texi (String Input Conversions): Clarify that character
24176 classes are not supported.
24177
24178 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24179
24180 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24181
24182 2013-12-22 Joseph Myers <joseph@codesourcery.com>
24183
24184 [BZ #16337]
24185 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24186 Calculate results for small negative arguments directly rather
24187 than using reflection formula with special underflow handling.
24188
24189 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
24190 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
24191 sysdeps/unix/bsd/bsd4.4/syscalls.list.
24192 (fchflags): Likewise.
24193 (revoke): Likewise.
24194 (setlogin): Likewise.
24195 (sigaltstack): Likewise.
24196 (wait4): Likewise.
24197 (sigblock): Remove.
24198 (sigsetmask): Likewise.
24199 (wait3): Likewise.
24200 (waitpid): Likewise.
24201 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
24202 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
24203 file.
24204 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
24205 * sysdeps/unix/bsd/Makefile: ... here.
24206 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
24207 * sysdeps/unix/bsd/Versions: ... here.
24208 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
24209 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
24210 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
24211 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
24212 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
24213 * sysdeps/unix/bsd/sigblock.c: ... here.
24214 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
24215 * sysdeps/unix/bsd/sigsetmask.c: ... here.
24216 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
24217 * sysdeps/unix/bsd/sigvec.c: ... here.
24218 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
24219 * sysdeps/unix/bsd/tcdrain.c: ... here.
24220 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
24221 * sysdeps/unix/bsd/tcgetattr.c: ... here.
24222 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
24223 * sysdeps/unix/bsd/tcsetattr.c: ... here.
24224 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
24225 * sysdeps/unix/bsd/wait.c: ... here.
24226 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
24227 * sysdeps/unix/bsd/wait3.c: ... here.
24228 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
24229 * sysdeps/unix/bsd/waitpid.c: ... here.
24230
24231 2013-12-21 Joseph Myers <joseph@codesourcery.com>
24232
24233 [BZ #16356]
24234 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
24235 round-to-nearest for [!USE_AS_EXPM1L].
24236 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
24237 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
24238 more tests of exp and exp10. Expect some exp10 tests to miss
24239 exceptions or fail in directed rounding modes.
24240 * math/auto-libm-test-out: Regenerated.
24241 * math/libm-test.inc (exp10_tonearest_test_data): New array.
24242 (exp10_test_tonearest): New function.
24243 (exp10_towardzero_test_data): New array.
24244 (exp10_test_towardzero): New function.
24245 (exp10_downward_test_data): New array.
24246 (exp10_test_downward): New function.
24247 (exp10_upward_test_data): New array.
24248 (exp10_test_upward): New function.
24249 (main): Call the new functions.
24250 * sysdeps/i386/fpu/libm-test-ulps: Update.
24251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24252
24253 2013-12-20 Joseph Myers <joseph@codesourcery.com>
24254
24255 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24256 asinh, atan, atan2, atanh, cbrt, cos and cosh.
24257 * math/auto-libm-test-out: Regenerated.
24258 * math/libm-test.inc (acosh_test_data): Add more tests.
24259 (atanh_test_data): Likewise.
24260 (ceil_test_data): Likewise.
24261 (copysign_test_data): Likewise.
24262 * sysdeps/i386/fpu/libm-test-ulps: Update.
24263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24264
24265 * timezone/checktab.awk: Update from tzcode 2013i.
24266 * timezone/private.h: Likewise.
24267 * timezone/scheck.c: Likewise.
24268 * timezone/tzfile.h: Likewise.
24269 * timezone/tzselect.ksh: Likewise.
24270 * timezone/zdump.c: Likewise.
24271 * timezone/zic.c: Likewise.
24272
24273 * math/auto-libm-test-in: Add tests of cpow.
24274 * math/auto-libm-test-out: Regenerated.
24275 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
24276 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24277 mpc_cc_c.
24278 (func_calc_desc): Add mpc_cc_c union field.
24279 (test_functions): Add cpow.
24280 (special_fill_2pi): New function.
24281 (special_real_inputs): Add 2pi.
24282 (calc_generic_results): Handle mpc_cc_c.
24283 * sysdeps/i386/fpu/libm-test-ulps: Update.
24284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24285
24286 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
24287 csqrt, ctan and ctanh.
24288 * math/auto-libm-test-out: Regenerated.
24289 * math/libm-test.inc (TEST_COND_x86_64): New macro.
24290 (TEST_COND_x86): Likewise.
24291 (ccos_test_data): Use AUTO_TESTS_c_c.
24292 (ccosh_test_data): Likewise.
24293 (cexp_test_data): Likewise.
24294 (clog_test_data): Likewise.
24295 (csqrt_test_data): Likewise.
24296 (ctan_test_data): Likewise.
24297 (ctan_tonearest_test_data): Likewise.
24298 (ctan_towardzero_test_data): Likewise.
24299 (ctan_downward_test_data): Likewise.
24300 (ctan_upward_test_data): Likewise.
24301 (ctanh_test_data): Likewise.
24302 (ctanh_tonearest_test_data): Likewise.
24303 (ctanh_towardzero_test_data): Likewise.
24304 (ctanh_downward_test_data): Likewise.
24305 (ctanh_upward_test_data): Likewise.
24306 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24307 mpc_c_c.
24308 (func_calc_desc): Add mpc_c_c union field.
24309 (FUNC_mpc_c_c): New macro.
24310 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
24311 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
24312 ctanh.
24313 (special_fill_min_subnorm_p120): New function.
24314 (special_real_inputs): Add min_subnorm_p120.
24315 (calc_generic_results): Handle mpc_c_c.
24316 * sysdeps/i386/fpu/libm-test-ulps: Update.
24317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24318
24319 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24320
24321 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
24322 (do_sin_slow): New functions.
24323 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
24324 (cslow2, csloww1, csloww2): Use the new functions.
24325
24326 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
24327 Use M to change sign of result instead of X. Assume X is
24328 positive.
24329 (csloww1): Likewise.
24330 (__sin): Adjust.
24331 (__cos): Adjust.
24332
24333 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
24334 arguments A and DA.
24335 (__sin): Adjust.
24336 (__cos): Likewise.
24337
24338 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
24339 (__cos): Likewise.
24340 (sloww1): Don't adjust sign of DX.
24341 (csloww1): Likewise.
24342 (sloww2): Use X directly and don't adjust sign of DX.
24343 (csloww2): Likewise.
24344
24345 2013-12-19 Joseph Myers <joseph@codesourcery.com>
24346
24347 * math/auto-libm-test-in: Add tests of cabs and carg.
24348 * math/auto-libm-test-out: Regenerated.
24349 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
24350 (carg_test_data): Likewise.
24351 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24352 mpc_c_f.
24353 (func_calc_desc): Add mpc_c_f union field.
24354 (test_functions): Add cabs and carg.
24355 (calc_generic_results): Handle mpc_c_f.
24356
24357 * sysdeps/powerpc/powerpc32/libgcc-compat.S
24358 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
24359 as a macro and a compat symbol.
24360 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
24361 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
24362 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
24363 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
24364 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
24365 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
24366 not use .hidden.
24367 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
24368 Likewise.
24369 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
24370 Likewise.
24371 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
24372 Likewise.
24373 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
24374 Likewise.
24375 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
24376 Likewise.
24377 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
24378 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
24379 from GLIBC_2.3.2.
24380
24381 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24382
24383 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24384
24385 2013-12-19 Joseph Myers <joseph@codesourcery.com>
24386
24387 * manual/texinfo.tex: Update to version 2013-11-26.10 with
24388 trailing whitespace removed.
24389 * scripts/config.guess: Update to version 2013-11-29.
24390 * scripts/config.sub: Update to version 2013-10-01.
24391
24392 * math/auto-libm-test-in: Add tests of sincos.
24393 * math/auto-libm-test-out: Regenerated.
24394 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
24395 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24396 mpfr_f_11.
24397 (func_calc_desc): Add mpfr_f_11 union field.
24398 (test_functions): Add sincos.
24399 (calc_generic_results): Handle mpfr_f_11.
24400 * sysdeps/i386/fpu/libm-test-ulps: Update.
24401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24402
24403 2013-12-19 Andreas Schwab <schwab@suse.de>
24404
24405 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
24406 CALL_MCOUNT.
24407 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24408 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
24409 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
24410
24411 2013-12-19 Joseph Myers <joseph@codesourcery.com>
24412
24413 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
24414 * sysdeps/i386/fpu/libm-test-ulps: Update.
24415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24416
24417 [BZ #16293]
24418 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
24419 round-to-nearest mode when using frndint.
24420 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
24421 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
24422 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24423 Likewise.
24424 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
24425 sinh test to fail.
24426 * math/auto-libm-test-out: Regenerated.
24427 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
24428 (TEST_COND_x86): Likewise.
24429 (expm1_tonearest_test_data): New array.
24430 (expm1_test_tonearest): New function.
24431 (expm1_towardzero_test_data): New array.
24432 (expm1_test_towardzero): New function.
24433 (expm1_downward_test_data): New array.
24434 (expm1_test_downward): New function.
24435 (expm1_upward_test_data): New array.
24436 (expm1_test_upward): New function.
24437 (main): Run the new test functions.
24438 * sysdeps/i386/fpu/libm-test-ulps: Update.
24439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24440
24441 * include/features.h: Update comment documenting feature test
24442 macros. Mention _DEFAULT_SOURCE in comment.
24443 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
24444 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
24445 _BSD_SOURCE and _SVID_SOURCE.
24446 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
24447 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
24448 !_SVID_SOURCE]: Likewise.
24449 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24450 (__USE_POSIX_IMPLICITLY): Define.
24451 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24452 (_POSIX_SOURCE): Undefine and redefine.
24453 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24454 (_POSIX_C_SOURCE): Likewise.
24455 * manual/creature.texi (_DEFAULT_SOURCE): Document.
24456 (Feature Test Macros): Update documentation of default features.
24457
24458 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24459
24460 * benchtests/Makefile: Add bench-strtok.
24461 * benchtests/bench-strtok.c: New file: strtok benchtest.
24462
24463 2013-12-19 Allan McRae <allan@archlinux.org>
24464
24465 * manual/install.texi: Suppress menu for plain text output.
24466 * INSTALL: Regenerated.
24467
24468 2013-12-18 Brooks Moses <bmoses@google.com>
24469
24470 [BZ #15846]
24471 * misc/getauxval.c: Include errno.h.
24472 (__getauxval): Set errno to ENOENT if the requested type is not
24473 found.
24474 * misc/sys/auxv.h (getauxval): Document that it may set errno;
24475 don't declare with __attribute_const__.
24476 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
24477 * manual/startup.texi: Document that getauxval sets errno.
24478
24479 2013-12-18 Joseph Myers <joseph@codesourcery.com>
24480
24481 * math/auto-libm-test-in: Add tests of jn and yn.
24482 * math/auto-libm-test-out: Regenerated.
24483 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
24484 (yn_test_data): Likewise.
24485 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24486 mpfr_if_f.
24487 (func_calc_desc): Add mpfr_if_f union field.
24488 (FUNC_mpfr_if_f): New macro.
24489 (test_functions): Add jn and yn.
24490 (calc_generic_results): Assert type of second input for
24491 mpfr_ff_f. Handle mpfr_if_f.
24492 (output_for_one_input_case): Disable all checking for arguments
24493 fitting floating-point types in case of an integer argument.
24494 * sysdeps/i386/fpu/libm-test-ulps: Update.
24495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24496
24497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24498 Don't expect fegetround reference in libm.so.
24499
24500 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24501
24502 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
24503 $(config-cflags-nofma).
24504
24505 2013-12-18 Joseph Myers <joseph@codesourcery.com>
24506
24507 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
24508 * math/auto-libm-test-out: Regenerated.
24509
24510 [BZ #16338]
24511 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
24512 to determine exponent and adjust argument to have exponent of -1.
24513 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
24514 log2.
24515 * math/auto-libm-test-out: Regenerated.
24516 * sysdeps/i386/fpu/libm-test-ulps: Update.
24517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24518
24519 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
24520
24521 * manual/probes.texi: Remove cases when per-thread arenas are
24522 disabled.
24523
24524 2013-12-18 Andreas Schwab <schwab@suse.de>
24525
24526 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
24527 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
24528 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
24529 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
24530 * sysdeps/i386/i686/multiarch/Makefile: Update.
24531 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
24532
24533 2013-12-17 Joseph Myers <joseph@codesourcery.com>
24534
24535 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
24536 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
24537
24538 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
24539
24540 [BZ #15968]
24541 Support TZ transition times < 00:00:00.
24542 This is needed for version-3 tz-format files; it supports time
24543 stamps past 2037 for America/Godthab (the only entry in the tz
24544 database for which this change is relevant).
24545 * manual/time.texi (TZ Variable): Document transition times
24546 from -167:59:59 through -00:00:01.
24547 * time/tzset.c (tz_rule): Time of day is now signed.
24548 (__tzset_parse_tz): Parse negative time of day.
24549
24550 Document TZ transition times >= 25:00:00.
24551 * manual/time.texi (TZ Variable): Document transition times from
24552 25:00:00 through 167:59:59. These are already supported, and this
24553 support will help with version-3 tz-format files.
24554
24555 * manual/time.texi (TZ Variable): Modernize North America example
24556 to reflect current (i.e., 2007-and-later) daylight saving rules.
24557
24558 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
24559
24560 2013-12-17 Joseph Myers <joseph@codesourcery.com>
24561
24562 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
24563 * sysdeps/unix/bsd/bits/stat.h: Likewise.
24564 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
24565 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24566 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
24567 * sysdeps/unix/bsd/bsdstat.h: Likewise.
24568 * sysdeps/unix/bsd/clock.c: Likewise.
24569 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
24570 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
24571 * sysdeps/unix/bsd/init-posix.c: Likewise.
24572 * sysdeps/unix/bsd/poll.c: Likewise.
24573 * sysdeps/unix/bsd/ptsname.c: Likewise.
24574 * sysdeps/unix/bsd/seekdir.c: Likewise.
24575 * sysdeps/unix/bsd/setegid.c: Likewise.
24576 * sysdeps/unix/bsd/seteuid.c: Likewise.
24577 * sysdeps/unix/bsd/setgid.c: Likewise.
24578 * sysdeps/unix/bsd/setrgid.c: Likewise.
24579 * sysdeps/unix/bsd/setruid.c: Likewise.
24580 * sysdeps/unix/bsd/setsid.c: Likewise.
24581 * sysdeps/unix/bsd/setuid.c: Likewise.
24582 * sysdeps/unix/bsd/sigaction.c: Likewise.
24583 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
24584 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
24585 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
24586 * sysdeps/unix/bsd/telldir.c: Likewise.
24587 * sysdeps/unix/bsd/times.c: Likewise.
24588 * sysdeps/unix/bsd/usleep.c: Likewise.
24589
24590 * misc/Makefile (install-lib): Remove libbsd-compat.a.
24591 ($(objpfx)libbsd-compat.a): Remove rule.
24592
24593 * include/features.h (__FAVOR_BSD): Do not define.
24594 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
24595 features conflicting with POSIX.
24596 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
24597 (_BSD_SOURCE): Remove description of not being a subset of other
24598 feature test macros.
24599 * manual/job.texi (getpgrp): Do not document BSD version.
24600 (getpgid): Do not document by reference to BSD getpgrp.
24601 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
24602 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
24603 * signal/signal.h [__FAVOR_BSD]: Likewise.
24604 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
24605 instead of making contents conditional on [__FAVOR_BSD].
24606 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
24607
24608 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24609
24610 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24611
24612 2013-12-17 Joseph Myers <joseph@codesourcery.com>
24613
24614 [BZ #16314]
24615 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
24616 values below 2**-450, not 2**-500.
24617 * math/auto-libm-test-in: Don't allow spurious underflow from
24618 hypot.
24619 * math/auto-libm-test-out: Regenerated.
24620
24621 [BZ #16316]
24622 [BZ #16330]
24623 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
24624 values of ha and hb and sort them after adjusting subnormal
24625 arguments.
24626 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
24627 Likewise.
24628 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
24629 values of ea and eb and sort them after adjusting subnormal
24630 arguments.
24631 * math/auto-libm-test-in: Do not expect some hypot tests of
24632 subnormals to fail. Add more hypot tests.
24633 * math/auto-libm-test-out: Regenerated.
24634
24635 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24636
24637 [BZ #13304]
24638 * sysdeps/sh/s_fma.c: New file.
24639 * sysdeps/sh/s_fmaf.c: New file.
24640 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
24641 version.
24642 * sysdeps/sh/Implies: Add sh/soft-fp.
24643
24644 2013-12-16 Roland McGrath <roland@hack.frob.com>
24645
24646 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
24647 level of indirection to members `objname', `errstring', `malloced'.
24648 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
24649 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
24650 it as the __longjmp argument (just pass 1 instead).
24651 (_dl_catch_error): Initialize C with argument pointers and address of
24652 volatile local ERRCODE rather than copying values out of C at return.
24653
24654 2013-12-16 Joseph Myers <joseph@codesourcery.com>
24655
24656 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
24657 * math/auto-libm-test-out: Regenerated.
24658 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
24659 (hypot_test_data): Likewise.
24660 (pow_test_data): Likewise.
24661 (pow_tonearest_test_data): Likewise.
24662 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24663 mpfr_ff_f.
24664 (func_calc_desc): Add mpfr_ff_f union field.
24665 (FUNC_mpfr_ff_f): New macro.
24666 (test_functions): Add atan2, hypot and pow.
24667 (special_fill_min): New function.
24668 (special_fill_minus_min): Likewise.
24669 (special_fill_min_subnorm): Likewise.
24670 (special_fill_minus_min_subnorm): Likewise.
24671 (special_real_inputs): Add min, -min, min_subnorm and
24672 -min_subnorm.
24673 (calc_generic_results): Handle mpfr_ff_f.
24674 * sysdeps/i386/fpu/libm-test-ulps: Update.
24675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24676
24677 2013-12-16 Will Newton <will.newton@linaro.org>
24678
24679 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
24680 (Aligned Memory Blocks): Add documentation for aligned_alloc
24681 and suggest it as an alternative to posix_memalign.
24682 (Hooks for Malloc): Document __memalign_hook is also called
24683 for aligned_alloc. (Summary of Malloc): Add summary for
24684 aligned alloc. Document __memalign_hook is also called
24685 for aligned_alloc.
24686
24687 2013-12-16 Will Newton <will.newton@linaro.org>
24688
24689 * manual/memory.texi (Malloc Examples): Clarify default
24690 alignment documentation. Suggest posix_memalign rather
24691 than memalign or valloc.
24692 (Aligned Memory Blocks): Remove suggestion to use memalign
24693 or valloc. Remove obsolete comment about BSD.
24694 Document memalign errno values and mark the function obsolete.
24695 Document posix_memalign returned error codes. Mark valloc
24696 as obsolete. (Hooks for Malloc): __memalign_hook is also
24697 called for posix_memalign and valloc.
24698 (Summary of Malloc): Add posix_memalign to function summary.
24699 __memalign_hook is also called for posix_memalign and valloc.
24700
24701 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24702
24703 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
24704 TAYLOR_SIN.
24705 (__sin): Adjust.
24706 (__cos): Likewise.
24707 (sloww): Use mynumber union. Expand ternary operator into
24708 if-else statements.
24709 (cslow): use mynumber union.
24710
24711 2013-12-16 Allan McRae <allan@archlinux.org>
24712
24713 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
24714 * configure: Regenerated.
24715
24716 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
24717
24718 [BZ #14120]
24719 * configure.ac: Added --enable-maintainer-mode. Check for
24720 autoconf when enabled.
24721 * configure: Regenerated.
24722
24723 * nscd/nscd.service: New file.
24724 * nscd/nscd.tmpfiles: New file.
24725
24726 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
24727
24728 [BZ #12100]
24729 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
24730 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
24731 * sysdeps/x86_64/multiarch/strstr.c: ... here.
24732 (strstr): Add __strstr_sse2_unaligned ifunc.
24733 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
24734 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
24735 (strcasestr): Remove __strcasestr_sse42 ifunc.
24736 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
24737 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24738 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24739
24740 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24741
24742 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
24743 * sysdeps/sh/bits/fenv.h: ... here.
24744 * sysdeps/sh/sh4/fpu/bits: Remove directory.
24745
24746 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24747
24748 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
24749
24750 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
24751 hypotf multiarch implementations.
24752 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
24753 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
24754 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
24755 multiarch hypot for PPC64.
24756 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
24757 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
24758 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
24759 multiarch hypotf for PPC64.
24760
24761 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
24762 modff multiarch implementations.
24763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
24764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
24765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
24766 multiarch modf for PPC64.
24767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
24768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
24769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
24770 multiarch modff for PPC64.
24771
24772 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
24773 and logl multiarch implementations.
24774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
24775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
24776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
24777 multiarch logb for PPC64.
24778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
24779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
24780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
24781 multiarch logb for PPC64.
24782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
24783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
24784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
24785 multiarch logb for PPC64.
24786
24787 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
24788 isinff multiarch implementation.
24789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
24790 file.
24791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
24792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
24793 multiarch isinf for PPC64.
24794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
24795 file.
24796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
24797 multiarch isinff for PPC64.
24798
24799 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
24800 finitef multiarch implementation.
24801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
24802 file.
24803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
24804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
24805 multiarch finite for PPC64.
24806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
24807 file.
24808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
24809 multiarch finitef for PPC64.
24810
24811 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
24812 lrint multiarch implementation.
24813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
24814 file.
24815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
24816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
24817 multiarch llrint for PPC64.
24818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
24819 multiarch lrint for PPC64.
24820
24821 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
24822 copysignf multiarch implementation.
24823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
24824 file.
24825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
24826 file.
24827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
24828 multiarch copysign for PPC64.
24829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
24830 multiarch copysignf for PPC64.
24831
24832 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
24833 multiarch implementation.
24834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
24835 file.
24836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
24837 file.
24838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
24839 file.
24840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
24841 file.
24842 multiarch llround for PPC64.
24843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
24844 multiarch trunc for PPC64.
24845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
24846 multiarch truncf for PPC64.
24847
24848 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
24849 multiarch implementation.
24850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
24851 file.
24852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
24853 file.
24854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
24855 file.
24856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
24857 file.
24858 multiarch llround for PPC64.
24859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
24860 multiarch round for PPC64.
24861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
24862 multiarch roundf for PPC64.
24863
24864 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
24865 multiarch implementation.
24866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
24867 file.
24868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
24869 file.
24870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
24871 file.
24872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
24873 file.
24874 multiarch llround for PPC64.
24875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
24876 multiarch floor for PPC64.
24877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
24878 multiarch floorf for PPC64.
24879
24880 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
24881 multiarch implementation.
24882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
24883 file.
24884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
24885 file.
24886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
24887 file.
24888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
24889 file.
24890 multiarch llround for PPC64.
24891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
24892 multiarch ceil for PPC64.
24893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
24894 multiarch ceilf for PPC64.
24895
24896 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
24897 multiarch implementation.
24898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
24899 file.
24900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
24901 file.
24902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
24903 file.
24904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
24905 multiarch llround for PPC64.
24906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
24907 multiarch lround for PPC64.
24908
24909 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24910 multiarch implementation.
24911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
24912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
24913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
24914 file.
24915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
24916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
24917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
24918 multiarch isnan for PPC64.
24919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
24920 multiarch isnanf for PPC64.
24921
24922 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
24923 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
24924 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
24925 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
24926 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
24927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
24928
24929 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
24930 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24931 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24932 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24933
24934 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
24935 multiarch implementations.
24936 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24937 (__libc_ifunc_impl_list): Likewise.
24938 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
24939 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
24940 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
24941 multiarch stpcpy for PPC64.
24942
24943 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
24944 multiarch implementations.
24945 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24946 (__libc_ifunc_impl_list): Likewise.
24947 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
24948 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
24949 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
24950 multiarch strcpy for PPC64.
24951
24952 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
24953 redefine function name.
24954 (_wordcopy_fwd_dest_aligned): Likewise.
24955 (_wordcopy_bwd_aligned): Likewise.
24956 (_wordcopy_bwd_dest_aligned): Likewise.
24957 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
24958 multiarch implementations.
24959 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24960 (__libc_ifunc_impl_list): Likewise.
24961 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
24962 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
24963 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
24964 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
24965 multiarch wcscpy for PPC64.
24966
24967 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
24968 multiarch implementations.
24969 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24970 (__libc_ifunc_impl_list): Likewise.
24971 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
24972 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
24973 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
24974 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
24975 multiarch wcscpy for PPC64.
24976
24977 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
24978 multiarch implementations.
24979 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24980 (__libc_ifunc_impl_list): Likewise.
24981 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
24982 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
24983 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
24984 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
24985 multiarch wcsrchr for PPC64.
24986
24987 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
24988 multiarch implementations.
24989 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24990 (__libc_ifunc_impl_list): Likewise.
24991 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
24992 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
24993 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
24994 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
24995 multiarch wcschr for PPC64.
24996
24997 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
24998 multiarch implementations.
24999 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25000 (__libc_ifunc_impl_list): Likewise.
25001 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
25002 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
25003 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
25004 multiarch strchrnul for PPC64.
25005
25006 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
25007 implementations.
25008 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25009 (__libc_ifunc_impl_list): Likewise.
25010 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
25011 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
25012 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
25013 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
25014 strchr for PPC64.
25015
25016 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
25017 implementations.
25018 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25019 (__libc_ifunc_impl_list): Likewise.
25020 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
25021 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
25022 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
25023 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
25024 strncmp for PPC64.
25025
25026 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
25027 multiarch implementations.
25028 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25029 (__libc_ifunc_impl_list): Likewise.
25030 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
25031 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
25032 strncasecmp for PPC64.
25033 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
25034 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
25035 multiarch strncasecmp_l for PPC64.
25036
25037 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
25038 multiarch implementations.
25039 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25040 (__libc_ifunc_impl_list): Likewise.
25041 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
25042 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
25043 multiarch strcasecmp for PPC64.
25044 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
25045 file.
25046 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
25047 multiarch strcasecmp_l for PPC64.
25048
25049 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
25050 implementations.
25051 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25052 (__libc_ifunc_impl_list): Likewise.
25053 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
25054 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
25055 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
25056 strnlen for PPC64.
25057
25058 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
25059 implementations.
25060 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25061 (__libc_ifunc_impl_list): Likewise.
25062 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
25063 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
25064 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
25065 strlen for PPC64.
25066
25067 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
25068 implementations.
25069 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25070 (__libc_ifunc_impl_list): Likewise.
25071 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
25072 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
25073 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
25074 rawmemrchr for PPC64.
25075
25076 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
25077 implementation.
25078 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25079 (__libc_ifunc_impl_list): Likewise.
25080 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
25081 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
25082 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
25083 memrchr for PPC64.
25084
25085 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
25086 implementation.
25087 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25088 (__libc_ifunc_impl_list): Likewise.
25089 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
25090 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
25091 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
25092 memchr for PPC64.
25093
25094 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
25095 implementation.
25096 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25097 (__libc_ifunc_impl_list): Likewise.
25098 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
25099 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
25100 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
25101 mempcpy for PPC64.
25102
25103 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
25104 avoid cretion of __bzero symbol.
25105 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
25106 Likewise.
25107 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
25108 Likewise.
25109 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
25110 Likewise.
25111 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
25112 multiarch implementations.
25113 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25114 (__libc_ifunc_impl_list): Likewise.
25115 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
25116 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
25117 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
25118 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
25119 bzero for PPC32.
25120 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
25121 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
25122 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
25123 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
25124 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
25125 memset for PPC64.
25126 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
25127
25128 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
25129 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
25130 implementations.
25131 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25132 (__libc_ifunc_impl_list): Likewise.
25133 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
25134 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
25135 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
25136 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
25137 memcmp for PPC64.
25138
25139 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
25140 multiarch for POWER/PPC64.
25141 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
25142 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
25143 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
25144 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
25145 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
25146 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
25147 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
25148 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
25149 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
25150 memcpy for PPC64.
25151
25152 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
25153 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
25154 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
25155 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
25156 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
25157 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
25158 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
25159 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
25160 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
25161 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
25162 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
25163 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
25164 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
25165 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
25166 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
25167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
25168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
25169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
25170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
25171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
25172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
25173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
25174
25175 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25176
25177 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
25178
25179 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25180
25181 * benchtests/Makefile (bench): Add exp2 and log2.
25182 (LDLIBS-bench-exp2): Add -lm.
25183 (LDLIBS-bench-log2): Likewise.
25184 * benchtests/exp2-inputs: New inputs file.
25185 * benchtests/log2-inputs: New inputs file.
25186 * benchtests/log-inputs: Add new inputs.
25187 * benchtests/tan-inputs: Likewise.
25188
25189 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25190
25191 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
25192 definition...
25193 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
25194 (csloww2): ... from here.
25195
25196 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
25197 instead of structures.
25198 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
25199 (POLYNOMIAL): Likewise.
25200 (TAYLOR_SLOW): Likewise.
25201 (__sin): Likewise.
25202 (__cos): Likewise.
25203 (slow1): Likewise.
25204 (slow2): Likewise.
25205 (sloww): Likewise.
25206 (sloww1); Likewise.
25207 (sloww2): Likewise.
25208 (bsloww1): Likewise.
25209 (bsloww2): Likewise.
25210 (cslow2): Likewise.
25211 (csloww): Likewise.
25212 (csloww1): Likewise.
25213 (csloww2): Likewise.
25214
25215 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
25216
25217 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
25218 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
25219 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
25220 * malloc/hooks.c (realloc_check): Likewise.
25221
25222 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
25223 * malloc/arena.c: Remove PER_THREAD conditional.
25224 [!PER_THREAD]: Remove code.
25225 (ptmalloc_unlock_all2): Likewise.
25226 (ptmalloc_init): Likewise.
25227 (_int_new_arena): Likewise.
25228 (arena_get2): Likewise.
25229 * malloc/hooks.c (__malloc_get_state): Likewise.
25230 (__malloc_set_state): Likewise.
25231 * malloc/malloc.c: Likewise.
25232 (struct malloc_state): Likewise.
25233 (struct malloc_par): Likewise.
25234 (__libc_realloc): Likewise.
25235 (__libc_mallopt): Likewise.
25236
25237 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25238
25239 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
25240
25241 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
25242
25243 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
25244 macro to a function. Check for zero perturb_byte.
25245 (_int_malloc, _int_free): Remove zero perturb_byte checks.
25246
25247 * malloc/malloc.c: (force_reg): Remove.
25248 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
25249 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
25250 force_reg by atomic_forced_read.
25251 * malloc/arena.c (ptmalloc_init): Likewise.
25252 * malloc/hooks.c (top_check): Likewise.
25253
25254 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25255
25256 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25257
25258 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
25259
25260 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25261
25262 2013-12-08 Joseph Myers <joseph@codesourcery.com>
25263
25264 * math/auto-libm-test-in: Add tests of lgamma.
25265 * math/auto-libm-test-out: Regenerated.
25266 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
25267 (M_LOG_2_SQRT_PIl): Likewise.
25268 (lgamma_test_data): Use AUTO_TESTS_f_f1.
25269 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25270 mpfr_f_f1.
25271 (func_calc_desc): Add mpfr_f_f1 union field.
25272 (ARGS1): New macro.
25273 (ARGS2): Likewise.
25274 (ARGS3): Likewise.
25275 (ARGS4): Likewise.
25276 (RET1): Likewise.
25277 (RET2): Likewise.
25278 (CALC): Likewise.
25279 (FUNC): Likewise.
25280 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
25281 (test_functions): Add lgamma.
25282 (calc_generic_results): Handle mpfr_f_f1.
25283 * sysdeps/i386/fpu/libm-test-ulps: Update.
25284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25285
25286 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25287
25288 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
25289 __mpn_add_n for PowerPC64/POWER7.
25290 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
25291 __mpn_sub_n for PowerPC64/POWER7.
25292
25293 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
25294 __mpn_addmul_1 for PowerPC64.
25295 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
25296 __mpn_submul_1 for PowerPC64.
25297 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
25298 for PowerPC64.
25299 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
25300 for PowerPC64.
25301
25302 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
25303
25304 [BZ #15089]
25305 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
25306
25307 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25308
25309 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
25310
25311 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
25312 add multiarch folders.
25313 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
25314 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
25315 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
25316 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
25317 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
25318 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
25319 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
25320 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
25321 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
25322 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
25323 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
25324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
25325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
25326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
25327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
25328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
25329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
25330
25331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25332 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
25333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
25334 New file.
25335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
25336 New file.
25337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
25338 multiarch __ieee754_hypot for PowerPC32.
25339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
25340 New file.
25341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
25342 New file.
25343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
25344 multiarch __ieee754_hypotf for PowerPC32.
25345
25346 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
25347 long_double_symbol only if __logbl is defined.
25348 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
25349 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
25350 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
25351 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
25352 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
25353 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
25354 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
25355 path for implementation.
25356 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
25357 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
25358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
25359 logb, and logbl multiarch implementations for PowerPC32.
25360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
25361 file.
25362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
25363 file.
25364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
25365 multiarch logb for PowerPC32.
25366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
25367 file.
25368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
25369 file.
25370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
25371 multiarch logbf for PowerPC32.
25372 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
25373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
25374 file.
25375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
25376 multiarch logbl implementation for PowerPC32.
25377
25378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
25379 and modff multiarch implementations.
25380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
25381 New file.
25382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
25383 New file.
25384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
25385 multiarch modf for PowerPC32.
25386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
25387 New file.
25388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
25389 New file.
25390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
25391 multiarch modff for PowerPC32.
25392
25393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
25394 and lrintf multiarch implementations.
25395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
25396 New file.
25397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
25398 New file.
25399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
25400 multiarch lrint for PowerPC32.
25401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
25402 file: multiarch lrintf for PowerPC32.
25403
25404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
25405 and lroundf multiarch implementations.
25406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
25407 New file.
25408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
25409 New file.
25410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
25411 New file.
25412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
25413 multiarch lround for PowerPC32.
25414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
25415 file: multiarch lroundf for PowerPC32.
25416
25417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25418 copysign and copysignf multiarch implementations.
25419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
25420 New file.
25421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
25422 New file.
25423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
25424 file: multiarch copysign for PowerPC32.
25425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
25426 file: multiarch copysignf for PowerPC32.
25427
25428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
25429 and truncf multiarch implementations.
25430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
25431 New file.
25432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
25433 file.
25434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
25435 multiarch trunc for PowerPC32.
25436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
25437 New file.
25438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
25439 New file.
25440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
25441 multiarch truncf for PowerPC32.
25442
25443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
25444 and roundf multiarch implementations.
25445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
25446 New file.
25447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
25448 file.
25449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
25450 multiarch round for PowerPC32.
25451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
25452 New file.
25453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
25454 New file.
25455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
25456 multiarch roundf for PowerPC32.
25457
25458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
25459 and floorf multiarch implementations.
25460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
25461 New file.
25462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
25463 file.
25464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
25465 multiarch floor for PowerPC32.
25466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
25467 New file.
25468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
25469 New file.
25470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
25471 multiarch floorf for PowerPC32.
25472
25473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
25474 and ceilf multiarch implementations.
25475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
25476 New file.
25477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
25478 file.
25479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
25480 multiarch ceil for PowerPC32.
25481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
25482 New file.
25483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
25484 file.
25485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
25486 multiarch ceilf for PowerPC32.
25487
25488 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
25489 is defined.
25490 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
25491 FINITEF is defined.
25492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
25493 and finitef multiarch implementations.
25494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
25495 New file.
25496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
25497 file.
25498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
25499 multiarch finite for PowerPC32.
25500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
25501 New file.
25502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
25503 file: multiarch finitef for PowerPC32.
25504
25505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
25506 and isinff multiarch implementations.
25507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
25508 file.
25509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
25510 file.
25511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
25512 multiarch isinf for PowerPC32.
25513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
25514 New file.
25515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
25516 multiarch isinff for PowerPC32.
25517
25518 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
25519 alias when __isnan is defined.
25520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
25521 and isnanf multiarch implementations.
25522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
25523 file.
25524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
25525 file.
25526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
25527 file.
25528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
25529 file.
25530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
25531 multiarch isnan for PowerPC32.
25532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
25533 New file.
25534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
25535 New file.
25536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
25537 multiarch isnanf for PowerPC32.
25538
25539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
25540 and sqrtf multiarch implementations.
25541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
25542 file.
25543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
25544 file.
25545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
25546 multiarch sqrt for PowerPC32.
25547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
25548 file.
25549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
25550 file.
25551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
25552 multiarch sqrtf for PowerPC32.
25553
25554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
25555 and llroundf multiarch implementations.
25556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
25557 New file.
25558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
25559 New file.
25560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
25561 New file.
25562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
25563 file: multiarch llround for PowerPC32.
25564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
25565 file: multiarch llroundf for PowerPC32.
25566
25567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
25568 multiarch PowerPC32 fpu implementations.
25569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
25570 New file.
25571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
25572 New file.
25573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
25574 multiarch llrint for PowerPC32.
25575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
25576 New file.
25577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
25578 New file.
25579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
25580 file.
25581
25582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
25583
25584 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
25585 file.
25586 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
25587 file.
25588 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
25589 file.
25590 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
25591 multiarch wordcopy for PPC32.
25592 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25593 wordcopy objects.
25594 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25595 (__libc_ifunc_impl_list): Likewise.
25596 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
25597 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
25598 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
25599 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
25600 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
25601 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
25602
25603 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
25604 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
25605 file.
25606 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
25607 file.
25608 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
25609 file.
25610 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
25611 multiarch wcscpy for PPC32.
25612 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25613 multiarch objects.
25614 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25615 (__libc_ifunc_impl_list): Likewise.
25616 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25617 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25618 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
25619 sysdeps/powerpc/power6/wcscpy.c.
25620
25621 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
25622 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
25623 file.
25624 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
25625 file.
25626 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
25627 file.
25628 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
25629 multiarch wcsrchr for PPC32.
25630 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25631 multiarch objects.
25632 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25633 (__libc_ifunc_impl_list): Likewise.
25634 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25635 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25636 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
25637 sysdeps/powerpc/power6/wcsrchr.c.
25638
25639 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
25640 file.
25641 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
25642 file.
25643 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
25644 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
25645 multiarch wcschr for PPc32.
25646 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25647 multiarch objects.
25648 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25649 (__libc_ifunc_impl_list): Likewise.
25650 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
25651 * sysdeps/powerpc/power6/wcschr.c: ... to here.
25652 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
25653 sysdeps/powerpc/power6/wcschr.c.
25654
25655 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
25656 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
25657 file.
25658 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
25659 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
25660 file: multiarch strchr for PPC32.
25661 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
25662 multiarch objects.
25663 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25664 (__libc_ifunc_impl_list): Likewise.
25665
25666 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
25667 name.
25668 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
25669 file.
25670 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
25671 file.
25672 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
25673 multiarch strchrnul for PPC32.
25674 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
25675 multiarch objects.
25676 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25677 (__libc_ifunc_impl_list): Likewise.
25678
25679 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
25680 file.
25681 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
25682 multiarch strncasecmp for PPC32.
25683 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
25684 file.
25685 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
25686 multiarch strncasecmp_l for PPC32.
25687 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
25688 strncasecmp multiarch objects.
25689 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25690 (__libc_ifunc_impl_list): Likewise.
25691
25692 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
25693 file.
25694 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
25695 multiarch strncasecmp for PPC32.
25696 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
25697 New file.
25698 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
25699 multiarch strcasecmp_l for PPC32.
25700 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
25701 multiarch objects.
25702 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25703 (__libc_ifunc_impl_list): Likewise.
25704
25705 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
25706 file.
25707 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
25708 file.
25709 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
25710 multiarch strncmp for PPC32.
25711 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
25712 multiarch objects.
25713 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25714 (__libc_ifunc_impl_list): Likewise.
25715
25716 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
25717 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
25718 file.
25719 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
25720 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
25721 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
25722 multiarch objects.
25723 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25724 (__libc_ifunc_impl_list): Likewise.
25725
25726 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
25727 file.
25728 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
25729 file.
25730 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
25731 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
25732 multiarch objects.
25733 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25734 (__libc_ifunc_impl_list): Likewise.
25735
25736 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
25737 file.
25738 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
25739 file.
25740 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
25741 multiarch rawmemchr for PPC32.
25742 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
25743 multiarch objects.
25744 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25745 (__libc_ifunc_impl_list): Likewise.
25746
25747 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
25748 file.
25749 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
25750 file.
25751 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
25752 file: memrchr multiarch for PPC32.
25753 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
25754 multiarch objects.
25755 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25756 (__libc_ifunc_impl_list): Likewise.
25757
25758 * string/memchr.c (__memchr): Using macro to redefine symbol name.
25759 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
25760 file.
25761 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
25762 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
25763 multiarch memchr for PPC32.
25764 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
25765 multiarch objects.
25766 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25767 (__libc_ifunc_impl_list): Likewise.
25768
25769 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
25770 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
25771 file.
25772 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
25773 file.
25774 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
25775 file: multiarch mempcpy for PPC32.
25776 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
25777 multiarch objects.
25778 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25779 (__libc_ifunc_impl_list): Likewise.
25780
25781 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
25782 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
25783 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
25784 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
25785 multiarch bzero for PPC32.
25786 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
25787 file.
25788 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
25789 file.
25790 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
25791 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
25792 file: multiarch memset for PPC32.
25793 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
25794 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
25795 memset multiarch objects.
25796 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25797 (__libc_ifunc_impl_list): Likewise.
25798
25799 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
25800 file.
25801 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
25802 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
25803 memcmp for PPC32.
25804 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
25805 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
25806 multiarch objects.
25807 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25808 (__libc_ifunc_impl_list): Likewise.
25809
25810 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
25811 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
25812 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
25813 file.
25814 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
25815 file.
25816 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
25817 file.
25818 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
25819 multiarch memcpy for PPC32.
25820 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
25821 multiarch objects.
25822 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25823 (__libc_ifunc_impl_list): Likewise.
25824
25825 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
25826 support multiarch for POWER/PPC32.
25827 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
25828 Likewise.
25829 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
25830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
25831 Implies file to make multiarch folder appers before the fpu and
25832 default folder for power4 configuration.
25833
25834 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25835
25836 * scripts/bench.pl: Append volatile keyword to type.
25837
25838 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25839
25840 * sysdeps/sh/sotruss-lib.c: New file.
25841 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
25842
25843 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25844
25845 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25846
25847 2013-12-05 Joseph Myers <joseph@codesourcery.com>
25848
25849 [BZ #6810]
25850 * math/w_tgamma.c: Include <errno.h>.
25851 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
25852 * math/w_tgammaf.c: Include <errno.h>.
25853 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
25854 * math/w_tgammal.c: Include <errno.h>.
25855 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
25856 * math/auto-libm-test-in: Do not allow missing errno on tgamma
25857 underflow. Add more tgamma tests.
25858 * math/auto-libm-test-out: Regenerated.
25859 * sysdeps/i386/fpu/libm-test-ulps: Update.
25860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25861
25862 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
25863 sin, sinh, tan, tanh, tgamma, y0 and y1.
25864 * math/auto-libm-test-out: Regenerated.
25865 * math/libm-test.inc (TEST_COND_x86_64): New macro.
25866 (TEST_COND_x86): Likewise.
25867 (M_E2l): Remove macro.
25868 (M_E3l): Likewise.
25869 (M_2_SQRT_PIl): Likewise.
25870 (M_SQRT_PIl): Likewise.
25871 (M_1_DIV_El): Likewise.
25872 (log_test_data): Use AUTO_TESTS_f_f.
25873 (log10_test_data): Likewise.
25874 (log1p_test_data): Likewise.
25875 (log2_test_data): Likewise.
25876 (sin_test_data): Likewise.
25877 (sin_tonearest_test_data): Likewise.
25878 (sin_towardzero_test_data): Likewise.
25879 (sin_downward_test_data): Likewise.
25880 (sin_upward_test_data): Likewise.
25881 (sinh_test_data): Likewise.
25882 (sinh_tonearest_test_data): Likewise.
25883 (sinh_towardzero_test_data): Likewise.
25884 (sinh_downward_test_data): Likewise.
25885 (sinh_upward_test_data): Likewise.
25886 (tan_test_data): Likewise.
25887 (tan_tonearest_test_data): Likewise.
25888 (tan_towardzero_test_data): Likewise.
25889 (tan_downward_test_data): Likewise.
25890 (tan_upward_test_data): Likewise.
25891 (tanh_test_data): Likewise.
25892 (tgamma_test_data): Likewise.
25893 (y0_test_data): Likewise.
25894 (y1_test_data): Likewise.
25895 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
25896 (special_real_inputs): Add pi/4.
25897 * sysdeps/i386/fpu/libm-test-ulps: Update.
25898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25899
25900 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25901
25902 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
25903 "longjmp_target" static probes.
25904 (__longjmp): Rename to __longjmp_symbol.
25905 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25906 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
25907 on which longjmp to generate.
25908 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25909 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
25910 probe.
25911 (__sigsetjmp): Rename to __sigsetjmp_symbol.
25912 (__sigjmp_save): Rename to __sigjmp_save_symbol.
25913 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25914 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
25915 and __sigjmp_save_symbol based on which sigsetjmp to generated.
25916 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
25917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
25918 __longjmp_symbol based on which __longjmp to generate.
25919 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
25920 probe.
25921 (setjmp): Rename to setjmp_symbol.
25922 (__sigsetjmp): Rename to __sigsetjmp_symbol.
25923 (_setjmp): Rename to _setjmp_symbol.
25924 (__sigsetjmp): Rename to __sigsetjmp_symbol.
25925 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
25926 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
25927 which setjmp to generate.
25928 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
25929 "longjmp_target" static probes.
25930
25931 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25932
25933 * benchtests/README: Add note about output arguments.
25934 * benchtests/bench-sincos.c: Remove file.
25935 * benchtests/sincos-inputs: New file.
25936 * scripts/bench.pl: Identify output arguments and define
25937 static variables for them.
25938
25939 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
25940
25941 [BZ #15941]
25942 * Makefile (INSTALL): Add install-plain.texi as the primary
25943 dependency.
25944 * manual/install-plain.texi: New file.
25945 * manual/install.texi: Include node directive only for
25946 non-plaintext output.
25947
25948 2013-12-04 Joseph Myers <joseph@codesourcery.com>
25949
25950 * stdlib/longlong.h: Update from GCC.
25951
25952 [BZ #6807]
25953 [BZ #15901]
25954 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
25955 * math/w_j0f.c (y0f): Likewise.
25956 * math/w_j0l.c (__y0l): Likewise.
25957 * math/w_j1.c (y1): Likewise.
25958 * math/w_j1f.c (y1f): Likewise.
25959 * math/w_j1l.c (__y1l): Likewise
25960 * math/w_jn.c (yn): Likewise.
25961 * math/w_jnf.c (ynf): Likewise.
25962 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
25963 Bessel function pole errors in _POSIX_ mode. Use NAN as return
25964 value for Bessel function domain errors outside _SVID_ mode.
25965 Adjust sign of return value for yn (negative integer, 0).
25966 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
25967 by zero in return for negative x and set sign appropriately for
25968 negative n.
25969 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
25970 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25971 * math/libm-test.inc (y0_test_data): Add more tests and adjust
25972 expectations in error cases.
25973 (y1_test_data): Likewise.
25974 (yn_test_data): Likewise.
25975 * sysdeps/i386/fpu/libm-test-ulps: Update.
25976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25977
25978 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25979
25980 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
25981 "64" to "64-v1". Add "64-v2".
25982 (abi-64-options): Rename to ...
25983 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
25984 (abi-64-condition): Rename to ...
25985 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
25986 (abi-64-ld-soname): Rename to ...
25987 (abi-64-v1-ld-soname): ... this.
25988 (abi-64-v2-options): Define.
25989 (abi-64-v2-condition): Likewise.
25990 (abi-64-v2-ld-soname): Likewise.
25991 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
25992 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
25993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
25994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
25995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
25996
25997 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25998 Alan Modra <amodra@gmail.com>
25999
26000 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
26001 New versions for use with the ELFv2 ABI.
26002 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
26003 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
26004 declaration.
26005 (struct La_ppc64v2_retval): Likewise.
26006 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
26007 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
26008 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
26009 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
26010 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
26011 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26012 Do not save or restore CR.
26013 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
26014 (_dl_profile_resolve): Do no save or restore CR. Support extended
26015 return values for ELFv2 ABI. Fix location of FPR return registers.
26016 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
26017 updated values for _CALL_ELF == 2.
26018 (La_regs, La_retval, int_retval): Likewise.
26019
26020 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26021
26022 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
26023 (FRAME_MIN_SIZE_PARM): Likewise.
26024 (FRAME_BACKCHAIN): Likewise.
26025 (FRAME_CR_SAVE): Likewise.
26026 (FRAME_LR_SAVE): Likewise.
26027 (FRAME_TOC_SAVE): Likewise.
26028 (FRAME_PARM_SAVE): Likewise.
26029 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
26030 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
26031 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26032 (call_mcount_parm_offset): New macro.
26033 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
26034 (PROF): Use symbolic stack frame offsets.
26035 (TAIL_CALL_SYSCALL_ERROR): Likewise.
26036 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
26037 Redefine in terms of FRAME_MIN_SIZE.
26038 (_dl_runtime_resolve): Use symbolic stack frame offsets.
26039 (_dl_profile_resolve): Likewise. Update comment.
26040 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
26041 symbols stack frame offsets.
26042 (__sigsetjmp): Likewise.
26043 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
26044 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
26045 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
26046 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
26047
26048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
26049 (FRAME_BACKCHAIN): Remove.
26050 (FRAME_CR_SAVE): Likewise.
26051 (FRAME_LR_SAVE): Likewise.
26052 (FRAME_COMPILER_DW): Likewise.
26053 (FRAME_LINKER_DW): Likewise.
26054 (FRAME_TOC_SAVE): Likewise.
26055 (FRAME_PARM_SAVE): Likewise.
26056 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
26057 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
26058 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
26060 (CHECK_SP): Use symbolic stack frame offsets.
26061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
26062 zone" instead of caller's parameter save area for temp storage.
26063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26064 Likewise. Also, use symbolic stack frame offsets.
26065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
26066 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
26067 our own stack frame instead of the caller's.
26068 (__socket): Use symbolic stack frame offsets.
26069
26070 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26071 Alan Modra <amodra@gmail.com>
26072
26073 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
26074 Define.
26075 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
26076 (PPC64_LOCAL_ENTRY_OFFSET): Define.
26077 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
26078 New function.
26079 (elf_machine_fixup_plt): Call it.
26080 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
26081 reloc arguments.
26082 (elf_machine_rela): Update call to elf_machine_plt_conflict.
26083 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26084 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
26085 r2 before calling target.
26086
26087 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26088 Alan Modra <amodra@gmail.com>
26089
26090 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
26091 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
26092 versions of macros to support ELFv2 ABI.
26093 (LOCALENTRY): New macro.
26094 (ENTRY, EALIGN): Use it.
26095 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
26096 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
26097 fall through into ENTRY entry point.
26098 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
26099 Only define if _CALL_ELF != 2.
26100
26101 (elf_machine_matches_host): Verify ABI version matches.
26102 (RTLD_START): Use LOCALENTRY.
26103 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
26104 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
26105 (PLT_ENTRY_WORDS): New macro.
26106 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
26107 (elf_machine_runtime_setup): Support ELFv2 ABI.
26108 (elf_machine_fixup_plt): Likewise.
26109 (elf_machine_plt_conflict): Likewise.
26110 (resolve_ifunc): Likewise.
26111 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
26112 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26113 Likewise.
26114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
26115 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
26116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26117 (makecontext): Support ELFv2 ABI.
26118 * elf/elf.h (EF_PPC64_ABI): Define.
26119
26120 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26121
26122 * sysdeps/powerpc/powerpc64/sysdep.h
26123 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
26124 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
26125 (ENTRY) [ASSEMBLER]: ... but instead here ...
26126 (EALIGN) [ASSEMBLER]: ... and here.
26127 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
26128 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
26129 (ENTRY_2) [!ASSEMBLER]: Use it.
26130 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
26131 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
26132 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26133 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
26134 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
26135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
26136 Use PPC64_LOAD_FUNCPTR.
26137
26138 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
26139
26140 2013-12-04 Alan Modra <amodra@gmail.com>
26141
26142 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
26143 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
26144 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
26145 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
26146
26147 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
26148 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
26149 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
26150 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
26151 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
26152 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
26153
26154 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26155
26156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26157 (__makecontext): Fix incorrect CFI when backtracing out of
26158 context created via makecontext.
26159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
26160 (__setcontext): Fix incorrect CFI during switch to new context.
26161 (__novec_setcontext): Likewise.
26162
26163 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
26164
26165 [BZ #4772]
26166 * time/strptime_l.c (__strptime_internal): Allow modifiers
26167 in strptime.
26168 * time/tst-strptime.c (day_tests): Add testcase.
26169
26170 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26171
26172 * scripts/bench.pl: Skip over blank lines.
26173
26174 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
26175
26176 [BZ #926]
26177 * manual/time.texi (Calendar Time): Clarify what timezone functions
26178 use.
26179
26180 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26181
26182 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26183
26184 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
26185
26186 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
26187 implementation.
26188 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
26189 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
26190 * debug/memset_chk.c (__memset_chk): Likewise.
26191 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
26192 * debug/strncpy_chk.c: Likewise.
26193
26194 2013-12-03 Joseph Myers <joseph@codesourcery.com>
26195
26196 [BZ #15268]
26197 [BZ #15425]
26198 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
26199 (__ieee754_exp): For possibly underflowing results, check size of
26200 result and force underflow exception if required.
26201 * math/auto-libm-test-in: Add more tests of exp.
26202 * math/auto-libm-test-out: Regenerated.
26203 * sysdeps/i386/fpu/libm-test-ulps: Update.
26204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26205
26206 [BZ #16283]
26207 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
26208 * math/w_exp2f.c (__exp2f): Likewise.
26209 * math/w_exp2l.c (__exp2l): Likewise.
26210 * math/auto-libm-test-in: Do not allow missing errno on exp2
26211 underflow.
26212 * math/auto-libm-test-out: Regenerated.
26213
26214 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
26215
26216 [BZ #16274]
26217 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
26218 handle filename validation.
26219 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
26220 (do_open): Delete.
26221
26222 2013-12-03 Joseph Myers <joseph@codesourcery.com>
26223
26224 [BZ #6786]
26225 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
26226 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
26227 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
26228 <float.h>.
26229 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
26230 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
26231 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26232 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
26233 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26234 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
26235 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26236 * math/auto-libm-test-in: Don't allow missing errno from erfc.
26237 Add more erfc tests.
26238 * math/auto-libm-test-out: Regenerated.
26239 * sysdeps/i386/fpu/libm-test-ulps: Update.
26240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26241
26242 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
26243 exp2, expm1, j0 and j1.
26244 * math/auto-libm-test-out: Regenerated.
26245 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
26246 (erfc_test_data): Likewise.
26247 (exp_test_data): Likewise.
26248 (exp_tonearest_test_data): Likewise.
26249 (exp_towardzero_test_data): Likewise.
26250 (exp_downward_test_data): Likewise.
26251 (exp_upward_test_data): Likewise.
26252 (exp10_test_data): Likewise.
26253 (exp2_test_data): Likewise.
26254 (expm1_test_data): Likewise.
26255 (j0_test_data): Likewise.
26256 (j1_test_data): Likewise.
26257 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
26258 (input_flag_type): Add flag_xfail_rounding.
26259 (input_flags): Add xfail-rounding.
26260 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
26261 (output_for_one_input_case): Handle flag_xfail_rounding.
26262 * sysdeps/i386/fpu/libm-test-ulps: Update.
26263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26264
26265 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
26266
26267 [BZ #16289]
26268 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
26269 division by 0.
26270
26271 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26272
26273 [BZ #16195]
26274 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
26275 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
26276 (STAP_PROBE0): New macro.
26277 (STAP_PROBE1): Likewise.
26278 (STAP_PROBE2): Likewise.
26279 (STAP_PROBE3): Likewise.
26280 (STAP_PROBE4): Likewise.
26281
26282 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
26283
26284 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
26285
26286 2013-12-02 Steve Ellcey <sellcey@mips.com>
26287
26288 * benchtests/Makefile (bench): Add sqrt.
26289 (LDLIBS-bench-sqrt): New.
26290 * benchtests/sqrt-input: New.
26291
26292 2013-12-02 Pavel Simerda <psimerda@redhat.com>
26293
26294 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
26295 (GAIH_EAI): Likewise.
26296 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
26297 (gaih_inet): Likewise.
26298 (getaddrinfo): Don't use GAIH_EAI.
26299
26300 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
26301 (struct gaih): Remove definition.
26302
26303 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26304
26305 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
26306 Use HERRNOP directly.
26307
26308 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26309
26310 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26311
26312 2013-11-30 Joseph Myers <joseph@codesourcery.com>
26313
26314 * math/gen-auto-libm-tests.c (test_functions): Add more
26315 single-argument functions.
26316 (special_fill_pi_2): New function.
26317 (special_fill_minus_pi_2): Likewise.
26318 (special_fill_pi_6): Likewise.
26319 (special_fill_minus_pi_6): Likewise.
26320 (special_fill_pi_3): Likewise.
26321 (special_fill_2pi_3): Likewise.
26322 (special_fill_e): Likewise.
26323 (special_fill_1_e): Likewise.
26324 (special_fill_e_minus_1): Likewise.
26325 (special_real_inputs): Add more special inputs.
26326 (output_for_one_input_case): Do not require ERANGE on underflow to
26327 zero if round-to-nearest result does not underflow to zero, unless
26328 exact results required.
26329 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
26330 atan, atanh, cbrt, cos and cosh.
26331 * math/auto-libm-test-out: Regenerated.
26332 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
26333 (acos_tonearest_test_data): Likewise.
26334 (acos_towardzero_test_data): Likewise.
26335 (acos_downward_test_data): Likewise.
26336 (acos_upward_test_data): Likewise.
26337 (acosh_test_data): Likewise.
26338 (asin_test_data): Likewise.
26339 (asin_tonearest_test_data): Likewise.
26340 (asin_towardzero_test_data): Likewise.
26341 (asin_upward_test_data): Likewise.
26342 (asinh_test_data): Likewise.
26343 (atan_test_data): Likewise.
26344 (atanh_test_data): Likewise.
26345 (cbrt_test_data): Likewise.
26346 (cos_test_data): Likewise.
26347 (cos_tonearest_test_data): Likewise.
26348 (cos_towardzero_test_data): Likewise.
26349 (cos_downward_test_data): Likewise.
26350 (cos_upward_test_data): Likewise.
26351 (cosh_test_data): Likewise.
26352 (cosh_tonearest_test_data): Likewise.
26353 (cosh_towardzero_test_data): Likewise.
26354 (cosh_downward_test_data): Likewise.
26355 (cosh_upward_test_data): Likewise.
26356 * sysdeps/i386/fpu/libm-test-ulps: Update.
26357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26358
26359 2013-11-29 Joseph Myers <joseph@codesourcery.com>
26360
26361 [BZ #6787]
26362 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
26363 * math/w_exp10f.c (__exp10f): Likewise.
26364 * math/w_exp10l.c (__exp10l): Likewise.
26365 * math/libm-test.inc (exp10_test_data): Add more tests and expect
26366 errno settings in existing tests.
26367
26368 [BZ #14032]
26369 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
26370 precision control set to double precision.
26371 * sysdeps/i386/fpu/w_sqrt.c: New file.
26372 * math/auto-libm-test-in: Add more tests.
26373 * math/auto-libm-test-out: Update.
26374
26375 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
26376 (sqrt_test_tonearest): New function.
26377 (sqrt_towardzero_test_data): New variable.
26378 (sqrt_test_towardzero): New function.
26379 (sqrt_downward_test_data): New variable.
26380 (sqrt_test_downward): New function.
26381 (sqrt_upward_test_data): New variable.
26382 (sqrt_test_upward): New function.
26383 (main): Call the new functions.
26384
26385 * math/gen-auto-libm-tests.c: New file.
26386 * math/auto-libm-test-in: Likewise.
26387 * math/auto-libm-test-out: New generated file.
26388 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
26389 variables.
26390 (%beautify): Add generated representations of zero.
26391 (top level): Set $auto_input and call parse_auto_input.
26392 (beautify): Remove trailing "f" from hex float constants.
26393 (parse_args): Handle XFAIL_TEST.
26394 (convert_condition): New function.
26395 (or_value): Likewise.
26396 (or_cond_value): Likewise.
26397 (generate_testfile): Handle AUTO_TESTS_* lines.
26398 (parse_auto_input): New function.
26399 * math/libm-test.inc (XFAIL_TEST): New macro.
26400 (ERRNO_UNCHANGED): Update value.
26401 (ERRNO_EDOM): Likewise.
26402 (ERRNO_ERANGE): Likewise.
26403 (IGNORE_RESULT): Likewise.
26404 (TEST_COND_flt_32): New macro.
26405 (TEST_COND_dbl_64): Likewise.
26406 (TEST_COND_ldbl_96_intel): Likewise.
26407 (TEST_COND_ldbl_96_m68k): Likewise.
26408 (TEST_COND_ldbl_128): Likewise.
26409 (TEST_COND_ldbl_128ibm): Likewise.
26410 (TEST_COND_long32): Likewise.
26411 (TEST_COND_long64): Likewise.
26412 (TEST_COND_before_rounding): Likewise.
26413 (TEST_COND_after_rounding): Likewise.
26414 (enable_test): Handle XFAIL_TEST flag.
26415 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
26416 with finite results.
26417 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
26418 auto-libm-test-out.
26419
26420 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26421 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26422
26423 [BZ #16214]
26424 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
26425 __tls_get_addr_internal instead of __tls_get_offset in order to
26426 avoid GOT pointer dependency. Make rtld export
26427 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
26428 __tls_get_addr since we are a __tls_get_offset platform.
26429 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
26430 GOT pointer being set up before.
26431 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
26432
26433 2013-11-28 Joseph Myers <joseph@codesourcery.com>
26434
26435 * manual/math.texi (Errors in Math Functions): Document accuracy
26436 goals.
26437
26438 [BZ #15004]
26439 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
26440 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
26441 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26442 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26443 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26444 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26445 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26446 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26447 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26448 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26449 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26450 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26451 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26452 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26453 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26454 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26455
26456 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
26457 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
26458 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
26459 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
26460 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
26461 Likewise.
26462 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
26463 Likewise.
26464 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
26465 Likewise.
26466 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
26467 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
26468 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
26469 atomic-feupdateenv and flt-rounds.
26470 * sysdeps/powerpc/nofpu/Versions (libc): Add
26471 __atomic_feholdexcept, __atomic_feclearexcept,
26472 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
26473 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
26474 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
26475 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
26476 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
26477 here.
26478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
26479 Update.
26480
26481 * manual/arith.texi (FP Exceptions): Document that exceptions may
26482 not be raised when matherr is used.
26483 (Math Error Reporting): Document overflow in directed rounding
26484 modes. Document that errno may not be set when finite values are
26485 returned on overflow. Document intent to set errno on underflow
26486 only for underflow to zero.
26487
26488 [BZ #16271]
26489 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
26490 round-to-nearest then adjust result for other rounding modes.
26491 * include/fenv.h (fegetround): Use libm_hidden_proto.
26492 * math/fegetround.c (fegetround): Use libm_hidden_def.
26493 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
26494 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
26495 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26496 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
26497 Likewise.
26498 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
26499 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26500 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
26501 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
26502
26503 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26504
26505 [BZ #16077]
26506 * nss/Versions (libnss_files): Add
26507 _nss_files_gethostbyname3_r.
26508 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
26509 New function.
26510 (HOST_DB_LOOKUP): Remove macro.
26511 (_nss_files_gethostbyname_r): Implement function without the
26512 HOST_DB_LOOKUP macro.
26513 (_nss_files_gethostbyname2_r): Likewise.
26514
26515 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
26516
26517 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
26518
26519 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
26520
26521 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
26522 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
26523 warning.
26524
26525 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26526
26527 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
26528 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
26529 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
26530 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26531 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
26532 __fe_nomask_env_priv and attribute_hidden.
26533 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
26534 (libc_feupdateenv_test_ppc): Likewise.
26535 (libc_feresetround_ppc): Likewise.
26536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26537 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
26538 compat_symbol macro.
26539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26540 (__fe_nomask_env): Likewise.
26541 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
26542
26543 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26544
26545 * string/Makefile: Remove ifunc tests.
26546 * string/test-string.h: Define TEST_IFUNC.
26547 * string/test-bcopy-ifunc.c: Remove.
26548 * string/test-bzero-ifunc.c: Likewise.
26549 * string/test-memccpy-ifunc.c: Likewise.
26550 * string/test-memchr-ifunc.c: Likewise.
26551 * string/test-memcmp-ifunc.c: Likewise.
26552 * string/test-memcpy-ifunc.c: Likewise.
26553 * string/test-memmem-ifunc.c: Likewise.
26554 * string/test-memmove-ifunc.c: Likewise.
26555 * string/test-mempcpy-ifunc.c: Likewise.
26556 * string/test-memrchr-ifunc.c: Likewise.
26557 * string/test-memset-ifunc.c: Likewise.
26558 * string/test-rawmemchr-ifunc.c: Likewise.
26559 * string/test-stpcpy-ifunc.c: Likewise.
26560 * string/test-stpncpy-ifunc.c: Likewise.
26561 * string/test-strcasecmp-ifunc.c: Likewise.
26562 * string/test-strcasestr-ifunc.c: Likewise.
26563 * string/test-strcat-ifunc.c: Likewise.
26564 * string/test-strchr-ifunc.c: Likewise.
26565 * string/test-strchrnul-ifunc.c: Likewise.
26566 * string/test-strcmp-ifunc.c: Likewise.
26567 * string/test-strcpy-ifunc.c: Likewise.
26568 * string/test-strcspn-ifunc.c: Likewise.
26569 * string/test-strlen-ifunc.c: Likewise.
26570 * string/test-strncasecmp-ifunc.c: Likewise.
26571 * string/test-strncat-ifunc.c: Likewise.
26572 * string/test-strncmp-ifunc.c: Likewise.
26573 * string/test-strncpy-ifunc.c: Likewise.
26574 * string/test-strnlen-ifunc.c: Likewise.
26575 * string/test-strpbrk-ifunc.c: Likewise.
26576 * string/test-strrchr-ifunc.c: Likewise.
26577 * string/test-strspn-ifunc.c: Likewise.
26578 * string/test-strstr-ifunc.c: Likewise.
26579
26580 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26581
26582 * benchtests/Makefile: Remove ifunc tests.
26583 * benchtests/bench-string.h: Define TEST_IFUNC.
26584 * benchtests/bench-bcopy-ifunc.c: Remove.
26585 * benchtests/bench-bzero-ifunc.c: Likewise.
26586 * benchtests/bench-memccpy-ifunc.c: Likewise.
26587 * benchtests/bench-memchr-ifunc.c: Likewise.
26588 * benchtests/bench-memcmp-ifunc.c: Likewise.
26589 * benchtests/bench-memcpy-ifunc.c: Likewise.
26590 * benchtests/bench-memmem-ifunc.c: Likewise.
26591 * benchtests/bench-memmove-ifunc.c: Likewise.
26592 * benchtests/bench-mempcpy-ifunc.c: Likewise.
26593 * benchtests/bench-memrchr-ifunc.c: Likewise.
26594 * benchtests/bench-memset-ifunc.c: Likewise.
26595 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
26596 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
26597 * benchtests/bench-stpcpy-ifunc.c: Likewise.
26598 * benchtests/bench-stpncpy-ifunc.c: Likewise.
26599 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
26600 * benchtests/bench-strcasestr-ifunc.c: Likewise.
26601 * benchtests/bench-strcat-ifunc.c: Likewise.
26602 * benchtests/bench-strchr-ifunc.c: Likewise.
26603 * benchtests/bench-strchrnul-ifunc.c: Likewise.
26604 * benchtests/bench-strcmp-ifunc.c: Likewise.
26605 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
26606 * benchtests/bench-strcpy-ifunc.c: Likewise.
26607 * benchtests/bench-strcspn-ifunc.c: Likewise.
26608 * benchtests/bench-strlen-ifunc.c: Likewise.
26609 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
26610 * benchtests/bench-strncat-ifunc.c: Likewise.
26611 * benchtests/bench-strncmp-ifunc.c: Likewise.
26612 * benchtests/bench-strncpy-ifunc.c: Likewise.
26613 * benchtests/bench-strnlen-ifunc.c: Likewise.
26614 * benchtests/bench-strpbrk-ifunc.c: Likewise.
26615 * benchtests/bench-strrchr-ifunc.c: Likewise.
26616 * benchtests/bench-strsep-ifunc.c: Likewise.
26617 * benchtests/bench-strspn-ifunc.c: Likewise.
26618 * benchtests/bench-strstr-ifunc.c: Likewise.
26619
26620 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26621
26622 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
26623
26624 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
26625
26626 * resolv/netdb.h: Use __glibc_reserved instead __unused.
26627 * rt/aio.h: Likewise.
26628 * sysdeps/gnu/bits/utmp.h: Likewise.
26629 * sysdeps/gnu/bits/utmpx.h: Likewise.
26630 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26631 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
26632 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
26633 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
26634 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
26635 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
26636 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
26637 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
26638 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
26639 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
26640 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
26641 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
26642 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
26643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
26644 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26645 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
26646 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
26647 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
26648 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
26649 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
26650 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
26651 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
26652 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
26653 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26654 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
26655 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26656 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
26657 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
26658 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
26659 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
26660 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
26661 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
26662 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
26663 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
26664 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
26665 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
26666 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
26667 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
26668 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
26669 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
26670 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
26671 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26672
26673 2013-11-25 Carlos O'Donell <carlos@redhat.com>
26674
26675 [BZ #16245]
26676 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
26677 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
26678
26679 2013-11-25 Joseph Myers <joseph@codesourcery.com>
26680
26681 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
26682 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
26683 Likewise.
26684
26685 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26686
26687 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
26688 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
26689 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
26690 (__fesetround): Remove define.
26691 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
26692 rounding and exceptions handling.
26693 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
26694 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
26695 (__fe_nomask_env): Likewise.
26696 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
26697 __fegetround instead of fegetround.
26698 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
26699 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
26700
26701 2013-11-21 Roland McGrath <roland@hack.frob.com>
26702
26703 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
26704 it's there.
26705
26706 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
26707
26708 2013-11-21 Meador Inge <meadori@codesourcery.com>
26709
26710 [BZ #11157]
26711 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
26712 (encrypt_r): Likewise.
26713 * malloc/obstack.h (obstack_free): Likewise.
26714 * posix/unistd.h (encrypt): Likewise.
26715
26716 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
26717
26718 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
26719 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
26720 DL_CALL_DT_FINI() that call the functions directly.
26721 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
26722 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
26723 * elf/dl-fini.c: Likewise.
26724
26725 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
26726
26727 * malloc/hooks.c (memalign_check): Add alignment rounding.
26728 * malloc/malloc.c (_mid_memalign): New function.
26729 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
26730 Implement by calling _mid_memalign.
26731 * manual/probes.texi (Memory Allocation Probes): Remove
26732 memory_valloc_retry and memory_pvalloc_retry.
26733
26734 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26735
26736 * locale/programs/locarchive.c (open_archive): Add const
26737 qualifier to ARCHIVEFNAME and copy default fname to
26738 DEFAULT_FNAME.
26739
26740 [BZ #15601]
26741 * libio/tst-widetext.input: Rename Oriya to Odia.
26742 * locale/iso-639.def: Likewise.
26743
26744 * manual/probes.texi (Mathematical Function Probes): Add
26745 documentation for sin, cos, asin and acos probes.
26746 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
26747 (__sin32): Add slowasin probe.
26748 (__cos32): Add slowacos probe.
26749 (__mpsin): Add slowsin probe.
26750 (__mpcos): Add slowcos probe.
26751
26752 2013-11-19 Joseph Myers <joseph@codesourcery.com>
26753
26754 [BZ #15483]
26755 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
26756 thread-local __sim_exceptions_thread and global
26757 __sim_exceptions_global.
26758 (__sim_disabled_exceptions): Change to thread-local
26759 __sim_disabled_exceptions_thread and global
26760 __sim_disabled_exceptions_global.
26761 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26762 and global __sim_round_mode_global.
26763 (__simulate_exceptions): Use thread-local floating-point state and
26764 set global state from it as needed.
26765 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
26766 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
26767 __sim_round_mode_thread.
26768 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
26769 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
26770 and global __sim_exceptions_global.
26771 (__sim_disabled_exceptions): Change to thread-local
26772 __sim_disabled_exceptions_thread and global
26773 __sim_disabled_exceptions_global.
26774 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26775 and global __sim_round_mode_global.
26776 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
26777 (SIM_SET_GLOBAL): Likewise.
26778 * sysdeps/powerpc/soft-fp/sfp-machine.h
26779 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
26780 __sim_round_mode_thread.
26781 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
26782 __sim_disabled_exceptions_thread.
26783 (__sim_exceptions): Change to __sim_exceptions_thread.
26784 (__sim_disabled_exceptions): Change to
26785 __sim_disabled_exceptions_thread.
26786 (__sim_round_mode): Change to __sim_round_mode_thread.
26787 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
26788 thread-local floating-point state and set global state from it as
26789 needed.
26790 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
26791 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
26792 (__sim_disabled_exceptions): Remove extern declaration.
26793 (feenableexcept): Use thread-local floating-point state and set
26794 global state from it as needed.
26795 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
26796 extern declaration.
26797 (__sim_disabled_exceptions): Likewise.
26798 (__sim_round_mode): Likewise.
26799 (__fegetenv): Use thread-local floating-point state.
26800 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
26801 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26802 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
26803 floating-point state and set global state from it as needed.
26804 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
26805 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26806 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
26807 Likewise.
26808 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
26809 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
26810 Likewise.
26811 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
26812 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
26813 Use __sim_round_mode_thread.
26814 * math/test-fenv-tls.c: New file.
26815 * math/Makefile (tests): Add test-fenv-tls.
26816 ($(objpfx)test-fenv-tls): Depend on
26817 $(common-objpfx)nptl/libpthread.so.
26818
26819 2013-11-19 Andreas Schwab <schwab@suse.de>
26820
26821 * locale/programs/locale.c (show_info): Decode wordarray elements.
26822 * locale/categories.def (LC_MONETARY): Add element for
26823 _NL_MONETARY_CRNCYSTR.
26824 * locale/C-monetary.c (conversion_rate): New variable.
26825 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
26826 element.
26827
26828 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
26829
26830 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
26831 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
26832
26833 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
26834
26835 * elf/Makefile (tst-auxv): New test.
26836 * elf/tst-auxv.c: New
26837 * elf/rtld.c (dl_main): Adjust AT_EXECFN
26838
26839 2013-11-18 Joseph Myers <joseph@codesourcery.com>
26840
26841 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
26842 (hidden_proto): Caller changed.
26843 (hidden_tls_proto): New macro.
26844 (libc_hidden_tls_proto): Likewise.
26845 (rtld_hidden_tls_proto): Likewise.
26846 (libm_hidden_tls_proto): Likewise.
26847 (libresolv_hidden_tls_proto): Likewise.
26848 (librt_hidden_tls_proto): Likewise.
26849 (libdl_hidden_tls_proto): Likewise.
26850 (libnss_files_hidden_tls_proto): Likewise.
26851 (libnsl_hidden_tls_proto): Likewise.
26852 (libnss_nisplus_hidden_tls_proto): Likewise.
26853 (libutil_hidden_tls_proto): Likewise.
26854
26855 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
26856
26857 [BZ #10253]
26858 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
26859 (decompose_rpath): Defer expansion to fillin_rpath.
26860 (_dl_init_paths): Pass linkmap to fillin_rpath.
26861
26862 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26863
26864 * benchtests/Makefile: Add strsep.
26865 * benchtests/bench-strsep.c: New file: strsep benchtest.
26866 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
26867
26868 2013-11-18 Andreas Schwab <schwab@suse.de>
26869
26870 * locale/programs/locale.c (show_info) [case byte]: Check for
26871 '\377' instead of '\177'.
26872 * locale/C-monetary.c (not_available): Always use "\377".
26873 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
26874 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
26875 detect unavailable sign_posn locale elements.
26876 * locale/localeconv.c (__localeconv): For grouping and
26877 mon_grouping handle "\177" and "\377" like no grouping.
26878 (INT_ELEM): New macro. Use it to set all numeric members.
26879 * locale/programs/ld-monetary.c (monetary_read)
26880 <tok_mon_grouping>: Normalize single -1 to the empty string.
26881 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
26882 Likewise.
26883
26884 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
26885
26886 [BZ #16055]
26887 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
26888 when we match (nil).
26889 * stdio-common/tst-sscanf.c (struct test): Add testcase.
26890
26891 2013-11-16 Joseph Myers <joseph@codesourcery.com>
26892
26893 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
26894 (NO_TEST_INLINE): Update value.
26895 (ERRNO_UNCHANGED): Likewise.
26896 (ERRNO_EDOM): Likewise.
26897 (ERRNO_ERANGE): Likewise.
26898 (IGNORE_RESULT): Likewise.
26899 (check_float_internal): Check signs of NaN results if
26900 TEST_NAN_SIGN used.
26901 (check_complex): Pass TEST_NAN_SIGN flag through to second
26902 check_float_internal call.
26903 (copysign_test_data): Add tests with quiet NaNs as second
26904 argument. Use TEST_NAN_SIGN.
26905 (fabs_test_data): Add test of negative quiet NaN argument. Use
26906 TEST_NAN_SIGN.
26907 (signbit_test_data): Add tests of quiet NaN argument.
26908 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
26909
26910 * math/gen-libm-test.pl (show_exceptions): Take extra argument
26911 $ignore_result.
26912 (parse_args): Handle function results specified as IGNORE.
26913 * math/libm-test.inc (IGNORE_RESULT): New macro.
26914 (check_float_internal): Do not check numerical result if flag
26915 IGNORE_RESULT set.
26916 (check_complex): Pass through IGNORE_RESULT to second
26917 check_float_internal call.
26918 (check_int): Do not check numerical result if flag IGNORE_RESULT
26919 set.
26920 (check_long): Likewise.
26921 (check_bool): Likewise.
26922 (check_longlong): Likewise.
26923 (lrint_test_data): Add tests of infinite and NaN arguments.
26924 (lrint_tonearest_test_data): Likewise.
26925 (lrint_towardzero_test_data): Likewise.
26926 (lrint_downward_test_data): Likewise.
26927 (lrint_upward_test_data): Likewise.
26928 (llrint_test_data): Likewise.
26929 (llrint_tonearest_test_data): Likewise.
26930 (llrint_towardzero_test_data): Likewise.
26931 (llrint_downward_test_data): Likewise.
26932 (llrint_upward_test_data): Likewise.
26933 (lround_test_data): Likewise.
26934 (llround_test_data): Likewise.
26935
26936 * math/libm-test.inc (NO_TEST_INLINE): New macro.
26937 (ERRNO_UNCHANGED): Update value.
26938 (ERRNO_EDOM): Likewise.
26939 (ERRNO_ERANGE): Likewise.
26940 (NO_TEST_INLINE_FLOAT): New macro.
26941 (NO_TEST_INLINE_DOUBLE): Likewise.
26942 (enable_test): New function.
26943 (RUN_TEST_f_f): Check enable_test before running test.
26944 (RUN_TEST_2_f): Likewise.
26945 (RUN_TEST_fff_f): Likewise.
26946 (RUN_TEST_c_f): Likewise.
26947 (RUN_TEST_f_f1): Likewise.
26948 (RUN_TEST_fF_f1): Likewise.
26949 (RUN_TEST_fI_f1): Likewise.
26950 (RUN_TEST_ffI_f1): Likewise.
26951 (RUN_TEST_c_c): Likewise.
26952 (RUN_TEST_cc_c): Likewise.
26953 (RUN_TEST_f_i): Likewise.
26954 (RUN_TEST_f_i_tg): Likewise.
26955 (RUN_TEST_ff_i_tg): Likewise.
26956 (RUN_TEST_f_b): Likewise.
26957 (RUN_TEST_f_b_tg): Likewise.
26958 (RUN_TEST_f_l): Likewise.
26959 (RUN_TEST_f_L): Likewise.
26960 (RUN_TEST_fFF_11): Likewise.
26961 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
26962 conditionals.
26963 (cosh_test_data): Likewise.
26964 (exp_test_data): Likewise.
26965 (expm1_test_data): Likewise.
26966 (hypot_test_data): Likewise.
26967 (pow_test_data): Likewise.
26968 (sinh_test_data): Likewise.
26969 (tanh_test_data): Likewise.
26970 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
26971 flags argument.
26972
26973 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
26974 tests with quiet NaN input and output.
26975 (acosh_test_data): Likewise.
26976 (asin_test_data): Likewise.
26977 (asinh_test_data): Likewise.
26978 (atan_test_data): Likewise.
26979 (atanh_test_data): Likewise.
26980 (atan2_test_data): Likewise.
26981 (cbrt_test_data): Likewise.
26982 (cos_test_data): Likewise.
26983 (cosh_test_data): Likewise.
26984 (erf_test_data): Likewise.
26985 (erfc_test_data): Likewise.
26986 (exp_test_data): Likewise.
26987 (exp10_test_data): Likewise.
26988 (exp2_test_data): Likewise.
26989 (expm1_test_data): Likewise.
26990 (hypot_test_data): Likewise.
26991 (j0_test_data): Likewise.
26992 (j1_test_data): Likewise.
26993 (jn_test_data): Likewise.
26994 (lgamma_test_data): Likewise.
26995 (log_test_data): Likewise.
26996 (log10_test_data): Likewise.
26997 (log1p_test_data): Likewise.
26998 (log2_test_data): Likewise.
26999 (pow_test_data): Likewise.
27000 (scalb_test_data): Likewise.
27001 (sin_test_data): Likewise.
27002 (sincos_test_data): Likewise.
27003 (sinh_test_data): Likewise.
27004 (tan_test_data): Likewise.
27005 (tanh_test_data): Likewise.
27006 (tgamma_test_data): Likewise.
27007 (y0_test_data): Likewise.
27008 (y1_test_data): Likewise.
27009 (yn_test_data): Likewise.
27010
27011 [BZ #16167]
27012 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
27013 argument being NaN and avoid computations with second argument in
27014 that case.
27015 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27016 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
27017 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27018
27019 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
27020
27021 * locale/iso-639.def: Add Chitwani Tharu (the).
27022
27023 2013-11-14 Andreas Schwab <schwab@suse.de>
27024
27025 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
27026 word instead of empty string.
27027
27028 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27029
27030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27031 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
27032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27033 (__fe_nomask_env): Likewise.
27034
27035 2013-11-13 Steve Ellcey <sellcey@mips.com>
27036
27037 * benchtests/bench-timing.h: Include time.h.
27038
27039 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
27040
27041 [BZ #15997]
27042 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
27043 to 3.4.0 for x32.
27044 * sysdeps/unix/sysv/linux/configure: Regenerated.
27045
27046 2013-11-13 Joseph Myers <joseph@codesourcery.com>
27047
27048 [BZ #16151]
27049 * stdlib/strtod_l.c (round_and_return): Do not consider
27050 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
27051 exponent one less than half the least subnormal exponent.
27052 * stdlib/test-strtod-round-data: Add more tests.
27053 * stdlib/tst-strtod-round.c (tests): Regenerated.
27054
27055 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27056
27057 [BZ #14143]
27058 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
27059 (__fe_mask_env): Likewise.
27060 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
27061 libm_hidden_proto and add function prototype.
27062 (__fe_mask_env): Add function prototype.
27063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27064 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
27065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27066 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
27067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27068 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
27069
27070 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27071
27072 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
27073 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
27074
27075 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27076
27077 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
27078 of htab_find_slot().
27079
27080 2013-11-11 David S. Miller <davem@davemloft.net>
27081
27082 [BZ #16150]
27083 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
27084 symbol in the non-vis3 case in static builds.
27085 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
27086 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
27087 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
27088 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
27089
27090 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
27091
27092 [BZ #387]
27093 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
27094 it is empty.
27095
27096 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27097
27098 * benchtests/Makefile: Add bench-strtod.
27099 * benchtests/bench-strtod.c: New file: strtod benchtest
27100
27101 2013-11-11 Andreas Schwab <schwab@suse.de>
27102
27103 [BZ #16153]
27104 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
27105 terminating NUL in key length.
27106
27107 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27108
27109 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27110 Add artificial ODP entry for vDSO symbol for PPC64.
27111 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
27112 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
27113
27114 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
27115
27116 [BZ #15374]
27117 * nss/getent.c (services_keys): Recognize services starting with digit.
27118
27119 2013-11-06 David S. Miller <davem@davemloft.net>
27120
27121 [BZ #15985]
27122 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
27123 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
27124
27125 2013-11-06 Will Newton <will.newton@linaro.org>
27126
27127 * manual/memory.texi (Malloc Examples): Remove register
27128 keyword from examples.
27129
27130 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
27131
27132 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
27133
27134 2013-11-04 Joseph Myers <joseph@codesourcery.com>
27135
27136 [BZ #6981]
27137 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
27138 depending on [__GCC_IEC_559 > 0].
27139 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
27140 depending on [__GCC_IEC_559_COMPLEX > 0].
27141
27142 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
27143
27144 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
27145 to iso-639.def.
27146
27147 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
27148
27149 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
27150
27151 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
27152
27153 [BZ #16112]
27154 * malloc/malloc (malloc_info): Do not handle first bin as
27155 special case.
27156
27157 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
27158
27159 * locale/iso-639.def: Add Central Nahuatl (nhn).
27160
27161 2013-11-01 Bruno Haible <bruno@clisp.org>
27162
27163 [BZ #7003]
27164 * manual/math.texi (BSD Random): Specify range upper bound as
27165 in POSIX.
27166
27167 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
27168
27169 * locale/iso-639.def: Add Meadow Mari (mhr).
27170
27171 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
27172
27173 [BZ #14752], [BZ #15763]
27174 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
27175 Validate name.
27176 * rt/tst_shm.c: Add test for escaping directory.
27177
27178 2013-10-31 Andreas Schwab <schwab@suse.de>
27179
27180 [BZ #15917]
27181 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
27182 followed by 'x' as part of digit sequence.
27183 * stdio-common/tst-sscanf.c (double_tests2): New tests.
27184
27185 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
27186
27187 [BZ #16037]
27188 * configure.ac: allow GNU Make 4.0 and greater.
27189 * configure: Regenerated.
27190
27191 2013-10-30 Will Newton <will.newton@linaro.org>
27192
27193 [BZ #16038]
27194 * malloc/hooks.c (memalign_check): Limit alignment to the
27195 maximum representable power of two.
27196 * malloc/malloc.c (__libc_memalign): Likewise.
27197 * malloc/tst-memalign.c (do_test): Add test for very
27198 large alignment values.
27199 * malloc/tst-posix_memalign.c (do_test): Likewise.
27200
27201 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
27202
27203 [BZ #11087]
27204 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
27205 (munmap_chunk): Likewise.
27206 (mremap_chunk): Likewise.
27207
27208 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
27209
27210 [BZ #15799]
27211 * stdlib/div.c (div): Remove obsolete code.
27212 * stdlib/ldiv.c (ldiv): Likewise.
27213 * stdlib/lldiv.c (lldiv): Likewise.
27214
27215 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27216
27217 [BZ #16071]
27218 * nss/nss_files/files-XXX.c (get_contents_ret): New
27219 enumerator.
27220 (get_contents): New function.
27221 (internal_getent): Use it. Expand size of LINEBUFLEN.
27222
27223 2013-10-30 Mike Frysinger <vapier@gentoo.org>
27224
27225 * configure.in: Moved to ...
27226 * configure.ac: ... here. Change reference to configure.in
27227 to configure.ac.
27228 * sysdeps/arm/preconfigure.ac: ... here.
27229 configure.in to configure.ac.
27230 * sysdeps/gnu/configure.in: Moved to ...
27231 * sysdeps/gnu/configure.ac: ... here.
27232 * sysdeps/i386/configure.in: Moved to ...
27233 * sysdeps/i386/configure.ac: ... here.
27234 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
27235 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
27236 * sysdeps/mach/configure.in: Moved to ...
27237 * sysdeps/mach/configure.ac: ... here.
27238 * sysdeps/mach/hurd/configure.in: Moved to ...
27239 * sysdeps/mach/hurd/configure.ac: ... here.
27240 * sysdeps/powerpc/configure.in: Moved to ...
27241 * sysdeps/powerpc/configure.ac: ... here.
27242 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
27243 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
27244 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
27245 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
27246 * sysdeps/s390/s390-32/configure.in: Moved to ...
27247 * sysdeps/s390/s390-32/configure.ac: ... here.
27248 * sysdeps/s390/s390-64/configure.in: Moved to ...
27249 * sysdeps/s390/s390-64/configure.ac: ... here.
27250 * sysdeps/sh/configure.in: Moved to ...
27251 * sysdeps/sh/configure.ac: ... here.
27252 * sysdeps/sparc/configure.in: Moved to ...
27253 * sysdeps/sparc/configure.ac: ... here.
27254 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
27255 * sysdeps/unix/sysv/linux/configure.ac: ... here.
27256 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
27257 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
27258 * sysdeps/x86_64/configure.in: Moved to ...
27259 * sysdeps/x86_64/configure.ac: ... here.
27260 * sysdeps/x86_64/preconfigure.in: Moved to ...
27261 * sysdeps/x86_64/preconfigure.ac: ... here.
27262 * aclocal.m4: Change reference to configure.in to configure.ac.
27263 * config.h.in: Likewise.
27264 * manual/install.texi: Likewise.
27265 * manual/maint.texi: Likewise.
27266 * Makefile: Likewise.
27267 * malloc/Makefile: Likewise.
27268 * nscd/Makefile: Likewise.
27269 * Makeconfig: Change reference to configure.in and
27270 preconfigure.in to configure.ac and preconfigure.ac
27271 respectively.
27272 * INSTALL: Regenerated.
27273 * configure: Likewise.
27274 * sysdeps/gnu/configure: Likewise.
27275 * sysdeps/i386/configure: Likewise.
27276 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
27277 * sysdeps/mach/configure: Likewise.
27278 * sysdeps/mach/hurd/configure: Likewise.
27279 * sysdeps/powerpc/configure: Likewise.
27280 * sysdeps/powerpc/powerpc32/configure: Likewise.
27281 * sysdeps/powerpc/powerpc64/configure: Likewise.
27282 * sysdeps/s390/s390-32/configure: Likewise.
27283 * sysdeps/s390/s390-64/configure: Likewise.
27284 * sysdeps/sh/configure: Likewise.
27285 * sysdeps/sparc/configure: Likewise.
27286 * sysdeps/unix/sysv/linux/configure: Likewise.
27287 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
27288 * sysdeps/x86_64/configure: Likewise.
27289 * sysdeps/x86_64/preconfigure: Likewise.
27290
27291 2013-10-29 Andreas Schwab <schwab@suse.de>
27292
27293 * stdio-common/Makefile (tst-swscanf-ENV): Define.
27294
27295 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27296
27297 * benchtests/pow-inputs: Add new inputs.
27298
27299 * benchtests/exp-inputs: Add new inputs.
27300
27301 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
27302 conditional check for return value.
27303 (__cos32): Likewise.
27304
27305 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27306
27307 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
27308 to provide a boost for large inputs with word alignment.
27309 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
27310 implementation based on optimized PPC64 strcpy.
27311 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
27312 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
27313 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
27314 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
27315
27316 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
27317
27318 [BZ #2801]
27319 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
27320
27321 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
27322
27323 [BZ #14876]
27324 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
27325 * time/tst-strptime.c (day_tests): Add testcase.
27326
27327 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
27328
27329 [BZ #14029]
27330 * manual/pattern.texi: Acknowledge that fnmatch can fail.
27331
27332 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
27333
27334 [BZ #16074]
27335 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
27336 MAP_FAILED on error.
27337
27338 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27339
27340 [BZ #16072]
27341 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
27342 heap for large requests.
27343
27344 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
27345
27346 [BZ #9954]
27347 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
27348 result if the result has no associated interface.
27349 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
27350 interface for all 127.X.Y.Z addresses.
27351
27352 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
27353
27354 * locale/iso-639.def: Add Ligurian (lij)
27355
27356 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
27357
27358 [BZ #15825]
27359 * sunrpc/rpc_main.c: Document rpcgen -5.
27360
27361 2013-10-19 Michael Stahl <mstahl@redhat.com>
27362
27363 * elf/rtld.c (do_preload): Print the reason why preloading failed.
27364
27365 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
27366
27367 [BZ #10278]
27368 * posix/glob.c: Match only directories when trailing slash is present.
27369 * posix/tst-gnuglob.c (my_opendir): Do not open files.
27370 (main): Add testcase.
27371
27372 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
27373
27374 [BZ #15670]
27375 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
27376
27377 2013-10-18 Carlos O'Donell <carlos@redhat.com>
27378
27379 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
27380 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
27381 AUTH_DES and cindex for FIPS 140-2.
27382 (DES Encryption): Add cindex FIPS 46-3.
27383
27384 * locale/locarchive.h (struct locarhandle): Add fname.
27385 * locale/programs/localedef.c (main): Pass ARGV[remaining]
27386 if an optional argument was specified to --list-archive,
27387 otherwise NULL.
27388 * locale/programs/locarchive.c (show_archive_content): Take new
27389 argument fname and pass it via ah.fname to open_archive.
27390 * locale/programs/localedef.h: Update decl.
27391 (open_archive): If AH->fname is non-null, open that file
27392 rather than the default file name, and don't ignore ENOENT.
27393 (create_archive): Set AH.fname to NULL.
27394 (delete_locales_from_archive): Likewise.
27395 (add_locales_to_archive): Likewise.
27396 * locale/programs/locfile.c (write_all_categories): Likewise.
27397
27398 2013-10-18 Joseph Myers <joseph@codesourcery.com>
27399 Aldy Hernandez <aldyh@redhat.com>
27400
27401 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
27402 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
27403 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
27404 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
27405 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
27406 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
27407 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
27408 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
27409 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
27410 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
27411 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
27412 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
27413 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
27414 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
27415 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
27416 Likewise.
27417 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
27418 Likewise.
27419 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
27420 Likewise.
27421 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
27422 Likewise.
27423 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
27424 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
27425 Likewise.
27426 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
27427 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
27428 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
27429 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
27430 Likewise.
27431 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
27432 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
27433 * sysdeps/powerpc/preconfigure: Likewise.
27434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
27435 Likewise.
27436 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
27437 Replace contents of file by #include of <fenv_libc.h>.
27438 * sysdeps/powerpc/soft-fp/sfp-machine.h
27439 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
27440 and <sys/prctl.h>.
27441 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
27442 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
27443 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
27444 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
27445 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
27446 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
27447 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
27448 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
27449 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
27450 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
27451 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
27452 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
27453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27454 Allow copysignl PLT reference to be missing.
27455
27456 2013-10-18 Richard Sandiford <richard@codesourcery.com>
27457 Joseph Myers <joseph@codesourcery.com
27458
27459 [BZ #15948]
27460 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
27461 single character.
27462 (add_to_tablewc): Assert sequence of wide characters is nonempty.
27463
27464 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27465
27466 * elf/tst-tls-dlinfo.c: Don't include tls.h.
27467 * elf/tst-tls1.c: Likewise.
27468 * elf/tst-tls10.h: Likewise.
27469 * elf/tst-tls14.c: Likewise.
27470 * elf/tst-tls2.c: Likewise.
27471 * elf/tst-tls3.c: Likewise.
27472 * elf/tst-tls4.c: Likewise.
27473 * elf/tst-tls5.c: Likewise.
27474 * elf/tst-tls6.c: Likewise.
27475 * elf/tst-tls7.c: Likewise.
27476 * elf/tst-tls8.c: Likewise.
27477 * elf/tst-tls9.c: Likewise.
27478 * elf/tst-tlsmod1.c: Likewise.
27479 * elf/tst-tlsmod13.c: Likewise.
27480 * elf/tst-tlsmod13a.c: Likewise.
27481 * elf/tst-tlsmod14a.c: Likewise.
27482 * elf/tst-tlsmod16a.c: Likewise.
27483 * elf/tst-tlsmod16b.c: Likewise.
27484 * elf/tst-tlsmod2.c: Likewise.
27485 * elf/tst-tlsmod3.c: Likewise.
27486 * elf/tst-tlsmod4.c: Likewise.
27487 * elf/tst-tlsmod5.c: Likewise.
27488 * elf/tst-tlsmod6.c: Likewise.
27489
27490 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
27491
27492 [BZ #12486]
27493 * malloc/malloc.c: remove checks for statistics.
27494
27495 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
27496
27497 [BZ #15277]
27498 * inet/inet_net.c (inet_network): Detect additional invalid strings.
27499 * inet/tst-network.c: Add testcase.
27500
27501 2013-10-17 Andreas Schwab <schwab@suse.de>
27502
27503 [BZ #15218]
27504 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
27505 to determine canonical name.
27506
27507 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
27508
27509 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
27510 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
27511 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27512 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27513 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27514 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27515 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27516 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27517 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27518 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27519 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27520 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27521 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27522 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27523 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27524 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27525 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27526 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27527 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27528 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27529 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27530 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27531 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27532 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
27533 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
27534 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27535 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27536 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
27537 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27538 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
27539 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27540 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27541 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27542 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27543 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27544 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27545 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27546 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27547 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27548 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27549 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27550 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27551 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27552 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27553 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27554 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27555 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27556 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27557 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27558 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27559 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27560 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27561 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27562 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27563 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27564 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27565 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27566 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27567
27568 2013-10-17 Joseph Myers <joseph@codesourcery.com>
27569
27570 [BZ #16041]
27571 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
27572 make result into a quiet NaN.
27573
27574 2013-10-16 Joseph Myers <joseph@codesourcery.com>
27575
27576 * soft-fp/adddf3.c: Fix horizontal whitespace.
27577 * soft-fp/addsf3.c: Likewise.
27578 * soft-fp/addtf3.c: Likewise.
27579 * soft-fp/divdf3.c: Likewise.
27580 * soft-fp/divsf3.c: Likewise.
27581 * soft-fp/divtf3.c: Likewise.
27582 * soft-fp/double.h: Likewise.
27583 * soft-fp/eqdf2.c: Likewise.
27584 * soft-fp/eqsf2.c: Likewise.
27585 * soft-fp/eqtf2.c: Likewise.
27586 * soft-fp/extenddftf2.c: Likewise.
27587 * soft-fp/extended.h: Likewise.
27588 * soft-fp/extendsfdf2.c: Likewise.
27589 * soft-fp/extendsftf2.c: Likewise.
27590 * soft-fp/extendxftf2.c: Likewise.
27591 * soft-fp/fixdfdi.c: Likewise.
27592 * soft-fp/fixdfsi.c: Likewise.
27593 * soft-fp/fixdfti.c: Likewise.
27594 * soft-fp/fixsfdi.c: Likewise.
27595 * soft-fp/fixsfsi.c: Likewise.
27596 * soft-fp/fixsfti.c: Likewise.
27597 * soft-fp/fixtfdi.c: Likewise.
27598 * soft-fp/fixtfsi.c: Likewise.
27599 * soft-fp/fixtfti.c: Likewise.
27600 * soft-fp/fixunsdfdi.c: Likewise.
27601 * soft-fp/fixunsdfsi.c: Likewise.
27602 * soft-fp/fixunsdfti.c: Likewise.
27603 * soft-fp/fixunssfdi.c: Likewise.
27604 * soft-fp/fixunssfsi.c: Likewise.
27605 * soft-fp/fixunssfti.c: Likewise.
27606 * soft-fp/fixunstfdi.c: Likewise.
27607 * soft-fp/fixunstfsi.c: Likewise.
27608 * soft-fp/fixunstfti.c: Likewise.
27609 * soft-fp/floatdidf.c: Likewise.
27610 * soft-fp/floatdisf.c: Likewise.
27611 * soft-fp/floatditf.c: Likewise.
27612 * soft-fp/floatsidf.c: Likewise.
27613 * soft-fp/floatsisf.c: Likewise.
27614 * soft-fp/floatsitf.c: Likewise.
27615 * soft-fp/floattidf.c: Likewise.
27616 * soft-fp/floattisf.c: Likewise.
27617 * soft-fp/floattitf.c: Likewise.
27618 * soft-fp/floatundidf.c: Likewise.
27619 * soft-fp/floatundisf.c: Likewise.
27620 * soft-fp/floatunditf.c: Likewise.
27621 * soft-fp/floatunsidf.c: Likewise.
27622 * soft-fp/floatunsisf.c: Likewise.
27623 * soft-fp/floatunsitf.c: Likewise.
27624 * soft-fp/floatuntidf.c: Likewise.
27625 * soft-fp/floatuntisf.c: Likewise.
27626 * soft-fp/floatuntitf.c: Likewise.
27627 * soft-fp/fmadf4.c: Likewise.
27628 * soft-fp/fmasf4.c: Likewise.
27629 * soft-fp/fmatf4.c: Likewise.
27630 * soft-fp/gedf2.c: Likewise.
27631 * soft-fp/gesf2.c: Likewise.
27632 * soft-fp/getf2.c: Likewise.
27633 * soft-fp/ledf2.c: Likewise.
27634 * soft-fp/lesf2.c: Likewise.
27635 * soft-fp/letf2.c: Likewise.
27636 * soft-fp/muldf3.c: Likewise.
27637 * soft-fp/mulsf3.c: Likewise.
27638 * soft-fp/multf3.c: Likewise.
27639 * soft-fp/negdf2.c: Likewise.
27640 * soft-fp/negsf2.c: Likewise.
27641 * soft-fp/negtf2.c: Likewise.
27642 * soft-fp/op-1.h: Likewise.
27643 * soft-fp/op-2.h: Likewise.
27644 * soft-fp/op-4.h: Likewise.
27645 * soft-fp/op-8.h: Likewise.
27646 * soft-fp/op-common.h: Likewise.
27647 * soft-fp/quad.h: Likewise.
27648 * soft-fp/single.h: Likewise.
27649 * soft-fp/soft-fp.h: Likewise.
27650 * soft-fp/sqrtdf2.c: Likewise.
27651 * soft-fp/sqrtsf2.c: Likewise.
27652 * soft-fp/sqrttf2.c: Likewise.
27653 * soft-fp/subdf3.c: Likewise.
27654 * soft-fp/subsf3.c: Likewise.
27655 * soft-fp/subtf3.c: Likewise.
27656 * soft-fp/truncdfsf2.c: Likewise.
27657 * soft-fp/trunctfdf2.c: Likewise.
27658 * soft-fp/trunctfsf2.c: Likewise.
27659 * soft-fp/trunctfxf2.c: Likewise.
27660 * soft-fp/unorddf2.c: Likewise.
27661 * soft-fp/unordsf2.c: Likewise.
27662 * soft-fp/unordtf2.c: Likewise.
27663
27664 2013-10-15 Joseph Myers <joseph@codesourcery.com>
27665
27666 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
27667 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
27668
27669 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
27670
27671 * elf/dl-libc.c: Clear initfini list after freeing.
27672
27673 2013-10-14 Joseph Myers <joseph@codesourcery.com>
27674
27675 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
27676 * soft-fp/addsf3.c: Likewise.
27677 * soft-fp/addtf3.c: Likewise.
27678 * soft-fp/divdf3.c: Likewise.
27679 * soft-fp/divsf3.c: Likewise.
27680 * soft-fp/divtf3.c: Likewise.
27681 * soft-fp/double.h: Likewise.
27682 * soft-fp/eqdf2.c: Likewise.
27683 * soft-fp/eqsf2.c: Likewise.
27684 * soft-fp/eqtf2.c: Likewise.
27685 * soft-fp/extenddftf2.c: Likewise.
27686 * soft-fp/extended.h: Likewise.
27687 * soft-fp/extendsfdf2.c: Likewise.
27688 * soft-fp/extendsftf2.c: Likewise.
27689 * soft-fp/extendxftf2.c: Likewise.
27690 * soft-fp/fixdfdi.c: Likewise.
27691 * soft-fp/fixdfsi.c: Likewise.
27692 * soft-fp/fixdfti.c: Likewise.
27693 * soft-fp/fixsfdi.c: Likewise.
27694 * soft-fp/fixsfsi.c: Likewise.
27695 * soft-fp/fixsfti.c: Likewise.
27696 * soft-fp/fixtfdi.c: Likewise.
27697 * soft-fp/fixtfsi.c: Likewise.
27698 * soft-fp/fixtfti.c: Likewise.
27699 * soft-fp/fixunsdfdi.c: Likewise.
27700 * soft-fp/fixunsdfsi.c: Likewise.
27701 * soft-fp/fixunsdfti.c: Likewise.
27702 * soft-fp/fixunssfdi.c: Likewise.
27703 * soft-fp/fixunssfsi.c: Likewise.
27704 * soft-fp/fixunssfti.c: Likewise.
27705 * soft-fp/fixunstfdi.c: Likewise.
27706 * soft-fp/fixunstfsi.c: Likewise.
27707 * soft-fp/fixunstfti.c: Likewise.
27708 * soft-fp/floatdidf.c: Likewise.
27709 * soft-fp/floatdisf.c: Likewise.
27710 * soft-fp/floatditf.c: Likewise.
27711 * soft-fp/floatsidf.c: Likewise.
27712 * soft-fp/floatsisf.c: Likewise.
27713 * soft-fp/floatsitf.c: Likewise.
27714 * soft-fp/floattidf.c: Likewise.
27715 * soft-fp/floattisf.c: Likewise.
27716 * soft-fp/floattitf.c: Likewise.
27717 * soft-fp/floatundidf.c: Likewise.
27718 * soft-fp/floatundisf.c: Likewise.
27719 * soft-fp/floatunsidf.c: Likewise.
27720 * soft-fp/floatunsisf.c: Likewise.
27721 * soft-fp/floatuntidf.c: Likewise.
27722 * soft-fp/floatuntisf.c: Likewise.
27723 * soft-fp/floatuntitf.c: Likewise.
27724 * soft-fp/fmadf4.c: Likewise.
27725 * soft-fp/fmasf4.c: Likewise.
27726 * soft-fp/fmatf4.c: Likewise.
27727 * soft-fp/gedf2.c: Likewise.
27728 * soft-fp/gesf2.c: Likewise.
27729 * soft-fp/getf2.c: Likewise.
27730 * soft-fp/ledf2.c: Likewise.
27731 * soft-fp/lesf2.c: Likewise.
27732 * soft-fp/letf2.c: Likewise.
27733 * soft-fp/muldf3.c: Likewise.
27734 * soft-fp/mulsf3.c: Likewise.
27735 * soft-fp/multf3.c: Likewise.
27736 * soft-fp/negdf2.c: Likewise.
27737 * soft-fp/negsf2.c: Likewise.
27738 * soft-fp/negtf2.c: Likewise.
27739 * soft-fp/op-1.h: Likewise.
27740 * soft-fp/op-2.h: Likewise.
27741 * soft-fp/op-4.h: Likewise.
27742 * soft-fp/op-8.h: Likewise.
27743 * soft-fp/op-common.h: Likewise.
27744 * soft-fp/quad.h: Likewise.
27745 * soft-fp/single.h: Likewise.
27746 * soft-fp/soft-fp.h: Likewise.
27747 * soft-fp/sqrtdf2.c: Likewise.
27748 * soft-fp/sqrtsf2.c: Likewise.
27749 * soft-fp/sqrttf2.c: Likewise.
27750 * soft-fp/subdf3.c: Likewise.
27751 * soft-fp/subsf3.c: Likewise.
27752 * soft-fp/subtf3.c: Likewise.
27753 * soft-fp/truncdfsf2.c: Likewise.
27754 * soft-fp/trunctfdf2.c: Likewise.
27755 * soft-fp/trunctfsf2.c: Likewise.
27756 * soft-fp/trunctfxf2.c: Likewise.
27757 * soft-fp/unorddf2.c: Likewise.
27758 * soft-fp/unordsf2.c: Likewise.
27759 * soft-fp/unordtf2.c: Likewise.
27760
27761 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
27762
27763 [BZ #15672]
27764 * misc/error.c (error_tail): Fix possible buffer overflow.
27765
27766 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
27767
27768 [BZ #13028]
27769 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
27770 address.
27771
27772 2013-10-14 P. J. McDermott <pj@pehjota.net>
27773
27774 [BZ #832]
27775 * elf/ldd.bash.in (try_trace): New function. Delete previous code
27776 testing pipefail option.
27777
27778 2013-10-12 Joseph Myers <joseph@codesourcery.com>
27779
27780 * soft-fp/double.h: Indent preprocessor directives inside #if.
27781 * soft-fp/extended.h: Likewise.
27782 * soft-fp/op-2.h: Likewise.
27783 * soft-fp/op-4.h: Likewise.
27784 * soft-fp/op-common.h: Likewise.
27785 * soft-fp/quad.h: Likewise.
27786 * soft-fp/single.h: Likewise.
27787 * soft-fp/soft-fp.h: Likewise.
27788
27789 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
27790
27791 * iconv/iconv_prog.c: Fix typos.
27792 * stdio-common/psiginfo-data.h: Likewise.
27793
27794 2013-10-12 Reuben Thomas <rrt@sc3d.org>
27795
27796 [BZ #15764]
27797 * locale/setlocale.c: Fix typo.
27798
27799 2013-10-12 Joseph Myers <joseph@codesourcery.com>
27800
27801 [BZ #16036]
27802 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
27803 signaling NaN arguments.
27804 * soft-fp/unordsf2.c (__unordsf2): Likewise.
27805 * soft-fp/unordtf2.c (__unordtf2): Likewise.
27806
27807 [BZ #14910]
27808 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
27809 unordered operands.
27810 * soft-fp/gesf2.c (__gesf2): Likewise.
27811 * soft-fp/getf2.c (__getf2): Likewise.
27812 * soft-fp/ledf2.c (__ledf2): Likewise.
27813 * soft-fp/lesf2.c (__lesf2): Likewise.
27814 * soft-fp/letf2.c (__letf2): Likewise.
27815
27816 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
27817 * soft-fp/eqsf2.c (__eqsf2): Likewise.
27818 * soft-fp/eqtf2.c (__eqtf2): Likewise.
27819 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
27820 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
27821 * soft-fp/fixdfti.c (__fixdfti): Likewise.
27822 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
27823 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
27824 * soft-fp/fixsfti.c (__fixsfti): Likewise.
27825 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
27826 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
27827 * soft-fp/fixtfti.c (__fixtfti): Likewise.
27828 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
27829 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
27830 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
27831 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
27832 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
27833 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
27834 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
27835 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
27836 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
27837 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
27838 * soft-fp/floatdisf.c (__floatdisf): Likewise.
27839 * soft-fp/floatsisf.c (__floatsisf): Likewise.
27840 * soft-fp/floattidf.c (__floattidf): Likewise.
27841 * soft-fp/floattisf.c (__floattisf): Likewise.
27842 * soft-fp/floattitf.c (__floattitf): Likewise.
27843 * soft-fp/floatundidf.c (__floatundidf): Likewise.
27844 * soft-fp/floatundisf.c (__floatundisf): Likewise.
27845 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
27846 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
27847 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
27848 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
27849 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
27850 * soft-fp/gesf2.c (__gesf2): Likewise.
27851 * soft-fp/getf2.c (__getf2): Likewise.
27852 * soft-fp/ledf2.c (__ledf2): Likewise.
27853 * soft-fp/lesf2.c (__lesf2): Likewise.
27854 * soft-fp/letf2.c (__letf2): Likewise.
27855
27856 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
27857 Undefine and redefine.
27858 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
27859 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
27860 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
27861 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
27862 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27863 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
27864 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27865 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
27866 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27867 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
27868 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27869 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
27870 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27871 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
27872 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27873
27874 [BZ #16032]
27875 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
27876 without decrementing exponent if mantissa >= that for the
27877 denominator, not >.
27878 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
27879 denominator, not >. Decrement exponent in < case instead of
27880 incrementing in >= case.
27881 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
27882 without decrementing exponent if mantissa >= that for the
27883 denominator, not >.
27884
27885 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
27886 computing saturated result for unsigned overflow.
27887
27888 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27889 Jeff Law <law@redhat.com>
27890
27891 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
27892 (atan2Mp): Add systemtap probe marker.
27893 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
27894 (__ieee754_log): Add systemtap probe marker.
27895 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
27896 (atanMp): Add systemtap probe marker.
27897 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
27898 (tanMp): Add systemtap probe marker.
27899 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
27900 (__slowexp): Add systemtap probe marker.
27901 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
27902 (__slowpow): Add systemtap probe marker.
27903 * manual/probes.texi: Document probes.
27904
27905 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
27906
27907 [BZ #15362]
27908 * libio/fileops.c (_IO_new_file_write): Return count of bytes
27909 written.
27910 (_IO_new_file_xsputn): Don't return EOF if nothing has been
27911 written.
27912 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
27913 written to buffer but not flushed.
27914 * libio/iofwrite_u.c: Likewise.
27915 * libio/iopadn.c: Return bytes returned even if EOF was
27916 encountered.
27917 * libio/iowpadn.c: Likewise.
27918 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
27919 if _IO_padn does not write the whole buffer.
27920 [!COMPILE_WPRINTF] (PAD): Likewise.
27921
27922 2013-10-10 David S. Miller <davem@davemloft.net>
27923
27924 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
27925 directory block.
27926
27927 2013-10-10 Joseph Myers <joseph@codesourcery.com>
27928
27929 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
27930 instead of FSF address.
27931 * soft-fp/fixdfti.c: Likewise.
27932 * soft-fp/fixsfti.c: Likewise.
27933 * soft-fp/fixtfti.c: Likewise.
27934 * soft-fp/fixunsdfti.c: Likewise.
27935 * soft-fp/fixunssfti.c: Likewise.
27936 * soft-fp/fixunstfti.c: Likewise.
27937 * soft-fp/floattidf.c: Likewise.
27938 * soft-fp/floattisf.c: Likewise.
27939 * soft-fp/floattitf.c: Likewise.
27940 * soft-fp/floatuntidf.c: Likewise.
27941 * soft-fp/floatuntisf.c: Likewise.
27942 * soft-fp/floatuntitf.c: Likewise.
27943 * soft-fp/trunctfxf2.c: Likewise.
27944
27945 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
27946 * soft-fp/fixdfti.c: Likewise.
27947 * soft-fp/fixsfti.c: Likewise.
27948 * soft-fp/fixtfti.c: Likewise.
27949 * soft-fp/fixunsdfti.c: Likewise.
27950 * soft-fp/fixunssfti.c: Likewise.
27951 * soft-fp/fixunstfti.c: Likewise.
27952 * soft-fp/floattidf.c: Likewise.
27953 * soft-fp/floattisf.c: Likewise.
27954 * soft-fp/floattitf.c: Likewise.
27955 * soft-fp/floatuntidf.c: Likewise.
27956 * soft-fp/floatuntisf.c: Likewise.
27957 * soft-fp/floatuntitf.c: Likewise.
27958 * soft-fp/trunctfxf2.c: Likewise.
27959
27960 2013-10-10 David S. Miller <davem@davemloft.net>
27961
27962 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27963
27964 2013-10-10 Joseph Myers <joseph@codsourcery.com>
27965
27966 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
27967 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
27968 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
27969 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
27970 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
27971 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
27972 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
27973
27974 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
27975 for NaNs before doing comparisons on argument.
27976 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
27977 Likewise.
27978
27979 2013-10-10 Will Newton <will.newton@linaro.org>
27980
27981 * malloc/hooks.c (memalign_check): Ensure the value of bytes
27982 passed to _int_memalign does not overflow.
27983
27984 2013-10-10 Torvald Riegel <triegel@redhat.com>
27985
27986 * scripts/bench.pl: Add include-sources directive.
27987 * benchtests/README: Update documentation.
27988
27989 2013-10-10 Joseph Myers <joseph@codesourcery.com>
27990
27991 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
27992 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
27993 instead of FP_INIT_ROUNDMODE.
27994 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
27995 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
27996
27997 [BZ #16034]
27998 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
27999 copy class of input value.
28000 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
28001 not handle exceptions.
28002 * soft-fp/negsf2.c (__negsf2): Likewise.
28003 * soft-fp/negtf2.c (__negtf2): Likewise.
28004 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
28005
28006 2013-10-09 Joseph Myers <joseph@codesourcery.com>
28007
28008 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
28009 semicolon. From Linux kernel.
28010
28011 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
28012
28013 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
28014
28015 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
28016
28017 [BZ #156]
28018 * manual/socket.texi: Added statement about buffer
28019 for gethostbyname2_r.
28020
28021 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
28022
28023 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
28024 Use .p2align directive instead, throughout.
28025 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28026 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
28027 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
28028 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28029 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28030 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
28031 * sysdeps/x86_64/strchr.S: Likewise.
28032 * sysdeps/x86_64/strrchr.S: Likewise.
28033
28034 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28035
28036 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
28037
28038 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
28039
28040 * sysdeps/generic/math_private.h (__mpsin1): Remove
28041 declaration.
28042 (__mpcos1): Likewise.
28043 (__mpsin): New argument __range_reduce.
28044 (__mpcos): Likewise.
28045 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28046 (slow): Use __mpsin and __mpcos.
28047 (slow1): Likewise.
28048 (slow2): Likewise.
28049 (sloww): Likewise.
28050 (sloww1): Likewise.
28051 (sloww2): Likewise.
28052 (bsloww): Likewise.
28053 (bsloww1): Likewise.
28054 (bsloww2): Likewise.
28055 (cslow2): Likewise.
28056 (csloww): Likewise.
28057 (csloww1): Likewise.
28058 (csloww2): Likewise.
28059 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
28060 range_reduce. Merge in __mpsin1.
28061 (__mpcos): Likewise.
28062 (__mpsin1): Remove.
28063 (__mpcos1): Likewise.
28064
28065 2013-10-07 Joseph Myers <joseph@codesourcery.com>
28066
28067 * locale/loadlocale.c (_nl_intern_locale_data): Use
28068 LOCFILE_ALIGNED_P.
28069 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
28070 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
28071 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
28072 obstack data is appropriately aligned.
28073 (obstack_int32_grow_fast): Likewise.
28074 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
28075 * locale/programs/locfile.c (add_locale_uint32): Likewise.
28076 (add_locale_uint32_array): Likewise.
28077
28078 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28079
28080 * benchtests/Makefile: Remove ARGLIST and RET variables.
28081 ($(objpfx)bench-%.c): Pass only function name to the script.
28082 * benchtests/README: Update documentation.
28083 * benchtests/acos-inputs: Add new directives.
28084 * benchtests/acosh-inputs: Likewise.
28085 * benchtests/asin-inputs: Likewise.
28086 * benchtests/asinh-inputs: Likewise.
28087 * benchtests/atan-inputs: Likewise.
28088 * benchtests/atanh-inputs: Likewise.
28089 * benchtests/cos-inputs: Likewise.
28090 * benchtests/cosh-inputs: Likewise.
28091 * benchtests/exp-inputs: Likewise.
28092 * benchtests/log-inputs: Likewise.
28093 * benchtests/pow-inputs: Likewise.
28094 * benchtests/rint-inputs: Likewise.
28095 * benchtests/sin-inputs: Likewise.
28096 * benchtests/sinh-inputs: Likewise.
28097 * benchtests/tan-inputs: Likewise.
28098 * benchtests/tanh-inputs: Likewise.
28099 * scripts/bench.pl: Add support for new directives.
28100
28101 2013-10-07 Alan Modra <amodra@gmail.com>
28102
28103 * README: Fix careless merge.
28104
28105 2013-10-05 Alan Modra <amodra@gmail.com>
28106
28107 * NEWS: Mention powerpc64le support and bugs fixed.
28108 * README: Both big-endian and little-endian powerpc64 supported.
28109
28110 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
28111
28112 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
28113 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
28114 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
28115 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
28116
28117 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
28118
28119 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
28120 match prototype.
28121
28122 2013-10-04 Joseph Myers <joseph@codesourcery.com>
28123
28124 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
28125 Move -mhard-float appending from
28126 ports/sysdeps/powerpc/powerpc32/Makefile.
28127 [$(with-fp) = yes] (ASFLAGS): Likewise.
28128 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
28129 * sysdeps/powerpc/nofpu: Move directory from
28130 ports/sysdeps/powerpc/nofpu.
28131 * sysdeps/powerpc/soft-fp: Move directory from
28132 ports/sysdeps/powerpc/soft-fp.
28133 * sysdeps/powerpc/powerpc32/405: Move directory from
28134 ports/sysdeps/powerpc/powerpc32/405.
28135 * sysdeps/powerpc/powerpc32/440: Move directory from
28136 ports/sysdeps/powerpc/powerpc32/440.
28137 * sysdeps/powerpc/powerpc32/464: Move directory from
28138 ports/sysdeps/powerpc/powerpc32/464.
28139 * sysdeps/powerpc/powerpc32/476: Move directory from
28140 ports/sysdeps/powerpc/powerpc32/476.
28141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
28142 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
28143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
28144 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
28145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
28146 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
28147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
28148 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
28149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
28150 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
28151 * README: Update for powerpc-*-linux-gnu software floating point
28152 support in libc.
28153
28154 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
28155 case to powerpc/powerpc32*.
28156 * sysdeps/unix/sysv/linux/configure: Regenerated.
28157
28158 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
28159 (_FPU_MASK_OM): Define as 0x04.
28160 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
28161 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
28162 0x00c10080.
28163 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
28164 0x0000003c.
28165 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
28166
28167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
28168 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28169 getcontext_e500.
28170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
28171 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28172 setcontext_e500.
28173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
28174 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
28175 and setcontext_e500.
28176
28177 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
28178
28179 * locale/iso-3166.def: Update iso-1366.def and related occurrences
28180
28181 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28182
28183 * manual/threads.texi (Default Thread Attributes): Fix typo.
28184
28185 2013-10-04 Will Newton <will.newton@linaro.org>
28186
28187 * malloc/Makefile: Add tst-memalign.
28188 * malloc/tst-memalign.c: New file.
28189
28190 * malloc/tst-posix_memalign.c: Add comments.
28191 (do_test): Add comments and call free on all potentially
28192 allocated pointers. Add space after cast.
28193
28194 * malloc/tst-pvalloc.c: Add comments.
28195 (do_test): Add comments and call free on all potentially
28196 allocated pointers. Remove duplicate check for NULL pointer.
28197 Add space after cast.
28198
28199 * malloc/tst-valloc.c: Add comments.
28200 (do_test): Add comments and call free on all potentially
28201 allocated pointers. Remove duplicate check for NULL pointer.
28202 Add space after cast.
28203
28204 2013-10-04 Alan Modra <amodra@gmail.com>
28205
28206 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28207 Use stdint types in rather than __attribute__((mode())).
28208 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28209
28210 2013-10-04 Alan Modra <amodra@gmail.com>
28211
28212 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28213 Correct handling of unaligned relocs for little-endian.
28214 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28215
28216 2013-10-04 Alan Modra <amodra@gmail.com>
28217
28218 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
28219 * configure: Regenerate.
28220 * nptl/shlib-versions: Powerpc*le starts at 2.18.
28221 * shlib-versions: Likewise.
28222
28223 2013-10-04 Alan Modra <amodra@gmail.com>
28224
28225 * string/tester.c (test_memrchr): Increment reported test cycle.
28226
28227 2013-10-04 Alan Modra <amodra@gmail.com>
28228
28229 * string/test-memcpy.c (do_one_test): When reporting errors, print
28230 string address and don't overrun end of string.
28231
28232 2013-10-04 Alan Modra <amodra@gmail.com>
28233
28234 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
28235 insrdi. Make better use of reg selection to speed exit slightly.
28236 Schedule entry path a little better. Remove useless "are we done"
28237 checks on entry to main loop. Handle wrapping around zero address.
28238 Correct main loop count. Handle single left-over word from main
28239 loop inline rather than by using loop_small. Remove extra word
28240 case in loop_small caused by wrong loop count. Add little-endian
28241 support.
28242 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28243 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
28244 cache hint.
28245 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28246 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
28247 support. Avoid rlwimi.
28248 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
28249
28250 2013-10-04 Alan Modra <amodra@gmail.com>
28251
28252 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
28253 insrdi. Formatting.
28254 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
28255 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28256 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
28257 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
28258 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28259 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
28260
28261 2013-10-04 Alan Modra <amodra@gmail.com>
28262
28263 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
28264 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28265 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28266 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
28267 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28268 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28269 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28270 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28271 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
28272 use of regs. Use power7 mtocrf. Tidy function tails.
28273
28274 2013-10-04 Alan Modra <amodra@gmail.com>
28275
28276 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
28277 Formatting. Consistently use rXXX register defines or rN defines.
28278 Use early exit labels that avoid restoring unused non-volatile regs.
28279 Make cr field use more consistent with rWORDn compares. Rename
28280 regs used as shift registers for unaligned loop, using rN defines
28281 for short lifetime/multiple use regs.
28282 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28283 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
28284 addi 1,1,64 to pop stack frame. Simplify return value code.
28285 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28286
28287 2013-10-04 Alan Modra <amodra@gmail.com>
28288
28289 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
28290 support. Correct typos, formatting. Optimize tail. Use insrdi
28291 rather than rlwimi.
28292 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
28293 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
28294 little-endian support. Correct typos.
28295 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
28296 rather than rlwimi.
28297 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
28298 in loop and entry code to keep "and." results.
28299 (strchr): Add little-endian support. Comment. Move cntlzd
28300 earlier in tail.
28301 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
28302
28303 2013-10-04 Alan Modra <amodra@gmail.com>
28304
28305 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
28306 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
28307 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
28308 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
28309
28310 2013-10-04 Alan Modra <amodra@gmail.com>
28311
28312 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
28313 (rTMP): Define as r11.
28314 (strcmp): Add little-endian support. Optimise tail.
28315 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
28316 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28317 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28318 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28319 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28320 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28321 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28322
28323 2013-10-04 Alan Modra <amodra@gmail.com>
28324
28325 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
28326 little-endian support. Remove unnecessary "are we done" tests.
28327 Handle "s" wrapping around zero and extremely large "size".
28328 Correct main loop count. Handle single left-over word from main
28329 loop inline rather than by using small_loop. Correct comments.
28330 Delete "zero" tail, use "end_max" instead.
28331 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
28332
28333 2013-10-04 Alan Modra <amodra@gmail.com>
28334
28335 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
28336 support. Don't branch over align.
28337 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
28338 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
28339 support. Rearrange tmp reg use to suit. Comment.
28340 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
28341
28342 2013-10-04 Alan Modra <amodra@gmail.com>
28343
28344 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
28345
28346 2013-10-04 Alan Modra <amodra@gmail.com>
28347
28348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
28349 conditional form of branch and link when obtaining pc.
28350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
28351
28352 2013-10-04 Alan Modra <amodra@gmail.com>
28353
28354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
28355 HIWORD/LOWORD.
28356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
28357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
28358
28359 2013-10-04 Alan Modra <amodra@gmail.com>
28360
28361 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
28362 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
28363 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
28364 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
28365 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28366 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28367 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
28368 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28369 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
28370 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
28371
28372 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28373 Alistair Popple <alistair@ozlabs.au.ibm.com>
28374 Alan Modra <amodra@gmail.com>
28375
28376 [BZ #15723]
28377 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
28378 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
28379 _dl_hwcap access for little-endian.
28380 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
28381 destroy vmx regs when saving unaligned.
28382 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
28383 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
28384 destroy vmx regs when saving unaligned.
28385
28386 2013-10-04 Alan Modra <amodra@gmail.com>
28387
28388 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
28389 Don't use a union to pack hi/low value.
28390
28391 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28392
28393 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
28394 for little-endian.
28395 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
28396 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
28397 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28398 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
28399 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
28400
28401 2013-10-04 Alan Modra <amodra@gmail.com>
28402
28403 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
28404 constants to usual value for .cst8 section, and remove redundant
28405 high address load.
28406 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
28407 constant for 0x1p52. Load little-endian words of double from
28408 correct stack offsets.
28409
28410 2013-10-04 Alan Modra <amodra@gmail.com>
28411
28412 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
28413 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
28414 words of double from correct stack offsets.
28415 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
28416 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
28417 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
28418 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
28419 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
28420 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
28421 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
28422 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
28423 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
28424 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
28425 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
28426 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
28427 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28428 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28429 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28430 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
28431 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28432
28433 2013-10-04 Alan Modra <amodra@gmail.com>
28434
28435 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
28436 64-bit int/double union.
28437 (_FPU_SETCW): Likewise.
28438 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
28439 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
28440
28441 2013-10-04 Alan Modra <amodra@gmail.com>
28442
28443 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
28444 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
28445
28446 2013-10-04 Alan Modra <amodra@gmail.com>
28447
28448 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
28449 use vector int constants.
28450 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
28451
28452 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28453
28454 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
28455 array with long long.
28456 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
28457 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
28458 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
28459 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
28460 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
28461 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
28462 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
28463 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
28464 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
28465 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
28466 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
28467 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
28468 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
28469
28470 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28471
28472 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
28473 (__signbit): Likewise. Correct for little-endian.
28474 (__signbitl): Call __signbit.
28475 (lrint): Correct for little-endian.
28476 (lrintf): Call lrint.
28477
28478 2013-10-04 Alan Modra <amodra@gmail.com>
28479
28480 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
28481 union 32-bit int array member with 64-bit int array.
28482 (t515, tm256): Double rather than long double.
28483 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
28484
28485 2013-10-04 Alan Modra <amodra@gmail.com>
28486
28487 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
28488 Delete.
28489 (IEEE854_LONG_DOUBLE_BIAS): Delete.
28490 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
28491 version of math_ldbl.h.
28492
28493 2013-10-04 Alan Modra <amodra@gmail.com>
28494
28495 [BZ #15734], [BZ #15735]
28496 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
28497 all uses of ieee875 long double macros and unions. Simplify test
28498 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
28499 ldbl_extract_mantissa value for ix,iy exponents. Properly
28500 normalize after ldbl_extract_mantissa, and don't add hidden bit
28501 already handled. Don't treat low word of ieee854 mantissa like
28502 low word of IBM long double and mask off bit when testing for
28503 zero.
28504 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
28505 all uses of ieee875 long double macros and unions. Simplify tests
28506 for 0.0L and inf. Correct double adjustment of k. Delete dead code
28507 adjusting ha,hb. Simplify code setting kld. Delete two600 and
28508 two1022, instead use their values. Recognise that tests for large
28509 "a" and small "b" are mutually exclusive. Rename vars. Comment.
28510 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
28511 Rewrite all uses of ieee875 long double macros and unions. Simplify
28512 test for 0.0L and nan. Correct negation.
28513 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
28514 ieee875 long double macros and unions. Correct output for large
28515 magnitude x. Correct absolute value calculation.
28516 (__erfcl): Likewise.
28517 * math/libm-test.inc: Add tests for errors discovered in IBM long
28518 double versions of fmodl, remainderl, erfl and erfcl.
28519
28520 2013-10-04 Alan Modra <amodra@gmail.com>
28521
28522 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
28523 all uses of ieee854 long double macros and unions. Simplify tests
28524 for long doubles that are fully specified by the high double.
28525 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
28526 Likewise.
28527 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
28528 Remove dead code too.
28529 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28530 (__ieee754_ynl): Likewise.
28531 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28532 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
28533 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
28534 Remove dead code too.
28535 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
28536 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
28537 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
28538 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
28539 Simplify.
28540 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
28541 Simplify.
28542 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
28543 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
28544 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
28545 Comment on variable precision.
28546 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
28547 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28548 Likewise.
28549 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28550 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28551 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28552 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
28553 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
28554
28555 2013-10-04 Alan Modra <amodra@gmail.com>
28556
28557 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
28558 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
28559 all uses of ieee854 long double macros and unions.
28560 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
28561 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
28562 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
28563 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
28564 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28565 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28566 Likewise.
28567 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
28568 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28569 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
28570 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28571 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
28572 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
28573 Simplify sign and nan test too.
28574 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
28575 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
28576 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
28577 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
28578 Likewise.
28579 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28580 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
28581 Likewise.
28582 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28583 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
28584 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
28585 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
28586 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
28587 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
28588
28589 2013-10-04 Alan Modra <amodra@gmail.com>
28590
28591 * stdio-common/printf_size.c (__printf_size): Don't use
28592 union ieee854_long_double in fpnum union.
28593 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
28594 signbit macro to retrieve sign from long double.
28595 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
28596 retrieve sign from long double.
28597 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
28598 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
28599 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
28600 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28601 * math/test-misc.c (main): Don't use union ieee854_long_double.
28602
28603 2013-10-04 Alan Modra <amodra@gmail.com>
28604
28605 [BZ #15680]
28606 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
28607 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
28608 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
28609 calculation. Remove unnecessary test for denormal exponent.
28610 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
28611 Correct handling of denormals. Avoid undefined shift behaviour.
28612 Correct normalisation of low mantissa when low double is denormal.
28613 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
28614 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
28615 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
28616 Correct normalisation of low mantissa. Test for overflow of high
28617 mantissa and normalise.
28618 (ldbl_nearbyint): Use more readable constant for two52.
28619 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
28620 (__mpn_construct_long_double): Fix test for overflow of high
28621 mantissa and correct normalisation. Avoid undefined shift.
28622
28623 2013-10-04 Alan Modra <amodra@gmail.com>
28624
28625 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
28626 (union ibm_extended_long_double): Define as an array of ieee754_double.
28627 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
28628 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
28629 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
28630 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28631 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28632 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
28633 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28634 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28635 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28636 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
28637 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28638
28639 2013-10-03 Joseph Myers <joseph@codesourcery.com>
28640
28641 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
28642 page size instead of calling getpagesize.
28643
28644 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
28645 (LOCFILE_ALIGN_MASK): Likewise.
28646 (LOCFILE_ALIGN_UP): Likewise.
28647 (LOCFILE_ALIGNED_P): Likewise.
28648 * locale/programs/ld-collate.c (collate_output): Use the new
28649 macros instead of __alignof__ (int32_t).
28650 * locale/weight.h (findidx): Likewise.
28651
28652 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
28653
28654 [BZ #431]
28655 * manual/string.texi: Fix strncat and wcsncat.
28656
28657 2013-10-03 Brooks Moses <bmoses@google.com>
28658
28659 [BZ #15915]
28660 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
28661 * Makerules: ...here, and adjust associated comments.
28662
28663 2013-10-02 Will Newton <will.newton@linaro.org>
28664
28665 * malloc/Makefile: Add tst-pvalloc.
28666 * malloc/tst-pvalloc.c: New file.
28667
28668 2013-10-02 Will Newton <will.newton@linaro.org>
28669
28670 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
28671 improve test coverage.
28672
28673 2013-10-02 Will Newton <will.newton@linaro.org>
28674
28675 * malloc/Makefile: Add tst-posix_memalign.
28676 * malloc/tst-posix_memalign.c: New file.
28677
28678 2013-10-01 Eric Blake <eblake@redhat.com>
28679
28680 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
28681 Use __THROWNL rather than __THROW on static functions.
28682
28683 2013-09-30 Petr Machata <pmachata@redhat.com>
28684
28685 * elf/elf.h (R_AARCH64_ABS16): New macro.
28686 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
28687 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
28688 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
28689 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
28690 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
28691 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
28692 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
28693 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
28694 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
28695 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
28696 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
28697 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
28698 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
28699 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
28700 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
28701 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
28702 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
28703 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
28704 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
28705 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
28706 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
28707 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
28708 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
28709 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
28710 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
28711 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
28712 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
28713 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
28714 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
28715 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
28716 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
28717 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
28718 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
28719 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
28720 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
28721 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
28722 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
28723 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
28724 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
28725 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
28726 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
28727 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
28728 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
28729 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
28730 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
28731 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
28732 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
28733 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
28734 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
28735 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
28736 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
28737 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
28738 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
28739 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
28740 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
28741 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
28742 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
28743 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
28744 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
28745 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
28746 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
28747 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
28748 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
28749 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
28750 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
28751 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
28752 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
28753 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
28754 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
28755 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
28756 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
28757 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
28758 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
28759 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
28760 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
28761 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
28762 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
28763 (R_AARCH64_TLSDESC_LDR): Likewise.
28764 (R_AARCH64_TLSDESC_ADD): Likewise.
28765 (R_AARCH64_TLSDESC_CALL): Likewise.
28766
28767 2013-09-30 Andreas Schwab <schwab@suse.de>
28768
28769 [BZ #15048]
28770 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
28771 the nss database lookup.
28772 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28773 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28774
28775 2013-09-28 Mike Frysinger <vapier@gentoo.org>
28776
28777 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
28778
28779 2013-09-28 P. J. McDermott <pj@pehjota.net>
28780
28781 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
28782 ${Bash-specific parameter/pattern/string} parameter expansion.
28783 * sysdeps/unix/make-syscalls.sh: Likewise.
28784
28785 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28786
28787 * sysdeps/sh/stackguard-macros.h: New file.
28788
28789 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
28790
28791 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
28792 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
28793 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
28794 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
28795 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28796 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
28797
28798 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28799
28800 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
28801 Fix thread ID register.
28802
28803 2013-09-25 Joseph Myers <joseph@codesourcery.com>
28804
28805 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
28806 [POSIX || UNIX98]: Require rather than permitting all symbols from
28807 <time.h>.
28808 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
28809 element of struct sched_param.
28810 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
28811 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
28812 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
28813 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
28814 constant.
28815
28816 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
28817
28818 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
28819 argument calculation.
28820
28821 2013-09-24 Joseph Myers <joseph@codesourcery.com>
28822
28823 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
28824 Expect macro.
28825 [POSIX] (pthread_attr_t): Do not require type.
28826 [POSIX] (pthread_cond_t): Likewise.
28827 [POSIX] (pthread_condattr_t): Likewise.
28828 [POSIX] (pthread_key_t): Likewise.
28829 [POSIX] (pthread_mutex_t): Likewise.
28830 [POSIX] (pthread_mutexattr_t): Likewise.
28831 [POSIX] (pthread_once_t): Likewise.
28832 [POSIX] (pthread_t): Likewise.
28833 [POSIX-based standards] (pthread_atfork): Expect function.
28834
28835 2013-09-24 Joseph Myers <joseph@codesourcery.com>
28836 Richard Sandiford <richard@codesourcery.com>
28837
28838 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
28839 (swap_endianness_p): New extern variable.
28840 (set_big_endian): New inline function.
28841 (maybe_swap_uint32): Likewise.
28842 (maybe_swap_uint32_array): Likewise.
28843 (maybe_swap_uint32_obstack): Likewise.
28844 * locale/programs/locfile.c: Include <stdbool.h>.
28845 (swap_endianness_p): New variable.
28846 (add_locale_uint32): Call maybe_swap_uint32.
28847 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
28848 (write_locale_data): Call maybe_swap_uint32_array.
28849 * locale/programs/ld-collate.c (obstack_int32_grow): Call
28850 maybe_swap_uint32.
28851 (obstack_int32_grow_fast): Likewise.
28852 (output_weightwc): Call maybe_swap_uint32_obstack.
28853 (collate_output): Likewise.
28854 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
28855 (OPT_LITTLE_ENDIAN): Likewise.
28856 (options): Add --little-endian and --big-endian options.
28857 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
28858 * locale/programs/locarchive.c: Include "locfile.h".
28859 (GET): New macro.
28860 (SET): Likewise.
28861 (INC): Likewise.
28862 (create_archive): Use the new macros to access fields of
28863 structures directly mapped from or written to locale archives.
28864 (oldlocrecentcmp): Likewise.
28865 (enlarge_archive): Likewise.
28866 (insert_name): Likewise.
28867 (add_alias): Likewise.
28868 (add_locale): Likewise.
28869 (delete_locales_from_archive): Likewise.
28870 (show_archive_content): Likewise.
28871 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
28872 locale data.
28873
28874 2013-09-24 Roland McGrath <roland@hack.frob.com>
28875
28876 * manual/freemanuals.texi: Updated from (newly) canonical copy at
28877 http://www.gnu.org/doc/freemanuals.texi.
28878 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
28879
28880 2013-09-24 Will Newton <will.newton@linaro.org>
28881
28882 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
28883 macro.
28884
28885 2013-09-23 Joseph Myers <joseph@codesourcery.com>
28886
28887 * locale/hashval.h (compute_hashval): Interpret bytes of key as
28888 unsigned char.
28889
28890 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
28891
28892 * manual/threads.texi (POSIX Threads): Fix a typo.
28893
28894 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
28895
28896 [BZ #14547]
28897 * string/tst-strcoll-overflow.c: New test case.
28898 * string/Makefile (xtests): Add tst-strcoll-overflow.
28899 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
28900 cache if string sizes may cause integer overflow.
28901
28902 [BZ #14547]
28903 * string/strcoll_l.c (coll_seq): New members rule, idx,
28904 save_idx and back_us.
28905 (get_next_seq_nocache): New function.
28906 (do_compare_nocache): New function.
28907 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
28908 when malloc fails.
28909
28910 2013-09-23 Carlos O'Donell <carlos@redhat.com>
28911
28912 [BZ #15754]
28913 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
28914 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
28915 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
28916
28917 [BZ #15754]
28918 * elf/Makefile (tests): Add tst-ptrguard1.
28919 (tests-static): Add tst-ptrguard1-static.
28920 (tst-ptrguard1-ARGS): Define.
28921 (tst-ptrguard1-static-ARGS): Define.
28922 * elf/tst-ptrguard1.c: New file.
28923 * elf/tst-ptrguard1-static.c: New file.
28924 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
28925 * sysdeps/i386/stackguard-macros.h: Likewise.
28926 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28927 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28928 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28929 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28930 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28931 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28932
28933 2013-09-23 Hector Marco <hecmargi@upv.es>
28934 Ismael Ripoll <iripoll@disca.upv.es>
28935 Carlos O'Donell <carlos@redhat.com>
28936
28937 [BZ #15754]
28938 * sysdeps/generic/stackguard-macros.h: Define
28939 __pointer_chk_guard_local and POINTER_CHK_GUARD.
28940 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
28941 Define __pointer_chk_guard_local.
28942 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
28943 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
28944
28945 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
28946
28947 [BZ #15859]
28948 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
28949
28950 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
28951
28952 * include/string.h (__ffs): Declare as hidden.
28953 * string/ffs.c (__ffs): Define as hidden.
28954 * sysdeps/i386/ffs.c (__ffs): Likewise.
28955 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
28956 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
28957 * sysdeps/s390/ffs.c (__ffs): Likewise.
28958 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
28959
28960 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
28961
28962 * NEWS: Mention malloc probes.
28963
28964 * malloc/arena.c (new_heap): New memory_heap_new probe.
28965 (grow_heap): New memory_heap_more probe.
28966 (shrink_heap): New memory_heap_less probe.
28967 (heap_trim): New memory_heap_free probe.
28968 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
28969 (systrim): New memory_sbrk_less probe.
28970 * manual/probes.texi: Document them.
28971
28972 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
28973 * manual/probes.texi: Document it.
28974
28975 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
28976 (__libc_realloc): Add memory_realloc_retry probe.
28977 (__libc_memalign): Add memory_memalign_retry probe.
28978 (__libc_valloc): Add memory_valloc_retry probe.
28979 (__libc_pvalloc): Add memory_pvalloc_retry probe.
28980 (__libc_calloc): Add memory_calloc_retry probe.
28981 * manual/probes.texi: Document them.
28982
28983 * malloc/arena.c (get_free_list): Add probe
28984 memory_arena_reuse_free_list.
28985 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
28986 and memory_arena_reuse.
28987 (arena_get2) [!PER_THREAD]: Likewise.
28988 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
28989 memory_arena_reuse_realloc.
28990 * manual/probes.texi: Document them.
28991
28992 * malloc/malloc.c (__libc_free): Add
28993 memory_mallopt_free_dyn_thresholds probe.
28994 (__libc_mallopt): Add multiple memory_mallopt probes.
28995 * manual/probes.texi: Document them.
28996
28997 * malloc/malloc.c: Include stap-probe.h.
28998 (__libc_mallopt): Add memory_mallopt probe.
28999 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
29000 * manual/probes.texi: New.
29001 * manual/Makefile (chapters): Add probes.
29002 * manual/threads.texi: Set next node.
29003
29004 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
29005
29006 [BZ #15963, #13985]
29007 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
29008 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
29009 Add `Chinese' to `nan' entry name.
29010
29011 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29012
29013 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
29014 (POLYNOMIAL): Likewise.
29015 (TAYLOR_SINCOS): Likewise.
29016 (TAYLOR_SLOW): Likewise.
29017 (__sin): Use TAYLOR_SINCOS.
29018 (__cos): Likewise.
29019 (slow): Use TAYLOR_SLOW.
29020 (sloww): Likewise.
29021 (bsloww): Likewise.
29022 (csloww): Likewise.
29023
29024 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29025
29026 * stdlib/strtod_l.c: Fix buffer overrun.
29027
29028 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29029
29030 * benchtests/Makefile (bench): Add sincos.
29031 * benchtests/bench-sincos.c: New file.
29032
29033 * math/libm-test.inc (cos_test_data): New test inputs.
29034 (sin_test_data): Likewise.
29035
29036 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
29037 macro.
29038 (__sin): Use it.
29039 (__cos): Likewise.
29040 (slow1): Likewise.
29041 (slow2): Likewise.
29042 (sloww1): Likewise.
29043 (sloww2): Likewise.
29044 (bsloww1): Likewise.
29045 (bsloww2): Likewise.
29046 (cslow2): Likewise.
29047 (csloww1): Likewise.
29048 (csloww2): Likewise.
29049
29050 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
29051 function.
29052 (__sin): Use it.
29053 (__cos): Likewise.
29054
29055 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
29056 gotos.
29057 (__cos): Likewise.
29058
29059 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
29060
29061 * config.h.in (HAVE_MIPS_NAN2008): New macro.
29062 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
29063 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
29064 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
29065 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
29066 * elf/cache.c (print_entry): Handle the new cache flags.
29067
29068 2013-09-18 Joseph Myers <joseph@codesourcery.com>
29069 Aldy Hernandez <aldyh@redhat.com>
29070
29071 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
29072 Change condition to [_SOFT_FLOAT].
29073 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
29074 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
29075 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
29076 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
29077 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
29078 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
29079 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
29080 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
29081 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
29082 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
29083 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
29084 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
29085 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
29086 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
29087 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
29088 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
29089 declaration.
29090
29091 2013-09-18 Joseph Myers <joseph@codesourcery.com>
29092
29093 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
29094 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29095 (__longjmp): Use LOAD_GP to load saved GPRs.
29096 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
29097 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29098 (__sigsetjmp): Use SAVE_GP to save GPRs.
29099
29100 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
29101 Do not append -msoft-float.
29102 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
29103
29104 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29105
29106 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
29107
29108 2013-09-17 Joseph Myers <joseph@codesourcery.com>
29109
29110 [BZ #15966]
29111 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
29112 (_FPU_GETCW): Use initial "__" on variable and field names but not
29113 on macro parameter name.
29114 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
29115 parentheses around reference to macro parameter.
29116
29117 2013-09-13 Richard Sandiford <richard@codesourcery.com>
29118
29119 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
29120 prototype.
29121 (ctype_startup): Use uint32_t in cast and sizeof for
29122 ctype->charnames.
29123
29124 2013-09-11 Jia Liu <proljc@gmail.com>
29125
29126 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
29127 __daddr_t_defined.
29128 [__FreeBSD__]: Likewise.
29129
29130 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
29131
29132 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
29133 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
29134 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
29135 (strchr): Remove __strchr_sse42 ifunc selection.
29136 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
29137 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
29138
29139 2013-09-11 Will Newton <will.newton@linaro.org>
29140
29141 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
29142 parameter to RES. Remove hardcoded 1000 value.
29143 * benchtests/bench-skeleton.c (main): Pass RES parameter
29144 to TIMING_INIT and multiply result by 1000.
29145
29146 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29147
29148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29149
29150 2013-09-11 Andreas Schwab <schwab@suse.de>
29151
29152 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
29153 if not defined.
29154 (O_TMPFILE) [__USE_GNU]: Define.
29155 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
29156 Define.
29157
29158 2013-09-11 Will Newton <will.newton@linaro.org>
29159
29160 [BZ #15857]
29161 * malloc/malloc.c (__libc_memalign): Check the value of bytes
29162 does not overflow.
29163
29164 2013-09-11 Will Newton <will.newton@linaro.org>
29165
29166 [BZ #15856]
29167 * malloc/malloc.c (__libc_valloc): Check the value of bytes
29168 does not overflow.
29169
29170 2013-09-11 Will Newton <will.newton@linaro.org>
29171
29172 [BZ #15855]
29173 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
29174 does not overflow.
29175
29176 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
29177
29178 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
29179 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29180 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29181 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29182 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29183
29184 2013-09-10 Allan McRae <allan@archlinux.org>
29185
29186 [BZ #15748]
29187 * manual/arith.texi (Parsing of Floats): Clarify
29188 cross-reference.
29189
29190 [BZ #15849]
29191 * manual/install.texi (Running make install): Mention
29192 --enable-pt-chown.
29193 * INSTALL: Regenerated.
29194
29195 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
29196
29197 * csu/init-first.c (_init): Remove the !SHARED condition around
29198 FPU control word initialization.
29199 * elf/dl-support.c (_dl_fpu_control): New variable.
29200 (_dl_aux_init) <AT_FPUCW>: Initialize it.
29201 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
29202 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
29203 * math/test-fpucw-static.c: New file.
29204 * math/test-fpucw-ieee.c: New file.
29205 * math/test-fpucw-ieee-static.c: New file.
29206 * math/Makefile (tests): Add `test-fpucw-ieee' and
29207 `$(tests-static)'.
29208 (tests-static): New variable.
29209 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
29210 dependency to...
29211 [($(build-shared),yes)]
29212 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
29213 ... this.
29214 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
29215 New dependency.
29216
29217 2013-09-09 Allan McRae <allan@archlinux.org>
29218
29219 [BZ #15939]
29220 * manual/string.texi (Collation Functions): Fix typo in
29221 strcoll example.
29222 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
29223
29224 [BZ #15893]
29225 * stdlib/isomac.c (get_null_defines): Fix memory leak.
29226
29227 [BZ #15892]
29228 * libio/memstream.c (open_memstream): Fix memory leak.
29229 * libio/wmemstream.c (open_wmemstream): Likewise.
29230
29231 [BZ #15895]
29232 * nscd/netgroupcache.c: Fix nesting of ifdefs.
29233
29234 2013-09-09 Will Newton <will.newton@linaro.org>
29235
29236 * malloc/Makefile: Add tst-realloc to tests.
29237 * malloc/tst-realloc.c: New file.
29238
29239 2013-09-09 Allan McRae <allan@archlinux.org>
29240
29241 [BZ #15844]
29242 * COPYING: Update from GNU website to fix FSF address.
29243 * COPYING.LIB: Likewise.
29244
29245 2013-09-06 David S. Miller <davem@davemloft.net>
29246
29247 * po/zh_TW.po: Update Chinese (traditional) translation from
29248 translation project.
29249
29250 2013-09-06 Richard Sandiford <richard@codesourcery.com>
29251 Joseph Myers <joseph@codesourcery.com>
29252
29253 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
29254 "localeinfo.h".
29255 (obstack_chunk_alloc): New macro.
29256 (obstack_chunk_free): Likewise.
29257 (record_offset): New function.
29258 (init_locale_data): Likewise.
29259 (align_locale_data): Likewise.
29260 (add_locale_empty): Likewise.
29261 (add_locale_raw_data): Likewise.
29262 (add_locale_raw_obstack): Likewise.
29263 (add_locale_string): Likewise.
29264 (add_locale_wstring): Likewise.
29265 (add_locale_uint32): Likewise.
29266 (add_locale_uint32_array): Likewise.
29267 (add_locale_char): Likewise.
29268 (start_locale_structure): Likewise.
29269 (end_locale_structure): Likewise.
29270 (start_locale_prelude): Likewise.
29271 (end_locale_prelude): Likewise.
29272 (write_locale_data): Take locale_file structure rather than an
29273 iovec.
29274 * locale/programs/locfile.h: Include "obstack.h".
29275 (struct locale_file): Change to store locale file contents instead
29276 of header.
29277 (init_locale_data): New prototype.
29278 (align_locale_data): Likewise.
29279 (add_locale_empty): Likewise.
29280 (add_locale_raw_data): Likewise.
29281 (add_locale_raw_obstack): Likewise.
29282 (add_locale_string): Likewise.
29283 (add_locale_wstring): Likewise.
29284 (add_locale_uint32): Likewise.
29285 (add_locale_uint32_array): Likewise.
29286 (add_locale_char): Likewise.
29287 (start_locale_structure): Likewise.
29288 (end_locale_structure): Likewise.
29289 (start_locale_prelude): Likewise.
29290 (end_locale_prelude): Likewise.
29291 (write_locale_data): Update prototype.
29292 * locale/programs/3level.h (struct TABLE): Remove result field.
29293 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
29294 Use new locale_file interface.
29295 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
29296 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
29297 * locale/programs/ld-address.c (address_output): Use new
29298 locale_file interface.
29299 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
29300 NO_ADD_LOCALE.
29301 (collate_finish): Don't call collseq_table_finalize.
29302 (collate_output): Use new locale_file interface.
29303 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
29304 in file.
29305 (NO_FINALIZE): Change to NO_ADD_LOCALE.
29306 (TABLE): Move defines earlier in file.
29307 (ELEMENT): Likewise.
29308 (DEFAULT): Likewise.
29309 (wctrans_table_add): Move macro and inline function earlier in
29310 file.
29311 (struct wctype_table): Move type earlier in file.
29312 (add_locale_wctype_table): New static prototype.
29313 (struct locale_ctype_t): Use logical types instead of struct iovec
29314 pointers for members.
29315 (ctype_output): Use new locale_file interface.
29316 (wctype_table_finalize): Change to add_locale_wctype_table. Use
29317 new locale_file interface.
29318 (allocate_arrays): Update for use of new locale_file interface.
29319 * locale/programs/ld-identification.c (identification_output): Use
29320 new locale_file interface.
29321 * locale/programs/ld-measurement.c (measurement_output): Likewise.
29322 * locale/programs/ld-messages.c (messages_output): Likewise.
29323 * locale/programs/ld-monetary.c (monetary_output): Likewise.
29324 * locale/programs/ld-name.c (name_output): Likewise.
29325 * locale/programs/ld-numeric.c (numeric_output): Likewise.
29326 * locale/programs/ld-paper.c (paper_output): Likewise.
29327 * locale/programs/ld-telephone.c (telephone_output): Likewise.
29328 * locale/programs/ld-time.c (time_output): Likewise.
29329
29330 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29331
29332 * benchtests/Makefile: Add memrchr benchmark.
29333 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
29334 benchmark as memrchr.
29335 * benchtests/bench-memrchr-ifunc.c: New file.
29336 * benchtests/bench-memrchr.c: New file.
29337
29338 2013-09-06 Will Newton <will.newton@linaro.org>
29339
29340 * benchtests/Makefile (string-bench): Add memcpy.
29341
29342 2013-09-05 Carlos O'Donell <carlos@redhat.com>
29343 Cong Wang <amwang@redhat.com>
29344
29345 [BZ #15850]
29346 * sysdeps/unix/sysv/linux/bits/in.h
29347 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
29348 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
29349 before __USE_KERNEL_IPV6_DEFS uses.
29350 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
29351 IPPROTO_BEETPH.
29352 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
29353 sockaddr_in6, or ipv6_mreq.
29354
29355 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29356
29357 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
29358 memory access for final bytes in some large inputs.
29359 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
29360
29361 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29362
29363 * string/test-memrchr.c: New file.
29364 * string/test-memrchr-ifunc.c: New file.
29365 * string/Makefile: Add new memrchr testcase.
29366
29367 2013-09-05 Mike Frysinger <vapier@gentoo.org>
29368
29369 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
29370 fanotify_init returns EPERM.
29371
29372 2013-09-04 Joseph Myers <joseph@codesourcery.com>
29373
29374 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
29375 errors.
29376 (top level): Treat second token from macro or constant entries for
29377 allowed headers as allowed.
29378 * include/complex.h: Condition internal declarations on
29379 [!_ISOMAC].
29380 * include/fenv.h: Condition include of <stdbool.h> and internal
29381 declarations on [!_ISOMAC].
29382
29383 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
29384
29385 [BZ #15923]
29386 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
29387
29388 2013-09-04 Joseph Myers <joseph@codesourcery.com>
29389
29390 * configure.in (--enable-versioning): Remove configure option.
29391 (libc_cv_asm_symver_directive): Remove configure test.
29392 (libc_cv_ld_version_script_option): Likewise.
29393 (VERSIONING): Remove variable and AC_SUBST.
29394 (DO_VERSIONING): Remove AC_DEFINE.
29395 * configure: Regenerated.
29396 * config.h.in (DO_VERSIONING): Remove macro.
29397 * Makerules [$(versioning) = yes]: Change conditionals to
29398 [$(build-shared) = yes].
29399 * config.make.in (versioning): Remove variable.
29400 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
29401 [$(build-shared) = yes].
29402 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
29403 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
29404 * elf/Makefile [$(versioning) = yes]: Change conditionals to
29405 [$(build-shared) = yes].
29406 * extra-lib.mk [$(versioning) = yes]: Likewise.
29407 * hurd/Makefile [$(versioning) = yes]: Likewise.
29408 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
29409 [SHARED].
29410 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
29411 [SHARED].
29412 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29413 [SHARED && !NO_HIDDEN].
29414 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
29415 [SHARED].
29416 [SHARED && DO_VERSIONING]: Likewise..
29417 * libio/Makefile [$(versioning) = yes]: Change conditionals to
29418 [$(build-shared) = yes].
29419 * manual/install.texi (--disable-versioning): Remove
29420 documentation.
29421 * INSTALL: Regenerated.
29422 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
29423 to [SHARED].
29424 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
29425 [$(build-shared) = yes].
29426 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
29427 * sysdeps/i386/i686/multiarch/strstr-c.c
29428 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29429 [SHARED && !NO_HIDDEN].
29430 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
29431 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
29432 * sysdeps/powerpc/powerpc32/dl-machine.c
29433 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
29434 * sysdeps/powerpc/powerpc32/sysdep.h
29435 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
29436 to [SHARED && PIC && !NO_HIDDEN].
29437 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
29438 conditional to [SHARED].
29439
29440 2013-09-04 Will Newton <will.newton@linaro.org>
29441
29442 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
29443 * benchtests/bench-string.h: Include bench-timing.h instead
29444 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
29445 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
29446 call to HP_TIMING_DIFF_INIT.
29447 * benchtests/bench-memccpy.c: Use bench-timing.h macros
29448 instead of hp-timing.h macros.
29449 * benchtests/bench-memchr.c: Likewise.
29450 * benchtests/bench-memcmp.c: Likewise.
29451 * benchtests/bench-memcpy.c: Likewise.
29452 * benchtests/bench-memmem.c: Likewise.
29453 * benchtests/bench-memmove.c: Likewise.
29454 * benchtests/bench-memset.c: Likewise.
29455 * benchtests/bench-rawmemchr.c: Likewise.
29456 * benchtests/bench-strcasecmp.c: Likewise.
29457 * benchtests/bench-strcasestr.c: Likewise.
29458 * benchtests/bench-strcat.c: Likewise.
29459 * benchtests/bench-strchr.c: Likewise.
29460 * benchtests/bench-strcmp.c: Likewise.
29461 * benchtests/bench-strcpy.c: Likewise.
29462 * benchtests/bench-strcpy_chk.c: Likewise.
29463 * benchtests/bench-strlen.c: Likewise.
29464 * benchtests/bench-strncasecmp.c: Likewise.
29465 * benchtests/bench-strncat.c: Likewise.
29466 * benchtests/bench-strncmp.c: Likewise.
29467 * benchtests/bench-strncpy.c: Likewise.
29468 * benchtests/bench-strnlen.c: Likewise.
29469 * benchtests/bench-strpbrk.c: Likewise.
29470 * benchtests/bench-strrchr.c: Likewise.
29471 * benchtests/bench-strspn.c: Likewise.
29472 * benchtests/bench-strstr.c: Likewise.
29473
29474 2013-09-04 Will Newton <will.newton@linaro.org>
29475
29476 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
29477
29478 2013-09-03 Joseph Myers <joseph@codesourcery.com>
29479
29480 [BZ #15427]
29481 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
29482 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
29483 * math/libm-test.inc (lgamma_test_data): Add more tests.
29484 * sysdeps/i386/fpu/libm-test-ulps: Update.
29485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29486
29487 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
29488
29489 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
29490 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29491 Add ifunc.
29492 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29493 Add strcmp-sse2-unaligned
29494 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
29495
29496 2013-09-02 Mike Frysinger <vapier@gentoo.org>
29497
29498 * Versions.def (libc): Add GLIBC_2.19.
29499
29500 2013-09-02 Mike Frysinger <vapier@gentoo.org>
29501
29502 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
29503 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
29504
29505 2013-09-02 Joseph Myers <joseph@codesourcery.com>
29506
29507 [BZ #14155]
29508 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
29509 intermediate calculations in recurrence.
29510 (__ieee754_ynf): Likewise.
29511 * math/libm-test.inc (jn_test_data): Do not allow spurious
29512 underflow exception. Add more tests.
29513 (yn_test_data): Add more tests.
29514 * sysdeps/i386/fpu/libm-test-ulps: Update.
29515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29516
29517 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
29518
29519 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
29520
29521 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
29522
29523 * csu/init-first.c: Fix then/than typos.
29524 * locale/programs/ld-collate.c: Likewise.
29525 * locale/programs/linereader.h: Likewise.
29526 * manual/charset.texi: Likewise.
29527 * manual/filesys.texi: Likewise.
29528 * manual/stdio.texi: Likewise.
29529 * manual/string.texi: Likewise.
29530 * stdlib/fmtmsg.c: Likewise.
29531 * sysdeps/i386/stpncpy.S: Likewise.
29532 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29533 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29534 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29535 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29536
29537 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
29538
29539 * elf/dl-open.c: Fix typos.
29540 * iconvdata/gbbig5.c: Likewise.
29541 * iconvdata/iso-2022-jp.c: Likewise.
29542 * iconv/gconv_int.h: Likewise.
29543 * iconv/loop.c: Likewise.
29544 * nis/rpcsvc/nis.h: Likewise.
29545 * resolv/ns_name.c: Likewise.
29546 * stdio-common/vfscanf.c: Likewise.
29547 * streams/stropts.h: Likewise.
29548 * sunrpc/rpc_thread.c: Likewise.
29549 * sysdeps/i386/strpbrk.S: Likewise.
29550 * sysdeps/ieee754/k_standard.c: Likewise.
29551 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29552 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29553 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
29554 * sysdeps/mach/hurd/profil.c: Likewise.
29555 * sysdeps/s390/dl-procinfo.h: Likewise.
29556 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
29557 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
29558 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
29559 * sysdeps/x86_64/dl-trampoline.S: Likewise.
29560 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29561
29562 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
29563
29564 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
29565 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
29566
29567 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
29568
29569 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
29570 aix specific files.
29571 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
29572 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
29573 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
29574 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
29575 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
29576 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
29577 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
29578 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
29579
29580 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
29581 Roland McGrath <roland@hack.frob.com>
29582
29583 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
29584 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
29585
29586 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
29587
29588 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
29589 __executable_start symbol instead of _start.
29590
29591 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
29592
29593 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
29594 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
29595 Move macros to...
29596 * sysdeps/gnu/ldsodefs.h: ... this new file.
29597
29598 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
29599 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
29600 instead of ELFOSABI_LINUX.
29601
29602 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
29603 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
29604 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
29605 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
29606 Likewise.
29607 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
29608 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
29609 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
29610 Likewise.
29611 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29612 (ibm_extended_long_double): Add ieee_nan member.
29613 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
29614 (do_test): New function.
29615
29616 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
29617 TEST_TRUNC.
29618 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
29619 functions, renamed from truncdfsf_test, trunctfsf_test,
29620 trunctfdf_test.
29621 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
29622 functions.
29623 (do_test): Run all these.
29624
29625 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
29626
29627 * argp/argp-help.c: Fix typos.
29628 * argp/argp-parse.c: Likewise.
29629 * debug/backtracesyms.c: Likewise.
29630 * elf/elf.h: Likewise.
29631 * malloc/malloc.c: Likewise.
29632 * nis/nis_print.c: Likewise.
29633 * resolv/res_comp.c: Likewise.
29634 * stdlib/stdlib.h: Likewise.
29635 * sunrpc/clnt_tcp.c: Likewise.
29636 * sunrpc/clnt_udp.c: Likewise.
29637 * sunrpc/clnt_unix.c: Likewise.
29638 * sysdeps/unix/bsd/ptsname.c: Likewise.
29639 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
29640 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
29641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
29642 Likewise.
29643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
29644 Likewise.
29645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
29646 Likewise.
29647 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29648
29649 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29650
29651 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
29652 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29653
29654 2013-08-27 Mike Frysinger <vapier@gentoo.org>
29655
29656 [BZ #15897]
29657 * dlfcn/Makefile (tests): Add bug-dl-leaf.
29658 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
29659 ($(objpfx)bug-dl-leaf): New rule.
29660 ($(objpfx)bug-dl-leaf.so): Likewise.
29661 ($(objpfx)bug-dl-leaf.out): Likewise.
29662 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
29663 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
29664 * dlfcn/bug-dl-leaf.c: New test.
29665 * dlfcn/bug-dl-leaf-lib.c: Likewise.
29666 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
29667 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
29668 (dlclose): Likewise.
29669 (dlmopen): Likewise.
29670
29671 2013-08-27 Roland McGrath <roland@hack.frob.com>
29672
29673 * include/netdb.h [!_ISOMAC]:
29674 Don't include <tls.h>.
29675 (h_errno, __libc_h_errno): Move declaration and macros out of
29676 [_LIBC_REENTRANT].
29677
29678 * include/resolv.h [_RESOLV_H_]:
29679 Don't include <tls.h>.
29680 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
29681 * resolv/res_libc.c: Don't include <tls.h>.
29682 (_res): Use __attribute__ ((nocommon)) in place of
29683 __attribute__ ((section (".bss"))).
29684
29685 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
29686 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
29687
29688 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
29689
29690 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
29691 only under [SIOCGIFCONF && SIOCGIFNETMASK].
29692
29693 * resolv/res_mkquery.c: Include <sys/time.h>.
29694
29695 * inet/ifreq.c: Moved to ...
29696 * sysdeps/unix/ifreq.c: ... here.
29697 * inet/ifreq.c: New file, true stub version.
29698
29699 * socket/sa_len.c: New file.
29700 * socket/Makefile (aux): Add it.
29701 * sysdeps/unix/sysv/linux/Makefile
29702 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
29703 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
29704 and #include <socket/sa_len.c>.
29705 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
29706 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
29707
29708 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
29709 * bits/socket.h: ... here.
29710
29711 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
29712 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
29713 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
29714
29715 2013-08-27 Andreas Schwab <schwab@suse.de>
29716
29717 [BZ #15736]
29718 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
29719 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
29720 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
29721 * string/test-strcasecmp.c (test_main): Run tests in several
29722 locales.
29723 * string/test-strncasecmp.c (test_main): Likewise.
29724
29725 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
29726 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
29727 to __strcasecmp_nonascii and __strncasecmp_nonascii.
29728 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
29729 (__strncasecmp_ssse3) [PIC]: Likewise.
29730
29731 2013-08-26 Roland McGrath <roland@hack.frob.com>
29732
29733 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
29734
29735 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
29736 instead of explicitly declaring xdecrypt.
29737 * nis/nss_nis/nis-publickey.c: Likewise.
29738
29739 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29740
29741 [BZ #15890]
29742 * nscd/aicache.c: Include res_hconf.h.
29743 (addhstaiX): Initialize res_hconf.
29744
29745 2013-08-26 Andreas Schwab <schwab@suse.de>
29746
29747 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
29748 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
29749
29750 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29751
29752 * nscd/aicache.c (addhstaiX): Fix indentation.
29753
29754 2013-08-25 Mike Frysinger <vapier@gentoo.org>
29755
29756 * configure.ac: Quote $build_pt_chown test.
29757 * configure: Regenerated.
29758
29759 2013-08-23 Joseph Myers <joseph@codesourcery.com>
29760
29761 [BZ #15532]
29762 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
29763 * math/s_cexpf.c (__cexpf): Likewise.
29764 * math/s_cexpl.c (__cexpl): Likewise.
29765 * math/libm-test.inc (cexp_test_data): Correct expected return
29766 value for NaN + i0. Add another test.
29767
29768 2013-08-22 David S. Miller <davem@davemloft.net>
29769
29770 * po/ca.po: Update Catalan translation from translation project.
29771 * po/uk.po: Add Ukrainian translations from translation project.
29772
29773 2013-08-21 Joseph Myers <joseph@codesourcery.com>
29774
29775 [BZ #15797]
29776 * math/s_fdim.c (__fdim): Check for infinite arguments if result
29777 is infinite, not alongside NaN test.
29778 * math/s_fdimf.c (__fdimf): Likewise.
29779 * math/s_fdiml.c (__fdiml): Likewise.
29780 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
29781 errno is unchanged.
29782
29783 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
29784
29785 * argp/argp-help.c: Fix typos.
29786 * crypt/speeds.c: Likewise.
29787 * csu/check_fds.c: Likewise.
29788 * elf/dl-load.c: Likewise.
29789 * elf/dl-open.c: Likewise.
29790 * elf/reldep3.c: Likewise.
29791 * elf/reldep.c: Likewise.
29792 * elf/sprof.c: Likewise.
29793 * iconv/iconv_charmap.c: Likewise.
29794 * iconv/skeleton.c: Likewise.
29795 * iconv/strtab.c: Likewise.
29796 * io/lockf64.c: Likewise.
29797 * libio/libioP.h: Likewise.
29798 * resolv/gai_notify.c: Likewise.
29799 * resolv/ns_name.c: Likewise.
29800 * resolv/ns_samedomain.c: Likewise.
29801 * resolv/res_send.c: Likewise.
29802 * stdlib/random.c: Likewise.
29803 * sunrpc/rpc/xdr.h: Likewise.
29804 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
29805 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29806 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29807 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29808 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29809 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29810 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29811 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29812 * sysdeps/mach/hurd/check_fds.c: Likewise.
29813 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
29814 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29815 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29816 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
29817 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29818 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29819 * sysdeps/pthread/aio_notify.c: Likewise.
29820 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
29821 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
29822 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
29823 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29824 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29825
29826 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29827
29828 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
29829 version if bit_Slow_SSE4_2 is set.
29830 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29831 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29832
29833 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29834
29835 [BZ #15867]
29836 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
29837 trampoline stack frame information.
29838 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
29839 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
29840 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
29841 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
29842 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
29843 * sysdeps/unix/sysv/linux/powerpc/init-first.c
29844 (_libc_vdso_platform_setup): Initialize the signal trampolines.
29845 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
29846 sa_flags value.
29847 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
29848 interrupting a syscall and set with option SA_SIGINFO.
29849
29850 2013-08-20 Joseph Myers <joseph@codesourcery.com>
29851
29852 [BZ #15531]
29853 * math/s_cproj.c (__cproj): Only return an infinity if one part of
29854 argument is infinite.
29855 * math/s_cprojf.c (__cprojf): Likewise.
29856 * math/s_cprojl.c (__cprojl): Likewise.
29857 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
29858 * math/libm-test.inc (cproj_test_data): Add more tests.
29859
29860 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
29861
29862 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
29863 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
29864 size. Use __ffs to determine corresponding shift.
29865
29866 2013-08-20 Joseph Myers <joseph@codesourcery.com>
29867 Roland McGrath <roland@hack.frob.com>
29868
29869 * Makefile (INSTALL): Remove trailing blank lines from output of
29870 makeinfo.
29871
29872 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29873
29874 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
29875 Align 32 bit compat elf_greg to 8 bytes.
29876
29877 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
29878
29879 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
29880
29881 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29882
29883 * string/strcoll_l.c (coll_seq): New structure.
29884 (get_next_seq_cached): New function.
29885 (get_next_seq): New function.
29886 (do_compare): New function.
29887 (STRCOLL): Use GNU style definition. Simplify implementation
29888 by using get_next_seq, get_next_seq_cached and do_compare.
29889
29890 2013-08-16 Florian Weimer <fweimer@redhat.com>
29891
29892 [BZ #14699]
29893 CVE-2013-4237
29894 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
29895 member.
29896 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
29897 member.
29898 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
29899 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
29900 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
29901 conditional.
29902 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
29903 GETDENTS_64BIT_ALIGNED.
29904 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29905 * manual/filesys.texi (Reading/Closing Directory): Document
29906 ENAMETOOLONG return value of readdir_r. Recommend readdir more
29907 strongly.
29908 * manual/conf.texi (Limits for Files): Add portability note to
29909 NAME_MAX, PATH_MAX.
29910 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
29911
29912 2013-08-13 Andreas Schwab <schwab@suse.de>
29913
29914 [BZ #15749]
29915 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
29916 of fabs.
29917 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
29918 LDBL_MAX_EXP >= 16384]: Add tests for it.
29919
29920 2013-08-12 David S. Miller <davem@davemloft.net>
29921
29922 * version.h (RELEASE): Set to "development".
29923 (VERSION): Set to "2.18.90".
29924 * NEWS: Add 2.19 section.
29925
29926 2013-08-03 David S. Miller <davem@davemloft.net>
29927
29928 * po/ko.po: Update Korean translation from translation project.
29929
29930 2013-08-01 David S. Miller <davem@davemloft.net>
29931
29932 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
29933 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
29934 Bilka.
29935
29936 2013-07-30 David S. Miller <davem@davemloft.net>
29937
29938 * po/fr.po: Update French translation from translation project.
29939
29940 2013-07-28 David S. Miller <davem@davemloft.net>
29941
29942 * po/cs.po: Update Czech translation from translation project.
29943
29944 * po/sv.po: Update Swedish translation from translation project.
29945
29946 2013-07-27 David S. Miller <davem@davemloft.net>
29947
29948 * po/eo.po: Update Esperanto translation from translation project.
29949
29950 * po/vi.po: Update Vietnamese translation from translation project.
29951
29952 * po/de.po: Update German translation from translation project.
29953
29954 2013-07-26 David S. Miller <davem@davemloft.net>
29955
29956 * po/bg.po: Update Bulgarian translation from translation project.
29957
29958 * po/nl.po: Update Dutch translation from translation project.
29959 * po/pl.po: Update Polish translation from translation project.
29960 * po/ru.po: Update Russian translation from translation project.
29961
29962 2013-07-24 David S. Miller <davem@davemloft.net>
29963
29964 * po/libc.pot: Update.
29965
29966 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29967
29968 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
29969 variable page size.
29970 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
29971 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
29972 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
29973
29974 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29975
29976 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
29977
29978 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29979 Andreas Schwab <schwab@suse.de>
29980 Roland McGrath <roland@hack.frob.com>
29981 Joseph Myers <joseph@codesourcery.com>
29982 Carlos O'Donell <carlos@redhat.com>
29983
29984 [BZ #15755]
29985 * config.h.in: Define HAVE_PT_CHOWN.
29986 * config.make.in (build-pt-chown): New variable.
29987 * configure.in (--enable-pt_chown): New configure option.
29988 * configure: Regenerate.
29989 * login/Makefile: Include Makeconfig. Build pt_chown only if
29990 build-pt-chown is enabled.
29991 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
29992 pt_chown to fix pty ownership.
29993 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
29994 CLOSE_ALL_FDS.
29995 * manual/install.texi (Configuring and compiling): Mention
29996 --enable-pt_chown. Add @findex for grantpt.
29997 * INSTALL: Regenerate.
29998
29999 2013-07-20 David S. Miller <davem@davemloft.net>
30000
30001 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
30002 difference between 32-bit and 64-bit.
30003
30004 2013-07-15 Carlos O'Donell <carlos@redhat.com>
30005
30006 [BZ #15711]
30007 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
30008 Avoid system header dependency with -ffreestanding.
30009 ($(objpfx)bits/syscall%d): Likewise.
30010
30011 2013-07-13 David S. Miller <davem@davemloft.net>
30012
30013 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
30014 underflows from atanl/atan2l due to bug 15319.
30015 (casinh_test_data): Likewise.
30016
30017 2013-07-07 David S. Miller <davem@davemloft.net>
30018
30019 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
30020
30021 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
30022
30023 * sysdeps/i386/fpu/libm-test-ulps: Update.
30024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30025
30026 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30027
30028 * configure.in (--enable-lock-elision): Fix message text.
30029 * INSTALL: Regenerate.
30030 * configure: Regenerate.
30031
30032 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30033
30034 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30035
30036 2013-07-03 Andreas Jaeger <aj@suse.de>
30037
30038 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
30039 define.
30040 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
30041 (ptrace_peeksiginfo_args): Add.
30042 (__ptrace_peeksiginfo_flags): Add.
30043 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30044 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30045 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30046
30047 2013-07-03 Allan McRae <allan@archlinux.org>
30048
30049 * sysdeps/i386/fpu/libm-test-ulps: Update.
30050
30051 2013-07-02 David S. Miller <davem@davemloft.net>
30052
30053 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30054
30055 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
30056
30057 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30058
30059 2013-07-02 Joseph Myers <joseph@codesourcery.com>
30060
30061 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30063
30064 2013-07-02 Andi Kleen <ak@linux.intel.com>
30065
30066 * config.h.in (ENABLE_LOCK_ELISION): Add.
30067 * configure.in (--enable-lock-elision): Add option.
30068 * manual/install.texi: Document --enable lock elision.
30069 * configure: Regenerate
30070 * INSTALL: Regenerate.
30071
30072 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
30073
30074 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
30075 SSE4.2 strcasecmp for libc.a.
30076 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
30077
30078 2013-07-02 Joseph Myers <joseph@codesourcery.com>
30079
30080 [BZ #13304]
30081 * soft-fp/op-common.h (_FP_FMA): New macro.
30082 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
30083 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
30084 (_FP_MUL_MEAT_1_imm): ... here.
30085 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
30086 (_FP_MUL_MEAT_1_wide): ... here.
30087 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
30088 (_FP_MUL_MEAT_1_hard): ... here.
30089 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
30090 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
30091 (_FP_MUL_MEAT_2_wide): ... here.
30092 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
30093 (_FP_MUL_MEAT_2_wide_3mul): ... here.
30094 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
30095 (_FP_MUL_MEAT_2_gmp): ... here.
30096 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
30097 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
30098 (_FP_MUL_MEAT_4_wide): ... here.
30099 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
30100 (_FP_MUL_MEAT_4_gmp): ... here.
30101 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
30102 (_FP_WFRACBITS_DW_S): Likewise.
30103 (_FP_WFRACXBITS_DW_S): Likewise.
30104 (_FP_HIGHBIT_DW_S): Likewise.
30105 (FP_FMA_S): Likewise.
30106 (_FP_FRAC_HIGH_DW_S): Likewise.
30107 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
30108 (_FP_WFRACBITS_DW_D): Likewise.
30109 (_FP_WFRACXBITS_DW_D): Likewise.
30110 (_FP_HIGHBIT_DW_D): Likewise.
30111 (FP_FMA_D): Likewise.
30112 (_FP_FRAC_HIGH_DW_D): Likewise.
30113 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
30114 (_FP_WFRACBITS_DW_E): Likewise.
30115 (_FP_WFRACXBITS_DW_E): Likewise.
30116 (_FP_HIGHBIT_DW_E): Likewise.
30117 (FP_FMA_E): Likewise.
30118 (_FP_FRAC_HIGH_DW_E): Likewise.
30119 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
30120 (_FP_WFRACBITS_DW_Q): Likewise.
30121 (_FP_WFRACXBITS_DW_Q): Likewise.
30122 (_FP_HIGHBIT_DW_Q): Likewise.
30123 (FP_FMA_Q): Likewise.
30124 (_FP_FRAC_HIGH_DW_Q): Likewise.
30125 * soft-fp/fmasf4.c: New file.
30126 * soft-fp/fmadf4.c: Likewise.
30127 * soft-fp/fmatf4.c: Likewise.
30128
30129 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30130
30131 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30132 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
30133 Silvermont.
30134 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
30135 macro.
30136 (index_Slow_SSE4_2): Likewise.
30137 (index_Prefer_PMINUB_for_stringop): Likewise.
30138 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
30139 bit_Slow_SSE4_2 is set.
30140 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30141 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30142
30143 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30144
30145 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
30146 rtld_global._dl_hwcap2.
30147 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
30148 POWER8.
30149 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
30150 POWER8 feature descriptions defined in _dl_hwcap2.
30151 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
30152 string handling for POWER8 feature bits.
30153 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
30154 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
30155 _dl_powerpc_cap_flags.
30156 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
30157 * sysdeps/powerpc/rtld-global-offsets.sym
30158 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
30159 _dl_hwcap2 in the rtld_global_ro structure.
30160
30161 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30162
30163 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
30164 hardware capabilities in support of AT_HWCAP2.
30165 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
30166 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
30167 GLRO(dl_hwcap2).
30168 (_dl_show_auxv): Add support for calling _dl_procinfo to display
30169 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
30170 explicitly the unknown a_type display mechanism is used.
30171 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
30172 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
30173 struct member.
30174 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
30175 to macro prototype for AT_HWCAP2 support.
30176 * sysdeps/i386/dl-procinfo.h: Likewise.
30177 * sysdeps/s390/dl-procinfo.h: Likewise.
30178 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
30179 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
30180 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
30181 return -1 for unknown a_type display fallback.
30182 * sysdeps/sparc/dl-procinfo.h: Likewise.
30183 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
30184 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
30185
30186 2013-06-28 Joseph Myers <joseph@codesourcery.com>
30187
30188 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
30189 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
30190
30191 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
30192
30193 [BZ #12492]
30194 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
30195 mprotect making __stack_prot writable.
30196
30197 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
30198 Joseph Myers <joseph@codesourcery.com>
30199
30200 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
30201 as being properly aligned.
30202
30203 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
30204
30205 * dlfcn/modstatic5.c: New file.
30206 * dlfcn/tststatic5.c: New file.
30207 * dlfcn/Makefile (tests): Add tststatic5.
30208 (tests-static): Likewise.
30209 (modules-names): Add modstatic5.
30210 (tststatic5-ENV): New variable.
30211 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
30212
30213 [BZ #15022]
30214 * elf/dl-support.c (_dl_main_map): New variable.
30215 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
30216 (_dl_nns, _dl_load_adds): Set to 1.
30217 (_dl_initial_searchlist): Refer to _dl_main_map.
30218 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
30219 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
30220 call to _dl_get_origin.
30221 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
30222 around call_map.
30223 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
30224 * dlfcn/modstatic3.c: New file.
30225 * dlfcn/tststatic3.c: New file.
30226 * dlfcn/tststatic4.c: New file.
30227 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
30228 (tests-static): Likewise.
30229 (modules-names): Add modstatic3.
30230 (tststatic3-ENV, tststatic4-ENV): New variables.
30231 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
30232 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
30233
30234 2013-06-26 Joseph Myers <joseph@codesourcery.com>
30235
30236 * configure.in (CC): Require GCC version 4.4 or later.
30237 * configure: Regenerated.
30238 * manual/install.texi (Tools for Compilation): Update GCC version
30239 requirement.
30240 * INSTALL: Regenerated.
30241
30242 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30243
30244 [BZ #15674]
30245 * string/test-memcmp.c (check2): New.
30246 (main): Call check2.
30247
30248 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
30249
30250 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
30251
30252 [BZ #15022]
30253 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
30254 over to...
30255 (dl_open_worker) [!SHARED]: ... here.
30256
30257 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30258
30259 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
30260
30261 2013-06-25 Richard Henderson <rth@redhat.com>
30262
30263 * locale/programs/locarchive.c: Include <libc-internal.h>
30264
30265 2013-06-25 Joseph Myers <joseph@codesourcery.com>
30266
30267 * manual/texinfo.tex: Update to version 2013-06-21.17, with
30268 trailing whitespace removed.
30269
30270 2013-06-24 Mike Frysinger <vapier@gentoo.org>
30271
30272 [BZ #10283]
30273 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
30274 * locale/programs/locarchive.c: Include libc-mmap.h.
30275 (prepare_address_space): Take two new outputs (the mmap base and len).
30276 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
30277 values.
30278 (create_archive): Declare new mmap base and len values for
30279 prepare_address_space, and store the result in ah.
30280 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
30281 (enlarge_archive): If ah->mmap_base is not NULL, use that and
30282 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30283 Declare new mmap base and len values for
30284 prepare_address_space, and store the result in new_ah.
30285 (open_archive): Declare new mmap base and len values for
30286 prepare_address_space, and store the result in ah.
30287 (close_archive): If ah->mmap_base is not NULL, use that and
30288 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30289 * sysdeps/generic/libc-mmap.h: New file.
30290
30291 2013-06-24 Mike Frysinger <vapier@gentoo.org>
30292
30293 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
30294 (ALIGN_UP): Likewise.
30295 (PTR_ALIGN_DOWN): Likewise.
30296 (PTR_ALIGN_UP): Likewise.
30297
30298 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30299
30300 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
30301 entry mapped to PPC_PLATFORM_POWER8.
30302 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
30303 POWER8.
30304 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
30305 (_dl_string_platform): Add case for exporting platform position for
30306 POWER8.
30307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
30308 search path to sysdeps/powerpc/powerpc32/power8 directory.
30309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
30310 search path to sysdeps/powerpc/powerpc64/power8 directory.
30311 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
30312 power7 directories.
30313 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
30314 power7 directories.
30315
30316 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30317
30318 * INSTALL: Regenerate.
30319
30320 * nscd/connections.c (nscd_init): Fix comment.
30321
30322 2013-06-22 Joseph Myers <joseph@codesourcery.com>
30323
30324 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
30325
30326 [BZ #15667]
30327 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
30328 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
30329
30330 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
30331
30332 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
30333 DL_DST_REQ_STATIC.
30334 (DL_DST_REQ_STATIC): Remove macro.
30335
30336 2013-06-21 Joseph Myers <joseph@codesourcery.com>
30337
30338 [BZ #7006]
30339 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
30340 with a shift of 0 bits.
30341
30342 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
30343
30344 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
30345 $(tststatic-ENV).
30346
30347 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30348
30349 [BZ #15655]
30350 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
30351
30352 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30353
30354 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
30355 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
30356 accepts -fno-tree-loop-distribute-patterns.
30357 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
30358 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
30359 recursive call.
30360 * string/memset.c (memset): Likewise.
30361 * string/test-memmove.c (simple_memmove): Disable loop transformation
30362 to library calls.
30363 * string/test-memset.c (simple_memset): Likewise.
30364 * benchtests/bench-memmove.c (simple_memmove): Likewise.
30365 * benchtests/bench-memset.c (simple_memset): Likewise.
30366 * configure: Regenerated.
30367
30368 2013-06-20 Joseph Myers <joseph@codesourcery.com>
30369
30370 * math/test-misc.c (main): Ignore fesetround failure when failures
30371 of subsequent rounding tests would be ignored.
30372
30373 [BZ #15654]
30374 * math/fedisblxcpt.c (fedisableexcept): Return 0.
30375 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
30376 * math/fegetenv.c (__fegetenv): Return 0.
30377 * math/fegetexcept.c (fegetexcept): Return 0.
30378 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
30379 FE_TONEAREST.
30380 * math/feholdexcpt.c (feholdexcept): Return 0.
30381 * math/fesetenv.c (__fesetenv): Return 0.
30382 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
30383 argument FE_TONEAREST.
30384 * math/feupdateenv.c (__feupdateenv): Return 0.
30385 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
30386
30387 2013-06-18 Roland McGrath <roland@hack.frob.com>
30388
30389 * elf/rtld-Rules (rtld-compile-command.S): New variable.
30390 (rtld-compile-command.s, rtld-compile-command.c): New variables.
30391 ($(objpfx)rtld-%.os rules): Use them.
30392
30393 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30394
30395 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
30396 fields.
30397
30398 2013-06-17 Roland McGrath <roland@hack.frob.com>
30399
30400 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
30401 length of target pattern, then descending length of dependency pattern.
30402 * configure.in (AWK): Require gawk 3.1.2 or newer.
30403 * manual/install.texi (Tools for Compilation): Say that we do.
30404 * configure: Regenerated.
30405
30406 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
30407 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
30408 * scripts/sysd-rules.awk: ... this new script.
30409 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
30410 than a glob-style pattern.
30411
30412 2013-06-17 Joseph Myers <joseph@codesourcery.com>
30413
30414 * math/test-misc.c (main): Do not treat incorrectly rounded
30415 conversions as failure unless ROUNDING_TESTS passes.
30416
30417 2013-06-15 Joseph Myers <joseph@codesourcery.com>
30418
30419 [BZ #15631]
30420 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
30421 restore exception state around main square root computation, then
30422 check for inexactness explicitly.
30423
30424 * math/libm-test.inc (fma_test_data): Add another test.
30425
30426 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30427
30428 * manual/threads.texi (Non-POSIX Extensions): New document
30429 node. Document pthread_getattr_default_np and
30430 pthread_setattr_default_np.
30431
30432 * Versions.def (libpthread): Add GLIBC_2.18.
30433 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
30434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30435 Likewise.
30436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30437 Likewise.
30438 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30439 Likewise.
30440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30441 Likewise.
30442 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
30443 Likewise.
30444 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30445 Likewise.
30446 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30447 Likewise.
30448 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30449 Likewise.
30450 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30451 Likewise.
30452
30453 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30454
30455 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30456 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
30457
30458 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30459 H.J. Lu <hjl.tools@gmail.com>
30460
30461 [BZ #15627]
30462 * sysdeps/x86_64/rtld-memset.c: Remove file.
30463 * sysdeps/x86_64/rtld-memset.S: New file.
30464
30465 2013-06-14 Joseph Myers <joseph@codesourcery.com>
30466
30467 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
30468 (test_in_one_mode): Take arguments for whether the rounding mode
30469 is supported for each floating-point type.
30470 (do_test): Pass new arguments to test_in_one_mode using
30471 ROUNDING_TESTS.
30472
30473 2013-06-13 Roland McGrath <roland@hack.frob.com>
30474
30475 * posix/tst-waitid.c (do_test): Distinguish different instances of
30476 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
30477 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
30478 before entering the kernel for waitpid.
30479
30480 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30481
30482 * NEWS: Fix note on clock function precision. Text by Roland
30483 McGrath.
30484
30485 2013-06-13 Roland McGrath <roland@hack.frob.com>
30486
30487 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
30488 it into place only when and if the sanity check passes.
30489
30490 2013-06-13 Joseph Myers <joseph@codesourcery.com>
30491
30492 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
30493 output for whether conversion result is exact. Take argument
30494 indicating whether type is IBM long double.
30495 (round_for_all): Change need_exact field to ibm_ld.
30496 * stdlib/tst-strtod-round.c (struct exactness): New type.
30497 (struct test): Change bool ld_ok field to struct exactness exact.
30498 (TEST): Update all definitions for change to field.
30499 (tests): Regenerate array contents.
30500 (test_in_one_mode): Take pointer to new field instead of old ld_ok
30501 field value. Check for IBM long double here.
30502 (do_test): Update calls to test_in_one_mode.
30503
30504 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30505
30506 [BZ #12515]
30507 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
30508 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
30509
30510 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30511
30512 [BZ #15605]
30513 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
30514 generated by the compiler on loop optimizations.
30515 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
30516 general definitions.
30517
30518 2013-06-12 Joseph Myers <joseph@codesourcery.com>
30519
30520 * math/bug-nextafter.c: Include <math-tests.h>.
30521 (main): Only test for exceptions if EXCEPTION_TESTS is true for
30522 the relevant type.
30523 * math/bug-nexttoward.c: Include <math-tests.h>.
30524 (main): Only test for exceptions if EXCEPTION_TESTS is true for
30525 the relevant type.
30526 * math/test-misc.c: Include <math-tests.h>.
30527 (main): Only test for exceptions if EXCEPTION_TESTS is true for
30528 the relevant type.
30529
30530 2013-06-12 Andreas Jaeger <aj@suse.de>
30531
30532 * po/ia.po: Update Interlingua translation from translation
30533 project.
30534
30535 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
30536
30537 * include/fenv.h: Include stdbool.h.
30538 (struct rm_ctx): New structure.
30539 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
30540 Define macro.
30541 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
30542 (SET_RESTORE_ROUNDF): Likewise.
30543 (SET_RESTORE_ROUNDL): Likewise.
30544 (SET_RESTORE_ROUND_NOEX): Likewise.
30545 (SET_RESTORE_ROUND_NOEXF): Likewise.
30546 (SET_RESTORE_ROUND_NOEXL): Likewise.
30547 (SET_RESTORE_ROUND_53BIT): Likewise.
30548 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
30549 (libc_feresetround_noexf_ctx): Likewise.
30550 (libc_feresetround_noexl_ctx): Likewise.
30551 (libc_feholdsetround_53bit_ctx): Likewise.
30552 (libc_feresetround_53bit_ctx): Likewise.
30553 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
30554 (libc_feholdexcept_setround_sse_ctx): New function.
30555 (libc_fesetenv_sse_ctx): Likewise.
30556 (libc_feupdateenv_sse_ctx): Likewise.
30557 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
30558 (libc_feholdexcept_setround_387_ctx): Likewise.
30559 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
30560 (libc_feholdsetround_387_prec_ctx): Likewise.
30561 (libc_feholdsetround_387_ctx): Likewise.
30562 (libc_feholdsetround_387_53bit_ctx): Likewise.
30563 (libc_feholdsetround_sse_ctx): Likewise.
30564 (libc_feresetround_sse_ctx): Likewise.
30565 (libc_feresetround_387_ctx): Likewise.
30566 (libc_feupdateenv_387_ctx): Likewise.
30567 (libc_feholdexcept_setroundf_ctx): Define macro.
30568 (libc_fesetenvf_ctx): Likewise.
30569 (libc_feupdateenvf_ctx): Likewise.
30570 (libc_feholdsetroundf_ctx): Likewise.
30571 (libc_feresetroundf_ctx): Likewise.
30572 (libc_feholdexcept_setround_ctx): Likewise.
30573 (libc_fesetenv_ctx): Likewise.
30574 (libc_feupdateenv_ctx): Likewise.
30575 (libc_feholdsetround_ctx): Likewise.
30576 (libc_feresetround_ctx): Likewise.
30577 (libc_feholdexcept_setroundl_ctx): Likewise.
30578 (libc_feupdateenvl_ctx): Likewise.
30579 (libc_feholdsetroundl_ctx): Likewise.
30580 (libc_feresetroundl_ctx): Likewise.
30581 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
30582 (libc_feresetround_53bit_ctx): Likewise.
30583
30584 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30585
30586 * locale/iso-639.def: Convert to UTF-8.
30587
30588 2013-06-11 Joseph Myers <joseph@codesourcery.com>
30589
30590 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
30591 (EXCEPTION_TESTS_double): Likewise.
30592 (EXCEPTION_TESTS_long_double): Likewise.
30593 (EXCEPTION_TESTS): Likewise.
30594 * math/libm-test.inc (test_exceptions): Only test exceptions if
30595 EXCEPTION_TESTS (FLOAT).
30596
30597 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30598
30599 * benchtests/Makefile (string-bench): Add strcpy_chk and
30600 stpcpy_chk.
30601 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
30602 * benchtests/bench-stpcpy_chk.c: New file.
30603 * benchtests/bench-strcpy_chk-ifunc.c: New file.
30604 * benchtests/bench-strcpy_chk.c: New file.
30605 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
30606 code.
30607 (do_test): Likewise.
30608
30609 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30610
30611 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
30612 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
30613 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
30614 with tabs where appropriate.
30615 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
30616 dl-procinfo.h.
30617 [PPC_PLATFORM_PPC440]: Likewise.
30618 [PPC_PLATFORM_PPC464]: Likewise.
30619 [PPC_PLATFORM_PPC476]: Likewise.
30620 (_dl_string_platform): Add support for detecting ppc405, ppc440,
30621 ppc464, and ppc476 platform strings merging from ports/
30622 dl-procinfo.h.
30623
30624 2013-06-11 Andreas Schwab <schwab@suse.de>
30625
30626 [BZ #14991]
30627 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
30628 (from_ucs4_idx): Regenerate.
30629 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
30630 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
30631 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
30632 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
30633 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
30634 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
30635 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
30636 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
30637 from FROM_LOOP and TO_LOOP specific macros.
30638 (BODY): Handle combining characters.
30639 * iconvdata/BIG5HKSCS.irreversible: Update.
30640 * iconvdata/BIG5HKSCS.precomposed: New file.
30641 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
30642 characters.
30643 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
30644
30645 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30646
30647 * include/sys/time.h: Fix indentation and add copyright header.
30648
30649 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
30650 (do_test): Likewise.
30651 * string/test-memchr.c (do_one_test): Likewise.
30652 (do_test): Likewise.
30653 * string/test-memcmp.c (do_one_test): Likewise.
30654 (do_test): Likewise.
30655 * string/test-memcpy.c (do_one_test): Likewise.
30656 (do_test): Likewise.
30657 * string/test-memmem.c (do_one_test): Likewise.
30658 (do_test): Likewise.
30659 (do_random_tests): Likewise.
30660 * string/test-memmove.c (do_one_test): Likewise.
30661 (do_test): Likewise.
30662 * string/test-memset.c (do_one_test): Likewise.
30663 (do_test): Likewise.
30664 * string/test-rawmemchr.c (do_one_test): Likewise.
30665 (do_test): Likewise.
30666 * string/test-strcasecmp.c (do_one_test): Likewise.
30667 (do_test): Likewise.
30668 * string/test-strcasestr.c (do_one_test): Likewise.
30669 (do_test): Likewise.
30670 * string/test-strcat.c (do_one_test): Likewise.
30671 (do_test): Likewise.
30672 * string/test-strchr.c (do_one_test): Likewise.
30673 (do_test): Likewise.
30674 * string/test-strcmp.c (do_one_test): Likewise.
30675 (do_test): Likewise.
30676 * string/test-strcpy.c (do_one_test): Likewise.
30677 (do_test): Likewise.
30678 * string/test-string.h: Likewise.
30679 (test_init): Likewise.
30680 * string/test-strlen.c (do_one_test): Likewise.
30681 (do_test): Likewise.
30682 * string/test-strncasecmp.c (do_one_test): Likewise.
30683 (do_test): Likewise.
30684 * string/test-strncat.c (do_one_test): Likewise.
30685 (do_test): Likewise.
30686 * string/test-strncmp.c (do_one_test): Likewise.
30687 (do_test_limit): Likewise.
30688 (do_test): Likewise.
30689 * string/test-strncpy.c (do_one_test): Likewise.
30690 (do_test): Likewise.
30691 * string/test-strnlen.c (do_one_test): Likewise.
30692 (do_test): Likewise.
30693 * string/test-strpbrk.c (do_one_test): Likewise.
30694 (do_test): Likewise.
30695 * string/test-strrchr.c (do_one_test): Likewise.
30696 (do_test): Likewise.
30697 * string/test-strspn.c (do_one_test): Likewise.
30698 (do_test): Likewise.
30699 * string/test-strstr.c (do_one_test): Likewise.
30700 (do_test): Likewise.
30701
30702 * benchtests/Makefile (string-bench): Add string benchmarks.
30703 * benchtests/bench-bcopy-ifunc.c: New file.
30704 * benchtests/bench-bcopy.c: New file.
30705 * benchtests/bench-bzero-ifunc.c: New file.
30706 * benchtests/bench-bzero.c: New file.
30707 * benchtests/bench-memccpy-ifunc.c: New file.
30708 * benchtests/bench-memccpy.c: New file.
30709 * benchtests/bench-memchr-ifunc.c: New file.
30710 * benchtests/bench-memchr.c: New file.
30711 * benchtests/bench-memcmp-ifunc.c: New file.
30712 * benchtests/bench-memcmp.c: New file.
30713 * benchtests/bench-memmem-ifunc.c: New file.
30714 * benchtests/bench-memmem.c: New file.
30715 * benchtests/bench-memmove-ifunc.c: New file.
30716 * benchtests/bench-memmove.c: New file.
30717 * benchtests/bench-mempcpy-ifunc.c: New file.
30718 * benchtests/bench-mempcpy.c: New file.
30719 * benchtests/bench-memset-ifunc.c: New file.
30720 * benchtests/bench-memset.c: New file.
30721 * benchtests/bench-rawmemchr-ifunc.c: New file.
30722 * benchtests/bench-rawmemchr.c: New file.
30723 * benchtests/bench-stpcpy-ifunc.c: New file.
30724 * benchtests/bench-stpcpy.c: New file.
30725 * benchtests/bench-stpncpy-ifunc.c: New file.
30726 * benchtests/bench-stpncpy.c: New file.
30727 * benchtests/bench-strcasecmp-ifunc.c: New file.
30728 * benchtests/bench-strcasecmp.c: New file.
30729 * benchtests/bench-strcasestr-ifunc.c: New file.
30730 * benchtests/bench-strcasestr.c: New file.
30731 * benchtests/bench-strcat-ifunc.c: New file.
30732 * benchtests/bench-strcat.c: New file.
30733 * benchtests/bench-strchr-ifunc.c: New file.
30734 * benchtests/bench-strchr.c: New file.
30735 * benchtests/bench-strchrnul-ifunc.c: New file.
30736 * benchtests/bench-strchrnul.c: New file.
30737 * benchtests/bench-strcmp-ifunc.c: New file.
30738 * benchtests/bench-strcmp.c: New file.
30739 * benchtests/bench-strcpy-ifunc.c: New file.
30740 * benchtests/bench-strcpy.c: New file.
30741 * benchtests/bench-strcspn-ifunc.c: New file.
30742 * benchtests/bench-strcspn.c: New file.
30743 * benchtests/bench-strlen-ifunc.c: New file.
30744 * benchtests/bench-strlen.c: New file.
30745 * benchtests/bench-strncasecmp-ifunc.c: New file.
30746 * benchtests/bench-strncasecmp.c: New file.
30747 * benchtests/bench-strncat-ifunc.c: New file.
30748 * benchtests/bench-strncat.c: New file.
30749 * benchtests/bench-strncmp-ifunc.c: New file.
30750 * benchtests/bench-strncmp.c: New file.
30751 * benchtests/bench-strncpy-ifunc.c: New file.
30752 * benchtests/bench-strncpy.c: New file.
30753 * benchtests/bench-strnlen-ifunc.c: New file.
30754 * benchtests/bench-strnlen.c: New file.
30755 * benchtests/bench-strpbrk-ifunc.c: New file.
30756 * benchtests/bench-strpbrk.c: New file.
30757 * benchtests/bench-strrchr-ifunc.c: New file.
30758 * benchtests/bench-strrchr.c: New file.
30759 * benchtests/bench-strspn-ifunc.c: New file.
30760 * benchtests/bench-strspn.c: New file.
30761 * benchtests/bench-strstr-ifunc.c: New file.
30762 * benchtests/bench-strstr.c: New file.
30763
30764 * benchtests/Makefile: Disable parallel execution of targets.
30765 (string-bench): Add memcpy.
30766 (benchset): New variable to store a list of benchmark sets.
30767 (bench-func): Renamed from bench.
30768 (bench-set): New target.
30769 (bench): Depend on bench-func and bench-set.
30770 * benchtests/README: Add section on benchmark sets.
30771 * benchtests/bench-memcpy-ifunc.c: New file.
30772 * benchtests/bench-memcpy.c: New file.
30773 * benchtests/bench-string.h: New file.
30774
30775 2013-06-11 Andreas Schwab <schwab@suse.de>
30776
30777 [BZ #15577]
30778 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
30779 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
30780 values in the triple.
30781 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
30782 terminator in the group key.
30783
30784 2013-06-11 Andreas Jaeger <aj@suse.de>
30785
30786 * po/zh_TW.po: Update Chinese (traditional) translation from
30787 translation project.
30788
30789 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30790
30791 * include/time.h (__clock_gettime): Add libc_hidden_proto.
30792 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
30793 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
30794 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30795 (clock_getcpuclockid): Likewise.
30796 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
30797 Add weak_alias and libc_hidden_def.
30798 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
30799 * rt/clock_gettime.c (clock_gettime): Rename to
30800 __clock_gettime. Add weak_alias and libc_hidden_def.
30801 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
30802 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
30803 __clock_nanosleep. Add weak_alias and libc_hidden_def.
30804 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
30805 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
30806 Likewise.
30807 * rt/clock_settime.c (clock_settime): Rename to
30808 __clock_settime. Add weak_alias and libc_hidden_def.
30809 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
30810
30811 2013-06-10 Joseph Myers <joseph@codesourcery.com>
30812
30813 * mach/err_boot.sub: Remove trailing whitespace.
30814 * mach/err_ipc.sub: Likewise.
30815 * mach/err_mach.sub: Likewise.
30816
30817 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
30818 (ROUNDING_TESTS_double): Likewise.
30819 (ROUNDING_TESTS_long_double): Likewise.
30820 (ROUNDING_TESTS): Likewise.
30821 * math/libm-test.inc: Include <math-tests.h>.
30822 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
30823 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
30824 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
30825 (IF_ROUND_INIT_FE_UPWARD): Likewise.
30826
30827 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30828
30829 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
30830 of assigning.
30831
30832 2013-06-08 Joseph Myers <joseph@codesourcery.com>
30833
30834 * sysdeps/gnu/errlist.awk: Do not generate space at end of
30835 otherwise empty TRANS lines.
30836 * sysdeps/gnu/errlist.c: Regenerated.
30837
30838 * catgets/gencat.c (error_print): Use (void) in function
30839 definition.
30840 * crypt/crypt_util.c (__init_des): Likewise.
30841 * crypt/speeds.c (Stop): Likewise.
30842 (main): Likewise.
30843 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
30844 * inet/ruserpass.c (token): Likewise.
30845 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
30846 * intl/localealias.c (extend_alias_table): Likewise.
30847 * intl/plural-exp.c (init_germanic_plural): Likewise.
30848 * libio/fcloseall.c (__fcloseall): Likewise.
30849 * libio/genops.c (_IO_flush_all): Likewise.
30850 (_IO_flush_all_linebuffered): Likewise.
30851 (_IO_cleanup): Likewise.
30852 (_IO_iter_begin): Likewise.
30853 (_IO_iter_end): Likewise.
30854 (_IO_list_lock): Likewise.
30855 (_IO_list_unlock): Likewise.
30856 (_IO_list_resetlock): Likewise.
30857 * libio/getchar.c (getchar): Likewise.
30858 * libio/getchar_u.c (getchar_unlocked): Likewise.
30859 * libio/getwchar.c (getwchar): Likewise.
30860 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
30861 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
30862 * login/getpt.c (__getpt): Likewise.
30863 * login/tst-utmp.c (main): Likewise.
30864 * malloc/hooks.c (__malloc_check_init): Likewise.
30865 * malloc/malloc.c (__malloc_stats): Likewise.
30866 * malloc/mtrace.c (tr_break): Likewise.
30867 (mtrace): Likewise.
30868 (muntrace): Likewise.
30869 * misc/fstab.c (endfsent): Likewise.
30870 * misc/getclktck.c (__getclktck): Likewise.
30871 * misc/getdtsz.c (__getdtablesize): Likewise.
30872 * misc/gethostid.c (gethostid): Likewise.
30873 * misc/getpagesize.c (__getpagesize): Likewise.
30874 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
30875 (__get_nprocs): Likewise.
30876 (__get_phys_pages): Likewise.
30877 (__get_avphys_pages): Likewise.
30878 * misc/getttyent.c (getttyent): Likewise.
30879 (setttyent): Likewise.
30880 (endttyent): Likewise.
30881 * misc/getusershell.c (getusershell): Likewise.
30882 (endusershell): Likewise.
30883 (setusershell): Likewise.
30884 (initshells): Likewise.
30885 * misc/hsearch.c (__hdestroy): Likewise.
30886 * misc/sync.c (sync): Likewise.
30887 * misc/syslog.c (closelog_internal): Likewise.
30888 (closelog): Likewise.
30889 * misc/ttyslot.c (ttyslot): Likewise.
30890 * misc/vhangup.c (vhangup): Likewise.
30891 * posix/fork.c (__fork): Likewise.
30892 * posix/getegid.c (__getegid): Likewise.
30893 * posix/geteuid.c (__geteuid): Likewise.
30894 * posix/getgid.c (__getgid): Likewise.
30895 * posix/getpid.c (__getpid): Likewise.
30896 * posix/getppid.c (__getppid): Likewise.
30897 * posix/getuid.c (__getuid): Likewise.
30898 * posix/pause.c (pause): Likewise.
30899 * posix/setpgrp.c (setpgrp): Likewise.
30900 * posix/setsid.c (__setsid): Likewise.
30901 * posix/test-vfork.c (noop): Likewise.
30902 * resolv/gethnamaddr.c (_endhtent): Likewise.
30903 (_gethtent): Likewise.
30904 (ht_endhostent): Likewise.
30905 (gethostent): Likewise.
30906 (dns_service): Likewise.
30907 * stdlib/drand48.c (drand48): Likewise.
30908 * stdlib/lrand48.c (lrand48): Likewise.
30909 * stdlib/mrand48.c (mrand48): Likewise.
30910 * stdlib/rand.c (rand): Likewise.
30911 * stdlib/random.c (__random): Likewise.
30912 * stdlib/setenv.c (clearenv): Likewise.
30913 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
30914 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
30915 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
30916 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
30917 (__get_nprocs): Likewise.
30918 (__get_phys_pages): Likewise.
30919 (__get_avphys_pages): Likewise.
30920 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
30921 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
30922 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
30923 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
30924 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
30925 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
30926 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
30927 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
30928 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
30929 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
30930 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
30931 * sysdeps/mach/hurd/sync.c (sync): Likewise.
30932 * sysdeps/posix/clock.c (clock): Likewise.
30933 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
30934 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
30935 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
30936 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
30937 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
30938 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30939 (__get_nprocs_conf): Likewise.
30940 (__get_phys_pages): Likewise.
30941 (__get_avphys_pages): Likewise.
30942 * time/clock.c (clock): Likewise.
30943 * time/tzset.c (__tzname_max): Likewise.
30944
30945 2013-06-07 Joseph Myers <joseph@codesourcery.com>
30946
30947 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
30948 (__bswap_32): Do not use "register".
30949 * crypt/crypt.c (_ufc_doit_r): Likewise.
30950 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
30951 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
30952 * gmon/gmon.c (__monstartup): Likewise.
30953 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
30954 * hurd/hurdmalloc.c (more_memory): Likewise.
30955 (malloc): Likewise.
30956 (free): Likewise.
30957 (realloc): Likewise.
30958 (malloc_fork_prepare): Likewise.
30959 (malloc_fork_parent): Likewise.
30960 (malloc_fork_child): Likewise.
30961 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
30962 (_svcauth_des): Likewise.
30963 * inet/inet_lnaof.c (inet_lnaof): Likewise.
30964 * inet/inet_net.c (inet_network): Likewise.
30965 * inet/inet_netof.c (inet_netof): Likewise.
30966 * inet/rcmd.c (__validuser2_sa): Likewise.
30967 * io/fts.c (fts_open): Likewise.
30968 (fts_load): Likewise.
30969 (fts_close): Likewise.
30970 (fts_read): Likewise.
30971 (fts_children): Likewise.
30972 (fts_build): Likewise.
30973 (fts_stat): Likewise.
30974 (fts_sort): Likewise.
30975 (fts_alloc): Likewise.
30976 (fts_lfree): Likewise.
30977 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
30978 (_IO_file_xsgetn): Likewise.
30979 (_IO_file_xsgetn_mmap): Likewise.
30980 * libio/iofopncook.c (_IO_cookie_read): Likewise.
30981 (_IO_cookie_write): Likewise.
30982 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
30983 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
30984 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
30985 * malloc/obstack.c (_obstack_begin): Likewise.
30986 (_obstack_begin_1): Likewise.
30987 (_obstack_newchunk): Likewise.
30988 (_obstack_allocated_p): Likewise.
30989 (obstack_free): Likewise.
30990 (_obstack_memory_used): Likewise.
30991 * misc/getttyent.c (getttynam): Likewise.
30992 (getttyent): Likewise.
30993 (skip): Likewise.
30994 (value): Likewise.
30995 * misc/getusershell.c (initshells): Likewise.
30996 * misc/syslog.c (__vsyslog_chk): Likewise.
30997 * misc/ttyslot.c (ttyslot): Likewise.
30998 * nis/nis_hash.c (__nis_hash): Likewise.
30999 * posix/fnmatch_loop.c (FCT): Likewise.
31000 * posix/getconf.c (print_all): Likewise.
31001 (main): Likewise.
31002 * posix/getopt.c (exchange): Likewise.
31003 * posix/glob.c (globfree): Likewise.
31004 (prefix_array): Likewise.
31005 (__glob_pattern_type): Likewise.
31006 * resolv/arpa/nameser.h (NS_GET16): Likewise.
31007 (NS_GET32): Likewise.
31008 (NS_PUT16): Likewise.
31009 (NS_PUT32): Likewise.
31010 * resolv/gethnamaddr.c (getanswer): Likewise.
31011 (gethostbyname2): Likewise.
31012 (gethostbyaddr): Likewise.
31013 (_gethtent): Likewise.
31014 (_gethtbyname2): Likewise.
31015 (_gethtbyaddr): Likewise.
31016 * resolv/ns_print.c (dst_s_get_int16): Likewise.
31017 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
31018 * resolv/res_init.c (__res_vinit): Likewise.
31019 (net_mask): Likewise.
31020 * resolv/res_mkquery.c (outchar): Likewise.
31021 (PRINT): Likewise.
31022 * stdio-common/printf_fp.c (outchar): Likewise.
31023 (PRINT): Likewise.
31024 * stdio-common/printf_fphex.c (outchar): Likewise.
31025 (PRINT): Likewise.
31026 * stdio-common/printf_size.c (outchar): Likewise.
31027 (PRINT): Likewise.
31028 * stdio-common/test_rdwr.c (main): Likewise.
31029 * stdio-common/tfformat.c (matches): Likewise.
31030 * stdio-common/vfprintf.c (outchar): Likewise.
31031 (printf_unknown): Likewise.
31032 (buffered_vfprintf): Likewise.
31033 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
31034 * stdio-common/xbug.c (AppendToBuffer): Likewise.
31035 (ReadFile): Likewise.
31036 * stdlib/qsort.c (SWAP): Likewise.
31037 (_quicksort): Likewise.
31038 * stdlib/setenv.c (__add_to_environ): Likewise.
31039 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
31040 * stdlib/strtol_l.c (__strtol_l): Likewise.
31041 * stdlib/tst-strtod.c (main): Likewise.
31042 * stdlib/tst-strtol.c (main): Likewise.
31043 * stdlib/tst-strtoll.c (main): Likewise.
31044 * string/bits/string2.h (__strcmp_cc): Likewise.
31045 (__strcmp_cg): Likewise.
31046 (__strcspn_c1): Likewise.
31047 (__strcspn_c2): Likewise.
31048 (__strcspn_c3): Likewise.
31049 (__strspn_c1): Likewise.
31050 (__strspn_c2): Likewise.
31051 (__strspn_c3): Likewise.
31052 (__strsep_1c): Likewise.
31053 (__strsep_2c): Likewise.
31054 (__strsep_3c): Likewise.
31055 * string/memccpy.c (__memccpy): Likewise.
31056 * string/stpcpy.c (__stpcpy): Likewise.
31057 * string/strcmp.c (strcmp): Likewise.
31058 * string/strrchr.c (strrchr): Likewise.
31059 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
31060 Likewise.
31061 * sysdeps/mach/hurd/getcwd.c
31062 (_hurd_canonicalize_directory_name_internal): Likewise.
31063 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
31064 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
31065 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
31066 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
31067 Likewise, in both definitions.
31068 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
31069 definitions.
31070 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
31071 64] (__bswap_64): Likewise.
31072 * time/test_time.c (main): Likewise.
31073 * time/tzfile.c (__tzfile_read): Likewise.
31074 (__tzfile_compute): Likewise.
31075 * time/tzset.c (__tzset_parse_tz): Likewise.
31076 (tzset_internal): Likewise.
31077 (compute_change): Likewise.
31078 * wcsmbs/wcscat.c (__wcscat): Likewise.
31079 * wcsmbs/wcschr.c (wcschr): Likewise.
31080 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
31081 * wcsmbs/wcscspn.c (wcscspn): Likewise.
31082 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
31083 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
31084 * wcsmbs/wcsspn.c (wcsspn): Likewise.
31085 * wcsmbs/wcsstr.c (wcsstr): Likewise.
31086 * wcsmbs/wmemchr.c (wmemchr): Likewise.
31087 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31088 * wcsmbs/wmemset.c (wmemset): Likewise.
31089
31090 2013-06-06 Joseph Myers <joseph@codesourcery.com>
31091
31092 * scripts/config.guess: Update to version 2013-05-16.
31093 * scripts/config.sub: Update to version 2013-04-24.
31094 * scripts/install-sh: Update to version 2011-11-20.07.
31095 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
31096 * scripts/move-if-change: Update to version 2012-01-06 07:23.
31097
31098 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
31099
31100 * debug/fgetws_u_chk.c: Fix leading whitespaces.
31101 * elf/sln.c: Likewise.
31102 * hurd/hurd/ioctl.h: Likewise.
31103 * hurd/hurdmalloc.c: Likewise.
31104 * hurd/xattr.c: Likewise.
31105 * include/shlib-compat.h: Likewise.
31106 * inet/ruserpass.c: Likewise.
31107 * libio/iofgets_u.c: Likewise.
31108 * libio/iofgetws_u.c: Likewise.
31109 * locale/programs/ld-identification.c: Likewise.
31110 * locale/programs/ld-time.c: Likewise.
31111 * mach/msg-destroy.c: Likewise.
31112 * nss/nss_files/files-netgrp.c: Likewise.
31113 * resolv/res_data.c: Likewise.
31114 * soft-fp/op-1.h: Likewise.
31115 * soft-fp/op-2.h: Likewise.
31116 * soft-fp/op-4.h: Likewise.
31117 * soft-fp/op-common.h: Likewise.
31118 * stdio-common/printf_fphex.c: Likewise.
31119 * stdlib/strtod_l.c: Likewise.
31120 * sunrpc/rpc/clnt.h: Likewise.
31121 * sysdeps/generic/framestate.c: Likewise.
31122 * sysdeps/i386/bsd-_setjmp.S: Likewise.
31123 * sysdeps/i386/bsd-setjmp.S: Likewise.
31124 * sysdeps/i386/__longjmp.S: Likewise.
31125 * sysdeps/i386/setjmp.S: Likewise.
31126 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31127 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31128 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31129 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31130 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31131 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
31132 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31133 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31134 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31135 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31136 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
31137 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
31138 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
31139 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
31140 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
31141 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31142 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
31143 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
31144 * sysdeps/ieee754/support.c: Likewise.
31145 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31146 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
31147 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
31148 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
31149 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
31150 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
31151 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
31152 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
31153 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
31154 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
31155 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
31156 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
31157 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
31158 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
31159 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
31160 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
31161 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
31163
31164 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
31165
31166 * posix/transbug.c: Remove executable mode.
31167
31168 2013-06-05 Joseph Myers <joseph@codesourcery.com>
31169
31170 * crypt/speeds.c: Remove trailing whitespace.
31171 * dlfcn/default.c: Likewise.
31172 * elf/ifuncdep2.c: Likewise.
31173 * elf/ifuncmain1.c: Likewise.
31174 * elf/ifuncmain1vis.c: Likewise.
31175 * elf/testobj.h: Likewise.
31176 * elf/tst-stackguard1.c: Likewise.
31177 * gmon/sys/gmon.h: Likewise.
31178 * hurd/hurdmsg.c: Likewise.
31179 * hurd/new-fd.c: Likewise.
31180 * hurd/ports-get.c: Likewise.
31181 * iconvdata/ibm1008_420.c: Likewise.
31182 * inet/tst-getni1.c: Likewise.
31183 * inet/tst-getni2.c: Likewise.
31184 * libio/ioungetc.c: Likewise.
31185 * libio/wfiledoalloc.c: Likewise.
31186 * manual/libm-err-tab.pl: Likewise.
31187 * math/w_dremf.c: Likewise.
31188 * misc/ftruncate.c: Likewise.
31189 * posix/bug-glob2.c: Likewise.
31190 * posix/tst-pcre.c: Likewise.
31191 * posix/wait4.c: Likewise.
31192 * resolv/README: Likewise.
31193 * resolv/res_debug.h: Likewise.
31194 * resolv/tst-inet_ntop.c: Likewise.
31195 * setjmp/bug269-setjmp.c: Likewise.
31196 * soft-fp/extended.h: Likewise.
31197 * soft-fp/op-1.h: Likewise.
31198 * soft-fp/op-2.h: Likewise.
31199 * soft-fp/op-4.h: Likewise.
31200 * soft-fp/op-8.h: Likewise.
31201 * soft-fp/testit.c: Likewise.
31202 * stdio-common/bug16.c: Likewise.
31203 * stdlib/random.c: Likewise.
31204 * sunrpc/rpcsvc/rquota.x: Likewise.
31205 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
31206 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31207 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31208 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31209 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31210 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31211 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31212 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31213 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31214 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31215 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31216 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
31217 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31218 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
31219 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31220 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
31221 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
31222 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31223 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
31224 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31225 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31226 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31227 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
31228 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
31229 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
31230 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
31231 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31232 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31233 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31234 * sysdeps/ieee754/s_lib_version.c: Likewise.
31235 * sysdeps/mach/hurd/check_fds.c: Likewise.
31236 * sysdeps/mach/hurd/getsockname.c: Likewise.
31237 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
31238 * sysdeps/mach/hurd/recvfrom.c: Likewise.
31239 * sysdeps/powerpc/bits/link.h: Likewise.
31240 * sysdeps/powerpc/dl-procinfo.c: Likewise.
31241 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
31242 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
31243 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
31244 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31245 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
31246 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
31247 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31248 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
31249 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31250 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
31251 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31252 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
31253 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31254 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31255 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31256 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31257 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31258 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31259 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31260 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31261 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
31262 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31263 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31264 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
31265 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31266 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31267 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31268 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31269 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31270 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31271 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31272 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31273 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31274 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
31275 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31276 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
31277 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31278 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
31279 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
31280 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
31281 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
31282 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
31283 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
31284 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31285 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
31286 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
31287 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31288 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
31289 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
31290 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31291 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31292 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31293 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31294 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
31295 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
31296 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
31297 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31298 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
31299 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
31300 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
31301 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
31302 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
31303 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31304 * sysdeps/powerpc/sysdep.h: Likewise.
31305 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31306 * sysdeps/s390/s390-64/sub_n.S: Likewise.
31307 * sysdeps/sh/dl-trampoline.S: Likewise.
31308 * sysdeps/sh/memset.S: Likewise.
31309 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
31310 * sysdeps/sh/strlen.S: Likewise.
31311 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
31312 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
31313 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
31314 * sysdeps/sparc/sparc32/rem.S: Likewise.
31315 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
31316 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
31317 * sysdeps/sparc/sparc32/strchr.S: Likewise.
31318 * sysdeps/sparc/sparc32/udiv.S: Likewise.
31319 * sysdeps/sparc/sparc32/urem.S: Likewise.
31320 * sysdeps/sparc/sparc64/add_n.S: Likewise.
31321 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31322 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
31323 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
31324 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
31325 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
31326 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
31327 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
31328 * sysdeps/unix/bsd/times.c: Likewise.
31329 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
31330 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
31331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
31332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
31333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
31334 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
31335 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
31336 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
31337 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
31338 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
31339 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
31340 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31341 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
31342 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31343 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31344 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
31345 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31346 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
31347 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
31348 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
31349 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
31350 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
31351 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31352 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
31353 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
31354 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
31355 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
31356 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31357 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
31358 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
31359 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
31360 * sysdeps/x86_64/strcspn.S: Likewise.
31361
31362 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31363
31364 * locale/C-translit.h: Revert #include <stdint.h> because this is a
31365 generated file. Regenerate properly from gen-translit.pl.
31366 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
31367 locale/C-translit.h.
31368
31369 2013-06-05 Andreas Schwab <schwab@suse.de>
31370
31371 [BZ #15100]
31372 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
31373 week as 6 instead of -1.
31374 * time/tst-strptime.c (day_tests): Add test case.
31375
31376 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31377
31378 * sysdeps/generic/math_private.h
31379 (libc_feholdexcept_setround_53bit): Replace with
31380 libc_feholdsetround_53bit.
31381 (libc_feupdateenv_53bit): Replace with
31382 libc_feresetround_53bit.
31383 (SET_RESTORE_ROUND_53BIT): Adjust.
31384
31385 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
31386
31387 * string/test-strchrnul.c: Add copyright header.
31388
31389 * posix/tst-getaddrinfo4.c: Increase test timeout.
31390
31391 2013-06-03 Carlos O'Donell <carlos@redhat.com>
31392
31393 [BZ #15536]
31394 * math/libm-test.inc (MAX_EXP): Remove
31395 (MIN_EXP): Define.
31396 (ulp): Use MIN_EXP - MANT_DIG.
31397 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
31398
31399 2013-05-31 Carlos O'Donell <carlos@redhat.com>
31400
31401 * po/be.po: Revert last change.
31402 * po/zh_CN.po: Likewise.
31403 * po/header.pot: Likewise.
31404
31405 2013-05-31 Joseph Myers <joseph@codesourcery.com>
31406
31407 * Makefile ($(common-objpfx)linkobj/libc.so): Define
31408 link-libc-deps to empty as target-specific variable.
31409 * Makerules (link-libc-args): New variable.
31410 (libc-for-link): Likewise.
31411 (link-libc-deps): Likewise.
31412 (lib%.so): Depend on $(link-libc-deps). Link with
31413 $(link-libc-args).
31414 (build-module): Link with $(link-libc-args).
31415 (build-module-asneeded): Likewise.
31416 (build-module-helper-objlist): Filter out $(link-libc-deps) from
31417 list of objects.
31418 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
31419 target-specific variable.
31420 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
31421 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
31422 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
31423 libc.
31424 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
31425 libc and ld.so.
31426 ($(objpfx)libpcprofile.so): Likewise.
31427 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
31428 libc_nonshared.a.
31429 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
31430 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
31431 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
31432 $(link-libc-deps).
31433 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
31434 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
31435 * login/Makefile ($(objpfx)libutil.so): Likewise.
31436 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
31437 * math/Makefile ($(objpfx)libm.so): Likewise.
31438 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
31439 $(objpfx)libnsl.so): Define libc-for-link as target-specific
31440 variable instead of depending directly on libc.
31441 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
31442 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
31443 $(link-libc-deps).
31444 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
31445 libc.
31446 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
31447 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
31448 ($(objpfx)libanl.so): Likewise.
31449 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
31450 ld.so.
31451 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
31452 $(link-libc-deps).
31453 * sysdeps/i386/fpu/Makefile: Remove file.
31454 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
31455 ($(objpfx)libm.so): Remove dependency on ld.so.
31456
31457 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
31458
31459 [BZ # 15553]
31460 * nis/yp_xdr.c (XDRMAXNAME): Define.
31461 (XDRMAXRECORD): Define.
31462 (xdr_domainname): Use XDRMAXNAME.
31463 (xdr_mapname): Likewise.
31464 (xdr_peername): Likewise.
31465 (xdr_keydat): Use XDRMAXRECORD.
31466 (xdr_valdat): Likewise.
31467
31468 2013-05-30 Jeff Law <law@redhat.com>
31469
31470 [BZ #14256]
31471 * manual/errno.texi (ESTALE): Update to account for more than
31472 just NFS file systems.
31473 * sysdeps/gnu/errlist.c: Regenerated.
31474
31475 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31476
31477 [BZ #15465]
31478 * elf/Makefile (tests): Add tst-null-argv.
31479 (modules-names): Add tst-null-argv-lib.
31480 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
31481 (tst-null-argv-ENV): Set environment for tst-null-argv.
31482 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
31483 (RTLD_PROGNAME): New macro.
31484 * elf/tst-null-argv.c: New test case.
31485 * elf/tst-null-argv-lib.c: Library for test case.
31486 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
31487 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
31488 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
31489 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
31490 * elf/dl-init.c (call_init): Likewise.
31491 (_dl_init): Likewise.
31492 * elf/dl-load.c (print_search_path): Likewise.
31493 (_dl_map_object): Likewise.
31494 * elf/dl-lookup.c (do_lookup_x): Likewise.
31495 (add_dependency): Likewise.
31496 (_dl_lookup_symbol_x): Likewise.
31497 (_dl_debug_bindings): Likewise.
31498 * elf/dl-open.c (_dl_show_scope): Likewise.
31499 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
31500 * elf/dl-version.c (match_symbol): Likewise.
31501 (_dl_check_map_versions): Likewise.
31502 * elf/rtld.c (dl_main): Likewise.
31503 (print_unresolved): Use RTLD_PROGNAME.
31504 (print_missing_version): Likewise.
31505 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
31506 (elf_machine_rela): Likewise.
31507 * sysdeps/powerpc/powerpc32/dl-machine.c
31508 (__process_machine_rela): Likewise.
31509 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31510 Likewise.
31511 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31512 Likewise.
31513 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
31514 Likewise.
31515 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31516 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
31517 Likewise.
31518 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
31519 Likewise.
31520 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31521
31522 2013-05-28 Carlos O'Donell <carlos@redhat.com>
31523
31524 * po/be.po: Add descriptive title.
31525 * po/zh_CN.po: Likewise.
31526 * po/header.pot: Likewise.
31527
31528 2013-05-28 Mike Frysinger <vapier@gentoo.org>
31529
31530 * locale/programs/locarchive.c (create_archive): Inlucde fname in
31531 error message.
31532 (enlarge_archive): Likewise.
31533
31534 2013-05-28 Ben North <ben@redfrontdoor.org>
31535
31536 * manual/arith.texi (frexp): It is the magnitude of the return
31537 value which lies in [0.5, 1), not the return value itself.
31538
31539 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31540
31541 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31542
31543 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
31544
31545 * stdio-common/bug26.c (main): Correct fscanf template.
31546
31547 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
31548 declare _dl_skip_args.
31549
31550 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
31551 Don't declare.
31552
31553 * manual/platform.texi: Add missing @end deftypefun.
31554
31555 2013-05-24 Joseph Myers <joseph@codesourcery.com>
31556
31557 [BZ #15529]
31558 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
31559 bit of mantissa of 2^16382.
31560 * math/libm-test.inc (hypot_test_data): Add more tests.
31561
31562 * math/libm-test.inc: Add drem and pow10 to list of tested
31563 functions.
31564 (pow10_test): New function.
31565 (drem_test): Likewise.
31566 (drem_test_tonearest): Likewise.
31567 (drem_test_towardzero): Likewise.
31568 (drem_test_downward): Likewise.
31569 (drem_test_upward): Likewise.
31570 (main): Call the new functions.
31571
31572 * math/libm-test.inc (finite_test_data): Remove.
31573 (finite_test): Run tests from isfinite_test_data.
31574 (gamma_test_data): Remove.
31575 (gamma_test): Run tests from lgamma_test_data.
31576 * sysdeps/i386/fpu/libm-test-ulps: Update.
31577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31578
31579 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31580
31581 * manual/platform.texi: Add PowerPC PPR function set documentation.
31582 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
31583 implementation.
31584
31585 2013-05-24 Carlos O'Donell <carlos@redhat.com>
31586
31587 * math/libm-test.inc (MAX_EXP): Define.
31588 (ULPDIFF): Define.
31589 (ulp): New function.
31590 (check_float_internal): Use ULPDIFF.
31591 (cpow_test): Disable failing test.
31592 (check_ulp): Test ulp() implemetnation.
31593 (main): Call check_ulp before starting tests.
31594
31595 2013-05-24 Joseph Myers <joseph@codesourcery.com>
31596
31597 * math/gen-libm-test.pl (generate_testfile): Do not handle
31598 START_DATA and END_DATA.
31599 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
31600 END_DATA.
31601 (acos_tonearest_test_data): Likewise.
31602 (acos_towardzero_test_data): Likewise.
31603 (acos_downward_test_data): Likewise.
31604 (acos_upward_test_data): Likewise.
31605 (acosh_test_data): Likewise.
31606 (asin_test_data): Likewise.
31607 (asin_tonearest_test_data): Likewise.
31608 (asin_towardzero_test_data): Likewise.
31609 (asin_downward_test_data): Likewise.
31610 (asin_upward_test_data): Likewise.
31611 (asinh_test_data): Likewise.
31612 (atan_test_data): Likewise.
31613 (atanh_test_data): Likewise.
31614 (atan2_test_data): Likewise.
31615 (cabs_test_data): Likewise.
31616 (cacos_test_data): Likewise.
31617 (cacosh_test_data): Likewise.
31618 (carg_test_data): Likewise.
31619 (casin_test_data): Likewise.
31620 (casinh_test_data): Likewise.
31621 (catan_test_data): Likewise.
31622 (catanh_test_data): Likewise.
31623 (cbrt_test_data): Likewise.
31624 (ccos_test_data): Likewise.
31625 (ccosh_test_data): Likewise.
31626 (ceil_test_data): Likewise.
31627 (cexp_test_data): Likewise.
31628 (cimag_test_data): Likewise.
31629 (clog_test_data): Likewise.
31630 (clog10_test_data): Likewise.
31631 (conj_test_data): Likewise.
31632 (copysign_test_data): Likewise.
31633 (cos_test_data): Likewise.
31634 (cos_tonearest_test_data): Likewise.
31635 (cos_towardzero_test_data): Likewise.
31636 (cos_downward_test_data): Likewise.
31637 (cos_upward_test_data): Likewise.
31638 (cosh_test_data): Likewise.
31639 (cosh_tonearest_test_data): Likewise.
31640 (cosh_towardzero_test_data): Likewise.
31641 (cosh_downward_test_data): Likewise.
31642 (cosh_upward_test_data): Likewise.
31643 (cpow_test_data): Likewise.
31644 (cproj_test_data): Likewise.
31645 (creal_test_data): Likewise.
31646 (csin_test_data): Likewise.
31647 (csinh_test_data): Likewise.
31648 (csqrt_test_data): Likewise.
31649 (ctan_test_data): Likewise.
31650 (ctan_tonearest_test_data): Likewise.
31651 (ctan_towardzero_test_data): Likewise.
31652 (ctan_downward_test_data): Likewise.
31653 (ctan_upward_test_data): Likewise.
31654 (ctanh_test_data): Likewise.
31655 (ctanh_tonearest_test_data): Likewise.
31656 (ctanh_towardzero_test_data): Likewise.
31657 (ctanh_downward_test_data): Likewise.
31658 (ctanh_upward_test_data): Likewise.
31659 (erf_test_data): Likewise.
31660 (erfc_test_data): Likewise.
31661 (exp_test_data): Likewise.
31662 (exp_tonearest_test_data): Likewise.
31663 (exp_towardzero_test_data): Likewise.
31664 (exp_downward_test_data): Likewise.
31665 (exp_upward_test_data): Likewise.
31666 (exp10_test_data): Likewise.
31667 (exp2_test_data): Likewise.
31668 (expm1_test_data): Likewise.
31669 (fabs_test_data): Likewise.
31670 (fdim_test_data): Likewise.
31671 (finite_test_data): Likewise.
31672 (floor_test_data): Likewise.
31673 (fma_test_data): Likewise.
31674 (fma_towardzero_test_data): Likewise.
31675 (fma_downward_test_data): Likewise.
31676 (fma_upward_test_data): Likewise.
31677 (fmax_test_data): Likewise.
31678 (fmin_test_data): Likewise.
31679 (fmod_test_data): Likewise.
31680 (fpclassify_test_data): Likewise.
31681 (frexp_test_data): Likewise.
31682 (gamma_test_data): Likewise.
31683 (hypot_test_data): Likewise.
31684 (ilogb_test_data): Likewise.
31685 (isfinite_test_data): Likewise.
31686 (isgreater_test_data): Likewise.
31687 (isgreaterequal_test_data): Likewise.
31688 (isinf_test_data): Likewise.
31689 (isless_test_data): Likewise.
31690 (islessequal_test_data): Likewise.
31691 (islessgreater_test_data): Likewise.
31692 (isnan_test_data): Likewise.
31693 (isnormal_test_data): Likewise.
31694 (issignaling_test_data): Likewise.
31695 (isunordered_test_data): Likewise.
31696 (j0_test_data): Likewise.
31697 (j1_test_data): Likewise.
31698 (jn_test_data): Likewise.
31699 (ldexp_test_data): Likewise.
31700 (lgamma_test_data): Likewise.
31701 (lrint_test_data): Likewise.
31702 (lrint_tonearest_test_data): Likewise.
31703 (lrint_towardzero_test_data): Likewise.
31704 (lrint_downward_test_data): Likewise.
31705 (lrint_upward_test_data): Likewise.
31706 (llrint_test_data): Likewise.
31707 (llrint_tonearest_test_data): Likewise.
31708 (llrint_towardzero_test_data): Likewise.
31709 (llrint_downward_test_data): Likewise.
31710 (llrint_upward_test_data): Likewise.
31711 (log_test_data): Likewise.
31712 (log10_test_data): Likewise.
31713 (log1p_test_data): Likewise.
31714 (log2_test_data): Likewise.
31715 (logb_test_data): Likewise.
31716 (logb_downward_test_data): Likewise.
31717 (lround_test_data): Likewise.
31718 (llround_test_data): Likewise.
31719 (modf_test_data): Likewise.
31720 (nearbyint_test_data): Likewise.
31721 (nextafter_test_data): Likewise.
31722 (nexttoward_test_data): Likewise.
31723 (pow_test_data): Likewise.
31724 (pow_tonearest_test_data): Likewise.
31725 (pow_towardzero_test_data): Likewise.
31726 (pow_downward_test_data): Likewise.
31727 (pow_upward_test_data): Likewise.
31728 (remainder_test_data): Likewise.
31729 (remainder_tonearest_test_data): Likewise.
31730 (remainder_towardzero_test_data): Likewise.
31731 (remainder_downward_test_data): Likewise.
31732 (remainder_upward_test_data): Likewise.
31733 (remquo_test_data): Likewise.
31734 (rint_test_data): Likewise.
31735 (rint_tonearest_test_data): Likewise.
31736 (rint_towardzero_test_data): Likewise.
31737 (rint_downward_test_data): Likewise.
31738 (rint_upward_test_data): Likewise.
31739 (round_test_data): Likewise.
31740 (scalb_test_data): Likewise.
31741 (scalbn_test_data): Likewise.
31742 (scalbln_test_data): Likewise.
31743 (signbit_test_data): Likewise.
31744 (sin_test_data): Likewise.
31745 (sin_tonearest_test_data): Likewise.
31746 (sin_towardzero_test_data): Likewise.
31747 (sin_downward_test_data): Likewise.
31748 (sin_upward_test_data): Likewise.
31749 (sincos_test_data): Likewise.
31750 (sinh_test_data): Likewise.
31751 (sinh_tonearest_test_data): Likewise.
31752 (sinh_towardzero_test_data): Likewise.
31753 (sinh_downward_test_data): Likewise.
31754 (sinh_upward_test_data): Likewise.
31755 (sqrt_test_data): Likewise.
31756 (tan_test_data): Likewise.
31757 (tan_tonearest_test_data): Likewise.
31758 (tan_towardzero_test_data): Likewise.
31759 (tan_downward_test_data): Likewise.
31760 (tan_upward_test_data): Likewise.
31761 (tanh_test_data): Likewise.
31762 (tgamma_test_data): Likewise.
31763 (trunc_test_data): Likewise.
31764 (y0_test_data): Likewise.
31765 (y1_test_data): Likewise.
31766 (yn_test_data): Likewise.
31767 (significand_test_data): Likewise.
31768
31769 * math/gen-libm-test.pl (@functions): Remove variable.
31770 (generate_testfile): Don't handle START and END lines.
31771 * math/libm-test.inc (START): New macro.
31772 (END): Likewise.
31773 (END_COMPLEX): Likewise.
31774 (acos_test): Use END macro without arguments.
31775 (acos_test_tonearest): Likewise.
31776 (acos_test_towardzero): Likewise.
31777 (acos_test_downward): Likewise.
31778 (acos_test_upward): Likewise.
31779 (acosh_test): Likewise.
31780 (asin_test): Likewise.
31781 (asin_test_tonearest): Likewise.
31782 (asin_test_towardzero): Likewise.
31783 (asin_test_downward): Likewise.
31784 (asin_test_upward): Likewise.
31785 (asinh_test): Likewise.
31786 (atan_test): Likewise.
31787 (atanh_test): Likewise.
31788 (atan2_test): Likewise.
31789 (cabs_test): Likewise.
31790 (cacos_test): Use END_COMPLEX macro without arguments.
31791 (cacosh_test): Likewise.
31792 (carg_test): Use END macro without arguments.
31793 (casin_test): Use END_COMPLEX macro without arguments.
31794 (casinh_test): Likewise.
31795 (catan_test): Likewise.
31796 (catanh_test): Likewise.
31797 (cbrt_test): Use END macro without arguments.
31798 (ccos_test): Use END_COMPLEX macro without arguments.
31799 (ccosh_test): Likewise.
31800 (ceil_test): Use END macro without arguments.
31801 (cexp_test): Use END_COMPLEX macro without arguments.
31802 (cimag_test): Use END macro without arguments.
31803 (clog_test): Use END_COMPLEX macro without arguments.
31804 (clog10_test): Likewise.
31805 (conj_test): Likewise.
31806 (copysign_test): Use END macro without arguments.
31807 (cos_test): Likewise.
31808 (cos_test_tonearest): Likewise.
31809 (cos_test_towardzero): Likewise.
31810 (cos_test_downward): Likewise.
31811 (cos_test_upward): Likewise.
31812 (cosh_test): Likewise.
31813 (cosh_test_tonearest): Likewise.
31814 (cosh_test_towardzero): Likewise.
31815 (cosh_test_downward): Likewise.
31816 (cosh_test_upward): Likewise.
31817 (cpow_test): Use END_COMPLEX macro without arguments.
31818 (cproj_test): Likewise.
31819 (creal_test): Use END macro without arguments.
31820 (csin_test): Use END_COMPLEX macro without arguments.
31821 (csinh_test): Likewise.
31822 (csqrt_test): Likewise.
31823 (ctan_test): Likewise.
31824 (ctan_test_tonearest): Likewise.
31825 (ctan_test_towardzero): Likewise.
31826 (ctan_test_downward): Likewise.
31827 (ctan_test_upward): Likewise.
31828 (ctanh_test): Likewise.
31829 (ctanh_test_tonearest): Likewise.
31830 (ctanh_test_towardzero): Likewise.
31831 (ctanh_test_downward): Likewise.
31832 (ctanh_test_upward): Likewise.
31833 (erf_test): Use END macro without arguments.
31834 (erfc_test): Likewise.
31835 (exp_test): Likewise.
31836 (exp_test_tonearest): Likewise.
31837 (exp_test_towardzero): Likewise.
31838 (exp_test_downward): Likewise.
31839 (exp_test_upward): Likewise.
31840 (exp10_test): Likewise.
31841 (exp2_test): Likewise.
31842 (expm1_test): Likewise.
31843 (fabs_test): Likewise.
31844 (fdim_test): Likewise.
31845 (finite_test): Likewise.
31846 (floor_test): Likewise.
31847 (fma_test): Likewise.
31848 (fma_test_towardzero): Likewise.
31849 (fma_test_downward): Likewise.
31850 (fma_test_upward): Likewise.
31851 (fmax_test): Likewise.
31852 (fmin_test): Likewise.
31853 (fmod_test): Likewise.
31854 (fpclassify_test): Likewise.
31855 (frexp_test): Likewise.
31856 (gamma_test): Likewise.
31857 (hypot_test): Likewise.
31858 (ilogb_test): Likewise.
31859 (isfinite_test): Likewise.
31860 (isgreater_test): Likewise.
31861 (isgreaterequal_test): Likewise.
31862 (isinf_test): Likewise.
31863 (isless_test): Likewise.
31864 (islessequal_test): Likewise.
31865 (islessgreater_test): Likewise.
31866 (isnan_test): Likewise.
31867 (isnormal_test): Likewise.
31868 (issignaling_test): Likewise.
31869 (isunordered_test): Likewise.
31870 (j0_test): Likewise.
31871 (j1_test): Likewise.
31872 (jn_test): Likewise.
31873 (ldexp_test): Likewise.
31874 (lgamma_test): Likewise.
31875 (lrint_test): Likewise.
31876 (lrint_test_tonearest): Likewise.
31877 (lrint_test_towardzero): Likewise.
31878 (lrint_test_downward): Likewise.
31879 (lrint_test_upward): Likewise.
31880 (llrint_test): Likewise.
31881 (llrint_test_tonearest): Likewise.
31882 (llrint_test_towardzero): Likewise.
31883 (llrint_test_downward): Likewise.
31884 (llrint_test_upward): Likewise.
31885 (log_test): Likewise.
31886 (log10_test): Likewise.
31887 (log1p_test): Likewise.
31888 (log2_test): Likewise.
31889 (logb_test): Likewise.
31890 (logb_test_downward): Likewise.
31891 (lround_test): Likewise.
31892 (llround_test): Likewise.
31893 (modf_test): Likewise.
31894 (nearbyint_test): Likewise.
31895 (nextafter_test): Likewise.
31896 (nexttoward_test): Likewise.
31897 (pow_test): Likewise.
31898 (pow_test_tonearest): Likewise.
31899 (pow_test_towardzero): Likewise.
31900 (pow_test_downward): Likewise.
31901 (pow_test_upward): Likewise.
31902 (remainder_test): Likewise.
31903 (remainder_test_tonearest): Likewise.
31904 (remainder_test_towardzero): Likewise.
31905 (remainder_test_downward): Likewise.
31906 (remainder_test_upward): Likewise.
31907 (remquo_test): Likewise.
31908 (rint_test): Likewise.
31909 (rint_test_tonearest): Likewise.
31910 (rint_test_towardzero): Likewise.
31911 (rint_test_downward): Likewise.
31912 (rint_test_upward): Likewise.
31913 (round_test): Likewise.
31914 (scalb_test): Likewise.
31915 (scalbn_test): Likewise.
31916 (scalbln_test): Likewise.
31917 (signbit_test): Likewise.
31918 (sin_test): Likewise.
31919 (sin_test_tonearest): Likewise.
31920 (sin_test_towardzero): Likewise.
31921 (sin_test_downward): Likewise.
31922 (sin_test_upward): Likewise.
31923 (sincos_test): Likewise.
31924 (sinh_test): Likewise.
31925 (sinh_test_tonearest): Likewise.
31926 (sinh_test_towardzero): Likewise.
31927 (sinh_test_downward): Likewise.
31928 (sinh_test_upward): Likewise.
31929 (sqrt_test): Likewise.
31930 (tan_test): Likewise.
31931 (tan_test_tonearest): Likewise.
31932 (tan_test_towardzero): Likewise.
31933 (tan_test_downward): Likewise.
31934 (tan_test_upward): Likewise.
31935 (tanh_test): Likewise.
31936 (tgamma_test): Likewise.
31937 (trunc_test): Likewise.
31938 (y0_test): Likewise.
31939 (y1_test): Likewise.
31940 (yn_test): Likewise.
31941 (significand_test): Likewise.
31942
31943 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
31944
31945 [BZ #15381]
31946 * libio/genops.c (_IO_no_init): Initialize wide struct info.
31947
31948 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
31949
31950 [BZ #14894]
31951 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
31952 __ppc_mdoio and __ppc_mdoom.
31953 * manual/platform.texi: Document new functions __ppc_yield,
31954 __ppc_mdoio and __ppc_mdoom.
31955
31956 2013-05-22 Carlos O'Donell <carlos@redhat.com>
31957
31958 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
31959 (main): Mention "tls" pseudo-hwcap is legacy.
31960 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
31961
31962 2013-05-22 Joseph Myers <joseph@codesourcery.com>
31963
31964 * math/gen-libm-test.pl (parse_args): Output only string of
31965 arguments as text for test name, not full call or descriptions of
31966 tests for extra outputs.
31967 (generate_testfile): Do not pass function name to parse_args.
31968 Generate this_func variable from START.
31969 * math/libm-test.inc (struct test_f_f_data): Rename test_name
31970 field to arg_str.
31971 (struct test_ff_f_data): Likewise.
31972 (test_ff_f_data_nexttoward): Likewise.
31973 (struct test_fi_f_data): Likewise.
31974 (struct test_fl_f_data): Likewise.
31975 (struct test_if_f_data): Likewise.
31976 (struct test_fff_f_data): Likewise.
31977 (struct test_c_f_data): Likewise.
31978 (struct test_f_f1_data): Likewise. Remove field extra_name.
31979 (struct test_fF_f1_data): Likewise.
31980 (struct test_ffI_f1_data): Likewise.
31981 (struct test_c_c_data): Rename test_name field to arg_str.
31982 (struct test_cc_c_data): Likewise.
31983 (struct test_f_i_data): Likewise.
31984 (struct test_ff_i_data): Likewise.
31985 (struct test_f_l_data): Likewise.
31986 (struct test_f_L_data): Likewise.
31987 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
31988 and extra2_name.
31989 (COMMON_TEST_SETUP): New macro.
31990 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
31991 (COMMON_TEST_CLEANUP): Likewise.
31992 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
31993 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
31994 macros.
31995 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
31996 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
31997 macros.
31998 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
31999 (RUN_TEST_fff_f): Take argument string. Call new setup and
32000 cleanup macros.
32001 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
32002 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
32003 macros.
32004 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
32005 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
32006 macros.
32007 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32008 (RUN_TEST_fF_f1): Take argument string. Call new setup and
32009 cleanup macros.
32010 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32011 (RUN_TEST_fI_f1): Take argument string. Call new setup and
32012 cleanup macros.
32013 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32014 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
32015 cleanup macros.
32016 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32017 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
32018 macros.
32019 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
32020 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
32021 macros.
32022 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
32023 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
32024 macros.
32025 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
32026 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
32027 cleanup macros.
32028 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
32029 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
32030 cleanup macros.
32031 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
32032 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
32033 macros.
32034 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
32035 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
32036 cleanup macros.
32037 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
32038 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
32039 macros.
32040 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
32041 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
32042 macros.
32043 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
32044 (RUN_TEST_fFF_11): Take argument string. Call new setup and
32045 cleanup macros.
32046 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
32047
32048 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
32049
32050 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
32051 to _sifields.sigfault.
32052 (si_addr_lsb): Define new macro.
32053 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32054 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32055 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
32056
32057 2013-05-03 Carlos O'Donell <carlos at redhat.com>
32058
32059 [BZ #15441]
32060 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
32061 returns -1.
32062 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
32063 null return -1.
32064 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
32065 loading the domain.
32066
32067 2013-05-22 Joseph Myers <joseph@codesourcery.com>
32068
32069 * math/gen-libm-test.pl (parse_args): Do not include expected
32070 result in test name.
32071 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
32072 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32073 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32074 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32075 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32077
32078 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32079
32080 * benchtests/Makefile: Sort function entries.
32081
32082 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
32083 tanh, asinh, acosh, atanh.
32084 * benchtests/acos-inputs: New file.
32085 * benchtests/acosh-inputs: New file.
32086 * benchtests/asin-inputs: New file.
32087 * benchtests/asinh-inputs: New file.
32088 * benchtests/atanh-inputs: New file.
32089 * benchtests/cosh-inputs: New file.
32090 * benchtests/log-inputs: New file.
32091 * benchtests/sinh-inputs: New file.
32092 * benchtests/tanh-inputs: New file.
32093
32094 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
32095
32096 [BZ #15339]
32097 * posix/tst-getaddrinfo4.c: New test.
32098 * posix/Makefile (tests): Add it.
32099
32100 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32101
32102 [BZ #15339]
32103 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
32104 when no services were used.
32105 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
32106 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
32107
32108 2013-05-21 Andreas Schwab <schwab@suse.de>
32109
32110 [BZ #15014]
32111 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
32112 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
32113 successful.
32114 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
32115 redundant variable declarations and reallocation of buffer when
32116 parsing as IPv6 address. Always set NSS status when called from
32117 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
32118 buffer too small. Correct computation of needed size.
32119 * nss/Makefile (tests): Add test-digits-dots.
32120 * nss/test-digits-dots.c: New test.
32121
32122 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32123
32124 * benchtests/Makefile: Remove instructions for adding
32125 benchmark tests.
32126 * benchtests/README: New file to explain how to execute and
32127 enhance the benchmark tests.
32128
32129 2013-05-21 Andreas Schwab <schwab@suse.de>
32130
32131 [BZ #15493]
32132 * setjmp/Makefile (tests): Add tst-sigsetjmp.
32133 * setjmp/tst-sigsetjmp.c: New test.
32134
32135 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
32136
32137 * sysdeps/x86_64/memset.S (memset): New implementation.
32138 (__bzero): Likewise.
32139 (__memset_tail): New function.
32140
32141 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
32142
32143 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
32144 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
32145 __memcpy_sse2_unaligned ifunc selection.
32146 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32147 Add memcpy-sse2-unaligned.S.
32148 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32149 Add: __memcpy_sse2_unaligned.
32150
32151 2013-05-19 Joseph Myers <joseph@codesourcery.com>
32152
32153 [BZ #15490]
32154 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32155 math_force_eval before restoring floating-point envrionment.
32156 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
32157 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32158 Likewise.
32159 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
32160 <math_private.h>.
32161 (__nearbyintl): Use math_force_eval before restoring
32162 floating-point environment.
32163 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
32164
32165 * math/gen-libm-test.pl (special_functions): Remove.
32166 (parse_args): Don't handle TEST_extra. Handle functions with no
32167 return value.
32168 * math/libm-test.inc (struct test_sincos_data): Replace with
32169 struct test_fFF_11_data.
32170 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
32171 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
32172 (sincos_test_data): Change element type to struct
32173 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
32174 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
32175 RUN_TEST_LOOP_sincos.
32176 * math/README.libm-test: Don't mention special handling of
32177 individual functions.
32178 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
32179 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32180 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32181 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32182 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32184
32185 * math/gen-libm-test.pl (get_variable): Remove function.
32186 (parse_args): Don't show pointer parameters to call in test
32187 names. Use "extra output N" in test names for extra outputs
32188 rather than naming variables.
32189
32190 2013-05-18 Joseph Myers <joseph@codesourcery.com>
32191
32192 [BZ #15488]
32193 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
32194 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
32195 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
32196 double tests.
32197 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
32198 disable.
32199 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
32200 check_long_double.
32201
32202 * math/gen-libm-test.pl (@tests): Remove variable.
32203 ($count): Likewise.
32204 (new_test): Remove function.
32205 (show_exceptions): New function.
32206 (special_functions): Use show_exceptions instead of new_test.
32207 (parse_args): Likewise.
32208 (generate_testfile): Pass only function name in generated call to
32209 print_max_error or print_complex_max_error.
32210 (get_ulps): Do not handle complex tests specially.
32211 (output_test): Rename to ...
32212 (get_all_ulps_for_test): ... this. Return a string rather than
32213 printing to a file. Require ulps to be present.
32214 (output_ulps): Generate arrays rather than #defines.
32215 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
32216 (struct ulp_data): New type.
32217 (BUILD_COMPLEX_ULP): Remove macro.
32218 (compare_ulp_data): New function.
32219 (find_ulps): Likewise.
32220 (find_test_ulps): Likewise.
32221 (find_function_ulps): Likewise.
32222 (find_complex_function_ulps): Likewise.
32223 (print_max_error): Determine allowed ulps using
32224 find_function_ulps.
32225 (print_complex_max_error): Determine allowed ulps using
32226 find_complex_function_ulps.
32227 (check_float_internal): Determine max ulps using find_test_ulps.
32228 (check_float): Do not take max_ulp parameter. Update call to
32229 check_float_internal.
32230 (check_complex): Likewise.
32231 (check_int): Do not take max_ulp parameter.
32232 (check_long): Likewise.
32233 (check_bool): Likewise.
32234 (check_longlong): Likewise.
32235 (struct test_f_f_data): Remove max_ulp field.
32236 (struct test_ff_f_data): Likewise.
32237 (struct test_ff_f_data_nexttoward): Likewise.
32238 (struct test_fi_f_data): Likewise.
32239 (struct test_fl_f_data): Likewise.
32240 (struct test_if_f_data): Likewise.
32241 (struct test_fff_f_data): Likewise.
32242 (struct test_c_f_data): Likewise.
32243 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
32244 (struct test_fF_f1_data): Likewise.
32245 (struct test_ffI_f1_data): Likewise.
32246 (struct test_c_c_data): Remove max_ulp field.
32247 (struct test_cc_c_data): Likewise.
32248 (struct test_f_i_data): Likewise.
32249 (struct test_ff_i_data): Likewise.
32250 (struct test_f_l_data): Likewise.
32251 (struct test_f_L_data): Likewise.
32252 (struct test_sincos_data): Likewise.
32253 (RUN_TEST_f_f): Do not handle ulps.
32254 (RUN_TEST_LOOP_f_f): Likewise.
32255 (RUN_TEST_2_f): Likewise.
32256 (RUN_TEST_LOOP_2_f): Likewise.
32257 (RUN_TEST_fff_f): Likewise.
32258 (RUN_TEST_LOOP_fff_f): Likewise.
32259 (RUN_TEST_c_f): Likewise.
32260 (RUN_TEST_LOOP_c_f): Likewise.
32261 (RUN_TEST_f_f1): Likewise.
32262 (RUN_TEST_LOOP_f_f1): Likewise.
32263 (RUN_TEST_fF_f1): Likewise.
32264 (RUN_TEST_LOOP_fF_f1): Likewise.
32265 (RUN_TEST_fI_f1): Likewise.
32266 (RUN_TEST_LOOP_fI_f1): Likewise.
32267 (RUN_TEST_ffI_f1): Likewise.
32268 (RUN_TEST_LOOP_ffI_f1): Likewise.
32269 (RUN_TEST_c_c): Likewise.
32270 (RUN_TEST_LOOP_c_c): Likewise.
32271 (RUN_TEST_cc_c): Likewise.
32272 (RUN_TEST_LOOP_cc_c): Likewise.
32273 (RUN_TEST_f_i): Likewise.
32274 (RUN_TEST_LOOP_f_i): Likewise.
32275 (RUN_TEST_f_i_tg): Likewise.
32276 (RUN_TEST_LOOP_f_i_tg): Likewise.
32277 (RUN_TEST_ff_i_tg): Likewise.
32278 (RUN_TEST_LOOP_ff_i_tg): Likewise.
32279 (RUN_TEST_f_b): Likewise.
32280 (RUN_TEST_LOOP_f_b): Likewise.
32281 (RUN_TEST_f_b_tg): Likewise.
32282 (RUN_TEST_LOOP_f_b_tg): Likewise.
32283 (RUN_TEST_f_l): Likewise.
32284 (RUN_TEST_LOOP_f_l): Likewise.
32285 (RUN_TEST_f_L): Likewise.
32286 (RUN_TEST_LOOP_f_L): Likewise.
32287 (RUN_TEST_sincos): Likewise.
32288 (RUN_TEST_LOOP_sincos): Likewise.
32289
32290 2013-05-17 Joseph Myers <joseph@codesourcery.com>
32291
32292 [BZ #15480]
32293 [BZ #15485]
32294 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
32295 main case of finite arguments, set rounding mode to FE_TONEAREST
32296 and discard exceptions.
32297 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
32298 exceptions.
32299 (remainder_tonearest_test_data): New variable.
32300 (remainder_test_tonearest): New function.
32301 (remainder_towardzero_test_data): New variable.
32302 (remainder_test_towardzero): New function.
32303 (remainder_downward_test_data): New variable.
32304 (remainder_test_downward): New function.
32305 (remainder_upward_test_data): New variable.
32306 (remainder_test_upward): New function.
32307 (main): Call the new test functions.
32308
32309 * math/libm-test.inc (struct test_f_f1_data): Remove field
32310 extra_init.
32311 (struct test_fF_f1_data): Likewise.
32312 (struct test_ffI_f1_data): Likewise.
32313 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
32314 based on value of EXTRA_EXPECTED.
32315 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32316 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
32317 EXTRA_VAR based on value of EXTRA_EXPECTED.
32318 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32319 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
32320 EXTRA_VAR based on value of EXTRA_EXPECTED.
32321 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32322 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
32323 EXTRA_VAR based on value of EXTRA_EXPECTED.
32324 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32325 * math/gen-libm-test.pl (parse_args): Don't output initializers
32326 for extra output values.
32327
32328 * math/libm-test.inc (check_int): Expect result to be exactly
32329 equal to expected value and do not handle ulps.
32330 (check_long): Likewise.
32331 (check_longlong): Likewise.
32332
32333 * math/libm-test.inc (ceil_test_data): Test for "inexact"
32334 exceptions.
32335 (cimag_test_data): Likewise.
32336 (conj_test_data): Likewise.
32337 (copysign_test_data): Likewise.
32338 (cproj_test_data): Likewise.
32339 (creal_test_data): Likewise.
32340 (fabs_test_data): Likewise.
32341 (fdim_test_data): Likewise.
32342 (finite_test_data): Likewise.
32343 (floor_test_data): Likewise.
32344 (fmax_test_data): Likewise.
32345 (fmin_test_data): Likewise.
32346 (fmod_test_data): Likewise.
32347 (fpclassify_test_data): Likewise.
32348 (frexp_test_data): Likewise.
32349 (ilogb_test_data): Likewise.
32350 (isfinite_test_data): Likewise.
32351 (isgreater_test_data): Likewise.
32352 (isgreaterequal_test_data): Likewise.
32353 (isinf_test_data): Likewise.
32354 (isless_test_data): Likewise.
32355 (islessequal_test_data): Likewise.
32356 (islessgreater_test_data): Likewise.
32357 (isnan_test_data): Likewise.
32358 (isnormal_test_data): Likewise.
32359 (issignaling_test_data): Likewise.
32360 (isunordered_test_data): Likewise.
32361 (ldexp_test_data): Likewise.
32362 (lrint_test_data): Likewise.
32363 (lrint_test_data) [TEST_FLOAT]: Disable one test.
32364 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
32365 (lrint_tonearest_test_data): Test for "inexact" exceptions.
32366 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32367 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
32368 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32369 test input.
32370 (lrint_towardzero_test_data): Test for "inexact" exceptions.
32371 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32372 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
32373 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
32374 that test input.
32375 (lrint_downward_test_data): Test for "inexact" exceptions.
32376 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32377 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
32378 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32379 test input.
32380 (lrint_upward_test_data): Test for "inexact" exceptions.
32381 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
32382 test input.
32383 (llrint_test_data): Test for "inexact" exceptions.
32384 (llrint_test_data) [TEST_FLOAT]: Disable one test.
32385 (llrint_tonearest_test_data): Test for "inexact" exceptions.
32386 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32387 (llrint_towardzero_test_data): Test for "inexact" exceptions.
32388 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32389 (llrint_downward_test_data): Test for "inexact" exceptions.
32390 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32391 (llrint_upward_test_data): Test for "inexact" exceptions.
32392 (logb_test_data): Likewise.
32393 (logb_downward_test_data): Likewise.
32394 (nextafter_test_data): Likewise.
32395 (nexttoward_test_data): Likewise.
32396 (remainder_test_data): Likewise.
32397 (remquo_test_data): Likewise.
32398 (scalbn_test_data): Likewise.
32399 (scalbln_test_data): Likewise.
32400 (signbit_test_data): Likewise.
32401 (sqrt_test_data): Likewise.
32402 (significand_test_data): Likewise.
32403
32404 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32405
32406 [BZ #15424]
32407 * benchtests/bench-modf.c (struct args): Mark arg0 as
32408 volatile.
32409 * scripts/bench.pl: Mark members of struct args as volatile.
32410
32411 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32412
32413 [BZ # 15497]
32414 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
32415 negative infinity on POWER6 or lower.
32416 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
32417
32418 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
32419
32420 [BZ #15442]
32421 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
32422 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
32423 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
32424 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
32425 (_FP_SETQNAN): New macro.
32426 (_FP_SETQNAN_SEMIRAW): Likewise.
32427 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
32428 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
32429 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
32430 (FP_EXTEND): Use _FP_FRAC_SNANP.
32431 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
32432 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
32433 into account.
32434 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32435 New macro.
32436 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32437 Likewise.
32438
32439 2013-05-16 Joseph Myers <joseph@codesourcery.com>
32440
32441 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
32442 with DIVIDE_BY_ZERO_EXCEPTION.
32443 (gamma_test_data): Likewise.
32444 (lgamma_test_data): Likewise.
32445 (log_test_data): Likewise.
32446 (log10_test_data): Likewise.
32447 (log2_test_data): Likewise.
32448 (tgamma_test_data): Likewise.
32449
32450 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
32451 (acos_test_tonearest): Likewise.
32452 (acos_test_towardzero): Likewise.
32453 (acos_test_downward): Likewise.
32454 (acos_test_upward): Likewise.
32455 (acosh_test): Likewise.
32456 (asin_test): Likewise.
32457 (asin_test_tonearest): Likewise.
32458 (asin_test_towardzero): Likewise.
32459 (asin_test_downward): Likewise.
32460 (asin_test_upward): Likewise.
32461 (asinh_test): Likewise.
32462 (atan_test): Likewise.
32463 (atanh_test): Likewise.
32464 (atan2_test): Likewise.
32465 (cabs_test): Likewise.
32466 (cacos_test): Likewise.
32467 (cacosh_test): Likewise.
32468 (casin_test): Likewise.
32469 (casinh_test): Likewise.
32470 (catan_test): Likewise.
32471 (catanh_test): Likewise.
32472 (cbrt_test): Likewise.
32473 (ccos_test): Likewise.
32474 (ccosh_test): Likewise.
32475 (cexp_test): Likewise.
32476 (clog_test): Likewise.
32477 (clog10_test): Likewise.
32478 (cos_test): Likewise.
32479 (cos_test_tonearest): Likewise.
32480 (cos_test_towardzero): Likewise.
32481 (cos_test_downward): Likewise.
32482 (cos_test_upward): Likewise.
32483 (cosh_test): Likewise.
32484 (cosh_test_tonearest): Likewise.
32485 (cosh_test_towardzero): Likewise.
32486 (cosh_test_downward): Likewise.
32487 (cosh_test_upward): Likewise.
32488 (cpow_test): Likewise.
32489 (csin_test): Likewise.
32490 (csinh_test): Likewise.
32491 (csqrt_test): Likewise.
32492 (ctan_test): Likewise.
32493 (ctan_test_tonearest): Likewise.
32494 (ctan_test_towardzero): Likewise.
32495 (ctan_test_downward): Likewise.
32496 (ctan_test_upward): Likewise.
32497 (ctanh_test): Likewise.
32498 (ctanh_test_tonearest): Likewise.
32499 (ctanh_test_towardzero): Likewise.
32500 (ctanh_test_downward): Likewise.
32501 (ctanh_test_upward): Likewise.
32502 (erf_test): Likewise.
32503 (erfc_test): Likewise.
32504 (exp_test): Likewise.
32505 (exp_test_tonearest): Likewise.
32506 (exp_test_towardzero): Likewise.
32507 (exp_test_downward): Likewise.
32508 (exp_test_upward): Likewise.
32509 (exp10_test): Likewise.
32510 (exp2_test): Likewise.
32511 (expm1_test): Likewise.
32512 (fmod_test): Likewise.
32513 (gamma_test): Likewise.
32514 (hypot_test): Likewise.
32515 (j0_test): Likewise.
32516 (j1_test): Likewise.
32517 (jn_test): Likewise.
32518 (lgamma_test): Likewise.
32519 (log_test): Likewise.
32520 (log10_test): Likewise.
32521 (log1p_test): Likewise.
32522 (log2_test): Likewise.
32523 (logb_test_downward): Likewise.
32524 (pow_test): Likewise.
32525 (pow_test_tonearest): Likewise.
32526 (pow_test_towardzero): Likewise.
32527 (pow_test_downward): Likewise.
32528 (pow_test_upward): Likewise.
32529 (remainder_test): Likewise.
32530 (remquo_test): Likewise.
32531 (sin_test): Likewise.
32532 (sin_test_tonearest): Likewise.
32533 (sin_test_towardzero): Likewise.
32534 (sin_test_downward): Likewise.
32535 (sin_test_upward): Likewise.
32536 (sincos_test): Likewise.
32537 (sinh_test): Likewise.
32538 (sinh_test_tonearest): Likewise.
32539 (sinh_test_towardzero): Likewise.
32540 (sinh_test_downward): Likewise.
32541 (sinh_test_upward): Likewise.
32542 (sqrt_test): Likewise.
32543 (tan_test): Likewise.
32544 (tan_test_tonearest): Likewise.
32545 (tan_test_towardzero): Likewise.
32546 (tan_test_downward): Likewise.
32547 (tan_test_upward): Likewise.
32548 (tanh_test): Likewise.
32549 (tgamma_test): Likewise.
32550 (y0_test): Likewise.
32551 (y1_test): Likewise.
32552 (yn_test): Likewise.
32553
32554 * math/gen-libm-test.pl (adjust_arg): Remove function.
32555 (special_function): Remove argument $in_func. Only handle
32556 generating output for tables of tests, not inside functions.
32557 (parse_args): Likewise.
32558 (generate_testfile): Remove variable $in_func. Update call to
32559 parse_args.
32560 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
32561 (MINUS_ZERO_INIT): Rename macro to minus_zero.
32562 (PLUS_INFTY_INIT): Rename macro to plus_infty.
32563 (MINUS_INFTY_INIT): Rename macro to minus_infty.
32564 (QNAN_VALUE_INIT): Rename macro to qnan_value.
32565 (MAX_VALUE_INIT): Rename macro to max_value.
32566 (MIN_VALUE_INIT): Rename macro to min_value.
32567 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
32568 (plus_zero): Remove variable.
32569 (minus_zero): Likewise.
32570 (plus_infty): Likewise.
32571 (minus_infty): Likewise.
32572 (qnan_value): Likewise.
32573 (max_value): Likewise.
32574 (min_value): Likewise.
32575 (min_subnorm_value): Likewise.
32576
32577 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32578
32579 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
32580 uint64_t or uint32_t usage.
32581 * crypt/sha256-block.c: Likewise.
32582 * crypt/sha256-crypt.c: Likewise.
32583 * crypt/sha256.c: Likewise.
32584 * crypt/sha512-block.c: Likewise.
32585 * crypt/sha512-crypt.c: Likewise.
32586 * crypt/sha512.c: Likewise.
32587 * debug/backtrace-tst.c: Likewise.
32588 * debug/pcprofiledump.c: Likewise.
32589 * elf/cache.c: Likewise.
32590 * elf/dl-cache.c: Likewise.
32591 * elf/dl-misc.c: Likewise.
32592 * elf/dl-profile.c: Likewise.
32593 * elf/dl-support.c: Likewise.
32594 * elf/ldconfig.c: Likewise.
32595 * elf/sprof.c: Likewise.
32596 * iconv/dummy-repertoire.c: Likewise.
32597 * iconv/iconv_charmap.c: Likewise.
32598 * iconv/skeleton.c: Likewise.
32599 * iconvdata/8bit-generic.c: Likewise.
32600 * iconvdata/cp737.h: Likewise.
32601 * iconvdata/cp775.h: Likewise.
32602 * iconvdata/ibm1008.h: Likewise.
32603 * iconvdata/ibm1025.h: Likewise.
32604 * iconvdata/ibm1046.h: Likewise.
32605 * iconvdata/ibm1097.h: Likewise.
32606 * iconvdata/ibm1112.h: Likewise.
32607 * iconvdata/ibm1122.h: Likewise.
32608 * iconvdata/ibm1123.h: Likewise.
32609 * iconvdata/ibm1124.h: Likewise.
32610 * iconvdata/ibm1129.h: Likewise.
32611 * iconvdata/ibm1130.h: Likewise.
32612 * iconvdata/ibm1132.h: Likewise.
32613 * iconvdata/ibm1133.h: Likewise.
32614 * iconvdata/ibm1137.h: Likewise.
32615 * iconvdata/ibm1140.h: Likewise.
32616 * iconvdata/ibm1141.h: Likewise.
32617 * iconvdata/ibm1142.h: Likewise.
32618 * iconvdata/ibm1143.h: Likewise.
32619 * iconvdata/ibm1144.h: Likewise.
32620 * iconvdata/ibm1145.h: Likewise.
32621 * iconvdata/ibm1146.h: Likewise.
32622 * iconvdata/ibm1147.h: Likewise.
32623 * iconvdata/ibm1148.h: Likewise.
32624 * iconvdata/ibm1149.h: Likewise.
32625 * iconvdata/ibm1153.h: Likewise.
32626 * iconvdata/ibm1154.h: Likewise.
32627 * iconvdata/ibm1155.h: Likewise.
32628 * iconvdata/ibm1156.h: Likewise.
32629 * iconvdata/ibm1157.h: Likewise.
32630 * iconvdata/ibm1158.h: Likewise.
32631 * iconvdata/ibm1160.h: Likewise.
32632 * iconvdata/ibm1161.h: Likewise.
32633 * iconvdata/ibm1162.h: Likewise.
32634 * iconvdata/ibm1163.h: Likewise.
32635 * iconvdata/ibm1164.h: Likewise.
32636 * iconvdata/ibm1166.h: Likewise.
32637 * iconvdata/ibm1167.h: Likewise.
32638 * iconvdata/ibm12712.h: Likewise.
32639 * iconvdata/ibm1390.h: Likewise.
32640 * iconvdata/ibm1399.h: Likewise.
32641 * iconvdata/ibm16804.h: Likewise.
32642 * iconvdata/ibm4517.h: Likewise.
32643 * iconvdata/ibm4899.h: Likewise.
32644 * iconvdata/ibm4909.h: Likewise.
32645 * iconvdata/ibm4971.h: Likewise.
32646 * iconvdata/ibm5347.h: Likewise.
32647 * iconvdata/ibm803.h: Likewise.
32648 * iconvdata/ibm856.h: Likewise.
32649 * iconvdata/ibm901.h: Likewise.
32650 * iconvdata/ibm902.h: Likewise.
32651 * iconvdata/ibm9030.h: Likewise.
32652 * iconvdata/ibm9066.h: Likewise.
32653 * iconvdata/ibm921.h: Likewise.
32654 * iconvdata/ibm922.h: Likewise.
32655 * iconvdata/ibm9448.h: Likewise.
32656 * iconvdata/isiri-3342.h: Likewise.
32657 * iconvdata/jis0201.h: Likewise.
32658 * include/link.h: Likewise.
32659 * include/netdb.h: Likewise.
32660 * inet/check_native.c: Likewise.
32661 * inet/check_pf.c: Likewise.
32662 * inet/getipv4sourcefilter.c: Likewise.
32663 * inet/getnameinfo.c: Likewise.
32664 * inet/getsourcefilter.c: Likewise.
32665 * inet/htonl.c: Likewise.
32666 * inet/setipv4sourcefilter.c: Likewise.
32667 * inet/setsourcefilter.c: Likewise.
32668 * inet/test-inet6_opt.c: Likewise.
32669 * inet/tst-network.c: Likewise.
32670 * locale/C-collate.c: Likewise.
32671 * locale/C-ctype.c: Likewise.
32672 * locale/C-time.c: Likewise.
32673 * locale/C-translit.h: Likewise.
32674 * locale/loadarchive.c: Likewise.
32675 * locale/programs/3level.h: Likewise.
32676 * locale/programs/charmap.c: Likewise.
32677 * locale/programs/charmap.h: Likewise.
32678 * locale/programs/ld-address.c: Likewise.
32679 * locale/programs/ld-collate.c: Likewise.
32680 * locale/programs/ld-ctype.c: Likewise.
32681 * locale/programs/ld-identification.c: Likewise.
32682 * locale/programs/ld-measurement.c: Likewise.
32683 * locale/programs/ld-messages.c: Likewise.
32684 * locale/programs/ld-monetary.c: Likewise.
32685 * locale/programs/ld-name.c: Likewise.
32686 * locale/programs/ld-numeric.c: Likewise.
32687 * locale/programs/ld-paper.c: Likewise.
32688 * locale/programs/ld-telephone.c: Likewise.
32689 * locale/programs/ld-time.c: Likewise.
32690 * locale/programs/linereader.c: Likewise.
32691 * locale/programs/locale.c: Likewise.
32692 * locale/programs/locarchive.c: Likewise.
32693 * locale/programs/locfile.h: Likewise.
32694 * locale/programs/repertoire.c: Likewise.
32695 * locale/programs/simple-hash.c: Likewise.
32696 * locale/programs/simple-hash.h: Likewise.
32697 * malloc/memusage.c: Likewise.
32698 * malloc/memusagestat.c: Likewise.
32699 * nis/nis_defaults.c: Likewise.
32700 * nis/nis_hash.c: Likewise.
32701 * nis/nis_print.c: Likewise.
32702 * nis/nis_xdr.c: Likewise.
32703 * nscd/connections.c: Likewise.
32704 * nscd/hstcache.c: Likewise.
32705 * nscd/nscd_gethst_r.c: Likewise.
32706 * nscd/nscd_getserv_r.c: Likewise.
32707 * nscd/nscd_helper.c: Likewise.
32708 * nscd/servicescache.c: Likewise.
32709 * nss/makedb.c: Likewise.
32710 * nss/nss_db/db-XXX.c: Likewise.
32711 * nss/nss_db/db-initgroups.c: Likewise.
32712 * nss/nss_db/db-netgrp.c: Likewise.
32713 * nss/nss_files/files-network.c: Likewise.
32714 * nss/nss_files/files-parse.c: Likewise.
32715 * posix/bug-regex5.c: Likewise.
32716 * posix/fnmatch_loop.c: Likewise.
32717 * posix/regcomp.c: Likewise.
32718 * posix/regexec.c: Likewise.
32719 * posix/tst-rfc3484-2.c: Likewise.
32720 * posix/tst-rfc3484-3.c: Likewise.
32721 * posix/tst-rfc3484.c: Likewise.
32722 * resolv/nss_dns/dns-canon.c: Likewise.
32723 * resolv/nss_dns/dns-network.c: Likewise.
32724 * resolv/res_init.c: Likewise.
32725 * resolv/res_mkquery.c: Likewise.
32726 * resolv/tst-aton.c: Likewise.
32727 * stdlib/cxa_atexit.c: Likewise.
32728 * stdlib/cxa_finalize.c: Likewise.
32729 * stdlib/gen-fpioconst.c: Likewise.
32730 * stdlib/strtol_l.c: Likewise.
32731 * string/tst-endian.c: Likewise.
32732 * sunrpc/auth_des.c: Likewise.
32733 * sunrpc/clnt_udp.c: Likewise.
32734 * sunrpc/rtime.c: Likewise.
32735 * sunrpc/svcauth_des.c: Likewise.
32736 * sunrpc/xdr.c: Likewise.
32737 * sunrpc/xdr_intXX_t.c: Likewise.
32738 * sunrpc/xdr_rec.c: Likewise.
32739 * sysdeps/generic/ldconfig.h: Likewise.
32740 * sysdeps/generic/ldsodefs.h: Likewise.
32741 * sysdeps/generic/memusage.h: Likewise.
32742 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32743 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
32744 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
32745 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32746 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32747 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32748 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32749 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32750 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32751 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32752 * sysdeps/posix/getaddrinfo.c: Likewise.
32753 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32754 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32755 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32756 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32757 * sysdeps/powerpc/test-gettimebase.c: Likewise.
32758 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32759 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
32760 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
32761 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
32762 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
32763 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32764 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32765 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
32766 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
32767 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
32768 * sysdeps/x86_64/dl-tls.h: Likewise.
32769 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
32770 * time/alt_digit.c: Likewise.
32771 * time/era.c: Likewise.
32772 * wcsmbs/tst-c16c32-1.c: Likewise.
32773
32774 2013-05-16 Joseph Myers <joseph@codesourcery.com>
32775
32776 * math/libm-test.inc (struct test_sincos_data): New type.
32777 (RUN_TEST_LOOP_sincos): New macro.
32778 (sincos_test_data): New variable.
32779 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
32780
32781 2013-05-16 Richard Henderson <rth@redhat.com>
32782
32783 * math/atest-exp2.c (LIMB64): New macro.
32784 (CONSTSZ): New macro.
32785 (mp_exp1, mp_exp_m1, mp_log2): New variables.
32786 (hexdig): Move ...
32787 (print_mpn_fp): ... to function scope.
32788 (read_mpn_hex): Remove.
32789 (get_log2): Remove.
32790 (exp2_mpn): Use mp_log2.
32791 (main): Use mp_exp1.
32792
32793 2013-05-16 Joseph Myers <joseph@codesourcery.com>
32794
32795 * math/libm-test.inc: Remove comment about not testing "inexact"
32796 exceptions.
32797 (INEXACT_EXCEPTION): New macro.
32798 (NO_INEXACT_EXCEPTION): Likewise.
32799 (INVALID_EXCEPTION_OK): Update value.
32800 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32801 (OVERFLOW_EXCEPTION_OK): Likewise.
32802 (UNDERFLOW_EXCEPTION_OK): Likewise.
32803 (IGNORE_ZERO_INF_SIGN): Likewise.
32804 (ERRNO_UNCHANGED): Likewise.
32805 (ERRNO_EDOM): Likewise.
32806 (ERRNO_ERANGE): Likewise.
32807 (test_exceptions): Handle testing "inexact" exceptions.
32808 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
32809 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
32810 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
32811 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
32812 INEXACT_EXCEPTION.
32813 (rint_towardzero_test_data): Likewise.
32814 (rint_downward_test_data): Likewise.
32815 (rint_upward_test_data): Likewise.
32816
32817 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
32818 with OVERFLOW_EXCEPTION.
32819 (exp10_test_data): Likewise.
32820 (exp2_test_data): Likewise.
32821 (expm1_test_data): Likewise.
32822 (lgamma_test_data): Likewise.
32823 (pow_test_data): Likewise.
32824 (tgamma_test_data): Likewise.
32825 (yn_test_data): Remove duplicate test of overflow.
32826
32827 * math/libm-test.inc (struct test_cc_c_data): New type.
32828 (RUN_TEST_LOOP_cc_c): New macro.
32829 (cpow_test_data): New variable.
32830 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
32831
32832 * math/libm-test.inc (struct test_f_L_data): New type.
32833 (RUN_TEST_LOOP_f_L): New macro.
32834 (llrint_test_data): New variable.
32835 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
32836 (llrint_tonearest_test_data): New variable.
32837 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
32838 (llrint_towardzero_test_data): New variable.
32839 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
32840 (llrint_downward_test_data): New variable.
32841 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
32842 (llrint_upward_test_data): New variable.
32843 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
32844 (llround_test_data): New variable.
32845 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
32846
32847 2013-05-13 Peter Collingbourne <pcc@google.com>
32848
32849 * math/atest-exp2.c (get_log2): Remove const attribute.
32850
32851 2013-05-15 Joseph Myers <joseph@codesourcery.com>
32852
32853 * math/libm-test.inc (struct test_f_l_data): New type.
32854 (RUN_TEST_LOOP_f_l): New macro.
32855 (lrint_test_data): New variable.
32856 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
32857 (lrint_tonearest_test_data): New variable.
32858 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
32859 (lrint_towardzero_test_data): New variable.
32860 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
32861 (lrint_downward_test_data): New variable.
32862 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
32863 (lrint_upward_test_data): New variable.
32864 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
32865 (lround_test_data): New variable.
32866 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
32867
32868 2013-05-15 Peter Collingbourne <pcc@google.com>
32869
32870 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
32871 (EXTRACT_WORDS64) Use where appropriate.
32872 (INSERT_WORDS64) Likewise.
32873
32874 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
32875 constraints with x constraints.
32876 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
32877
32878 * malloc/obstack.c (_obstack_compat): Add initializer.
32879
32880 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
32881
32882 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
32883 si_trapno and add si_addr_lsb to _sifields.sigfault.
32884 (si_trapno): Remove macro.
32885 (si_addr_lsb): Define new macro.
32886 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32887
32888 2013-05-15 Joseph Myers <joseph@codesourcery.com>
32889
32890 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
32891 instead of TEST_f_l.
32892 (llrint_test_tonearest): Likewise.
32893 (llrint_test_towardzero): Likewise.
32894 (llrint_test_downward): Likewise.
32895 (llrint_test_upward): Likewise.
32896 (llround_test): Likewise.
32897
32898 * math/libm-test.inc (struct test_f_i_data): Add comment.
32899 (RUN_TEST_LOOP_f_b): New macro.
32900 (RUN_TEST_LOOP_f_b_tg): Likewise.
32901 (finite_test_data): New variable.
32902 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
32903 (isfinite_test_data): New variable.
32904 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32905 (isinf_test_data): New variable.
32906 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32907 (isnan_test_data): New variable.
32908 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32909 (isnormal_test_data): New variable.
32910 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32911 (issignaling_test_data): New variable.
32912 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32913 (signbit_test_data): New variable.
32914 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32915
32916 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
32917 with INVALID_EXCEPTION.
32918 (acosh_test_data): Likewise.
32919 (asin_test_data): Likewise.
32920 (atanh_test_data): Likewise.
32921 (fmod_test_data): Likewise.
32922 (log_test_data): Likewise.
32923 (log10_test_data): Likewise.
32924 (log2_test_data): Likewise.
32925 (pow_test_data): Likewise.
32926 (sqrt_test_data): Likewise.
32927 (y0_test_data): Likewise.
32928 (y1_test_data): Likewise.
32929 (yn_test_data): Likewise.
32930
32931 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
32932 function contents.
32933
32934 * math/libm-test.inc (struct test_ff_i_data): New type.
32935 (RUN_TEST_LOOP_ff_i_tg): New macro.
32936 (isgreater_test_data): New variable.
32937 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32938 (isgreaterequal_test_data): New variable.
32939 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32940 (isless_test_data): New variable.
32941 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32942 (islessequal_test_data): New variable.
32943 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32944 (islessgreater_test_data): New variable.
32945 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32946 (isunordered_test_data): New variable.
32947 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32948
32949 2013-05-14 David S. Miller <davem@davemloft.net>
32950
32951 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32952
32953 2013-05-14 Joseph Myers <joseph@codesourcery.com>
32954
32955 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
32956
32957 * math/libm-test.inc (struct test_fF_f1_data): Change type of
32958 extra_test to int.
32959 (struct test_f_i_data): Change type of max_ulp to int.
32960
32961 * math/libm-test.inc (test_ffI_f1_data): New type.
32962 (RUN_TEST_LOOP_ffI_f1): New macro.
32963 (remquo_test_data): New variable.
32964 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
32965
32966 * setjmp/tst-setjmp-fp.c: New file.
32967 * setjmp/Makefile (tests): Add tst-setjmp-fp.
32968 (link-libm): New variable.
32969 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
32970
32971 * math/libm-test.inc (struct test_f_i_data): New type.
32972 (RUN_TEST_LOOP_f_i): New macro.
32973 (RUN_TEST_LOOP_f_i_tg): Likewise.
32974 (fpclassify_test_data): New variable.
32975 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
32976 (ilogb_test_data): New variable.
32977 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
32978
32979 * math/libm-test.inc (scalbln_test): Correct function name in END
32980 call.
32981
32982 * math/libm-test.inc (struct test_f_f1_data): Add comment.
32983 (RUN_TEST_LOOP_fI_f1): New macro.
32984 (frexp_test_data): New variable.
32985 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
32986
32987 * math/libm-test.inc (struct test_fF_f1_data): New type.
32988 (RUN_TEST_LOOP_fF_f1): New macro.
32989 (modf_test_data): New variable.
32990 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
32991
32992 * math/libm-test.inc (struct test_f_f1_data): New type.
32993 (RUN_TEST_LOOP_f_f1): New macro.
32994 (gamma_test_data): New variable.
32995 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32996 (lgamma_test_data): New variable.
32997 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32998
32999 2013-05-13 Carlos O'Donell <carlos@redhat.com>
33000
33001 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
33002 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
33003 (main): Comment "tls" pseudo-hwcap.
33004
33005 2013-05-13 Joseph Myers <joseph@codesourcery.com>
33006
33007 * math/libm-test.inc (struct test_fl_f_data): New type.
33008 (RUN_TEST_LOOP_fl_f): New variable.
33009 (scalbln_test_data): New variable.
33010 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
33011
33012 * math/libm-test.inc (struct test_fi_f_data): New type.
33013 (RUN_TEST_LOOP_fi_f): New macro.
33014 (ldexp_test_data): New variable.
33015 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
33016 (scalbn_test_data): New variable.
33017 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
33018
33019 * math/libm-test.inc (struct test_c_f_data): New type.
33020 (RUN_TEST_LOOP_c_f): New macro.
33021 (cabs_test_data): New variable.
33022 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
33023 (carg_test_data): New variable.
33024 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
33025 (cimag_test_data): New variable.
33026 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
33027 (creal_test_data): New variable.
33028 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
33029
33030 * math/libm-test.inc (struct test_if_f_data): New type.
33031 (RUN_TEST_LOOP_if_f): New macro.
33032 (jn_test_data): New variable.
33033 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
33034 (yn_test_data): New variable.
33035 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
33036
33037 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
33038
33039 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33040
33041 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
33042 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
33043
33044 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33045
33046 * benchtests/Makefile (CPPFLAGS-nonlib): Add
33047 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
33048 (bench-deps): Add bench-timing.h.
33049 * benchtests-bench-skeleton.c: Include bench-timing.h.
33050 (main): Use TIMING_* macros instead of clock_gettime.
33051 * benchtests/bench-timing.h: New file.
33052
33053 [BZ #14582]
33054 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
33055 Renamed from _LIB_VERSION.
33056 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
33057
33058 2013-05-12 Joseph Myers <joseph@codesourcery.com>
33059
33060 * math/libm-test.inc (struct test_fff_f_data): New type.
33061 (RUN_TEST_LOOP_fff_f): New macro.
33062 (fma_test_data): New variable.
33063 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
33064 (fma_towardzero_test_data): New variable.
33065 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
33066 (fma_downward_test_data): New variable.
33067 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
33068 (fma_upward_test_data): New variable.
33069 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
33070
33071 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
33072 (struct test_c_c_data): New type.
33073 (RUN_TEST_LOOP_c_c): New macro.
33074 (cacos_test_data): New variable.
33075 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
33076 (cacosh_test_data): New variable.
33077 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
33078 (casin_test_data): New variable.
33079 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
33080 (casinh_test_data): New variable.
33081 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
33082 (catan_test_data): New variable.
33083 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
33084 (catanh_test_data): New variable.
33085 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
33086 (ccos_test_data): New variable.
33087 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
33088 (ccosh_test_data): New variable.
33089 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
33090 (cexp_test_data): New variable.
33091 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
33092 (clog_test_data): New variable.
33093 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
33094 (clog10_test_data): New variable.
33095 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
33096 (conj_test_data): New variable.
33097 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
33098 (cproj_test_data): New variable.
33099 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
33100 (csin_test_data): New variable.
33101 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
33102 (csinh_test_data): New variable.
33103 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
33104 (csqrt_test_data): New variable.
33105 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
33106 (ctan_test_data): New variable.
33107 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
33108 (ctan_tonearest_test_data): New variable.
33109 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33110 (ctan_towardzero_test_data): New variable.
33111 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33112 (ctan_downward_test_data): New variable.
33113 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33114 (ctan_upward_test_data): New variable.
33115 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33116 (ctanh_test_data): New variable.
33117 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
33118 (ctanh_tonearest_test_data): New variable.
33119 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33120 (ctanh_towardzero_test_data): New variable.
33121 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33122 (ctanh_downward_test_data): New variable.
33123 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33124 (ctanh_upward_test_data): New variable.
33125 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33126 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
33127 of BUILD_COMPLEX.
33128
33129 * math/libm-test.inc (struct test_ff_f_data): New type.
33130 (struct test_ff_f_data_nexttoward): Likewise.
33131 (RUN_TEST_LOOP_2_f): New macro.
33132 (RUN_TEST_LOOP_ff_f): Likewise.
33133 (atan2_test_data): New variable.
33134 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
33135 (copysign_test_data): New variable.
33136 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
33137 (fdim_test_data): New variable.
33138 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
33139 (fmax_test_data): New variable.
33140 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
33141 (fmin_test_data): New variable.
33142 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
33143 (fmod_test_data): New variable.
33144 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
33145 (hypot_test_data): New variable.
33146 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
33147 (nextafter_test_data): New variable.
33148 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
33149 (nexttoward_test_data): New variable.
33150 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
33151 (pow_test_data): New variable.
33152 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
33153 (pow_tonearest_test_data): New variable.
33154 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
33155 (pow_towardzero_test_data): New variable.
33156 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
33157 (pow_downward_test_data): New variable.
33158 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
33159 (pow_upward_test_data): New variable.
33160 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
33161 (remainder_test_data): New variable.
33162 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
33163 (scalb_test_data): New variable.
33164 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
33165 * sysdeps/i386/fpu/libm-test-ulps: Update.
33166
33167 2013-05-11 Joseph Myers <joseph@codesourcery.com>
33168
33169 * math/libm-test.inc (fma_test): Use max_value instead of local
33170 variable fltmax.
33171 (nextafter_test): Likewise.
33172
33173 * math/libm-test.inc (acos_towardzero_test_data): New variable.
33174 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33175 (acos_downward_test_data): New variable.
33176 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33177 (acos_upward_test_data): New variable.
33178 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33179 (acosh_test_data): New variable.
33180 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
33181 (asin_test_data): New variable.
33182 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
33183 (asin_tonearest_test_data): New variable.
33184 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33185 (asin_towardzero_test_data): New variable.
33186 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33187 (asin_downward_test_data): New variable.
33188 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33189 (asin_upward_test_data): New variable.
33190 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33191 (asinh_test_data): New variable.
33192 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
33193 (atan_test_data): New variable.
33194 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
33195 (atanh_test_data): New variable.
33196 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
33197 (cbrt_test_data): New variable.
33198 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
33199 (ceil_test_data): New variable.
33200 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
33201 (cos_test_data): New variable.
33202 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
33203 (cos_tonearest_test_data): New variable.
33204 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33205 (cos_towardzero_test_data): New variable.
33206 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33207 (cos_downward_test_data): New variable.
33208 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33209 (cos_upward_test_data): New variable.
33210 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33211 (cosh_test_data): New variable.
33212 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
33213 (cosh_tonearest_test_data): New variable.
33214 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33215 (cosh_towardzero_test_data): New variable.
33216 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33217 (cosh_downward_test_data): New variable.
33218 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33219 (cosh_upward_test_data): New variable.
33220 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33221 (erf_test_data): New variable.
33222 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
33223 (erfc_test_data): New variable.
33224 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
33225 (exp_test_data): New variable.
33226 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
33227 (exp_tonearest_test_data): New variable.
33228 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33229 (exp_towardzero_test_data): New variable.
33230 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33231 (exp_downward_test_data): New variable.
33232 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33233 (exp_upward_test_data): New variable.
33234 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33235 (exp10_test_data): New variable.
33236 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
33237 (exp2_test_data): New variable.
33238 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
33239 (expm1_test_data): New variable.
33240 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
33241 (fabs_test_data): New variable.
33242 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
33243 (floor_test_data): New variable.
33244 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
33245 (j0_test_data): New variable.
33246 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
33247 (j1_test_data): New variable.
33248 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
33249 (log_test_data): New variable.
33250 (log_test): Run tests with RUN_TEST_LOOP_f_f.
33251 (log10_test_data): New variable.
33252 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
33253 (log1p_test_data): New variable.
33254 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
33255 (log2_test_data): New variable.
33256 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
33257 (logb_test_data): New variable.
33258 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
33259 (logb_downward_test_data): New variable.
33260 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33261 (nearbyint_test_data): New variable.
33262 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
33263 (rint_test_data): New variable.
33264 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
33265 (rint_tonearest_test_data): New variable.
33266 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33267 (rint_towardzero_test_data): New variable.
33268 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33269 (rint_downward_test_data): New variable.
33270 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33271 (rint_upward_test_data): New variable.
33272 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33273 (round_test_data): New variable.
33274 (round_test): Run tests with RUN_TEST_LOOP_f_f.
33275 (sin_test_data): New variable.
33276 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
33277 (sin_tonearest_test_data): New variable.
33278 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33279 (sin_towardzero_test_data): New variable.
33280 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33281 (sin_downward_test_data): New variable.
33282 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33283 (sin_upward_test_data): New variable.
33284 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33285 (sinh_test_data): New variable.
33286 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
33287 (sinh_tonearest_test_data): New variable.
33288 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33289 (sinh_towardzero_test_data): New variable.
33290 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33291 (sinh_downward_test_data): New variable.
33292 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33293 (sinh_upward_test_data): New variable.
33294 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33295 (sqrt_test_data): New variable.
33296 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
33297 (tan_test_data): New variable.
33298 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
33299 (tan_tonearest_test_data): New variable.
33300 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33301 (tan_towardzero_test_data): New variable.
33302 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33303 (tan_downward_test_data): New variable.
33304 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33305 (tan_upward_test_data): New variable.
33306 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33307 (tanh_test_data): New variable.
33308 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
33309 (tgamma_test_data): New variable.
33310 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
33311 (trunc_test_data): New variable.
33312 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
33313 (y0_test_data): New variable.
33314 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
33315 (y1_test_data): New variable.
33316 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
33317 (significand_test_data): New variable.
33318 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
33319
33320 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
33321
33322 [BZ #12387]
33323 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
33324
33325 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
33326
33327 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
33328
33329 2013-05-10 Andreas Jaeger <aj@suse.de>
33330
33331 [BZ #15448]
33332 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
33333 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
33334
33335 2013-05-10 Joseph Myers <joseph@codesourcery.com>
33336
33337 * math/gen-libm-test.pl (adjust_arg): New function.
33338 (special_functions): Handle generating output in both functions
33339 and arrays.
33340 (parse_args): Likewise.
33341 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
33342 $in_func argument to parse_args.
33343 * math/libm-test.inc (struct test_f_f_data): New type.
33344 (IF_ROUND_INIT_): New macro.
33345 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
33346 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33347 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33348 (IF_ROUND_INIT_FE_UPWARD): Likewise.
33349 (ROUND_RESTORE_): Likewise.
33350 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
33351 (ROUND_RESTORE_FE_TONEAREST): Likewise.
33352 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
33353 (ROUND_RESTORE_FE_UPWARD): Likewise.
33354 (RUN_TEST_LOOP_f_f): New macro.
33355 (acos_test_data): New variable.
33356 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
33357 (acos_tonearest_test_data): New variable.
33358 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33359
33360 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33361
33362 * benchtests/bench-skeleton.c (startup): Fix coding style.
33363
33364 2013-05-10 Joseph Myers <joseph@codesourcery.com>
33365
33366 [BZ #6809]
33367 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
33368 negative infinity argument.
33369 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
33370 negative infinity argument.
33371 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
33372 negative infinity argument.
33373 * math/libm-test.inc (tgamma_test): Expect errno to be set for
33374 domain errors.
33375
33376 2013-05-10 Florian Weimer <fweimer@redhat.com>
33377
33378 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
33379 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
33380 * iconv/iconv_prog.c (main): Likewise.
33381 * locale/programs/charmap-dir.c (charmap_readdir)
33382 (fopen_uncompressed): Likewise.
33383 * locale/programs/locfile.c (siblings_uncached)
33384 (write_locale_data): Use lstat64 instead of lstat.
33385 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
33386 stat.
33387
33388 2013-05-10 Andreas Jaeger <aj@suse.de>
33389
33390 [BZ #15395]
33391 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
33392 localization.
33393 Include <locale.h>.
33394
33395 2013-05-09 Carlos O'Donell <carlos@redhat.com>
33396
33397 * elf/dl-close.c (_dl_close_worker): Add comments.
33398
33399 2013-05-09 Joseph Myers <joseph@codesourcery.com>
33400
33401 [BZ #15359]
33402 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
33403 high part of pi/2.
33404 (__ieee754_rem_pio2l): Update comments.
33405
33406 [BZ #15429]
33407 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
33408 high part of pi/2.
33409 (__ieee754_rem_pio2l): Update comments.
33410
33411 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
33412 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
33413
33414 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
33415 M_PI_4l.
33416
33417 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
33418 (M_PI_34_LOG10El): Likewise.
33419 (M_PI2_LOG10El): Likewise.
33420 (M_PI4_LOG10El): Likewise.
33421 (M_PI_LOG10El): Likewise.
33422
33423 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33424
33425 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33426
33427 2013-05-08 Joseph Myers <joseph@codesourcery.com>
33428
33429 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
33430 (MINUS_ZERO_INIT): Likewise.
33431 (PLUS_INFTY_INIT): Likewise.
33432 (MINUS_INFTY_INIT): Likewise.
33433 (QNAN_VALUE_INIT): Likewise.
33434 (MAX_VALUE_INIT): Likewise.
33435 (MIN_VALUE_INIT): Likewise.
33436 (MIN_SUBNORM_VALUE_INIT): Likewise.
33437 (plus_zero): Initialize with PLUS_ZERO_INIT.
33438 (minus_zero): Initialize with MINUS_ZERO_INIT.
33439 (plus_infty): Initialize with PLUS_INFTY_INIT.
33440 (minus_infty): Initialize with MINUS_INFTY_INIT.
33441 (qnan_value): Initialize with QNAN_VALUE_INIT.
33442 (max_value): Initialize with MAX_VALUE_INIT.
33443 (min_value): Initialize with MIN_VALUE_INIT.
33444 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
33445
33446 * math/libm-test.inc (RUN_TEST_if_f): New macro.
33447 (jn_test): Use TEST_if_f instead of TEST_ff_f.
33448 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
33449 (yn_test): Use TEST_if_f instead of TEST_ff_f.
33450
33451 * math/libm-test.inc (RUN_TEST_f_f): New macro.
33452 (RUN_TEST_2_f): Likewise.
33453 (RUN_TEST_ff_f): Likewise.
33454 (RUN_TEST_fi_f): Likewise.
33455 (RUN_TEST_fl_f): Likewise.
33456 (RUN_TEST_fff_f): Likewise.
33457 (RUN_TEST_c_f): Likewise.
33458 (RUN_TEST_f_f1): Likewise.
33459 (RUN_TEST_fF_f1): Likewise.
33460 (RUN_TEST_fI_f1): Likewise.
33461 (RUN_TEST_ffI_f1): Likewise.
33462 (RUN_TEST_c_c): Likewise.
33463 (RUN_TEST_cc_c): Likewise.
33464 (RUN_TEST_f_i): Likewise.
33465 (RUN_TEST_f_i_tg): Likewise.
33466 (RUN_TEST_ff_i_tg): Likewise.
33467 (RUN_TEST_f_b): Likewise.
33468 (RUN_TEST_f_b_tg): Likewise.
33469 (RUN_TEST_f_l): Likewise.
33470 (RUN_TEST_f_L): Likewise.
33471 (RUN_TEST_sincos): Likewise.
33472 * math/gen-libm-test.pl (new_test): Take new argument to indicate
33473 whether to show exceptions. Do not include ");\n" in return
33474 value.
33475 (special_functions): Output call to RUN_TEST_sincos instead of
33476 check_float calls. Update calls to new_test.
33477 (parse_args): Output call to single RUN_TEST_* macro instead of
33478 check_* calls and other assignments. Update calls to new_test.
33479
33480 [BZ #2546]
33481 [BZ #2560]
33482 [BZ #5159]
33483 [BZ #15426]
33484 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
33485 input to result for tgamma overflow.
33486 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
33487 (gamma_coeff): New variable.
33488 (NCOEFF): New macro.
33489 (gamma_positive): New function.
33490 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
33491 underflow here. Use gamma_positive instead of exp (lgamma) for
33492 other arguments.
33493 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
33494 (gamma_coeff): New variable.
33495 (NCOEFF): New macro.
33496 (gammaf_positive): New function.
33497 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
33498 underflow here. Use gamma_positive instead of exp (lgamma) for
33499 other arguments.
33500 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
33501 (gamma_coeff): New variable.
33502 (NCOEFF): New macro.
33503 (gammal_positive): New function.
33504 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
33505 underflow here. Use gamma_positive instead of exp (lgamma) for
33506 other arguments.
33507 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
33508 (gamma_coeff): New variable.
33509 (NCOEFF): New macro.
33510 (gammal_positive): New function.
33511 (__ieee754_gammal_r): Handle positive infinity, overflow and
33512 underflow here. Handle NaN the same as positive infinity. Remove
33513 check x < 0xffffffff for negative integers. Use gamma_positive
33514 instead of exp (lgamma) for other arguments.
33515 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
33516 (gamma_coeff): New variable.
33517 (NCOEFF): New macro.
33518 (gammal_positive): New function.
33519 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
33520 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
33521 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
33522 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
33523 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
33524 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
33525 * sysdeps/generic/math_private.h (__gamma_productf): New
33526 prototype.
33527 (__gamma_product): Likewise.
33528 (__gamma_productl): Likewise.
33529 * math/Makefile (libm-calls): Add gamma_product.
33530 * math/libm-test.inc (tgamma_test): Add more tests.
33531 * sysdeps/i386/fpu/libm-test-ulps: Update.
33532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33533
33534 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
33535
33536 * benchtests/bench-skeleton.c (main): Preheat CPU.
33537
33538 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
33539
33540 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
33541
33542 2013-05-07 Roland McGrath <roland@hack.frob.com>
33543
33544 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
33545 and _dl_skip_args_internal.
33546
33547 2013-05-07 Carlos O'Donell <carlos@redhat.com>
33548
33549 * manual/message.texi (Message Translation): Talk about users.
33550 Message to key mapping impacts design.
33551
33552 2013-05-06 Roland McGrath <roland@hack.frob.com>
33553
33554 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
33555
33556 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
33557
33558 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
33559 * sysdeps/wordsize-64/glob64.c: ... here.
33560
33561 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
33562 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
33563 New macros.
33564
33565 * debug/getlogin_r_chk.c: Moved to ...
33566 * login/getlogin_r_chk.c: ... here.
33567 * debug/Makefile (routines): Move getlogin_r_chk to ...
33568 * login/Makefile (routines): ... here.
33569 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
33570 * login/Versions (libc: GLIBC_2.4): ... here.
33571
33572 * io/poll.c (__poll): Renamed from poll.
33573 Add libc_hidden_def.
33574 (poll): Define as weak alias.
33575
33576 * debug/ptsname_r_chk.c: Moved to ...
33577 * login/ptsname_r_chk.c: ... here.
33578 * debug/Makefile (routines): Move ptsname_r_chk to ...
33579 * login/Makefile (routines): ... here.
33580 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
33581 * login/Versions (libc: GLIBC_2.4): ... here.
33582
33583 * posix/getlogin.c: Moved to ...
33584 * login/getlogin.c: ... here.
33585 * posix/getlogin_r.c: Moved to ...
33586 * login/getlogin_r.c: ... here.
33587 * posix/getlogin_r.c: Moved to ...
33588 * login/getlogin_r.c: ... here.
33589 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
33590 * login/Makefile (routines): ... here.
33591 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
33592 * login/Versions (libc: GLIBC_2.0): ... here.
33593
33594 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
33595 (setrlimit): Define as weak alias.
33596
33597 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
33598 Call __ names for open, ftruncate, and close.
33599 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
33600 (truncate): Define as weak alias.
33601
33602 2013-05-06 Joseph Myers <joseph@codesourcery.com>
33603
33604 * math/gen-libm-test.pl (parse_args): Initialize x before each
33605 test of frexp, modf and remquo.
33606
33607 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
33608 test signgam value.
33609
33610 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33611
33612 [BZ #15418]
33613 [BZ #15419]
33614 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
33615 internal tests.
33616 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33617
33618 2013-05-06 Roland McGrath <roland@hack.frob.com>
33619
33620 * elf/dl-writev.h: New file.
33621 * elf/dl-misc.c: Include it.
33622 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
33623 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
33624
33625 2013-05-04 Joseph Myers <joseph@codesourcery.com>
33626
33627 * math/libm-test.inc (noXFails): Remove variable.
33628 (noXPasses): Likewise.
33629 (BUILD_COMPLEX_INT): Remove macro.
33630 (print_screen): Remove xfail argument.
33631 (print_screen_max_error): Likewise.
33632 (update_stats): Likewise.
33633 (print_max_error): Likewise. Update calls to other affected
33634 functions.
33635 (print_complex_max_error): Likewise.
33636 (test_single_exception): Update calls to print_screen.
33637 (test_single_errno): Likewise.
33638 (check_float_internal): Remove xfail argument. Update calls to
33639 other affected functions.
33640 (check_float): Likewise.
33641 (check_complex): Likewise.
33642 (check_int): Likewise.
33643 (check_long): Likewise.
33644 (check_bool): Likewise.
33645 (check_longlong): Likewise.
33646 (main): Don't print noXFails and noXPasses.
33647 * math/gen-libm-test.pl (top level): Don't mention expected
33648 failure handling in comment.
33649 (new_test): Don't handle expected failures.
33650 (parse_args): Don't mention expected failure handling in comment.
33651 (generate_testfile): Don't handle expected failures.
33652 (parse_ulps): Likewise.
33653 (print_ulps_file): Likewise.
33654 (get_failure): Remove function.
33655 (output_test): Don't handle expected failures.
33656 * make/README.libm-test: Don't mention expected failure handling.
33657
33658 * math/libm-test.inc (plus_zero): Make const. Add initializer.
33659 (minus_zero): Likewise.
33660 (plus_infty): Likewise.
33661 (minus_infty): Likewise.
33662 (qnan_value): Likewise.
33663 (max_value): Likewise.
33664 (min_value): Likewise.
33665 (min_subnorm_value): Likewise.
33666 (initialize): Do not initialize those variables dynamically.
33667
33668 2013-05-03 Roland McGrath <roland@hack.frob.com>
33669
33670 * io/open.c (__open_2): Moved to ...
33671 * io/open_2.c: ... this new file.
33672 * io/open64.c (__open64_2): Moved to ...
33673 * io/open64_2.c: ... this new file.
33674 * io/openat.c (__openat_2): Moved to ...
33675 * io/openat_2.c: ... this new file.
33676 * io/openat64.c (__openat64_2): Moved to ...
33677 * io/openat64_2.c: ... this new file.
33678 * io/Makefile (routines): Add them.
33679 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
33680 * sysdeps/unix/sysv/linux/open_2.c: File removed.
33681 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
33682 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
33683 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
33684 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
33685 (__openat64): Add hidden_ver.
33686 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
33687 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
33688
33689 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
33690 Separately conditionalize setting of GLRO(dl_sysinfo) so
33691 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
33692 as well, but the actual setting is only under [NEED_DL_SYSINFO].
33693
33694 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33695
33696 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
33697 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
33698 definition.
33699 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
33700 * sysdeps/unix/sysv/linux/powerpc/init-first.c
33701 (_libc_vdso_platform_setup): Add __vdso_time initialization.
33702 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
33703 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
33704
33705 2013-05-03 Joseph Myers <joseph@codesourcery.com>
33706
33707 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
33708 test signgam value.
33709
33710 * math/libm-test.inc (hypot_test): Do not use
33711 IGNORE_ZERO_INF_SIGN.
33712
33713 2013-05-03 Andreas Jaeger <aj@suse.de>
33714
33715 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
33716 Linux 3.9.
33717 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
33718 (PF_MAX): Adjust for VSOCK change.
33719
33720 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33721
33722 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33723
33724 2013-05-02 Carlos O'Donell <carlos@redhat.com>
33725
33726 [BZ #15264]
33727 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
33728 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
33729 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
33730
33731 2013-05-02 David S. Miller <davem@davemloft.net>
33732
33733 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33734
33735 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
33736
33737 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
33738
33739 2013-05-01 Roland McGrath <roland@hack.frob.com>
33740
33741 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
33742
33743 2013-05-01 Richard Smith <richard@metafoo.co.uk>
33744
33745 [BZ #14952]
33746 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
33747 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33748 Use __attribute__ ((__gnu_inline__)).
33749 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33750 Don't use __attribute__ ((__gnu_inline__)).
33751
33752 2013-05-01 Joseph Myers <joseph@codesourcery.com>
33753
33754 [BZ #15423]
33755 * math/s_catan.c (__catan): Handle small real or imaginary part of
33756 input specially to avoid spurious underflow.
33757 * math/s_catanf.c (__catanf): Likewise.
33758 * math/s_catanh.c (__catanh): Likewise.
33759 * math/s_catanhf.c (__catanhf): Likewise.
33760 * math/s_catanhl.c (__catanhl): Likewise.
33761 * math/s_catanl.c (__catanl): Likewise.
33762 * math/libm-test.inc (catan_test): Add more tests.
33763 (catanh_test): Likewise.
33764 * sysdeps/i386/fpu/libm-test-ulps: Update.
33765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33766
33767 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33768
33769 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33770
33771 2013-04-30 Joseph Myers <joseph@codesourcery.com>
33772
33773 [BZ #15416]
33774 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
33775 accurately for denominator in atan2.
33776 * math/s_catanf.c (__catanf): Likewise.
33777 * math/s_catanh.c (__catanh): Likewise.
33778 * math/s_catanhf.c (__catanhf): Likewise.
33779 * math/s_catanhl.c (__catanhl): Likewise.
33780 * math/s_catanl.c (__catanl): Likewise.
33781 * math/libm-test.inc (catan_test): Add more tests.
33782 (catanh_test): Likewise.
33783 * sysdeps/i386/fpu/libm-test-ulps: Update.
33784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33785
33786 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33787
33788 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
33789
33790 * benchtests/Makefile (bench): Remove slow benchmarks.
33791 * benchtests/atan-inputs: Add slow benchmark inputs.
33792 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
33793 (BENCH_FUNC): Accept variant offset.
33794 (VARIANT): Define.
33795 * benchtests/bench-skeleton.c (main): Run benchmark for each
33796 variant.
33797 * benchtests/cos-inputs: Add slow benchmark inputs.
33798 * benchtests/exp-inputs: Likewise.
33799 * benchtests/pow-inputs: Likewise.
33800 * benchtests/sin-inputs: Likewise.
33801 * benchtests/slowatan-inputs: Remove.
33802 * benchtests/slowatan.c: Remove.
33803 * benchtests/slowcos-inputs: Remove.
33804 * benchtests/slowcos.c: Remove.
33805 * benchtests/slowexp-inputs: Remove.
33806 * benchtests/slowexp.c: Remove.
33807 * benchtests/slowpow-inputs: Remove.
33808 * benchtests/slowpow.c: Remove.
33809 * benchtests/slowsin-inputs: Remove.
33810 * benchtests/slowsin.c: Remove.
33811 * benchtests/slowtan-inputs: Remove.
33812 * benchtests/slowtan.c: Remove.
33813 * benchtests/tan-inputs: Add slow benchmark inputs.
33814 * scripts/bench.pl: Parse comments and directives.
33815
33816 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
33817 in CPPFLAGS.
33818 ($(objpfx)bench-%.c): Remove *-ITER.
33819 * benchtests/bench-modf.c: Remove definition of ITER.
33820 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
33821 (main): Loop for DURATION seconds instead of fixed number of
33822 iterations.
33823 * scripts/bench.pl: Don't expect iterations in parameters.
33824
33825 2013-04-29 Roland McGrath <roland@hack.frob.com>
33826
33827 * io/fchdir.c (__fchdir): Renamed from fchdir.
33828 (fchdir): Define as weak alias.
33829
33830 2013-04-29 Joseph Myers <joseph@codesourcery.com>
33831
33832 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
33833 (ERRNO_EDOM): Likewise.
33834 (ERRNO_ERANGE): Likewise.
33835 (noErrnoTests): New variable.
33836 (init_max_error): Set errno to 0.
33837 (test_single_errno): New function.
33838 (test_errno): Likewise.
33839 (check_float_internal): Call test_errno. Set errno to 0.
33840 (check_complex): Refer to errno tests in comment.
33841 (check_int): Call test_errno. Set errno to 0.
33842 (check_long): Likewise.
33843 (check_bool): Likewise.
33844 (check_longlong): Likewise.
33845 (cos_test): Use ERRNO_* flags for errno tests instead of
33846 check_int.
33847 (expm1_test): Likewise.
33848 (fmod_test): Likewise.
33849 (ilogb_test): Likewise.
33850 (lgamma_test): Likewise.
33851 (pow_test): Likewise.
33852 (remainder_test): Likewise.
33853 (sin_test): Likewise.
33854 (tan_test): Likewise.
33855 (yn_test): Likewise.
33856 (initialize): Set errno to 0.
33857 (main): Print number of errno tests.
33858 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
33859
33860 2013-04-29 Andreas Jaeger <aj@suse.de>
33861
33862 [BZ #15084]
33863 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
33864 and RES_USEVC.
33865
33866 [BZ #15085]
33867 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
33868 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
33869 unimplemented.
33870
33871 [BZ #15380]
33872 * stdlib/random.c (__initstate): Return NULL if
33873 __initstate fails.
33874
33875 [BZ #15086]
33876 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
33877 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
33878 RES_SNGLKUPREOP.
33879
33880 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33881
33882 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33883
33884 2013-04-29 Joseph Myers <joseph@codesourcery.com>
33885
33886 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
33887 of individual tests.
33888 (casin_test): Likewise.
33889 (casinh_test): Likewise.
33890
33891 2013-04-27 Joseph Myers <joseph@codesourcery.com>
33892
33893 [BZ #15409]
33894 * math/s_catan.c (__catan): Handle arguments with large real or
33895 imaginary part separately without squaring.
33896 * math/s_catanf.c (__catanf): Likewise.
33897 * math/s_catanh.c (__catanh): Likewise.
33898 * math/s_catanhf.c (__catanhf): Likewise.
33899 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33900 and redefine.
33901 (__catanhl): Handle arguments with large real or imaginary part
33902 separately without squaring.
33903 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33904 and redefine.
33905 (__catanl): Handle arguments with large real or imaginary part
33906 separately without squaring.
33907 * math/libm-test.inc (catan_test): Add more tests.
33908 (catanh_test): Likewise.
33909 * sysdeps/i386/fpu/libm-test-ulps: Update.
33910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33911
33912 2013-04-27 Andreas Jaeger <aj@suse.de>
33913
33914 [BZ #15007]
33915 * stdlib/stdlib.h: Update guards for qecvt.
33916 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
33917 <stdlib.h>.
33918
33919 2013-04-27 Allan McRae <allan@archlinux.org>
33920
33921 * sysdeps/i386/fpu/libm-test-ulps: Update.
33922
33923 2013-04-26 Joseph Myers <joseph@codesourcery.com>
33924
33925 [BZ #15406]
33926 * math/s_catan.c: Include <float.h>.
33927 (__catan): Ensure underflow exception occurs for underflowed
33928 result.
33929 * math/s_catanf.c: Include <float.h>.
33930 (__catanf): Ensure underflow exception occurs for underflowed
33931 result.
33932 * math/s_catanh.c: Include <float.h>.
33933 (__catanh): Ensure underflow exception occurs for underflowed
33934 result.
33935 * math/s_catanhf.c: Include <float.h>.
33936 (__catanhf): Ensure underflow exception occurs for underflowed
33937 result.
33938 * math/s_catanhl.c: Include <float.h>.
33939 (__catanhl): Ensure underflow exception occurs for underflowed
33940 result.
33941 * math/s_catanl.c: Include <float.h>.
33942 (__catanl): Ensure underflow exception occurs for underflowed
33943 result.
33944 * math/libm-test.inc (catan_test): Add more tests.
33945 (catanh_test): Likewise.
33946
33947 [BZ #15405]
33948 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
33949 underflowed result.
33950 * math/s_ccoshf.c (__ccoshf): Likewise.
33951 * math/s_ccoshl.c (__ccoshl): Likewise.
33952 * math/s_csin.c (__csin): Likewise.
33953 * math/s_csinf.c (__csinf): Likewise.
33954 * math/s_csinh.c (__csinh): Likewise.
33955 * math/s_csinhf.c (__csinhf): Likewise.
33956 * math/s_csinhl.c (__csinhl): Likewise.
33957 * math/s_csinl.c (__csinl): Likewise.
33958 * math/libm-test.inc (ccos_test): Add more tests.
33959 (ccosh_test): Likewise.
33960 (csin_test): Likewise.
33961 (csinh_test): Likewise.
33962
33963 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33964
33965 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
33966 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
33967 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
33968 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
33969 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
33970 powerpc/power5+/fpu folders.
33971 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
33972
33973
33974 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
33975
33976 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33977
33978 2013-04-25 Joseph Myers <joseph@codesourcery.com>
33979
33980 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
33981 additions to variable.
33982 [$(config-machine) = x86_64] (modules-names): Likewise.
33983 ($(objpfx)tst-audit3): Remove dependency.
33984 ($(objpfx)tst-audit3.out): Likewise.
33985 ($(objpfx)tst-audit4): Likewise.
33986 ($(objpfx)tst-audit4.out): Likewise.
33987 ($(objpfx)tst-audit5): Likewise.
33988 ($(objpfx)tst-audit5.out): Likewise.
33989 ($(objpfx)tst-audit6): Likewise.
33990 ($(objpfx)tst-audit6.out): Likewise.
33991 ($(objpfx)tst-audit7): Likewise.
33992 ($(objpfx)tst-audit7.out): Likewise.
33993 (tst-audit3-ENV): Remove variable.
33994 (tst-audit4-ENV): Likewise.
33995 (tst-audit5-ENV): Likewise.
33996 (tst-audit6-ENV): Likewise.
33997 (tst-audit7-ENV): Likewise.
33998 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
33999 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
34000 addition to variable.
34001 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
34002 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
34003 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
34004 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
34005 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
34006 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
34007 tst-audit3, tst-audit4 and tst-audit5.
34008 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
34009 tst-audit6 and tst-audit7.
34010 [$(subdir) = elf] (modules-names): Add audit modules for those
34011 tests.
34012 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
34013 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
34014 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
34015 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
34016 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
34017 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
34018 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
34019 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
34020 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
34021 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
34022 [$(subdir) = elf] (tst-audit3-ENV): New variable.
34023 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
34024 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
34025 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
34026 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
34027 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
34028 Likewise.
34029 [$(subdir) = elf && $(config-cflags-avx) = yes]
34030 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
34031 [$(subdir) = elf && $(config-cflags-avx) = yes]
34032 (CFLAGS-tst-auditmod4a.c): Likewise.
34033 [$(subdir) = elf && $(config-cflags-avx) = yes]
34034 (CFLAGS-tst-auditmod4b.c): Likewise.
34035 [$(subdir) = elf && $(config-cflags-avx) = yes]
34036 (CFLAGS-tst-auditmod6b.c): Likewise.
34037 [$(subdir) = elf && $(config-cflags-avx) = yes]
34038 (CFLAGS-tst-auditmod6c.c): Likewise.
34039 [$(subdir) = elf && $(config-cflags-avx) = yes]
34040 (CFLAGS-tst-auditmod7b.c): Likewise.
34041 * elf/tst-audit3.c: Move to ...
34042 * sysdeps/x86_64/tst-audit3.c: ... here.
34043 * elf/tst-audit4.c: Move to ...
34044 * sysdeps/x86_64/tst-audit4.c: ... here.
34045 * elf/tst-audit5.c: Move to ...
34046 * sysdeps/x86_64/tst-audit5.c: ... here.
34047 * elf/tst-audit6.c: Move to ...
34048 * sysdeps/x86_64/tst-audit6.c: ... here.
34049 * elf/tst-audit7.c: Move to ...
34050 * sysdeps/x86_64/tst-audit7.c: ... here.
34051 * elf/tst-auditmod3a.c: Move to ...
34052 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
34053 * elf/tst-auditmod3b.c: Move to ...
34054 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
34055 * elf/tst-auditmod4a.c: Move to ...
34056 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
34057 * elf/tst-auditmod4b.c: Move to ...
34058 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
34059 * elf/tst-auditmod5a.c: Move to ...
34060 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
34061 * elf/tst-auditmod5b.c: Move to ...
34062 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
34063 * elf/tst-auditmod6a.c: Move to ...
34064 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
34065 * elf/tst-auditmod6b.c: Move to ...
34066 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
34067 * elf/tst-auditmod6c.c: Move to ...
34068 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
34069 * elf/tst-auditmod7a.c: Move to ...
34070 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
34071 * elf/tst-auditmod7b.c: Move to ...
34072 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
34073
34074 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
34075
34076 [BZ #15366]
34077 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
34078 define unconditionally.
34079 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
34080 define unconditionally.
34081 (INT8_C, INT16_C, etc.): Likewise.
34082
34083 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
34084
34085 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
34086 __ehdr_start with hidden visibility.
34087
34088 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
34089
34090 2013-04-24 Carlos O'Donell <carlos@redhat.com>
34091
34092 * math/libm-test.inc (cos_test): Use accurate hex constants.
34093 (sincost_test): Likewise.
34094
34095 2013-04-24 Joseph Myers <joseph@codesourcery.com>
34096
34097 * math/libm-test.inc (catan_test): Add more tests.
34098 (catanh_test): Likewise.
34099
34100 * math/s_catanf.c (__catanf): Use suffixed floating-point
34101 constants.
34102 * math/s_catanhf.c (__catanhf): Likewise.
34103 * math/s_catanhl.c (__catanhl): Likewise.
34104 * math/s_catanl.c (__catanl): Likewise.
34105
34106 [BZ #15394]
34107 * math/s_catan.c (__catan): Calculate imaginary part of result
34108 with log1p not log unless computing log of number close to 0.
34109 * math/s_catanf.c (__catanf): Likewise.
34110 * math/s_catanl.c (__catanl): Likewise.
34111 * math/s_catanh.c (__catanh): Calculate real part of result with
34112 log1p not log unless computing log of number close to 0.
34113 * math/s_catanhf.c (__catanhf): Likewise.
34114 * math/s_catanhl.c (__catanhl): Likewise.
34115 * math/libm-test.inc (catan_test): Add more tests.
34116 (catanh_test): Likewise.
34117 * sysdeps/i386/fpu/libm-test-ulps: Update.
34118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34119
34120 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
34121
34122 * benchtests/Makefile: Mention files in which fast and slow
34123 paths of math functions are implemented.
34124
34125 2013-04-23 Roland McGrath <roland@hack.frob.com>
34126
34127 * sysdeps/posix/timespec_get.c: New file.
34128
34129 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34130
34131 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
34132 POWER.
34133 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
34134 for POWER.
34135 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
34136 powerpc/power5/fpu folders.
34137 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
34138 * benchtests/Makefile: Add modf testcase.
34139 * benchtests/bench-modf.c: New file: Benchmark test for mo
34140
34141 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
34142
34143 [BZ #14888]
34144 * time/Makefile (tests): Add tst-strptime-whitespace.
34145 * time/strptime_l.c (get_number): Use ISSPACE.
34146 (__strptime_internal): Likewise.
34147 * time/tst-strptime-whitespace.c: New test case.
34148
34149 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
34150
34151 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
34152 member.
34153 (_nss_files_init): Set it here.
34154
34155 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
34156
34157 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
34158 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
34159 unsigned.
34160
34161 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
34162
34163 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
34164
34165 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
34166
34167 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
34168 size just once.
34169
34170 2013-04-21 David S. Miller <davem@davemloft.net>
34171
34172 * po/ru.po: Update Russion translation from translation project.
34173
34174 2013-04-17 Adam Conrad <adconrad@0c3.net>
34175
34176 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
34177 and setfsgid.
34178
34179 2013-04-17 Carlos O'Donell <carlos@redhat.com>
34180
34181 * configure.in: Remove i386 configure warning. Remove i386 case.
34182 * configure: Regenerate.
34183 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
34184 Add example to error message.
34185 * sysdeps/i386/configure: Regenerate.
34186
34187 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
34188
34189 * benchtests/Makefile (bench): Add cos, tan, slowcos and
34190 slowtan.
34191 * benchtests/cos-inputs: New file.
34192 * benchtests/slowcos-inputs: New file.
34193 * benchtests/slowcos.c: New file.
34194 * benchtests/slowtan-inputs: New file.
34195 * benchtests/slowtan.c: New file.
34196 * benchtests/tan-inputs: New file.
34197
34198 2013-04-16 Roland McGrath <roland@hack.frob.com>
34199
34200 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
34201 considered kosher.
34202
34203 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34204
34205 * benchtests/Makefile: Include cppflags-iterator.mk to add
34206 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
34207
34208 * Makefile.in (bench-clean): New target.
34209 * benchtests/Makefile (bench-clean): Likewise.
34210
34211 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
34212
34213 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
34214
34215 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
34216
34217 * stdio-common/tstdiomisc.c: Fix coding-style violation.
34218
34219 2013-04-15 Andreas Schwab <schwab@suse.de>
34220
34221 * nscd/grpcache.c (cache_addgr): Properly check for short write.
34222 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34223 * nscd/pwdcache.c (cache_addpw): Likewise.
34224 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
34225 more than recsize.
34226
34227 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34228
34229 * benchtests/Makefile (bench): Write all output to
34230 bench-out.tmp together.
34231
34232 2013-04-15 Andreas Schwab <schwab@suse.de>
34233
34234 * nscd/nscd.c (main): Don't fork again after closing files.
34235
34236 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34237
34238 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
34239
34240 * benchtests/Rules (bench-deps): Collect dependencies into a
34241 single variable. Add Makefile to dependencies.
34242 ($(objpfx)bench-%.c): Depend on bench-deps.
34243
34244 2013-04-12 Roland McGrath <roland@hack.frob.com>
34245 Xavier Roche <roche+kml2@exalead.com>
34246
34247 [BZ #15361]
34248 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
34249 just that it's a file descriptor.
34250 * manual/llio.texi (Synchronizing AIO Operations): Update description
34251 for EBADF error from aio_fsync.
34252
34253 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
34254
34255 * Rules (bench): Move target definition...
34256 * benchtests/Makefile: ... here.
34257
34258 2013-04-11 Carlos O'Donell <carlos@redhat.com>
34259
34260 * math/libm-test.inc (cos_test): Fix PI/2 test.
34261 (sincos_test): Likewise.
34262 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
34263 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
34264
34265 2013-04-11 Andreas Schwab <schwab@suse.de>
34266
34267 [BZ #13988]
34268 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
34269 accept exponent character only when digits were seen.
34270 * stdio-common/Makefile (tests): Add bug26.
34271 * stdio-common/bug26.c: New file.
34272
34273 [BZ #14293]
34274 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
34275 non-freeable.
34276
34277 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34278
34279 * Makeconfig (rtld-prefix): Define built linker prefix.
34280 * Rules (run-bench): Use it.
34281 * math/Makefile (run-regen-ulps): Likewise.
34282
34283 * Rules (bench): Remove eval.
34284
34285 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34286 Roland McGrath <roland@hack.frob.com>
34287 Ondrej Bilka <neleai@seznam.cz>
34288
34289 [BZ #15346]
34290 * time/getdate.c: Include ctype.h and alloca.h.
34291 (__getdate_r): Trim leading and trailing spaces of input.
34292 * time/tst-getdate.c (tests): Add tests with leading and
34293 trailing spaces.
34294
34295 2013-04-08 Roland McGrath <roland@hack.frob.com>
34296
34297 [BZ #14280]
34298 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
34299 when computing value.
34300
34301 2013-04-06 Carlos O'Donell <carlos@redhat.com>
34302
34303 * math/README.libm-test (How can I generate "libm-test-ulps"?):
34304 Use testrun.sh to run libm tests.
34305
34306 [BZ #15309]
34307 * elf/dl-open.c (dl_open_worker): memset all of seen array.
34308
34309 2013-04-06 Marko Myllynen <myllynen@redhat.com>
34310
34311 [BZ #15264]
34312 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
34313
34314 2013-04-06 Carlos O'Donell <carlos@redhat.com>
34315
34316 * Makefile.in (regen-ulps): New target.
34317 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
34318 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
34319 [ifneq (no,$(PERL)] (regen-ulps): New target.
34320 [ifeq (no,$(PERL)] (regen-ulps): New target.
34321 * math/libm-test.inc (ulps_file_name): Define.
34322 (output_dir): New variable.
34323 (options): Add "output-dir" option.
34324 (parse_opt): Handle 'o' case.
34325 (main): If output_dir is non-NULL use it as a prefix
34326 otherwise use "".
34327 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
34328
34329 2013-04-06 Carlos O'Donell <carlos@redhat.com>
34330
34331 [BZ #10060, #10062]
34332 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
34333 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
34334 fail configure if __sync_val_compare_and_swap is not inlined.
34335 * sysdeps/i386/configure: Regenerate.
34336 * configure.in: Build for i686 when configured for i386.
34337 * configure: Regenerate.
34338 * README: Remove i386 reference.
34339
34340 2013-04-06 Carlos O'Donell <carlos@redhat.com>
34341
34342 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
34343 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34344
34345 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
34346
34347 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
34348 (lmsnanval): New variables.
34349 (F): Add conversion tests.
34350 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
34351 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
34352
34353 * stdio-common/tstdiomisc.c (F): Properly collect individual
34354 tests' results.
34355
34356 [BZ #14686, #15336]
34357 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
34358 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
34359 Instead, use input NaN values or generate a qNaN by arithmetic
34360 operation. Also fix bugs to comply with the standard.
34361 * math/libm-test.inc (remainder_test): Add more tests.
34362
34363 [BZ #15335, #15342]
34364 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
34365 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
34366 input NaN values or generate a qNaN by arithmetic operation.
34367
34368 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
34369 unreachable code.
34370
34371 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
34372 definitions.
34373
34374 2013-04-03 Joseph Myers <joseph@codesourcery.com>
34375
34376 [BZ #14478]
34377 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
34378 underflowed result.
34379 * math/s_cexpf.c (__cexpf): Likewise.
34380 * math/s_cexpl.c (__cexpl): Likewise.
34381 * math/libm-test.inc (cexp_test): Add more tests.
34382
34383 2013-04-03 Andreas Schwab <schwab@suse.de>
34384
34385 [BZ #15330]
34386 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
34387 order arrays from heap if bigger than alloca cutoff.
34388
34389 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
34390
34391 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
34392 (SNAN_TESTS_double): Refer to GCC PR56831.
34393 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
34394 GCC PR56828.
34395
34396 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
34397
34398 * Rules (bench): Move bench.out after the run is complete.
34399
34400 * Rules (bench): Echo currently running benchmark.
34401
34402 * benchtests/Makefile (bench): Add atan and slowatan.
34403 * benchtests/atan-inputs: New file.
34404 * benchtests/slowatan-inputs: New file.
34405 * benchtests/slowatan.c: New file.
34406
34407 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
34408 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
34409 its value.
34410
34411 [BZ #15305]
34412 * sysdeps/unix/sysv/linux/kernel-features.h
34413 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
34414 __ASSUME_XFS_RESTRICTED_CHOWN.
34415 * sysdeps/unix/sysv/linux/pathconf.c
34416 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
34417 Save and restore errno.
34418
34419 2013-04-02 Joseph Myers <joseph@codesourcery.com>
34420
34421 [BZ #15327]
34422 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
34423 arguments using __kernel_casinh.
34424 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
34425 arguments using __kernel_casinhf.
34426 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
34427 arguments using __kernel_casinhl.
34428 * math/libm-test.inc (cacosh_test): Add more tests.
34429 * sysdeps/i386/fpu/libm-test-ulps: Update.
34430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34431
34432 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34433
34434 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
34435 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
34436
34437 * bench/Makefile (bench): Add sin and slowsin.
34438 * benchtests/sin-inputs: New file.
34439 * benchtests/slowsin-inputs: New file.
34440 * benchtests/slowsin.c: New file.
34441
34442 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
34443 (bench): Add slowexp and slowpow.
34444 (exp-ITER): Increase iterations.
34445 (pow-ITER): Likewise.
34446 * benchtests/exp-inputs: Change input.
34447 * benchtests/pow-inputs: Likewise.
34448 * benchtests/slowexp-inputs: New file.
34449 * benchtests/slowexp.c: New file.
34450 * benchtests/slowpow-inputs: New file.
34451 * benchtests/slowpow.c: New file.
34452
34453 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34454
34455 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
34456 instructions.
34457 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
34458 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
34459 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
34460 * benchtests/Makefile: Add rint benchtest.
34461 * benchtests/rint-inputs: Input for rint benchtest.
34462
34463 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
34464
34465 * Versions.def (libm): Add GLIBC_2.18.
34466 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
34467 hidden libm prototypes.
34468 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
34469 * math/Makefile (libm-calls): Add s_issignaling.
34470 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
34471 __issignalingf, __issignalingl. Adjust all libm.abilist files.
34472 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
34473 declaration.
34474 * math/math.h [__USE_GNU] (issignaling): New macro.
34475 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
34476 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
34477 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
34478 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
34479 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
34480 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
34481 * manual/arith.texi (issignaling): New section.
34482 * manual/libm-err-tab.pl (@all_functions): Update comment.
34483 * math/gen-libm-test.pl (parse_args): Apply special handling for
34484 issignaling.
34485 * math/libm-test.inc (print_float, issignaling_test): New
34486 functions.
34487 (check_float_internal): Add issignaling checks.
34488 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
34489 default definition.
34490 * sysdeps/powerpc/math-tests.h: New file.
34491 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
34492 tests.
34493 * math/test-snan.c (TEST_FUNC): Likewise.
34494
34495 2013-03-30 David S. Miller <davem@davemloft.net>
34496
34497 * po/de.po: Update from translation team.
34498
34499 2013-03-30 Joseph Myers <joseph@codesourcery.com>
34500
34501 [BZ #10357]
34502 * math/k_casinh.c (__kernel_casinh): Handle arguments with
34503 imaginary part less than 1.0 and real part less than 0.5
34504 specially.
34505 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34506 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34507 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
34508 (cacos_test): Add more tests.
34509 (casin_test): Likewise.
34510 (casinh_test): Likewise.
34511 * sysdeps/i386/fpu/libm-test-ulps: Update.
34512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34513
34514 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34515
34516 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
34517 ONE with its value.
34518
34519 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
34520 (__pow_mp): Replace ONE and MONE with their values.
34521 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34522 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
34523 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34524 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
34525 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34526 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34527
34528 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
34529
34530 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
34531 (__pow_mp): Replace ZERO and MZERO with their values.
34532 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34533 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34534 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34535 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34536 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34537 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
34538 (__sqr): Likewise.
34539
34540 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
34541
34542 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
34543
34544 2013-03-28 Roland McGrath <roland@hack.frob.com>
34545
34546 * include/stdlib.h [!SHARED] (__call_tls_dtors):
34547 Declare with __attribute__ ((weak)).
34548 * stdlib/exit.c (__libc_atexit) [!SHARED]:
34549 Call __call_tls_dtors only if it's not NULL.
34550
34551 2013-03-28 Roland McGrath <roland@hack.frob.com>
34552
34553 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
34554 didn't do it already, then set _dl_phdr and _dl_phnum based on the
34555 magic __ehdr_start linker symbol if it's defined.
34556 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
34557 them up here if it was already done.
34558
34559 * elf/dl-support.c (_dl_phdr): Make pointer to const.
34560 (_dl_aux_init): Use const in cast when setting it.
34561 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
34562 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
34563 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
34564
34565 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
34566 Declare them here.
34567 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
34568 * csu/libc-tls.c: Nor here.
34569 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
34570
34571 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
34572 (__libc_message): Never call vsyslog.
34573
34574 2013-03-28 Alan Modra <amodra@gmail.com>
34575
34576 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
34577 Define as empty.
34578 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
34579 Likewise.
34580
34581 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34582
34583 [BZ #15214]
34584 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
34585 underflow.
34586 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34587
34588 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34589
34590 [BZ #15304]
34591 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
34592 Don't add gid passed as argument.
34593
34594 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
34595
34596 2013-03-27 Joseph Myers <joseph@codesourcery.com>
34597
34598 [BZ #15307]
34599 * math/k_casinh.c (__kernel_casinh): Handle arguments with
34600 imaginary part between 1.0 and 1.5 and real part less than 0.5
34601 specially.
34602 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34603 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34604 * math/libm-test.inc (cacos_test): Add more tests.
34605 (casin_test): Likewise.
34606 (casinh_test): Likewise.
34607 * sysdeps/i386/fpu/libm-test-ulps: Update.
34608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34609
34610 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34611
34612 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
34613 constants.
34614 (norm): Likewise.
34615 (denorm): Likewise.
34616 (__dbl_mp): Likewise.
34617 (add_magnitudes): Likewise.
34618 (sub_magnitudes): Likewise.
34619 (__add): Likewise.
34620 (__sub): Likewise.
34621 (__mul): Likewise.
34622 (__sqr): Likewise.
34623 (__inv): Likewise.
34624 (__dvd): Likewise.
34625
34626 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
34627 commented code.
34628 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
34629 (__dubcos): Likewise.
34630 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
34631 (__ieee754_acos): Likewise.
34632 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34633 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
34634 (__exp1): Likewise.
34635 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34636 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34637 (log1): Likewise.
34638 (my_log2): Likewise.
34639 (checkint): Likewise.
34640 * sysdeps/ieee754/dbl-64/e_remainder.c
34641 (__ieee754_remainder): Likewise.
34642 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34643 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
34644 (bsloww): Likewise.
34645 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34646
34647 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34648 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
34649 MANTISSA_STORE_T to store computations on mantissa. Use
34650 macros for rounding and division.
34651 (denorm): Likewise.
34652 (__dbl_mp): Likewise.
34653 (add_magnitudes): Likewise.
34654 (sub_magnitudes): Likewise.
34655 (__mul): Likewise.
34656 (__sqr): Likewise.
34657 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
34658 powers of two in terms of TWOPOW macro.
34659 (mp_no): Make type of mantissa as MANTISSA_T.
34660 [!RADIXI]: Define RADIXI.
34661 [!TWO52]: Define TWO52.
34662 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34663
34664 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34665
34666 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
34667 llroundl symbol when building for PPC32.
34668
34669 2013-03-24 Mark H Weaver <mhw@netris.org>
34670
34671 * manual/arith.texi (Normalization Functions): Fix prototypes for
34672 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
34673
34674 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34675
34676 [BZ #13889]
34677 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
34678 high value to check if expl overflow.
34679 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
34680 to check for underflow and overflow.
34681 * math/libm-test.inc: Add exp test.
34682
34683 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
34684
34685 [BZ #11120]
34686 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
34687 with NOT_IN_libc.
34688
34689 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34690
34691 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
34692 symbol.
34693
34694 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
34695
34696 * math/gen-libm-test.pl (parse_args, special_functions): Properly
34697 wrap blocks consisting of several statements.
34698
34699 * sysdeps/generic/math-tests.h: New file.
34700 * sysdeps/i386/fpu/math-tests.h: Likewise.
34701 * math/test-snan.c: Include it.
34702 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
34703
34704 2013-03-21 Joseph Myers <joseph@codesourcery.com>
34705
34706 [BZ #15285]
34707 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
34708 (__ieee754_j0l): Do not improve calculations using cos of twice
34709 input for inputs above LDBL_MAX / 2.0L.
34710 (__ieee754_y0l): Likewise.
34711 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
34712 (__ieee754_j1l): Do not improve calculations using cos of twice
34713 input for inputs above LDBL_MAX / 2.0L.
34714 (__ieee754_y1l): Likewise.
34715 * math/libm-test.inc (j0_test): Add another test.
34716 (j1_test): Likewise.
34717 (y0_test): Likewise.
34718 (y1_test): Likewise.
34719 * sysdeps/i386/fpu/libm-test-ulps: Update.
34720
34721 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34722
34723 * Rules ($(objpfx)bench-%.c): Include code from a C source
34724 file.
34725
34726 2013-03-21 Joseph Myers <joseph@codesourcery.com>
34727
34728 [BZ #15287]
34729 * math/k_casinh.c (__kernel_casinh): Handle arguments with
34730 imaginary part 1.0 and real part less than 0.5 specially.
34731 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34732 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34733 * math/libm-test.inc (cacos_test): Add more tests.
34734 (casin_test): Likewise.
34735 (casinh_test): Likewise.
34736 * sysdeps/i386/fpu/libm-test-ulps: Update.
34737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34738
34739 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34740
34741 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
34742 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
34743
34744 2013-03-20 Joseph Myers <joseph@codesourcery.com>
34745
34746 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
34747 * config.make.in (config-cflags-sse4): Remove variable.
34748 (config-cflags-avx): Likewise.
34749 (config-cflags-sse2avx): Likewise.
34750 (config-cflags-novzeroupper): Likewise.
34751 (config-asflags-i686): Likewise.
34752 (have-mfma4): Likewise.
34753 (have-as-vis3): Likewise.
34754 (MIG): Likewise.
34755 * configure.in (MIG): Do not AC_SUBST.
34756 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
34757 (libc_cv_cc_sse4): Do not AC_SUBST.
34758 (libc_cv_cc_avx): Likewise.
34759 (libc_cv_cc_sse2avx): Likewise.
34760 (libc_cv_cc_novzeroupper): Likewise.
34761 (libc_cv_cc_fma4): Likewise.
34762 (libc_cv_as_i686): Likewise.
34763 (libc_cv_sparc_as_vis3): Likewise.
34764 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
34765 LIBC_CONFIG_VAR.
34766 (config-asflags-i686): Likewise.
34767 (config-cflags-avx): Likewise.
34768 (config-cflags-sse2avx): Likewise.
34769 (have-mfma4): Likewise.
34770 (config-cflags-novzeroupper): Likewise.
34771 * sysdeps/mach/configure.in (MIG): Likewise.
34772 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
34773 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
34774 LIBC_CONFIG_VAR.
34775 (config-cflags-avx): Likewise.
34776 (config-cflags-sse2avx): Likewise.
34777 (have-mfma4): Likewise.
34778 (config-cflags-novzeroupper): Likewise.
34779 * configure: Regenerated.
34780 * sysdeps/i386/configure: Likewise.
34781 * sysdeps/mach/configure: Likewise.
34782 * sysdeps/sparc/configure: Likewise.
34783 * sysdeps/x86_64/configure: Likewise.
34784
34785 2013-03-20 Roland McGrath <roland@hack.frob.com>
34786
34787 [BZ #14812]
34788 * locale/programs/localedef.c (options): Put N_ translation marker
34789 on argument names, not just descriptions.
34790
34791 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34792
34793 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
34794
34795 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
34796
34797 [BZ #14176]
34798 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
34799
34800 2013-03-19 Roland McGrath <roland@hack.frob.com>
34801
34802 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
34803 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
34804 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
34805 [!BEFORE_ABORT] (before_abort): New function.
34806 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
34807 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
34808 (writev_for_fatal): New function.
34809 (WRITEV_FOR_FATAL): New macro; call that.
34810 (backtrace_and_maps): New function.
34811 (BEFORE_ABORT): New macro; call that.
34812 (struct str_list): Type removed.
34813 (__libc_message, __libc_fatal): Functions removed.
34814 Include <sysdeps/posix/libc_fatal.c> instead.
34815
34816 2013-03-19 Joseph Myers <joseph@codesourcery.com>
34817
34818 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
34819 constants.
34820 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
34821 double constants.
34822
34823 2013-03-19 Andreas Schwab <schwab@suse.de>
34824
34825 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
34826 * sysdeps/gnu/configure: Regenerate.
34827
34828 * configure.in: Substitute libc_cv_rtlddir.
34829 * configure: Regenerate.
34830 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
34831 * Makeconfig (rtlddir, inst_rtlddir): New variables.
34832 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
34833 * elf/Makefile (install-others, CFLAGS-interp.c)
34834 (ldso_install, common-ldd-rewrite): Likewise.
34835 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
34836 $(inst_slibdir)/$(rtld-installed-name).
34837 * scripts/rellns-sh: Add -p option.
34838 * Makerules (make-shlib-link): Use rellns-sh to get relative name
34839 for source.
34840
34841 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34842
34843 * manual/nptl.texi: Renamed to ...
34844 * manual/threads.texi: ... this.
34845 * manual/Makefile (chapters): Update.
34846
34847 2013-03-18 Roland McGrath <roland@hack.frob.com>
34848
34849 [BZ #14812]
34850 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
34851 on argument names, not just descriptions.
34852 * malloc/memusagestat.c (options): Likewise.
34853 * nss/getent.c (options): Likewise.
34854
34855 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
34856
34857 [BZ #14812]
34858 * iconv/iconv_prog.c (options): Put N_ translation marker
34859 on argument names, not just descriptions.
34860 * iconv/iconvconfig.c (options): Likewise.
34861
34862 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
34863
34864 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
34865 implementation which is faster on all x86_64 architectures.
34866 Tested on AMD, Intel Nehalem, SNB, IVB.
34867 * sysdeps/x86_64/strnlen.S: Likewise.
34868
34869 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34870 Remove all multiarch strlen and strnlen versions.
34871 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
34872 Remove strlen and strnlen related parts.
34873
34874 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
34875 Inline strlen part.
34876 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
34877
34878 * sysdeps/x86_64/multiarch/strlen.S: Remove.
34879 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
34880 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
34881 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
34882 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34883 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
34884
34885 2013-03-17 Carlos O'Donell <carlos@redhat.com>
34886
34887 * manual/memory.texi (Malloc Tunable Parameters):
34888 Sort parameters alphabetically. Add comments for missing entries.
34889
34890 2013-03-17 David S. Miller <davem@davemloft.net>
34891
34892 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34893
34894 2013-03-16 Joseph Myers <joseph@codesourcery.com>
34895
34896 [BZ #15283]
34897 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
34898 for arguments at most half maximum finite value.
34899 * math/libm-test.inc (j0_test): Add more tests.
34900 (j1_test): Likewise.
34901 (y0_test): Likewise.
34902 (y1_test): Likewise.
34903 * sysdeps/i386/fpu/libm-test-ulps: Update.
34904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34905
34906 [BZ #14155]
34907 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
34908 1 / x and functions P and Q for arguments above 0x1p256L.
34909 (__ieee754_y0l): Likewise.
34910 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
34911 (__ieee754_y1l): Likewise.
34912 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
34913 (j1_test): Likewise.
34914 (y0_test): Likewise.
34915 (y1_test): Likewise.
34916
34917 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
34918
34919 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
34920 variable.
34921
34922 2013-03-15 Roland McGrath <roland@hack.frob.com>
34923
34924 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
34925 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
34926 zero since it's initialized to EXEC_PAGESIZE.
34927
34928 * sysdeps/unix/sysv/linux/ldsodefs.h
34929 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
34930 * sysdeps/generic/ldsodefs.h: ... here.
34931
34932 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
34933
34934 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
34935
34936 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
34937 math/test-snan.c.
34938 * math/test-snan.c: Renamed from
34939 sysdeps/powerpc/fpu/test-powerpc-snan.c.
34940 * math/Makefile (tests): Add test-snan.
34941 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
34942 test-powerpc-snan.
34943
34944 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
34945 SUFFIX. Initialize qNaN_var with __builtin_nan family of
34946 functions.
34947 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
34948 __builtin_nan family of functions.
34949 * math/libm-test.inc (initialize): Initialize qnan_value with
34950 __builtin_nan family of functions.
34951 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
34952 Remove variables.
34953 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
34954 Remove functions.
34955 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
34956 storage class. Initialize qNaN_var and sNaN_var with
34957 __builtin_nan and __builtin_nans families of functions,
34958 respectively.
34959
34960 * math/libm-test.inc (acosh_test): Also test with qNaN input.
34961 (sqrt_test): Remove duplicate test with qNaN input.
34962 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
34963 (round_test, signbit_test, significand_test): Note missing +/-Inf
34964 as well as qNaN tests.
34965
34966 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
34967 qNaN_var. Fix a few strings, too.
34968 * math/libm-test.inc (nan_value): Rename to qnan_value.
34969 * math/gen-libm-test.pl (%beautify): Adjust to that.
34970 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
34971 * math/test-misc.c (main): Likewise.
34972 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
34973 to __qnan_bytes, and __qnan_union, respectively.
34974 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
34975 Likewise.
34976 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
34977 and lqnanval, respectively.
34978 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
34979 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
34980 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
34981 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
34982
34983 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
34984 * math/test-misc.c (main) [__x86_64__]: Enable test for long
34985 doubles.
34986
34987 * math/test-misc.c (main): Fix copy'n'pastos.
34988 * misc/tst-efgcvt.c (special): Likewise.
34989
34990 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
34991 Remove declarations.
34992
34993 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34994
34995 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
34996 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
34997 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
34998 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
34999
35000 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35001
35002 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
35003 macro to return vdso values correctly in IFUNC implementations.
35004 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
35005 Optimization by using IFUNC.
35006
35007 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35008 Richard Henderson <rth@redhat.com>
35009 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35010
35011 * Makefile.in (bench): New target.
35012 * NEWS: Mention the benchmark framework.
35013 * Rules (bench): Likewise.
35014 (binaries-bench): Generate binaries for functions to
35015 benchmark.
35016 * benchtests/Makefile: New makefile for benchmark tests.
35017 * benchtests/bench-skeleton.c: New skeleton file for benchmark
35018 programs.
35019 * benchtests/exp-inputs: New input file for EXP function.
35020 * benchtests/pow-inputs: New input file for POW function.
35021 * scripts/bench.pl: New script to generate source files for
35022 benchmark programs.
35023
35024 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35025
35026 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35027 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
35028 computations on mantissa. Use macros for rounding and
35029 division.
35030 (denorm): Likewise.
35031 (__dbl_mp): Likewise.
35032 (add_magnitudes): Likewise.
35033 (sub_magnitudes): Likewise.
35034 (__mul): Likewise.
35035 (__sqr): Likewise.
35036 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
35037 powers of two in terms of TWOPOW macro.
35038 (mp_no): Make type of mantissa as MANTISSA_T.
35039 [!RADIXI]: Define RADIXI.
35040 [!TWO52]: Define TWO52.
35041 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35042
35043 * manual/nptl.texi (cindex): Modify threads to pthreads.
35044
35045 2013-03-15 Joseph Myers <joseph@codesourcery.com>
35046
35047 * sysdeps/x86_64/preconfigure: Regenerated.
35048
35049 2013-03-14 Joseph Myers <joseph@codesourcery.com>
35050
35051 [BZ #14155]
35052 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
35053 0x1p28 and above.
35054 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
35055 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
35056 0x1p28 and above.
35057 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
35058 * math/libm-test.inc (j0_test): Do not allow one spurious
35059 underflow exception.
35060 (y1_test): Likewise.
35061
35062 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
35063
35064 * manual/Makefile (chapters): Add nptl.
35065 * manual/debug.texi (Debugging Support): Add link to Threads
35066 chapter.
35067 * manual/nptl.texi: New file.
35068
35069 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
35070
35071 2013-03-14 Petr Baudis <pasky@ucw.cz>
35072
35073 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
35074 for non-NULL pointer before the memory validity test. Pointed
35075 out by Holger Brunck <holger.brunck@keymile.com>.
35076
35077 2013-03-13 Andreas Schwab <schwab@suse.de>
35078
35079 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
35080 instead of .os.
35081
35082 2013-03-13 Joseph Myers <joseph@codesourcery.com>
35083
35084 * timezone/zic.c: Update from tzcode 2013b.
35085
35086 2013-03-12 Carlos O'Donell <carlos@redhat.com>
35087
35088 * manual/install.texi (Configuring and compiling):
35089 Mention i686 and i586.
35090 * INSTALL: Regenerate.
35091
35092 2013-03-12 Roland McGrath <roland@hack.frob.com>
35093
35094 * sysdeps/init_array/elf-init.c: New file.
35095 * csu/elf-init.c
35096 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
35097 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
35098
35099 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
35100 __gmon_start__ as global, but as static with a .preinit_array pointer.
35101 * sysdeps/init_array/gmon-start.c: New file. Use that.
35102 * sysdeps/init_array/crti.S: New file, empty except for comments.
35103 * sysdeps/init_array/crtn.S: Likewise.
35104
35105 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
35106
35107 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
35108 definining bcopy.
35109 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35110 Remove Prefer_SSE_for_memop.
35111 * sysdeps/x86_64/multiarch/init-arch.h: Remove
35112 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
35113 HAS_PREFER_SSE_FOR_MEMOP.
35114 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
35115 memset-x86-64.
35116 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35117 Remove bzero, memset ifunc support.
35118 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
35119 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
35120 * sysdeps/x86_64/multiarch/memset.S: Likewise.
35121 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35122
35123 2013-03-11 Andreas Schwab <schwab@suse.de>
35124
35125 [BZ #15234]
35126 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
35127 by SHLIB_COMPAT.
35128 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
35129 (GLIBC_2.16): Remove pthread_atfork.
35130
35131 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
35132
35133 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
35134 (ptestcases.h): Likewise.
35135
35136 2013-03-08 Roland McGrath <roland@hack.frob.com>
35137
35138 * Makeconfig ($(common-objpfx)config.status): Depend on
35139 sysdeps/*/preconfigure{,.in} too.
35140
35141 2013-03-08 Joseph Myers <joseph@codesourcery.com>
35142
35143 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
35144 (__free_hook): Use void * instead of __malloc_ptr_t.
35145 (__malloc_hook): Likewise.
35146 (__realloc_hook): Likewise.
35147 (__memalign_hook): Likewise.
35148 (__after_morecore_hook): Likewise.
35149 * malloc/arena.c (save_malloc_hook): Likewise.
35150 (save_free_hook): Likewise.
35151 * malloc/hooks.c (malloc_hook_ini): Likewise.
35152 (realloc_hook_ini): Likewise.
35153 (memalign_hook_ini): Likewise.
35154 * malloc/malloc.c (malloc_hook_ini): Likewise.
35155 (realloc_hook_ini): Likewise.
35156 (memalign_hook_ini): Likewise.
35157 (__free_hook): Likewise.
35158 (__malloc_hook): Likewise.
35159 (__realloc_hook): Likewise.
35160 (__memalign_hook): Likewise.
35161 (__libc_malloc): Likewise.
35162 (__libc_free): Likewise.
35163 (__libc_realloc): Likewise.
35164 (__libc_memalign): Likewise.
35165 (__libc_valloc): Likewise.
35166 (__libc_pvalloc): Likewise.
35167 (__libc_calloc): Likewise.
35168 (__posix_memalign): Likewise.
35169 * malloc/morecore.c (__sbrk): Likewise.
35170 (__default_morecore): Likewise.
35171
35172 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
35173
35174 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
35175 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
35176 __malloc_ptrdiff_t.
35177
35178 * malloc/malloc.h (__malloc_size_t): Remove macro.
35179 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
35180 __malloc_size_t.
35181 (old_memalign_hook): Likewise.
35182 (old_realloc_hook): Likewise.
35183 (struct hdr): Likewise.
35184 (flood): Likewise.
35185 (mallochook): Likewise.
35186 (memalignhook): Likewise.
35187 (reallochook): Likewise.
35188 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
35189 (tr_old_realloc_hook): Likewise.
35190 (tr_old_memalign_hook): Likewise.
35191 (tr_mallochook): Likewise.
35192 (tr_reallochook): Likewise.
35193 (tr_memalignhook): Likewise.
35194
35195 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35196
35197 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
35198 default_ldbl_pack and using as default implementation.
35199 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
35200 implementation.
35201 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
35202 redundant definition.
35203 (ldbl_insert_mantissa): Likewise.
35204 (ldbl_canonicalize): Likewise.
35205 (ldbl_nearbyint): Likewise.
35206 (ldbl_pack): Rename to ldbl_pack_ppc.
35207 (ldbl_unpack): Rename to ldbl_unpack_ppc.
35208 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
35209 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
35210
35211 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
35212
35213 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
35214 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
35215 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
35216 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
35217 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
35218 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
35219 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
35220 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
35221
35222 2013-03-07 Andreas Jaeger <aj@suse.de>
35223
35224 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35225 bits/mman-linux.h.
35226
35227 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
35228
35229 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
35230 Include mpa.h and declare __MPEXP.
35231 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
35232 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35233 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35234 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
35235 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35236 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35237 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
35238
35239 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
35240 (__slowpow): Use long double EXPL and LOGL functions to
35241 compute POW.
35242 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35243 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35244 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
35245 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35246 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35247 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
35248
35249 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
35250 intermediate variable to calculate exponent.
35251 (__sqr): Likewise.
35252 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35253 Likewise.
35254 (__sqr): Likewise.
35255
35256 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
35257 [!NO__SQR]: Define __sqr.
35258 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
35259 and NO__SQR. Remove all code except __mul and __sqr. Include
35260 sysdeps/ieee754/dbl-64/mpa.c.
35261 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35262
35263 [BZ #12723]
35264 * posix/Makefile (tests): Add tst-pathconf.
35265 * posix/tst-pathconf.c: New test case.
35266 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
35267 _PC_PIPE_BUF.
35268 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
35269
35270 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
35271
35272 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
35273
35274 2013-03-06 Andreas Jaeger <aj@suse.de>
35275
35276 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
35277 definition via __MAP_ANONYMOUS.
35278
35279 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
35280 it's not part of Linux headers.
35281
35282 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
35283 (MAP_HUGE_MASK): Define.
35284
35285 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35286 Define.
35287 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35288 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35289 Define.
35290 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35291 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35292 Define.
35293 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35294 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
35295 Define.
35296 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35297
35298 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
35299 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
35300 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
35301 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
35302 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
35303 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
35304
35305 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35306 Handle f2fs.
35307
35308 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35309 Handle f2fs and efivarfs.
35310
35311 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
35312 f2fs.
35313
35314 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
35315 (EFIVARFS_MAGIC): Add.
35316 (F2FS_LINK_MAX): Add.
35317
35318 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35319
35320 * stdio-common/vfprintf.c: Replace __builtin_expect with
35321 __glibc_unlikely.
35322
35323 2013-03-06 Joseph Myers <joseph@codesourcery.com>
35324
35325 [BZ #13550]
35326 * sysdeps/generic/bp-sym.h: Remove file.
35327 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
35328 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
35329 <bp-sym.h> and <bp-asm.h>.
35330 (__longjmp): Don't use BP_SYM.
35331 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
35332 and <bp-asm.h>.
35333 (memcpy): Don't use BP_SYM.
35334 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
35335 <bp-sym.h> and <bp-asm.h>.
35336 (memcpy): Don't use BP_SYM.
35337 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
35338 <bp-asm.h>.
35339 (memcpy): Don't use BP_SYM.
35340 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
35341 <bp-asm.h>.
35342 (memset): Don't use BP_SYM.
35343 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35344 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35345 (__bzero): Don't use BP_SYM.
35346 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35347 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35348 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
35349 <bp-sym.h> and <bp-asm.h>.
35350 (memcmp): Don't use BP_SYM. Remove comment about bounded
35351 pointers.
35352 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
35353 <bp-sym.h> and <bp-asm.h>.
35354 (memcpy): Don't use BP_SYM.
35355 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
35356 <bp-sym.h> and <bp-asm.h>.
35357 (memset): Don't use BP_SYM.
35358 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35359 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35360 (__bzero): Don't use BP_SYM.
35361 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35362 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35363 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
35364 <bp-sym.h> and <bp-asm.h>.
35365 (strncmp): Don't use BP_SYM. Remove comment about bounded
35366 pointers.
35367 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
35368 <bp-sym.h> and <bp-asm.h>.
35369 (memcpy): Don't use BP_SYM.
35370 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
35371 <bp-sym.h> and <bp-asm.h>.
35372 (memset): Don't use BP_SYM.
35373 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35374 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35375 (__bzero): Don't use BP_SYM.
35376 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35377 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35378 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
35379 <bp-sym.h> and <bp-asm.h>.
35380 (__memchr): Don't use BP_SYM.
35381 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
35382 <bp-sym.h> and <bp-asm.h>.
35383 (memcmp): Don't use BP_SYM. Remove comment about bounded
35384 pointers.
35385 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
35386 <bp-sym.h> and <bp-asm.h>.
35387 (memcpy): Don't use BP_SYM.
35388 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
35389 <bp-sym.h> and <bp-asm.h>.
35390 (__mempcpy): Don't use BP_SYM.
35391 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
35392 <bp-sym.h> and <bp-asm.h>.
35393 (__memrchr): Don't use BP_SYM.
35394 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
35395 <bp-sym.h> and <bp-asm.h>.
35396 (memset): Don't use BP_SYM.
35397 (__bzero): Likewise.
35398 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
35399 <bp-sym.h> and <bp-asm.h>.
35400 (__rawmemchr): Don't use BP_SYM.
35401 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
35402 <bp-sym.h> and <bp-asm.h>.
35403 (__STRCMP): Don't use BP_SYM.
35404 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
35405 <bp-sym.h> and <bp-asm.h>.
35406 (strchr): Don't use BP_SYM.
35407 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
35408 <bp-sym.h> and <bp-asm.h>.
35409 (__strchrnul): Don't use BP_SYM.
35410 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
35411 <bp-sym.h> and <bp-asm.h>.
35412 (strlen): Don't use BP_SYM.
35413 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
35414 <bp-sym.h> and <bp-asm.h>.
35415 (strncmp): Don't use BP_SYM. Remove comment about bounded
35416 pointers.
35417 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
35418 <bp-sym.h> and <bp-asm.h>.
35419 (__strnlen): Don't use BP_SYM.
35420 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
35421 <bp-sym.h> and <bp-asm.h>.
35422 (__GI__setjmp): Don't use BP_SYM.
35423 (_setjmp): Likewise.
35424 (__sigsetjmp): Likewise.
35425 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
35426 (L(start_addresses)): Don't use BP_SYM.
35427 (_start): Likewise.
35428 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
35429 <bp-asm.h>.
35430 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
35431 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
35432 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35433 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35434 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
35435 <bp-asm.h>.
35436 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
35437 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
35438 about bounded pointers.
35439 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35440 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35441 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
35442 <bp-asm.h>.
35443 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
35444 about bounded pointers. Remove GKM FIXME comments.
35445 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35446 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
35447 <bp-asm.h>.
35448 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
35449 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
35450 Remove GKM FIXME comments.
35451 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35452 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35453 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
35454 <bp-asm.h>.
35455 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
35456 about bounded pointers. Remove GKM FIXME comment.
35457 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
35458 and <bp-asm.h>.
35459 (strncmp): Don't use BP_SYM. Remove comment about bounded
35460 pointers.
35461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
35462 <bp-sym.h> and <bp-asm.h>.
35463 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
35465 <bp-sym.h> and <bp-asm.h>.
35466 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
35467 comment.
35468
35469 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35470
35471 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
35472 call free(NULL).
35473
35474 2013-03-05 David S. Miller <davem@davemloft.net>
35475
35476 * po/es.po: Update from translation team.
35477
35478 2013-03-05 Andreas Jaeger <aj@suse.de>
35479
35480 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
35481 <bits/mman-linux.h>.
35482 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35483 is fine.
35484 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
35485 <bits/mman-linux.h> to end of file.
35486 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35487 is fine.
35488 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
35489 <bits/mman-linux.h> to end of file.
35490 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35491 is fine.
35492 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
35493 <bits/mman-linux.h> to end of file.
35494
35495 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
35496 (MCL_CURRENT, MCL_FUTURE): Define here.
35497
35498 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35499
35500 [BZ #15232]
35501 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
35502 attribute_hidden.
35503 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35504
35505 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35506
35507 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
35508 fourth parameter needed for rt_sigprocmask syscall.
35509 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
35510 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
35511 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
35512 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
35513 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
35514 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
35515
35516 2013-03-04 Joseph Myers <joseph@codesourcery.com>
35517
35518 [BZ #13550]
35519 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
35520 comment about bounded pointers.
35521 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
35522 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
35523
35524 2013-03-04 Andreas Jaeger <aj@suse.de>
35525
35526 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
35527 common definitions.
35528
35529 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
35530 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
35531 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
35532 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35533 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35534 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35535
35536 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35537
35538 [BZ #15055]
35539 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
35540 __ieee754_sqrl instead of __sqrl.
35541
35542 2013-03-01 Joseph Myers <joseph@codesourcery.com>
35543
35544 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
35545 * sysdeps/powerpc/fpu_control.h: ... here.
35546 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
35547 * sysdeps/powerpc/bits/fenvinline.h: ... here.
35548 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
35549 * sysdeps/powerpc/bits/mathinline.h: ... here.
35550
35551 2013-03-01 Roland McGrath <roland@hack.frob.com>
35552
35553 * elf/dl-hwcaps.c (_dl_important_hwcaps):
35554 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
35555 to just [NEED_DL_SYSINFO_DSO].
35556 * elf/dl-support.c: Likewise.
35557 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
35558 * elf/rtld.c (dl_main): Likewise.
35559 * elf/setup-vdso.h (setup_vdso): Likewise.
35560 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
35561 * sysdeps/unix/sysv/linux/dl-sysdep.c
35562 (_dl_discover_osversion): Likewise.
35563
35564 2013-03-01 Carlos O'Donell <carlos@redhat.com>
35565
35566 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
35567 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35568
35569 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
35570
35571 * NEWS: Mention libm performance improvements and non-x86 PI
35572 futex support.
35573
35574 * csu/libc-start.c (__pthread_initialize_minimal): Change
35575 function arguments.
35576 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35577
35578 2013-02-28 Joseph Myers <joseph@codesourcery.com>
35579
35580 [BZ #13550]
35581 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
35582 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
35583 <bp-sym.h> and <bp-asm.h>.
35584 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35585 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
35586 and <bp-asm.h>.
35587 (memcpy): Don't use BP_SYM.
35588 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
35589 <bp-asm.h>.
35590 (__mpn_add_n): Don't use BP_SYM.
35591 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
35592 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
35593 and <bp-asm.h>.
35594 (__mpn_addmul_1): Don't use BP_SYM.
35595 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35596 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
35597 <bp-sym.h>.
35598 (_setjmp): Don't use BP_SYM.
35599 (__novmx_setjmp): Likewise.
35600 (__GI__setjmp): Likewise.
35601 (__vmx_setjmp): Likewise.
35602 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
35603 <bp-sym.h>.
35604 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
35605 (__bzero): Don't use BP_SYM.
35606 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35607 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35608 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
35609 <bp-sym.h> and <bp-asm.h>.
35610 (memcpy): Don't use BP_SYM.
35611 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
35612 <bp-sym.h> and <bp-asm.h>.
35613 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35614 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
35615 <bp-sym.h> and <bp-asm.h>.
35616 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35617 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
35618 <bp-asm.h>.
35619 (__mpn_lshift): Don't use BP_SYM.
35620 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35621 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
35622 <bp-asm.h>.
35623 (memset): Don't use BP_SYM.
35624 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35625 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35626 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
35627 <bp-asm.h>.
35628 (__mpn_mul_1): Don't use BP_SYM.
35629 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35630 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
35631 <bp-sym.h> and <bp-asm.h>.
35632 (memcmp): Don't use BP_SYM.
35633 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
35634 <bp-sym.h> and <bp-asm.h>.
35635 (memcpy): Don't use BP_SYM.
35636 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
35637 <bp-sym.h> and <bp-asm.h>.
35638 (memset): Don't use BP_SYM.
35639 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
35640 <bp-sym.h> and <bp-asm.h>.
35641 (strncmp): Don't use BP_SYM.
35642 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
35643 <bp-sym.h> and <bp-asm.h>.
35644 (memcpy): Don't use BP_SYM.
35645 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
35646 <bp-sym.h> and <bp-asm.h>.
35647 (memset): Don't use BP_SYM.
35648 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
35649 <bp-sym.h> and <bp-asm.h>.
35650 (__memchr): Don't use BP_SYM.
35651 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
35652 <bp-sym.h> and <bp-asm.h>.
35653 (memcmp): Don't use BP_SYM.
35654 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
35655 <bp-sym.h> and <bp-asm.h>.
35656 (memcpy): Don't use BP_SYM.
35657 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
35658 <bp-sym.h> and <bp-asm.h>.
35659 (__mempcpy): Don't use BP_SYM.
35660 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
35661 <bp-sym.h> and <bp-asm.h>.
35662 (__memrchr): Don't use BP_SYM.
35663 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
35664 <bp-sym.h> and <bp-asm.h>.
35665 (memset): Don't use BP_SYM.
35666 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
35667 <bp-sym.h> and <bp-asm.h>.
35668 (__rawmemchr): Don't use BP_SYM.
35669 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
35670 <bp-sym.h> and <bp-asm.h>.
35671 (__STRCMP): Don't use BP_SYM.
35672 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
35673 <bp-sym.h> and <bp-asm.h>.
35674 (strchr): Don't use BP_SYM.
35675 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
35676 <bp-sym.h> and <bp-asm.h>.
35677 (__strchrnul): Don't use BP_SYM.
35678 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
35679 <bp-sym.h> and <bp-asm.h>.
35680 (strlen): Don't use BP_SYM.
35681 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
35682 <bp-sym.h> and <bp-asm.h>.
35683 (strncmp): Don't use BP_SYM.
35684 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
35685 <bp-sym.h> and <bp-asm.h>.
35686 (__strnlen): Don't use BP_SYM.
35687 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
35688 <bp-asm.h>.
35689 (__mpn_rshift): Don't use BP_SYM.
35690 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35691 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
35692 <bp-sym.h> and <bp-asm.h>.
35693 (__sigsetjmp): Don't use BP_SYM.
35694 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
35695 (L(start_addresses)): Don't use BP_SYM.
35696 (_start): Likewise.
35697 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
35698 <bp-asm.h>.
35699 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
35700 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35701 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35702 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
35703 <bp-asm.h>.
35704 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
35705 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35706 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35707 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
35708 <bp-asm.h>.
35709 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
35710 comments.
35711 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35712 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
35713 <bp-asm.h>.
35714 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
35715 FIXME comments.
35716 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35717 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35718 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
35719 <bp-asm.h>.
35720 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
35721 comment.
35722 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
35723 and <bp-asm.h>.
35724 (strncmp): Don't use BP_SYM,
35725 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
35726 <bp-asm.h>.
35727 (__mpn_sub_n): Don't use BP_SYM.
35728 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35729 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
35730 and <bp-asm.h>.
35731 (__mpn_submul_1): Don't use BP_SYM.
35732 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
35734 <bp-sym.h> and <bp-asm.h>.
35735 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
35737 <bp-sym.h> and <bp-asm.h>.
35738 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
35739 comment.
35740
35741 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35742
35743 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
35744 Use ZK to minimize writes to Z.
35745 (sub_magnitudes): Simplify code a bit.
35746 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
35747 Use ZK to minimize writes to Z.
35748 (sub_magnitudes): Simplify code a bit.
35749
35750 2013-02-27 Roland McGrath <roland@hack.frob.com>
35751
35752 * csu/gmon-start.c: Add special exception to license text.
35753
35754 2013-02-27 Richard Henderson <rth@redhat.com>
35755
35756 * scripts/config.guess: Update from config.git.
35757 * scripts/config.sub: Likewise.
35758
35759 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35760
35761 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
35762
35763 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
35764
35765 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
35766
35767 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
35768
35769 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
35770
35771 2013-02-26 Roland McGrath <roland@hack.frob.com>
35772
35773 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
35774 [$(build-shared = yes].
35775
35776 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35777
35778 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
35779 (__mul): Reduce iterations for calculating mantissa.
35780
35781 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
35782 MPTWO.
35783 (__mpranred): Likewise.
35784
35785 [BZ #15160]
35786 * malloc/memusagestat.c (main): Draw graphs for heap and stack
35787 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
35788
35789 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
35790
35791 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
35792 Define __attribute__.
35793
35794 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35795
35796 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
35797 unused.
35798 * posix/regex_internal.h (__attribute): Remove.
35799 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
35800 (re_string_context_at): Likewise.
35801 (bitset_not): Use __attribute__ and mark function as possibly
35802 unused.
35803 (bitset_merge): Likewise.
35804 (bitset_mask): Likewise.
35805 (re_string_char_size_at): Likewise.
35806 (re_string_wchar_at): Likewise.
35807 (re_string_elem_size_at): Likewise.
35808
35809 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35810
35811 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
35812 code.
35813 (cc32): Likewise.
35814
35815 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
35816 (__acr): Likewise.
35817 (__cpy): Likewise.
35818 (norm): Likewise.
35819 (denorm): Likewise.
35820 (__dbl_mp): Likewise.
35821 (add_magnitudes): Likewise.
35822 (sub_magnitudes): Likewise.
35823 (__mul): Likewise.
35824 (__inv): Likewise.
35825
35826 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
35827 style.
35828
35829 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
35830 style.
35831
35832 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
35833 code.
35834
35835 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
35836 up changes with default code.
35837 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
35838 Likewise.
35839
35840 2013-02-24 Allan McRae <allan@archlinux.org>
35841
35842 * manual/socket.texi (The Internet Namespace): Order menu items
35843 to match that in the file.
35844
35845 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
35846 node listing of the info page menu.
35847
35848 2013-02-21 Joseph Myers <joseph@codesourcery.com>
35849
35850 [BZ #13550]
35851 * sysdeps/i386/bp-asm.h: Remove file.
35852 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35853 (PARMS): Do not use macros from bp-asm.h.
35854 (S1): Likewise.
35855 (S2): Likewise.
35856 (SIZE): Likewise.
35857 (__mpn_add_n): Do not use BP_SYM
35858 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
35859 "bp-asm.h".
35860 (PARMS): Do not use macros from bp-asm.h.
35861 (S1): Likewise.
35862 (SIZE): Likewise.
35863 (__mpn_addmul_1): Do not use BP_SYM
35864 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
35865 "bp-asm.h".
35866 (PARMS): Do not use macros from bp-asm.h.
35867 (SIGMSK): Likewise.
35868 (_setjmp): Likewise. Do not use BP_SYM.
35869 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
35870 "bp-asm.h".
35871 (PARMS): Do not use macros from bp-asm.h.
35872 (SIGMSK): Likewise.
35873 (setjmp): Likewise. Do not use BP_SYM.
35874 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
35875 "bp-asm.h".
35876 (PARMS): Do not use macros from bp-asm.h.
35877 (__frexp): Do not use BP_SYM.
35878 (frexp): Likewise.
35879 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
35880 "bp-asm.h".
35881 (PARMS): Do not use macros from bp-asm.h.
35882 (__frexpf): Do not use BP_SYM.
35883 (frexpf): Likewise.
35884 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
35885 "bp-asm.h".
35886 (PARMS): Do not use macros from bp-asm.h.
35887 (__frexpl): Do not use BP_SYM.
35888 (frexpl): Likewise.
35889 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
35890 "bp-asm.h".
35891 (PARMS): Do not use macros from bp-asm.h.
35892 (__remquo): Do not use BP_SYM.
35893 (remquo): Likewise.
35894 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
35895 "bp-asm.h".
35896 (PARMS): Do not use macros from bp-asm.h.
35897 (__remquof): Do not use BP_SYM.
35898 (remquof): Likewise.
35899 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
35900 "bp-asm.h".
35901 (PARMS): Do not use macros from bp-asm.h.
35902 (__remquol): Do not use BP_SYM.
35903 (remquol): Likewise.
35904 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
35905 "bp-asm.h".
35906 (PARMS): Do not use macros from bp-asm.h.
35907 (DEST): Likewise.
35908 (SRC): Likewise.
35909 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
35910 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
35911 "bp-asm.h".
35912 (PARMS): Do not use macros from bp-asm.h.
35913 (strlen): Do not use BP_SYM.
35914 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
35915 "bp-asm.h".
35916 (PARMS): Do not use macros from bp-asm.h.
35917 (S1): Likewise.
35918 (S2): Likewise.
35919 (SIZE): Likewise.
35920 (__mpn_add_n): Do not use BP_SYM.
35921 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
35922 "bp-asm.h".
35923 (PARMS): Do not use macros from bp-asm.h.
35924 (S1): Likewise.
35925 (SIZE): Likewise.
35926 (__mpn_addmul_1): Do not use BP_SYM.
35927 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
35928 weak_alias.
35929 (bzero): Likewise.
35930 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
35931 "bp-asm.h".
35932 (PARMS): Do not use macros from bp-asm.h.
35933 (S): Likewise.
35934 (SIZE): Likewise.
35935 (__mpn_lshift): Do not use BP_SYM.
35936 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
35937 "bp-asm.h".
35938 (PARMS): Do not use macros from bp-asm.h.
35939 (DEST): Likewise.
35940 (SRC): Likewise.
35941 (LEN): Likewise.
35942 (memcpy): Likewise. Do not use BP_SYM.
35943 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
35944 libc_hidden_def and weak_alias.
35945 (mempcpy): Do not use BP_SYM in weak_alias.
35946 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
35947 "bp-asm.h".
35948 (PARMS): Do not use macros from bp-asm.h.
35949 (DEST): Likewise.
35950 (LEN): Likewise.
35951 [!BZERO_P] (CHR): Likewise.
35952 (memset): Likewise. Do not use BP_SYM.
35953 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
35954 "bp-asm.h".
35955 (PARMS): Do not use macros from bp-asm.h.
35956 (S1): Likewise.
35957 (SIZE): Likewise.
35958 (__mpn_mul_1): Do not use BP_SYM.
35959 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
35960 "bp-asm.h".
35961 (PARMS): Do not use macros from bp-asm.h.
35962 (S): Likewise.
35963 (SIZE): Likewise.
35964 (__mpn_rshift): Do not use BP_SYM.
35965 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
35966 "bp-asm.h".
35967 (PARMS): Do not use macros from bp-asm.h.
35968 (STR): Likewise.
35969 (CHR): Likewise.
35970 (strchr): Likewise. Do not use BP_SYM.
35971 (index): Do not use BP_SYM in weak_alias.
35972 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
35973 "bp-asm.h".
35974 (PARMS): Do not use macros from bp-asm.h.
35975 (DEST): Likewise.
35976 (SRC): Likewise.
35977 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
35978 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
35979 "bp-asm.h".
35980 (PARMS): Do not use macros from bp-asm.h.
35981 (strlen): Do not use BP_SYM.
35982 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
35983 "bp-asm.h".
35984 (PARMS): Do not use macros from bp-asm.h.
35985 (S1): Likewise.
35986 (S2): Likewise.
35987 (SIZE): Likewise.
35988 (__mpn_sub_n): Do not use BP_SYM.
35989 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
35990 "bp-asm.h".
35991 (PARMS): Do not use macros from bp-asm.h.
35992 (S1): Likewise.
35993 (SIZE): Likewise.
35994 (__mpn_submul_1): Do not use BP_SYM.
35995 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
35996 "bp-asm.h".
35997 (PARMS): Do not use macros from bp-asm.h.
35998 (S1): Likewise.
35999 (S2): Likewise.
36000 (SIZE): Likewise.
36001 (__mpn_add_n): Do not use BP_SYM.
36002 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
36003 weak_alias.
36004 (bzero): Likewise.
36005 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
36006 "bp-asm.h".
36007 (PARMS): Do not use macros from bp-asm.h.
36008 (BLK2): Likewise.
36009 (LEN): Likewise.
36010 (memcmp): Do not use BP_SYM.
36011 (bcmp): Do not use BP_SYM in weak_alias.
36012 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
36013 "bp-asm.h".
36014 (PARMS): Do not use macros from bp-asm.h.
36015 (DEST): Likewise.
36016 (SRC): Likewise.
36017 (LEN): Likewise.
36018 (memcpy): Likewise. Do not use BP_SYM.
36019 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
36020 "bp-asm.h".
36021 (PARMS): Do not use macros from bp-asm.h.
36022 (DEST): Likewise.
36023 (SRC): Likewise.
36024 (LEN): Likewise.
36025 (memmove): Likewise. Do not use BP_SYM.
36026 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
36027 "bp-asm.h".
36028 (PARMS): Do not use macros from bp-asm.h.
36029 (DEST): Likewise.
36030 (SRC): Likewise.
36031 (LEN): Likewise.
36032 (__mempcpy): Likewise. Do not use BP_SYM.
36033 (mempcpy): Do not use BP_SYM in weak_alias.
36034 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
36035 "bp-asm.h".
36036 (PARMS): Do not use macros from bp-asm.h.
36037 (DEST): Likewise.
36038 (LEN): Likewise.
36039 [!BZERO_P] (CHR): Likewise.
36040 (memset): Likewise. Do not use BP_SYM.
36041 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
36042 "bp-asm.h".
36043 (PARMS): Do not use macros from bp-asm.h.
36044 (STR2): Likewise.
36045 (strcmp): Do not use BP_SYM.
36046 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
36047 "bp-asm.h".
36048 (PARMS): Do not use macros from bp-asm.h.
36049 (STR): Likewise.
36050 (DELIM): Likewise.
36051 [USE_AS_STRTOK_R] (SAVE): Likewise.
36052 (FUNCTION): Likewise. Do not use BP_SYM.
36053 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
36054 aliases.
36055 (strtok_r): Likewise.
36056 (__GI___strtok_r): Likewise.
36057 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36058 (PARMS): Do not use macros from bp-asm.h.
36059 (S): Likewise.
36060 (SIZE): Likewise.
36061 (__mpn_lshift): Do not use BP_SYM.
36062 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36063 (PARMS): Do not use macros from bp-asm.h.
36064 (STR): Likewise.
36065 (CHR): Likewise.
36066 (__memchr): Do not use BP_SYM.
36067 (memchr): Do not use BP_SYM in weak_alias.
36068 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36069 (PARMS): Do not use macros from bp-asm.h.
36070 (BLK2): Likewise.
36071 (LEN): Likewise.
36072 (memcmp): Do not use BP_SYM.
36073 (bcmp): Do not use BP_SYM in weak_alias.
36074 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
36075 (PARMS): Do not use macros from bp-asm.h.
36076 (S1): Likewise.
36077 (SIZE): Likewise.
36078 (__mpn_mul_1): Do not use BP_SYM.
36079 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
36080 "bp-asm.h".
36081 (PARMS): Do not use macros from bp-asm.h.
36082 (STR): Likewise.
36083 (CHR): Likewise.
36084 (__rawmemchr): Do not use BP_SYM.
36085 (rawmemchr): Do not use BP_SYM in weak_alias.
36086 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36087 (PARMS): Do not use macros from bp-asm.h.
36088 (S): Likewise.
36089 (SIZE): Likewise.
36090 (__mpn_rshift): Do not use BP_SYM.
36091 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36092 (PARMS): Do not use macros from bp-asm.h.
36093 (SIGMSK): Likewise.
36094 (__sigsetjmp): Likewise. Do not use BP_SYM.
36095 * sysdeps/i386/start.S: Do not include "bp-sym.h".
36096 (_start): Do not use BP_SYM.
36097 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
36098 (PARMS): Do not use macros from bp-asm.h.
36099 (DEST): Likewise.
36100 (SRC): Likewise.
36101 (__stpcpy): Likewise. Do not use BP_SYM.
36102 (stpcpy): Do not use BP_SYM in weak_alias.
36103 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
36104 "bp-asm.h".
36105 (PARMS): Do not use macros from bp-asm.h.
36106 (DEST): Likewise.
36107 (SRC): Likewise.
36108 (LEN): Likewise.
36109 (__stpncpy): Likewise. Do not use BP_SYM.
36110 (stpncpy): Do not use BP_SYM in weak_alias.
36111 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36112 (PARMS): Do not use macros from bp-asm.h.
36113 (STR): Likewise.
36114 (CHR): Likewise.
36115 (strchr): Likewise. Do not use BP_SYM.
36116 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
36117 "bp-asm.h".
36118 (PARMS): Do not use macros from bp-asm.h.
36119 (STR): Likewise.
36120 (CHR): Likewise.
36121 (__strchrnul): Likewise. Do not use BP_SYM.
36122 (strchrnul): Do not use BP_SYM in weak_alias.
36123 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
36124 "bp-asm.h".
36125 (PARMS): Do not use macros from bp-asm.h.
36126 (STOP): Likewise.
36127 (strcspn): Do not use BP_SYM.
36128 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
36129 "bp-asm.h".
36130 (PARMS): Do not use macros from bp-asm.h.
36131 (STR): Likewise.
36132 (STOP): Likewise.
36133 (strpbrk): Likewise. Do not use BP_SYM.
36134 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
36135 "bp-asm.h".
36136 (PARMS): Do not use macros from bp-asm.h.
36137 (STR): Likewise.
36138 (CHR): Likewise.
36139 (strrchr): Likewise. Do not use BP_SYM.
36140 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
36141 (PARMS): Do not use macros from bp-asm.h.
36142 (SKIP): Likewise.
36143 (strspn): Do not use BP_SYM.
36144 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
36145 (PARMS): Do not use macros from bp-asm.h.
36146 (STR): Likewise.
36147 (DELIM): Likewise.
36148 (SAVE): Likewise.
36149 (FUNCTION): Likewise. Do not use BP_SYM.
36150 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
36151 aliases.
36152 (strtok_r): Likewise.
36153 (__GI___strtok_r): Likewise.
36154 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36155 (PARMS): Do not use macros from bp-asm.h.
36156 (S1): Likewise.
36157 (S2): Likewise.
36158 (SIZE): Likewise.
36159 (__mpn_sub_n): Do not use BP_SYM.
36160 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
36161 "bp-asm.h".
36162 (PARMS): Do not use macros from bp-asm.h.
36163 (S1): Likewise.
36164 (SIZE): Likewise.
36165 (__mpn_submul_1): Do not use BP_SYM.
36166 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
36167 <bp-sym.h>.
36168 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
36169 and <bp-asm.h>.
36170 (PARMS): Do not use macros from bp-asm.h.
36171 (FLAGS): Likewise.
36172 (PTID): Likewise.
36173 (TLS): Likewise.
36174 (CTID): Likewise.
36175 (__clone): Do not use BP_SYM.
36176 (clone): Do not use BP_SYM in weak_alias.
36177 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
36178 and <bp-asm.h>.
36179 (PARMS): Do not use macros from bp-asm.h.
36180 (LEN): Likewise.
36181 (__mmap64): Do not use BP_SYM.
36182 (mmap64): Do not use BP_SYM in weak_alias.
36183 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36184 <bp-sym.h> and <bp-asm.h>.
36185 (PARMS): Do not use macros from bp-asm.h.
36186 (__posix_fadvise64_l64): Do not use BP_SYM.
36187 * sysdeps/unix/sysv/linux/i386/semtimedop.S
36188 (PARMS): Do not use macros from bp-asm.h.
36189 (NSOPS): Likewise.
36190 (semtimedop): Do not use BP_SYM.
36191 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
36192 and <bp-asm.h>.
36193
36194 2013-02-21 Allan McRae <allan@archlinux.org>
36195
36196 * manual/message.texi (Charset conversion in gettext):
36197 Move @end statement to beginning of line.
36198
36199 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36200
36201 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
36202 static.
36203 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36204 Likewise.
36205
36206 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
36207 (denorm): Likewise.
36208 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
36209 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
36210
36211 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36212
36213 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
36214 tail-call to the resolved function if pltexit isn't needed.
36215
36216 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36217
36218 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
36219 or Y being zero as being unlikely.
36220 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36221 Likewise.
36222
36223 2013-02-20 Carlos O'Donell <carlos@redhat.com>
36224
36225 * manual/nss.texi (System Databases and Name Service Switch):
36226 Remove frobnicate @pxref.
36227
36228 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
36229
36230 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36231 __attribute__ ((unused)) to __attribute__ ((__unused__)).
36232
36233 2013-02-20 Petr Machata <pmachata@redhat.com>
36234
36235 * elf/elf.h (R_ARM_TARGET1): New macro.
36236 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
36237 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
36238 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
36239 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
36240 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
36241 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
36242 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
36243 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
36244 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
36245 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
36246 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
36247 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
36248 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
36249 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
36250 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
36251 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
36252 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
36253 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
36254 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
36255 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
36256 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
36257 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
36258 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
36259 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
36260 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
36261 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
36262 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
36263 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
36264 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
36265 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
36266 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
36267 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
36268 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
36269 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
36270 (R_ARM_THM_GOT_BREL12): Likewise.
36271 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
36272 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
36273 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
36274 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
36275 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
36276 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
36277 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
36278 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
36279 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
36280
36281 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
36282
36283 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36284 __attribute_used__ to __attribute__ ((unused)).
36285
36286 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
36287
36288 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
36289 powerpc mpa.c.
36290 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
36291 comment formatting.
36292 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
36293
36294 2013-02-19 Joseph Myers <joseph@codesourcery.com>
36295
36296 [BZ #13550]
36297 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
36298 Remove macro.
36299 (ENTER): Remove both macro definitions.
36300 (LEAVE): Likewise.
36301 (CHECK_BOUNDS_LOW): Likewise.
36302 (CHECK_BOUNDS_HIGH): Likewise.
36303 (CHECK_BOUNDS_BOTH): Likewise.
36304 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
36305 (RETURN_BOUNDED_POINTER): Likewise.
36306 (RETURN_NULL_BOUNDED_POINTER): Likewise.
36307 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
36308 (POP_ERRNO_LOCATION_RETURN): Likewise.
36309 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
36310 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36311 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
36312 macros.
36313 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36314 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
36315 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
36316 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
36317 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
36318 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
36319 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
36320 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
36321 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
36322 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
36323 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
36324 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
36325 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36326 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
36327 removed macros.
36328 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36329 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
36330 macros.
36331 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36332 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
36333 * sysdeps/i386/i586/memset.S (memset): Likewise.
36334 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
36335 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36336 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
36337 macros.
36338 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36339 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
36340 Change uses of L(2) to L(out).
36341 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
36342 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
36343 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
36344 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36345 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
36346 removed macros.
36347 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36348 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
36349 macros.
36350 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36351 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
36352 (RETURN): Do not use macro LEAVE.
36353 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
36354 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
36355 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
36356 * sysdeps/i386/i686/memset.S (memset): Likewise.
36357 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
36358 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
36359 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36360 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
36361 Likewise.
36362 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36363 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
36364 L(1_2) and L(1_3) into L(1).
36365 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36366 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
36367 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36368 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
36369 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36370 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
36371 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
36372 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36373 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
36374 macros.
36375 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
36376 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36377 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
36378 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
36379 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
36380 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36381 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
36382 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
36383 * sysdeps/i386/strcspn.S (strcspn): Likewise.
36384 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
36385 * sysdeps/i386/strrchr.S (strrchr): Likewise.
36386 * sysdeps/i386/strspn.S (strspn): Likewise.
36387 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
36388 conditional code.
36389 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36390 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
36391 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36392 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
36393 L(1_3) into L(1_1).
36394 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
36395 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36396 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
36397 macros.
36398 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36399
36400 2013-02-19 Jakub Jelinek <jakub@redhat.com>
36401
36402 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
36403 macro.
36404
36405 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
36406
36407 * math/atest-exp.c (exp_mpn): Remove ROUND.
36408 * math/atest-exp2.c (exp_mpn): Likewise.
36409 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
36410
36411 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
36412 * stdlib/tst-tls-atexit-lib.c: Likewise.
36413 * stdlib/tst-tls-atexit.c: Likewise.
36414
36415 2013-02-18 Mike Frysinger <vapier@gentoo.org>
36416
36417 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
36418 and __attribute_alloc_size__.
36419
36420 2013-02-18 Mike Frysinger <vapier@gentoo.org>
36421
36422 * include/programs/xmalloc.h: Change __attribute_alloc_size to
36423 __attribute_alloc_size__.
36424 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
36425 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
36426
36427 2013-02-18 Mike Frysinger <vapier@gentoo.org>
36428
36429 * include/programs/xmalloc.h: New file.
36430 * catgets/gencat.c: Include it.
36431 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
36432 * elf/pldd.c: Likewise.
36433 * iconv/iconv_charmap.c: Likewise.
36434 * iconv/iconvconfig.c: Likewise.
36435 * iconv/strtab.c: Likewise.
36436 * locale/programs/locale.c: Likewise.
36437 * locale/programs/localedef.h: Likewise.
36438 * locale/programs/simple-hash.c: Likewise.
36439 * nscd/nscd.h: Likewise.
36440 * nss/makedb.c: Likewise.
36441 * sysdeps/generic/ldconfig.h: Likewise.
36442
36443 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36444
36445 * Versions.def: Add GLIBC_2.18.
36446 * include/link.h (struct link_map): New member l_tls_dtor_count.
36447 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
36448 (__call_tls_dtors): Likewise.
36449 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
36450 __cxa_thread_atexit_impl.
36451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36452 Likewise.
36453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36454 Likewise.
36455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36456 Likewise.
36457 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36458 Likewise.
36459 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36460 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
36461 Likewise.
36462 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
36463 Likewise.
36464 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36465 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36466 Likewise.
36467 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
36468 (tests): Add test case tst-tls-atexit.
36469 (modules-names): Add shared library for tst-tls-atexit.
36470 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
36471 (GLIBC_PRIVATE): Add __call_tls_dtors.
36472 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
36473 for libstdc++.
36474 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
36475 * stdlib/tst-tls-atexit.c: New test case.
36476 * stdlib/tst-tls-atexit-lib.c: New test case.
36477
36478 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
36479
36480 * elf/Versions (ld): Add _dl_find_dso_for_object.
36481 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
36482 * elf/dl-open.c (_dl_find_dso_for_object): New function.
36483 (dl_open_worker): Use _dl_find_dso_for_object.
36484 * elf/dl-sym.c (do_sym): Likewise.
36485 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
36486
36487 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36488
36489 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
36490 Syntactic changes only.
36491 (_dl_runtime_profile): Do a tail-call to the resolved function.
36492
36493 2013-02-17 Joseph Myers <joseph@codesourcery.com>
36494
36495 [BZ #13550]
36496 * sysdeps/x86_64/bp-asm.h: Remove file.
36497 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
36498 <bp-sym.h> and <bp-asm.h>.
36499 (__clone): Do not use BP_SYM.
36500 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
36501 <bp-sym.h> and <bp-asm.h>.
36502 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36503 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
36504 "bp-asm.h".
36505 (_setjmp): Do not use BP_SYM.
36506 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
36507 "bp-asm.h".
36508 (setjmp): Do not use BP_SYM.
36509 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
36510 libc_hidden_def.
36511 (mempcpy): Do not use BP_SYM in weak_alias.
36512 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
36513 "bp-asm.h".
36514 (strchr): Do not use BP_SYM.
36515 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
36516 "bp-asm.h".
36517 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
36518 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
36519 (_start): Do not use BP_SYM.
36520 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
36521 "bp-asm.h".
36522 (strcat): Do not use BP_SYM.
36523 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
36524 "bp-asm.h".
36525 (STRCMP): Do not use BP_SYM.
36526 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
36527 "bp-asm.h".
36528 (STRCPY): Do not use BP_SYM.
36529 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
36530 "bp-asm.h".
36531 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
36532 "bp-asm.h".
36533 (FUNCTION): Do not use BP_SYM.
36534 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
36535 weak_alias.
36536 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
36537
36538 2013-02-17 Andreas Jaeger <aj@suse.de>
36539
36540 * time/Versions: Sort entries.
36541 * string/Versions: Likewise.
36542 * resolv/Versions: Likewise.
36543 * posix/Versions: Likewise.
36544 * iconv/Versions: Likewise.
36545 * elf/Versions: Likewise.
36546 * wcsmbs/Versions: Likewise.
36547
36548 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
36549
36550 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
36551 loop termination condition.
36552
36553 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
36554 variable to calculate EZ.
36555 (__sqr): Likewise.
36556
36557 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
36558 the lower precision input.
36559
36560 2013-02-15 Joseph Myers <joseph@codesourcery.com>
36561
36562 [BZ #13550]
36563 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
36564 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
36565 (run-via-rtld-prefix): Do not handle %-bp tests.
36566 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
36567 (all-object-suffixes): Remove .ob.
36568 (bppfx): Remove variable.
36569 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
36570 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
36571 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
36572 [$(build-bounded) = yes] (libtype.ob): Likewise.
36573 * Makerules (elide-routines.ob): Remove variable.
36574 (do-tests-clean): Do not handle *-bp.out.
36575 (common-mostlyclean): Do not handle *-bp and *-bp.out.
36576 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
36577 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
36578 (tests): Do not include $(tests-bp.out).
36579 (xtests): Do not include $(xtests-bp.out).
36580 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
36581 [$(build-bounded) = yes] ($(addprefix
36582 $(objpfx),$(binaries-bounded))): Remove rule.
36583 ($(objpfx)%-bp.out): Remove rule.
36584 * config.make.in (build-bounded): Remove variable.
36585 * crypt/Makefile [$(build-bounded) = yes]
36586 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
36587 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
36588 append to variable.
36589 [$(build-bounded) = yes] (install-lib): Likewise.
36590 [$(build-bounded) = yes] (generated): Likewise.
36591 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
36592 Remove rule.
36593 * intl/Makefile [$(build-bounded) = yes]
36594 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
36595 * math/Makefile [$(build-bounded) = yes]
36596 ($(tests:%=$(objpfx)%-bp): Likewise.
36597 * misc/Makefile [$(build-bounded) = yes]
36598 ($(objpfx)tst-tsearch-bp): Likewise.
36599 * nptl/Makeconfig (bounded-thread-library): Remove variable.
36600 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
36601 Remove dependency.
36602 * string/Makefile (o-objects.ob): Remove variable.
36603 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
36604 (CFLAGS-.ob): Remove variable.
36605 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
36606 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
36607 both definitions of variable.
36608 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
36609 (ASFLAGS-.ob): Remove variable.
36610
36611 2013-02-14 Joseph Myers <joseph@codesourcery.com>
36612
36613 [BZ #13550]
36614 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
36615 Remove __BOUNDED_POINTERS__ from condition.
36616 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
36617 * string/bits/string2.h [!__NO_STRING_INLINES &&
36618 !__BOUNDED_POINTERS__]: Likewise.
36619 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
36620 Likewise.
36621 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
36622 Remove conditional code.
36623 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
36624 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
36625 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
36626 condition.
36627
36628 [BZ #13550]
36629 * csu/libc-start.c: Do not include <bp-sym.h>.
36630 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
36631 * elf/dl-open.c: Do not include <bp-sym.h>.
36632 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
36633 * math/fegetenv.c: Do not include <bp-sym.h>.
36634 (fegetenv): Do not use BP_SYM in versioned symbols.
36635 * nptl/sysdeps/pthread/bits/libc-lockP.h
36636 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
36637 <bp-sym.h>.
36638 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36639 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
36640 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36641 (__pthread_mutex_destroy): Likewise.
36642 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36643 (__pthread_mutex_lock): Likewise.
36644 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36645 (__pthread_mutex_trylock): Likewise.
36646 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36647 (__pthread_mutex_unlock): Likewise.
36648 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36649 (__pthread_mutexattr_init): Likewise.
36650 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36651 (__pthread_mutexattr_destroy): Likewise.
36652 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36653 (__pthread_mutexattr_settype): Likewise.
36654 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36655 (__pthread_rwlock_init): Likewise.
36656 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36657 (__pthread_rwlock_destroy): Likewise.
36658 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36659 (__pthread_rwlock_rdlock): Likewise.
36660 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36661 (__pthread_rwlock_tryrdlock): Likewise.
36662 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36663 (__pthread_rwlock_wrlock): Likewise.
36664 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36665 (__pthread_rwlock_trywrlock): Likewise.
36666 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36667 (__pthread_rwlock_unlock): Likewise.
36668 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36669 (__pthread_key_create): Likewise.
36670 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36671 (__pthread_setspecific): Likewise.
36672 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36673 (__pthread_getspecific): Likewise.
36674 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
36675 Likewise.
36676 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36677 (_pthread_cleanup_push_defer): Likewise.
36678 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36679 (_pthread_cleanup_pop_restore): Likewise.
36680 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36681 (pthread_setcancelstate): Likewise.
36682 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
36683 <bp-sym.h>.
36684 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
36685 (memchr): Do not use BP_SYM in weak_alias.
36686 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
36687 (fegetenv): Do not use BP_SYM in versioned symbols.
36688 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
36689 (fesetenv): Do not use BP_SYM in versioned symbols.
36690 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36691 (feupdateenv): Do not use BP_SYM in versioned symbols.
36692 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36693 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36694 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
36695 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
36696 (open64): Do not use BP_SYM in weak_alias.
36697 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
36698 (fegetenv): Do not use BP_SYM in versioned symbols.
36699 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
36700 (fesetenv): Do not use BP_SYM in versioned symbols.
36701 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36702 (feupdateenv): Do not use BP_SYM in versioned symbols.
36703 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
36704 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
36705 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
36706 (feraiseexcept): Do not use BP_SYM in versioned symbols.
36707 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36708 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36709 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
36710 <bp-sym.h>.
36711 (__libc_start_main): Do not use BP_SYM.
36712
36713 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
36714
36715 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
36716 redundant return line.
36717 (norm): Likewise.
36718 (denorm): Likewise.
36719 (dbl_mp): Likewise.
36720 (sub_magnitudes): Likewise.
36721 (__add): Likewise.
36722 (__sub): Likewise.
36723 (__mul): Likewise.
36724 (__inv): Likewise.
36725 (__dvd): Likewise.
36726 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
36727 (norm): Likewise.
36728 (denorm): Likewise.
36729 (dbl_mp): Likewise.
36730 (sub_magnitudes): Likewise.
36731 (__add): Likewise.
36732 (__sub): Likewise.
36733 (__mul): Likewise.
36734 (__inv): Likewise.
36735 (__dvd): Likewise.
36736
36737 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
36738 instead of __mul.
36739 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36740 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
36741 (cc32): Likewise.
36742
36743 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
36744 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
36745 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
36746 of __mul for squares.
36747 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
36748 function
36749 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
36750 Likewise.
36751 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
36752 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36753
36754 2013-02-13 Joseph Myers <joseph@codesourcery.com>
36755
36756 [BZ #13550]
36757 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
36758 code.
36759 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
36760 prototype or function definition. Rename ubp_* variables and
36761 parameters. Remove argv definitions conditional on
36762 [__BOUNDED_POINTERS__].
36763 * debug/backtrace.c (__backtrace): Do not use __unbounded.
36764 * elf/dl-runtime.c (_dl_fixup): Likewise.
36765 * include/set-hooks.h (RUN_HOOK): Likewise.
36766 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
36767 definition.
36768 * string/strcpy.c (strcpy): Do not use __unbounded.
36769 * sysdeps/generic/frame.h (struct layout): Likewise.
36770 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
36771 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
36772 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
36773 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
36774 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
36775 (__backtrace): Likewise.
36776 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
36777 use __ptrvalue.
36778 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
36779 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
36780 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
36781 Likewise.
36782 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
36783 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
36784 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
36785 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36786 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
36787 Do not use __unbounded.
36788 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
36789 Rename __unboundedrlimits parameter to rlimits in prototype.
36790 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
36791 Do not use __unbounded.
36792 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
36793 not use __ptrvalue.
36794 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36795 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
36796 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36797 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
36798 __ptrvalue or __unbounded.
36799 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
36800 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
36801 use __unbounded.
36802 (__new_msgctl): Do not use __ptrvalue.
36803 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
36804 __unbounded.
36805 (__libc_msgrcv): Do not use __ptrvalue.
36806 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
36807 startup_info): Do not use __unbounded.
36808 (__libc_start_main): Likewise. Rename ubp_* variables and
36809 parameters. Remove argv definitions conditional on
36810 [__BOUNDED_POINTERS__].
36811 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
36812 __ptrvalue.
36813 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
36814 use __unbounded.
36815 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
36816 or __ptrvalue.
36817 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
36818 use __unbounded.
36819 (__new_shmctl): Do not use __ptrvalue.
36820 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
36821 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
36822 Likewise.
36823 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
36824 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
36825 (__libc_sigaction): Likewise.
36826 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
36827 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
36828 Likewise.
36829 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36830
36831 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
36832
36833 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
36834
36835 * string/mempcpy.c: Implement by calling memcpy.
36836
36837 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
36838
36839 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
36840
36841 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
36842 evaluation.
36843
36844 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
36845 values in the mantissa.
36846
36847 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
36848 minimize writes to Z.
36849 (sub_magnitudes): Simplify code a bit.
36850
36851 2013-02-12 Roland McGrath <roland@hack.frob.com>
36852
36853 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
36854 from the message. The linker prefixes all warnings with that already.
36855
36856 2013-02-12 Andreas Schwab <schwab@suse.de>
36857
36858 [BZ #15078]
36859 * posix/regexec.c (extend_buffers): Add parameter min_len.
36860 (check_matching): Pass minimum needed length.
36861 (clean_state_log_if_needed): Likewise.
36862 (get_subexp): Likewise.
36863 * posix/Makefile (tests): Add bug-regex34.
36864 (bug-regex34-ENV): Define.
36865 * posix/bug-regex34.c: New file.
36866
36867 [BZ #11561]
36868 * posix/regcomp.c (parse_bracket_exp): When looking up collating
36869 elements compare against the byte sequence of it, not its name.
36870 * posix/Makefile (tests): Add bug-regex35.
36871 (bug-regex35-ENV): Define.
36872 * posix/bug-regex35.c: New file.
36873
36874 2013-02-11 Tom de Vries <tom@codesourcery.com>
36875
36876 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
36877 comment.
36878 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
36879 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
36880 (CHECK_EOL): Add undef.
36881
36882 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
36883
36884 * bits/stdlib-bsearch.h: New file.
36885 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
36886 * stdlib/stdlib.h: Likewise.
36887
36888 2013-02-11 Roland McGrath <roland@hack.frob.com>
36889
36890 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
36891 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
36892 declaration.
36893 * manual/search.texi (Array Search Function): Add missing const in
36894 lfind prototype.
36895 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
36896 declaration to use rlim_t.
36897 (Basic Scheduling Functions): Remove erroneous const from
36898 sched_getparam prototype. Remove erroneous * from
36899 sched_get_priority_max and sched_get_priority_min prototypes.
36900 (Resource Usage): Fix summary @comment on vtimes to refer to
36901 sys/vtimes.h rather than vtimes.h.
36902 Add missing *s in vtimes prototype.
36903 (Limits on Resources): Fix ulimit prototype to return long int.
36904 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
36905 prototypes to use long int rather than double.
36906 (BSD Random): Fix initstate and setstate to use char *, not void *.
36907 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
36908 prototype to make second argument 'struct aiocb64 *const[]'.
36909 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
36910 (Status of AIO Operations): Remove erroneous const in aio_return and
36911 aio_return64 prototypes.
36912 (Synchronizing I/O): Fix sync prototype to return void.
36913 * manual/startup.texi (Suboptions): Remove an erroneous const in
36914 getsubopt prototype.
36915 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
36916 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
36917 use size_t rather than int.
36918 (Scanning All Users): Likewise for getpwent_r.
36919 (Setting Groups): Add missing const to setgroups prototype.
36920 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
36921 * manual/socket.texi (Host Names): Fix gethostbyaddr and
36922 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
36923 'const void *' rather than 'const char *'.
36924 (Host Address Functions): Likewise for inet_ntop.
36925 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
36926 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
36927 ssize_t for return value.
36928 (Sending Data): Likewise for send, sendto, sendmsg.
36929 (Socket Option Functions): Add a missing const in setsockopt prototype.
36930 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
36931 use wchar_t for the argument.
36932 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
36933 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
36934 take no arguments.
36935 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
36936 double/float/long double for second argument.
36937 Fix return types of significand, significandf, significandl.
36938 * manual/filesys.texi (Setting Permissions): Use mode_t for second
36939 argument in fchmod prototype.
36940 (File Owner): Use uid_t and gid_t in fchown prototype.
36941 (File Times): Add const to utimes, futimes, and lutimes prototypes.
36942 (Making Special Files): Use mode_t and dev_t in mknod prototype.
36943 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
36944 use 'const struct dirent **' as argument types to CMP function pointer
36945 argument.
36946 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
36947 (File Times): Fix summary magic @comment for struct utimbuf and utime
36948 to refer to utime.h, not time.h.
36949 * manual/string.texi (Argz Functions): Add missing const in
36950 argz_extract and argz_next prototypes.
36951 (Finding Tokens in a String): Likewise for basename.
36952 (String/Array Comparison): Fix typo in wcscasecmp prototype.
36953 (Copying and Concatenation): Fix typo in wmemmove prototype.
36954 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
36955 (Signal Stack): Remove erroneous const in sigstack prototype.
36956 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
36957 prototype.
36958 (Simple Calendar Time): Likewise for stime.
36959 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
36960 prototype.
36961 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
36962 say sys/sysctl.h instead.
36963 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
36964 and vsyslog prototypes.
36965
36966 2013-02-11 Tom de Vries <tom@codesourcery.com>
36967
36968 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
36969 Remove.
36970
36971 2013-02-11 Roland McGrath <roland@hack.frob.com>
36972
36973 * misc/sys/mman.h: Fix typo in mremap comment.
36974
36975 2013-02-08 Roland McGrath <roland@hack.frob.com>
36976
36977 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
36978 the '\0' terminator.
36979
36980 2013-02-08 Joseph Myers <joseph@codesourcery.com>
36981
36982 [BZ #13550]
36983 * debug/segfault.c: Don't include <bp-checks.h>.
36984 * sysdeps/generic/bp-checks.h: Remove file.
36985 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
36986 (__GETDENTS): Don't use CHECK_N.
36987 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
36988 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
36989 (__getgroups): Don't use CHECK_N.
36990 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
36991 (setgroups): Don't use CHECK_N.
36992 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
36993 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
36994 (__libc_msgrcv): Don't use CHECK_N.
36995 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
36996 (__libc_msgsnd): Don't use CHECK_N.
36997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
36998 <bp-checks.h>.
36999 (__libc_pread): Don't use CHECK_N.
37000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
37001 include <bp-checks.h>.
37002 (__libc_pread64): Don't use CHECK_N.
37003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
37004 include <bp-checks.h>.
37005 (__libc_pwrite): Don't use CHECK_N.
37006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
37007 include <bp-checks.h>.
37008 (__libc_pwrite64): Don't use CHECK_N.
37009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
37010 <bp-checks.h>.
37011 (__libc_pread): Don't use CHECK_N.
37012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
37013 include <bp-checks.h>.
37014 (__libc_pread64): Don't use CHECK_N.
37015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
37016 include <bp-checks.h>.
37017 (__libc_pwrite): Don't use CHECK_N.
37018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
37019 include <bp-checks.h>.
37020 (__libc_pwrite64): Don't use CHECK_N.
37021 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
37022 (do_pread): Don't use CHECK_N.
37023 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
37024 (do_pread64): Don't use CHECK_N.
37025 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
37026 (do_pwrite): Don't use CHECK_N.
37027 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
37028 (do_pwrite64): Don't use CHECK_N.
37029 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
37030 (__libc_readv): Don't use CHECK_N.
37031 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
37032 (semop): Don't use CHECK_N.
37033 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
37034 <bp-checks.h>.
37035 (semtimedop): Don't use CHECK_N.
37036 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
37037 (__libc_pread): Don't use CHECK_N.
37038 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
37039 <bp-checks.h>.
37040 (__libc_pread64): Don't use CHECK_N.
37041 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
37042 <bp-checks.h>.
37043 (__libc_pwrite): Don't use CHECK_N.
37044 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
37045 <bp-checks.h>.
37046 (__libc_pwrite64): Don't use CHECK_N.
37047 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
37048 <bp-checks.h>.
37049 (__libc_msgrcv): Don't use CHECK_N.
37050 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
37051 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
37052 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
37053 (__libc_writev): Don't use CHECK_N.
37054
37055 2013-02-08 Roland McGrath <roland@hack.frob.com>
37056
37057 * string/strcpy.c: Removed unused variable.
37058
37059 * Makeconfig (+sysdep-includes): Define with := rather than =.
37060 Use an existing include/ subdir of each sysdeps dir before it.
37061
37062 2013-02-08 Carlos O'Donell <carlos@redhat.com>
37063
37064 * nscd/connection.c (register_traced_file): Comment function.
37065 [HAVE_INOTIFY] (union __inev): Define.
37066 [HAVE_INOTIFY] (inotify_check_files): New function.
37067 [HAVE_INOTIFY] (clear_db_cache): Likewise.
37068 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
37069 clear_db_cache.
37070 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
37071
37072 2013-02-08 Carlos O'Donell <carlos@redhat.com>
37073
37074 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
37075 loaded if not already and that a failure is permanent.
37076
37077 2013-02-08 Carlos O'Donell <carlos@redhat.com>
37078
37079 [BZ #15006]
37080 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
37081 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
37082
37083 2013-02-08 Joseph Myers <joseph@codesourcery.com>
37084
37085 [BZ #13550]
37086 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
37087 (CHECK_1_NULL_OK): Likewise.
37088 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
37089 (__fxstat): Do not use CHECK_1.
37090 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
37091 <bp-checks.h>.
37092 (___fxstat64): Do not use CHECK_1.
37093 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
37094 <bp-checks.h>.
37095 (__fxstatat): Do not use CHECK_1.
37096 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
37097 <bp-checks.h>.
37098 (__fxstatat64): Do not use CHECK_1.
37099 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
37100 <bp-checks.h>.
37101 (__fxstat): Do not use CHECK_1.
37102 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
37103 <bp-checks.h>.
37104 (__fxstatat): Do not use CHECK_1.
37105 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
37106 <bp-checks.h>.
37107 (__getresgid): Do not use CHECK_1.
37108 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37109 <bp-checks.h>.
37110 (__getresuid): Do not use CHECK_1.
37111 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
37112 <bp-checks.h>.
37113 (__lxstat): Do not use CHECK_1.
37114 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37115 <bp-checks.h>.
37116 (__old_msgctl): Do not use CHECK_1.
37117 (__new_msgctl): Likewise.
37118 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
37119 <bp-checks.h>.
37120 (__new_setrlimit): Do not use CHECK_1.
37121 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37122 <bp-checks.h>.
37123 (__old_shmctl): Do not use CHECK_1.
37124 (__new_shmctl): Likewise.
37125 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
37126 <bp-checks.h>.
37127 (__xstat): Do not use CHECK_1.
37128 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
37129 (__lxstat): Do not use CHECK_1.
37130 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
37131 <bp-checks.h>.
37132 (___lxstat64): Do not use CHECK_1.
37133 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
37134 (__old_msgctl): Do not use CHECK_1.
37135 (__new_msgctl): Likewise.
37136 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
37137 <bp-checks.h>.
37138 (__gettimeofday): Do not use CHECK_1.
37139 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
37140 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
37141 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
37142 <bp-checks.h>.
37143 (__gettimeofday): Do not use CHECK_1.
37144 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
37145 (__old_shmctl): Do not use CHECK_1_NULL_OK.
37146 (__new_shmctl): Do not use CHECK_1.
37147 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
37148 <bp-checks.h>.
37149 (do_sigtimedwait): Do not use CHECK_1.
37150 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
37151 <bp-checks.h>.
37152 (do_sigwaitinfo): Do not use CHECK_1.
37153 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
37154 <bp-checks.h>.
37155 (msgctl): Do not use CHECK_1.
37156 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
37157 <bp-checks.h>.
37158 (shmctl): Do not use CHECK_1.
37159 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
37160 (ustat): Do not use CHECK_1.
37161 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
37162 <bp-checks.h>.
37163 (__fxstat): Do not use CHECK_1.
37164 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
37165 <bp-checks.h>.
37166 (__fxstatat): Do not use CHECK_1.
37167 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
37168 <bp-checks.h>.
37169 (__lxstat): Do not use CHECK_1.
37170 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
37171 <bp-checks.h>.
37172 (__xstat): Do not use CHECK_1.
37173 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
37174 (__xstat): Do not use CHECK_1.
37175 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
37176 (___xstat64): Do not use CHECK_1.
37177
37178 [BZ #13550]
37179 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
37180 definitions.
37181 (CHECK_BOUNDS_HIGH): Likewise.
37182 * string/strcpy.c: Do not include <bp-checks.h>.
37183 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
37184
37185 2013-02-07 Roland McGrath <roland@hack.frob.com>
37186
37187 * nscd/nscd-client.h (__nscd_drop_map_ref):
37188 Add __attribute__ ((unused)).
37189 * nis/nss-nisplus.h (niserr2nss): Likewise.
37190
37191 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
37192 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
37193
37194 * csu/libc-tls.c (init_static_tls, init_slotinfo):
37195 Remove inline keyword.
37196 * include/rounding-mode.h (round_away): Likewise.
37197 * libio/wfileops.c (adjust_wide_data): Likewise.
37198 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
37199 (__m128i_strloadu_tolower): Likewise.
37200 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
37201 (__m128i_strloadu_tolower): Likewise.
37202 * time/mktime.c (ydhms_diff): Likewise.
37203 * locale/elem-hash.h (elem_hash): Likewise.
37204 * locale/setlocale.c (setdata): Likewise.
37205 * posix/regex_internal.h (re_string_char_size_at): Likewise.
37206 (re_string_wchar_at): Likewise.
37207 (bitset_not, bitset_merge, bitset_mask): Likewise.
37208 [!(__GNUC__ > 3)] (inline): Remove macro.
37209 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
37210 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
37211 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
37212 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
37213 * string/memcmp.c (memcmp_bytes): Likewise.
37214 * locale/programs/locarchive.c (compute_hashval): Likewise.
37215 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
37216 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
37217 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
37218 * nss/getent.c (print_rpc, print_protocols): Likewise.
37219 (print_passwd, print_group, print_aliases): Likewise.
37220 * nis/nss-nisplus.h (niserr2nss): Likewise.
37221 * nscd/connections.c (restart_p): Likewise.
37222 Change return type to bool.
37223
37224 2013-02-05 Roland McGrath <roland@hack.frob.com>
37225
37226 * Makeconfig (all-Depend-files): Add existing
37227 $(sorted-subdirs:=/Depend) files.
37228 (all-subdirs): Remove nss.
37229 * sysdeps/unix/inet/Subdirs: Add it here instead.
37230 * hesiod/Depend: New file.
37231
37232 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
37233 instead of calling alloca.
37234
37235 * io/lseek.c (__lseek): Rename to __libc_lseek.
37236 Define __lseek as an alias.
37237
37238 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
37239
37240 2013-02-04 Carlos O'Donell <carlos@redhat.com>
37241
37242 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
37243 else clause and remove check for non-standard endianness.
37244
37245 2013-02-04 David S. Miller <davem@davemloft.net>
37246
37247 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37248
37249 2013-02-04 Joseph Myers <joseph@codesourcery.com>
37250
37251 [BZ #13550]
37252 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
37253 (__ubp_memchr): Remove prototype.
37254 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
37255 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37256 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
37257 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37258 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
37259 Remove alias.
37260 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
37261 (__ubp_memchr): Likewise.
37262 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
37263 (__ubp_memchr): Likewise.
37264 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
37265 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
37266 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
37267 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
37268 CHECK_STRING.
37269 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
37270 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
37271 (__getcwd): Do not use CHECK_STRING.
37272 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
37273 <bp-checks.h>.
37274 (__real_chown): Do not use CHECK_STRING.
37275 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
37276 <bp-checks.h>.
37277 (fchownat): Do not use CHECK_STRING.
37278 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
37279 CHECK_STRING.
37280 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37281 <bp-checks.h>.
37282 (__lchown): Do not use CHECK_STRING.
37283 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37284 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37285 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37286 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
37287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37288 include <bp-checks.h>.
37289 (truncate64): Do not use CHECK_STRING.
37290 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37291 <bp-checks.h>.
37292 (__real_chown): Do not use CHECK_STRING.
37293 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37294 <bp-checks.h>.
37295 (__lchown): Do not use CHECK_STRING.
37296 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37297 <bp-checks.h>.
37298 (__chown): Do not use CHECK_STRING.
37299 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
37300 <bp-checks.h>.
37301 (truncate64): Do not use CHECK_STRING.
37302 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
37303 Likewise.
37304 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
37305 (__xmknod): Do not use CHECK_STRING.
37306 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
37307 <bp-checks.h>.
37308 (__xmknodat): Do not use CHECK_STRING.
37309 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37310 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
37311
37312 2013-02-04 Andreas Schwab <schwab@suse.de>
37313
37314 [BZ #14142]
37315 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
37316 * include/netdb.h: Likewise for h_errno.
37317 * elf/tst-stackguard1.c: Include <tls.h>.
37318
37319 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
37320
37321 * elf/link.h (struct link_map): Extend the l_addr comment.
37322 * include/link.h (struct link_map): Likewise.
37323
37324 2013-02-01 Joseph Myers <joseph@codesourcery.com>
37325
37326 [BZ #13550]
37327 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
37328 (BOUNDED_1): Remove macro.
37329 * debug/backtrace.c: Don't include <bp-checks.h>.
37330 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
37331 (__backtrace): Likewise.
37332 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
37333 <bp-checks.h>.
37334 (__backtrace): Don't use BOUNDED_1.
37335 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
37336 <bp-checks.h>.
37337 (__backtrace): Don't use BOUNDED_1.
37338 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
37339 (__backtrace): Don't use BOUNDED_1.
37340 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
37341 (shmat): Don't use BOUNDED_N.
37342
37343 2013-01-31 Joseph Myers <joseph@codesourcery.com>
37344
37345 [BZ #13550]
37346 * sysdeps/generic/bp-start.h: Remove file.
37347 * csu/libc-start.c: Don't include <bp-start.h>.
37348 (LIBC_START_MAIN): Set up __environ directly instead of using
37349 INIT_ARGV_and_ENVIRON.
37350 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
37351 <bp-start.h>.
37352
37353 [BZ #13550]
37354 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
37355 definitions.
37356 (CHECK_FCNTL): Likewise.
37357 (CHECK_N_PAGES): Likewise.
37358
37359 [BZ #13550]
37360 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
37361 definitions.
37362 (CHECK_SIGSET_NULL_OK): Likewise.
37363 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
37364 <bp-checks.h>.
37365 (sigpending): Don't use CHECK_SIGSET.
37366 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
37367 <bp-checks.h>.
37368 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37369 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
37370 <bp-checks.h>.
37371 (do_sigsuspend): Don't use CHECK_SIGSET.
37372 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
37373 use CHECK_SIGSET.
37374 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
37375 (do_sigwait): Don't use CHECK_SIGSET.
37376 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
37377 use CHECK_SIGSET.
37378 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
37379 include <bp-checks.h>.
37380 (sigpending): Don't use CHECK_SIGSET.
37381 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
37382 include <bp-checks.h>.
37383 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37384 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
37385 <bp-checks.h>.
37386 (sigpending): Don't use CHECK_SIGSET.
37387 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
37388 <bp-checks.h>.
37389 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37390
37391 [BZ #13550]
37392 * sysdeps/generic/bp-semctl.h: Remove file.
37393 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
37394 <bp-checks.h> and <bp-semctl.h>.
37395 (__old_semctl): Don't use CHECK_SEMCTL.
37396 (__new_semctl): Likewise.
37397 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
37398 and <bp-semctl.h>.
37399 (__old_semctl): Don't use CHECK_SEMCTL.
37400 (__new_semctl): Likewise.
37401 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
37402 <bp-checks.h> and <bp-semctl.h>.
37403 (__old_semctl): Don't use CHECK_SEMCTL.
37404 (__new_semctl): Likewise.
37405 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
37406 <bp-checks.h> and <bp-semctl.h>.
37407 (semctl): Don't use CHECK_SEMCTL.
37408
37409 [BZ #13550]
37410 * Makerules (elide-bp-thunks): Remove variable.
37411 (elide-routines.oS): Don't use $(elide-bp-thunks).
37412 (elide-routines.os): Likewise.
37413 (elide-routines.o): Likewise.
37414 (elide-routines.op): Likewise.
37415 (elide-routines.og): Likewise.
37416 (objects): Don't use $(bp-thunks).
37417 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
37418 include.
37419 (common-generated): Do not add s-proto-bp.d.
37420 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
37421 (int): Likewise.
37422 (typ): Likewise.
37423 Do not generate makefile rules for bounded-pointer thunks.
37424 * sysdeps/generic/bp-thunks.h: Remove file.
37425 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
37426 * sysdeps/unix/s-proto-bp.S: Likewise.
37427
37428 [BZ #15062]
37429 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
37430 parts of result separately when argument is not close to line from
37431 -i to i and one part of argument is small.
37432 * math/k_casinhf.c (__kernel_casinhf): Likewise.
37433 * math/k_casinhl.c (__kernel_casinhl): Likewise.
37434 * math/libm-test.inc (cacos_test): Add more tests.
37435 (casin_test): Likewise.
37436 (casinh_test): Likewise.
37437 * sysdeps/i386/fpu/libm-test-ulps: Update.
37438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37439
37440 2013-01-31 David S. Miller <davem@davemloft.net>
37441
37442 * po/de.po: Update from translation team.
37443
37444 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
37445
37446 * time/tzfile.c: Include stdint.h for SIZE_MAX.
37447
37448 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
37449
37450 * configure.in (_AC_PROG_CC_C89): New definition.
37451 * configure: Regenerate.
37452
37453 * configure.in (AC_PROG_CPP): New definition.
37454 * configure: Regenerate.
37455
37456 2013-01-23 Joseph Myers <joseph@codesourcery.com>
37457
37458 * debug/tst-backtrace.h: New file.
37459 * debug/tst-backtrace2.c: Include tst-backtrace.h.
37460 (ret): Remove variable.
37461 (x): Likewise.
37462 (FAIL): Remove macro.
37463 (NO_INLINE): Likewise.
37464 (fn1): Use match function instead of strstr.
37465 * debug/tst-backtrace3.c: Include tst-backtrace.h.
37466 (ret): Remove variable.
37467 (x): Likewise.
37468 (FAIL): Remove macro.
37469 (NO_INLINE): Likewise.
37470 (fn): Use match function instead of strstr.
37471 * debug/tst-backtrace4.c: Include tst-backtrace.h.
37472 (ret): Remove variable.
37473 (x): Likewise.
37474 (FAIL): Remove macro.
37475 (NO_INLINE): Likewise.
37476 (handle_signal): Use match function instead of strstr.
37477 * debug/tst-backtrace5.c: Include tst-backtrace.h.
37478 (ret): Remove variable.
37479 (x): Likewise.
37480 (FAIL): Remove macro.
37481 (NO_INLINE): Likewise.
37482 (handle_signal): Use match function instead of strstr.
37483
37484 2013-01-23 Roland McGrath <roland@hack.frob.com>
37485
37486 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
37487
37488 2013-01-23 David S. Miller <davem@davemloft.net>
37489
37490 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
37491 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
37492 argument of CAS if possible.
37493 * sysdeps/sparc/sparc64/bits/atomic.h
37494 (__arch_compare_and_exchange_val_32_acq): Likewise.
37495 (__arch_compare_and_exchange_val_64_acq): Likewise.
37496
37497 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
37498
37499 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
37500 * sysdeps/posix/ulimit.c: ... this.
37501 Include <limits.h>.
37502 * sysdeps/unix/bsd/ulimit.c: Remove file.
37503
37504 2013-01-23 Adam Conrad <adconrad@0c3.net>
37505
37506 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
37507 (LDFLAGS-tst-array5): Likewise.
37508
37509 2013-01-23 Joseph Myers <joseph@codesourcery.com>
37510
37511 [BZ #15036]
37512 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
37513 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
37514 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
37515 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
37516
37517 2013-01-21 David S. Miller <davem@davemloft.net>
37518
37519 * sysdeps/sparc/backtrace.c: New file.
37520 * sysdeps/sparc/sparc32/backtrace.h: New file.
37521 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
37522 * sysdeps/sparc/sparc64/backtrace.h: New file.
37523 * sysdeps/sparc/sparc64/backtrace.c: Delete.
37524 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
37525 -funwind-tables.
37526
37527 2013-01-21 Andreas Schwab <schwab@suse.de>
37528
37529 [BZ #15020]
37530 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
37531 closed its stdout.
37532
37533 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
37534
37535 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
37536 "mpa2.h".
37537 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37538
37539 2013-01-18 Joseph Myers <joseph@codesourcery.com>
37540 Mark Mitchell <mark@codesourcery.com>
37541 Tom de Vries <tom@codesourcery.com>
37542 Paul Pluzhnikov <ppluzhnikov@google.com>
37543
37544 * debug/tst-backtrace2.c: New file.
37545 * debug/tst-backtrace3.c: Likewise.
37546 * debug/tst-backtrace4.c: Likewise.
37547 * debug/tst-backtrace5.c: Likewise.
37548 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
37549 (CFLAGS-tst-backtrace3.c): Likewise.
37550 (CFLAGS-tst-backtrace4.c): Likewise.
37551 (CFLAGS-tst-backtrace5.c): Likewise.
37552 (LDFLAGS-tst-backtrace2): Likewise.
37553 (LDFLAGS-tst-backtrace3): Likewise.
37554 (LDFLAGS-tst-backtrace4): Likewise.
37555 (LDFLAGS-tst-backtrace5): Likewise.
37556 (tests): Add new tests tst-backtrace2, tst-backtrace3,
37557 tst-backtrace4 and tst-backtrace5.
37558
37559 2013-01-18 Anton Blanchard <anton@samba.org>
37560 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37561
37562 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
37563 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
37564 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
37565 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
37566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37567 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
37568 "+r" and remove output regs list as redundant. Add explicit inline
37569 asm to specify register of return val to work around compiler codegen
37570 bug. Remove (int) cast on return value. Add return type parameter to
37571 use in macro so that this macro does not truncate return value for
37572 64-bit values.
37573 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
37574 pass to INTERNAL_VSYSCALL_NCS.
37575 (INLINE_VSYSCALL): Add 'long int' as return type to
37576 INTERNAL_VSYSCALL_NCS macro invocation.
37577 (INTERNAL_VSYSCALL): Add 'long int' as return type to
37578 INTERNAL_VSYSCALL_NCS macro invocation.
37579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37580
37581 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37582
37583 [BZ #14496]
37584 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
37585 Fix application of SIMD FP exception mask.
37586
37587 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
37588 mp_no from a power of two.
37589 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
37590 __mpexp_twomm1. Use __pow_mp.
37591
37592 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
37593 multiplication.
37594
37595 2013-01-17 David S. Miller <davem@davemloft.net>
37596
37597 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37598
37599 2013-01-17 Joseph Myers <joseph@codesourcery.com>
37600
37601 [BZ #15023]
37602 * include/complex.h: Condition contents on [!_COMPLEX_H].
37603 (__kernel_casinhf): New prototype.
37604 (__kernel_casinh): Likewise.
37605 (__kernel_casinhl): Likewise.
37606 * math/Makefile (libm_calls): Add k_casinh.
37607 * math/k_casinh.c: New file.
37608 * math/k_casinhf.c: Likewise.
37609 * math/k_casinhl.c: Likewise.
37610 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
37611 finite nonzero arguments.
37612 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
37613 finite nonzero arguments.
37614 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
37615 finite nonzero arguments.
37616 * math/s_casinh.c: Do not include <float.h>.
37617 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
37618 * math/s_casinhf.c: Do not include <float.h>.
37619 (__casinhf): Move code for finite nonzero arguments to
37620 k_casinhf.c.
37621 * math/s_casinhl.c: Do not include <float.h>.
37622 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
37623 redefine.
37624 (__casinhl): Move code for finite nonzero arguments to
37625 k_casinhl.c.
37626 * math/libm-test.inc (cacos_test): Add more tests.
37627 * sysdeps/i386/fpu/libm-test-ulps: Update.
37628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37629
37630 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
37631
37632 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
37633 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
37634 [!HAVE_MREMAP]: Remove [defined linux] case.
37635 * malloc/arena.c: Do not include <malloc-sysdep.h>.
37636
37637 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
37638
37639 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
37640
37641 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
37642
37643 * elf/elf.h (R_386_SIZE32): New relocation.
37644 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
37645 R_386_SIZE32.
37646 (elf_machine_rela): Likewise.
37647 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37648 R_X86_64_SIZE64 and R_X86_64_SIZE32.
37649
37650 2013-01-17 Joseph Myers <joseph@codesourcery.com>
37651
37652 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
37653 (FP_FAST_FMA): Do not define.
37654 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
37655 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
37656 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
37657 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
37658 !_SOFT_FLOAT]: Likewise.
37659 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
37660 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
37661 value.
37662 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
37663 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
37664 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
37665 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
37666 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
37667 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
37668 file.
37669
37670 2013-01-16 Andreas Schwab <schwab@suse.de>
37671
37672 [BZ #14327]
37673 * include/stdlib.h (__mktemp): Add declaration.
37674 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
37675 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
37676
37677 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37678
37679 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
37680 definitions.
37681 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
37682 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
37683 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
37684 definitions here.
37685 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
37686 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
37687 definitions.
37688 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
37689 and ONE.
37690 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
37691 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
37692 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
37693 definitions.
37694 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
37695 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
37696 definitions.
37697 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
37698
37699 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
37700
37701 2013-01-15 David S. Miller <davem@davemloft.net>
37702
37703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37704 trunc{,f} to libm-sysdep_routes.
37705 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
37707 file.
37708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
37709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
37710 file.
37711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
37712 file.
37713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
37714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
37715 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
37716 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
37717 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
37718 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
37719 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
37720 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
37721
37722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37723 nearbyint{,f} to libm-sysdep_routes.
37724 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
37726 New file.
37727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
37728 file.
37729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
37730 New file.
37731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
37732 file.
37733 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
37734 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
37735 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
37736 file.
37737 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
37738 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
37739 file.
37740 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
37741 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
37742 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
37743
37744 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
37745 libc_feholdexcept and libc_fesetenv.
37746
37747 2013-01-15 Mike Frysinger <vapier@gentoo.org>
37748
37749 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
37750
37751 2013-01-14 David S. Miller <davem@davemloft.net>
37752
37753 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
37754 (SPARC_ASM_VIS2_IFUNC): Likewise.
37755 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
37756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
37757 use of 'siam' instruction.
37758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
37759 Likewise.
37760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
37761 Likewise.
37762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
37763 Likewise.
37764 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
37765 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
37766 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
37767 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
37768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
37769 file.
37770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
37771 file.
37772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
37773 file.
37774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
37775 file.
37776 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
37777 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
37778 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
37779 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
37780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
37781 new VIS2 routines.
37782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37785 Likewise.
37786 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37787 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37788 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37789 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
37791 routines to libm-sysdep_routines.
37792 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37793
37794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37795 fdim/fdimf to libm-sysdep_routines.
37796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
37797 file.
37798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
37799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
37800 file.
37801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
37802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
37803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
37804 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
37805 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
37806 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
37807 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
37808
37809 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
37810
37811 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
37812 to optimize copies.
37813
37814 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
37815 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37816 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37817
37818 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
37819 local variable MPTWO.
37820 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37821 Likewise.
37822
37823 2013-01-13 Mike Frysinger <vapier@gentoo.org>
37824
37825 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
37826 GLOB_NOESCAPE.
37827
37828 2013-01-13 Mike Frysinger <vapier@gentoo.org>
37829
37830 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
37831
37832 2013-01-13 Mike Frysinger <vapier@gentoo.org>
37833
37834 * manual/pattern.texi (glob_t): Document gl_flags.
37835 (glob64_t): Likewise.
37836
37837 2013-01-11 David S. Miller <davem@davemloft.net>
37838
37839 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
37840 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
37841 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
37842 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
37843 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
37844 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
37845 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
37846 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
37847 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
37848 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
37849 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
37850 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
37851 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
37852
37853 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37854 sparc V9 rather than using V8 code.
37855 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37856 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37857
37858 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37859 Move to...
37860 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
37861 Here.
37862
37863 2013-01-11 Roland McGrath <roland@hack.frob.com>
37864
37865 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
37866 not in the main loop.
37867 * configure: Regenerated.
37868
37869 2013-01-11 Joseph Myers <joseph@codesourcery.com>
37870
37871 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
37872 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
37873 to just #else.
37874 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
37875 [!__GLIBC_HAVE_LONG_LONG] case.
37876 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
37877 condition to just #else.
37878 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
37879 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
37880 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
37881 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
37882 unconditional.
37883 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
37884 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37885 #elif condition to just #else.
37886 * sysdeps/unix/sysv/linux/sys/sysmacros.h
37887 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
37888 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37889 #elif condition to just #else.
37890
37891 2013-01-11 Steve Ellcey <sellcey@mips.com>
37892
37893 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
37894 (EF_MIPS_ARCH_64): Fix value.
37895 (EF_MIPS_ARCH_32R2): New.
37896 (EF_MIPS_ARCH_64R2): New.
37897
37898 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
37899
37900 * Makeconfig (+link-pie-before-libc): New.
37901 (+link-pie-after-libc): Likewise.
37902 (+link-pie-tests): Likewise.
37903 (+link-pie): Rewritten.
37904 (link-before-libc): Remove $(config-LDFLAGS).
37905 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
37906 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
37907 (config-LDFLAGS): Renamed to ...
37908 (rtld-LDFLAGS): This.
37909 (rtld-tests-LDFLAGS): New macro.
37910 (link-libc-rpath-link): Likewise.
37911 (link-libc-tests-rpath-link): Likewise.
37912 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
37913 (link-libc): Prepand $(link-libc-rpath-link).
37914 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
37915 (test-program-prefix): New macro.
37916 (test-via-rtld-prefix): Likewise.
37917 (test-program-cmd): Likewise.
37918 (host-test-program-cmd): Likewise.
37919 * Makefile ($(common-objpfx)testrun.sh): Replace
37920 $(run-program-prefix) with $(test-program-prefix).
37921 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
37922 $(rtld-LDFLAGS).
37923 ($(common-objpfx)shlib.lds): Likewise.
37924 (build-module-helper): Likewise.
37925 ($(common-objpfx)format.lds): Likewise.
37926 * Rules (binaries-pie-tests): New.
37927 (binaries-pie-notests): Likewise.
37928 (binaries-pie): Rewritten.
37929 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
37930 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
37931 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
37932 (make-test-out): Replace $(host-built-program-cmd) with
37933 $(host-test-program-cmd).
37934 * config.make.in (build-hardcoded-path-in-tests): New variable.
37935 * configure.in (--enable-hardcoded-path-in-tests): New configure
37936 option.
37937 (hardcoded_path_in_tests): New AC_SUBST.
37938 * configure: Regenerated.
37939 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
37940 $(built-program-cmd) with $(test-program-cmd).
37941 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
37942 (test_program_cmd): This.
37943 * elf/Makefile ($(objpfx)order.out): Run test with
37944 $(test-program-prefix).
37945 ($(objpfx)order2.out): Likewise.
37946 ($(objpfx)tst-initorder.out): Likewise.
37947 ($(objpfx)tst-initorder2.out): Likewise.
37948 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
37949 $(test-program-cmd).
37950 ($(objpfx)tst-array1-static.out): Likewise.
37951 ($(objpfx)tst-array2.out): Likewise.
37952 ($(objpfx)tst-array3.out): Likewise.
37953 ($(objpfx)tst-array4.out): Likewise.
37954 ($(objpfx)tst-array5.out): Likewise.
37955 ($(objpfx)tst-array5-static.out): Likewise.
37956 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
37957 $(test-program-cmd).
37958 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
37959 $(run-program-prefix) with $(test-program-prefix).
37960 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
37961 (test_program_prefix): This.
37962 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
37963 $(run-program-prefix) with $(test-program-prefix).
37964 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
37965 (test_program_prefix): This.
37966 * iconvdata/tst-tables.sh: Likewise.
37967 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
37968 $(run-program-prefix) with $(test-program-prefix).
37969 ($(objpfx)tst-translit.out): Likewise.
37970 ($(objpfx)tst-gettext2.out): Likewise.
37971 ($(objpfx)tst-gettext4.out): Likewise.
37972 ($(objpfx)tst-gettext6.out): Likewise.
37973 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
37974 (test_program_prefix): This.
37975 * intl/tst-gettext2.sh: Likewise.
37976 * intl/tst-gettext4.sh Likewise.
37977 * intl/tst-gettext6.sh: Likewise.
37978 * intl/tst-translit.sh: Likewise.
37979 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
37980 with $(test-program-cmd).
37981 * libio/Makefile ($(objpfx)test-freopen.out): Replace
37982 $(run-program-prefix) with $(test-program-prefix).
37983 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
37984 (test_program_prefix): This.
37985 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
37986 $(run-program-prefix) with $(test-program-prefix).
37987 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
37988 (test_program_prefix): This.
37989 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
37990 * posix/Makefile ($(objpfx)globtest.out): Replace
37991 $(run-via-rtld-prefix) and $(test-wrapper) with
37992 $(test-program-prefix) and $(test-via-rtld-prefix).
37993 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
37994 $(test-program-prefix).
37995 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
37996 $(host-test-program-cmd).
37997 (tst-spawn-ARGS): Likewise.
37998 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
37999 $(test-program-prefix).
38000 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
38001 (test_via_rtld_prefix): This.
38002 (test_wrapper): Renamed to ...
38003 (test_program_prefix): This.
38004 (run_program_prefix): Replaced by test_program_prefix.
38005 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
38006 (test_program_prefix): This.
38007 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
38008 with $(host-test-program-cmd).
38009 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
38010 $(run-program-prefix) with $(test-program-prefix).
38011 ($(objpfx)tst-printf.out): Likewise.
38012 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
38013 $(test-program-cmd).
38014 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
38015 (test_program_prefix): This.
38016 * stdio-common/tst-unbputc.sh: Likewise.
38017 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
38018 $(run-program-prefix) with $(test-program-prefix).
38019 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
38020 (test_program_prefix): This.
38021 * string/Makefile ($(objpfx)tst-svc.out): Replace
38022 $(built-program-cmd) with $(test-program-cmd).
38023
38024 2013-01-11 Andreas Jaeger <aj@suse.de>
38025
38026 [BZ #15003]
38027 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
38028 value. Sync with Linux 3.7.
38029
38030 2013-01-10 David S. Miller <davem@davemloft.net>
38031
38032 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
38033 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38034 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38035
38036 2013-01-10 Roland McGrath <roland@hack.frob.com>
38037
38038 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
38039 never set.
38040 * configure: Regenerated.
38041
38042 2013-01-10 David S. Miller <davem@davemloft.net>
38043
38044 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38045 sparc V9 rather than using V8 code.
38046 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38047 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38048
38049 2013-01-10 Roland McGrath <roland@hack.frob.com>
38050
38051 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
38052 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
38053 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
38054 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
38055 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
38056 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
38057 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
38058 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
38059 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
38060 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
38061 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
38062 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
38063 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
38064 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
38065 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
38066 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
38067 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
38068 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
38069 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
38070 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
38071 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
38072 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
38073 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
38074 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
38075 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
38076 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
38077 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
38078
38079 2013-01-10 David S. Miller <davem@davemloft.net>
38080
38081 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38082
38083 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
38084
38085 * posix/Makefile (tests-static): New variable.
38086 (tests): Add $(tests-static).
38087 (tst-exec-static-ARGS): New variable.
38088 (tst-spawn-static-ARGS): Likewise.
38089 * posix/tst-exec-static.c: New file.
38090 * posix/tst-spawn-static.c: Likewise.
38091 * posix/tst-exec.c: Support run directly.
38092 * posix/tst-spawn.c: Likewise.
38093
38094 2013-01-10 Joseph Myers <joseph@codesourcery.com>
38095
38096 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
38097 long.
38098 * math/bits/mathcalls.h (llrint): Likewise.
38099 (llround): Likewise.
38100 * stdlib/stdlib.h (struct drand48_data): Likewise.
38101 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
38102 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
38103 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
38104 Likewise.
38105 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
38106 Likewise.
38107 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
38108 (elf_greg_t): Likewise.
38109 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
38110 (__jmp_buf): Likewise.
38111 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
38112 definitions.
38113 (llrint): Likewise, for all definitions.
38114 (llrintl): Likewise.
38115
38116 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
38117 Remove [__GNUC__] condition.
38118 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
38119 condition to just [__USE_ISOC99].
38120 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
38121
38122 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
38123
38124 [BZ #14200]
38125 * sysdeps/unix/sysv/linux/x86/bits/environments.h
38126 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
38127 defined.
38128 (_POSIX_V6_ILP32_OFF32): Likewise.
38129 (_XBS5_ILP32_OFF32): Likewise.
38130 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
38131 (__ILP32_OFFBIG_LDFLAGS): Likewise.
38132
38133 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38134
38135 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
38136
38137 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
38138 doubles __mpexp_twomm1. Adjust usage.
38139 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
38140 Remove.
38141
38142 2013-01-10 Andreas Schwab <schwab@suse.de>
38143
38144 [BZ #14964]
38145 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
38146 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
38147
38148 2013-01-09 David S. Miller <davem@davemloft.net>
38149
38150 [BZ #15003]
38151 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
38152 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
38153 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
38154 (TCP_FASTOPEN): Define.
38155 (tcp_repair_opt): New structure.
38156 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
38157 enum values.
38158 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
38159 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
38160 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
38161 (tcp_cookie_transactions): New structure.
38162
38163 2013-01-09 Anton Blanchard <anton@samba.org>
38164
38165 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
38166 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
38167 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
38168 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
38169
38170 2013-01-09 Joseph Myers <joseph@codesourcery.com>
38171
38172 * include/features.h (__USE_ANSI): Remove.
38173
38174 2013-01-09 Roland McGrath <roland@hack.frob.com>
38175
38176 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
38177
38178 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
38179
38180 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
38181
38182 * sysdeps/s390/fpu/libm-test-ulps: Update.
38183
38184 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38185
38186 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
38187 (__acr): Likewise.
38188 (__cpy): Likewise.
38189 (norm): Likewise.
38190 (denorm): Likewise.
38191 (__mp_dbl): Likewise.
38192 (__dbl_mp): Likewise.
38193 (add_magnitudes): Likewise.
38194 (sub_magnitudes): Likewise.
38195 (__add): Likewise.
38196 (__sub): Likewise.
38197 (__mul): Likewise.
38198 (__inv): Likewise.
38199 (__dvd): Likewise.
38200 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
38201 (__acr): Likewise.
38202 (__cpy): Likewise.
38203 (norm): Likewise.
38204 (denorm): Likewise.
38205 (__mp_dbl): Likewise.
38206 (__dbl_mp): Likewise.
38207 (add_magnitudes): Likewise.
38208 (sub_magnitudes): Likewise.
38209 (__add): Likewise.
38210 (__sub): Likewise.
38211 (__mul): Likewise.
38212 (__inv): Likewise.
38213 (__dvd): Likewise.
38214 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
38215 (__acr): Likewise.
38216 (__cpy): Likewise.
38217 (norm): Likewise.
38218 (denorm): Likewise.
38219 (__mp_dbl): Likewise.
38220 (__dbl_mp): Likewise.
38221 (add_magnitudes): Likewise.
38222 (sub_magnitudes): Likewise.
38223 (__add): Likewise.
38224 (__sub): Likewise.
38225 (__mul): Likewise.
38226 (__inv): Likewise.
38227 (__dvd): Likewise.
38228
38229 2013-01-08 Joseph Myers <joseph@codesourcery.com>
38230
38231 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
38232 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
38233 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
38234 2 && __USE_EXTERN_INLINES]: Likewise.
38235
38236 2013-01-08 Andreas Jaeger <aj@suse.de>
38237
38238 [BZ# 14985]
38239 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
38240 Remove.
38241 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38242 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38243
38244 2013-01-07 Anton Blanchard <anton@samba.org>
38245
38246 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
38247 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
38248 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
38249 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
38250 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
38251 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38252 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
38253 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38254 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38255 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38256 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38257 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38258 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38259 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38260 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
38261 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38262 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38263 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38264 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
38265 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
38266 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
38267 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
38268 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38269 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38270 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
38271 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
38272 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38273 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
38274 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
38275 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38276 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
38277 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38278 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38279 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38280 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38281 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38282 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38283 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38284 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
38285 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
38286 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
38287 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38288 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38289
38290 2013-01-07 Joseph Myers <joseph@codesourcery.com>
38291
38292 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
38293 (__MALLOC_PMT): Likewise.
38294 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
38295 [__GNUC__], only on [_LIBC].
38296 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38297 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
38298 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38299 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
38300 forward declaration.
38301 (realloc_hook_ini): Likewise.
38302 (memalign_hook_ini): Likewise.
38303 (__libc_memalign): Do not use __MALLOC_PMT in variable
38304 declaration.
38305 (__libc_valloc): Likewise.
38306 (__libc_pvalloc): Likewise.
38307 (__libc_calloc): Likewise.
38308 (__posix_memalign): Likewise.
38309
38310 [BZ #14996]
38311 * math/s_casinh.c: Include <float.h>.
38312 (__casinh): Do not do computation with squaring and square root
38313 for large arguments.
38314 * math/s_casinhf.c: Include <float.h>.
38315 (__casinhf): Do not do computation with squaring and square root
38316 for large arguments.
38317 * math/s_casinhl.c: Include <float.h>.
38318 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
38319 (__casinhl): Do not do computation with squaring and square root
38320 for large arguments.
38321 * math/libm-test.inc (casin_test): Add more tests.
38322 (casinh_test): Likewise.
38323 * sysdeps/i386/fpu/libm-test-ulps: Update.
38324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38325
38326 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
38327
38328 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
38329 (__x86_64_raw_data_cache_size): Likewise.
38330 (__x86_64_data_cache_size_half): Likewise.
38331 (__x86_64_raw_data_cache_size_half): Likewise.
38332 (__x86_64_shared_cache_size): Likewise.
38333 (__x86_64_raw_shared_cache_size): Likewise.
38334 (__x86_64_shared_cache_size_half): Likewise.
38335 (__x86_64_raw_shared_cache_size_half): Likewise.
38336 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
38337 to ...
38338 (__x86_data_cache_size): This.
38339 (__x86_64_raw_data_cache_size): Renamed to ...
38340 (__x86_raw_data_cache_size): This.
38341 (__x86_64_data_cache_size_half): Renamed to ...
38342 (__x86_data_cache_size_half): This.
38343 (__x86_64_raw_data_cache_size_half): Renamed to ...
38344 (__x86_raw_data_cache_size_half): This.
38345 (__x86_64_shared_cache_size): Renamed to ...
38346 (__x86_shared_cache_size): This.
38347 (__x86_64_raw_shared_cache_size): Renamed to ...
38348 (__x86_raw_shared_cache_size): This.
38349 (__x86_64_shared_cache_size_half): Renamed to ...
38350 (__x86_shared_cache_size_half): This.
38351 (__x86_64_raw_shared_cache_size_half): Renamed to ...
38352 (__x86_raw_shared_cache_size_half): This.
38353 * sysdeps/x86_64/memcpy.S: Updated.
38354 * sysdeps/x86_64/memset.S: Likewise.
38355 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38356 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38357 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38358
38359 2013-01-04 David S. Miller <davem@davemloft.net>
38360
38361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38362
38363 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
38364
38365 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
38366 1 to avoid redefinition warning.
38367 (__USE_GNU): Don't define.
38368 (init_signaling_nan): Protoize.
38369
38370 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38371
38372 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
38373
38374 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
38375 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
38376 (__cpymn): Likewise.
38377 (norm): Remove commented code.
38378 (denorm): Likewise.
38379 (__mp_dbl): Likewise.
38380 (__inv): Likewise.
38381 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
38382 (__cpymn): Likewise.
38383 (norm): Remove commented code.
38384 (denorm): Likewise.
38385 (__mp_dbl): Likewise.
38386 (__inv): Likewise.
38387
38388 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
38389 mp_no value for 1.0 and 2.0.
38390 (norm): Use RADIXI instead of radixi.d.
38391 (denorm): Likewise.
38392 (__mul): Use 0.0 instead of zero.d.
38393 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
38394 mp_no value for 1.0 and 2.0.
38395 (norm): Use RADIXI instead of radixi.d.
38396 (denorm): Likewise.
38397 (__mul): Use 0.0 instead of zero.d.
38398
38399 2013-01-04 Joseph Myers <joseph@codesourcery.com>
38400
38401 [BZ #14994]
38402 * math/s_casinh.c (__casinh): Reduce finite argument to first
38403 quadrant then set signs of results at the end.
38404 * math/s_casinhf.c (__casinhf): Likewise.
38405 * math/s_casinhl.c (__casinhl): Likewise.
38406 * math/libm-test.inc (casin_test): Add more tests.
38407 (casinh_test): Likewise.
38408 * sysdeps/i386/fpu/libm-test-ulps: Update.
38409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38410
38411 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
38412
38413 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
38414
38415 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
38416
38417 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
38418 declarations.
38419 (denorm): Likewise.
38420 (__mp_dbl): Likewise.
38421 (__inv): Likewise.
38422
38423 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
38424 and adjust the header comment.
38425
38426 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
38427 variable name from declaration.
38428
38429 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
38430
38431 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38432 Initialize COMMON_CPUID_INDEX_7 element.
38433 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
38434 (CPUID_RTM): Likewise.
38435 (HAS_RTM): Likewise.
38436 (COMMON_CPUID_INDEX_7): New enum.
38437
38438 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
38439
38440 [BZ #14981]
38441 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
38442 size is zero, record memory as freed.
38443
38444 2013-01-03 Andreas Jaeger <aj@suse.de>
38445
38446 * po/ia.po: Add new Interlingua translation.
38447
38448 2012-01-03 Allan McRae <allan@archlinux.org>
38449
38450 * locale/programs/localedef.c: Fix description of '--posix' flag.
38451
38452 2013-01-02 Joseph Myers <joseph@codesourcery.com>
38453
38454 * NEWS: Update dates in second copyright notice.
38455 * README: Update copyright dates in example.
38456 * manual/libc.texinfo: Update copyright dates.
38457 * scripts/test-installation.pl: Update copyright date in --version
38458 output.
38459
38460 * hurd/ctty-input.c: Fix copyright notice formatting.
38461 * hurd/ctty-output.c: Likewise.
38462 * hurd/dtable.c: Likewise.
38463 * hurd/hurd-raise.c: Likewise.
38464 * hurd/hurdprio.c: Likewise.
38465 * hurd/msgportdemux.c: Likewise.
38466 * misc/sys/file.h: Likewise.
38467 * misc/sys/ioctl.h: Likewise.
38468 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
38469 * sysdeps/mach/hurd/chdir.c: Likewise.
38470 * sysdeps/mach/hurd/fchdir.c: Likewise.
38471 * sysdeps/mach/hurd/rename.c: Likewise.
38472 * sysdeps/mach/hurd/rmdir.c: Likewise.
38473 * sysdeps/mach/hurd/seekdir.c: Likewise.
38474 * sysdeps/mach/hurd/setsid.c: Likewise.
38475 * sysdeps/posix/wait3.c: Likewise.
38476
38477 * All files with FSF copyright notices: Update copyright dates
38478 using scripts/update-copyrights.
38479 * intl/plural.c: Regenerated.
38480 * locale/programs/charmap-kw.h: Likewise.
38481 * locale/programs/locfile-kw.h: Likewise.
38482
38483 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
38484
38485 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
38486 four values.
38487
38488 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
38489 calculation loop and add branch prediction.
38490
38491 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
38492 check access beyond bounds of m1np.
38493
38494 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38495 MPTWO.
38496 (__inv): Remove local variable MPTWO to use the global
38497 constant.
38498 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
38499 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38500 variable MPTWO.
38501 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
38502 MP3HALFS static const.
38503
38504 2013-01-01 David S. Miller <davem@davemloft.net>
38505
38506 * po/ca.po: Update from translation team.
38507
38508 2013-01-01 Joseph Myers <joseph@codesourcery.com>
38509
38510 * scripts/update-copyrights: New file.
38511 * Makeconfig: Reformat copyright notice.
38512 * ctype/ctype.h: Likewise.
38513 * debug/swprintf_chk.c: Likewise.
38514 * elf/dl-cache.c: Likewise.
38515 * elf/dl-debug.c: Likewise.
38516 * elf/dl-object.c: Likewise.
38517 * grp/initgroups.c: Likewise.
38518 * hurd/Makefile: Likewise.
38519 * hurd/hurd/signal.h: Likewise.
38520 * hurd/hurdfault.c: Likewise.
38521 * hurd/hurdioctl.c: Likewise.
38522 * hurd/hurdlookup.c: Likewise.
38523 * hurd/intr-msg.c: Likewise.
38524 * iconv/gconv_open.c: Likewise.
38525 * libio/swprintf.c: Likewise.
38526 * locale/lc-ctype.c: Likewise.
38527 * locale/nl_langinfo.c: Likewise.
38528 * mach/Machrules: Likewise.
38529 * mach/Makefile: Likewise.
38530 * malloc/obstack.h: Likewise.
38531 * manual/Makefile: Likewise.
38532 * manual/tsort.awk: Likewise.
38533 * misc/bits/stab.def: Likewise.
38534 * nis/nis_print_group_entry.c: Likewise.
38535 * nis/nis_table.c: Likewise.
38536 * nis/nss_compat/compat-pwd.c: Likewise.
38537 * nis/nss_compat/compat-spwd.c: Likewise.
38538 * po/Makefile: Likewise.
38539 * posix/fnmatch.c: Likewise.
38540 * posix/regex.h: Likewise.
38541 * resolv/Makefile: Likewise.
38542 * resolv/nss_dns/dns-network.c: Likewise.
38543 * resolv/res_hconf.c: Likewise.
38544 * scripts/gen-sorted.awk: Likewise.
38545 * soft-fp/soft-fp.h: Likewise.
38546 * stdio-common/printf.h: Likewise.
38547 * stdlib/monetary.h: Likewise.
38548 * stdlib/random.c: Likewise.
38549 * stdlib/random_r.c: Likewise.
38550 * sysdeps/generic/Makefile: Likewise.
38551 * sysdeps/gnu/Makefile: Likewise.
38552 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38553 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38554 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38555 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38556 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38557 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38558 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38559 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38560 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38561 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38562 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38563 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38564 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38565 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38566 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
38567 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38568 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38569 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38570 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38571 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38572 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38573 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38574 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38575 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
38576 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
38577 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38578 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
38579 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
38580 * sysdeps/mach/hurd/errnos.awk: Likewise.
38581 * sysdeps/mach/hurd/fork.c: Likewise.
38582 * sysdeps/mach/hurd/getcwd.c: Likewise.
38583 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
38584 * sysdeps/mach/hurd/mmap.c: Likewise.
38585 * sysdeps/mach/hurd/utimes.c: Likewise.
38586 * sysdeps/mach/hurd/xmknod.c: Likewise.
38587 * sysdeps/posix/profil.c: Likewise.
38588 * sysdeps/posix/readdir_r.c: Likewise.
38589 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38590 * sysdeps/powerpc/bits/setjmp.h: Likewise.
38591 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
38592 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38593 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38594 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38595 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38596 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38597 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38598 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38599 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38600 * sysdeps/pthread/lio_listio.c: Likewise.
38601 * sysdeps/sparc/dl-procinfo.h: Likewise.
38602 * sysdeps/unix/i386/sysdep.S: Likewise.
38603 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
38604 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
38605 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
38606 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
38607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38608 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
38609 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
38610 * sysdeps/unix/sysv/linux/speed.c: Likewise.
38611 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
38612 * sysdeps/wordsize-32/divdi3.c: Likewise.
38613 * time/sys/time.h: Likewise.
38614 * wcsmbs/Makefile: Likewise.
38615
38616 2013-01-01 David S. Miller <davem@davemloft.net>
38617
38618 * po/fr.po: Update from translation team.
38619
38620 * catgets/gencat.c: Update copyright year.
38621 * csu/version.c: Likewise.
38622 * debug/catchsegv.sh: Likewise.
38623 * debug/pcprofiledump.c: Likewise.
38624 * debug/xtrace.sh: Likewise.
38625 * elf/ldconfig.c: Likewise.
38626 * elf/ldd.bash.in: Likewise.
38627 * elf/pldd.c: Likewise.
38628 * elf/sotruss.ksh: Likewise.
38629 * elf/sprof.c: Likewise.
38630 * iconv/iconv_prog.c: Likewise.
38631 * iconv/iconvconfig.c: Likewise.
38632 * locale/programs/locale.c: Likewise.
38633 * locale/programs/localedef.c: Likewise.
38634 * login/programs/pt_chown.c: Likewise.
38635 * malloc/memusage.sh: Likewise.
38636 * malloc/memusagestat.c: Likewise.
38637 * malloc/mtrace.pl: Likewise.
38638 * nscd/nscd.c: Likewise.
38639 * nss/getent.c: Likewise.
38640 * nss/makedb.c: Likewise.
38641 * posix/getconf.c: Likewise.
38642
38643 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38644
38645 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
38646 numbers.
38647
38648 2012-12-30 Mike Frysinger <vapier@gentoo.org>
38649
38650 * math/bits/mathcalls.h (modf): Use __nonnull.
38651
38652 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38653
38654 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
38655 (split): Use macro CN instead of the bare value.
38656 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
38657 could be used.
38658 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
38659 instead of the bare value.
38660 (power1): Likewise.
38661
38662 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38663
38664 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
38665 __ATAN_TWOM.
38666 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38667
38668 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
38669 their values.
38670 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38671 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38672 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
38673 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38674
38675 2012-12-28 Andreas Jaeger <aj@suse.de>
38676
38677 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
38678 values are from Linux 3.7.
38679
38680 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
38681 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
38682
38683 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38684
38685 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
38686 TRUE case.
38687
38688 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
38689 (norm): Likewise.
38690 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
38691 variables with preprocessor constants.
38692 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38693 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38694 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38695
38696 2012-12-27 Bruno Haible <bruno@clisp.org>
38697
38698 [BZ #14317]
38699 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
38700 only if needed.
38701
38702 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
38703
38704 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
38705 and use variable directly.
38706 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
38707
38708 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38709 MPONE.
38710 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
38711 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38712 variable MPONE.
38713 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38714 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38715 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
38716 include directive. Remove local variable MPONE.
38717 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
38718 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
38719 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38720
38721 2012-12-25 David S. Miller <davem@davemloft.net>
38722
38723 * version.h (RELEASE): Set to "development".
38724 (VERSION): Set to "2.17.90".
38725 * NEWS: Add 2.18 section.
38726
38727 2012-12-21 David S. Miller <davem@davemloft.net>
38728
38729 * po/hr.po: Update from translation team.
38730
38731 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38732
38733 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
38734
38735 2012-12-19 Steve Ellcey <sellcey@mips.com>
38736
38737 * NEWS: Mention new memcpy for MIPS.
38738
38739 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38740
38741 * manual/contrib.texi (Contributors): Spelling correction.
38742
38743 2012-12-15 David S. Miller <davem@davemloft.net>
38744
38745 * po/ru.po: Update from translation team.
38746
38747 2012-12-13 David S. Miller <davem@davemloft.net>
38748
38749 * NEWS: Mention IFUNC testsuite enhancements.
38750
38751 * po/pl.po: Update from translation team.
38752 * po/bg.po: Likewise.
38753
38754 * manual/contrib.texi (Contributors): Update entries for Hongjiu
38755 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
38756
38757 2012-12-11 David S. Miller <davem@davemloft.net>
38758
38759 * po/sv.po: Update from translation team.
38760
38761 * po/vi.po: Update from translation team.
38762
38763 * po/cs.po: Update from translation team.
38764
38765 * po/de.po: Update from translation team.
38766 * po/eo.po: Likewise.
38767 * po/nl.po: Likewise.
38768
38769 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
38770
38771 [BZ #14246]
38772 * manual/argp.texi (Argp Helper Functions): Move node to follow
38773 Argp Parsing State.
38774
38775 [BZ #14872]
38776 * manual/conf.texi (Limits on File System Capacity): Mention if
38777 terminating null is included in the max size.
38778
38779 2012-12-10 Andreas Jaeger <aj@suse.de>
38780
38781 * po/cs.po: Update from translation team.
38782
38783 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
38784
38785 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
38786 void pointer and cast to uintptr_t.
38787 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
38788 path.
38789 * sysdeps/s390/s390-64/memcpy.S: Likewise.
38790 * sysdeps/s390/s390-64/memset.S: Likewise.
38791
38792 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
38793
38794 [BZ #14833]
38795 * menual/message.texi (Message Translation): Fix typos.
38796 (Helper programs for gettext): Likewise.
38797
38798 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
38799
38800 [BZ #14898]
38801 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
38802 Change to -1.
38803
38804 2012-12-07 David S. Miller <davem@davemloft.net>
38805
38806 * po/libc.pot: Update.
38807
38808 2012-12-07 Richard Henderson <rth@redhat.com>
38809
38810 [BZ #10114]
38811 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
38812 normal/normal case to before the switch.
38813 (_FP_DIV): Likewise.
38814
38815 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
38816 Mike Frysinger <vapier@gentoo.org>
38817
38818 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
38819 check for __NR_fadvise64_64.
38820
38821 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
38822
38823 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
38824 0, not just to plain "0" as a statement.
38825 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
38826 with cw.
38827
38828 2012-12-06 Joseph Myers <joseph@codesourcery.com>
38829
38830 * NEWS: Use sourceware.org in Bugzilla URL.
38831
38832 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
38833
38834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
38835 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38836
38837 * stdio-common/tst-put-error.c (do_test): Add newline to the
38838 padded test to ensure flush.
38839
38840 2012-12-05 Jeff Law <law@redhat.com>
38841
38842 * sunrpc/etc.rpc (fedfs_admin): Add entry.
38843
38844 2012-12-05 Joseph Myers <joseph@codesourcery.com>
38845
38846 * README: Don't refer to ports add-on as distributed separately.
38847 Mention AArch64 in list of systems supported in the ports add-on.
38848
38849 * LICENSES: Add more non-FSF copyright and license notices.
38850
38851 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
38852 ((unused)).
38853
38854 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
38855
38856 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
38857 10000 as width of padded output.
38858
38859 2012-12-04 Joseph Myers <joseph@codesourcery.com>
38860
38861 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
38862
38863 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
38864 variable LX with __attribute__ ((unused)).
38865 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38866 Likewise.
38867 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
38868 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38869 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
38870 with __attribute__ ((unused)).
38871
38872 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
38873
38874 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
38875
38876 2012-12-04 Joseph Myers <joseph@codesourcery.com>
38877
38878 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
38879 (CFLAGS-nldbl-acos.c): New variable.
38880 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
38881 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
38882 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
38883 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
38884 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
38885 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
38886 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
38887 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
38888 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
38889 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
38890 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
38891 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
38892 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
38893 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
38894 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
38895 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
38896 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
38897 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
38898 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
38899 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
38900 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
38901 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
38902 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
38903 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
38904 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
38905 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
38906 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
38907 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
38908 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
38909 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
38910 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
38911 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
38912 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
38913 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
38914 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
38915 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
38916 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
38917 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
38918 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
38919 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
38920 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
38921 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
38922 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
38923 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
38924 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
38925 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
38926 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
38927 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
38928 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
38929 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
38930 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
38931 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
38932 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
38933 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
38934 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
38935 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
38936 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
38937 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
38938 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
38939 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
38940 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
38941 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
38942 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
38943 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
38944 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
38945 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
38946 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
38947 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
38948 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
38949 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
38950 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
38951 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
38952 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
38953 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
38954 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
38955 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
38956 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
38957 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
38958 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
38959 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
38960 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
38961 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
38962 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
38963 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
38964 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
38965 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
38966 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
38967 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
38968 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
38969 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
38970 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
38971 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
38972 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
38973 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
38974 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
38975 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
38976 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
38977
38978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38979 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38980
38981 [BZ #14914]
38982 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
38983 whole low double instead of just low 47 bits when splitting values
38984 into two parts.
38985
38986 2012-12-03 Allan McRae <allan@archlinux.org>
38987
38988 * manual/stdio.texi (Predefined Printf Handlers): Remove
38989 @hsep and @vsep usage.
38990
38991 2012-12-03 Mike Frysinger <vapier@gentoo.org>
38992
38993 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
38994 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
38995
38996 2012-12-03 Jeff Law <law@redhat.com>
38997
38998 * time/sys/time.h (settimeofday): Do not mark TV argument
38999 as __nonnull.
39000
39001 2012-12-01 Mike Frysinger <vapier@gentoo.org>
39002
39003 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
39004 when currently writing and seek to current position when not.
39005 * libio/Makefile (tests): Remove bug-fclose1.
39006 * libio/bug-fclose1.c: Delete.
39007
39008 2012-12-01 Joseph Myers <joseph@codesourcery.com>
39009
39010 * manual/arith.texi (feenableexcept): Fix typo.
39011 (fedisableexcept): Likewise.
39012
39013 2012-11-30 Roland McGrath <roland@hack.frob.com>
39014
39015 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
39016 second, differently-typed declaration, rather than a cast.
39017
39018 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
39019
39020 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
39021 * include/rpc/svc.h: ... here.
39022
39023 2012-11-30 Aurelien Jarno <aurel32@debian.org>
39024
39025 [BZ #13013]
39026 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
39027 depending n and resplen2 to catch cases where answer
39028 equals answerp2.
39029
39030 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
39031
39032 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
39033 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
39034
39035 2012-11-29 Mike Frysinger <vapier@gentoo.org>
39036
39037 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
39038
39039 2012-11-29 Roland McGrath <roland@hack.frob.com>
39040
39041 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
39042
39043 2012-11-28 Jeff Law <law@redhat.com>
39044
39045 [BZ #13761]
39046 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
39047 dataset_temporary. Track alloca usage into alloca_used.
39048 If dataset is large allocate and release it via malloc/free.
39049
39050 2012-06-04 Florian Weimer <fweimer@redhat.com>
39051
39052 [BZ #14197]
39053 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
39054
39055 2012-11-28 David S. Miller <davem@davemloft.net>
39056
39057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39058
39059 2012-11-28 Joseph Myers <joseph@codesourcery.com>
39060
39061 [BZ #14803]
39062 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
39063 of pi/2 rounded to nearest to 64 bits.
39064 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
39065 nearest to 64 bits.
39066 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
39067 bits.
39068
39069 2012-11-28 Jeff Law <law@redhat.com>
39070 Martin Osvald <mosvald@redhat.com>
39071
39072 [BZ #14889]
39073 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
39074 * sunrpc/svc.c: Include time.h.
39075 (__svc_accept_failed): New function.
39076 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
39077 any reason other than EINTR, call __svc_accept_failed.
39078 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
39079 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
39080
39081 2012-11-28 Andreas Schwab <schwab@suse.de>
39082
39083 * scripts/abilist.awk: Also handle indirect functions in .opd
39084 section.
39085
39086 2012-11-28 Joseph Myers <joseph@codesourcery.com>
39087
39088 [BZ #13881]
39089 * sysdeps/x86/fpu/powl_helper.c: New file.
39090 * sysdeps/x86/fpu/Makefile: Likewise.
39091 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
39092 (p3): New object.
39093 (__ieee754_powl): Use __powl_helper for finite arguments except
39094 integer exponents below 8.
39095 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
39096 (p3): New object.
39097 (__ieee754_powl): Use __powl_helper for finite arguments except
39098 integer exponents below 8.
39099 * math/libm-test.inc (pow_test): Add more tests and enable some
39100 previously disabled tests.
39101 * sysdeps/i386/fpu/libm-test-ulps: Update.
39102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39103
39104 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39105 Carlos O'Donell <carlos_odonell@mentor.com>
39106
39107 * nss/makedb.c (is_prime): Assert that input is odd and greater
39108 than 4. Note that fact in a comment too.
39109 (next_prime): Add 4 to input.
39110
39111 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
39112
39113 [BZ #11741]
39114 * libio/Makefile (tests): Add test case tst-fwrite-error.
39115 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
39116 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
39117 * libio/tst-fwrite-error.c: New test case.
39118
39119 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
39120
39121 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
39122 before casting to void *.
39123 * include/libc-internal.h (__pointer_type): New macro.
39124 (__integer_if_pointer_type_sub): Likewise.
39125 (__integer_if_pointer_type): Likewise.
39126 (cast_to_integer): Likewise.
39127 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
39128 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
39129 before casting to atomic64_t.
39130 (atomic_exchange_acq): Likewise.
39131 (__arch_exchange_and_add_body): Likewise.
39132 (__arch_add_body): Likewise.
39133 (atomic_add_negative): Likewise.
39134 (atomic_add_zero): Likewise.
39135
39136 2012-11-26 Joseph Myers <joseph@codesourcery.com>
39137
39138 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
39139 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
39140 (add_fdes): Likewise.
39141 (linear_search_fdes): Likewise.
39142 (binary_search_unencoded_fdes): Likewise.
39143
39144 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
39145
39146 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
39147
39148 2012-11-24 Adam Conrad <adconrad@0c3.net>
39149
39150 * configure.in: Autodetect C++ header directories.
39151 * configure: Regenerated.
39152
39153 2012-11-23 Mike Frysinger <vapier@gentoo.org>
39154
39155 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
39156
39157 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
39158
39159 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39160
39161 2012-11-22 Joseph Myers <joseph@codesourcery.com>
39162
39163 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
39164 LDBL_MANT_DIG == 106]: Disable some tests.
39165 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39166 Likewise.
39167 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39168 Likewise.
39169
39170 [BZ #14871]
39171 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
39172 input for small inputs. Return +/- pi/2 for large inputs.
39173 * math/libm-test.inc (atan_test): Add more tests.
39174
39175 * sysdeps/generic/unwind-dw2-fde-glibc.c
39176 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
39177 __attribute__ ((unused)).
39178
39179 [BZ #14645]
39180 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
39181 x * y if x and y are nonzero and z is zero.
39182
39183 [BZ #14811]
39184 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
39185 nonzero exponents with absolute value below 0x1p-117 to +/-
39186 0x1p-117.
39187
39188 [BZ #14869]
39189 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
39190 up arguments below 2**-450, not just those below 2**-500.
39191 * math/libm-test.inc (hypot_test): Add another test.
39192
39193 [BZ #14868]
39194 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
39195 Return a+b for ratio over 2**120, not 2**60.
39196 * math/libm-test.inc (hypot_test): Add another test.
39197
39198 * math/libm-test.inc (clog_test): Use
39199 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
39200 (clog10_test): Likewise.
39201
39202 [BZ #6778]
39203 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
39204
39205 2012-11-22 Andreas Schwab <schwab@suse.de>
39206
39207 * sysdeps/i386/fpu/libm-test-ulps: Update.
39208
39209 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
39210
39211 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
39212 printf output with newline.
39213
39214 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
39215
39216 [BZ #14865]
39217 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
39218 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
39219 -z nodlopen, -z initfirst and -z execstack support.
39220 * configure: Regenerated.
39221
39222 * elf/elf.h (DF_1_NODIRECT): New macro.
39223 (DF_1_IGNMULDEF): Likewise.
39224 (DF_1_NOKSYMS): Likewise.
39225 (DF_1_NOHDR): Likewise.
39226 (DF_1_EDITED): Likewise.
39227 (DF_1_NORELOC): Likewise.
39228 (DF_1_SYMINTPOSE): Likewise.
39229 (DF_1_GLOBAUDIT): Likewise.
39230 (DF_1_SINGLETON): Likewise.
39231 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
39232 DT_1_SUPPORTED_MASK bits.
39233 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
39234
39235 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
39236
39237 * sysdeps/unix/make-syscalls.sh: Document prefixes.
39238
39239 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
39240
39241 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
39242 macro.
39243
39244 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
39245 (sendmmsg): Move declarations...
39246 * socket/sys/socket.h: ... here.
39247 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
39248 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
39249 include it from...
39250 * socket/recvmmsg.c: ... this new file.
39251 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
39252 (sendmmsg): Rename to __sendmmsg, create weak alias and make
39253 definition of __sendmmsg hidden.
39254 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
39255 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
39256 Move ENOSYS stub into and include it from...
39257 * socket/sendmmsg.c: ... this new file.
39258 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
39259 (sysdep_routines): Move recvmmsg and sendmmsg...
39260 * socket/Makefile (routines): ... here.
39261 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
39262 (GLIBC_PRIVATE): Add __sendmmsg.
39263 * include/sys/socket.h (__sendmmsg): Add declarations.
39264 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
39265 sendmmsg.
39266
39267 2012-11-20 Joseph Myers <joseph@codesourcery.com>
39268
39269 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
39270 variable I1 with __attribute__ ((unused)).
39271 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39272
39273 2012-11-19 Joseph Myers <joseph@codesourcery.com>
39274
39275 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
39276 DUMMY variables with __attribute__ ((unused)).
39277
39278 * bits/byteswap.h: Include <bits/types.h>.
39279 (__bswap_64): Use __uint64_t instead of unsigned long long int.
39280
39281 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
39282
39283 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
39284 string_t. Do not manually set errno.
39285 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
39286 length with __strnlen. Make sure to both set errno and return it on
39287 failure.
39288
39289 2012-11-19 David S. Miller <davem@davemloft.net>
39290
39291 With help from Joseph Myers.
39292 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
39293 very large arguments properly.
39294 * math/libm-test.inc (atan_test): New tests.
39295 (atan2_test): New tests.
39296 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39297 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39298
39299 2012-11-19 Joseph Myers <joseph@codesourcery.com>
39300
39301 [BZ #14856]
39302 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
39303 Define to 3.
39304
39305 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
39306 [POSIX] (EADDRNOTAVAIL): Likewise.
39307 [POSIX] (EAFNOSUPPORT): Likewise.
39308 [POSIX] (EALREADY): Likewise.
39309 [POSIX] (ECONNABORTED): Likewise.
39310 [POSIX] (ECONNREFUSED): Likewise.
39311 [POSIX] (ECONNRESET): Likewise.
39312 [POSIX] (EDESTADDRREQ): Likewise.
39313 [POSIX] (EDQUOT): Likewise.
39314 [POSIX] (EHOSTUNREACH): Likewise.
39315 [POSIX] (EIDRM): Likewise.
39316 [POSIX] (EISCONN): Likewise.
39317 [POSIX] (ELOOP): Likewise.
39318 [POSIX] (EMULTIHOP): Likewise.
39319 [POSIX] (ENETDOWN): Likewise.
39320 [POSIX] (ENETUNREACH): Likewise.
39321 [POSIX] (ENOBUFS): Likewise.
39322 [POSIX] (ENODATA): Likewise.
39323 [POSIX] (ENOLINK): Likewise.
39324 [POSIX] (ENOMSG): Likewise.
39325 [POSIX] (ENOPROTOOPT): Likewise.
39326 [POSIX] (ENOSR): Likewise.
39327 [POSIX] (ENOSTR): Likewise.
39328 [POSIX] (ENOTCONN): Likewise.
39329 [POSIX] (ENOTSOCK): Likewise.
39330 [POSIX] (EOPNOTSUPP): Likewise.
39331 [POSIX] (EOVERFLOW): Likewise.
39332 [POSIX] (EPROTO): Likewise.
39333 [POSIX] (EPROTONOSUPPORT): Likewise.
39334 [POSIX] (EPROTOTYPE): Likewise.
39335 [POSIX] (ESTALE): Likewise.
39336 [POSIX] (ETIME): Likewise.
39337 [POSIX] (ETXTBSY): Likewise.
39338 [POSIX] (EWOULDBLOCK): Likewise.
39339 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
39340 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
39341 [POSIX] (SEEK_CUR): Likewise.
39342 [POSIX] (SEEK_END): Likewise.
39343 [POSIX || UNIX98] (mode_t): Do not require.
39344 [POSIX] (off_t): Likewise.
39345 [POSIX] (pid_t): Likewise.
39346 [POSIX] (sys/stat.h): Do not allow header.
39347 [POSIX] (unistd.h): Likewise.
39348 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
39349 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
39350 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
39351 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
39352 require.
39353 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
39354 sigevent): Specify elements.
39355 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
39356 entry.
39357 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
39358 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
39359
39360 * conform/data/cpio.h-data [POSIX]: Disable whole file.
39361 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
39362 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
39363 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
39364 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
39365 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
39366 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
39367 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
39368 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
39369 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
39370 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
39371 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
39372 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
39373 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
39374 Likewise.
39375 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
39376 Likewise.
39377 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
39378 Likewise.
39379 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
39380 Likewise.
39381 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
39382 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
39383 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
39384 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
39385 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
39386 Specify lower bound on value.
39387 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
39388 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
39389 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
39390 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
39391 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
39392 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
39393 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
39394 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
39395 value.
39396 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
39397 as optional.
39398 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
39399 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
39400 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
39401 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
39402 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
39403 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
39404 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
39405 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
39406 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
39407 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
39408 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
39409 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
39410 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
39411 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
39412 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
39413 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
39414 entry.
39415 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
39416 optional.
39417 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
39418 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
39419 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
39420 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
39421 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
39422 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
39423 Likewise.
39424 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
39425 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
39426 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
39427 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
39428 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
39429 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
39430 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
39431 as optional.
39432 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
39433 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
39434 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
39435 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
39436 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
39437 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
39438 specify as optional.
39439 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
39440 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
39441 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
39442 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
39443 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
39444 [XPG3] (NL_LANGMAX): Likewise.
39445 [POSIX || XPG3] (NL_MSGMAX): Likewise.
39446 [POSIX || XPG3] (NL_NMAX): Likewise.
39447 [POSIX || XPG3] (NL_SETMAX): Likewise.
39448 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
39449 [XPG3] (NZERO): Likewise.
39450 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
39451 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
39452 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
39453 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
39454 (REG_ERANGE): Expect.
39455 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
39456 optional-constant.
39457 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
39458 Use (void) in prototype.
39459 [POSIX] (*_t): Allow.
39460 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
39461 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
39462 (WRDE_BADVAL): Expect.
39463
39464 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
39465 expect.
39466 [XPG3 || XPG4] (O_RSYNC): Likewise.
39467 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
39468 Likewise.
39469 [XPG3 || XPG4] (pthread_sigmask): Likewise.
39470 [XPG3 || XPG4] (sigqueue): Likewise.
39471 [XPG3 || XPG4] (sigtimedwait): Likewise.
39472 [XPG3 || XPG4] (sigwaitinfo): Likewise.
39473 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
39474 [XPG3 || XPG4] (vsnprintf): Likewise.
39475 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
39476 Likewise.
39477 [XPG3 || XPG4] (blksize_t): Likewise.
39478 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
39479 Likewise.
39480 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
39481 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
39482 [XPG3 || XPG4] (struct itimerspec): Likewise.
39483 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
39484 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
39485 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
39486 [XPG3 || XPG4] (clockid_t): Likewise.
39487 [XPG3 || XPG4] (timer_t): Likewise.
39488 [XPG3 || XPG4] (clock_getres): Likewise.
39489 [XPG3 || XPG4] (clock_gettime): Likewise.
39490 [XPG3 || XPG4] (clock_settime): Likewise.
39491 [XPG3 || XPG4] (nanosleep): Likewise.
39492 [XPG3 || XPG4] (timer_create): Likewise.
39493 [XPG3 || XPG4] (timer_delete): Likewise.
39494 [XPG3 || XPG4] (timer_gettime): Likewise.
39495 [XPG3 || XPG4] (timer_getoverrun): Likewise.
39496 [XPG3 || XPG4] (timer_settime): Likewise.
39497 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
39498 [XPG3 || XPG4] (getlogin_r): Likewise.
39499 [XPG3 || XPG4] (pread): Likewise.
39500 [XPG3 || XPG4] (pthread_atfork): Likewise.
39501 [XPG3 || XPG4] (pwrite): Likewise.
39502
39503 [BZ #14835]
39504 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
39505 <bits/siginfo.h>.
39506
39507 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
39508
39509 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
39510 finalizing MALLSTREAM.
39511
39512 * sysdeps/mach/hurd/syncfs.c: New file.
39513
39514 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39515
39516 [BZ #14719]
39517 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
39518 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
39519 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
39520 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
39521 (_nss_dns_gethostbyname4_r): Likewise.
39522 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
39523 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
39524
39525 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
39526
39527 [BZ #13763]
39528 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
39529
39530 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
39531
39532 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
39533 * elf/cache.c (print_entry): Print ",AArch64" for
39534 FLAG_AARCH64_LIB64
39535
39536 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
39537 * elf/cache.c (print_entry): Print ",hard-float" for
39538 FLAG_ARM_LIBHF.
39539
39540 2012-11-18 David S. Miller <davem@davemloft.net>
39541
39542 With help from Joseph Myers.
39543 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
39544 cutoff to 2**-13.
39545 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
39546 cutoff to 2**-25.
39547 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
39548 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
39549 small.
39550 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
39551 * math/libm-test.inc (y0_test): New tests.
39552 (y1_test): New tests.
39553 * sysdeps/i386/fpu/libm-test-ulps: Update.
39554 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39555 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39556
39557 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
39558
39559 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
39560 64-bit targets.
39561 * configure: Regenerated.
39562
39563 2012-11-17 David S. Miller <davem@davemloft.net>
39564
39565 [BZ #14811]
39566 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
39567 nonzero exponents with absolute value below 0x1p-128 to +/-
39568 0x1p-128.
39569
39570 2012-11-17 Joseph Myers <joseph@codesourcery.com>
39571
39572 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
39573
39574 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
39575
39576 * posix/getconf-speclist.c: New file.
39577 * posix/posix-envs.def: Likewise.
39578 * posix/confstr.c (START_ENV_GROUP): New macro.
39579 (END_ENV_GROUP): Likewise.
39580 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39581 (KNOWN_PRESENT_ENV_STRING): Likewise.
39582 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39583 (UNKNOWN_ENVIRONMENT): Likewise.
39584 (confstr): Include posix-envs.def instead of handling
39585 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
39586 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
39587 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
39588 (END_ENV_GROUP): Likewise.
39589 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39590 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39591 (UNKNOWN_ENVIRONMENT): Likewise.
39592 (__sysconf): Include posix-envs.def instead of handling associated
39593 cases directly here.
39594 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
39595 preprocessing getconf-speclist.c rather than running getconf or
39596 generating empty file.
39597
39598 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
39599
39600 * scripts/check-local-headers.sh: Ignore 'mach' headers.
39601
39602 2012-11-16 Andrej Lajovic <natrij@gmail.com>
39603
39604 [BZ #14672]
39605 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
39606
39607 2012-11-16 David S. Miller <davem@davemloft.net>
39608
39609 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
39610 smaller than LDBL_EPSILON/2.0L, just return xm1.
39611
39612 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
39613
39614 * elf/tst-array1.c (init): Set constructor priority to 1000.
39615 (fini): Set destructor priority to 1000.
39616 * elf/tst-array2dep.c: Likewise.
39617
39618 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
39619
39620 [BZ #11741]
39621 * libio/fileops.c (_IO_new_file_write): Correctly return error.
39622 (_IO_new_file_xsputn): Also return EOF if none of the input
39623 data was written when overflow failed.
39624 * libio/iopadn.c (_IO_padn): Likewise.
39625 * libio/iowpadn.c (_IO_wpadn): Likewise.
39626 * stdio-common/tst-put-error.c: Add copyright notice.
39627 (do_test): Add case for printing padded string.
39628 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
39629 _IO_padn returned error.
39630 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
39631 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
39632 return EOF.
39633
39634 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
39635
39636 * libio/libioP.h: Add comment note that the references to C++
39637 bits are now obsolete.
39638
39639 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39640
39641 * math/libm-test.inc (check_complex): Use asprintf.
39642
39643 2012-11-14 Joseph Myers <joseph@codesourcery.com>
39644
39645 * debug/pcprofiledump.c (print_version): Update copyright year.
39646 * malloc/memusagestat.c (print_version): Likewise.
39647
39648 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
39649
39650 [BZ #14831]
39651 * elf/Makefile (tests): Add tst-audit8.
39652 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
39653 ($(objpfx)tst-audit8.out): New target.
39654 (tst-audit8-ENV): New variable.
39655 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
39656 audit if l_reloc_result is NULL.
39657 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
39658 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
39659 * elf/tst-audit8.c: New file.
39660
39661 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39662
39663 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
39664 * misc/Makefile (CFLAGS-select.c): Define.
39665 * posix/Makefile (CFLAGS-pause.c): Define.
39666
39667 2012-11-13 David S. Miller <davem@davemloft.net>
39668
39669 * crypt/Makefile: Move test targets after toplevel Rules
39670 inclusion. Grab any necessary sysdep routines when linking.
39671 * crypt/md5.c (md5_process_block): Remove define, we will always
39672 name it __md5_process_block.
39673 (md5_finish_ctx): Update md5_process_block call.
39674 (md5_stream): Likewise.
39675 (md5_process_bytes): Likewise.
39676 (md5_process_block): Rename to __md5_process_block and move to ...
39677 * crypt/md5-block.c: ... here.
39678 * crypt/sha256.c (sha256_process_block): Move to ...
39679 * crypt/sha256-block.c: ... here.
39680 * crypt/sha512.c (sha512_process_block): Move to ...
39681 * crypt/sha512-block.c: ... here.
39682 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
39683 path.
39684 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
39685 * sysdeps/sparc/sparc64/multiarch/Makefile
39686 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
39687 crypt subdir.
39688 (localedef-aux): Add md5 crypto assembler when in locale subdir.
39689 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
39690 multiarch changes.
39691 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
39692 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
39693 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
39694 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
39695 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
39696 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
39697 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
39698 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
39699 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
39700 file.
39701 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
39702 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
39703 file.
39704 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
39705
39706 2012-11-13 Joseph Myers <joseph@codesourcery.com>
39707
39708 * timezone/tzselect.ksh: Update from tzcode git revision
39709 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
39710 * timezone/zdump.c: Likewise.
39711 * timezone/zic.c: Likewise.
39712 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
39713 in TZVERSION setting, not $(PKGVERSION).
39714 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
39715 REPORT_BUGS_TO settings.
39716
39717 [BZ #14838]
39718 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
39719 macro.
39720
39721 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39722
39723 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
39724 detection to immediately after _FP_ROUND().
39725 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
39726 bits are 0.
39727
39728 2012-11-11 David S. Miller <davem@davemloft.net>
39729
39730 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
39731 inttypes.h
39732 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
39733 __close rather than their public counterparts.
39734
39735 2012-11-10 Joseph Myers <joseph@codesourcery.com>
39736
39737 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
39738 file.
39739 [UNIX98] (sem_timedwait): Do not expect.
39740 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
39741 [XPG4 || UNIX98] (sockatmark): Do not expect.
39742 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
39743 (clock_getcpuclockid): Do not expect.
39744 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
39745 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
39746 Do not expect.
39747 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
39748 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
39749 [UNIX98] (vwscanf): Likewise.
39750 [UNIX98] (vswscanf): Likewise.
39751
39752 2012-11-09 Joseph Myers <joseph@codesourcery.com>
39753
39754 * timezone/version.h: Remove file.
39755 * timezone/README: Do not refer to version.h.
39756 * timezone/Makefile ($(objpfx)zic.o): New dependency on
39757 $(objpfx)version.h.
39758 ($(objpfx)zdump.o): Likewise.
39759 ($(objpfx)version.h): New target.
39760
39761 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
39762 2012i.
39763 * timezone/README: Don't mention modification to tzselect.ksh.
39764 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
39765 work on unmodified tzselect.ksh. Substitute version numbers in
39766 tzselect.ksh.
39767
39768 * Makefile (format-me): Remove.
39769 (INSTALL): Adjust indentation. Use commands directly instead of
39770 using $(format-me).
39771
39772 * aclocal.m4 (ACX_PKGVERSION): New macro.
39773 (ACX_BUGURL): Likewise.
39774 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
39775 (PKGVERSION): New AC_DEFINE_UNQUOTED.
39776 (REPORT_BUGS_TO): Likewise.
39777 * configure: Regenerated.
39778 * config.h.in (PKGVERSION): New macro.
39779 (REPORT_BUGS_TO): Likewise.
39780 * config.make.in (PKGVERSION): New variable.
39781 (PKGVERSION_TEXI): Likewise.
39782 (REPORT_BUGS_TO): Likewise.
39783 (REPORT_BUGS_TEXI): Likewise.
39784 * Makefile (format-me): Use -I$(common-objpfx)manual.
39785 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
39786 ($(common-objpfx)manual/%): New target.
39787 (manual/%): Remove target.
39788 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
39789 (print_version): Use PKGVERSION.
39790 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
39791 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
39792 and REPORT_BUGS_TO.
39793 ($(objpfx)xtrace): Likewise.
39794 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
39795 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
39796 (print_version): Use PKGVERSION.
39797 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
39798 (do_version): Use PKGVERSION.
39799 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
39800 REPORT_BUGS_TO.
39801 (common-ldd-rewrite): Likewise.
39802 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
39803 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
39804 (print_version): Use PKGVERSION.
39805 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
39806 * elf/pldd.c (argp_program_bug_address): Remove variable.
39807 (more_help): New function.
39808 (argp): Use more_help.
39809 (print_version): Use PKGVERSION.
39810 * elf/sln.c (main): Use PKGVERSION.
39811 (usage): Use REPORT_BUGS_TO.
39812 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
39813 (top level): Use PKGVERSION.
39814 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
39815 (print_version): Use PKGVERSION.
39816 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
39817 (print_version): Use PKGVERSION.
39818 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
39819 (print_version): Use PKGVERSION.
39820 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
39821 (print_version): Use PKGVERSION.
39822 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
39823 (print_version): Use PKGVERSION.
39824 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
39825 (print_version): Use PKGVERSION.
39826 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
39827 and BUGURL.
39828 ($(objpfx)memusage): Likewise.
39829 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
39830 (do_version): Use PKGVERSION.
39831 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
39832 (print_version): Use PKGVERSION.
39833 * malloc/mtrace.pl ($PACKAGE): Remove variable.
39834 ($PKGVERSION): New variable.
39835 ($REPORT_BUGS_TO): Likewise.
39836 (usage): Use $REPORT_BUGS_TO.
39837 (top level): Use $PKGVERSION.
39838 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
39839 ($(objpfx)pkgvers.texi): New rule.
39840 ($(objpfx)stamp-pkgvers): Likewise.
39841 * manual/install.texi: Include pkgvers.texi.
39842 (--with-pkgversion): Document new configure option.
39843 (--with-bugurl): Likewise.
39844 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
39845 than necessarily for this particular distribution. Use
39846 REPORT_BUGS_TO for where to report bugs.
39847 * INSTALL: Regenerated.
39848 * manual/libc.texinfo: Include pkgvers.texi.
39849 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
39850 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
39851 (print_version): Use PKGVERSION.
39852 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
39853 (print_version): Use PKGVERSION.
39854 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
39855 (print_version): Use PKGVERSION.
39856 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
39857 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
39858 macro.
39859 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
39860 (print_version): Use PKGVERSION.
39861 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
39862 (print_version): Use PKGVERSION.
39863 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
39864 and PKGVERSION.
39865
39866 * timezone/checktab.awk: Update from tzcode 2012i.
39867 * timezone/ialloc.c: Likewise.
39868 * timezone/private.h: Likewise.
39869 * timezone/scheck.c: Likewise.
39870 * timezone/tzfile.h: Likewise.
39871 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
39872 (TZVERSION): Hardcode tzcode version number.
39873 * timezone/zdump.c: Update from tzcode 2012i.
39874 * timezone/zic.c: Likewise.
39875 * timezone/version.h: New file.
39876 * timezone/README: Describe version.h. Update upstream location.
39877
39878 [BZ #14824]
39879 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
39880 (mktemp): Enable declaration.
39881 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
39882 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
39883 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
39884 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
39885 Likewise.
39886 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
39887 Likewise.
39888 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
39889 Likewise.
39890 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
39891 Likewise.
39892 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
39893 Likewise.
39894 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
39895 Likewise.
39896
39897 [BZ #14821]
39898 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
39899 offset in buffer as u_int32_t not u_long. Consistently use memcpy
39900 for copies of such integer values.
39901 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39902 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39903
39904 2012-11-09 Andreas Jaeger <aj@suse.de>
39905
39906 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
39907 definitions and declarations that are provided by
39908 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39909
39910 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39911
39912 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
39913 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
39914 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
39915 definition.
39916
39917 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39918
39919 * elf/elf.h: Update comment before AArch64 relocations.
39920
39921 2012-11-07 David S. Miller <davem@davemloft.net>
39922
39923 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
39924 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39925 (__start_context): Declare.
39926 (__makecontext_ret): Delete.
39927 (__makecontext): Hook up __start_context instead of
39928 __makecontext_ret.
39929 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
39930 (sysdep_routines): Add __start_context when in stdlib.
39931
39932 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39933
39934 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
39935 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
39936 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
39937 hardcoded "nm".
39938 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
39939 (READELF): New variable. Use it instead of hardcoded "readelf".
39940
39941 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
39942
39943 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
39944 * sysdeps/x86/Makefile: Here.
39945 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
39946 * sysdeps/x86/tst-xmmymm.sh: This.
39947
39948 2012-11-07 Joseph Myers <joseph@codesourcery.com>
39949
39950 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
39951 expectations.
39952 [UNIX98] (pthread_barrier_t): Do not expect.
39953 [UNIX98] (pthread_barrierattr_t): Likewise.
39954 [UNIX98] (pthread_spinlock_t): Likewise.
39955 [UNIX98] (pthread_barrier_destroy): Likewise.
39956 [UNIX98] (pthread_barrier_init): Likewise.
39957 [UNIX98] (pthread_barrier_wait): Likewise.
39958 [UNIX98] (pthread_barrierattr_destroy): Likewise.
39959 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
39960 [UNIX98] (pthread_barrierattr_init): Likewise.
39961 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
39962 [UNIX98] (pthread_getcpuclockid): Likewise.
39963 [UNIX98] (pthread_mutex_timedlock): Likewise.
39964 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
39965 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
39966 [UNIX98] (pthread_sigmask): Likewise.
39967 [UNIX98] (pthread_spin_destroy): Likewise.
39968 [UNIX98] (pthread_spin_init): Likewise.
39969 [UNIX98] (pthread_spin_lock): Likewise.
39970 [UNIX98] (pthread_spin_trylock): Likewise.
39971 [UNIX98] (pthread_spin_unlock): Likewise.
39972 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
39973 Do not expect.
39974 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
39975 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
39976 [XPG3 || XPG4] (pthread_cond_t): Likewise.
39977 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
39978 [XPG3 || XPG4] (pthread_key_t): Likewise.
39979 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
39980 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
39981 [XPG3 || XPG4] (pthread_once_t): Likewise.
39982 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
39983 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
39984 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
39985 [XPG3 || XPG4] (pthread_t): Likewise.
39986
39987 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
39988 not expect.
39989 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
39990
39991 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
39992 Change function return type to int.
39993
39994 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
39995 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
39996 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
39997 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
39998 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
39999 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
40000 [!POSIX] (posix_madvise): Likewise.
40001 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
40002 && !UNIX98].
40003 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
40004 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
40005 (mode_t): Likewise.
40006 (posix_mem_offset): Likewise.
40007 (posix_typed_mem_get_info): Likewise.
40008 (posix_typed_mem_open): Likewise.
40009
40010 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
40011 Change condition to [XOPEN2K8].
40012
40013 * conform/conformtest.pl: Preprocess allow-header data with -x c
40014 instead of from stdin.
40015 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
40016 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
40017 [C99-based standards] (cerfc): Likewise.
40018 [C99-based standards] (cexp2): Likewise.
40019 [C99-based standards] (cexpm1): Likewise.
40020 [C99-based standards] (clog10): Likewise.
40021 [C99-based standards] (clog1p): Likewise.
40022 [C99-based standards] (clog2): Likewise.
40023 [C99-based standards] (clgamma): Likewise.
40024 [C99-based standards] (ctgamma): Likewise.
40025 [C99-based standards] (cerff): Likewise.
40026 [C99-based standards] (cerfcf): Likewise.
40027 [C99-based standards] (cexp2f): Likewise.
40028 [C99-based standards] (cexpm1f): Likewise.
40029 [C99-based standards] (clog10f): Likewise.
40030 [C99-based standards] (clog1pf): Likewise.
40031 [C99-based standards] (clog2f): Likewise.
40032 [C99-based standards] (clgammaf): Likewise.
40033 [C99-based standards] (ctgammaf): Likewise.
40034 [C99-based standards] (cerfl): Likewise.
40035 [C99-based standards] (cerfcl): Likewise.
40036 [C99-based standards] (cexp2l): Likewise.
40037 [C99-based standards] (cexpm1l): Likewise.
40038 [C99-based standards] (clog10l): Likewise.
40039 [C99-based standards] (clog1pl): Likewise.
40040 [C99-based standards] (clog2l): Likewise.
40041 [C99-based standards] (clgammal): Likewise.
40042 [C99-based standards] (ctgammal): Likewise.
40043 * conform/data/inttypes.h-data [C99-based standards]: Include
40044 stdint.h-data. Remove all expectations for stdint.h contents.
40045 [C99-based standards] (PRI*): Do not allow.
40046 [C99-based standards] (SCN*): Likewise.
40047 [C99-based standards] (*_t): Likewise.
40048 [C99-based-standards] (PRId8): Expect macro.
40049 [C99-based-standards] (PRIi8): Likewise.
40050 [C99-based-standards] (PRIo8): Likewise.
40051 [C99-based-standards] (PRIu8): Likewise.
40052 [C99-based-standards] (PRIx8): Likewise.
40053 [C99-based-standards] (PRIX8): Likewise.
40054 [C99-based-standards] (SCNd8): Likewise.
40055 [C99-based-standards] (SCNi8): Likewise.
40056 [C99-based-standards] (SCNo8): Likewise.
40057 [C99-based-standards] (SCNu8): Likewise.
40058 [C99-based-standards] (SCNx8): Likewise.
40059 [C99-based-standards] (PRIdLEAST8): Likewise.
40060 [C99-based-standards] (PRIiLEAST8): Likewise.
40061 [C99-based-standards] (PRIoLEAST8): Likewise.
40062 [C99-based-standards] (PRIuLEAST8): Likewise.
40063 [C99-based-standards] (PRIxLEAST8): Likewise.
40064 [C99-based-standards] (PRIXLEAST8): Likewise.
40065 [C99-based-standards] (SCNdLEAST8): Likewise.
40066 [C99-based-standards] (SCNiLEAST8): Likewise.
40067 [C99-based-standards] (SCNoLEAST8): Likewise.
40068 [C99-based-standards] (SCNuLEAST8): Likewise.
40069 [C99-based-standards] (SCNxLEAST8): Likewise.
40070 [C99-based-standards] (PRIdFAST8): Likewise.
40071 [C99-based-standards] (PRIiFAST8): Likewise.
40072 [C99-based-standards] (PRIoFAST8): Likewise.
40073 [C99-based-standards] (PRIuFAST8): Likewise.
40074 [C99-based-standards] (PRIxFAST8): Likewise.
40075 [C99-based-standards] (PRIXFAST8): Likewise.
40076 [C99-based-standards] (SCNdFAST8): Likewise.
40077 [C99-based-standards] (SCNiFAST8): Likewise.
40078 [C99-based-standards] (SCNoFAST8): Likewise.
40079 [C99-based-standards] (SCNuFAST8): Likewise.
40080 [C99-based-standards] (SCNxFAST8): Likewise.
40081 [C99-based-standards] (PRId16): Likewise.
40082 [C99-based-standards] (PRIi16): Likewise.
40083 [C99-based-standards] (PRIo16): Likewise.
40084 [C99-based-standards] (PRIu16): Likewise.
40085 [C99-based-standards] (PRIx16): Likewise.
40086 [C99-based-standards] (PRIX16): Likewise.
40087 [C99-based-standards] (SCNd16): Likewise.
40088 [C99-based-standards] (SCNi16): Likewise.
40089 [C99-based-standards] (SCNo16): Likewise.
40090 [C99-based-standards] (SCNu16): Likewise.
40091 [C99-based-standards] (SCNx16): Likewise.
40092 [C99-based-standards] (PRIdLEAST16): Likewise.
40093 [C99-based-standards] (PRIiLEAST16): Likewise.
40094 [C99-based-standards] (PRIoLEAST16): Likewise.
40095 [C99-based-standards] (PRIuLEAST16): Likewise.
40096 [C99-based-standards] (PRIxLEAST16): Likewise.
40097 [C99-based-standards] (PRIXLEAST16): Likewise.
40098 [C99-based-standards] (SCNdLEAST16): Likewise.
40099 [C99-based-standards] (SCNiLEAST16): Likewise.
40100 [C99-based-standards] (SCNoLEAST16): Likewise.
40101 [C99-based-standards] (SCNuLEAST16): Likewise.
40102 [C99-based-standards] (SCNxLEAST16): Likewise.
40103 [C99-based-standards] (PRIdFAST16): Likewise.
40104 [C99-based-standards] (PRIiFAST16): Likewise.
40105 [C99-based-standards] (PRIoFAST16): Likewise.
40106 [C99-based-standards] (PRIuFAST16): Likewise.
40107 [C99-based-standards] (PRIxFAST16): Likewise.
40108 [C99-based-standards] (PRIXFAST16): Likewise.
40109 [C99-based-standards] (SCNdFAST16): Likewise.
40110 [C99-based-standards] (SCNiFAST16): Likewise.
40111 [C99-based-standards] (SCNoFAST16): Likewise.
40112 [C99-based-standards] (SCNuFAST16): Likewise.
40113 [C99-based-standards] (SCNxFAST16): Likewise.
40114 [C99-based-standards] (PRId32): Likewise.
40115 [C99-based-standards] (PRIi32): Likewise.
40116 [C99-based-standards] (PRIo32): Likewise.
40117 [C99-based-standards] (PRIu32): Likewise.
40118 [C99-based-standards] (PRIx32): Likewise.
40119 [C99-based-standards] (PRIX32): Likewise.
40120 [C99-based-standards] (SCNd32): Likewise.
40121 [C99-based-standards] (SCNi32): Likewise.
40122 [C99-based-standards] (SCNo32): Likewise.
40123 [C99-based-standards] (SCNu32): Likewise.
40124 [C99-based-standards] (SCNx32): Likewise.
40125 [C99-based-standards] (PRIdLEAST32): Likewise.
40126 [C99-based-standards] (PRIiLEAST32): Likewise.
40127 [C99-based-standards] (PRIoLEAST32): Likewise.
40128 [C99-based-standards] (PRIuLEAST32): Likewise.
40129 [C99-based-standards] (PRIxLEAST32): Likewise.
40130 [C99-based-standards] (PRIXLEAST32): Likewise.
40131 [C99-based-standards] (SCNdLEAST32): Likewise.
40132 [C99-based-standards] (SCNiLEAST32): Likewise.
40133 [C99-based-standards] (SCNoLEAST32): Likewise.
40134 [C99-based-standards] (SCNuLEAST32): Likewise.
40135 [C99-based-standards] (SCNxLEAST32): Likewise.
40136 [C99-based-standards] (PRIdFAST32): Likewise.
40137 [C99-based-standards] (PRIiFAST32): Likewise.
40138 [C99-based-standards] (PRIoFAST32): Likewise.
40139 [C99-based-standards] (PRIuFAST32): Likewise.
40140 [C99-based-standards] (PRIxFAST32): Likewise.
40141 [C99-based-standards] (PRIXFAST32): Likewise.
40142 [C99-based-standards] (SCNdFAST32): Likewise.
40143 [C99-based-standards] (SCNiFAST32): Likewise.
40144 [C99-based-standards] (SCNoFAST32): Likewise.
40145 [C99-based-standards] (SCNuFAST32): Likewise.
40146 [C99-based-standards] (SCNxFAST32): Likewise.
40147 [C99-based-standards] (PRId64): Likewise.
40148 [C99-based-standards] (PRIi64): Likewise.
40149 [C99-based-standards] (PRIo64): Likewise.
40150 [C99-based-standards] (PRIu64): Likewise.
40151 [C99-based-standards] (PRIx64): Likewise.
40152 [C99-based-standards] (PRIX64): Likewise.
40153 [C99-based-standards] (SCNd64): Likewise.
40154 [C99-based-standards] (SCNi64): Likewise.
40155 [C99-based-standards] (SCNo64): Likewise.
40156 [C99-based-standards] (SCNu64): Likewise.
40157 [C99-based-standards] (SCNx64): Likewise.
40158 [C99-based-standards] (PRIdLEAST64): Likewise.
40159 [C99-based-standards] (PRIiLEAST64): Likewise.
40160 [C99-based-standards] (PRIoLEAST64): Likewise.
40161 [C99-based-standards] (PRIuLEAST64): Likewise.
40162 [C99-based-standards] (PRIxLEAST64): Likewise.
40163 [C99-based-standards] (PRIXLEAST64): Likewise.
40164 [C99-based-standards] (SCNdLEAST64): Likewise.
40165 [C99-based-standards] (SCNiLEAST64): Likewise.
40166 [C99-based-standards] (SCNoLEAST64): Likewise.
40167 [C99-based-standards] (SCNuLEAST64): Likewise.
40168 [C99-based-standards] (SCNxLEAST64): Likewise.
40169 [C99-based-standards] (PRIdFAST64): Likewise.
40170 [C99-based-standards] (PRIiFAST64): Likewise.
40171 [C99-based-standards] (PRIoFAST64): Likewise.
40172 [C99-based-standards] (PRIuFAST64): Likewise.
40173 [C99-based-standards] (PRIxFAST64): Likewise.
40174 [C99-based-standards] (PRIXFAST64): Likewise.
40175 [C99-based-standards] (SCNdFAST64): Likewise.
40176 [C99-based-standards] (SCNiFAST64): Likewise.
40177 [C99-based-standards] (SCNoFAST64): Likewise.
40178 [C99-based-standards] (SCNuFAST64): Likewise.
40179 [C99-based-standards] (SCNxFAST64): Likewise.
40180 [C99-based-standards] (PRIdMAX): Likewise.
40181 [C99-based-standards] (PRIiMAX): Likewise.
40182 [C99-based-standards] (PRIoMAX): Likewise.
40183 [C99-based-standards] (PRIuMAX): Likewise.
40184 [C99-based-standards] (PRIxMAX): Likewise.
40185 [C99-based-standards] (PRIXMAX): Likewise.
40186 [C99-based-standards] (SCNdMAX): Likewise.
40187 [C99-based-standards] (SCNiMAX): Likewise.
40188 [C99-based-standards] (SCNoMAX): Likewise.
40189 [C99-based-standards] (SCNuMAX): Likewise.
40190 [C99-based-standards] (SCNxMAX): Likewise.
40191 [C99-based-standards] (PRIdPTR): Likewise.
40192 [C99-based-standards] (PRIiPTR): Likewise.
40193 [C99-based-standards] (PRIoPTR): Likewise.
40194 [C99-based-standards] (PRIuPTR): Likewise.
40195 [C99-based-standards] (PRIxPTR): Likewise.
40196 [C99-based-standards] (PRIXPTR): Likewise.
40197 [C99-based-standards] (SCNdPTR): Likewise.
40198 [C99-based-standards] (SCNiPTR): Likewise.
40199 [C99-based-standards] (SCNoPTR): Likewise.
40200 [C99-based-standards] (SCNuPTR): Likewise.
40201 [C99-based-standards] (SCNxPTR): Likewise.
40202 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
40203 allow.
40204 * conform/data/stdint.h-data: Update comments to clarify
40205 requirements.
40206 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
40207 type.
40208 [C99-based standards] (INT8_MAX): Likewise.
40209 [C99-based standards] (INT16_MIN): Likewise.
40210 [C99-based standards] (INT16_MAX): Likewise.
40211 [C99-based standards] (INT32_MIN): Likewise.
40212 [C99-based standards] (INT32_MAX): Likewise.
40213 [C99-based standards] (INT64_MIN): Likewise.
40214 [C99-based standards] (INT64_MAX): Likewise.
40215 [C99-based standards] (UINT8_MAX): Likewise.
40216 [C99-based standards] (UINT16_MAX): Likewise.
40217 [C99-based standards] (UINT32_MAX): Likewise.
40218 [C99-based standards] (UINT64_MAX): Likewise.
40219 [C99-based standards] (INT_LEAST8_MIN): Likewise.
40220 [C99-based standards] (INT_LEAST8_MAX): Likewise.
40221 [C99-based standards] (INT_LEAST16_MIN): Likewise.
40222 [C99-based standards] (INT_LEAST16_MAX): Likewise.
40223 [C99-based standards] (INT_LEAST32_MIN): Likewise.
40224 [C99-based standards] (INT_LEAST32_MAX): Likewise.
40225 [C99-based standards] (INT_LEAST64_MIN): Likewise.
40226 [C99-based standards] (INT_LEAST64_MAX): Likewise.
40227 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
40228 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
40229 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
40230 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
40231 [C99-based standards] (INT_FAST8_MIN): Likewise.
40232 [C99-based standards] (INT_FAST8_MAX): Likewise.
40233 [C99-based standards] (INT_FAST16_MIN): Likewise.
40234 [C99-based standards] (INT_FAST16_MAX): Likewise.
40235 [C99-based standards] (INT_FAST32_MIN): Likewise.
40236 [C99-based standards] (INT_FAST32_MAX): Likewise.
40237 [C99-based standards] (INT_FAST64_MIN): Likewise.
40238 [C99-based standards] (INT_FAST64_MAX): Likewise.
40239 [C99-based standards] (UINT_FAST8_MAX): Likewise.
40240 [C99-based standards] (UINT_FAST16_MAX): Likewise.
40241 [C99-based standards] (UINT_FAST32_MAX): Likewise.
40242 [C99-based standards] (UINT_FAST64_MAX): Likewise.
40243 [C99-based standards] (INTPTR_MIN): Likewise.
40244 [C99-based standards] (INTPTR_MAX): Likewise.
40245 [C99-based standards] (UINTPTR_MAX): Likewise.
40246 [C99-based standards] (INTMAX_MIN): Likewise.
40247 [C99-based standards] (INTMAX_MAX): Likewise.
40248 [C99-based standards] (UINTMAX_MAX): Likewise.
40249 [C99-based standards] (PTRDIFF_MIN): Likewise.
40250 [C99-based standards] (PTRDIFF_MAX): Likewise.
40251 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
40252 [C99-based standards] (SIZE_MAX): Likewise.
40253 [C99-based standards] (WCHAR_MAX): Likewise.
40254 [C99-based standards] (WINT_MAX): Likewise.
40255 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
40256 constraint on value.
40257 [C99-based standards] (WCHAR_MIN): Likewise.
40258 [C99-based standards] (WINT_MIN): Likewise.
40259 [C99-based standards] (*_t): Allow.
40260 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
40261 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
40262 Include math.h-data and complex.h-data. Remove all expectations
40263 of math.h and complex.h contents.
40264 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
40265 at end of line.
40266 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
40267 (struct tm): Expect tag.
40268 [C99-based-standards] (wcstof): Expect function.
40269 [C99-based-standards] (wcstold): Likewise.
40270 [C99-based-standards] (wcstoll): Likewise.
40271 [C99-based-standards] (wcstoull): Likewise.
40272 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
40273 macro-int-constant. Specify type.
40274 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
40275 constraint on value.
40276 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40277 Specify type.
40278 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
40279 Specify value.
40280 [ISO C standards]: Do not allow headers.
40281 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
40282 wcs[abcdefghijklmnopqrstuvwxyz]*.
40283 [ISO C standards] (*_t): Do not allow.
40284 * conform/data/wctype.h-data [C99-based standards] (iswblank):
40285 Expect function.
40286 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
40287 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40288 Specify type.
40289 [ISO C standards]: Do not allow headers.
40290 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
40291 is[abcdefghijklmnopqrstuvwxyz]*.
40292 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
40293 to[abcdefghijklmnopqrstuvwxyz]*.
40294 [ISO C standards] (*_t): Do not allow.
40295 * conform/data/stdalign.h-data: New file.
40296 * conform/data/stdbool.h-data: Likewise.
40297 * conform/data/stdnoreturn.h-data: Likewise.
40298
40299 2012-11-07 Roland McGrath <roland@hack.frob.com>
40300
40301 [BZ #14815]
40302 * manual/filesys.texi (Directory Entries): Typo fix.
40303 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
40304
40305 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40306
40307 * elf/elf.h (EM_AARCH64): New macro.
40308 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
40309 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
40310 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
40311 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
40312 (R_AARCH64_TLSDESC): Likewise.
40313 (NT_ARM_TLS): Likewise.
40314 (NT_ARM_HW_BREAK): Likewise.
40315 (NT_ARM_HW_WATCH): Likewise.
40316
40317 2012-11-07 Joseph Myers <joseph@codesourcery.com>
40318
40319 [BZ #14811]
40320 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
40321 (__ieee754_powl): Saturate nonzero exponents with absolute value
40322 below 0x1p-79 to +/- 0x1p-79.
40323 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
40324 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
40325 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
40326 nonzero exponents with absolute value below 0x1p-32 to +/-
40327 0x1p-32.
40328 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
40329 (__ieee754_powl): Saturate nonzero exponents with absolute value
40330 below 0x1p-79 to +/- 0x1p-79.
40331 * math/libm-test.inc (pow_test): Add more tests.
40332
40333 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40334
40335 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
40336 _dl_s390_cap_flags with kernel. Increase string length.
40337 (_dl_s390_platforms): Add z196 and zEC12.
40338
40339 2012-11-07 Joseph Myers <joseph@codesourcery.com>
40340
40341 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
40342 Change XOPEN21K to XOPEN2K.
40343
40344 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
40345
40346 * string/memmove.c: Use memcpy when possible.
40347
40348 2012-11-06 Andreas Jaeger <aj@suse.de>
40349
40350 * po/eo.po: Update from translation team.
40351
40352 2012-11-06 Joseph Myers <joseph@codesourcery.com>
40353
40354 [BZ #14793]
40355 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
40356 exponent and small x and y exponents, scale x or y up. Increase
40357 by 2 the exponent used in scaling up.
40358 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40359 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40360 * math/libm-test.inc (fma_test): Add more tests.
40361 (fma_test_towardzero): Likewise.
40362 (fma_test_downward): Likewise.
40363 (fma_test_upward): Likewise.
40364
40365 2012-11-05 Joseph Myers <joseph@codesourcery.com>
40366
40367 [BZ #14805]
40368 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
40369 fenv_t *.
40370
40371 [BZ #14801]
40372 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
40373 namespace for names of struct fields.
40374 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
40375 fenv_t fields.
40376 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
40377 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
40378
40379 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
40380
40381 [BZ #3665]
40382 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
40383
40384 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
40385
40386 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
40387 PTR_DEMANGLE.
40388
40389 [BZ #5246]
40390 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
40391 PTR_DEMANGLE.
40392
40393 2012-11-04 Joseph Myers <joseph@codesourcery.com>
40394
40395 [BZ #14797]
40396 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
40397 definitely overflow as x * y not x * y + z.
40398 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40399 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40400 * math/libm-test.inc (fma_test): Add more tests.
40401 (fma_test_towardzero): Likewise.
40402 (fma_test_downward): Likewise.
40403 (fma_test_upward): Likewise.
40404
40405 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
40406
40407 [BZ #157]
40408
40409 * include/stub-tag.h: Remove file.
40410 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
40411 '#include' of it.
40412 * manual/maint.texi (Porting): Don't reference it.
40413 * Makerules ($(objpfx)stubs): Likewise.
40414 * dirent/closedir.c: Don't include <stub-tag.h>.
40415 * dirent/dirfd.c: Likewise.
40416 * dirent/fdopendir.c: Likewise.
40417 * dirent/getdents.c: Likewise.
40418 * dirent/getdents64.c: Likewise.
40419 * dirent/opendir.c: Likewise.
40420 * dirent/readdir.c: Likewise.
40421 * dirent/readdir64.c: Likewise.
40422 * dirent/readdir64_r.c: Likewise.
40423 * dirent/readdir_r.c: Likewise.
40424 * dirent/rewinddir.c: Likewise.
40425 * dirent/seekdir.c: Likewise.
40426 * dirent/telldir.c: Likewise.
40427 * gmon/profil.c: Likewise.
40428 * grp/setgroups.c: Likewise.
40429 * inet/if_index.c: Likewise.
40430 * io/access.c: Likewise.
40431 * io/chdir.c: Likewise.
40432 * io/chmod.c: Likewise.
40433 * io/chown.c: Likewise.
40434 * io/close.c: Likewise.
40435 * io/dup.c: Likewise.
40436 * io/dup2.c: Likewise.
40437 * io/dup3.c: Likewise.
40438 * io/euidaccess.c: Likewise.
40439 * io/faccessat.c: Likewise.
40440 * io/fchdir.c: Likewise.
40441 * io/fchmod.c: Likewise.
40442 * io/fchmodat.c: Likewise.
40443 * io/fchown.c: Likewise.
40444 * io/fchownat.c: Likewise.
40445 * io/fcntl.c: Likewise.
40446 * io/flock.c: Likewise.
40447 * io/fstatfs.c: Likewise.
40448 * io/fstatfs64.c: Likewise.
40449 * io/fstatvfs.c: Likewise.
40450 * io/fstatvfs64.c: Likewise.
40451 * io/futimens.c: Likewise.
40452 * io/fxstat.c: Likewise.
40453 * io/fxstat64.c: Likewise.
40454 * io/fxstatat.c: Likewise.
40455 * io/fxstatat64.c: Likewise.
40456 * io/getcwd.c: Likewise.
40457 * io/isatty.c: Likewise.
40458 * io/lchmod.c: Likewise.
40459 * io/lchown.c: Likewise.
40460 * io/link.c: Likewise.
40461 * io/linkat.c: Likewise.
40462 * io/lseek.c: Likewise.
40463 * io/lseek64.c: Likewise.
40464 * io/lxstat64.c: Likewise.
40465 * io/mkdir.c: Likewise.
40466 * io/mkdirat.c: Likewise.
40467 * io/mkfifo.c: Likewise.
40468 * io/mkfifoat.c: Likewise.
40469 * io/open.c: Likewise.
40470 * io/open64.c: Likewise.
40471 * io/openat.c: Likewise.
40472 * io/openat64.c: Likewise.
40473 * io/pipe.c: Likewise.
40474 * io/pipe2.c: Likewise.
40475 * io/poll.c: Likewise.
40476 * io/posix_fadvise.c: Likewise.
40477 * io/posix_fadvise64.c: Likewise.
40478 * io/posix_fallocate.c: Likewise.
40479 * io/posix_fallocate64.c: Likewise.
40480 * io/read.c: Likewise.
40481 * io/readlink.c: Likewise.
40482 * io/readlinkat.c: Likewise.
40483 * io/rmdir.c: Likewise.
40484 * io/sendfile.c: Likewise.
40485 * io/sendfile64.c: Likewise.
40486 * io/statfs.c: Likewise.
40487 * io/statfs64.c: Likewise.
40488 * io/statvfs.c: Likewise.
40489 * io/statvfs64.c: Likewise.
40490 * io/symlink.c: Likewise.
40491 * io/symlinkat.c: Likewise.
40492 * io/ttyname.c: Likewise.
40493 * io/ttyname_r.c: Likewise.
40494 * io/umask.c: Likewise.
40495 * io/unlink.c: Likewise.
40496 * io/unlinkat.c: Likewise.
40497 * io/utime.c: Likewise.
40498 * io/utimensat.c: Likewise.
40499 * io/write.c: Likewise.
40500 * io/xmknod.c: Likewise.
40501 * io/xmknodat.c: Likewise.
40502 * io/xstat.c: Likewise.
40503 * io/xstat64.c: Likewise.
40504 * login/getpt.c: Likewise.
40505 * login/grantpt.c: Likewise.
40506 * login/unlockpt.c: Likewise.
40507 * math/e_acoshl.c: Likewise.
40508 * math/e_acosl.c: Likewise.
40509 * math/e_asinl.c: Likewise.
40510 * math/e_atan2l.c: Likewise.
40511 * math/e_atanhl.c: Likewise.
40512 * math/e_coshl.c: Likewise.
40513 * math/e_expl.c: Likewise.
40514 * math/e_fmodl.c: Likewise.
40515 * math/e_gammal_r.c: Likewise.
40516 * math/e_hypotl.c: Likewise.
40517 * math/e_j0l.c: Likewise.
40518 * math/e_j1l.c: Likewise.
40519 * math/e_jnl.c: Likewise.
40520 * math/e_lgammal_r.c: Likewise.
40521 * math/e_log10l.c: Likewise.
40522 * math/e_log2l.c: Likewise.
40523 * math/e_logl.c: Likewise.
40524 * math/e_powl.c: Likewise.
40525 * math/e_rem_pio2l.c: Likewise.
40526 * math/e_sinhl.c: Likewise.
40527 * math/e_sqrtl.c: Likewise.
40528 * math/fclrexcpt.c: Likewise.
40529 * math/fedisblxcpt.c: Likewise.
40530 * math/feenablxcpt.c: Likewise.
40531 * math/fegetenv.c: Likewise.
40532 * math/fegetexcept.c: Likewise.
40533 * math/fegetround.c: Likewise.
40534 * math/feholdexcpt.c: Likewise.
40535 * math/fesetenv.c: Likewise.
40536 * math/fesetround.c: Likewise.
40537 * math/feupdateenv.c: Likewise.
40538 * math/fgetexcptflg.c: Likewise.
40539 * math/fraiseexcpt.c: Likewise.
40540 * math/fsetexcptflg.c: Likewise.
40541 * math/ftestexcept.c: Likewise.
40542 * math/k_cosl.c: Likewise.
40543 * math/k_rem_pio2l.c: Likewise.
40544 * math/k_sinl.c: Likewise.
40545 * math/k_tanl.c: Likewise.
40546 * math/s_asinhl.c: Likewise.
40547 * math/s_atanl.c: Likewise.
40548 * math/s_cbrtl.c: Likewise.
40549 * math/s_erfl.c: Likewise.
40550 * math/s_expm1l.c: Likewise.
40551 * math/s_log1pl.c: Likewise.
40552 * math/s_tanhl.c: Likewise.
40553 * misc/acct.c: Likewise.
40554 * misc/brk.c: Likewise.
40555 * misc/chflags.c: Likewise.
40556 * misc/chroot.c: Likewise.
40557 * misc/fchflags.c: Likewise.
40558 * misc/fgetxattr.c: Likewise.
40559 * misc/flistxattr.c: Likewise.
40560 * misc/fremovexattr.c: Likewise.
40561 * misc/fsetxattr.c: Likewise.
40562 * misc/fsync.c: Likewise.
40563 * misc/ftruncate.c: Likewise.
40564 * misc/futimes.c: Likewise.
40565 * misc/futimesat.c: Likewise.
40566 * misc/getdomain.c: Likewise.
40567 * misc/getdtsz.c: Likewise.
40568 * misc/gethostid.c: Likewise.
40569 * misc/gethostname.c: Likewise.
40570 * misc/getloadavg.c: Likewise.
40571 * misc/getpagesize.c: Likewise.
40572 * misc/getsysstats.c: Likewise.
40573 * misc/getxattr.c: Likewise.
40574 * misc/gtty.c: Likewise.
40575 * misc/ioctl.c: Likewise.
40576 * misc/lgetxattr.c: Likewise.
40577 * misc/listxattr.c: Likewise.
40578 * misc/llistxattr.c: Likewise.
40579 * misc/lremovexattr.c: Likewise.
40580 * misc/lsetxattr.c: Likewise.
40581 * misc/lutimes.c: Likewise.
40582 * misc/madvise.c: Likewise.
40583 * misc/mincore.c: Likewise.
40584 * misc/mlock.c: Likewise.
40585 * misc/mlockall.c: Likewise.
40586 * misc/mmap.c: Likewise.
40587 * misc/mprotect.c: Likewise.
40588 * misc/msync.c: Likewise.
40589 * misc/munlock.c: Likewise.
40590 * misc/munlockall.c: Likewise.
40591 * misc/munmap.c: Likewise.
40592 * misc/preadv.c: Likewise.
40593 * misc/preadv64.c: Likewise.
40594 * misc/ptrace.c: Likewise.
40595 * misc/pwritev.c: Likewise.
40596 * misc/pwritev64.c: Likewise.
40597 * misc/readv.c: Likewise.
40598 * misc/reboot.c: Likewise.
40599 * misc/remap_file_pages.c: Likewise.
40600 * misc/removexattr.c: Likewise.
40601 * misc/revoke.c: Likewise.
40602 * misc/select.c: Likewise.
40603 * misc/setdomain.c: Likewise.
40604 * misc/setegid.c: Likewise.
40605 * misc/seteuid.c: Likewise.
40606 * misc/sethostid.c: Likewise.
40607 * misc/sethostname.c: Likewise.
40608 * misc/setregid.c: Likewise.
40609 * misc/setreuid.c: Likewise.
40610 * misc/setxattr.c: Likewise.
40611 * misc/sstk.c: Likewise.
40612 * misc/stty.c: Likewise.
40613 * misc/swapoff.c: Likewise.
40614 * misc/swapon.c: Likewise.
40615 * misc/sync.c: Likewise.
40616 * misc/syncfs.c: Likewise.
40617 * misc/syscall.c: Likewise.
40618 * misc/truncate.c: Likewise.
40619 * misc/ualarm.c: Likewise.
40620 * misc/usleep.c: Likewise.
40621 * misc/ustat.c: Likewise.
40622 * misc/utimes.c: Likewise.
40623 * misc/vhangup.c: Likewise.
40624 * misc/writev.c: Likewise.
40625 * posix/_exit.c: Likewise.
40626 * posix/alarm.c: Likewise.
40627 * posix/execve.c: Likewise.
40628 * posix/fexecve.c: Likewise.
40629 * posix/fork.c: Likewise.
40630 * posix/fpathconf.c: Likewise.
40631 * posix/getaddrinfo.c: Likewise.
40632 * posix/getegid.c: Likewise.
40633 * posix/geteuid.c: Likewise.
40634 * posix/getgid.c: Likewise.
40635 * posix/getgroups.c: Likewise.
40636 * posix/getlogin.c: Likewise.
40637 * posix/getlogin_r.c: Likewise.
40638 * posix/getpgid.c: Likewise.
40639 * posix/getpid.c: Likewise.
40640 * posix/getppid.c: Likewise.
40641 * posix/getresgid.c: Likewise.
40642 * posix/getresuid.c: Likewise.
40643 * posix/getsid.c: Likewise.
40644 * posix/getuid.c: Likewise.
40645 * posix/glob64.c: Likewise.
40646 * posix/nanosleep.c: Likewise.
40647 * posix/pathconf.c: Likewise.
40648 * posix/pause.c: Likewise.
40649 * posix/posix_madvise.c: Likewise.
40650 * posix/pread.c: Likewise.
40651 * posix/pread64.c: Likewise.
40652 * posix/pwrite.c: Likewise.
40653 * posix/pwrite64.c: Likewise.
40654 * posix/sched_getaffinity.c: Likewise.
40655 * posix/sched_getp.c: Likewise.
40656 * posix/sched_gets.c: Likewise.
40657 * posix/sched_primax.c: Likewise.
40658 * posix/sched_primin.c: Likewise.
40659 * posix/sched_rr_gi.c: Likewise.
40660 * posix/sched_setaffinity.c: Likewise.
40661 * posix/sched_setp.c: Likewise.
40662 * posix/sched_sets.c: Likewise.
40663 * posix/sched_yield.c: Likewise.
40664 * posix/setgid.c: Likewise.
40665 * posix/setlogin.c: Likewise.
40666 * posix/setpgid.c: Likewise.
40667 * posix/setresgid.c: Likewise.
40668 * posix/setresuid.c: Likewise.
40669 * posix/setsid.c: Likewise.
40670 * posix/setuid.c: Likewise.
40671 * posix/sleep.c: Likewise.
40672 * posix/spawni.c: Likewise.
40673 * posix/sysconf.c: Likewise.
40674 * posix/times.c: Likewise.
40675 * posix/wait.c: Likewise.
40676 * posix/wait3.c: Likewise.
40677 * posix/wait4.c: Likewise.
40678 * posix/waitpid.c: Likewise.
40679 * resolv/gai_sigqueue.c: Likewise.
40680 * resource/getpriority.c: Likewise.
40681 * resource/getrlimit.c: Likewise.
40682 * resource/getrusage.c: Likewise.
40683 * resource/nice.c: Likewise.
40684 * resource/setpriority.c: Likewise.
40685 * resource/setrlimit.c: Likewise.
40686 * resource/ulimit.c: Likewise.
40687 * rt/aio_cancel.c: Likewise.
40688 * rt/aio_fsync.c: Likewise.
40689 * rt/aio_read.c: Likewise.
40690 * rt/aio_sigqueue.c: Likewise.
40691 * rt/aio_suspend.c: Likewise.
40692 * rt/aio_write.c: Likewise.
40693 * rt/clock_getres.c: Likewise.
40694 * rt/clock_gettime.c: Likewise.
40695 * rt/clock_nanosleep.c: Likewise.
40696 * rt/clock_settime.c: Likewise.
40697 * rt/lio_listio.c: Likewise.
40698 * rt/mq_close.c: Likewise.
40699 * rt/mq_getattr.c: Likewise.
40700 * rt/mq_notify.c: Likewise.
40701 * rt/mq_open.c: Likewise.
40702 * rt/mq_receive.c: Likewise.
40703 * rt/mq_send.c: Likewise.
40704 * rt/mq_setattr.c: Likewise.
40705 * rt/mq_timedreceive.c: Likewise.
40706 * rt/mq_timedsend.c: Likewise.
40707 * rt/mq_unlink.c: Likewise.
40708 * rt/shm_open.c: Likewise.
40709 * rt/shm_unlink.c: Likewise.
40710 * rt/timer_create.c: Likewise.
40711 * rt/timer_delete.c: Likewise.
40712 * rt/timer_getoverr.c: Likewise.
40713 * rt/timer_gettime.c: Likewise.
40714 * rt/timer_settime.c: Likewise.
40715 * setjmp/__longjmp.c: Likewise.
40716 * setjmp/setjmp.c: Likewise.
40717 * signal/kill.c: Likewise.
40718 * signal/killpg.c: Likewise.
40719 * signal/raise.c: Likewise.
40720 * signal/sigaction.c: Likewise.
40721 * signal/sigaltstack.c: Likewise.
40722 * signal/sigblock.c: Likewise.
40723 * signal/sigignore.c: Likewise.
40724 * signal/sigintr.c: Likewise.
40725 * signal/signal.c: Likewise.
40726 * signal/sigpause.c: Likewise.
40727 * signal/sigpending.c: Likewise.
40728 * signal/sigqueue.c: Likewise.
40729 * signal/sigreturn.c: Likewise.
40730 * signal/sigset.c: Likewise.
40731 * signal/sigsetmask.c: Likewise.
40732 * signal/sigstack.c: Likewise.
40733 * signal/sigsuspend.c: Likewise.
40734 * signal/sigtimedwait.c: Likewise.
40735 * signal/sigvec.c: Likewise.
40736 * signal/sigwait.c: Likewise.
40737 * signal/sigwaitinfo.c: Likewise.
40738 * signal/sysv_signal.c: Likewise.
40739 * socket/accept.c: Likewise.
40740 * socket/accept4.c: Likewise.
40741 * socket/bind.c: Likewise.
40742 * socket/connect.c: Likewise.
40743 * socket/getpeername.c: Likewise.
40744 * socket/getsockname.c: Likewise.
40745 * socket/getsockopt.c: Likewise.
40746 * socket/isfdtype.c: Likewise.
40747 * socket/listen.c: Likewise.
40748 * socket/recv.c: Likewise.
40749 * socket/recvfrom.c: Likewise.
40750 * socket/recvmsg.c: Likewise.
40751 * socket/send.c: Likewise.
40752 * socket/sendmsg.c: Likewise.
40753 * socket/sendto.c: Likewise.
40754 * socket/setsockopt.c: Likewise.
40755 * socket/shutdown.c: Likewise.
40756 * socket/sockatmark.c: Likewise.
40757 * socket/socket.c: Likewise.
40758 * socket/socketpair.c: Likewise.
40759 * stdio-common/ctermid.c: Likewise.
40760 * stdio-common/cuserid.c: Likewise.
40761 * stdio-common/remove.c: Likewise.
40762 * stdio-common/rename.c: Likewise.
40763 * stdio-common/renameat.c: Likewise.
40764 * stdio-common/tempname.c: Likewise.
40765 * stdlib/getcontext.c: Likewise.
40766 * stdlib/makecontext.c: Likewise.
40767 * stdlib/setcontext.c: Likewise.
40768 * stdlib/swapcontext.c: Likewise.
40769 * stdlib/system.c: Likewise.
40770 * streams/fattach.c: Likewise.
40771 * streams/fdetach.c: Likewise.
40772 * streams/getmsg.c: Likewise.
40773 * streams/getpmsg.c: Likewise.
40774 * streams/putmsg.c: Likewise.
40775 * streams/putpmsg.c: Likewise.
40776 * sysdeps/unix/bsd/getpt.c: Likewise.
40777 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
40778 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
40779 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40781 Likewise.
40782 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
40783 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40784 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
40785 * sysvipc/msgctl.c: Likewise.
40786 * sysvipc/msgget.c: Likewise.
40787 * sysvipc/msgrcv.c: Likewise.
40788 * sysvipc/msgsnd.c: Likewise.
40789 * sysvipc/semctl.c: Likewise.
40790 * sysvipc/semget.c: Likewise.
40791 * sysvipc/semop.c: Likewise.
40792 * sysvipc/semtimedop.c: Likewise.
40793 * sysvipc/shmat.c: Likewise.
40794 * sysvipc/shmctl.c: Likewise.
40795 * sysvipc/shmdt.c: Likewise.
40796 * sysvipc/shmget.c: Likewise.
40797 * termios/tcdrain.c: Likewise.
40798 * termios/tcflow.c: Likewise.
40799 * termios/tcflush.c: Likewise.
40800 * termios/tcgetattr.c: Likewise.
40801 * termios/tcgetpgrp.c: Likewise.
40802 * termios/tcsendbrk.c: Likewise.
40803 * termios/tcsetattr.c: Likewise.
40804 * termios/tcsetpgrp.c: Likewise.
40805 * time/adjtime.c: Likewise.
40806 * time/clock.c: Likewise.
40807 * time/getitimer.c: Likewise.
40808 * time/gettimeofday.c: Likewise.
40809 * time/setitimer.c: Likewise.
40810 * time/settimeofday.c: Likewise.
40811 * time/stime.c: Likewise.
40812 * time/time.c: Likewise.
40813
40814 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
40815
40816 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
40817 /usr/old/bin.
40818
40819 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
40820 instead of spaces.
40821 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
40822
40823 2012-11-03 Joseph Myers <joseph@codesourcery.com>
40824
40825 [BZ #14796]
40826 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
40827 FE_TONEAREST before applying Dekker multiplication and Knuth
40828 addition. Clear inexact exceptions and check for exact zero
40829 results afterwards.
40830 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40831 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40832 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40833 * math/libm-test.inc (fma_test): Add more tests.
40834 (fma_test_towardzero): Likewise.
40835 (fma_test_downward): Likewise.
40836 (fma_test_upward): Likewise.
40837 * sysdeps/generic/math_private.h (default_libc_fesetround): New
40838 function.
40839 (libc_fesetround): New macro.
40840 (libc_fesetroundf): Likewise.
40841 (libc_fesetroundl): Likewise.
40842 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
40843 function.
40844 (libc_fesetround_387): Likewise.
40845 (libc_fesetroundf): New macro.
40846 (libc_fesetround): Likewise.
40847 (libc_fesetroundl): Likewise.
40848 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
40849 function.
40850 (libc_fesetroundf): New macro.
40851 (libc_fesetround): Likewise.
40852 (libc_fesetroundl): Likewise.
40853 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
40854 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
40855 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
40856 libm_hidden_ver.
40857 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
40858 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
40859 libm_hidden_def.
40860 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
40861 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
40862 libm_hidden_ver.
40863 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
40864 libm_hidden_def.
40865
40866 [BZ #3439]
40867 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
40868 integer constant usable in #if and use that to give value to enum
40869 constant.
40870 (FE_DIVBYZERO): Likewise.
40871 (FE_UNDERFLOW): Likewise.
40872 (FE_OVERFLOW): Likewise.
40873 (FE_INVALID): Likewise.
40874 (FE_INVALID_SNAN): Likewise.
40875 (FE_INVALID_ISI): Likewise.
40876 (FE_INVALID_IDI): Likewise.
40877 (FE_INVALID_ZDZ): Likewise.
40878 (FE_INVALID_IMZ): Likewise.
40879 (FE_INVALID_COMPARE): Likewise.
40880 (FE_INVALID_SOFTWARE): Likewise.
40881 (FE_INVALID_SQRT): Likewise.
40882 (FE_INVALID_INTEGER_CONVERSION): Likewise.
40883 (FE_TONEAREST): Likewise.
40884 (FE_TOWARDZERO): Likewise.
40885 (FE_UPWARD): Likewise.
40886 (FE_DOWNWARD): Likewise.
40887 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
40888 (FE_DIVBYZERO): Likewise.
40889 (FE_OVERFLOW): Likewise.
40890 (FE_UNDERFLOW): Likewise.
40891 (FE_INEXACT): Likewise.
40892 (FE_TONEAREST): Likewise.
40893 (FE_DOWNWARD): Likewise.
40894 (FE_UPWARD): Likewise.
40895 (FE_TOWARDZERO): Likewise.
40896 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
40897 (FE_UNDERFLOW): Likewise.
40898 (FE_OVERFLOW): Likewise.
40899 (FE_DIVBYZERO): Likewise.
40900 (FE_INVALID): Likewise.
40901 (FE_TONEAREST): Likewise.
40902 (FE_TOWARDZERO): Likewise.
40903 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
40904 (FE_OVERFLOW): Likewise.
40905 (FE_UNDERFLOW): Likewise.
40906 (FE_DIVBYZERO): Likewise.
40907 (FE_INEXACT): Likewise.
40908 (FE_TONEAREST): Likewise.
40909 (FE_TOWARDZERO): Likewise.
40910 (FE_UPWARD): Likewise.
40911 (FE_DOWNWARD): Likewise.
40912 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
40913 (FE_DIVBYZERO): Likewise.
40914 (FE_OVERFLOW): Likewise.
40915 (FE_UNDERFLOW): Likewise.
40916 (FE_INEXACT): Likewise.
40917 (FE_TONEAREST): Likewise.
40918 (FE_DOWNWARD): Likewise.
40919 (FE_UPWARD): Likewise.
40920 (FE_TOWARDZERO): Likewise.
40921
40922 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
40923
40924 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
40925
40926 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
40927
40928 * scripts/cross-test-ssh.sh (command): Use newlines to separate
40929 commands. Quote $PWD.
40930 (blacklist_exports): Don't use remove_newlines. Replace "declare
40931 -x" by "export".
40932 (remove_newlines): Remove.
40933
40934 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
40935
40936 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
40937 * stdlib/stdlib.h (atof): Moved to ...
40938 * include/bits/stdlib-float.h: Here. New file.
40939 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
40940 * stdlib/bits/stdlib-float.h: New file.
40941 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
40942 -mno-sse -mno-mmx.
40943 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
40944 <xmmintrin.h>.
40945
40946 2012-11-02 Joseph Myers <joseph@codesourcery.com>
40947
40948 * conform/conformtest.pl (@headers): Add fenv.h.
40949 * conform/data/fenv.h-data: New file.
40950 * include/fenv.h [_ISOMAC]: Disable all contents of file except
40951 include of <math/fenv.h>.
40952
40953 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
40954 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
40955 && !UNIX98]. Enables tests for XOPEN2K8.
40956 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
40957 POSIX2008]: Likewise.
40958
40959 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
40960 (struct rusage): Do not expect type or its members.
40961
40962 [BZ #3439]
40963 * math/math.h (FP_NAN): Define macro to integer constant usable in
40964 #if and use that to give value to enum constant.
40965 (FP_INFINITE): Likewise.
40966 (FP_ZERO): Likewise.
40967 (FP_SUBNORMAL): Likewise.
40968 (FP_NORMAL): Likewise.
40969
40970 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
40971
40972 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
40973 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
40974 arguments.
40975
40976 2012-11-02 Roland McGrath <roland@hack.frob.com>
40977
40978 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
40979 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
40980 autoconf-time if not.
40981 * configure.in: Remove AC_PREREQ.
40982
40983 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40984
40985 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
40986 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
40987 of the internal implementation.
40988
40989 2012-11-02 Joseph Myers <joseph@codesourcery.com>
40990
40991 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
40992 except include of <misc/sys/syslog.h>.
40993
40994 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
40995
40996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
40997 function returns with a NULL context exit with zero.
40998
40999 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41000
41001 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
41002
41003 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
41004
41005 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
41006 (run_program_cmd): This.
41007 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
41008 (tst_langinfo): New variable. Use it.
41009
41010 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
41011
41012 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
41013 floating point opcodes.
41014
41015 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
41016
41017 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
41018 variable.
41019
41020 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
41021
41022 * sysdeps/mach/hurd/powerpc: Remove directory.
41023 * sysdeps/mach/powerpc: Likewise.
41024
41025 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
41026
41027 * scripts/check-local-headers.sh: Ignore c++ headers.
41028
41029 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
41030
41031 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
41032 __libc_cleanup_region_start argument.
41033
41034 2012-11-01 Joseph Myers <joseph@codesourcery.com>
41035
41036 [BZ #14784]
41037 [BZ #14785]
41038 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
41039 x * y using scaling, not as x * y + z.
41040 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41041 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41042 * math/libm-test.inc (fma_test): Add more tests.
41043 (fma_test_towardzero): Likewise.
41044 (fma_test_downward): Likewise.
41045 (fma_test_upward): Likewise.
41046
41047 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
41048
41049 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
41050
41051 2012-10-31 Joseph Myers <joseph@codesourcery.com>
41052
41053 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
41054 New variable.
41055
41056 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
41057
41058 * rt/tst-shm.c (worker): Correct checking for mmap failure.
41059
41060 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
41061
41062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41063 Fix sort order.
41064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41065 Likewise.
41066
41067 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41068
41069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41070 Fix the order of the list for glibc 2.17.
41071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41072 Likewise.
41073
41074 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
41075
41076 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41077
41078 2012-10-31 Joseph Myers <joseph@codesourcery.com>
41079
41080 [BZ #14610]
41081 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
41082 for low part of x being zero before using __atanl (y).
41083 * math/libm-test.inc (atan2_test): Add another test.
41084
41085 * manual/install.texi (Configuring and compiling): Document
41086 general use of test-wrapper and test-wrapper-env.
41087 * INSTALL: Regenerated.
41088
41089 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
41090 (__fma): Do not extract and scale down low bits on after-rounding
41091 systems when result rounded to normal precision would have normal
41092 exponent.
41093 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
41094 (__fmal): Do not extract and scale down low bits on after-rounding
41095 systems when result rounded to normal precision would have normal
41096 exponent.
41097 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
41098 (__fmal): Do not extract and scale down low bits on after-rounding
41099 systems when result rounded to normal precision would have normal
41100 exponent.
41101 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
41102 macro.
41103 (fma_test): Add more tests.
41104 (fma_test_towardzero): Likewise.
41105 (fma_test_downward): Likewise.
41106 (fma_test_upward): Likewise.
41107
41108 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
41109
41110 * sysdeps/i386/tininess.h: Renamed to ...
41111 * sysdeps/x86/tininess.h: This.
41112 * sysdeps/x86_64/tininess.h: Removed.
41113
41114 2012-10-30 Joseph Myers <joseph@codesourcery.com>
41115
41116 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
41117 input. Use $(build-program-cmd).
41118 ($(objpfx)tst-array1-static.out): Likewise.
41119 ($(objpfx)tst-array2.out): Likewise.
41120 ($(objpfx)tst-array3.out): Likewise.
41121 ($(objpfx)tst-array4.out): Likewise.
41122 ($(objpfx)tst-array5.out): Likewise.
41123 ($(objpfx)tst-array5-static.out): Likewise.
41124
41125 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
41126
41127 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
41128 if defined.
41129
41130 * nss/nsswitch.h (nss_interface_function): Provide new
41131 macro for use with NSS functions.
41132 * grp/initgroups.c: Use new macro.
41133 * nss/getXXbyYY.c: Likewise.
41134 * nss/getXXbyYY_r.c: Likewise.
41135 * nss/getXXent.c: Likewise.
41136 * nss/getXXent_r.c: Likewise.
41137 * sysdeps/posix/getaddrinfo.c: Likewise.
41138
41139 2012-10-30 Andreas Jaeger <aj@suse.de>
41140
41141 * po/ru.po: Update Russion translation from translation project.
41142
41143 2012-10-30 Joseph Myers <joseph@codesourcery.com>
41144
41145 [BZ #14152]
41146 [BZ #14783]
41147 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
41148 result and shift together with sticky bit instead of replicating
41149 round-to-nearest rounding.
41150 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41151 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41152 * math/libm-test.inc (fma_test): Add more tests. Do not permit
41153 missing underflow exceptions.
41154 (fma_test_towardzero): Add more tests.
41155 (fma_test_downward): Likewise.
41156 (fma_test_upward): Likewise.
41157
41158 [BZ #14047]
41159 * sysdeps/generic/tininess.h: New file.
41160 * sysdeps/i386/tininess.h: Likewise.
41161 * sysdeps/sh/tininess.h: Likewise.
41162 * sysdeps/x86_64/tininess.h: Likewise.
41163 * stdlib/tst-strtod-underflow.c: Likewise.
41164 * stdlib/tst-tininess.c: Likewise.
41165 * stdlib/strtod_l.c: Include <tininess.h>.
41166 (round_and_return): Do not set errno for exact underflow cases.
41167 Force an underflow exception when setting errno for underflow.
41168 Determine underflow based on rounding to normal precision if
41169 TININESS_AFTER_ROUNDING.
41170 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
41171 ERANGE for exact underflow cases.
41172 * stdlib/Makefile (tests): Add tst-tininess and
41173 tst-strtod-underflow.
41174 ($(objpfx)tst-tininess): Use $(link-libm).
41175 ($(objpfx)tst-strtod-underflow): Likewise.
41176
41177 2012-10-30 Andreas Jaeger <aj@suse.de>
41178
41179 [BZ#14767]
41180 * elf/Makefile (tests): Remove conditional for have-initfini-array
41181 since this is now always required and the variable does not exist
41182 anymore.
41183 (tests-static): Likewise.
41184 (modules-names): Likewise.
41185
41186 * po/eo.po: Add Esperanto translation from translation project.
41187
41188 * elf/tst-array1.c (fini_array): Make writeable so that it can be
41189 merged with constructor/destructor.
41190 (init_array): Likewise.
41191 * elf/tst-array2dep.c (fini_array): Likewise.
41192 (init_array): Likewise.
41193
41194 2012-10-29 Mike Frysinger <vapier@gentoo.org>
41195
41196 * manual/message.texi: Delete @cartouche tags.
41197
41198 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
41199
41200 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
41201 EOPNOTSUPP.
41202 * sysdeps/mach/hurd/fsync.c: Likewise.
41203
41204 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
41205 [_POSIX_REALTIME_SIGNALS]: Change condition to
41206 [_POSIX_REALTIME_SIGNALS > 0].
41207
41208 2012-10-27 Andreas Jaeger <aj@suse.de>
41209
41210 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
41211 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
41212 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
41213 [__WORDSIZE != 64]: Likewise.
41214
41215 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
41216
41217 * iconvdata/tst-table.sh: Remove ${SHELL}.
41218 * iconvdata/tst-tables.sh: Likewise.
41219
41220 2012-10-25 David S. Miller <davem@davemloft.net>
41221
41222 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41223 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
41224 of strtoull.
41225
41226 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
41227 ifunc-impl-list.c
41228 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41229 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
41230 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
41231 file.
41232
41233 2012-10-25 Roland McGrath <roland@hack.frob.com>
41234
41235 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41236 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
41237 __getdirentries.
41238
41239 2012-10-25 Joseph Myers <joseph@codesourcery.com>
41240 Jim Blandy <jimb@codesourcery.com>
41241
41242 * scripts/cross-test-ssh.sh: New file.
41243 * manual/install.texi (Configuring and compiling): Document use of
41244 cross-test-ssh.sh.
41245 * INSTALL: Regenerated.
41246
41247 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
41248
41249 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
41250 EOPNOTSUPP.
41251
41252 2012-10-25 Joseph Myers <joseph@codesourcery.com>
41253
41254 * Makeconfig (run-program-prefix): Fix comment.
41255
41256 2012-10-24 Joseph Myers <joseph@codesourcery.com>
41257 Jim Blandy <jimb@codesourcery.com>
41258
41259 * Makeconfig (test-wrapper): New variable,
41260 (test-wrapper-env): Likewise.
41261 [$(cross-compiling) = yes && $(test-wrapper) != ""]
41262 (run-built-tests): Define to yes.
41263 (run-program-prefix): Use $(test-wrapper).
41264 (built-program-cmd): Likewise.
41265 * Rules (make-test-out): Use $(test-wrapper-env) and
41266 $(host-built-program-cmd).
41267 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
41268 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
41269 tst-pathopt.sh.
41270 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
41271 $(test-wrapper-env) to tst-rtld-load-self.sh.
41272 ($(objpfx)order2.out): Use $(test-wrapper).
41273 ($(objpfx)tst-initorder.out): Likewise.
41274 ($(objpfx)tst-initorder2.out): Likewise.
41275 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
41276 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
41277 (test_wrapper_env): New variable. Use it to run ld.so.
41278 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
41279 Use it to run ld.so.
41280 (test_wrapper_env): Likewise.
41281 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
41282 $(test-wrapper) to run-iconv-test.sh.
41283 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
41284 (ICONV): Use $test_wrapper.
41285 * posix/Makefile ($(objpfx)globtest.out): Pass
41286 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
41287 globtest.sh, not $(run-program-prefix).
41288 * posix/globtest.sh (run_via_rtld_prefix): New variable.
41289 (test_wrapper): Likewise.
41290 (test_wrapper_env): Likewise. Use it to run globtest with HOME
41291 set together with run_via_rtld_prefix.
41292 (run_program_prefix): Define in terms of test_wrapper and
41293 run_via_rtld_prefix.
41294
41295 2012-10-24 Roland McGrath <roland@hack.frob.com>
41296
41297 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
41298 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
41299 Targets removed.
41300
41301 [BZ #14743]
41302 * include/time.h: Remove librt_hidden_proto (clock_gettime).
41303 Declare __clock_getres, __clock_gettime, __clock_settime,
41304 __clock_nanosleep, and __clock_getcpuclockid.
41305 * rt/clock_gettime.c: Define __clock_gettime as an alias.
41306 Remove librt_hidden_def (clock_gettime).
41307 * sysdeps/unix/clock_gettime.c: Likewise.
41308 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
41309 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
41310 * rt/clock_getres.c: Define __clock_getres as an alias.
41311 * sysdeps/posix/clock_getres.c: Likewise.
41312 * rt/clock_settime.c: Define __clock_settime as an alias.
41313 * sysdeps/unix/clock_settime.c: Likewise.
41314 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
41315 * sysdeps/unix/clock_nanosleep.c: Likewise.
41316 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
41317 * rt/clock-compat.c: New file.
41318 * rt/Makefile (librt-routines): Add clock-compat and move
41319 $(clock-routines) to ...
41320 (routines): ... here, new variable.
41321 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
41322 Don't add get_clockfreq here.
41323 * rt/Versions (libc: GLIBC_2.17): New version set.
41324 Add clock_* symbols here.
41325 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
41326 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
41327 (GLIBC_2.17): Add clock_* symbols.
41328 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
41329 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
41330 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41332 Likewise.
41333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41334 Likewise.
41335 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41336 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
41337 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
41338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
41339 * NEWS: Mention the move.
41340
41341 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41342 Use __open, __read, __close rather than their public counterparts.
41343 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41344 (__get_clockfreq_via_cpuinfo): Likewise.
41345 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
41346 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
41347
41348 * config.h.in (HAVE_IFUNC): New #undef.
41349 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
41350 was successful.
41351 * configure: Regenerated.
41352
41353 2012-10-24 Mike Frysinger <vapier@gentoo.org>
41354
41355 * configure.in: Move READELF check to start of file.
41356 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
41357 libc_cv_asm_gnu_indirect_function in the process.
41358 * configure: Regenerated.
41359
41360 2012-10-24 Mike Frysinger <vapier@gentoo.org>
41361
41362 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
41363 send the output to /dev/null.
41364 (libc_cv_cc_with_libunwind): Likewise.
41365 (libc_cv_as_noexecstack): Likewise.
41366 * configure: Regenerate.
41367
41368 2012-10-24 Joseph Myers <joseph@codesourcery.com>
41369
41370 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
41371
41372 * posix/globtest.sh (TMPDIR): Do not set.
41373 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
41374 (testout): Likewise.
41375
41376 2012-10-24 Andreas Jaeger <aj@suse.de>
41377
41378 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
41379 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
41380 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
41381 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
41382 posix_fadvise64, posix_fallocate64.
41383
41384 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
41385 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
41386 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
41387 Likewise.
41388 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
41389 Likewise.
41390 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
41391
41392 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
41393 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
41394 <bits/fcntl-linux.h>.
41395 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
41396
41397 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
41398 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
41399 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
41400 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
41401 [__WORDSIZE != 64]: Likewise.
41402
41403 2012-10-23 Joseph Myers <joseph@codesourcery.com>
41404
41405 * Makeconfig (run-built-tests): New variable.
41406 * Rules [$(cross-compiling) = yes]: Change condition to
41407 [$(run-built-tests) = no].
41408 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
41409 to [$(run-built-tests) = yes].
41410 * elf/Makefile [$(cross-compiling) = no]: Likewise
41411 * grp/Makefile [$(cross-compiling) = no]: Likewise.
41412 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
41413 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
41414 * intl/Makefile [$(cross-compiling) = no]: Likewise.
41415 * io/Makefile [$(cross-compiling) = no]: Likewise.
41416 * libio/Makefile [$(cross-compiling) = no]: Likewise.
41417 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
41418 * misc/Makefile [$(cross-compiling) = no]: Likewise.
41419 * posix/Makefile [$(cross-compiling) = no]: Likewise.
41420 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
41421 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
41422 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
41423 * string/Makefile [$(cross-compiling) = no]: Likewise.
41424
41425 * posix/Makefile ($(objpfx)globtest.out): Pass
41426 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
41427 $(rtld-installed-name).
41428 * posix/globtest.sh (elf_objpfx): Remove variable.
41429 (rtld_installed_name): Likewise.
41430 (library_path): Likewise.
41431 (run_program_prefix): New variable. Use for running globtest
41432 binary.
41433
41434 2012-10-23 Jim Blandy <jimb@codesourcery.com>
41435 Joseph Myers <joseph@codesourcery.com>
41436
41437 * Makeconfig (host-built-program-cmd): New variable.
41438 * elf/Makefile (tst-stackguard1-ARGS): Use
41439 $(host-built-program-cmd).
41440 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
41441 (tst-spawn-ARGS): Likewise.
41442 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
41443
41444 2012-10-23 Joseph Myers <joseph@codesourcery.com>
41445 Jim Blandy <jimb@codesourcery.com>
41446
41447 * Makeconfig (run-via-rtld-prefix): New variable.
41448 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
41449 (built-program-cmd): Likewise.
41450
41451 2012-10-22 Andreas Jaeger <aj@suse.de>
41452
41453 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
41454 __O_RSYNC if it exists, otherwise to O_SYNC.
41455
41456 2012-10-22 Jim Blandy <jimb@codesourcery.com>
41457 Joseph Myers <joseph@codesourcery.com>
41458
41459 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
41460 /dev/null.
41461 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
41462 from /dev/null
41463 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
41464 /dev/null.
41465
41466 2012-10-22 Andreas Jaeger <aj@suse.de>
41467
41468 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
41469 Define always.
41470 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
41471
41472 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41473 bits/fcntl-linux.h.
41474
41475 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
41476 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
41477
41478 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
41479 to __O_LARGEFILE.
41480 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
41481 to __O_LARGEFILE.
41482
41483 2012-10-21 Jim Blandy <jimb@codesourcery.com>
41484 Joseph Myers <joseph@codesourcery.com>
41485
41486 * config.make.in (NM): New variable.
41487
41488 2012-10-21 Andreas Jaeger <aj@suse.de>
41489
41490 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
41491 definitions and declarations that are provided by
41492 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41493
41494 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
41495
41496 [BZ #14683]
41497 * elf/Makefile (tests-static): Add tst-leaks1-static.
41498 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
41499 ($(objpfx)tst-leaks1-static): New rule.
41500 ($(objpfx)tst-leaks1-static-mem): Likewise.
41501 (tst-leaks1-static-ENV): New macro.
41502 * elf/dl-open.c (dl_open_worker): Check the main application
41503 only if SHARED is defined.
41504 * elf/tst-leaks1-static.c: New file.
41505
41506 2012-10-20 Andreas Jaeger <aj@suse.de>
41507
41508 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
41509 generic values for Linux.
41510 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
41511 and declarations that are provided by <bits/fcntl-linux.h> and
41512 include <bits/fcntl-linux.h>.
41513 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41514 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41515
41516 2012-10-20 Roland McGrath <roland@hack.frob.com>
41517
41518 * io/fcntl.h: Move include of <bits/types.h> to the top and
41519 include it unconditionally.
41520
41521 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
41522
41523 * wcsmbs/Makefile (tests-ifunc): New variable.
41524 (tests): Add $(tests-ifunc).
41525 * wcsmbs/test-wcschr-ifunc.c: New file.
41526 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
41527 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
41528 * wcsmbs/test-wcslen-ifunc.c: Likewise.
41529 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
41530 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
41531
41532 * string/Makefile (tests-ifunc): New variable.
41533 (tests): Add $(tests-ifunc).
41534 * string/test-memccpy.c (TEST_NAME): New macro.
41535 * string/test-memchr.c (TEST_NAME): Likewise.
41536 * string/test-memcmp.c (TEST_NAME): Likewise.
41537 * string/test-memcpy.c (TEST_NAME): Likewise.
41538 * string/test-memmem.c (TEST_NAME): Likewise.
41539 * string/test-memmove.c (TEST_NAME): Likewise.
41540 * string/test-memset.c (TEST_NAME): Likewise.
41541 * string/test-rawmemchr.c (TEST_NAME): Likewise.
41542 * string/test-stpcpy.c (TEST_NAME): Likewise.
41543 * string/test-stpncpy.c (TEST_NAME): Likewise.
41544 * string/test-strcasecmp.c (TEST_NAME): Likewise.
41545 * string/test-strcasestr.c (TEST_NAME): Likewise.
41546 * string/test-strcat.c (TEST_NAME): Likewise.
41547 * string/test-strchr.c (TEST_NAME): Likewise.
41548 * string/test-strcmp.c(TEST_NAME): Likewise.
41549 * string/test-strcpy.c (TEST_NAME): Likewise.
41550 * string/test-strcspn.c (TEST_NAME): Likewise.
41551 * string/test-strlen.c (TEST_NAME): Likewise.
41552 * string/test-strncasecmp.c (TEST_NAME): Likewise.
41553 * string/test-strncmp.c (TEST_NAME): Likewise.
41554 * string/test-strncpy.c (TEST_NAME): Likewise.
41555 * string/test-strnlen.c (TEST_NAME): Likewise.
41556 * string/test-strpbrk.c (TEST_NAME): Likewise.
41557 * string/test-strrchr.c (TEST_NAME): Likewise.
41558 * string/test-strspn.c (TEST_NAME): Likewise.
41559 * string/test-strstr.c (TEST_NAME): Likewise.
41560 * string/test-bcopy-ifunc.c: New file.
41561 * string/test-bzero-ifunc.c: Likewise.
41562 * string/test-memccpy-ifunc.c: Likewise.
41563 * string/test-memchr-ifunc.c: Likewise.
41564 * string/test-memcmp-ifunc.c: Likewise.
41565 * string/test-memcpy-ifunc.c: Likewise.
41566 * string/test-memmem-ifunc.c: Likewise.
41567 * string/test-memmove-ifunc.c: Likewise.
41568 * string/test-mempcpy-ifunc.c: Likewise.
41569 * string/test-memset-ifunc.c: Likewise.
41570 * string/test-rawmemchr-ifunc.c: Likewise.
41571 * string/test-stpcpy-ifunc.c: Likewise.
41572 * string/test-stpncpy-ifunc.c: Likewise.
41573 * string/test-strcasecmp-ifunc.c: Likewise.
41574 * string/test-strcasestr-ifunc.c: Likewise.
41575 * string/test-strcat-ifunc.c: Likewise.
41576 * string/test-strchr-ifunc.c: Likewise.
41577 * string/test-strchrnul-ifunc.c: Likewise.
41578 * string/test-strcmp-ifunc.c: Likewise.
41579 * string/test-strcpy-ifunc.c: Likewise.
41580 * string/test-strcspn-ifunc.c: Likewise.
41581 * string/test-strlen-ifunc.c: Likewise.
41582 * string/test-strncasecmp-ifunc.c: Likewise.
41583 * string/test-strncat-ifunc.c: Likewise.
41584 * string/test-strncmp-ifunc.c: Likewise.
41585 * string/test-strncpy-ifunc.c: Likewise.
41586 * string/test-strnlen-ifunc.c: Likewise.
41587 * string/test-strpbrk-ifunc.c: Likewise.
41588 * string/test-strrchr-ifunc.c: Likewise.
41589 * string/test-strspn-ifunc.c: Likewise.
41590 * string/test-strstr-ifunc.c: Likewise.
41591
41592 * debug/Makefile (tests-ifunc): New variable.
41593 (tests): Add $(tests-ifunc).
41594 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
41595 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
41596 * debug/test-stpcpy_chk-ifunc.c: New file.
41597 * debug/test-strcpy_chk-ifunc.c: Likewise.
41598
41599 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
41600
41601 [BZ #13601]
41602 * elf/dl-load.c (open_verify): Retry read if the entire ELF
41603 header is not read in.
41604
41605 2012-10-19 Joseph Myers <joseph@codesourcery.com>
41606
41607 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
41608 script to $(SHELL) as $<. Pass $(common-objpfx) to script
41609 directly. Pass built executable to script as
41610 $(built-program-cmd).
41611 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
41612 $testprogram without using LD_LIBRARY_PATH and $ldso.
41613
41614 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
41615 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
41616 $(rtld-installed-name).
41617 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
41618 (rtld_installed_name): Likewise.
41619 (library_path): Likewise.
41620 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
41621 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
41622 $(run-program-prefix) to tst-tables.sh.
41623 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
41624 it to run tst-table-from and tst-table-to.
41625 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
41626 Pass it to tst-table.sh.
41627 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
41628 $(run-program-prefix) to tst-gettext.sh.
41629 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
41630 tst-translit.sh.
41631 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
41632 tst-gettext2.sh.
41633 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
41634 to run tst-gettext.
41635 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
41636 to run tst-gettext2.
41637 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
41638 to run tst-translit.
41639 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
41640 $(run-program-prefix) to tst-mtrace.sh.
41641 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
41642 to run tst-mtrace.
41643 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
41644 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
41645 $(rtld-installed-name).
41646 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
41647 (rtld_installed_name): Likewise.
41648 (run_program_prefix): New variable. Use it to run wordexp-test.
41649
41650 * Makeconfig (ARCH): Remove all definitions.
41651 (machine): Likewise.
41652 [ARCH]: Remove conditional code.
41653 [!objdir]: Give error.
41654 [!objdir] (objpfx): Remove.
41655 [!objdir] (common-objpfx): Likewise.
41656 [!objdir] (common-objdir): Likewise.
41657 * configure.in (config_makefile): Remove. Hardcode Makefile in
41658 AC_CONFIG_FILES call.
41659 * configure: Regenerated.
41660
41661 [BZ #13888]
41662 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
41663 or TMPDIR.
41664 (testout): Likewise.
41665
41666 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
41667 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
41668 $(rtld-installed-name).
41669 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
41670 (rtld_installed_name): Likwise.
41671 (runit): Remove function.
41672 (run_getconf): New variable, Use it for running getconf binary.
41673
41674 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
41675
41676 [BZ #14716]
41677 * string/test-memmem.c (check_result): New function.
41678 (do_one_test): Use it.
41679 (check1): New function.
41680 (test_main): Use it.
41681
41682 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
41683
41684 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
41685
41686 2012-10-18 Joseph Myers <joseph@codesourcery.com>
41687
41688 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
41689 (_G_LSEEK64): Likewise.
41690 (_G_MMAP64): Likewise.
41691 (_G_FSTAT64): Likewise.
41692 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
41693 (_G_LSEEK64): Likewise.
41694 (_G_MMAP64): Likewise.
41695 (_G_FSTAT64): Likewise.
41696 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
41697 unconditional. Call __mmap64 directly.
41698 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
41699 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
41700 __lseek64 directly.
41701 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
41702 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
41703 __mmap64 directly.
41704 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
41705 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
41706 __lseek64 directly.
41707 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
41708 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
41709 __lseek64 directly.
41710 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
41711 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
41712 __lseek64 directly.
41713 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
41714 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
41715 __fxstat64 directly.
41716 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
41717 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
41718 unconditional.
41719 (freopen64) [!_G_OPEN64]: Remove conditional code.
41720 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
41721 unconditional.
41722 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
41723 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
41724 unconditional.
41725 (ftello64) [!_G_LSEEK64]: Remove conditional code.
41726 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
41727 unconditional.
41728 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41729 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
41730 unconditional.
41731 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
41732 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
41733 unconditional.
41734 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41735 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
41736 unconditional.
41737 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41738 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
41739 unconditional.
41740 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41741
41742 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
41743
41744 [BZ #12140]
41745 * manual/memory.texi (Malloc Tunable Parameters): Add note
41746 about free list pointers overwriting some perturb bytes.
41747 Wording suggested by Roland McGrath.
41748
41749 2012-10-17 Joseph Myers <joseph@codesourcery.com>
41750
41751 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
41752 (lgamma_test): Likewise.
41753 (tgamma_test): Likewise.
41754
41755 2012-10-16 Florian Weimer <fweimer@redhat.com>
41756
41757 [BZ #14700]
41758 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
41759 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
41760
41761 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
41762
41763 * NEWS: Mention BZ #14716.
41764 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
41765 when removing AVAILABLE1_USES_J macro.
41766
41767 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
41768
41769 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
41770 (__bswap_64): __uint64_t for unsigned 64-bit int.
41771
41772 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
41773
41774 * include/string.h (memmem): Declare libc hidden alias.
41775 * string/memmem.c (memmem): Define libc hidden alias.
41776 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
41777 __read, __close instead of open, read, close.
41778
41779 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
41780
41781 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
41782 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
41783 global and hidden.
41784 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
41785 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
41786 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
41787 Likewise.
41788 (__rawmemchr_sse2): Likewise.
41789 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
41790 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
41791 (__strchr_sse2): Likewise.
41792 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
41793 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
41794 (__strcasecmp_sse2): Likewise.
41795 (__strncasecmp_sse2): Likewise.
41796 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
41797 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
41798 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
41799 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
41800 (__strrchr_sse2): Likewise.
41801 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
41802 ifunc-impl-list.c.
41803 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
41804 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
41805 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
41806 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41807 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
41808 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
41809 * sysdeps/x86_64/multiarch/memset.S: Likewise.
41810 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41811 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
41812 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
41813 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
41814 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
41815 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
41816 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
41817 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
41818 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41819 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
41820 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
41821 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
41822 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
41823 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
41824 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
41825 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
41826 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
41827 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
41828 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41829 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
41830 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
41831 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
41832 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
41833
41834 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
41835 global and hidden.
41836 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
41837 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
41838 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
41839 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
41840 Likewise.
41841 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
41842 Likewise.
41843 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
41844 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
41845 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
41846 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
41847 ifunc-impl-list.c.
41848 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41849 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41850 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41851 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41852 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41853 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41854 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41855 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41856 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41857 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41858 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41859 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41860 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41861 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
41862 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
41863 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41864 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
41865 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
41866 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41867 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41868 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41869 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41870 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41871 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41872 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41873 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
41874 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
41875 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
41876 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
41877 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41878 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
41879 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41880 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41881 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
41882 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41883 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41884 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41885 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41886 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41887 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41888 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
41889
41890 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
41891 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
41892 * include/ifunc-impl-list.h: New file.
41893 * misc/ifunc-impl-list.c: Likewise.
41894 * misc/Makefile (routines): Add ifunc-impl-list.
41895 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
41896 * string/test-string.h: Include <ifunc-impl-list.h>.
41897 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
41898 TEST_NAME]: New variables.
41899 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
41900 are defined.
41901 (test_init): Call __libc_ifunc_impl_list to initialize
41902 func_list if TEST_IFUNC and TEST_NAME are defined.
41903
41904 * string/Makefile (strop-tests): Add bcopy and bzero.
41905 * string/test-bcopy.c: New file.
41906 * string/test-bzero.c: Likewise.
41907 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
41908 defined.
41909 * string/test-memset.c: Support bzero test if TEST_BZERO is
41910 defined.
41911 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
41912 __libc_memmove.
41913 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
41914 __libc_memset.
41915 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
41916 of memset.
41917
41918 2012-10-10 Joseph Myers <joseph@codesourcery.com>
41919
41920 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
41921 * configure: Regenerated.
41922
41923 * Makeconfig (+link-static-before-libc): Don't include
41924 $(link-static-libc).
41925
41926 * libio/libio.h (_IO_pos_t): Remove.
41927
41928 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
41929
41930 * NEWS: Add note about FIPS mode. Wording suggested by Roland
41931 McGrath.
41932
41933 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
41934
41935 * crypt/crypt-entry.c: Include fips-private.h.
41936 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
41937 * crypt/md5c-test.c (main): Tolerate disabled MD5.
41938 * sysdeps/unix/sysv/linux/fips-private.h: New file.
41939 * sysdeps/generic/fips-private.h: New file, dummy fallback.
41940
41941 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
41942
41943 * crypt/crypt-private.h: Include stdbool.h.
41944 (_ufc_setup_salt_r): Return bool.
41945 * crypt/crypt-entry.c: Include errno.h.
41946 (__crypt_r): Return NULL with EINVAL for bad salt.
41947 * crypt/crypt_util.c (bad_for_salt): New.
41948 (_ufc_setup_salt_r): Check that salt is long enough and within
41949 the specified alphabet.
41950 * crypt/badsalttest.c: New file.
41951 * crypt/Makefile (tests): Add it.
41952 ($(objpfx)badsalttest): New.
41953
41954 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
41955
41956 * NEWS: Add entry for BZ #14602.
41957
41958 2012-10-09 Joseph Myers <joseph@codesourcery.com>
41959
41960 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
41961 type-generic.
41962 * math/libm-test.inc: Update comment listing what functions and
41963 macros are tested.
41964 (isgreater_test): New function.
41965 (isgreaterequal_test): Likewise.
41966 (isless_test): Likewise.
41967 (islessequal_test): Likewise.
41968 (islessgreater_test): Likewise.
41969 (isunordered_test): Likewise.
41970 (main): Call the new functions.
41971
41972 2012-10-09 Roland McGrath <roland@hack.frob.com>
41973
41974 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
41975 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
41976 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
41977 * sysdeps/i386/configure: Regenerated.
41978 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
41979 * sysdeps/mach/configure: Regenerated.
41980 * sysdeps/mach/hurd/configure: Regenerated.
41981 * sysdeps/powerpc/configure: Regenerated.
41982 * sysdeps/powerpc/powerpc32/configure: Regenerated.
41983 * sysdeps/powerpc/powerpc64/configure: Regenerated.
41984 * sysdeps/s390/s390-32/configure: Regenerated.
41985 * sysdeps/s390/s390-64/configure: Regenerated.
41986 * sysdeps/sh/configure: Regenerated.
41987 * sysdeps/sparc/configure: Regenerated.
41988 * sysdeps/unix/sysv/linux/configure: Regenerated.
41989 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
41990 * sysdeps/x86_64/configure: Regenerated.
41991
41992 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
41993 defined. Don't check if MAP is NULL.
41994
41995 2012-10-09 Joseph Myers <joseph@codesourcery.com>
41996
41997 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
41998 (_G_stat64): Likewise.
41999 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
42000 (_G_stat64): Likewise.
42001 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
42002 instead of struct _G_stat64.
42003 * libio/fileops.c (mmap_remap_check): Likewise.
42004 (decide_maybe_mmap): Likewise.
42005 (_IO_new_file_seekoff): Likewise.
42006 (_IO_file_stat): Likewise.
42007 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
42008 _G_off64_t.
42009 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
42010 instead of struct _G_stat64.
42011 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42012
42013 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
42014
42015 [BZ #14602]
42016 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42017 Replace with ...
42018 (CHECK_EOL): New macro.
42019 (two_way_short_needle): Check beginning of haystack for EOL. Use
42020 CHECK_EOL.
42021 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42022 Replace with CHECK_EOL.
42023 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42024 Replace with CHECK_EOL.
42025
42026 2012-10-08 Joseph Myers <joseph@codesourcery.com>
42027
42028 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
42029 type-generic.
42030 * math/libm-test.inc: Update comment listing what functions and
42031 macros are tested.
42032 (finite_test): New function.
42033 (isinf_test): Likewise.
42034 (isnan_test): Likewise.
42035 (fpclassify_test): Test subnormal input.
42036 (isfinite_test): Likewise.
42037 (isnormal_test): Likewise.
42038 (main): Call the new functions.
42039
42040 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
42041
42042 [BZ #14660]
42043 * Makerules (%.dynsym): Force C locale when running
42044 $(OBJDUMP) --dynamic-syms.
42045
42046 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
42047
42048 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
42049 <stdint.h>.
42050
42051 2012-10-06 David S. Miller <davem@davemloft.net>
42052
42053 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
42054 upper 32-bits of the length value in %o2 since we use branch-on-register
42055 tests which consider the entire 64-bit register.
42056
42057 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
42058
42059 * string/test-strstr.c (check2): Add a test for page boundary.
42060
42061 2012-10-05 David S. Miller <davem@davemloft.net>
42062
42063 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
42064 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
42065 file.
42066 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42067 sysdep_routines.
42068 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42069 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
42070 and bzero when HWCAP_SPARC_CRYPTO is present.
42071
42072 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
42073
42074 [BZ #14602]
42075 * string/test-strstr.c (check2): New function.
42076 (test_main): Call check2.
42077
42078 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
42079 and bug-strchr1.
42080 * string/bug-strcasestr1.c (do_test): Moved to ...
42081 * string/test-strcasestr.c (check1): Here. New function.
42082 (do_one_test): Break out result checking code into ...
42083 (check_result): This. New function.
42084 (do_one_test): Call check_result.
42085 (test_main): Call check1.
42086 * string/bug-strchr1.c (do_test): Moved to ...
42087 * string/test-strchr.c (check1): Here. New function.
42088 (do_one_test): Break out result checking code into ...
42089 (check_result): This. New function.
42090 (do_one_test): Call check_result.
42091 (test_main): Call check1.
42092 * string/bug-strstr1.c (main): Moved to ...
42093 * string/test-strstr.c (check1): Here. New function.
42094 (do_one_test): Break out result checking code into ...
42095 (check_result): This. New function.
42096 (do_one_test): Call check_result.
42097 (test_main): Call check1.
42098 * string/bug-strcasestr1.c: Removed.
42099 * string/bug-strchr1.c: Likewise.
42100 * string/bug-strstr1.c: Likewise.
42101
42102 * elf/Makefile (dl-routines): Add hwcaps.
42103 * elf/dl-support.c (_dl_important_hwcaps): Removed.
42104 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
42105 (_dl_important_hwcaps): Moved to ...
42106 * elf/dl-hwcaps.c: Here. New file.
42107 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
42108
42109 [BZ #14557]
42110 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
42111 if IS_IN_rtld isn't defined.
42112
42113 * elf/dl-support.c (_dl_sysinfo_map): New.
42114 Include "get-dynamic-info.h" and "setup-vdso.h".
42115 (_dl_non_dynamic_init): Call setup_vdso.
42116 * elf/dynamic-link.h: Don't include <assert.h>.
42117 (elf_get_dynamic_info): Moved to ...
42118 * elf/get-dynamic-info.h: Here. New file.
42119 * elf/dynamic-link.h: Include "get-dynamic-info.h".
42120 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
42121 * elf/setup-vdso.h: Here. New file.
42122 * elf/rtld.c: Include "setup-vdso.h".
42123 (dl_main): Call setup_vdso.
42124
42125 2012-10-05 Joseph Myers <joseph@codesourcery.com>
42126
42127 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
42128 creal in comment listing functions tested. List finite, isinf,
42129 isnan, isless, islessequal, isgreater, isgreaterequal,
42130 islessgreater, isunordered, lgamma_r and pow10 as functions and
42131 macros not tested. Mention which functions not tested are aliases
42132 for other functions. Fix typo. Note that signs of NaNs are not
42133 tested.
42134
42135 * scripts/config.guess: Update from config.git.
42136 * scripts/config.sub: Likewise.
42137
42138 2012-10-04 Roland McGrath <roland@hack.frob.com>
42139
42140 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
42141 * misc/madvise.c (madvise): Renamed to __madvise.
42142 Make madvise a weak alias.
42143 * include/sys/mman.h: Declare __madvise.
42144 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
42145 * sysdeps/unix/syscalls.list
42146 (madvise): Make __madvise the strong name, and madvise a weak alias.
42147 * sysdeps/unix/sysv/linux/syscalls.list
42148 (madvise, mmap): Remove redundant entries.
42149 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
42150 * malloc/malloc.c (mtrim): Likewise.
42151 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
42152
42153 2012-10-03 Roland McGrath <roland@hack.frob.com>
42154
42155 * sysdeps/mach/hurd/dl-cache.c: File removed.
42156 * config.h.in (USE_LDCONFIG): New #undef.
42157 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
42158 * configure: Regenerated.
42159 * elf/Makefile (dl-routines): Add dl-cache only under
42160 [$(use-ldconfig) = yes].
42161 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
42162 cache on [USE_LDCONFIG].
42163 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
42164 [USE_LDCONFIG].
42165 * elf/rtld.c (dl_main): Likewise.
42166
42167 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
42168
42169 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
42170 _SC_LEVEL4_CACHE_LINESIZE.
42171
42172 2012-10-03 Roland McGrath <roland@hack.frob.com>
42173
42174 * sysdeps/unix/bsd/confstr.h: File removed.
42175
42176 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
42177
42178 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
42179 sys/sdt-config.h.
42180
42181 2012-10-02 Roland McGrath <roland@hack.frob.com>
42182
42183 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
42184 Make 'mapoff' field ElfW(Off) rather than off_t.
42185
42186 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
42187
42188 * nscd/Makefile: Remove nscd-cflags and all its users.
42189 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
42190 (CFLAGS-nonlib): Add compiler flags for nscd modules.
42191
42192 [BZ #10631]
42193 * malloc.c (malloc_printerr): Clarify error message.
42194
42195 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
42196
42197 [BZ #14648]
42198 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42199 Set bit_FMA_Usable if FMA is supported.
42200 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
42201 macro.
42202 (bit_FMA4_Usable): Updated.
42203 (index_FMA_Usable): New macro.
42204 (CPUID_FMA): Likewise
42205 (HAS_FMA): Defined with bit_FMA_Usable.
42206
42207 2012-10-01 Roland McGrath <roland@hack.frob.com>
42208
42209 * bits/types.h (__swblk_t): Type removed.
42210 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
42211 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
42212 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42213 (__SWBLK_T_TYPE): Likewise.
42214 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42215 (__SWBLK_T_TYPE): Likewise.
42216 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42217 (__SWBLK_T_TYPE): Likewise.
42218 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42219 (__SWBLK_T_TYPE): Likewise.
42220
42221 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
42222 Honza Horak <hhorak@redhat.com>
42223
42224 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
42225 (xdr_mapname): Use YPMAXMAP as maxsize.
42226 (xdr_peername): Use YPMAXPEER as maxsize.
42227 (xdr_keydat): Use YPAXRECORD as maxsize.
42228 (xdr_valdat): Use YPMAXRECORD as maxsize.
42229
42230 2012-10-01 Roland McGrath <roland@hack.frob.com>
42231
42232 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
42233
42234 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
42235 * csu/init-first.c: ... here.
42236 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
42237 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
42238 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
42239 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
42240 * sysdeps/i386/init-first.c: File removed.
42241 * sysdeps/sh/init-first.c: File removed.
42242
42243 2012-10-01 Joseph Myers <joseph@codesourcery.com>
42244
42245 [BZ #14645]
42246 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
42247 if x * y might underflow to zero and z is zero.
42248 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42249 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42250 * math/libm-test.inc (min_subnorm_value): New variable.
42251 (fma_test): Add more tests.
42252 (fma_test_towardzero): Likewise.
42253 (fma_test_downward): Likewise
42254 (fma_test_upward): Likewise.
42255 (initialize): Set min_subnorm_value.
42256
42257 2012-09-29 Joseph Myers <joseph@codesourcery.com>
42258
42259 [BZ #14638]
42260 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
42261 0 + 0.
42262 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
42263 mode for addition resulting in exact zero.
42264 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
42265 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
42266 exact 0 + 0.
42267 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42268 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42269 * math/libm-test.inc (fma_test): Add more tests.
42270 (fma_test_towardzero): New function.
42271 (fma_test_downward): Likewise.
42272 (fma_test_upward): Likewise.
42273 (main): Call the new functions.
42274
42275 2012-09-28 David S. Miller <davem@davemloft.net>
42276
42277 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
42278
42279 2012-09-28 Roland McGrath <roland@hack.frob.com>
42280
42281 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
42282 instead of SIGALRM.
42283
42284 * sysdeps/gnu/_G_config.h: Moved to ...
42285 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
42286 * sysdeps/mach/hurd/_G_config.h: Moved to ...
42287 * sysdeps/generic/_G_config.h: ... here.
42288
42289 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
42290
42291 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
42292
42293 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
42294 Conditionalize target on [libnss_test1.so-version].
42295
42296 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
42297
42298 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
42299 (elfobjdir): Move out of conditionals.
42300
42301 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
42302 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
42303 (__nss_lookup_function): Conditionalize label remove_from_tree on
42304 [!DO_STATIC_NSS || SHARED], matching its only use.
42305
42306 2012-09-28 David S. Miller <davem@davemloft.net>
42307
42308 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
42309 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
42310 file.
42311 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42312 sysdep_routines.
42313 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42314 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
42315 when HWCAP_SPARC_CRYPTO is present.
42316
42317 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
42318
42319 * io/tst-mknodat.c: Create a FIFO instead of a socket.
42320
42321 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
42322
42323 [BZ #6530]
42324 * stdio-common/vfprintf.c (process_string_arg): Revert
42325 2000-07-22 change.
42326
42327 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
42328
42329 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
42330 for testcase.
42331 * stdio-common/tst-sprintf.c: Include <locale.h>
42332 (main): Test sprintf's handling of incomplete multibyte
42333 characters.
42334
42335 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
42336
42337 * elf/dl-runtime.c (VERSYMIDX): Removed.
42338 * elf/dl-version.c (VERSYMIDX): Likewise.
42339 * elf/do-rel.h (VERSYMIDX): Likewise.
42340 (VALIDX): Likewise.
42341 * elf/dynamic-link.h (VERSYMIDX): Likewise.
42342 * elf/rtld.c (VALIDX): Likewise.
42343 (ADDRIDX): Likewise.
42344 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
42345 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
42346 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
42347 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
42348 (VALIDX): Likewise.
42349 (ADDRIDX): Likewise.
42350
42351 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
42352
42353 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
42354
42355 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
42356
42357 [BZ #11438]
42358 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
42359 to global scope.
42360 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
42361 addresses are in the same scope as 192.0.2/24.
42362 * posix/gai.conf: Document new scope table defaults.
42363
42364 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42365
42366 [BZ #5298]
42367 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
42368 for ftell. Compute offsets from write pointers instead.
42369 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42370
42371 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42372
42373 [BZ #14543]
42374 * libio/Makefile (tests): New test case tst-fseek.
42375 * libio/tst-fseek.c: New test case to verify that fseek/ftell
42376 combination works in wide mode.
42377 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
42378 state when the external buffer state changes.
42379
42380 2012-09-27 David S. Miller <davem@davemloft.net>
42381
42382 [BZ #14376]
42383 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
42384 pass reloc->r_addend in as the 'high' argument to
42385 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
42386
42387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42388
42389 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
42390
42391 * rt/tst-aio2.c: Include <pthread.h>.
42392 * rt/tst-aio3.c: Likewise.
42393
42394 2012-09-27 Steve Ellcey <sellcey@mips.com>
42395
42396 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
42397
42398 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
42399
42400 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
42401 contents on [SHARED].
42402
42403 2012-09-26 Marek Polacek <polacek@redhat.com>
42404
42405 [BZ #14530]
42406 [BZ #13741]
42407 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
42408 for C++ and GCC <4.3 as well as for non GCC compilers.
42409
42410 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
42411
42412 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42413
42414 2012-09-25 Roland McGrath <roland@hack.frob.com>
42415
42416 * Makefile.in (all, install): Declare with .PHONY.
42417 Reported by Michael Hope <michael.hope@linaro.org>.
42418
42419 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42420
42421 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
42422 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
42423 system header.
42424 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
42425 Likewise.
42426 (sydep_routines): Add the new and the internal functions.
42427 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
42428 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
42429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
42430 (GLIBC_2.17): Add the new function.
42431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
42432 (GLIBC_2.17): Likewise.
42433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
42434 (GLIBC_2.17): Likewise.
42435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
42436 (GLIBC_2.17): Likewise.
42437 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
42438
42439 2012-09-25 Alan Modra <amodra@gmail.com>
42440
42441 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
42442 Add release barrier before setting once_control to say
42443 initialisation is done. Add hints on lwarx. Use macro in
42444 place of isync.
42445 (clear_once_control): Add release barrier.
42446
42447 2012-09-25 Joseph Myers <joseph@codesourcery.com>
42448
42449 [BZ #13629]
42450 * math/s_clog.c (__clog): Handle more values close to |z| = 1
42451 specially.
42452 * math/s_clog10.c (__clog10): Likewise.
42453 * math/s_clog10f.c (__clog10f): Likewise.
42454 * math/s_clog10l.c (__clog10l): Likewise.
42455 * math/s_clogf.c (__clogf): Likewise.
42456 * math/s_clogl.c (__clogl): Likewise.
42457 * math/Makefile (libm-calls): Add x2y2m1.
42458 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
42459 (__x2y2m1): Likewise.
42460 (__x2y2m1l): Likewise.
42461 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
42462 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
42463 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
42464 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
42465 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
42466 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
42467 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
42468 * sysdeps/i386/fpu/libm-test-ulps: Update.
42469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42470
42471 [BZ #14621]
42472 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
42473 int as type of variable DEPTH.
42474 (glob): Use size_t instead of int as type of variables NEWCOUNT
42475 and OLD_PATHC.
42476
42477 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42478
42479 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42480 Add s_sincosf-sse2.
42481 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
42482 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
42483 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
42484 macros for using routine as __sincosf_ia32.
42485 Use macro for function declaration and weak_alias.
42486 * sysdeps/i386/fpu/libm-test-ulps: Update.
42487
42488 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
42489 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42490
42491 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
42492 subnormal argument.
42493 * math/s_cexpf.c (__cexpf): Likewise.
42494 * math/s_csinf.c (__csinf): Likewise.
42495 * math/s_csinhf.c (__csinhf): Likewise.
42496 * math/s_ctanf.c (__ctanf): Likewise.
42497 * math/s_ctanhf.c (__ctanhf): Likewise.
42498 * math/s_ccosh.c (__ccoshf): Likewise.
42499 * math/s_cexp.c (__cexpl): Likewise.
42500 * math/s_csin.c (__csin): Likewise.
42501 * math/s_csinh.c (__csinh): Likewise.
42502 * math/s_ctan.c (__ctan): Likewise.
42503 * math/s_ctanh.c (ctanh): Likewise.
42504 * math/s_ccoshl.c (__ccoshl): Likewise.
42505 * math/s_cexpl.c (__cexpl): Likewise.
42506 * math/s_csinl.c (__csinl): Likewise.
42507 * math/s_csinhl.c (__csinhl): Likewise.
42508 * math/s_ctanl.c (__ctanl): Likewise.
42509 * math/s_ctanhl.c (__ctanhl): Likewise.
42510
42511 2012-09-25 Joseph Myers <joseph@codesourcery.com>
42512
42513 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
42514 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
42515 (_IO_off_t): Define to __off_t, not _G_off_t.
42516 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
42517 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
42518 (_IO_wint_t): Define to wint_t, not _G_wint_t.
42519 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
42520 type of __dummy and __dummy2 fields.
42521 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
42522 (_G_ssize_t): Likewise.
42523 (_G_off_t): Likewise.
42524 (_G_pid_t): Likewise.
42525 (_G_uid_t): Likewise.
42526 (_G_wchar_t): Likewise.
42527 (_G_wint_t): Likewise.
42528 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
42529 (_G_ssize_t): Likewise.
42530 (_G_off_t): Likewise.
42531 (_G_pid_t): Likewise.
42532 (_G_uid_t): Likewise.
42533 (_G_wchar_t): Likewise.
42534 (_G_wint_t): Likewise.
42535 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
42536 (_G_ssize_t): Likewise.
42537 (_G_off_t): Likewise.
42538 (_G_pid_t): Likewise.
42539 (_G_uid_t): Likewise.
42540 (_G_wchar_t): Likewise.
42541 (_G_wint_t): Likewise.
42542
42543 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
42544
42545 * malloc/arena.c: Include malloc-sysdep.h.
42546 (shrink_heap): Use check_may_shrink_heap to decide if madvise
42547 is sufficient to shrink the heap or an unmap is needed.
42548 * sysdeps/generic/malloc-sysdep.h: New file. Define
42549 new function check_may_shrink_heap.
42550 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
42551 new function check_may_shrink_heap.
42552
42553 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
42554
42555 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
42556 comments.
42557
42558 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
42559
42560 * catgets/test-gencat.sh: Add "set -e".
42561 * elf/tst-pathopt.sh: Likewise.
42562 * grp/tst_fgetgrent.sh: Likewise.
42563 * iconvdata/run-iconv-test.sh: Likewise.
42564 * intl/tst-gettext.sh: Likewise.
42565 * intl/tst-gettext2.sh: Likewise.
42566 * intl/tst-gettext4.sh: Likewise.
42567 * intl/tst-gettext6.sh: Likewise.
42568 * intl/tst-translit.sh: Likewise.
42569 * io/ftwtest-sh: Likewise.
42570 * libio/test-freopen.sh: Likewise.
42571 * malloc/tst-mtrace.sh: Likewise.
42572 * posix/globtest.sh: Likewise.
42573 * posix/tst-getconf.sh: Likewise.
42574 * posix/wordexp-tst.sh: Likewise.
42575 * stdio-common/tst-printf.sh: Likewise.
42576 * stdio-common/tst-unbputc.sh: Likewise.
42577 * stdlib/tst-fmtmsg.sh: Likewise.
42578 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42579 * catgets/Makefile: Do not specify -e option when running
42580 testsuite shell scripts.
42581 * elf/Makefile: Likewise.
42582 * grp/Makefile: Likewise.
42583 * iconvdata/Makefile: Likewise.
42584 * intl/Makefile: Likewise.
42585 * io/Makefile: Likewise.
42586 * libio/Makefile: Likewise.
42587 * malloc/Makefile: Likewise.
42588 * posix/Makefile: Likewise.
42589 * stdio-common/Makefile: Likewise.
42590 * stdlib/Makefile: Likewise.
42591 * sysdeps/x86_64/Makefile: Likewise.
42592
42593 * io/ftwtest-sh: Add copyright header.
42594 * posix/globtest.sh: Likewise.
42595 * posix/tst-getconf.sh: Likewise.
42596 * posix/wordexp-tst.sh: Likewise.
42597 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42598
42599 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
42600
42601 [BZ #13679]
42602 * Makeconfig (+link): Defined as $(+link-static) if
42603 $(build-shared) isn't yes.
42604 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
42605 isn't yes.
42606 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
42607
42608 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
42609
42610 [BZ #14562]
42611 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
42612 new chunk size with MALLOC_ALIGN_MASK.
42613
42614 2012-09-24 Joseph Myers <joseph@codesourcery.com>
42615
42616 [BZ #5044]
42617 * stdio-common/printf_fphex.c: Include <stdbool.h> and
42618 <rounding-mode.h>.
42619 (__printf_fphex): Determine rounding using get_rounding_mode and
42620 round_away.
42621 * stdio-common/tst-printf-round.c (struct hex_test): New
42622 structure.
42623 (hex_tests): New variable.
42624 (test_hex_in_one_mode): New function.
42625 (do_test): Also run tests for hex float output.
42626
42627 2012-09-21 Joseph Myers <joseph@codesourcery.com>
42628
42629 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42630 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42631 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
42632 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42633 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42634 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
42635 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42636 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42637
42638 2012-09-20 Joseph Myers <joseph@codesourcery.com>
42639
42640 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
42641 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
42642 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
42643 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
42644
42645 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
42646
42647 [BZ #14579]
42648 * elf/rtld.c (dl_main): Limit the check for self loading to normal
42649 mode only.
42650 * elf/tst-rtld-load-self.sh: New test.
42651 * elf/Makefile: Run it.
42652
42653 2012-09-18 Joseph Myers <joseph@codesourcery.com>
42654
42655 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
42656 (tst-writev-ENV): Remove.
42657 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
42658
42659 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
42660
42661 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
42662
42663 2012-09-17 Joseph Myers <joseph@codesourcery.com>
42664
42665 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
42666 unconditional.
42667 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
42668 Likewise.
42669 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
42670 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
42671 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
42672 Likewise.
42673
42674 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
42675
42676 [BZ #14587]
42677 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
42678 * config.make.in (have-cpp-asm-debuginfo): Removed.
42679 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
42680 * configure: Regenerated.
42681
42682 2012-09-14 Joseph Myers <joseph@codesourcery.com>
42683
42684 [BZ #5044]
42685 * stdio-common/printf_fp.c: Include <stdbool.h> and
42686 <rounding-mode.h>.
42687 (___printf_fp): Determine rounding using get_rounding_mode and
42688 round_away.
42689 * stdio-common/tst-printf-round.c: New file.
42690 * stdio-common/Makefile (tests): Add tst-printf-round.
42691 (link-libm): New variable.
42692 ($(objpfx)tst-printf-round): Depend in $(link-libm).
42693
42694 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
42695
42696 [BZ #14576]
42697 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
42698 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
42699 Likewise.
42700 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
42701 Likewise.
42702
42703 2012-09-13 Joseph Myers <joseph@codesourcery.com>
42704
42705 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
42706 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42707 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42708 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42709
42710 2012-09-12 Joseph Myers <joseph@codesourcery.com>
42711
42712 [BZ #14518]
42713 * include/rounding-mode.h: New file.
42714 * sysdeps/generic/get-rounding-mode.h: Likewise.
42715 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
42716 * stdlib/strtod_l.c: Include <rounding-mode.h>.
42717 (MAX_VALUE): New macro.
42718 (MIN_VALUE): Likewise.
42719 (overflow_value): New function.
42720 (underflow_value): Likewise.
42721 (round_and_return): Use overflow_value and underflow_value to
42722 determine return values in overflow and underflow cases. Use
42723 round_away to determine rounding depending on rounding mode.
42724 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
42725 determine return values in overflow and underflow cases.
42726 * stdlib/tst-strtod-round.c: Include <fenv.h>.
42727 (struct test_results): New structure.
42728 (struct test): Use struct test_results to store expected results
42729 for all rounding modes.
42730 (TEST): Include expected results for all rounding modes.
42731 (test_in_one_mode): New function.
42732 (do_test): Use test_in_one_mode to compute and check results.
42733 Check results for all rounding modes.
42734 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
42735 $(link-libm).
42736
42737 2012-12-09 Allan McRae <allan@archlinux.org>
42738
42739 * sysdeps/i386/fpu/libm-test-ulps: Update
42740
42741 2012-09-11 Joseph Myers <joseph@codesourcery.com>
42742
42743 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
42744 (_G_int32_t): Likewise.
42745 (_G_uint16_t): Likewise.
42746 (_G_uint32_t): Likewise.
42747 (_G_HAVE_BOOL): Likewise.
42748 (_G_HAVE_ATEXIT): Likewise.
42749 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42750 (_G_HAVE_IO_FILE_OPEN): Likewise.
42751 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
42752 (_G_int32_t): Likewise.
42753 (_G_uint16_t): Likewise.
42754 (_G_uint32_t): Likewise.
42755 (_G_HAVE_BOOL): Likewise.
42756 (_G_HAVE_ATEXIT): Likewise.
42757 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42758 (_G_HAVE_IO_FILE_OPEN): Likewise.
42759 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
42760 (_G_int32_t): Likewise.
42761 (_G_uint16_t): Likewise.
42762 (_G_uint32_t): Likewise.
42763 (_G_HAVE_BOOL): Likewise.
42764 (_G_HAVE_ATEXIT): Likewise.
42765 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42766 (_G_HAVE_IO_FILE_OPEN): Likewise.
42767
42768 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
42769
42770 * csu/libc-tls.c: Update copyright years.
42771
42772 2012-09-10 Joseph Myers <joseph@codesourcery.com>
42773
42774 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
42775 [!_G_USING_THUNKS]: Remove conditional code.
42776 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
42777 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
42778
42779 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
42780 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
42781 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42782 (_G_VTABLE_LABEL_PREFIX): Likewise.
42783 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42784 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42785 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42786 (_G_VTABLE_LABEL_PREFIX): Likewise.
42787 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42788 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42789 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42790 (_G_VTABLE_LABEL_PREFIX): Likewise.
42791 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42792
42793 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
42794
42795 * libio/Makefile: Include ../Makeconfig before tests.
42796 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
42797 only if $(build-shared) is yes.
42798
42799 * iconv/gconv_db.c: Update copyright years.
42800
42801 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42802
42803 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
42804 unwind info if defined PIC. Fix special cases description.
42805 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
42806
42807 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
42808 DP_HI_MASK entry.
42809 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
42810
42811 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
42812
42813 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
42814
42815 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
42816 is NULL.
42817
42818 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
42819 (LDLIBS-tst-chk4): This.
42820 (LDFLAGS-tst-chk5): Renamed to ...
42821 (LDLIBS-tst-chk5): This.
42822 (LDFLAGS-tst-chk6): Renamed to ...
42823 (LDLIBS-tst-chk6): This.
42824 (LDFLAGS-tst-lfschk4): Renamed to ...
42825 (LDLIBS-tst-lfschk4): This.
42826 (LDFLAGS-tst-lfschk5): Renamed to ...
42827 (LDLIBS-tst-lfschk5): This.
42828 (LDFLAGS-tst-lfschk6): Renamed to ...
42829 (LDLIBS-tst-lfschk6): This.
42830
42831 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
42832 on $(common-objpfx)soversions.mk.
42833
42834 2012-09-07 Joseph Myers <joseph@codesourcery.com>
42835
42836 [BZ #10014]
42837 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
42838 example host name.
42839
42840 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
42841
42842 * malloc/arena.c (arena_get_retry): New function that gets
42843 another arena for the caller to try its request on.
42844 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
42845 current arena cannot fulfill the request.
42846 (__libc_memalign): Likewise.
42847 (__libc_memalign): Likewise.
42848 (__libc_pvalloc): Likewise.
42849 (__libc_calloc): Likewise.
42850
42851 2012-09-05 John Tobey <john.tobey@gmail.com>
42852
42853 [BZ #13542]
42854 * manual/arith.texi (Operations on Complex): Fix description
42855 of carg branch cut.
42856
42857 2012-09-06 Joseph Myers <joseph@codesourcery.com>
42858
42859 [BZ #10014]
42860 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
42861 host name.
42862
42863 [BZ #10038]
42864 * manual/memory.texi (Memory): Make order of menu items match
42865 order of sections.
42866
42867 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42868
42869 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
42870 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
42871 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
42872
42873 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42874
42875 * csu/libc-tls.c (static_dtv): Renamed to ...
42876 (_dl_static_dtv): This. Make it global.
42877 (_dl_initial_dtv): Removed.
42878 (__libc_setup_tls): Updated.
42879 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
42880 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
42881 DL_INITIAL_DTV.
42882
42883 2012-09-06 Petr Machata <pmachata@redhat.com>
42884
42885 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
42886 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
42887 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
42888 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
42889
42890 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42891
42892 [BZ #14545]
42893 * csu/libc-tls.c (_dl_initial_dtv): New variable.
42894 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
42895 freeing dtv[-1].
42896
42897 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42898
42899 [BZ #14544]
42900 * Makeconfig (link-static-before-libc): Replace $(+prector)
42901 with $(+prectorT).
42902 (link-static-after-libc): Replace $(+postctor) with
42903 $(+postctorT).
42904 (link-bounded): Replace $(+prector)/$(+postctor) with
42905 $(+prectorT)/$(+postctorT).
42906 (+prectorT): New macro.
42907 (+postctorT): Likewise.
42908
42909 2012-09-06 Joseph Myers <joseph@codesourcery.com>
42910
42911 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
42912 (round_str): Handle values above the maximum for IBM long double
42913 as inexact.
42914 * stdlib/tst-strtod-round.c (tests): Regenerated.
42915
42916 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42917
42918 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
42919 assembler flag.
42920 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
42921 zarch_nohighgprs around the zarch optimized routines.
42922 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
42923 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
42924 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
42925 for zarch.
42926
42927 2012-09-05 David S. Miller <davem@davemloft.net>
42928
42929 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42930
42931 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
42932 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
42933 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
42934 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42935 entries.
42936
42937 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42938
42939 * malloc/arena.c: Fold copyright years.
42940 * malloc/mcheck.c, malloc/memusage.c: Likewise.
42941
42942 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42943
42944 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
42945
42946 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42947
42948 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
42949
42950 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42951
42952 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
42953 change internal state upon failure.
42954
42955 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
42956
42957 * malloc/mcheck.c (mcheck_check_all): Fix typo.
42958 * malloc/memusage.c (mmap): Likewise.
42959 (mmap64, mremap): Likewise. Adjust name in comment.
42960
42961 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
42962
42963 * libio/fileops.c: Fix typos in comments.
42964 * libio/oldfileops.c: Likewise.
42965 * libio/wfileops.c: Likewise.
42966
42967 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
42968
42969 [BZ #1349]
42970 * malloc/Makefile (tests): Add tst-malloc-usable test case.
42971 (tst-malloc-usable-ENV): Set environment for test case.
42972 * malloc/hooks.c (malloc_check_get_size): New function to get
42973 requested size.
42974 * malloc/malloc.c (musable): Use malloc_check_get_size.
42975 * malloc/tst-malloc-usable.c: New test case.
42976
42977 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
42978
42979 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
42980
42981 2012-09-05 Allan McRae <allan@archlinux.org>
42982
42983 [BZ #13966]
42984 * configure.in (CXX_SYSINCLUDES): Use compiler output to
42985 determine header location.
42986 * configure: Regenerated.
42987
42988 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
42989
42990 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
42991 float format.
42992 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
42993 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
42994 format.
42995 (test): Regenerate.
42996
42997 2012-09-04 David S. Miller <davem@davemloft.net>
42998
42999 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
43000 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
43001 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
43002
43003 2012-09-04 Florian Weimer <fweimer@redhat.com>
43004
43005 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
43006 failures.
43007
43008 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
43009
43010 2012-09-04 Joseph Myers <joseph@codesourcery.com>
43011
43012 [BZ #9914]
43013 * libio/iogetdelim.c: Include <limits.h>.
43014 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
43015 + len + 1 would overflow.
43016
43017 2012-09-03 Andreas Jaeger <aj@suse.de>
43018
43019 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43020 * sysdeps/i386/fpu/libm-test-ulps: Update.
43021
43022 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43023
43024 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43025 Add s_sinf-sse2, s_conf-sse2.
43026
43027 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
43028 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
43029 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
43030 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
43031
43032 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
43033 for using routine as __sinf_ia32.
43034 Use macro for function declaration and weak_alias.
43035 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
43036 for using routine as __cosf_ia32.
43037 Use macro for function declaration and weak_alias.
43038
43039 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
43040 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
43041
43042 * sysdeps/x86_64/fpu/s_sinf.S: New file.
43043 * sysdeps/x86_64/fpu/s_cosf.S: New file.
43044 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43045
43046 * math/libm-test.inc (cos_test): Add more test cases.
43047 (sin_test): Likewise.
43048 (sincos_test): Likewise.
43049
43050 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43051
43052 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
43053 (IFUNC_RESOLVE): Make pointers to the specialized implementations
43054 hidden.
43055 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43056
43057 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
43058
43059 [BZ #14538]
43060 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
43061 first element of the GOT.
43062 (elf_machine_load_address): Return the difference between
43063 the runtime address of _DYNAMIC and elf_machine_dynamic ().
43064
43065 2012-09-01 Allan McRae <allan@archlinux.org>
43066
43067 [BZ #13412]
43068 * configure.in (AWK): Require gawk version 3.0 or later.
43069 * configure: Regenerated.
43070
43071 2012-09-01 Joseph Myers <joseph@codesourcery.com>
43072
43073 * sysdeps/unix/sysv/linux/kernel-features.h
43074 (__ASSUME_POSIX_CPU_TIMERS): Remove.
43075 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43076 [__NR_clock_getres]: Make code unconditional.
43077 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
43078 (clock_getcpuclockid): Remove code left unreachable by removal of
43079 conditionals.
43080 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
43081 code unconditional.
43082 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43083 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43084 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
43085 Make code unconditional.
43086 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43087 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43088 * sysdeps/unix/sysv/linux/clock_settime.c
43089 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
43090 conditional code.
43091 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
43092 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43093
43094 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
43095
43096 [BZ #14476]
43097 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
43098 scripts/test-installation.pl.
43099
43100 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
43101 and $ld_so_version if it is set.
43102
43103 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
43104
43105 [BZ #14516]
43106 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
43107 failure if reading from procfs failed.
43108 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
43109
43110 2012-08-27 Joseph Myers <joseph@codesourcery.com>
43111
43112 * sysdeps/unix/sysv/linux/kernel-features.h
43113 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
43114 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43115 Remove conditional code.
43116 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43117 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
43118 Remove conditional code.
43119 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43120 * sysdeps/unix/sysv/linux/i386/fxstat.c
43121 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43122 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43123 * sysdeps/unix/sysv/linux/i386/fxstatat.c
43124 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43125 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43126 * sysdeps/unix/sysv/linux/i386/lxstat.c
43127 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43128 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43129 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
43130 Remove conditional code.
43131 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43132 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43133 Remove conditional code.
43134 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43135 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
43136 <kernel-features.h>.
43137 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
43138 Remove.
43139 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
43140 Remove conditional code.
43141 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43142 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
43143 Remove conditional.
43144
43145 2012-08-27 Mike Frysinger <vapier@gentoo.org>
43146
43147 [BZ #5400]
43148 * NEWS: Add fixed bug number.
43149
43150 2012-08-27 Joseph Myers <joseph@codesourcery.com>
43151
43152 [BZ #14519]
43153 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
43154 underflowing exponent in case of negative sign.
43155 * stdlib/tst-strtod-round-data: Add more tests.
43156 * stdlib/tst-strtod-round.c (tests): Regenerated.
43157
43158 [BZ #3479]
43159 * stdlib/strtod_l.c (NDIG): Remove.
43160 (HEXNDIG): Likewise.
43161 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
43162 smallest representable value.
43163 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
43164 lie within an exact representation of 1/2 ulp of the result.
43165 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
43166 unconditionally.
43167 (TENS_P9_IDX): Define unconditionally.
43168 (TENS_P9_SIZE): Likewise.
43169 (TENS_P10_IDX): Likewise.
43170 (TENS_P10_SIZE): Likewise.
43171 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
43172 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
43173 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
43174 entries for 10^2^13 and 10^2^14.
43175 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
43176 (TENS_P13_IDX): Define.
43177 (TENS_P13_SIZE): Likewise.
43178 (TENS_P14_IDX): Likewise.
43179 (TENS_P14_SIZE): Likewise.
43180 (_fpioconst_pow10): Change array size to
43181 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
43182 unconditional.
43183 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
43184 1024]: Add entries for 10^2^13 and 10^2^14.
43185 [LAST_POW10 > _LAST_POW10]: Remove #error.
43186 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
43187 (_fpioconst_pow10): Change array size to
43188 FPIOCONST_POW10_ARRAY_SIZE.
43189 * stdlib/gen-fpioconst.c: New file.
43190 * stdlib/gen-tst-strtod-round.c: Likewise.
43191 * stdlib/tst-strtod-round-data: Likewise.
43192 * stdlib/tst-strtod-round.c: Likewise.
43193 * stdlib/Makefile (tests): Add tst-strtod-round.
43194
43195 [BZ #14459]
43196 * stdlib/strtod_l.c: Include <stdint.h>.
43197 (NDEBUG): Do not define.
43198 (round_and_return): Change EXPONENT parameter to type intmax_t.
43199 Rearrange calculations to avoid internal overflow possibilities.
43200 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
43201 Rearrange calculations to avoid internal overflow possibilities.
43202 Assert that number fits inside MPNSIZE limbs.
43203 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
43204 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
43205 calculations and add assertions to avoid internal overflow
43206 possibilities. Add casts to avoid signed/unsigned operations.
43207 * stdlib/tst-strtod-overflow.c: New file.
43208 * stdlib/Makefile (tests): Add tst-strtod-overflow.
43209
43210 2012-08-25 Marek Polacek <polacek@redhat.com>
43211
43212 * time/time.h: Fix some typos in comments.
43213
43214 2012-08-23 Roland McGrath <roland@hack.frob.com>
43215
43216 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
43217 * posix/tst-rfc3484-2.c: Likewise.
43218 * posix/tst-rfc3484-3.c: Likewise.
43219
43220 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
43221
43222 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
43223 (EF_ARM_ABI_FLOAT_HARD): Likewise.
43224
43225 2012-08-23 Joseph Myers <joseph@codesourcery.com>
43226
43227 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
43228 #include of fxstatat64.c.
43229
43230 2012-08-22 Roland McGrath <roland@hack.frob.com>
43231
43232 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
43233 * shadow/getspent_r.c: Likewise.
43234 * shadow/getspnam.c: Likewise.
43235 * shadow/getspnam_r.c: Likewise.
43236 * gshadow/getsgent.c: Likewise.
43237 * gshadow/getsgent_r.c: Likewise.
43238 * gshadow/getsgnam.c: Likewise.
43239 * gshadow/getsgnam_r.c: Likewise.
43240 * inet/getnetbyad.c: Likewise.
43241 * inet/getnetbyad_r.c: Likewise.
43242 * inet/getnetbynm.c: Likewise.
43243 * inet/getnetbynm_r.c: Likewise.
43244 * inet/getnetent.c: Likewise.
43245 * inet/getnetent_r.c: Likewise.
43246 * inet/getproto.c: Likewise.
43247 * inet/getproto_r.c: Likewise.
43248 * inet/getprtent.c: Likewise.
43249 * inet/getprtent_r.c: Likewise.
43250 * inet/getprtname.c: Likewise.
43251 * inet/getprtname_r.c: Likewise.
43252 * inet/getrpcbyname.c: Likewise.
43253 * inet/getrpcbyname_r.c: Likewise.
43254 * inet/getrpcbynumber.c: Likewise.
43255 * inet/getrpcbynumber_r.c: Likewise.
43256 * inet/getrpcent.c: Likewise.
43257 * inet/getrpcent_r.c: Likewise.
43258 * inet/getaliasent.c: Likewise.
43259 * inet/getaliasent_r.c: Likewise.
43260 * inet/getaliasname.c: Likewise.
43261 * inet/getaliasname_r.c: Likewise.
43262 * nscd/getgrgid_r.c: Likewise.
43263 * nscd/getgrnam_r.c: Likewise.
43264 * nscd/gethstbyad_r.c: Likewise.
43265 * nscd/gethstbynm3_r.c: Likewise.
43266 * nscd/getpwnam_r.c: Likewise.
43267 * nscd/getpwuid_r.c: Likewise.
43268 * nscd/getsrvbynm_r.c: Likewise.
43269 * nscd/getsrvbypt_r.c: Likewise.
43270 * nscd/gai.c: Likewise.
43271
43272 * configure.in (build_nscd): New substituted variable, set
43273 by --disable-build-nscd and defaults to $use_nscd.
43274 * configure: Regenerated.
43275 * config.make.in (build-nscd): New substituted variable.
43276 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
43277 Change conditional to require [$(build-nscd) = yes] as well.
43278 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
43279
43280 [BZ# 13696]
43281 * configure.in (use_nscd): New substituted variable, set by
43282 --disable-nscd. If enabled, define USE_NSCD.
43283 * configure: Regenerated.
43284 * config.h.in: Add USE_NSCD.
43285 * config.make.in (use-nscd): New substituted variable.
43286 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
43287 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
43288 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
43289 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
43290 (CFLAGS-getgrnam_r.c): Likewise.
43291 (CFLAGS-initgroups.c): Likewise.
43292 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
43293 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
43294 Variables removed.
43295 * inet/getnetgrent_r.c
43296 (nscd_setnetgrent): New function, broken out of ...
43297 (setnetgrent): ... here. Call it.
43298 (innetgr): Conditionalize nscd bits on [USE_NSCD].
43299 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
43300 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
43301 * nscd/Makefile (routines, aux): Move definitions after include of
43302 Makeconfig. Conditionalize on [$(use-nscd) != no].
43303 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
43304 Conditionalize on [USE_NSCD].
43305 (is_nscd, nscd_init_cb): Likewise.
43306 (nss_load_library): Conditionalize init callback on [USE_NSCD].
43307 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
43308 * nss/nss_db/db-init.c: Likewise.
43309 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
43310 [USE_NSCD].
43311 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
43312 (make_request): Use it.
43313 (cache_valid_p): New function.
43314 (__check_pf): Use it.
43315 * NEWS: Add item for --disable-nscd.
43316
43317 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
43318
43319 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
43320 to support sed >= 4.2.1-20-ga9bf076.
43321 * configure: Regenerated.
43322
43323 2012-08-22 Roland McGrath <roland@hack.frob.com>
43324
43325 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
43326 Conditionalize whole body on [IREL].
43327
43328 2012-08-22 Jeff Law <law@redhat.com>
43329
43330 [BZ #14505]
43331 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
43332 if the family is PF_UNSPEC.
43333
43334 2012-08-22 Mike Frysinger <vapier@gentoo.org>
43335
43336 * Makerules (lib-version): Rename from V.
43337 (install-lib-nosubdir): Change V to lib-version.
43338
43339 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
43340
43341 [BZ #14252]
43342 * powerpc32/power6/wcschr.c: New file.
43343 * powerpc32/power6/wcscpy.c: New file.
43344 * powerpc32/power6/wcsrchr.c: New file.
43345 * powerpc64/power6/wcschr.c: New file.
43346 * powerpc64/power6/wcscpy.c: New file.
43347 * powerpc64/power6/wcsrchr.c: New file.
43348
43349 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
43350
43351 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
43352 (two_way_short_needle): Use it.
43353 * string/strstr.c (AVAILABLE1_USES_J): Define.
43354 * string/strcasestr.c: Likewise.
43355
43356 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
43357 array references.
43358 * string/strcasestr.c (TOLOWER): Make side-effect safe.
43359
43360 [BZ #11607]
43361 * NEWS: Add an entry.
43362 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
43363 define their defaults.
43364 (two_way_short_needle): Detect end-of-string on-the-fly.
43365 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
43366 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
43367 * string/bug-strcasestr1.c: New test.
43368 * string/Makefile: Run it.
43369
43370 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
43371
43372 [BZ #11607]
43373 * string/str-two-way.h (two_way_short_needle): Optimize matching of
43374 the first character.
43375
43376 2012-08-21 Roland McGrath <roland@hack.frob.com>
43377
43378 * csu/elf-init.c (__libc_csu_irel): Function removed.
43379 * csu/libc-start.c (apply_irel): New function.
43380 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
43381
43382 2012-08-21 Joseph Myers <joseph@codesourcery.com>
43383
43384 * sysdeps/unix/sysv/linux/kernel-features.h
43385 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
43386 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
43387 <kernel-features.h>.
43388 [__NR_fadvise64_64]: Make code unconditional.
43389 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
43390 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43391 !__NR_fadvise64_64)]: Likewise.
43392 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43393 !__NR_fadvise64_64))]: Likewise.
43394 [__NR_fadvise64]: Make code unconditional.
43395 [!__NR_fadvise64]: Remove conditional code.
43396 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
43397 <kernel-features.h>.
43398 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43399 unconditional.
43400 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43401 conditional code.
43402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
43403 not include <kernel-features.h>.
43404 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43405 unconditional.
43406 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43407 conditional code.
43408 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
43409 include <kernel-features.h>.
43410 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43411 unconditional.
43412 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43413 conditional code.
43414
43415 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43416
43417 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
43418 slight instruction rearrangements per scrollpipe analysis.
43419 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
43420
43421 2012-08-20 Roland McGrath <roland@hack.frob.com>
43422
43423 * manual/syslog.texi (syslog; vsyslog, closelog):
43424 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
43425 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
43426
43427 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
43428 DSOCAPS to match condition on defining it.
43429
43430 2012-08-20 Joseph Myers <joseph@codesourcery.com>
43431
43432 * sysdeps/unix/sysv/linux/kernel-features.h
43433 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
43434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
43435 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43436 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
43438 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43439 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
43441 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43442 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43443
43444 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
43445 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
43446
43447 * sysdeps/unix/sysv/linux/kernel-features.h
43448 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
43449 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
43450 unconditional.
43451 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43452 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
43453 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43454 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43455 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
43456 Make code unconditional.
43457 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43458 (__mmap64) [!__NR_mmap2]: Likewise.
43459 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
43460 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43461 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43462 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
43463 [__NR_mmap2]: Make code unconditional.
43464 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43465 (__mmap64) [!__NR_mmap2]: Likewise.
43466
43467 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43468
43469 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
43470
43471 2012-08-18 Andreas Jaeger <aj@suse.de>
43472
43473 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
43474
43475 2012-08-18 Mike Frysinger <vapier@gentoo.org>
43476
43477 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
43478 * include/unistd.h (__have_sock_cloexec): Likewise.
43479 (__have_pipe2): Likewise.
43480 (__have_dup3): Likewise.
43481
43482 2012-08-18 Mike Frysinger <vapier@gentoo.org>
43483
43484 [BZ #9685]
43485 * include/unistd.h (__have_pipe2): Change define into an extern int.
43486 (__have_dup3): Likewise.
43487 * socket/have_sock_cloexec.c: Include fcntl.h.
43488 (__have_pipe2): New variable.
43489 (__have_dup3): Likewise.
43490
43491 2012-08-17 Mike Frysinger <vapier@gentoo.org>
43492
43493 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
43494
43495 2012-08-17 Marek Polacek <polacek@redhat.com>
43496
43497 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
43498 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
43499
43500 2012-08-17 Roland McGrath <roland@hack.frob.com>
43501
43502 * configure.in: Add AC_SUBST for sysheaders.
43503 * configure: Regenerated.
43504 * config.make.in (sysheaders): New substituted variable.
43505
43506 * sysdeps/unix/mkfifo.c: Moved ...
43507 * sysdeps/posix/mkfifo.c: ... here.
43508 * sysdeps/unix/mkfifoat.c: Moved ...
43509 * sysdeps/posix/mkfifoat.c: ... here.
43510
43511 * sysdeps/unix/utime.c: Moved ...
43512 * sysdeps/posix/utime.c: ... here.
43513
43514 * sysdeps/unix/time.c: Moved ...
43515 * sysdeps/posix/time.c: ... here.
43516 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
43517 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
43518
43519 * sysdeps/unix/nice.c: Moved ...
43520 * sysdeps/posix/nice.c: ... here.
43521
43522 * sysdeps/unix/alarm.c: Moved ...
43523 * sysdeps/posix/alarm.c: ... here.
43524
43525 * intl/Makefile ($(codeset_mo)): Depend on the input file.
43526
43527 2012-08-17 Jeff Law <law@redhat.com>
43528
43529 * intl/Makefile (codeset_mo): New variable.
43530 ($(codeset_mo)): New target.
43531 (tst-codeset.out): Depend on that. Remove explicit rule.
43532 (tst-gettext3.out, tst-gettext5.out): Likewise.
43533 (LOCPATH-ENV, tst-codeset-ENV): New variables.
43534 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
43535 * intl/tst-codeset.sh: Remove.
43536 * intl/tst-gettext3.sh: Likewise.
43537 * intl/tst-gettext5.sh: Likewise.
43538
43539 2012-08-17 Roland McGrath <roland@hack.frob.com>
43540
43541 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
43542 * sysdeps/unix/syscalls.list: ... here.
43543
43544 * sysdeps/posix/getaddrinfo.c
43545 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
43546 (gaiconf_init, gaiconf_reload): Use them.
43547 [!_STATBUF_ST_NSEC]
43548 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
43549 Define using time_t rather than struct timespec.
43550
43551 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
43552 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
43553 Macros removed.
43554 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
43555 [!NO_THREADS].
43556 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
43557 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
43558 Likewise.
43559
43560 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
43561 __libc_cleanup_push argument.
43562
43563 * bits/param.h: New file.
43564 * misc/sys/param.h: New file.
43565 * include/sys/param.h: New file.
43566 * misc/Makefile (headers): Add bits/param.h.
43567 * sysdeps/generic/sys/param.h: File removed.
43568 * sysdeps/unix/sysv/linux/bits/param.h: New file.
43569 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
43570 * sysdeps/mach/hurd/bits/param.h: New file.
43571 * sysdeps/mach/hurd/sys/param.h: File removed.
43572
43573 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
43574 last change.
43575
43576 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
43577 [_IO_MTSAFE_IO].
43578 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
43579 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
43580 New macros.
43581
43582 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
43583 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
43584 rather than -D_IO_MTSAFE_IO conditionally.
43585 * stdio-common/Makefile (CPPFLAGS): Likewise.
43586 * wcsmbs/Makefile (CPPFLAGS): Likewise.
43587 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
43588 Use $(libio-mtsafe).
43589 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
43590 of -D_IO_MTSAFE_IO.
43591 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
43592 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
43593 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
43594 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
43595 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
43596 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
43597 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
43598 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
43599 (CFLAGS-fread_u_chk.c): Likewise.
43600 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
43601 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
43602 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
43603 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
43604 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
43605 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
43606 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
43607 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
43608 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
43609
43610 * libio/Makefile: Test [$(libc-reentrant) = yes]
43611 instead of [$(filter %REENTRANT, $(defines)) nonempty].
43612
43613 * Makeconfig
43614 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
43615 * sysdeps/pthread/configure: File removed.
43616 * sysdeps/pthread/Makeconfig: New file.
43617 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
43618 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
43619
43620 2012-08-16 Gary Benson <gbenson@redhat.com>
43621
43622 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
43623 unmapping the first object in a namespace.
43624
43625 2012-08-16 Roland McGrath <roland@hack.frob.com>
43626
43627 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
43628 (__internal_setnetgrent): ... this. Add internal_function to
43629 definition. Add libc_hidden_def.
43630 (setnetgrent): Update caller.
43631 (internal_endnetgrent): Renamed to ...
43632 (__internal_endnetgrent): ... this. Add internal_function to
43633 definition. Add libc_hidden_def.
43634 (endnetgrent): Update caller.
43635 (internal_getnetgrent_r): Renamed to ...
43636 (__internal_getnetgrent_r): ... this. Add internal_function to
43637 definition. Add libc_hidden_def.
43638 (__getnetgrent_r): Update caller.
43639 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
43640
43641 2012-08-16 Joseph Myers <joseph@codesourcery.com>
43642
43643 * stdlib/longlong.h: Update from GCC.
43644
43645 2012-08-16 Roland McGrath <roland@hack.frob.com>
43646
43647 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
43648 on _QL, which is set by umul_ppmm but never used.
43649 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
43650 variables, which are set by GMP macros but never used.
43651 * stdio-common/_itowa.c (_itowa): Likewise.
43652 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
43653 * stdlib/mod_1.c (mpn_mod_1): Likewise.
43654
43655 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
43656
43657 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
43658 struct La_sh_regs is not constant.
43659 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
43660 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
43661 and struct La_sparc64_regs are not constant.
43662
43663 2012-08-16 Joseph Myers <joseph@codesourcery.com>
43664
43665 * sysdeps/unix/sysv/linux/kernel-features.h
43666 (__ASSUME_POSIX_TIMERS): Remove.
43667 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43668 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43669 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
43670 Make code unconditional.
43671 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43672 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
43673 Make code unconditional.
43674 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43675 * sysdeps/unix/sysv/linux/clock_nanosleep.c
43676 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
43677 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43678 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
43679 Make code unconditional.
43680 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43681 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
43682 (__libc_missing_posix_timers): Remove.
43683
43684 2012-08-15 Roland McGrath <roland@hack.frob.com>
43685
43686 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
43687 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
43688
43689 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
43690
43691 * elf/dl-sym.c: Include <stdlib.h>.
43692
43693 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
43694 constants, which avoids warnings in 32-bit builds.
43695
43696 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
43697 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
43698
43699 * misc/lseek.c: File moved to ...
43700 * io/lseek.c: ... here.
43701
43702 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
43703
43704 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
43705 shifting LEN more than 31 bits at once.
43706
43707 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43708
43709 [BZ #14195]
43710 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
43711 segmentation fault for a case of two empty input strings.
43712 * string/test-strncasecmp.c (check1): Renamed to...
43713 (bz12205): ...this.
43714 (bz14195): Add new testcase for two empty input strings and N > 0.
43715 (test_main): Call new testcase, adapt for renamed function.
43716
43717 2012-08-15 Andreas Jaeger <aj@suse.de>
43718
43719 [BZ #14090]
43720 * crypt/md5test2.c: New test, based on test supplied by Serge
43721 Belyshev <belyshev@depni.sinp.msu.ru>.
43722 * crypt/Makefile (xtests): Add md5test-giant..
43723 * crypt/Makefile ($(objpfx)md5test-giant): Add.
43724
43725 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
43726
43727 [BZ #14090]
43728 * crypt/md5.c (md5_process_block): Don't assume the buffer
43729 length is less than 2**32.
43730 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
43731 length is less than 2**64.
43732
43733 2012-08-15 Roland McGrath <roland@hack.frob.com>
43734
43735 * string/str-two-way.h: Include <sys/param.h>.
43736 (MAX): Macro removed.
43737
43738 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
43739 Move #define and #undef of memmove to just before and after
43740 including <string.h>.
43741
43742 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
43743 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
43744 and after including <string.h>. Move declarations of
43745 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
43746 to before #include "string/memmove.c".
43747
43748 * include/dirent.h: Declare __getdirentries.
43749
43750 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
43751 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
43752
43753 2012-08-14 Mike Frysinger <vapier@gentoo.org>
43754
43755 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
43756 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
43757 * sysdeps/i386/configure: Regenerated.
43758 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
43759 STABS_CURRENT_FILE, and STABS_FUN.
43760 (END): Remove call to STABS_FUN_END.
43761 (STABS_CURRENT_FILE1): Delete.
43762 (STABS_CURRENT_FILE): Likewise.
43763 (STABS_FUN): Likewise.
43764 (STABS_FUN_END): Likewise.
43765 (STABS_FUN2): Likewise.
43766 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
43767 * sysdeps/x86_64/configure: Regenerated.
43768
43769 2012-08-14 Roland McGrath <roland@hack.frob.com>
43770
43771 * elf/dl-open.c: Include <atomic.h>.
43772 * elf/dl-lookup.c: Likewise.
43773
43774 2012-08-14 Joseph Myers <joseph@codesourcery.com>
43775
43776 * sysdeps/unix/sysv/linux/kernel-features.h
43777 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
43778 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
43779 unconditionally.
43780 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
43781 unconditionally.
43782 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
43783 condition on __ASSUME_CLONE_THREAD_FLAGS.
43784
43785 2012-08-14 Andreas Jaeger <aj@suse.de>
43786
43787 * sysdeps/i386/fpu/libm-test-ulps: Update.
43788
43789 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
43790
43791 * include/atomic.h (atomic_exchange_and_add): Split into ...
43792 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
43793 New atomic macros.
43794
43795 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
43796
43797 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43798
43799 2012-08-13 Jeff Law <law@redhat.com>
43800
43801 * manual/stdio.texi (snprintf): Clarify handling of the trailing
43802 null byte in the output string.
43803
43804 2012-08-10 Joseph Myers <joseph@codesourcery.com>
43805
43806 * sysdeps/unix/sysv/linux/kernel-features.h
43807 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
43808 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
43809 (__ASSUME_ARG_MAX_STACK_BASED): Define.
43810 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
43811 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
43812 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
43813 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
43814
43815 2012-08-09 Jeff Law <law@redhat.com>
43816
43817 [BZ #13939]
43818 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
43819 When avoid_arena is set, don't retry in the that arena. Pick the
43820 next one, whatever it might be.
43821 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
43822 (arena_lock): Pass in new parameter to arena_get2.
43823 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
43824 arena_get2.
43825 (__libc_malloc): Unify retrying after main arena failure with
43826 __libc_memalign version.
43827 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
43828
43829 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
43830
43831 [BZ #14166]
43832 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
43833 to __redirect_strstr.
43834 (__strstr_sse42): Use typeof __redirect_strstr.
43835 (__strstr_ia32): Likewise.
43836 (__libc_strstr): New prototype.
43837 (strstr): Renamed to ...
43838 (__libc_strstr): This.
43839 (strstr): New strong alias of __libc_strstr.
43840 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43841 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
43842 __redirect_time.
43843 Include <time.h>.
43844 (__libc_time): New prototype.
43845 (time_ifunc): Replace time with __libc_time.
43846 (time): New strong alias and hidden definition of __libc_time.
43847 (__GI_time): Remove strong alias.
43848 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
43849 Include <stddef.h>.
43850 (memmove): Redefined to __redirect_memmove.
43851 (__memmove_sse2): Use typeof __redirect_memmove.
43852 (__memmove_ssse3): Likewise.
43853 (__memmove_ssse3_back): Likewise.
43854 (__libc_memmove): New prototype.
43855 (memmove): Renamed to ...
43856 (__libc_memmove): This.
43857 (memmove): New strong alias of __libc_memmove.
43858
43859 2012-08-08 Mark Salter <msalter@redhat.com>
43860
43861 * elf/elf.h
43862 (R_MN10300_TLS_GD): Define.
43863 (R_MN10300_TLS_LD): Likewise.
43864 (R_MN10300_TLS_LDO): Likewise.
43865 (R_MN10300_TLS_GOTIE): Likewise.
43866 (R_MN10300_TLS_IE): Likewise.
43867 (R_MN10300_TLS_LE): Likewise.
43868 (R_MN10300_TLS_DTPMOD): Likewise.
43869 (R_MN10300_TLS_DTPOFF): Likewise.
43870 (R_MN10300_TLS_TPOFF): Likewise.
43871 (R_MN10300_SYM_DIFF): Likewise.
43872 (R_MN10300_ALIGN): Likewise.
43873 (R_MN10300_NUM): Update.
43874
43875 2012-08-08 Joseph Myers <joseph@codesourcery.com>
43876
43877 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
43878 Remove.
43879
43880 2012-08-08 Roland McGrath <roland@hack.frob.com>
43881
43882 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
43883
43884 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
43885 sysdeps/unix -> sysdeps/posix move.
43886 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
43887
43888 2012-08-07 Allan McRae <allan@archlinux.org>
43889
43890 [BZ #14303]
43891 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
43892 (SUNOS_CPP): Likewise.
43893 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
43894 not found.
43895 (open_input): Call CPP using execvp.
43896
43897 2012-08-07 Joseph Myers <joseph@codesourcery.com>
43898
43899 * sysdeps/unix/sysv/linux/kernel-features.h
43900 (__ASSUME_PROT_GROWSUPDOWN): Remove.
43901 (__ASSUME_NO_CLONE_DETACHED): Likewise.
43902 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43903 (__ASSUME_WAITID_SYSCALL): Likewise.
43904 * sysdeps/unix/sysv/linux/dl-execstack.c
43905 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
43906 code unconditional.
43907 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
43908 conditional code.
43909 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
43910 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
43911 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
43912 code.
43913 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
43914 unconditional.
43915 [__ASSUME_WAITID_SYSCALL]: Likewise.
43916 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
43917
43918 2012-08-07 Roland McGrath <roland@hack.frob.com>
43919
43920 * sysdeps/unix/closedir.c: Renamed to ...
43921 * sysdeps/posix/closedir.c: ... here.
43922 * sysdeps/unix/dirfd.c: Renamed to ...
43923 * sysdeps/posix/dirfd.c: ... here.
43924 * sysdeps/unix/dirstream.h: Renamed to ...
43925 * sysdeps/posix/dirstream.h: ... here.
43926 * sysdeps/unix/fdopendir.c: Renamed to ...
43927 * sysdeps/posix/fdopendir.c: ... here.
43928 * sysdeps/unix/opendir.c: Renamed to ...
43929 * sysdeps/posix/opendir.c: ... here.
43930 * sysdeps/unix/readdir.c: Renamed to ...
43931 * sysdeps/posix/readdir.c: ... here.
43932 * sysdeps/unix/readdir_r.c: Renamed to ...
43933 * sysdeps/posix/readdir_r.c: ... here.
43934 * sysdeps/unix/rewinddir.c: Renamed to ...
43935 * sysdeps/posix/rewinddir.c: ... here.
43936 * sysdeps/unix/seekdir.c: Renamed to ...
43937 * sysdeps/posix/seekdir.c: ... here.
43938 * sysdeps/unix/telldir.c: Renamed to ...
43939 * sysdeps/posix/telldir.c: ... here.
43940 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
43941 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
43942 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
43943 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
43944
43945 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
43946 * bits/fcntl.h: ... here.
43947
43948 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
43949 not 0.
43950 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
43951 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
43952 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
43953 (struct flock): Move l_start, l_len to the beginning.
43954 Use __pid_t for l_pid.
43955 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
43956 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
43957 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
43958 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
43959 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
43960 [__USE_LARGEFILE64] (struct flock64): New type.
43961 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
43962
43963 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
43964 * bits/dirent.h: ... here.
43965
43966 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
43967 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
43968
43969 2012-08-07 Joseph Myers <joseph@codesourcery.com>
43970
43971 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43972 Change from 2.6.0 to 2.6.16.
43973 * sysdeps/unix/sysv/linux/configure: Regenerated.
43974 * sysdeps/unix/sysv/linux/kernel-features.h
43975 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
43976 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
43977 version.
43978 (__ASSUME_UTIMES): Likewise.
43979 (__ASSUME_CLONE_STOPPED): Remove.
43980 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
43981 architectures, not kernel version.
43982 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
43983 (__ASSUME_NO_CLONE_DETACHED): Likewise.
43984 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43985 (__ASSUME_WAITID_SYSCALL): Likewise.
43986 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
43987 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
43988 * README: State 2.6.16 as minimum Linux kernel version. Do not
43989 refer to older versions.
43990
43991 2012-08-06 Roland McGrath <roland@hack.frob.com>
43992
43993 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
43994 Define alphasort64 as an alias.
43995 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
43996 Define versionsort64 as an alias.
43997 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
43998 Define scandir64 as an alias.
43999 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
44000 Define scandirat64 as an alias.
44001 * dirent/alphasort64.c (alphasort64):
44002 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
44003 * dirent/versionsort64.c: Likewise.
44004 * dirent/scandir64.c: Likewise.
44005 * dirent/scandirat64.c: Likewise.
44006 * sysdeps/wordsize-64/alphasort.c: File removed.
44007 * sysdeps/wordsize-64/alphasort64.c: File removed.
44008 * sysdeps/wordsize-64/scandir.c: File removed.
44009 * sysdeps/wordsize-64/scandir64.c: File removed.
44010 * sysdeps/wordsize-64/scandirat.c: File removed.
44011 * sysdeps/wordsize-64/scandirat64.c: File removed.
44012 * sysdeps/wordsize-64/versionsort.c: File removed.
44013 * sysdeps/wordsize-64/versionsort64.c: File removed.
44014 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
44015 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
44016 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
44017 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
44018 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
44019 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
44020 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
44021 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
44022
44023 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
44024 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44025 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
44026 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44027 [defined __arch64__ || defined __sparcv9]
44028 (__INO_T_MATCHES_INO64_T): New macro.
44029 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44030 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
44031 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
44032 * sysdeps/unix/sysv/linux/bits/dirent.h
44033 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
44034 (_DIRENT_MATCHES_DIRENT64): New macro.
44035
44036 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
44037 Define lockf64 as an alias.
44038 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
44039 Define fseeko64 as an alias.
44040 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
44041 Define ftello64 as an alias.
44042 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
44043 Define _IO_fgetpos64 and fgetpos64 as aliases.
44044 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
44045 Define _IO_fsetpos64 and fsetpos64 as aliases.
44046 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
44047 Conditionalize body on this.
44048 * libio/fseeko64.c: Likewise.
44049 * libio/ftello64.c: Likewise.
44050 * libio/iofgetpos64.c: Likewise.
44051 * libio/iofsetpos64.c: Likewise.
44052 * sysdeps/wordsize-64/lockf.c: File removed.
44053 * sysdeps/wordsize-64/lockf64.c: File removed.
44054 * sysdeps/wordsize-64/fseeko.c: File removed.
44055 * sysdeps/wordsize-64/fseeko64.c: File removed.
44056 * sysdeps/wordsize-64/ftello.c: File removed.
44057 * sysdeps/wordsize-64/ftello64.c: File removed.
44058 * sysdeps/wordsize-64/iofgetpos.c: File removed.
44059 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
44060 * sysdeps/wordsize-64/iofsetpos.c: File removed.
44061 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
44062 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
44063 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
44064 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
44065 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
44066 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
44067 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
44068 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
44069 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
44070 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
44071 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
44072
44073 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44074 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44075 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
44076 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44077 [defined __arch64__ || defined __sparcv9]
44078 (__OFF_T_MATCHES_OFF64_T): New macro.
44079 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44080 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44081 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44082 (__OFF_T_MATCHES_OFF64_T): New macro.
44083
44084 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
44085
44086 * stdlib/secure-getenv.c (__secure_getenv): Replace
44087 GLIBC_2_16 with GLIBC_2_17.
44088
44089 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
44090
44091 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
44092 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
44093
44094 2012-08-03 David S. Miller <davem@davemloft.net>
44095
44096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44097
44098 2012-08-03 Joseph Myers <joseph@codesourcery.com>
44099
44100 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
44101 Remove.
44102 (__ASSUME_CORRECT_SI_PID): Likewise.
44103 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
44104 (__ASSUME_TMPFS_NAME): Likewise.
44105 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
44106 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
44107 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
44108 (HAVE_AUX_SECURE): Make definition unconditional.
44109 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
44110 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
44111
44112 2012-08-03 Roland McGrath <roland@hack.frob.com>
44113
44114 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
44115 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
44116 * sysdeps/mach/hurd/eloop-threshold.h: New file.
44117 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44118 __eloop_threshold instead of SYMLOOP_MAX.
44119
44120 * sysdeps/generic/eloop-threshold.h: New file.
44121 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
44122 of MAXSYMLINKS.
44123 * elf/chroot_canon.c (chroot_canon): Likewise.
44124
44125 2012-08-03 Joseph Myers <joseph@codesourcery.com>
44126
44127 [BZ #13717]
44128 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44129 Change to 2.6.0 everywhere.
44130 * sysdeps/unix/sysv/linux/configure: Regenerated.
44131 * sysdeps/unix/sysv/linux/kernel-features.h
44132 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
44133 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
44134 kernel versions.
44135 (__ASSUME_POSIX_TIMERS): Define unconditionally.
44136 (__ASSUME_FUTEX_REQUEUE): Remove.
44137 (__ASSUME_STATFS64): Define unconditionally.
44138 (__ASSUME_AT_SECURE): Likewise.
44139 (__ASSUME_CORRECT_SI_PID): Likewise.
44140 (__ASSUME_TGKILL): Define without depending on kernel version for
44141 i386.
44142 (__ASSUME_UTIMES): Likewise.
44143 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
44144 kernel version.
44145 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
44146 (__ASSUME_TMPFS_NAME): Likewise.
44147 * README: Update reference to Linux kernel versions.
44148
44149 2012-08-02 Marek Polacek <polacek@redhat.com>
44150
44151 [BZ# 14150]
44152 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
44153 libc_cv_asm_type_prefix with %.
44154 * configure: Regenerated.
44155 * include/libc-symbols.h: Remove comment about
44156 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44157 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
44158 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
44159 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
44160 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
44161 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44162 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
44163 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
44164 * elf/tst-unique2mod1.c: Likewise.
44165 * elf/tst-unique1mod2.c: Likewise.
44166 * elf/tst-unique1mod1.c: Likewise.
44167 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
44168 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
44169 Replace ASM_TYPE_DIRECTIVE with .type.
44170 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44171 * sysdeps/i386/sysdep.h: Likewise.
44172 * sysdeps/x86_64/sysdep.h: Likewise.
44173 * sysdeps/sh/sysdep.h: Likewise.
44174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44175 Do not define ASM_TYPE_DIRECTIVE.
44176 * sysdeps/powerpc/sysdep.h: Likewise.
44177 * sysdeps/powerpc/powerpc32/sysdep.h:
44178 Replace ASM_TYPE_DIRECTIVE with .type.
44179 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44180 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44181 * sysdeps/i386/fpu/e_powf.S: Likewise.
44182 * sysdeps/i386/fpu/e_expl.S: Likewise.
44183 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44184 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44185 * sysdeps/i386/fpu/e_pow.S: Likewise.
44186 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44187 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44188 * sysdeps/i386/fpu/s_expm1.S: Likewise.
44189 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44190 * sysdeps/i386/fpu/e_log2.S: Likewise.
44191 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44192 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44193 * sysdeps/i386/fpu/e_powl.S: Likewise.
44194 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44195 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44196 * sysdeps/i386/fpu/e_logl.S: Likewise.
44197 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44198 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44199 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44200 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44201 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44202 * sysdeps/i386/fpu/e_log.S: Likewise.
44203 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44204 * sysdeps/i386/fpu/e_logf.S: Likewise.
44205 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44206 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44207 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44208 * sysdeps/i386/fpu/e_log10.S: Likewise.
44209 * sysdeps/i386/fpu/s_frexp.S: Likewise.
44210 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44211 * sysdeps/i386/fpu/s_asinh.S: Likewise.
44212 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44213 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44214 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
44215 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44216 * sysdeps/i386/i686/strtok.S: Likewise.
44217 * sysdeps/i386/i386-mcount.S: Likewise.
44218 * sysdeps/i386/strtok.S: Likewise.
44219 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
44220 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44221 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44222 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44223 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44224 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44225 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44226 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44227 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44228 * sysdeps/x86_64/_mcount.S: Likewise.
44229 * sysdeps/x86_64/strtok.S: Likewise.
44230 * sysdeps/sh/_mcount.S: Likewise.
44231
44232 2012-08-01 Roland McGrath <roland@hack.frob.com>
44233
44234 * libio/iofopen.c: Include <fcntl.h>.
44235 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
44236 (_IO_fopen64, fopen64): Define as aliases.
44237 * libio/iofopen64.c: Include <fcntl.h>.
44238 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
44239 Conditionalize body on this.
44240 * sysdeps/wordsize-64/iofopen.c: File removed.
44241 * sysdeps/wordsize-64/iofopen64.c: File removed.
44242
44243 2012-08-01 Marek Polacek <polacek@redhat.com>
44244
44245 * libc/Makeconfig: Use elf in place of binfmt-subdir.
44246 Use dlfcn directly instead of a variable.
44247 (binfmt-subdir): Do not define.
44248 (dlfcn): Likewise.
44249
44250 2012-08-01 Joseph Myers <joseph@codesourcery.com>
44251
44252 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
44253 Remove all definitions.
44254 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
44255 <kernel-features.h>.
44256 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44257 (miss_F_GETOWN_EX): Remove all definitions.
44258 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
44259 macro definition.
44260 [!__ASSUME_FCNTL64]: Remove conditional code.
44261 [__ASSUME_FCNTL64]: Make code unconditional.
44262 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
44263 <kernel-features.h>.
44264 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44265 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
44266 (lockf64) [__NR_fcntl64]: Make code unconditional.
44267 (lockf64) [__ASSUME_FCNTL64]: Likewise.
44268
44269 * sysdeps/unix/sysv/linux/kernel-features.h
44270 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
44271 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
44272 Make code unconditional.
44273 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44274 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
44276 [__NR_vfork]: Make code unconditional.
44277 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44278 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
44280 [__NR_vfork]: Make code unconditional.
44281 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44282 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44283
44284 2012-08-01 Roland McGrath <roland@hack.frob.com>
44285
44286 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
44287 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
44288
44289 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44290 Define mkstemp64 as an alias.
44291 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44292 Define mkstemps64 as an alias.
44293 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44294 Define mkostemp64 as an alias.
44295 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44296 Define mkostemps64 as an alias.
44297 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
44298 Conditionalize body on this.
44299 * misc/mkostemp64.c: Likewise.
44300 * misc/mkostemps64.c: Likewise.
44301 * misc/mkstemps64.c: Likewise.
44302 * sysdeps/wordsize-64/mkstemp64.c: File removed.
44303 * sysdeps/wordsize-64/mkostemp64.c: File removed.
44304 * sysdeps/wordsize-64/mkostemp.c: File removed.
44305 * sysdeps/wordsize-64/mkstemp.c: File removed.
44306 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
44307 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
44308 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
44309 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
44310
44311 [BZ #14138]
44312 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
44313 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
44314 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
44315 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
44316
44317 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
44318 compat_symbol macros from <shlib-compat.h> rather than the underlying
44319 default_symbol_version and symbol_version macros, so that DEFAULT
44320 lines in shlib-versions are respected.
44321 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
44322
44323 2012-08-01 Florian Weimer <fweimer@redhat.com>
44324
44325 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
44326 Declare with warn_unused_result.
44327 (setgid, setregid, setegid, setresgid): Likewise.
44328 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
44329 Likewise.
44330 * WUR-REPORT: Remove set*id functions.
44331
44332 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
44333
44334 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
44335
44336 2012-07-31 Roland McGrath <roland@hack.frob.com>
44337
44338 [BZ #10191]
44339 * include/sys/socket.h (__libc_accept, __libc_accept4):
44340 Add attribute_hidden.
44341 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
44342
44343 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
44344 use of PTR_MANGLE.
44345 * inet/getnetgrent_r.c (setup): Likewise.
44346
44347 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
44348
44349 2012-07-31 David S. Miller <davem@davemloft.net>
44350
44351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44352
44353 2012-07-31 Joseph Myers <joseph@codesourcery.com>
44354
44355 [BZ #13629]
44356 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
44357 value between 1.0 and 2.0 and smaller part has absolute value less
44358 than 1.0.
44359 * math/s_clog10.c (__clog10): Likewise.
44360 * math/s_clog10f.c (__clog10f): Likewise.
44361 * math/s_clog10l.c (__clog10l): Likewise.
44362 * math/s_clogf.c (__clogf): Likewise.
44363 * math/s_clogl.c (__clogl): Likewise.
44364 * math/libm-test.inc (clog_test): Add more tests.
44365 (clog10_test): Likewise.
44366 * sysdeps/i386/fpu/libm-test-ulps: Update.
44367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44368
44369 2012-07-31 Florian Weimer <fweimer@redhat.com>
44370
44371 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
44372 Exit with zero in case no suitable GID is found, and write a
44373 message to standard error.
44374
44375 2012-07-30 Roland McGrath <roland@hack.frob.com>
44376
44377 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
44378 rather than to 1.
44379 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
44380 (MAXPATHLEN): Removed.
44381 (NOGROUP, NODEV): New macros.
44382 (setbit, clrbit, isset, isclr): New macros.
44383 (howmany, roundup, powerof2): New macros.
44384 (DEV_BSIZE): New macro.
44385
44386 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
44387 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
44388
44389 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
44390 definition on [!__NO_LONG_DOUBLE_MATH].
44391
44392 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
44393 PTR_MANGLE and PTR_DEMANGLE.
44394
44395 * socket/accept4.c (accept4): Rename to __libc_accept4.
44396 Define accept4 as a weak alias.
44397
44398 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
44399 on [_DIRENT_HAVE_D_TYPE].
44400 * io/ftw.c (ftw_dir): Likewise.
44401
44402 * io/xmknod.c (__xmknod): Don't check PATH for being null.
44403
44404 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
44405
44406 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
44407 Use the BSD numbers rather than the arbitrary ones we had.
44408 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
44409 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
44410 (SIGXCPU, SIGXFSZ): New macros.
44411 (_NSIG): Now 32.
44412
44413 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
44414 initializer on [_LIBC_REENTRANT].
44415
44416 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
44417 definitions inside [_POSIX_MAPPED_FILES].
44418
44419 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
44420
44421 * dirent/opendir.c: Include <fcntl.h>.
44422
44423 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
44424 (__libc_getspecific): Likewise.
44425 (__libc_key_create): Likewise.
44426
44427 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
44428 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
44429 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
44430 (tmpfile64): Define as alias.
44431 * sysdeps/wordsize-64/tmpfile.c: File removed.
44432 * sysdeps/wordsize-64/tmpfile64.c: File removed.
44433 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
44434 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
44435
44436 * stdio-common/vfscanf.c: Include <stdbool.h>.
44437 * nss/makedb.c: Likewise.
44438 * stdio-common/_i18n_number.h: Likewise.
44439 * argp/argp-help.c: Likewise.
44440 * posix/wordexp.c: Likewise.
44441 * sysdeps/posix/spawni.c: Likewise.
44442 * nss/nss_files/files-initgroups.c: Likewise.
44443 * stdio-common/reg-modifier.c: Include <stdlib.h>.
44444 * nss/nss_files/files-initgroups.c: Likewise.
44445 * nss/nss_db/db-netgrp.c: Likewise.
44446 * nss/nss_db/db-initgroups.c: Likewise.
44447 * io/fchmodat.c: Include <sys/stat.h>.
44448
44449 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
44450 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
44451
44452 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
44453 [HAVE_MMAP].
44454
44455 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
44456 Add multiple inclusion protection.
44457
44458 2012-07-27 David S. Miller <davem@davemloft.net>
44459
44460 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44461
44462 2012-07-27 Gary Benson <gbenson@redhat.com>
44463
44464 [BZ #14298]
44465 * elf/rtld.c: Include <stap-probe.h>.
44466 (dl_main): Added static probes "init_start" and "init_complete".
44467 * elf/dl-load.c: Include <stap-probe.h>.
44468 (lose): Take new parameter "nsid".
44469 Added static probe "map_failed".
44470 (_dl_map_object_from_fd): Pass namespace id to lose.
44471 Added static probe "map_start".
44472 (open_verify): Pass namespace id to lose.
44473 * elf/dl-open.c: Include <stap-probe.h>.
44474 (dl_open_worker) Added static probes "map_complete", "reloc_start"
44475 and "reloc_complete".
44476 * elf/dl-close.c: Include <stap-probe.h>.
44477 (_dl_close_worker): Added static probes "unmap_start" and
44478 "unmap_complete".
44479 * elf/rtld-debugger-interface.txt: New file documenting the above.
44480
44481 2012-07-26 Roland McGrath <roland@hack.frob.com>
44482
44483 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
44484 rather than a string variable.
44485 * sunrpc/rpc_main.c (h_output): Likewise.
44486 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
44487
44488 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
44489
44490 * inet/check_native.c: New file.
44491
44492 2012-07-26 Joseph Myers <joseph@codesourcery.com>
44493
44494 [BZ #13629]
44495 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
44496 if larger part has absolute value 1.0.
44497 * math/s_clog10.c (__clog10): Likewise.
44498 * math/s_clog10f.c (__clog10f): Likewise.
44499 * math/s_clog10l.c (__clog10l): Likewise.
44500 * math/s_clogf.c (__clogf): Likewise.
44501 * math/s_clogl.c (__clogl): Likewise.
44502 * math/libm-test.inc (clog_test): Add more tests.
44503 (clog10_test): Likewise.
44504 * sysdeps/i386/fpu/libm-test-ulps: Update.
44505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44506
44507 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
44508 (pltexit): Likewise.
44509 (La_regs): Likewise.
44510 (La_retval): Likewise.
44511 (int_retval): Likewise.
44512 Update #error for removed macros to refer only to definitions in
44513 tst-audit.h.
44514 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
44515 macro.
44516 (pltexit): Likewise.
44517 (La_regs): Likewise.
44518 (La_retval): Likewise.
44519 (int_retval): Likewise.
44520 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
44521 macro.
44522 (pltexit): Likewise.
44523 (La_regs): Likewise.
44524 (La_retval): Likewise.
44525 (int_retval): Likewise.
44526 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
44527 macro.
44528 (pltexit): Likewise.
44529 (La_regs): Likewise.
44530 (La_retval): Likewise.
44531 (int_retval): Likewise.
44532 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
44533 macro.
44534 (pltexit): Likewise.
44535 (La_regs): Likewise.
44536 (La_retval): Likewise.
44537 (int_retval): Likewise.
44538 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
44539 macro.
44540 (pltexit): Likewise.
44541 (La_regs): Likewise.
44542 (La_retval): Likewise.
44543 (int_retval): Likewise.
44544 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
44545 macro.
44546 (pltexit): Likewise.
44547 (La_regs): Likewise.
44548 (La_retval): Likewise.
44549 (int_retval): Likewise.
44550 * sysdeps/generic/tst-audit.h: Update comment to refer only to
44551 macro definitions in tst-audit.h.
44552 * sysdeps/i386/tst-audit.h: New file.
44553 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
44554 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
44555 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
44556 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
44557 * sysdeps/sh/tst-audit.h: Likewise.
44558 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
44559 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
44560 * sysdeps/x86_64/tst-audit.h: Likewise.
44561
44562 2012-07-26 Andreas Jaeger <aj@suse.de>
44563
44564 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
44565 ptrace.
44566
44567 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
44568 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
44569 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
44570 PTRACE_O_MASK.
44571 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
44572 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
44573 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
44574
44575 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
44576 value.
44577
44578 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
44579 _sigsys.
44580 (si_call_addr, si_syscall, si_arch): Define new macro.
44581 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
44582 _sigsys.
44583 (si_call_addr, si_syscall, si_arch): Define new marcro.
44584 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
44585 _sigsys.
44586 (si_call_addr, si_syscall, si_arch): Define new macro.
44587 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
44588 _sigsys.
44589 (si_call_addr, si_syscall, si_arch): Define new macro.
44590
44591 2012-07-25 Joseph Myers <joseph@codesourcery.com>
44592
44593 [BZ #13717]
44594 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44595 Change to 2.4.21 where previously 2.4.1.
44596 * sysdeps/unix/sysv/linux/configure: Regenerated.
44597 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
44598 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
44599 Linux kernel version.
44600 (__ASSUME_STD_AUXV): Remove.
44601 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
44602 kernel version.
44603 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
44604 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
44605 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
44606 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
44607 (__ASSUME_NETLINK_SUPPORT): Likewise.
44608 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
44609 (__no_netlink_support): Remove conditional definition.
44610 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
44611 Remove.
44612 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44613 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
44614 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
44615 (if_nameindex_ioctl): Remove.
44616 (if_nameindex_netlink): Do not handle __no_netlink_support.
44617 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44618 code.
44619 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
44620 Remove conditional code.
44621 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44622 code.
44623 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
44624 unconditional.
44625 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44626 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
44627 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
44628 Remove.
44629 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
44630 [!__ASSUME_STD_AUXV]: Remove conditional code.
44631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
44632 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
44633 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
44634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
44635 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
44636 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44637 code.
44638 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44640 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
44641 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44642 conditional code.
44643 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
44645 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44646 code.
44647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44648 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44649 conditional code.
44650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
44651 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44652 code unconditional.
44653 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44654 conditional code.
44655 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44656 unconditional.
44657 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44658 conditional code.
44659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44660 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44661 unconditional.
44662 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44663 conditional code.
44664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
44665 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44666 code unconditional.
44667 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44668 conditional code.
44669 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44670 unconditional.
44671 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44672 conditional code.
44673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
44674 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44675 code unconditional.
44676 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44677 conditional code.
44678 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44679 unconditional.
44680 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44681 conditional code.
44682
44683 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
44684
44685 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
44686 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
44687 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
44688 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
44689 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
44690 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
44691 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
44692 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
44693 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
44694 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
44695 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
44696 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
44697 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
44698 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
44699 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
44700 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
44701 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
44702 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
44703 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
44704 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
44705 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
44706 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
44707 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
44708
44709 2012-07-25 Florian Weimer <fweimer@redhat.com>
44710
44711 * Versions.def: Add GLIBC_2.17.
44712 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
44713 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
44714 Introduce __libc_secure_getenv.
44715 * stdlib/Versions (2.17): Add secure_getenv
44716 (GLIBC_PRIVATE): Add __libc_secure_getenv.
44717 * stdlib/secure-getenv.c: Rename __secure_getenv to
44718 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
44719 symbol __secure_getenv for GLIBC_2.0.
44720 * stdlib/tst-secure-getenv.c: New.
44721 * stdlib/Makefile (tests): Add testcase.
44722 * manual/startup.texi (Environment Access): Document
44723 secure_getenv.
44724 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
44725 __libc_secure_getenv.
44726 * inet/ruserpass.c (ruserpass): Likewise.
44727 * malloc/mtrace.c (mtrace): Likewise.
44728 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
44729 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
44730 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
44731 * sysdeps/posix/tempname.c: Likewise. Evaluate
44732 HAVE_SECURE_GETENV.
44733 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
44734 __secure_getenv to __libc_secure_getenv.
44735 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
44736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44737 Likewise.
44738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44739 Likewise.
44740 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
44741 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
44742 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44743 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
44744 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
44745 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44746 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
44747
44748 2012-07-25 Joseph Myers <joseph@codesourcery.com>
44749
44750 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
44751 (struct La_i86_retval): Likewise.
44752 (struct La_x86_64_regs): Likewise.
44753 (struct La_x86_64_retval): Likewise.
44754 (struct La_x32_regs): Likewise.
44755 (struct La_x32_retval): Likewise.
44756 (struct La_ppc32_regs): Likewise.
44757 (struct La_ppc32_retval): Likewise.
44758 (struct La_ppc64_regs): Likewise.
44759 (struct La_ppc64_retval): Likewise.
44760 (struct La_sh_regs): Likewise.
44761 (struct La_sh_retval): Likewise.
44762 (struct La_s390_32_regs): Likewise.
44763 (struct La_s390_32_retval): Likewise.
44764 (struct La_s390_64_regs): Likewise.
44765 (struct La_s390_64_retval): Likewise.
44766 (struct La_sparc32_regs): Likewise.
44767 (struct La_sparc32_retval): Likewise.
44768 (struct La_sparc64_regs): Likewise.
44769 (struct La_sparc64_retval): Likewise.
44770 (struct audit_ifaces): Remove architecture-specific pltenter and
44771 pltexit members.
44772 * sysdeps/i386/ldsodefs.h: New file.
44773 * sysdeps/powerpc/ldsodefs.h: Likewise.
44774 * sysdeps/s390/ldsodefs.h: Likewise.
44775 * sysdeps/sh/ldsodefs.h: Likewise.
44776 * sysdeps/sparc/ldsodefs.h: Likewise.
44777 * sysdeps/x86_64/ldsodefs.h: Likewise.
44778
44779 2012-07-25 Marek Polacek <polacek@redhat.com>
44780
44781 [BZ #6808]
44782 * math/libm-test.inc (yn_test): Add another test.
44783 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
44784 to ERANGE when the result is +-Inf.
44785 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44786 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
44787 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
44788 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
44789
44790 2012-07-24 Joseph Myers <joseph@codesourcery.com>
44791
44792 * conform/data/time.h-data (NULL): Use macro-constant. Require
44793 equal to 0.
44794 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
44795 clock_t.
44796 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
44797
44798 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
44799
44800 * configure.in <sysdeps resolving>: Correct printing
44801 Implies_before.
44802 * configure: Regenerate.
44803
44804 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
44805
44806 * math/w_ilogb.c: Include <limits.h>.
44807 * math/w_ilogbl.c: Likewise.
44808
44809 2012-07-20 Joseph Myers <joseph@codesourcery.com>
44810
44811 * manual/lang.texi (__va_copy): Document primarily as ISO C99
44812 va_copy. Document allowing for unavailable va_copy only as
44813 pre-C99 compatibility.
44814 * manual/string.texi (Copying and Concatenation): Use va_copy
44815 instead of __va_copy in concat example.
44816
44817 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
44818
44819 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
44820 (__sendto): Use create_address_port. Initialize APORT and deallocate
44821 it if not null.
44822
44823 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
44824 with O_NOLINK passed to __file_name_lookup.
44825
44826 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
44827 with O_NOLINK passed to __file_name_lookup.
44828
44829 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
44830 negative N or less than NGIDS.
44831
44832 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
44833 type to string_t. Set ERANGE as errno and return it if NAME is not big
44834 enough. Use memcpy instead of strncpy.
44835
44836 2012-07-20 Joseph Myers <joseph@codesourcery.com>
44837
44838 * elf/Makefile (check-data): Remove.
44839 (localplt.data): New vpath directive.
44840 ($(objpfx)check-localplt.out): Use localplt.data from vpath
44841 instead of $(check-data).
44842 * scripts/data/localplt-generic.data: Move to ...
44843 * sysdeps/generic/localplt.data: ... here.
44844 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
44845 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
44846 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
44847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
44848 ... here.
44849 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
44850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
44851 ... here.
44852 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
44853 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
44854 ... here.
44855 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
44856 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
44857 ... here.
44858 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
44859 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
44860 ... here.
44861 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
44862 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
44863 ... here.
44864
44865 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44866
44867 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
44868 PPC32 and PPC64 files.
44869 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
44870 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
44871
44872 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44873
44874 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
44875 __makecontext_ret to ...
44876 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
44877 ... here and call exit if uc_link is NULL. New file.
44878 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
44879 __makecontext_ret.S.
44880 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
44881 __makecontext_ret to ...
44882 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
44883 ... here and call exit if uc_link is NULL. New file.
44884 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
44885 __makecontext_ret.S.
44886
44887 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44888
44889 * elf/elf.h (R_390_IRELATIVE): New definition.
44890 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
44891 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
44892 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
44893 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
44894 (elf_machine_lazy_rel): Likewise.
44895 * sysdeps/s390/dl-irel.h: New file.
44896 * sysdeps/s390/s390-64/memcpy.S: New asm code.
44897 * sysdeps/s390/s390-64/memset.S: New asm code.
44898 * sysdeps/s390/s390-64/memcmp.S: New asm code.
44899 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
44900 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
44901 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
44902 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
44903 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
44904 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
44905 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
44906 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
44907 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
44908 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
44909 * sysdeps/s390/s390-32/memcpy.S: New asm code.
44910 * sysdeps/s390/s390-32/memset.S: New asm code.
44911 * sysdeps/s390/s390-32/memcmp.S: New asm code.
44912
44913 2012-07-17 Marek Polacek <polacek@redhat.com>
44914
44915 [BZ #14349]
44916 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
44917 * sysdeps/s390/s390-64/configure.in: Likewise.
44918 * sysdeps/sparc/configure.in: Likewise.
44919 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
44920 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
44921 * sysdeps/i386/configure.in: Likewise.
44922 * sysdeps/x86_64/configure.in: Likewise.
44923 * sysdeps/sh/configure.in: Likewise.
44924 * sysdeps/s390/s390-32/configure: Regenerated.
44925 * sysdeps/s390/s390-64/configure: Likewise.
44926 * sysdeps/x86_64/configure: Likewise.
44927 * sysdeps/sh/configure: Likewise.
44928 * sysdeps/powerpc/powerpc64/configure: Likewise.
44929 * sysdeps/powerpc/powerpc32/configure: Likewise.
44930 * sysdeps/sparc/configure: Likwise.
44931 * sysdeps/i386/configure: Likewise.
44932
44933 * elf/dl-open.c: Comment fixes.
44934
44935 2012-07-17 Joseph Myers <joseph@codesourcery.com>
44936
44937 * Makefile [CXX] (check-data): Remove.
44938 [CXX] (c++-types.data): New vpath directive.
44939 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
44940 vpath. Do not allow for C++ type data being missing.
44941 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
44942 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
44943 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
44944 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
44945 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
44946 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
44947 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
44948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
44949 ... here.
44950 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
44951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
44952 ... here.
44953 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
44954 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
44955 ... here.
44956 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
44957 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
44958 ... here.
44959 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
44960 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
44961 ... here.
44962 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
44963 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
44964 ... here.
44965 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
44966 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
44967 ... here.
44968 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
44969 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
44970
44971 * elf/tls-macros.h (TLS_LE): Move architecture-specific
44972 definitions to architecture-specific files.
44973 (TLS_IE): Likewise.
44974 (TLS_LD): Likewise.
44975 (TLS_GD): Likewise.
44976 * sysdeps/i386/tls-macros.h: New file.
44977 * sysdeps/powerpc/tls-macros.h: Likewise.
44978 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
44979 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
44980 * sysdeps/sh/tls-macros.h: Likewise.
44981 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
44982 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
44983 * sysdeps/x86_64/tls-macros.h: Likewise.
44984
44985 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
44986
44987 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
44988 zero value for regular exit case.
44989
44990 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
44991 (__start_context): Preserve zero value for regular exit case.
44992
44993 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
44994 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44995
44996 * manual/setjmp.texi (setcontext): Clarify normal process
44997 termination when uc_link is the null pointer.
44998 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
44999 exit call.
45000
45001 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
45002
45003 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
45004 preprocessor. Test for each exception mask separately.
45005
45006 2012-07-16 Andreas Jaeger <aj@suse.de>
45007
45008 * po/ru.po: Update from translation team.
45009
45010 2012-07-15 Joseph Myers <joseph@codesourcery.com>
45011
45012 * conform/data/string.h-data (NULL): Use macro-constant. Require
45013 equal to 0.
45014 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
45015 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
45016 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
45017 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
45018 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45019
45020 2012-07-13 Andreas Jaeger <aj@suse.de>
45021
45022 * po/fr.po: Update from translation team.
45023
45024 2012-07-12 Marek Polacek <polacek@redhat.com>
45025
45026 [BZ #14173]
45027 * math/libm-test.inc (yn_test): Add test for BZ #14173.
45028 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
45029 loop condition.
45030
45031 2012-07-12 Joseph Myers <joseph@codesourcery.com>
45032
45033 [BZ #13717]
45034 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45035 Change to 2.4.1 where previously 2.4.0.
45036 * sysdeps/unix/sysv/linux/configure: Regenerated.
45037 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
45038 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
45039 version.
45040 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
45041 (__ASSUME_AT_CLKTCK): Remove.
45042 (__ASSUME_AT_PAGESIZE): Likewise.
45043 (__ASSUME_AT_XID): Likewise.
45044 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
45045 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
45046 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
45047 unconditionally.
45048 (HAVE_AUX_PAGESIZE): Likewise.
45049 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
45050 [__ASSUME_AT_CLKTCK]: Make code unconditional.
45051 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
45052
45053 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
45054
45055 [BZ #14307]
45056 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
45057 the temporary buffer used to invoke __gethostbyname2_r,
45058 __gethostbyaddr_r and gethostbyname4_r to make room for struct
45059 host_data / struct gaih_addrtuple.
45060 * resolv/nss_dns/dns-host.c (global scope): Move definition of
45061 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
45062 header file nss/nsswitch.h.
45063 * nss/nsswitch.h (global scope): Add definition of implementation
45064 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
45065 resolv/nss_dns/dns-host.c).
45066
45067 2012-07-11 Andreas Jaeger <aj@suse.de>
45068
45069 * po/fr.po: Update from translation team.
45070
45071 * po/sv.po: Update from translation team
45072 * po/fr.po: Another update from translation team.
45073
45074 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45075
45076 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
45077 for subnormals or multiply small sinh result by itself.
45078 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45079 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45080
45081 2012-07-11 David S. Miller <davem@davemloft.net>
45082
45083 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45084
45085 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
45086
45087 [BZ #14347]
45088 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
45089 (INTERNAL_MARK): Shift it here.
45090
45091 2012-07-10 Marek Polacek <polacek@redhat.com>
45092
45093 [BZ #14151]
45094 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
45095 libc_cv_asm_global_directive with .globl.
45096 * configure: Regenerated.
45097 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
45098 with .globl.
45099 * sysdeps/i386/configure: Regenerated.
45100 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
45101 with .globl.
45102 * sysdeps/x86_64/configure: Regenerated.
45103 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
45104 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
45105 * elf/tst-unique2mod2.c: Likewise.
45106 * elf/tst-unique2mod1.c: Likewise.
45107 * elf/tst-unique1mod2.c: Likewise.
45108 * elf/tst-unique1mod1.c: Likewise.
45109 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45110 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45111 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45112 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45113 * sysdeps/mach/sysdep.h: Likewise.
45114 * sysdeps/i386/sysdep.h: Likewise.
45115 * sysdeps/i386/i386-mcount.S: Likewise.
45116 * sysdeps/x86_64/_mcount.S: Likewise.
45117 * sysdeps/x86_64/sysdep.h: Likewise.
45118 * sysdeps/sh/_mcount.S: Likewise.
45119 * sysdeps/sh/sysdep.h: Likewise.
45120 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
45121 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
45122 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
45123 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45124 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
45125 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
45126 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
45127 * locale/localeinfo.h: Likewise.
45128 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
45129 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
45130
45131 2012-07-09 Roland McGrath <roland@hack.frob.com>
45132
45133 [BZ #14336]
45134 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
45135 system".
45136 * manual/message.texi (The Uniforum approach): Likewise.
45137 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
45138 (glibc iconv Implementation): Likewise.
45139
45140 2012-07-09 Joseph Myers <joseph@codesourcery.com>
45141
45142 [BZ #14337]
45143 * math/s_clog.c (__clog): Avoid scaling a value down where that
45144 could result in underflow.
45145 * math/s_clog10.c (__clog10): Likewise.
45146 * math/s_clog10f.c (__clog10f): Likewise.
45147 * math/s_clog10l.c (__clog10l): Likewise.
45148 * math/s_clogf.c (__clogf): Likewise.
45149 * math/s_clogl.c (__clogl): Likewise.
45150 * math/libm-test.inc (clog_test): Add more tests.
45151 (clog10_test): Likewise.
45152 * sysdeps/i386/fpu/libm-test-ulps: Update.
45153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45154
45155 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
45156
45157 [BZ #14283]
45158 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
45159 by 7 not 8 to examine high bit of fractional part.
45160
45161 [BZ #14042]
45162 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
45163 for call to __mcount_internal.
45164 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
45165 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
45166 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
45167
45168 2012-07-06 Joseph Myers <joseph@codesourcery.com>
45169
45170 [BZ #14154]
45171 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
45172 approximation for values within 0x1p-13f of an odd multiple of
45173 pi/4.
45174 * math/libm-test.inc (tan_test): Do not allow spurious underflow
45175 exception. Add more tests.
45176 * sysdeps/i386/fpu/libm-test-ulps: Update.
45177
45178 [BZ #6778]
45179 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
45180 inputs and return -1 for them. Do not check for +Inf in case not
45181 reachable for +Inf.
45182 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
45183 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
45184 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45185 and return -1 for them. Do not check for +Inf in case not
45186 reachable for +Inf.
45187 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
45188 define.
45189 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45190 and return -1 for them. Do not check for +Inf in case not
45191 reachable for +Inf.
45192 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
45193 spurious underflow.
45194 * sysdeps/i386/fpu/libm-test-ulps: Update.
45195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45196
45197 2012-07-06 Mike Frysinger <vapier@gentoo.org>
45198
45199 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
45200
45201 2012-07-05 Joseph Myers <joseph@codesourcery.com>
45202
45203 [BZ #14157]
45204 [BZ #14331]
45205 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
45206 could result in spurious underflow. Scale down values above
45207 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
45208 * math/s_csqrtf.c (__csqrtf): Likewise.
45209 * math/s_csqrtl.c (__csqrtl): Likewise.
45210 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
45211 spurious underflow.
45212 * sysdeps/i386/fpu/libm-test-ulps: Update.
45213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45214
45215 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
45216
45217 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
45218 xopen-msg.sed.
45219 * catgets/xopen-msg.awk: New file.
45220 * catgets/xopen-msg.sed: Removed.
45221
45222 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
45223 po2text.sed.
45224 * intl/po2test.awk: New file.
45225 * intl/po2test.sed: Removed.
45226
45227 2012-07-04 Joseph Myers <joseph@codesourcery.com>
45228
45229 [BZ #14328]
45230 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
45231 or multiply small sinh result by itself.
45232 * math/s_ctanf.c (__ctanf): Likewise.
45233 * math/s_ctanh.c (__ctanh): Likewise.
45234 * math/s_ctanhf.c (__ctanhf): Likewise.
45235 * math/s_ctanhl.c (__ctanhl): Likewise.
45236 * math/s_ctanl.c (__ctanl): Likewise.
45237 * math/libm-test.inc (ctan_test_tonearest): New function.
45238 (ctan_test_towardzero): Likewise.
45239 (ctan_test_downward): Likewise.
45240 (ctan_test_upward): Likewise.
45241 (ctanh_test_tonearest): Likewise.
45242 (ctanh_test_towardzero): Likewise.
45243 (ctanh_test_downward): Likewise.
45244 (ctanh_test_upward): Likewise.
45245 (main): Call these new functions.
45246 * sysdeps/i386/fpu/libm-test-ulps: Update.
45247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45248
45249 2012-07-03 Mike Frysinger <vapier@gentoo.org>
45250
45251 * .gitignore: Delete /ports entry.
45252
45253 2012-07-03 Andreas Jaeger <aj@suse.de>
45254
45255 * po/bg.po: Update from translation team.
45256 * po/cs.po: Likewise.
45257 * po/de.po: Likewise.
45258 * po/hr.po: Likewise.
45259 * po/nl.pl: Likewise.
45260 * po/pl.po: Likewise.
45261 * po/vi.po: Likewise.
45262
45263 2012-07-03 Joseph Myers <joseph@codesourcery.com>
45264
45265 * Makeconfig [!+link] (+link-before-libc): New variable.
45266 [!+link] (+link-after-libc): Likewise.
45267 [!+link] (+link-tests): Likewise.
45268 [!+link] (+link): Define in terms of $(+link-before-libc) and
45269 $(+link-after-libc).
45270 [!+link-static] (+link-static-before-libc): New variable.
45271 [!+link-static] (+link-static-after-libc): Likewise.
45272 [!+link-static] (+link-static-tests): Likewise.
45273 [!+link-static] (+link-static): Define in terms of
45274 $(+link-static-before-libc) and $(+link-static-after-libc).
45275 [build-shared] (link-libc-before-gnulib): New variable.
45276 [build-shared] (link-libc-tests): Likewise.
45277 [build-shared] (link-libc): Define in terms of
45278 $(link-libc-before-gnulib).
45279 [!build-shared] (link-libc-tests): New variable.
45280 (link-libc-static-tests): New variable.
45281 [!gnulib] (gnulib-arch): New variable.
45282 [!gnulib] (gnulib-tests): Likewise.
45283 [!gnulib] (static-gnulib-arch): Likewise.
45284 [!gnulib] (static-gnulib-tests): Likewise.
45285 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
45286 Define with "=" instead of ":=".
45287 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
45288 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
45289 * Rules (binaries-all-notests): New variable.
45290 (binaries-all-tests): Likewise.
45291 (binaries-static-notests): Likewise.
45292 (binaries-static-tests): Likewise.
45293 (binaries-all): Define using $(binaries-all-notests) and
45294 $(binaries-all-tests).
45295 (binaries-static): Define using $(binaries-static-notests) and
45296 $(binaries-static-tests).
45297 (binaries-shared-tests): New variable.
45298 (binaries-shared-notests): Likewise.
45299 (binaries-shared): Remove variable.
45300 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
45301 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
45302 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
45303 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
45304 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
45305 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
45306 * elf/Makefile (sln-modules): New variable.
45307 (extra-objs): Add $(sln-modules:=.o).
45308 (ldconfig-modules): Add static-stubs.
45309 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
45310 * elf/static-stubs.c: New file.
45311
45312 [BZ #14283]
45313 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
45314 by 7 not 8 to examine high bit of fractional part. Use volatile
45315 variables when splitting into final array of floats if
45316 __FLT_EVAL_METHOD__ != 0.
45317 * math/libm-test.inc (cos_test): Add another test.
45318 (sin_test): Likewise.
45319 * sysdeps/i386/fpu/libm-test-ulps: Update.
45320
45321 [BZ #14273]
45322 * math/libm-test.inc (cosh_test): Add more tests.
45323
45324 * version.h (RELEASE): Set to "development".
45325 (VERSION): Set to "2.16.90".
45326
45327 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
45328
45329 * NEWS: Update copyright. Remove last-updated date.
45330 Mention math library bug fixes and timezone data changes.
45331 * README: Mention GNU/Hurd, x32, and HPPA support status.
45332
45333 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
45334
45335 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
45336
45337 2012-06-27 Andreas Jaeger <aj@suse.de>
45338
45339 * manual/contrib.texi (Contributors): Add Samuel Thibault.
45340
45341 2012-06-25 Andreas Jaeger <aj@suse.de>
45342
45343 * sysdeps/s390/fpu/libm-test-ulps: Update.
45344
45345 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
45346 Thomas Schwinge <thomas@codesourcery.com>
45347
45348 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
45349 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
45350 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
45351 fanotify_mark.
45352
45353 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
45354
45355 * sysdeps/mach/start.c: Remove file.
45356 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
45357 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
45358 * sysdeps/sh/init-first.c: Likewise.
45359
45360 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
45361 registers for frame unwinding purposes, add CFI directives.
45362 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45363 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
45364 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
45365 Likewise.
45366
45367 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
45368 __fortify_fail returning.
45369 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45370
45371 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
45372 sysdeps/sh/____longjmp_chk.S.
45373 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
45374 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
45375 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
45376 (gen-as-const-headers): Append sigaltstack-offsets.sym.
45377
45378 * sysdeps/sh/abort-instr.h: New file.
45379 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
45380 process in case exit returns.
45381
45382 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
45383 initialize the GOT register before use.
45384
45385 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
45386 calculation of ARGC > 4.
45387
45388 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
45389 meaningful names to some local labels.
45390
45391 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45392 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45393
45394 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
45395 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
45396 (__arch_compare_and_exchange_val_16_acq): Likewise.
45397 (__arch_compare_and_exchange_val_32_acq): Likewise.
45398 (atomic_exchange_and_add): Fix gUSA sequence.
45399 (atomic_add): Likewise.
45400 (atomic_add_negative): Likewise.
45401 (atomic_add_zero): Likewise.
45402 (atomic_bit_test_set): Likewise.
45403
45404 2012-06-22 Andreas Schwab <schwab@redhat.com>
45405
45406 [BZ #13579]
45407 * include/link.h (struct link_map): Add l_free_initfini.
45408 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
45409 l_initfini.
45410 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
45411 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
45412 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
45413 set.
45414
45415 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
45416
45417 * configure.in: Use AC_LANG_SOURCE.
45418 * configure: Regenerate.
45419
45420 2012-06-22 Roland McGrath <roland@hack.frob.com>
45421
45422 * configure.in (libc_cv_localstatedir): New substituted variable.
45423 * configure: Regenerated.
45424 * config.make.in (localstatedir): New variable, substituted from
45425 libc_cv_localstatedir.
45426 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
45427 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
45428 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
45429 * sysdeps/gnu/configure: Regenerated.
45430
45431 2012-06-21 Jeff Law <law@redhat.com>
45432
45433 [BZ #14277]
45434 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
45435 free. Simplify list management for _LIBC case.
45436
45437 2012-06-21 Joseph Myers <joseph@codesourcery.com>
45438
45439 [BZ #14273]
45440 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
45441 Clear sign bit of 64-bit integer value before comparing against
45442 overflow value.
45443
45444 * sysdeps/mach/configure: Regenerated.
45445
45446 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
45447
45448 [BZ #14278]
45449 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
45450
45451 2012-06-21 Jeff Law <law@redhat.com>
45452
45453 [BZ #13882]
45454 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
45455 uint16_t for elements in the "seen" array to avoid char overflows.
45456 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45457 * elf/dl-open.c (dl_open_worker): Likewise.
45458
45459 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
45460
45461 * scripts/list-sources.sh: Scan PORTS for translations.
45462 * po/libc.pot: Regenerated.
45463
45464 2012-06-21 Andreas Jaeger <aj@suse.de>
45465
45466 [BZ #12194]
45467 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
45468 warning.
45469 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
45470 * bits/byteswap-16.h (__bswap_16): Likewise.
45471 * bits/byteswap.h (__bswap_constant_16): Likewise.
45472
45473 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
45474
45475 [BZ #14117]
45476 * sysdeps/i386/fpu_control.h: Removed.
45477 * sysdeps/x86_64/fpu_control.h: Moved to ...
45478 * sysdeps/x86/fpu_control.h: Here.
45479
45480 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
45481 (_FPU_SETCW): Likewise.
45482
45483 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
45484
45485 [BZ #14117]
45486 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
45487 * sysdeps/x86/fpu/bits/mathinline.h: This.
45488 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
45489
45490 [BZ #14050]
45491 [BZ #14117]
45492 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
45493 functions if __x86_64__ is defined.
45494
45495 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
45496
45497 * string/endian.h: Add !__ASSEMBLER__ condition for including
45498 conversion interfaces.
45499
45500 2012-06-15 Joseph Myers <joseph@codesourcery.com>
45501
45502 [BZ #14241]
45503 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
45504 of ABS(x) in calculating zero to negative powers other than odd
45505 integers.
45506 * math/libm-test.inc (pow_test): Add more tests.
45507
45508 2012-06-15 Andreas Jaeger <aj@suse.de>
45509
45510 * manual/contrib.texi (Contributors): Update entry of Liubov
45511 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
45512 Machado Filho.
45513
45514 2012-06-15 Cyril Hrubis <metan@ucw.cz>
45515
45516 * string/string.h: Add __wur to GNU version of strerror_r.
45517
45518 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
45519
45520 [BZ #14229]
45521 * string/Makefile (tests): Add tst-strtok_r.
45522 * string/tst-strtok_r.c: New file.
45523 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
45524 RAX_LP/RDX_LP on SAVE_PTR.
45525
45526 2012-06-14 Roland McGrath <roland@hack.frob.com>
45527
45528 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
45529
45530 2012-06-14 Joseph Myers <joseph@codesourcery.com>
45531
45532 * libm_test.inc (csqrt_test): Allow more spurious underflow
45533 exceptions.
45534 (j0_test): Likewise.
45535 (j1_test): Likewise.
45536 (y0_test): Likewise.
45537 (y1_test): Likewise.
45538
45539 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
45540
45541 * po/Makefile (libc.pot): Use UTF-8 charset.
45542
45543 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
45544
45545 [BZ #14210]
45546 Suppress sign-conversion warning from FD_SET.
45547 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
45548 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
45549 not unsigned long int.
45550 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
45551
45552 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
45553
45554 [BZ #14050]
45555 [BZ #14117]
45556 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
45557 __extern_always_inline instead of __extern_inline.
45558 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
45559 (__signbit): Likewise.
45560 (__signbitl): Support C++ namespace.
45561 (lrintf): New inline function.
45562 (lrint): Likewise.
45563 (llrintf): Likewise.
45564 (llrint): Likewise.
45565 (fmaxf): Likewise.
45566 (fmax): Likewise.
45567 (fminf): Likewise.
45568 (fmin): Likewise.
45569 (rint): Likewise.
45570 (rintf): Likewise.
45571 (ceil): Likewise.
45572 (ceilf): Likewise.
45573 (floor): Likewise.
45574 (floorf): Likewise.
45575 (nearbyint): Likewise.
45576 (nearbyintf): Likewise.
45577
45578 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
45579
45580 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
45581 non-default versions.
45582
45583 2012-06-11 Roland McGrath <roland@hack.frob.com>
45584
45585 [BZ #14218]
45586 * manual/argp.texi (Argp): Reword argp_parse description slightly.
45587
45588 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
45589
45590 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
45591 (FE_UPWARD, FE_DOWNWARD): Don't define.
45592 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
45593 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45594
45595 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
45596 reading it.
45597 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45598 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45599
45600 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45601
45602 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45603 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
45604 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
45605 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
45606
45607 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
45608
45609 [BZ #14117]
45610 * sysdeps/i386/fpu/bits/fenv.h: Removed.
45611 * sysdeps/i386/fpu/Implies: New file.
45612 * sysdeps/x86_64/fpu/Implies: Likewise.
45613 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
45614 * sysdeps/x86/fpu/bits/fenv.h: This.
45615
45616 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
45617 __SSE_MATH__.
45618
45619 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
45620
45621 [BZ #14134]
45622 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
45623 character 0xffff that matches the last element of the
45624 conversion table.
45625
45626 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45627
45628 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
45629 fmodl commit.
45630
45631 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45632
45633 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
45634 values higher than 25.6283.
45635
45636 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45637
45638 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
45639 subnormal exponent extraction and add some __builtin_expect.
45640 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
45641 Fix for subnormal mantissa calculation.
45642
45643 2012-06-04 Mike Frysinger <vapier@gentoo.org>
45644
45645 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
45646 cpu2 is -1 and errno is not ENOSYS.
45647
45648 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
45649
45650 [BZ #14117]
45651 * sysdeps/i386/i486/bits/string.h: Renamed to ...
45652 * sysdeps/x86/bits/string.h: This.
45653 * sysdeps/x86_64/bits/string.h: Removed.
45654
45655 * sysdeps/i386/i486/bits/string.h: Define inline functions only
45656 if not compiling for x86-64, but compiling for >= i486.
45657
45658 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
45659 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
45660
45661 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
45662 New macro from Linux kernel 3.4.0.
45663 (FP_XSTATE_MAGIC2): Likewise.
45664 (FP_XSTATE_MAGIC2_SIZE): Likewise.
45665 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
45666 (struct _fpx_sw_bytes): New struct.
45667 (struct _xsave_hdr): Likewise.
45668 (struct _ymmh_state): Likewise.
45669 (struct _xstate): Likewise.
45670
45671 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
45672 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
45673 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
45674 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
45675 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
45676 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
45677
45678 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
45679 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
45680 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
45681 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
45682 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
45683 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
45684
45685 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45686
45687 [BZ #13743]
45688 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
45689 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
45690 (sysdep_headers): Include sys/platform/ppc.h.
45691 * sysdeps/powerpc/test-gettimebase.c: Test for
45692 __ppc_get_timebase() to catch future ISA opcode/insn changes.
45693 * manual/Makefile (appendices): Include platform.texi.
45694 * manual/contrib.texi (Contributors): Update @node pointers.
45695 * manual/maint.texi (Maintenance): Likewise.
45696 (Platform): New node.
45697 * manual/platform.texi: New file. Document the new features.
45698
45699 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
45700 Jakub Jelinek <jakub@redhat.com>
45701
45702 [BZ #14188]
45703 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
45704 where __builtin_expect is unavailable.
45705
45706 2012-06-03 David S. Miller <davem@davemloft.net>
45707
45708 * stdlib/longlong.h: Updated from GCC.
45709
45710 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
45711
45712 [BZ #14042]
45713 * sysdeps/powerpc/powerpc32/mcount.c: New file.
45714 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
45715 __mcount_internal.
45716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
45717 (GLIBC_2.16): Likewise.
45718
45719 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
45720
45721 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
45722
45723 2012-06-01 Joseph Myers <joseph@codesourcery.com>
45724
45725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
45726 (default-abi): New variable.
45727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
45728 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
45729 variable.
45730 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
45731 Likewise.
45732 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
45733 Likewise.
45734 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
45735 Likewise.
45736
45737 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
45738 definition. Document in comment.
45739
45740 2012-06-01 David S. Miller <davem@davemloft.net>
45741
45742 * stdlib/longlong.h: Updated from GCC.
45743
45744 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
45745
45746 [BZ #14117]
45747 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
45748 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
45749 sys/debugreg.h sys/io.h here.
45750 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
45751 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
45752 sys/io.h.
45753 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
45754 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
45755 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
45756 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
45757 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
45758 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
45759
45760 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
45761 Define only if __x86_64__ is defined.
45762
45763 2012-06-01 Joseph Myers <joseph@codesourcery.com>
45764
45765 [BZ #14048]
45766 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
45767 Use int64_t for variable i.
45768 * math/libm-test.inc (fmod_test): Add more tests.
45769
45770 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
45771 z computation is not scheduled after fetestexcept.
45772 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
45773 Use math_force_eval instead of asm to ensure calculation scheduled
45774 before exception test.
45775 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
45776 Ensure a1 + u.d computation is not scheduled after fetestexcept.
45777
45778 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
45779
45780 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
45781 computation is not scheduled after fetestexcept.
45782
45783 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
45784
45785 [BZ #14117]
45786 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
45787 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
45788
45789 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45790
45791 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
45792 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45793
45794 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
45795
45796 [BZ #14117]
45797 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
45798 <bits/wordsize.h>.
45799 (__WCHAR_MIN): Support __WORDSIZE == 64.
45800 (__WCHAR_MAX): Likewise.
45801
45802 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
45803 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
45804
45805 [BZ #14183]
45806 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
45807 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
45808
45809 [BZ #14117]
45810 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
45811 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
45812
45813 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
45814 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
45815
45816 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
45817 Defined to 1 if __x86_64__ isn't defined.
45818 (_STAT_VER_LINUX_OLD): New.
45819 (st_atime): Remove duplicate.
45820 (st_mtime): Likewise.
45821 (st_ctime): Likewise.
45822
45823 2012-05-31 David S. Miller <davem@davemloft.net>
45824
45825 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
45826 entries.
45827
45828 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
45829
45830 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
45831 gen-libm-test.pl.
45832
45833 [BZ #14132]
45834 * elf/dl-reloc.c: Include <_itoa.h>.
45835 (_dl_reloc_bad_type): Remove use of INTUSE.
45836 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
45837 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
45838 * stdio-common/psiginfo.c (psiginfo): Likewise.
45839 * stdio-common/psignal.c (psignal): Likewise.
45840 * string/strsignal.c (strsignal): Likewise.
45841 * include/signal.h (_sys_siglist): Declare hidden proto.
45842 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
45843 INTVARDEF with libc_hidden_data_def.
45844 * stdio-common/itoa-udigits.c: Likewise.
45845 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
45846 (_itoa_lower_digits_internal): Remove declaration.
45847 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
45848 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
45849 (_sys_sigabbrev_internal): Remove aliases.
45850 (_sys_siglist): Define hidden alias.
45851
45852 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
45853
45854 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45855 bits/sysctl.h.
45856
45857 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
45858
45859 [BZ #14117]
45860 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
45861 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
45862
45863 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
45864 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
45865 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
45866 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
45867 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
45868 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
45869
45870 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
45871 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
45872 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
45873
45874 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
45875 with __addr.
45876 (insw): Likewise.
45877 (insl): Likewise.
45878 (outsb): Likewise.
45879 (outsw): Likewise.
45880 (outsl): Likewise.
45881
45882 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
45883 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
45884 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
45885
45886 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
45887 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
45888 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
45889 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
45890 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
45891 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
45892
45893 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
45894 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
45895
45896 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
45897 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
45898
45899 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
45900 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
45901 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
45902
45903 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
45904 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
45905 to ...
45906 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
45907
45908 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
45909 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
45910 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
45911
45912 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
45913 for x86-64.
45914 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
45915
45916 2012-05-31 Joseph Myers <joseph@codesourcery.com>
45917
45918 * math/math.h (M_El): Use two more decimal places.
45919 (M_LOG2El): Likewise.
45920 (M_LOG10El): Likewise.
45921 (M_LN2l): Likewise.
45922 (M_LN10l): Likewise.
45923 (M_PIl): Likewise.
45924 (M_PI_2l): Likewise.
45925 (M_PI_4l): Likewise.
45926 (M_1_PIl): Likewise.
45927 (M_2_PIl): Likewise.
45928 (M_2_SQRTPIl): Likewise.
45929 (M_SQRT2l): Likewise.
45930 (M_SQRT1_2l): Likewise.
45931
45932 2012-05-31 David S. Miller <davem@davemloft.net>
45933
45934 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
45935 values between float registers.
45936 * sysdeps/sparc/sparc64/memset.S: Likewise.
45937 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45938
45939 2012-05-31 Mike Frysinger <vapier@gentoo.org>
45940
45941 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
45942 -D_FORTIFY_SOURCE=1.
45943 (CPPFLAGS-tst-longjmp_chk.c): Define.
45944 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
45945 (CPPFLAGS-tst-longjmp_chk2.c): Define.
45946 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
45947 CFLAGS-tst-wchar-h.c.
45948
45949 2012-05-31 Marek Polacek <polacek@redhat.com>
45950
45951 [BZ #14132]
45952 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
45953 __endmntent_internal): Remove declaration.
45954 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
45955 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
45956 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
45957
45958 2012-05-30 David S. Miller <davem@davemloft.net>
45959
45960 * sysdeps/sparc/sparc32/soft-fp/q_util.c
45961 (___Q_simulate_exceptions): Use real FP ops rather than writing
45962 into the %fsr.
45963 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
45964 Likewise.
45965
45966 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45967
45968 [BZ #14117]
45969 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
45970 * sysdeps/x86/bits/xtitypes.h: This.
45971
45972 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
45973 * sysdeps/x86/bits/wordsize.h: This.
45974
45975 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
45976 * sysdeps/x86/bits/huge_vall.h: This.
45977
45978 * sysdeps/i386/bits/select.h: Removed.
45979 * sysdeps/x86_64/bits/select.h: Renamed to ...
45980 * sysdeps/x86/bits/select.h: This.
45981
45982 * sysdeps/i386/bits/setjmp.h: Removed.
45983 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
45984 * sysdeps/x86/bits/setjmp.h: This.
45985
45986 * sysdeps/i386/bits/mathdef.h: Removed.
45987 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
45988 * sysdeps/x86/bits/mathdef.h: This.
45989
45990 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
45991
45992 [BZ #14132]
45993 * include/sys/socket.h (__connect_internal)
45994 (__libc_sa_len_internal): Remove declaration.
45995 (__connect, __libc_sa_len): Declare hidden_proto.
45996 (SA_LEN): Remove use of INTUSE.
45997 * socket/connect.c: Add libc_hidden_def.
45998 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
45999 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
46000 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
46001 alias.
46002 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
46003 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
46004 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
46005 of adding _internal alias.
46006
46007 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
46008
46009 [BZ #14117]
46010 * sysdeps/i386/bits/link.h: Removed.
46011 * sysdeps/i386/bits/linkmap.h: Likewise.
46012 * sysdeps/x86_64/bits/link.h: Renamed to ...
46013 * sysdeps/x86/bits/link.h: This.
46014 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
46015 * sysdeps/x86/bits/linkmap.h: This.
46016
46017 * sysdeps/i386/bits/endian.h: Removed.
46018 * sysdeps/x86_64/bits/endian.h: Renamed to ...
46019 * sysdeps/x86/bits/endian.h: This.
46020
46021 * sysdeps/i386/bits/byteswap.h: Removed.
46022 * sysdeps/i386/bits/byteswap-16.h: Likewise.
46023 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
46024 * sysdeps/x86/bits/byteswap.h: This.
46025 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
46026 * sysdeps/x86/bits/byteswap-16.h: This.
46027 * sysdeps/i386/Implies: Add x86.
46028 * sysdeps/x86_64/Implies: Likewise.
46029
46030 2012-05-30 David S. Miller <davem@davemloft.net>
46031
46032 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
46033 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
46034 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
46035 (FP_TRAPPING_EXCEPTIONS): Define.
46036 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
46037 (FP_TRAPPING_EXCEPTIONS): Define.
46038 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
46039 subnormals only when inexact has been signalled or underflow
46040 exceptions are enabled.
46041 (_FP_PACK_CANONICAL): Likewise.
46042
46043 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
46044
46045 [BZ #14183]
46046 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
46047 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
46048
46049 2012-05-30 Richard Henderson <rth@twiddle.net>
46050
46051 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
46052 with #ifndef NOT_IN_libc.
46053
46054 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
46055 marked to avoid plt entry.
46056
46057 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
46058
46059 [BZ #14112]
46060 * Makeconfig (default-abi): New macro.
46061 (abi-includes): Likewise.
46062 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
46063 $(abi-$(default-abi)-lib-soname) for soname if defined.
46064 ($(common-objpfx)gnu/lib-names.stmp): Generate from
46065 abi-variants.
46066 * Makefile (installed-stubs): Likewise.
46067 * include/stubs-biarch.h: Removed.
46068 * scripts/lib-names.awk: Only handle one library at a time.
46069 * scripts/soversions.awk: Remove WORDSIZE support.
46070 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
46071 entries.
46072 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
46073 Removed.
46074 (syscall-list-default-condition): Likewise.
46075 (syscall-list-default-condition): Likewise.
46076 (syscall-list-includes): Likewise.
46077 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
46078 syscall-list-* with abi-*. Handle undefined abi-variants.
46079 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
46080 * sysdeps/unix/sysv/linux/i386/Implies: New file.
46081 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
46082 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
46083 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
46084 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
46085 Removed.
46086 (syscall-list-32-options): Likewise.
46087 (syscall-list-32-condition): Likewise.
46088 (syscall-list-64-options): Likewise.
46089 (syscall-list-64-condition): Likewise.
46090 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
46091 macro.
46092 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
46093 Renamed to ...
46094 (abi-*): This.
46095 (abi-64-ld-soname): New macro.
46096 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
46097 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
46098 Renamed to ...
46099 (abi-*): This.
46100 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
46101 * sysdeps/x86_64/x32/shlib-versions: Likewise.
46102
46103 2012-05-30 Joseph Myers <joseph@codesourcery.com>
46104
46105 * sysdeps/unix/sysv/linux/kernel-features.h
46106 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
46107 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
46108 include <kernel-features.h>.
46109 [!__NR_ftruncate64]: Remove conditional code.
46110 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46111 [__NR_ftruncate64]: Make code unconditional.
46112 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46113 * sysdeps/unix/sysv/linux/truncate64.c: Do not
46114 include <kernel-features.h>.
46115 [!__NR_ftruncate64]: Remove conditional code.
46116 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46117 [__NR_ftruncate64]: Make code unconditional.
46118 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
46120 include <kernel-features.h>.
46121 [!__NR_ftruncate64]: Remove conditional code.
46122 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46123 [__NR_ftruncate64]: Make code unconditional.
46124 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
46126 include <kernel-features.h>.
46127 [!__NR_ftruncate64]: Remove conditional code.
46128 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46129 [__NR_ftruncate64]: Make code unconditional.
46130 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46131
46132 * configure.in (libc_cv_fpie): Weaken to a compile test using
46133 LIBC_TRY_CC_OPTION.
46134 * configure: Regenerated.
46135
46136 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46137
46138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
46139 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
46140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
46141 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46142 Refreshed.
46143 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
46144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
46145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
46146 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
46147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
46148 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46149 Refreshed.
46150
46151 2012-05-27 David S. Miller <davem@davemloft.net>
46152
46153 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
46154 (___Q_zero): New.
46155 (__Q_simulate_exceptions): Return void. Change to simulate
46156 exceptions by writing into the %fsr.
46157 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
46158 (__Qp_handle_exceptions): Likewise.
46159 (numbers): Delete.
46160 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
46161 __Qp_handle_exceptions.
46162 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
46163 __Qp_handle_exceptions.
46164 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46165 as unused and give dummy FP_RND_NEAREST initializer.
46166 (FP_INHIBIT_RESULTS): Define.
46167 (___Q_simulate_exceptions): Update declaration.
46168 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
46169 formatting.
46170 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46171 as unused and give dummy FP_RND_NEAREST initializer.
46172 (__Qp_handle_exceptions): Update declaration.
46173 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
46174 formatting.
46175
46176 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
46177
46178 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
46179 the temporary FPU control word.
46180 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
46181 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
46182 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
46183 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46184 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
46185 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
46186 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
46187 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46188 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
46189 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
46190 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46191
46192 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46193
46194 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
46195 fields.
46196
46197 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
46198
46199 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
46200 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
46201 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
46202 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
46203 Likewise.
46204 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
46205 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
46206 Likewise.
46207
46208 2012-05-27 Ulrich Drepper <drepper@gmail.com>
46209
46210 * po/h.po: Update from translation team.
46211
46212 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
46213
46214 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
46215
46216 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
46217 handling of denormals.
46218 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46219 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
46220 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46221 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46222 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46223 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
46224 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
46225 Likewise.
46226
46227 2012-05-26 Marek Polacek <polacek@redhat.com>
46228
46229 [BZ #14152]
46230 * math/libm-test.inc (fma_test): Don't always expect underflow
46231 exception.
46232
46233 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46234
46235 [BZ #12416]
46236 * elf/tst-execstack.c: Include stackinfo.h.
46237 (do_test): Adjust test case to ensure that pthread_getattr_np
46238 behaviour remains the same after marking stack executable.
46239
46240 2012-05-25 Joseph Myers <joseph@codesourcery.com>
46241
46242 * sysdeps/unix/sysv/linux/kernel-features.h
46243 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
46244 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
46245 kernel-features.h.
46246 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46247 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46248 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
46249 kernel-features.h.
46250 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46251 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46252
46253 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
46254
46255 * configure.in: Define the default includes to being none.
46256 * configure: Regenerated.
46257
46258 2012-05-25 Roland McGrath <roland@hack.frob.com>
46259
46260 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
46261 * sysdeps/x86_64/setjmp.S: Likewise.
46262 * sysdeps/i386/bsd-setjmp.S: Likewise.
46263 * sysdeps/i386/bsd-_setjmp.S: Likewise.
46264 * sysdeps/i386/setjmp.S: Likewise.
46265 * sysdeps/i386/__longjmp.S: Likewise.
46266 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46267 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
46268
46269 * include/stap-probe.h: New file.
46270 * configure.in: Handle --enable-systemtap.
46271 * configure: Regenerated.
46272 * config.h.in (USE_STAP_PROBE): New #undef.
46273 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
46274 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
46275 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
46276
46277 2012-05-25 Joseph Myers <joseph@codesourcery.com>
46278
46279 [BZ #13717]
46280 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46281 to 2.4.0 where earlier.
46282 * sysdeps/unix/sysv/linux/configure: Regenerated.
46283 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
46284 <kernel-features.h>.
46285 [__ASSUME_32BITUIDS]: Make code unconditional.
46286 [!__ASSUME_32BITUIDS]: Remove conditional code.
46287 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
46288 <kernel-features.h>.
46289 [__ASSUME_32BITUIDS]: Make code unconditional.
46290 [!__ASSUME_32BITUIDS]: Remove conditional code.
46291 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
46292 [__ASSUME_32BITUIDS]: Make code unconditional.
46293 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
46294 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
46295 <kernel-features.h>.
46296 [__ASSUME_32BITUIDS]: Make code unconditional.
46297 [!__ASSUME_32BITUIDS]: Remove conditional code.
46298 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
46299 <kernel-features.h>.
46300 [__ASSUME_32BITUIDS]: Make code unconditional.
46301 [!__ASSUME_32BITUIDS]: Remove conditional code.
46302 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
46303 <kernel-features.h>.
46304 [__ASSUME_32BITUIDS]: Make code unconditional.
46305 [!__ASSUME_32BITUIDS]: Remove conditional code.
46306 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
46307 <kernel-features.h>.
46308 [__ASSUME_32BITUIDS]: Make code unconditional.
46309 [!__ASSUME_32BITUIDS]: Remove conditional code.
46310 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
46311 <kernel-features.h>.
46312 [__ASSUME_32BITUIDS]: Make code unconditional.
46313 [!__ASSUME_32BITUIDS]: Remove conditional code.
46314 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
46315 <kernel-features.h>.
46316 [__ASSUME_32BITUIDS]: Make code unconditional.
46317 [!__ASSUME_32BITUIDS]: Remove conditional code.
46318 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
46319 <kernel-features.h>.
46320 [__ASSUME_32BITUIDS]: Make code unconditional.
46321 [!__ASSUME_32BITUIDS]: Remove conditional code.
46322 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
46323 <kernel-features.h>.
46324 [__ASSUME_32BITUIDS]: Make code unconditional.
46325 [!__ASSUME_32BITUIDS]: Remove conditional code.
46326 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
46327 <kernel-features.h>.
46328 [__ASSUME_32BITUIDS]: Make code unconditional.
46329 [!__ASSUME_32BITUIDS]: Remove conditional code.
46330 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
46331 <kernel-features.h>.
46332 [__ASSUME_32BITUIDS]: Make code unconditional.
46333 [!__ASSUME_32BITUIDS]: Remove conditional code.
46334 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
46335 <kernel-features.h>.
46336 [__NR_setresgid] (__setresgid): Do not declare.
46337 [__ASSUME_32BITUIDS]: Make code unconditional.
46338 [!__ASSUME_32BITUIDS]: Remove conditional code.
46339 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
46340 <kernel-features.h>.
46341 [__NR_setresuid] (__setresuid): Do not declare.
46342 [__ASSUME_32BITUIDS]: Make code unconditional.
46343 [!__ASSUME_32BITUIDS]: Remove conditional code.
46344 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
46345 <kernel-features.h>.
46346 [__ASSUME_32BITUIDS]: Make code unconditional.
46347 [!__ASSUME_32BITUIDS]: Remove conditional code.
46348 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
46349 <kernel-features.h>.
46350 [__ASSUME_32BITUIDS]: Make code unconditional.
46351 [!__ASSUME_32BITUIDS]: Remove conditional code.
46352 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
46353 <kernel-features.h>.
46354 [__ASSUME_32BITUIDS]: Make code unconditional.
46355 [!__ASSUME_32BITUIDS]: Remove conditional code.
46356 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
46357 <kernel-features.h>.
46358 [__ASSUME_32BITUIDS]: Make code unconditional.
46359 [!__ASSUME_32BITUIDS]: Remove conditional code.
46360 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
46361 <kernel-features.h>.
46362 [__ASSUME_32BITUIDS]: Make code unconditional.
46363 [!__ASSUME_32BITUIDS]: Remove conditional code.
46364 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
46365 <kernel-features.h>.
46366 [__ASSUME_32BITUIDS]: Make code unconditional.
46367 [!__ASSUME_32BITUIDS]: Remove conditional code.
46368 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
46369 <kernel-features.h>.
46370 [__ASSUME_32BITUIDS]: Make code unconditional.
46371 [!__ASSUME_32BITUIDS]: Remove conditional code.
46372 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
46373 <kernel-features.h>.
46374 [__ASSUME_32BITUIDS]: Make code unconditional.
46375 [!__ASSUME_32BITUIDS]: Remove conditional code.
46376 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
46377 <kernel-features.h>.
46378 [__ASSUME_32BITUIDS]: Make code unconditional.
46379 [!__ASSUME_32BITUIDS]: Remove conditional code.
46380 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
46381 <kernel-features.h>.
46382 [__ASSUME_32BITUIDS]: Make code unconditional.
46383 [!__ASSUME_32BITUIDS]: Remove conditional code.
46384 * sysdeps/unix/sysv/linux/kernel-features.h
46385 (__ASSUME_SETRESUID_SYSCALL): Remove.
46386 (__ASSUME_SETRESGID_SYSCALL): Likewise.
46387 (__ASSUME_32BITUIDS): Likewise.
46388 (__ASSUME_LDT_WORKS): Likewise.
46389 (__ASSUME_O_DIRECTORY): Likewise.
46390 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
46391 architecture but not kernel version.
46392 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
46393 (__ASSUME_MMAP2_SYSCALL): Likewise.
46394 (__ASSUME_STAT64_SYSCALL): Likewise.
46395 (__ASSUME_IPC64): Likewise.
46396 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
46397 <kernel-features.h>.
46398 [__ASSUME_32BITUIDS]: Make code unconditional.
46399 [!__ASSUME_32BITUIDS]: Remove conditional code.
46400 * sysdeps/unix/sysv/linux/opendir.c: Do not include
46401 <kernel-features.h>.
46402 [__ASSUME_O_DIRECTORY]: Make code unconditional.
46403 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
46404 132096]: Remove conditional code.
46405 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
46406 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
46407 <kernel-features.h>.
46408 [__ASSUME_32BITUIDS]: Make code unconditional.
46409 [!__ASSUME_32BITUIDS]: Remove conditional code.
46410 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
46411 <kernel-features.h>.
46412 [__ASSUME_32BITUIDS]: Make code unconditional.
46413 [!__ASSUME_32BITUIDS]: Remove conditional code.
46414 * sysdeps/unix/sysv/linux/setegid.c: Do not include
46415 <kernel-features.h>.
46416 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
46417 unconditional.
46418 (__setresgid): Do not declare.
46419 [__ASSUME_32BITUIDS]: Make code unconditional.
46420 [!__ASSUME_32BITUIDS]: Remove conditional code.
46421 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
46422 <kernel-features.h>.
46423 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
46424 unconditional.
46425 (__setresuid): Do not declare.
46426 [__ASSUME_32BITUIDS]: Make code unconditional.
46427 [!__ASSUME_32BITUIDS]: Remove conditional code.
46428 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
46429 <kernel-features.h>.
46430 [__ASSUME_32BITUIDS]: Make code unconditional.
46431 [!__ASSUME_32BITUIDS]: Remove conditional code.
46432 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
46433 <kernel-features.h>.
46434 [__ASSUME_32BITUIDS]: Make code unconditional.
46435 [!__ASSUME_32BITUIDS]: Remove conditional code.
46436
46437 2012-05-25 Richard Henderson <rth@twiddle.net>
46438
46439 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
46440 dl_hwcap to ifunc resolver.
46441 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
46442 elf_ifunc_invoke.
46443 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
46444 dl_hwcap to ifunc resolver.
46445 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
46446
46447 2012-05-24 Joseph Myers <joseph@codesourcery.com>
46448
46449 [BZ #14153]
46450 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
46451 for |x| <= 2**-26, not 2**-57.
46452 * math/libm-test.inc (acos_test): Do not allow spurious underflow
46453 exception.
46454
46455 2012-05-24 Jeff Law <law@redhat.com>
46456
46457 * stdio-common/Makefile (tests): Add bug25.
46458 * stdio-common/bug25.c: New test.
46459
46460 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
46461
46462 [BZ #13576]
46463 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
46464 multiple of MALLOC_ALIGNMENT in size.
46465 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
46466
46467 2012-05-24 Joseph Myers <joseph@codesourcery.com>
46468
46469 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
46470 Require >= 256.
46471 (FILENAME_MAX): Use macro-int-constant.
46472 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
46473 (_IOFBF): Use macro-int-constant.
46474 (_IOLBF): Likewise.
46475 (_IONBF): Likewise.
46476 (SEEK_CUR): Likewise.
46477 (SEEK_END): Likewise.
46478 (SEEK_SET): Likewise.
46479 (TMP_MAX): Likewise.
46480 (EOF): Use macro-int-constant. Require < 0.
46481 (NULL): Use macro-constant. Require == 0.
46482 (stdin): Require type to be FILE *.
46483 (stdout): Likewise.
46484 (stderr): Likewise.
46485 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
46486 macro-int-constant.
46487 (EXIT_SUCCESS): Likewise.
46488 (NULL): Use macro-constant. Require == 0.
46489 (RAND_MAX): Use macro-int-constant.
46490 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
46491 [C99-based standards] (strtof): Require function.
46492 [C99-based standards] (strtold): Likewise.
46493 [C99-based standards] (strtoll): Likewise.
46494 [C99-based standards] (strtoull): Likewise.
46495 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46496 [ISO || ISO99 || ISO11] (limits.h): Likewise.
46497 [ISO || ISO99 || ISO11] (math.h): Likewise.
46498 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
46499 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46500 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46501
46502 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
46503
46504 [BZ #14132]
46505 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
46506 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
46507 * intl/dgettext.c (DCGETTEXT): Likewise.
46508 * intl/gettext.c (DCGETTEXT): Likewise.
46509 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
46510 * posix/regex_internal.h (gettext): Likewise.
46511 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
46512 Remove declaration.
46513 * include/argz.h (__argz_count_internal)
46514 (__argz_stringify_internal): Remove declaration.
46515 (__argz_count, __argz_stringify): Declare hidden proto.
46516 * intl/dcgettext.c: Remove use of INTDEF.
46517 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
46518 * string/argz-stringify.c: Likewise.
46519 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46520 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46521 Declare hidden proto.
46522 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46523 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46524 Declare hidden proto.
46525 * include/stdio.h (__asprintf_internal): Don't declare.
46526 (__asprintf): Don't define as macro. Declare hidden proto.
46527 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
46528 (__fsetlocking): Declare hidden proto.
46529 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
46530 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
46531 hidden proto.
46532 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
46533 (_IO_setlinebuf): Remove use of INTUSE.
46534 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
46535 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
46536 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
46537 Remove declaration.
46538 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
46539 (_IO_do_flush): Remove use of INTUSE.
46540 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
46541 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
46542 (_IO_adjust_column, _IO_least_wmarker)
46543 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
46544 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
46545 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
46546 (_IO_default_doallocate, _IO_wdefault_doallocate)
46547 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
46548 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
46549 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
46550 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
46551 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
46552 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
46553 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
46554 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
46555 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
46556 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
46557 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
46558 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
46559 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
46560 proto.
46561 (_IO_flush_all_internal, _IO_adjust_column_internal)
46562 (_IO_default_uflow_internal, _IO_default_finish_internal)
46563 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
46564 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
46565 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
46566 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
46567 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
46568 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
46569 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
46570 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
46571 (_IO_file_close_internal, _IO_file_close_it_internal)
46572 (_IO_file_underflow_internal, _IO_file_overflow_internal)
46573 (_IO_file_init_internal, _IO_file_attach_internal)
46574 (_IO_file_fopen_internal, _IO_file_read_internal)
46575 (_IO_file_sync_internal, _IO_file_seek_internal)
46576 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
46577 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
46578 (_IO_str_underflow_internal, _IO_str_overflow_internal)
46579 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
46580 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
46581 (_IO_list_all_internal, _IO_link_in_internal)
46582 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
46583 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
46584 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
46585 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
46586 (_IO_do_write_internal, _IO_padn_internal)
46587 (_IO_getline_info_internal, _IO_getline_internal)
46588 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
46589 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
46590 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
46591 (_IO_vfscanf_internal, _IO_vfprintf_internal)
46592 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
46593 (_IO_init_internal, _IO_un_link_internal): Don't declare.
46594 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
46595 with libc_hidden_ver, remove use of INTUSE.
46596 * libio/genops.c: Likewise.
46597 * libio/freopen.c: Likewise.
46598 * libio/freopen64.c: Likewise.
46599 * libio/iofclose.c: Likewise.
46600 * libio/iofdopen.c: Likewise.
46601 * libio/iofflush.c: Likewise.
46602 * libio/iofflush_u.c: Likewise.
46603 * libio/iofgets.c: Likewise.
46604 * libio/iofgets_u.c: Likewise.
46605 * libio/iofopen.c: Likewise.
46606 * libio/iofopncook.c: Likewise.
46607 * libio/iofread.c: Likewise.
46608 * libio/iofread_u.c: Likewise.
46609 * libio/ioftell.c: Likewise.
46610 * libio/iofwrite.c: Likewise.
46611 * libio/iogetline.c: Likewise.
46612 * libio/iogets.c: Likewise.
46613 * libio/iogetwline.c: Likewise.
46614 * libio/iopadn.c: Likewise.
46615 * libio/iopopen.c: Likewise.
46616 * libio/ioseekoff.c: Likewise.
46617 * libio/ioseekpos.c: Likewise.
46618 * libio/iosetbuffer.c: Likewise.
46619 * libio/iosetvbuf.c: Likewise.
46620 * libio/ioungetc.c: Likewise.
46621 * libio/ioungetwc.c: Likewise.
46622 * libio/iovdprintf.c: Likewise.
46623 * libio/iovsprintf.c: Likewise.
46624 * libio/iovsscanf.c: Likewise.
46625 * libio/memstream.c: Likewise.
46626 * libio/obprintf.c: Likewise.
46627 * libio/oldfileops.c: Likewise.
46628 * libio/oldiofclose.c: Likewise.
46629 * libio/oldiofdopen.c: Likewise.
46630 * libio/oldiofopen.c: Likewise.
46631 * libio/oldiopopen.c: Likewise.
46632 * libio/oldstdfiles.c: Likewise.
46633 * libio/putc.c: Likewise.
46634 * libio/setbuf.c: Likewise.
46635 * libio/setlinebuf.c: Likewise.
46636 * libio/stdfiles.c: Likewise.
46637 * libio/strops.c: Likewise.
46638 * libio/vasprintf.c: Likewise.
46639 * libio/vscanf.c: Likewise.
46640 * libio/vsnprintf.c: Likewise.
46641 * libio/vswprintf.c: Likewise.
46642 * libio/wfiledoalloc.c: Likewise.
46643 * libio/wfileops.c: Likewise.
46644 * libio/wgenops.c: Likewise.
46645 * libio/wmemstream.c: Likewise.
46646 * libio/wstrops.c: Likewise.
46647 * libio/__fpurge.c: Likewise.
46648 * libio/__fsetlocking.c: Likewise.
46649 * assert/assert.c: Likewise.
46650 * debug/fgets_chk.c: Likewise.
46651 * debug/fgets_u_chk.c: Likewise.
46652 * debug/fread_chk.c: Likewise.
46653 * debug/fread_u_chk.c: Likewise.
46654 * debug/gets_chk.c: Likewise.
46655 * debug/obprintf_chk.c: Likewise.
46656 * debug/vasprintf_chk.c: Likewise.
46657 * debug/vdprintf_chk.c: Likewise.
46658 * debug/vsnprintf_chk.c: Likewise.
46659 * debug/vsprintf_chk.c: Likewise.
46660 * malloc/mtrace.c: Likewise.
46661 * misc/error.c: Likewise.
46662 * misc/syslog.c: Likewise.
46663 * stdio-common/asprintf.c: Likewise.
46664 * stdio-common/fxprintf.c: Likewise.
46665 * stdio-common/getw.c: Likewise.
46666 * stdio-common/isoc99_fscanf.c: Likewise.
46667 * stdio-common/isoc99_scanf.c: Likewise.
46668 * stdio-common/isoc99_vfscanf.c: Likewise.
46669 * stdio-common/isoc99_vscanf.c: Likewise.
46670 * stdio-common/isoc99_vsscanf.c: Likewise.
46671 * stdio-common/printf-prs.c: Likewise.
46672 * stdio-common/printf_fp.c: Likewise.
46673 * stdio-common/printf_fphex.c: Likewise.
46674 * stdio-common/printf_size.c: Likewise.
46675 * stdio-common/putw.c: Likewise.
46676 * stdio-common/scanf.c: Likewise.
46677 * stdio-common/sprintf.c: Likewise.
46678 * stdio-common/tmpfile.c: Likewise.
46679 * stdio-common/vfprintf.c: Likewise.
46680 * stdio-common/vfscanf.c: Likewise.
46681 * stdlib/strfmon_l.c: Likewise.
46682 * sunrpc/openchild.c: Likewise.
46683 * sunrpc/xdr_stdio.c: Likewise.
46684 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
46685 * sysdeps/mach/hurd/tmpfile.c: Likewise.
46686
46687 2012-05-24 Roland McGrath <roland@hack.frob.com>
46688
46689 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46690
46691 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
46692 in the third column, to generate for the shared library an IFUNC
46693 that uses _dl_vdso_vsym.
46694 * Makerules (COMPILE.c, compile-stdin.c): New variables.
46695 * Makeconfig (object-suffixes-noshared): New variable.
46696
46697 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
46698 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
46699 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
46700 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
46701
46702 [BZ #14132]
46703 * include/sys/time.h (__gettimeofday): Remove macro.
46704 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
46705 * time/gettimeofday.c (__gettimeofday): Remove #undef.
46706 Remove INTDEF.
46707 (__gettimeofday): Add libc_hidden_def.
46708 (gettimeofday): Add libc_hidden_weak.
46709 * sysdeps/mach/gettimeofday.c: Likewise.
46710 * sysdeps/posix/gettimeofday.c: Likewise.
46711 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
46712 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
46713 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
46714 (__gettimeofday_internal): Remove strong_alias.
46715 (__gettimeofday): Add libc_hidden_def.
46716 (gettimeofday): Add libc_hidden_weak.
46717 * sysdeps/unix/syscalls.list (gettimeofday):
46718 Remove __gettimeofday_internal alias.
46719
46720 2012-05-24 Daniel Jacobowitz <drow@false.org>
46721 H.J. Lu <hongjiu.lu@intel.com>
46722
46723 [BZ #12495]
46724 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
46725 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
46726 (largebin_index_32_big): New.
46727 (largebin_index): Use it for 16-byte alignment.
46728 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
46729 correction with front_misalign.
46730
46731 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
46732
46733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
46734 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
46735 Likewise.
46736 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
46737 Likewise.
46738 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
46739 Likewise.
46740 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
46741 Likewise.
46742 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
46743 Likewise.
46744 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
46745 Likewise.
46746 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
46747 Likewise.
46748 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
46749 Likewise.
46750 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
46751 Likewise.
46752 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
46753 Likewise.
46754 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
46755 Likewise.
46756 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
46757 Likewise.
46758
46759 * scripts/data/c++-types-x32-linux-gnu.data: New file.
46760 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
46761
46762 2012-05-24 Joseph Myers <joseph@codesourcery.com>
46763
46764 [BZ #10846]
46765 [BZ #14036]
46766 * math/libm-test.inc (exp_test): Add test from bug 14036.
46767 (pow_test): Add test from bug 10846.
46768
46769 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
46770 and other flags.
46771 (special_function): Do not include flags in test name.
46772 (parse_args): Likewise.
46773 * sysdeps/i386/fpu/libm-test-ulps: Update.
46774 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46775 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46776 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46778
46779 * math/gen-libm-test.pl (%beautify): Add entries for underflow
46780 exceptions.
46781 * math/libm-test.inc ("Philosophy"): Update comment about
46782 exception testing.
46783 (UNDERFLOW_EXCEPTION): New macro.
46784 (UNDERFLOW_EXCEPTION_OK): Likewise.
46785 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
46786 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
46787 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
46788 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
46789 (INVALID_EXCEPTION_OK): Update value.
46790 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46791 (OVERFLOW_EXCEPTION_OK): Likewise.
46792 (IGNORE_ZERO_INF_SIGN): Likewise.
46793 (test_exceptions): Handle underflow exceptions.
46794 (acos_test): Update for underflow exception expectations.
46795 (cexp_test): Likewise.
46796 (clog_test): Likewise.
46797 (clog10_test): Likewise.
46798 (csqrt_test): Likewise.
46799 (ctan_test): Likewise.
46800 (ctanh_test): Likewise.
46801 (exp_test): Likewise.
46802 (exp10_test): Likewise.
46803 (exp2_test): Likewise.
46804 (expm1_test): Likewise.
46805 (fma_test): Likewise.
46806 (j0_test): Likewise.
46807 (jn_test): Likewise.
46808 (nexttoward_test): Likewise.
46809 (pow_test): Likewise.
46810 (scalbn_test): Likewise.
46811 (scalbln_test): Likewise.
46812 (tan_test): Likewise.
46813 (y1_test): Likewise.
46814 * sysdeps/i386/fpu/libm-test-ulps: Update.
46815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46816
46817 2012-05-23 David S. Miller <davem@davemloft.net>
46818
46819 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
46820 (__libc_sigaction): Remove unused local variables.
46821
46822 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
46823
46824 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
46825
46826 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
46827
46828 mktime: avoid signed integer overflow
46829 * time/mktime.c (__mktime_internal): Do not mishandle the case
46830 where diff == INT_MIN.
46831
46832 mktime: simplify computation of average
46833 * time/mktime.c (ranged_convert): Use new time_t_avg function
46834 instead of rolling our own (probably-slower) code.
46835
46836 mktime: do not assume signed right shift propagates sign bit
46837 * time/mktime.c (isdst_differ): New static function.
46838 (__mktime_internal): No need to normalize tm_isdst now.
46839 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
46840 tm_isdst values.
46841
46842 mktime: merge another wrapv change from gnulib
46843 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
46844 from some compilers.
46845
46846 mktime: remove incorrect attempt at unusual arithmetics
46847 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
46848 The code didn't really work on such machines anyway.
46849 (TYPE_MINIMUM): Assume two's complement.
46850 (twos_complement_arithmetic): Verify that long_int and time_t
46851 are two's complement (or unsigned, in the latter case).
46852
46853 mktime: check signed shifts on long_int and time_t, too
46854 * time/mktime.c (SHR): Check that shifts work as desired
46855 on the types long_int and time_t too, as SHR is used on
46856 such types.
46857
46858 mktime: do not assume 'long' is wide enough
46859 * time/mktime.c (verify): Move decl up.
46860 (long_int): New type.
46861 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
46862 to remove assumption in the code that 'long' is wide enough to
46863 store year values. This assumption is not true on x32 and on
46864 some non-glibc platforms.
46865
46866 mktime: merge wrapv change from gnulib
46867 * time/mktime.c (WRAPV): New macro.
46868 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
46869 (guess_time_tm, __mktime_internal): Do not assume that signed
46870 integer overflow wraps around; modern compilers generate code
46871 where this assumption is no longer valid.
46872
46873 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
46874
46875 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46876 Replace "jmp L(pseudo_end)" with "ret".
46877 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
46878 Likewise.
46879
46880 2012-05-23 Andreas Jaeger <aj@suse.de>
46881
46882 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
46883 * sysdeps/unix/sysv/linux/poll.c: Remove file.
46884
46885 2012-05-23 Andreas Jaeger <aj@suse.de>
46886 Maximilian Attems <max@stro.at>
46887
46888 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
46889 New macros.
46890
46891 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
46892
46893 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
46894 code so that pseudo_end is just ret and the stack pointer is
46895 correct also for static library in error case.
46896
46897 2012-05-23 Joseph Myers <joseph@codesourcery.com>
46898
46899 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
46900 move to syscalls.list.
46901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
46902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
46903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
46904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
46905
46906 * manual/install.texi (Running make install): Do not mention Linux
46907 kernel version for which pt_chown is not needed.
46908 (Linux): Do not mention problems with nscd with 2.0 kernels.
46909 * INSTALL: Regenerated.
46910
46911 2012-05-23 Andreas Jaeger <aj@suse.de>
46912
46913 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
46914 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
46915 macro.
46916 * sysdeps/unix/sysv/linux/s390/bits/mman.h
46917 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46918 * sysdeps/unix/sysv/linux/sh/bits/mman.h
46919 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46920 * sysdeps/unix/sysv/linux/i386/bits/mman.h
46921 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46922 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
46923 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46924 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
46925 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46926 * sysdeps/unix/sysv/linux/bits/in.h
46927 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
46928
46929 2012-05-22 Roland McGrath <roland@hack.frob.com>
46930
46931 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
46932 (PREPARE_VERSION): Just use assert instead, it will be elided
46933 under [NDEBUG] anyway.
46934
46935 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46936
46937 * sysdeps/unix/sysv/linux/Makefile: Include
46938 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
46939 (sysdep_routines): Remove sysctl.
46940 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
46941 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
46942 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
46943 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
46944 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
46945
46946 2012-05-22 Andreas Jaeger <aj@suse.de>
46947
46948 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
46949 that pseudo_end is just ret and the stack pointer is correct also
46950 for static library in error case.
46951
46952 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
46953
46954 [BZ #14122]
46955 * nss/nsswitch.c (defconfig_entries): New variable.
46956 (__nss_database_lookup): Don't leak defconfig entries.
46957 (nss_parse_service_list): Don't leak on error paths.
46958 (free_database_entries): New function.
46959 (free_defconfig): New function.
46960 (free_mem): Move common code to free_database_entries.
46961
46962 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46963
46964 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
46965 Add arch_prctl.
46966 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
46967
46968 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
46969 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
46970 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
46971 New macro.
46972 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
46973 (INTERNAL_SYSCALL_TYPES): Likewise.
46974 (LOAD_ARGS_TYPES_[1-6]): Likewise.
46975 (LOAD_REGS_TYPES_[1-6]): Likewise.
46976 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
46977 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
46978
46979 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46980
46981 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
46982 copysignl for GLIBC_2_0.
46983 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
46984 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
46985 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
46986 logbl for GLIBC_2_0.
46987 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
46988 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
46989
46990 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46991
46992 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
46993 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
46994
46995 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46996 Use "neg %eax".
46997
46998 * time/mktime.c: Update copyright years.
46999
47000 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
47001
47002 mktime: merge comment-quoting-style change from gnulib
47003 * time/mktime.c: Quote 'like this' in comments.
47004 The GNU coding standards suggest that we no longer quote `like this',
47005 as "`" and "'" are typically rendered asymmetrically nowadays.
47006 The typical gnulib style is to quote 'like this' when quoting
47007 code, and "like this" when quoting English.
47008
47009 * time/mktime.c (compile-command): Add "-I.".
47010
47011 mktime: merge mktime-internal.h change from gnulib
47012 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
47013
47014 mktime: merge time_r change from gnulib
47015 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
47016
47017 mktime: merge DEBUG change from gnulib
47018 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
47019 case system <time.h> has a #define.
47020
47021 mktime: merge <sys/types.h> change from gnulib
47022 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
47023 since <time.t> is now guaranteed to define time_t.
47024
47025 mktime: merge HAVE_CONFIG_H change from gnulib
47026 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
47027
47028 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
47029
47030 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47031 Use "neg %eax".
47032
47033 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
47034 __rlim_t cast.
47035 (struct rusage): Use anonymous union to pad each field to
47036 __syscall_slong_t.
47037
47038 2012-05-21 David S. Miller <davem@davemloft.net>
47039
47040 * Makefules (o-iterator): Remove .s cases.
47041 (compile-command.s): Delete.
47042 (COMPILE.s): Delete.
47043 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
47044
47045 2012-05-21 Joseph Myers <joseph@codesourcery.com>
47046
47047 * configure.in (libc_cv_predef_stack_protector): Only consider
47048 "foobar" and "__stack_chk_fail" lines in libc_undefs.
47049 * configure: Regenerated.
47050
47051 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
47052
47053 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47054 New macro. Use R*LP on int and pointer.
47055 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
47056 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
47057 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
47058 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
47059
47060 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
47061 [__WORDSIZE_TIME64_COMPAT32] instead of
47062 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
47063 (struct utmp): Likewise.
47064 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
47065 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
47066 Renamed to ...
47067 (__WORDSIZE_TIME64_COMPAT32): This.
47068 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
47069 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
47070 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
47071 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
47072 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
47073 (__WORDSIZE_TIME64_COMPAT32): New macro.
47074
47075 2012-05-21 Andreas Jaeger <aj@suse.de>
47076
47077 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
47078 only if [SHARED]. Add prototype for __wcschr_ia32.
47079
47080 2012-05-21 Roland McGrath <roland@hack.frob.com>
47081
47082 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
47083 of %rbp unmolested in the jmp_buf while mangling the low bits.
47084 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
47085 unmolested high bits of %rbp while demangling the low bits.
47086 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
47087
47088 2012-05-21 Andreas Jaeger <aj@suse.de>
47089
47090 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
47091 * sunrpc/svc_simple.c: Use it for registerrpc.
47092 * sunrpc/xcrypt.c: Use it for passwd2des.
47093
47094 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
47095
47096 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
47097
47098 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
47099 Don't define if [__SYSCALL_WORDSIZE != 32].
47100 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
47101 New macro.
47102
47103 2012-05-21 Bruno Haible <bruno@clisp.org>
47104 Andreas Jaeger <aj@suse.de>
47105
47106 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
47107 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
47108 inptr and inend for must_buffer_ch.
47109 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
47110 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
47111 * stdio-common/Makefile (tests): Remove bug15.
47112 (bug15-ENV): Remove macro.
47113 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
47114 anymore.
47115
47116 2012-05-19 Andreas Jaeger <aj@suse.de>
47117 Roland McGrath <roland@hack.frob.com>
47118
47119 * manual/contrib.texi: Completely rewritten. It contains now an
47120 alphabetical list of contributors and their contributions.
47121
47122 2012-05-21 Richard Henderson <rth@twiddle.net>
47123
47124 * misc/getauxval.c (__getauxval): Use unsigned long int.
47125 * misc/sys/auxv.h: Include <sys/cdefs.h>.
47126 (getauxval): Use unsigned long int.
47127
47128 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
47129
47130 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47131
47132 2012-05-21 Roland McGrath <roland@hack.frob.com>
47133
47134 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
47135 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
47136 __alignof__ (long double).
47137
47138 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47139
47140 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47141
47142 2012-05-20 Richard Henderson <rth@twiddle.net>
47143
47144 * misc/getauxval.c: New file.
47145 * misc/sys/auxv.h: New file.
47146 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
47147 (routines): Add getauxval.
47148 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
47149 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
47150 * elf/dl-sysdep.c (_dl_auxv): Remove.
47151 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
47152 * elf/dl-support.c (_dl_auxv): New variable.
47153 (_dl_aux_init): Initialize it.
47154 * manual/startup.texi (Auxiliary Vector): New node.
47155 * sysdeps/generic/bits/hwcap.h: New file.
47156 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
47157 * sysdeps/powerpc/sysdep.h: ... here. Include it.
47158 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
47159 * sysdeps/sparc/sysdep.h: ... here. Include it.
47160 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
47161 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
47162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47163 Update.
47164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
47165 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
47166 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
47167 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
47168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47169 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
47171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
47172
47173 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47174
47175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47176
47177 2012-05-19 David S. Miller <davem@davemloft.net>
47178
47179 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47180
47181 2012-05-19 Joseph Myers <joseph@codesourcery.com>
47182
47183 [BZ #14123]
47184 * math/s_ccosh.c: Include <float.h>
47185 (__ccosh): Avoid internal overflow calculating sinh and cosh
47186 values before multiplying by sin and cos values.
47187 * math/s_ccoshf.c: Likewise.
47188 * math/s_ccoshl.c: Likewise.
47189 * math/s_csin.c: Likewise.
47190 * math/s_csinf.c: Likewise.
47191 * math/s_csinl.c: Likewise.
47192 * math/s_csinh.c: Likewise.
47193 * math/s_csinhf.c: Likewise.
47194 * math/s_csinhl.c: Likewise.
47195 * math/libm-test.inc (ccos_test): Add more tests.
47196 (ccosh_test): Likewise.
47197 (csin_test): Likewise.
47198 (csinh_test): Likewise.
47199 * sysdeps/i386/fpu/libm-test-ulps: Update.
47200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47201
47202 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
47203
47204 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
47205 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
47206
47207 * sysdeps/x86_64/x32/_itoa.h: Add comment.
47208
47209 2012-05-19 Joseph Myers <joseph@codesourcery.com>
47210
47211 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
47212 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
47213 * sysdeps/powerpc/soft-fp/Versions: Likewise.
47214 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
47215 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
47216 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
47217 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
47218 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
47219 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
47220 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
47221 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
47222 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
47223 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
47224 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
47225 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
47226 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
47227 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
47228 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
47229 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
47230 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
47231 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
47232 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
47233 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
47234 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
47235 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
47236 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
47237 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
47238 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
47239 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
47240 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
47241 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
47242
47243 2012-05-18 Andreas Jaeger <aj@suse.de>
47244
47245 * csu/.gitignore: Delete.
47246
47247 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
47248
47249 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
47250 (timex): Use __syscall_slong_t.
47251
47252 2012-05-18 Andreas Jaeger <aj@suse.de>
47253 Carlos O'Donell <carlos_odonell@mentor.com>
47254
47255 * manual/install.texi (Configuring and compiling): Update
47256 description about files modified in the source directory.
47257 * INSTALL: Regenerated.
47258
47259 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
47260
47261 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
47262 value. Use "or" to set return value to -1.
47263 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
47264 negate return value.
47265
47266 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47267
47268 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
47269 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
47270 failure if the compiler has Graphite support disabled.
47271 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
47272 Likewise.
47273 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
47274 (CFLAGS-memmove.c): Likewise.
47275 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
47276 Likewise.
47277
47278 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
47279
47280 * sysdeps/x86_64/x32/_itoa.h: New file.
47281
47282 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
47283 getdents system call only if kernel and user dirents have the
47284 same d_ino and d_off.
47285
47286 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47287 LLONG_MAX != LONG_MAX.
47288 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47289 (_fitoa_word): Likewise.
47290
47291 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
47292 years.
47293 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
47294 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
47295 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
47296
47297 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
47298 include <bits/wordsize.h>. Check __x86_64__ instead of
47299 __WORDSIZE.
47300 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
47301 if __x86_64__ is defined. Use anonymous union on fpstate.
47302
47303 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
47304 anonymous union.
47305
47306 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
47307
47308 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
47309 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
47310 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
47311 Refer to _rtld_local_ro instead of _rtld_global_ro.
47312 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
47313 Likewise.
47314 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
47315 Likewise.
47316 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
47317 Likewise.
47318 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
47319 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
47320 of _rtld_global, and rtld_progname instead of _dl_argv[0].
47321
47322 * sysdeps/powerpc/powerpc32/dl-machine.c
47323 (__elf_machine_runtime_setup) [PROF]: Don't reference
47324 _dl_prof_resolve.
47325
47326 2012-05-18 Andreas Jaeger <aj@suse.de>
47327
47328 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
47329 function only available for GCCs before 3.4 since GCC 3.4
47330 introduced a builtin.
47331 (lrint): Likewise.
47332 (llrintf): Likewise.
47333 (llrint): Likewise.
47334 (fmaxf): Likewise.
47335 (fmax): Likewise.
47336 (fminf): Likewise.
47337 (fmin): Likewise.
47338 (rint): Likewise.
47339 (rintf): Likewise.
47340 (nearbyint): Likewise.
47341 (nearbyintf): Likewise.
47342 (ceil): Likewise.
47343 (ceilf): Likewise.
47344 (floor): Likewise.
47345 (floorf): Likewise.
47346
47347 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
47348
47349 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
47350 on both fields and cast pointer to __syscall_ulong_t.
47351
47352 * bits/types.h (__fsword_t): New type.
47353 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
47354 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
47355 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47356 (__FSWORD_T_TYPE): Likewise.
47357 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47358 (__FSWORD_T_TYPE): Likewise.
47359 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47360 (__FSWORD_T_TYPE): Likewise.
47361 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
47362 (__FSWORD_T_TYPE): Likewise.
47363 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
47364 __SWORD_TYPE with __fsword_t.
47365 (statfs64): Likewise.
47366
47367 2012-05-17 David S. Miller <davem@davemloft.net>
47368
47369 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
47370
47371 2012-05-17 Andreas Jaeger <aj@suse.de>
47372
47373 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
47374 warning.
47375
47376 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
47377
47378 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
47379
47380 2012-05-17 Andreas Jaeger <aj@suse.de>
47381
47382 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
47383 when it is used.
47384
47385 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
47386
47387 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
47388
47389 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
47390
47391 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
47392 * sysdeps/x86_64/tst-mallocalign1.c: New file.
47393
47394 2012-05-17 Andreas Jaeger <aj@suse.de>
47395 Carlos O'Donell <carlos_odonell@mentor.com>
47396
47397 [BZ #14059]
47398 * sysdeps/x86_64/multiarch/init-arch.h
47399 (bit_YMM_Usable): Rename to...
47400 (bit_AVX_Usable): ... this.
47401 (bit_FMA4_Usable): New macro.
47402 (bit_XMM_state): New macro.
47403 (bit_YMM_state): New macro.
47404 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
47405 [__ASSEMBLER__] (index_AVX_Usable): ... this.
47406 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
47407 (CPUID_OSXSAVE): New macro.
47408 (CPUID_AVX): New macro.
47409 (CPUID_FMA4): New macro.
47410 (index_YMM_Usable): Rename to...
47411 (index_AVX_Usable): ... this.
47412 (HAS_AVX): Use HAS_ARCH_FEATURE.
47413 (HAS_FMA4): Likewise.
47414 (HAS_YMM_USABLE): Remove.
47415 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47416 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
47417 are present.
47418 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
47419 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
47420 * sysdeps/x86_64/multiarch/Makefile: Likewise.
47421 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
47422 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
47423
47424 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
47425
47426 * math/libm-test.c: Support platforms without multiple rounding modes.
47427 * math/bug-nextafter.c: Support platforms without FP exceptions.
47428 * math/bug-nexttoward.c: Likewise.
47429 * math/test-fenv.c: Likewise.
47430 * math/test-misc.c: Likewise.
47431 * stdlib/bug-getcontext.c: Likewise.
47432
47433 2012-05-17 Andreas Jaeger <aj@suse.de>
47434
47435 * manual/examples/search.c (critter_cmp): Change signature to
47436 avoid warnings.
47437 * manual/string.texi (Collation Functions): Likewise.
47438
47439 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47440
47441 * bits/types.h: Fold copyright years.
47442 * bits/typesizes.h: Likewise.
47443 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
47444 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
47445 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
47446 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
47447 * time/time.h: Likewise.
47448
47449 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
47450
47451 [BZ #208]
47452 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
47453 in instead of returning them. Return void.
47454 (__libc_mallinfo): Accumulate over all arenas.
47455 (__malloc_stats): Adjust for change in int_mallinfo interface.
47456
47457 2012-05-16 Roland McGrath <roland@hack.frob.com>
47458
47459 [BZ #10375]
47460 * configure.in (NM): Add AC_CHECK_TOOL for it.
47461 (libc_extra_cflags): New substituted variable.
47462 Check for -fstack-protector being used implicitly.
47463 * configure: Regenerated.
47464 * config.make.in (config-extra-cflags): New variable,
47465 gets @libc_extra_cflags@.
47466 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
47467
47468 [BZ #10375]
47469 * configure.in: Check for _FORTIFY_SOURCE being predefined.
47470 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
47471 * configure: Regenerated.
47472 * config.make.in (CPPUNDEFS): New substituted variable.
47473 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
47474 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
47475 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
47476
47477 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47478
47479 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
47480 (mq_attr): Use __syscall_slong_t.
47481
47482 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47483
47484 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
47485 Check __x86_64__ instead of __WORDSIZE.
47486 (_STAT_VER_LINUX): Likewise.
47487 (stat): Check __x86_64__ instead of __WORDSIZE. Use
47488 __syscall_ulong_t and __syscall_slong_t.
47489 (stat64): Likewise.
47490
47491 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47492
47493 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
47494
47495 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47496
47497 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
47498
47499 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47500
47501 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
47502 __syscall_ulong_t.
47503
47504 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
47505 include <bits/wordsize.h>. Check __x86_64__ instead of
47506 __WORDSIZE.
47507 (greg_t): Use "__extension__ long long int" if __x86_64__ is
47508 defined.
47509 (mcontext_t): Replace "unsigned long" with "unsigned long long".
47510
47511 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
47512 include <bits/wordsize.h>. Check __x86_64__ instead of
47513 __WORDSIZE.
47514 (user_regs_struct): Use "__extension__ unsigned long long"
47515 instead of "unsigned long" if __x86_64__ is defined.
47516 (user): Likewise. Pad after pointer field if __ILP32__ is
47517 defined.
47518
47519 2012-05-16 Joseph Myers <joseph@codesourcery.com>
47520
47521 * configure.in (makeinfo): Require version 4.5 or later. Allow
47522 versions 5 to 9.
47523 * configure: Regenerated.
47524 * manual/install.texi (texinfo): Increase version requirement to
47525 4.5 or later.
47526 * INSTALL: Regenerated.
47527
47528 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
47529
47530 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47531
47532 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
47533
47534 * sysdeps/x86_64/x32/ffs.c: New file.
47535
47536 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
47537 __syscall_ulong_t.
47538 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
47539 defined. Use __syscall_ulong_t.
47540 (shminfo): Use __syscall_ulong_t.
47541 (shm_info): Likewise.
47542
47543 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
47544 __syscall_ulong_t.
47545
47546 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
47547 <bits/wordsize.h>.
47548 (msgqnum_t): Use __syscall_ulong_t.
47549 (msglen_t): Likewise.
47550 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
47551 __syscall_ulong_t.
47552
47553 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
47554 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
47555
47556 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
47557
47558 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
47559 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
47560
47561 * sysvipc/sys/msg.h (msgbuf): Replace long int with
47562 __syscall_slong_t.
47563
47564 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
47565 include <bits/wordsize.h>. Check __x86_64__ instead of
47566 __WORDSIZE.
47567
47568 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
47569 "unsigned long long int" if __x86_64__ is defined.
47570 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
47571
47572 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
47573 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
47574 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
47575
47576 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
47577 <stdint.h>.
47578 (GET_PC): Cast to uintptr_t first.
47579 (GET_FRAME): Likewise.
47580 (GET_STACK): Likewise.
47581
47582 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
47583 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
47584 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
47585 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
47586 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
47587 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
47588 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
47589 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
47590 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
47591 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
47592 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
47593 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
47594 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47595 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
47596 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
47597 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
47598 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
47599 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
47600 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
47601 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
47602 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
47603 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
47604 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
47605 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
47606 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
47607 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
47608 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
47609 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
47610 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
47611
47612 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
47613
47614 * Makerules (+depfiles): Also collect depfiles from .oS in
47615 $(extra-objs).
47616 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
47617 .oS, $(libnldbl-routines)).
47618
47619 * Makerules (native-compile-mkdep-flags): Define.
47620 * sunrpc/Makefile (extra-objs): Add $(addprefix
47621 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
47622 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
47623 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
47624 calling $(make-target-directory).
47625
47626 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47627
47628 * bits/types.h (__snseconds_t): Removed.
47629 * time/time.h (struct timespec): Replace __snseconds_t with
47630 __syscall_slong_t.
47631 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
47632 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
47633 Likewise.
47634 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47635 (__SNSECONDS_T_TYPE): Likewise.
47636 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47637 (__SNSECONDS_T_TYPE): Likewise.
47638 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47639 (__SNSECONDS_T_TYPE): Likewise.
47640
47641 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47642
47643 * sysdeps/mach/hurd/bits/typesizes.h
47644 (__SYSCALL_SLONG_TYPE): New macro.
47645 (__SYSCALL_ULONG_TYPE): Likewise.
47646
47647 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47648
47649 * bits/types.h (__syscall_slong_t): New type.
47650 (__syscall_ulong_t): Likewise.
47651
47652 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
47653 (__SYSCALL_ULONG_TYPE): Likewise.
47654 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47655 (__SYSCALL_SLONG_TYPE): Likewise.
47656 (__SYSCALL_ULONG_TYPE): Likewise.
47657 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47658 (__SYSCALL_SLONG_TYPE): Likewise.
47659 (__SYSCALL_ULONG_TYPE): Likewise.
47660 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47661 (__SYSCALL_SLONG_TYPE): Likewise.
47662 (__SYSCALL_ULONG_TYPE): Likewise.
47663
47664 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47665
47666 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
47667 Add sigaltstack-offsets.sym.
47668 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
47669 <sigaltstack-offsets.h>.
47670 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
47671 longjmp_msg pointer.
47672 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
47673 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
47674 signal stack.
47675 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
47676
47677 2012-05-15 Joseph Myers <joseph@codesourcery.com>
47678
47679 * elf/stackguard-macros.h: Remove file.
47680 * sysdeps/generic/stackguard-macros.h: New file.
47681 * sysdeps/i386/stackguard-macros.h: Likewise.
47682 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47683 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47684 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47685 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47686 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47687 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47688 * sysdeps/x86_64/stackguard-macros.h: Likewise.
47689 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
47690 <elf/stackguard-macros.h>.
47691
47692 [BZ #14109]
47693 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
47694 __aligned__ in attribute.
47695 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
47696 (gregset_t): Likewise.
47697
47698 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47699
47700 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
47701 * sysdeps/x86_64/64/Implies-after: Here. New file.
47702 * sysdeps/x86_64/x32/Implies-after: New file.
47703
47704 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47705
47706 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
47707 and access return value for _dl_profile_fixup. Use R10_LP to
47708 load frame size.
47709
47710 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47711
47712 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
47713
47714 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47715
47716 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
47717 * sysdeps/x86_64/x32/sysdep.h: New file.
47718
47719 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47720
47721 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
47722 * sysdeps/x86_64/setjmp.S: Likewise.
47723
47724 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47725
47726 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
47727 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
47728 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
47729 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
47730 remove unused global constant.
47731
47732 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
47733
47734 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
47735 include of <not-cancel.h>.
47736
47737 2012-05-15 Roland McGrath <roland@hack.frob.com>
47738
47739 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
47740
47741 2012-05-15 Jeff Law <law@redhat.com>
47742 Andreas Jaeger <aj@suse.de>
47743
47744 [BZ #13594]
47745 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
47746 out from...
47747 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
47748 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
47749 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
47750 code changing __hst_map_handle.map.
47751
47752 2012-05-15 Roland McGrath <roland@hack.frob.com>
47753
47754 * configure.in (sysnames): Look for Implies-before and Implies-after
47755 files.
47756 * configure: Regenerated.
47757
47758 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47759
47760 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
47761 8-byte data alignment with LP_SIZE alignment.
47762
47763 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47764
47765 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
47766 into R10_LP.
47767
47768 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47769
47770 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
47771
47772 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47773
47774 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
47775 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
47776 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
47777 Likewise.
47778 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47779
47780 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47781
47782 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
47783 (stackinfo_sub_sp): Likewise.
47784
47785 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47786
47787 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
47788 RAX_LP.
47789
47790 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47791
47792 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
47793 into R*_LP.
47794
47795 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47796
47797 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
47798 sizes into R*_LP.
47799
47800 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47801
47802 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
47803
47804 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47805
47806 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
47807 into R11_LP and load __x86_64_shared_cache_size_half into
47808 R8_LP.
47809
47810 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47811
47812 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
47813 R8_LP.
47814
47815 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47816
47817 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
47818 logb for POWER7.
47819 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
47820 logbf for POWER7.
47821 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
47822 logbl for POWER7.
47823 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
47824 powerpc32/power7/fpu/s_logb.c via #include.
47825 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
47826 powerpc32/power7/fpu/s_logbf.c via #include.
47827 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
47828 powerpc32/power7/fpu/s_logbl.c via #include.
47829
47830 2012-05-15 Joseph Myers <joseph@codesourcery.com>
47831
47832 * README.libm: Remove file.
47833
47834 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47835
47836 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
47837 count for x32. Use R*_LP and omit operand-size suffix.
47838
47839 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47840
47841 * shlib-versions: Move x86_64-.*-linux.* entries to ...
47842 * sysdeps/x86_64/64/shlib-versions: Here. New file.
47843 * sysdeps/x86_64/x32/shlib-versions: New file.
47844
47845 2012-05-14 Roland McGrath <roland@hack.frob.com>
47846
47847 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
47848 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
47849 Use _dl_fatal_printf instead.
47850
47851 2012-05-14 Joseph Myers <joseph@codesourcery.com>
47852
47853 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
47854 set if not set by the user. Do not allow for being unset.
47855 * sysdeps/unix/sysv/linux/configure: Regenerated.
47856
47857 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47858
47859 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
47860 the `q' suffix from lea and replace .quad with ASM_ADDR.
47861
47862 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47863
47864 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
47865 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
47866 instead of $17.
47867 (PTR_DEMANGLE): Likewise.
47868
47869 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47870
47871 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
47872 (LP_OP): Likewise.
47873 (ASM_ADDR): Likewise.
47874 (RAX_LP): Likewise.
47875 (RBP_LP): Likewise.
47876 (RBX_LP): Likewise.
47877 (RCX_LP): Likewise.
47878 (RDI_LP): Likewise.
47879 (RSI_LP): Likewise.
47880 (RSP_LP): Likewise.
47881 (R8_LP): Likewise.
47882 (R9_LP): Likewise.
47883 (R10_LP): Likewise.
47884 (R10_LP): Likewise.
47885 (R11_LP): Likewise.
47886 (R12_LP): Likewise.
47887 (R13_LP): Likewise.
47888 (R14_LP): Likewise.
47889 (R15_LP): Likewise.
47890
47891 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47892
47893 * sysdeps/x86_64/x32/dl-machine.h: New file.
47894
47895 2012-05-14 Andreas Jaeger <aj@suse.de>
47896
47897 * manual/Makefile (subdir): Remove export of subdir.
47898 (all): Remove target.
47899 (.PHONY): Remove all from list.
47900 (mkinstalldirs): Remove.
47901 (.PHONY): Remove installdirs from list.
47902 ($(inst_infodir)/libc.info): Use make-target-directory.
47903 (installdirs): Remove.
47904 (subdir_%): Remove.
47905 (glibc-targets): Remove.
47906 (lib): Remove.
47907 (stubs): Remove.
47908 ($(objpfx)stubs ../po/manual.pot): Remove.
47909 ($(objpfx)stamp%): Remove.
47910 (make-target-directory): Remove.
47911 (subdir_install): Remove.
47912 (routines): Remove.
47913 (aux): Remove.
47914 (sources): Remove.
47915 (objects): Remove.
47916 (headers): Remove.
47917
47918 [BZ #13750]
47919 * manual/.gitignore: Remove, it's not needed anymore.
47920 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
47921 all files in it.
47922 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
47923 directory.
47924 (texis): Renamed to $(objpfx)texis.
47925 (texis-path): New, contains path to generated files.
47926 (chapters.%): Use texis-path for complete path, add extra argument
47927 libc-texinfo.sh.
47928 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
47929 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
47930 (summary,texi, stamp-summary): Use complete path of
47931 files. Generate files in build dir.
47932 (dir-add.texi): Build in build dir.
47933 (libm-err.texi,stamp-libm-err): Likewise.
47934 (version.texi, stamp-version): Likewise.
47935 (.%c.texi): Likewise.
47936 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
47937 (mostlyclean): Remove target.
47938 (realclean): Remove target.
47939 (generated): Add new variable with contents from mostlyclean and
47940 realclean, remove entries duplicated in common-mostlyclean, add
47941 stamp-libm-err and stamp-version.
47942 (generated-dirs): Add libc directory.
47943 ($(inst_infodir)/libc.info): Install files from build dir.
47944
47945 * manual/install.texi (Configuring and compiling): Adjust since
47946 the info files are not part of the tar ball anymore.
47947
47948 2012-05-14 Andreas Jaeger <aj@suse.de>
47949
47950 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
47951 variable.
47952
47953 2012-05-14 Joseph Myers <joseph@codesourcery.com>
47954
47955 [BZ #13717]
47956 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
47957 to 2.2.0 where earlier.
47958 * sysdeps/unix/sysv/linux/configure: Regenerated.
47959 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
47960 Remove conditional code.
47961 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
47962 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
47963 Remove conditional code.
47964 [!__NR_lchown]: Likewise.
47965 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47966 [__NR_lchown]: Likewise.
47967 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
47968 comment referencing __ASSUME_LCHOWN_SYSCALL.
47969 * sysdeps/unix/sysv/linux/i386/sigaction.c
47970 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47971 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47972 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
47973 Remove conditional code.
47974 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
47975 (__protocol_available): Remove #if 0 code.
47976 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
47977 conditional code.
47978 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
47979 * sysdeps/unix/sysv/linux/kernel-features.h
47980 (__ASSUME_GETCWD_SYSCALL): Don't define.
47981 (__ASSUME_REALTIME_SIGNALS): Likewise.
47982 (__ASSUME_PREAD_SYSCALL): Likewise.
47983 (__ASSUME_PWRITE_SYSCALL): Likewise.
47984 (__ASSUME_POLL_SYSCALL): Likewise.
47985 (__ASSUME_LCHOWN_SYSCALL): Likewise.
47986 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
47987 non-SPARC.
47988 (__ASSUME_SIOCGIFNAME): Don't define.
47989 (__ASSUME_MSG_NOSIGNAL): Likewise.
47990 (__ASSUME_SENDFILE): Define unconditionally.
47991 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
47992 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
47993 conditional code.
47994 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
47995 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
47996 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47997 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47998 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
47999 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48000 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
48002 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48003 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
48005 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48006 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
48008 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48009 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
48011 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48012 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
48014 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48015 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
48017 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48018 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
48020 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48021 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
48023 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48024 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48025 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
48026 Remove conditional code.
48027 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48028 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48029 Remove conditional code.
48030 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48031 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
48032 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
48033 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48034 Remove conditional code.
48035 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48036 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
48037 Remove conditional code.
48038 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48039 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
48040 Remove conditional code.
48041 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48042 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48043 Remove conditional code.
48044 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48045 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48046 Remove conditional code.
48047 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48048 * sysdeps/unix/sysv/linux/sh/pwrite64.c
48049 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48050 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48051 * sysdeps/unix/sysv/linux/sigaction.c
48052 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48053 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48054 * sysdeps/unix/sysv/linux/sigpending.c
48055 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48056 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48057 * sysdeps/unix/sysv/linux/sigprocmask.c
48058 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48059 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48060 * sysdeps/unix/sysv/linux/sigsuspend.c
48061 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48062 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48063 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48064 (__libc_missing_rt_sigs): Remove.
48065 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
48066 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
48067 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
48068 Remove conditional code.
48069 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
48070 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
48071 return 1.
48072 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
48073 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
48074 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
48075 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
48076
48077 2012-05-14 Andreas Jaeger <aj@suse.de>
48078
48079 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
48080 it's not used in glibc.
48081 (__coshm1): Likewise.
48082 (__acosh1p): Likewise.
48083 (__sgn): Likewise.
48084
48085 * manual/string.texi (Copying and Concatenation): Add missing
48086 variable in concat example.
48087 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
48088
48089 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48090
48091 [BZ #14103]
48092 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
48093 __builtin_clzl with __builtin_clzll.
48094
48095 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48096
48097 [BZ #14104]
48098 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
48099 libc_freeres_ptr.
48100
48101 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48102
48103 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
48104 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
48105 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
48106 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
48107
48108 2012-05-14 Mike Frysinger <vapier@gentoo.org>
48109
48110 * NEWS: Update ia64 info.
48111
48112 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
48113
48114 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
48115 used as bcopy.
48116
48117 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
48118
48119 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
48120 * sysdeps/unix/syscalls.list (dup3): Likewise.
48121 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
48122 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
48123
48124 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
48125
48126 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
48127 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
48128
48129 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
48130
48131 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
48132 thread pointer.
48133 (TLS_IE): Use mov/add instead of movq/addq to load thread
48134 pointer.
48135 (TLS_GD_PREFIX): New.
48136 (TLS_GD): Use it.
48137
48138 2012-05-11 David S. Miller <davem@davemloft.net>
48139
48140 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
48141 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
48142 (_FPU_SETCW): Likewise.
48143
48144 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
48145
48146 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
48147 is 32-byte aligned.
48148
48149 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
48150
48151 [BZ #11837]
48152 * iconvdata/gb18030.c: Update tables.
48153 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
48154 characters specially.
48155 (BODY for TO_LOOP): Add encoding of missing ranges.
48156
48157 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
48158
48159 [BZ #13673]
48160 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
48161 * sysdeps/mach/hurd/dup3.c: Likewise.
48162 * sysdeps/mach/hurd/readlinkat.c: Likewise.
48163 * sysdeps/powerpc/memmove.c:: Likewise.
48164
48165 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
48166
48167 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
48168 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
48169
48170 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
48171
48172 * elf/elf.h (R_X86_64_RELATIVE64): New.
48173 (R_X86_64_NUM): Updated.
48174 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
48175 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
48176 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
48177 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
48178 tst-quad1pie tst-quad2pie
48179 (modules-names): Add tst-quadmod1 tst-quadmod2.
48180 ($(objpfx)tst-quad1): New dependency.
48181 ($(objpfx)tst-quad2): Likewise.
48182 ($(objpfx)tst-quad1pie): Likewise.
48183 ($(objpfx)tst-quad2pie): Likewise.
48184 * sysdeps/x86_64/tst-quad1.c: New file.
48185 * sysdeps/x86_64/tst-quad1pie.c: New file.
48186 * sysdeps/x86_64/tst-quad2.c: Likewise.
48187 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
48188 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
48189 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
48190 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
48191 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
48192
48193 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48194
48195 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
48196 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
48197 * streams/stropts.h (t_scalar_t): Define type.
48198
48199 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
48200 (_PATH_PRESERVE): Set to "/var/lib".
48201 (_PATH_RWHODIR): Set to "/var/spool/rwho".
48202
48203 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
48204 instead of int.
48205
48206 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
48207 if __dir_mkfile succeeded.
48208
48209 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
48210 checking for _hurd_dtablesize. Unlock it right after having
48211 finished _hurd_dtable allocation.
48212
48213 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48214
48215 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
48216 * sysdeps/mach/hurd/configure: Regenerated.
48217 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
48218 special-casing to...
48219 * sysdeps/gnu/configure.in: ... this new file.
48220 * sysdeps/unix/sysv/linux/configure: Regenerated.
48221 * sysdeps/gnu/configure: New generated file.
48222
48223 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
48224 for Linux: use nsec instead of usec, as well as:
48225 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
48226 members of type struct timespec.
48227 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
48228 New macros.
48229 (struct stat64): Likewise.
48230 (_STATBUF_ST_NSEC): New macro.
48231 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
48232
48233 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
48234 __strtoul_internal rather than strtoul.
48235
48236 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
48237
48238 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
48239 and reject them.
48240
48241 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48242
48243 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
48244 which preserves existing values.
48245 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
48246
48247 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
48248
48249 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
48250 TIMEOUT values. Return EINVAL for NFDS values either negative or
48251 greater than FD_SETSIZE.
48252
48253 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48254
48255 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
48256 allocated, call __vm_protect to finish enabling the existing space, and
48257 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
48258 allocate the remainder.
48259
48260 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
48261
48262 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
48263 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
48264
48265 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48266
48267 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
48268 sysdeps/mach/hurd/readlink.c.
48269
48270 * posix/tst-sysconf.c (posix_options): Only use
48271 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
48272 _POSIX_SYNCHRONIZED_IO when they are defined
48273 * sysdeps/mach/hurd/bits/posix_opt.h:
48274 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
48275 (_XOPEN_REALTIME): Undefine macro.
48276 (_XOPEN_REALTIME_THREADS): Undefine macro.
48277 (_XOPEN_SHM): Undefine macro.
48278 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
48279 macro to -1.
48280 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
48281 macro to -1.
48282 (_POSIX_ASYNC_IO): Undefine macro.
48283 (_POSIX_PRIORITIZED_IO): Undefine macro.
48284 (_POSIX_SPIN_LOCKS): Define macro to -1.
48285
48286 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
48287 SA_NODEFER, SA_RESETHAND.
48288 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
48289 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
48290 F_DUPFD_CLOEXEC.
48291
48292 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48293
48294 * elf/Makefile (pldd-modules): Define unconditionally.
48295
48296 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48297
48298 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
48299
48300 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48301
48302 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
48303 Return ENOENT when name is empty.
48304 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
48305
48306 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48307
48308 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
48309
48310 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
48311
48312 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48313
48314 Fix mlock in all cases except non-readable pages.
48315 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
48316 instead of VM_PROT_ALL as parameter to __vm_wire function.
48317
48318 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
48319 (__mkdir): When path is `/', just fail with EEXIST.
48320 * sysdeps/mach/hurd/mkdirat.c: Likewise.
48321
48322 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48323
48324 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
48325 <sys/uio.h> (for writev).
48326 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
48327 and <sys/param.h> (for MIN).
48328
48329 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
48330
48331 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
48332 REQUESTED_TIME. Properly set the remaining time and return EINTR
48333 if interrupted.
48334
48335 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48336
48337 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
48338 Depend on against $(link-rpcuserlibs).
48339
48340 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48341
48342 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
48343 (__libc_stack_end): Do not use attribute_relro.
48344 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
48345 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
48346 to libthread-provided value.
48347 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
48348 attribute_relro.
48349
48350 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48351
48352 [BZ #3748]
48353 * bits/libc-lock.h (__libc_once_get): New macro.
48354 * sysdeps/mach/bits/libc-lock.h: Likewise.
48355 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
48356 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
48357 instead of using implementation details.
48358
48359 * libio/fileops.c: Unconditionally include <kernel-features.h>.
48360 * libio/freopen.c: Likewise.
48361 * libio/freopen64.c: Likewise.
48362 * misc/syslog.c: Likewise.
48363 * nscd/connections.c: Likewise.
48364 * nscd/netgroupcache.c: Likewise.
48365 * sysdeps/posix/getcwd.c: Likewise.
48366
48367 2012-05-10 Roland McGrath <roland@hack.frob.com>
48368
48369 * math/w_ilogbf.c: Add #include <limits.h>.
48370
48371 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48372
48373 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
48374 path instead of returning without unlocking.
48375
48376 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
48377 immediate-write ioctls.
48378 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
48379
48380 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48381
48382 * sysdeps/mach/hurd/i386/init-first.c (init): Use
48383 __builtin_frame_address instead of making assumptions about the
48384 location of the return address relative to DATA. Force early load of
48385 the return address.
48386 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
48387 __builtin_frame_address.
48388
48389 dup3 for GNU Hurd.
48390 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
48391 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
48392 implement dup3 and do some further code clean-ups.
48393 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
48394 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
48395
48396 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48397
48398 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
48399
48400 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
48401 HURD_CRITICAL_END around holding _hurd_dtable_lock.
48402 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
48403 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
48404 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
48405 d->port.lock.
48406
48407 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
48408 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
48409 when handler == SIG_ERR, not when handler != SIG_ERR.
48410
48411 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48412
48413 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
48414 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
48415 definitions.
48416
48417 accept4 for GNU Hurd.
48418 * include/sys/socket.h (__libc_accept4): New prototype.
48419 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
48420 to implement __libc_accept4.
48421 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
48422 __libc_accept4.
48423 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
48424
48425 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
48426 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
48427 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
48428 signal-defines.sym.
48429
48430 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48431
48432 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
48433
48434 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48435
48436 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
48437 assertion on O_CLOEXEC flag.
48438 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
48439 * hurd/intern-fd.c: Likewise.
48440 * hurd/port2fd.c: Likewise.
48441
48442 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48443
48444 [BZ #3906]
48445 * bits/in.h (IPV6_PKTINFO): Define new macro.
48446 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
48447
48448 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48449
48450 [BZ #13954]
48451 [BZ #13955]
48452 [BZ #13956]
48453 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
48454 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48455 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
48456 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48457 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48458 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48459 * math/libm-test.inc (logb_test) : Additional logb tests.
48460
48461 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
48462 Andreas Jaeger <aj@suse.de>
48463
48464 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
48465 * configure: Regenerated.
48466 * config.h.in (LINK_OBSOLETE_RPC): New macro.
48467 * config.make.in (link-obsolete-rpc): New substituted variable.
48468 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
48469 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
48470 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48471 (shared-only-routines): Don't set it under [link-obsolete-rpc],
48472 so that libc.a contains the symbols.
48473 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48474 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
48475 * sunrpc/auth_none.c: Likewise.
48476 * sunrpc/auth_unix.c: Likewise.
48477 * sunrpc/authdes_prot.c: Likewise.
48478 * sunrpc/authuxprot.c: Likewise.
48479 * sunrpc/clnt_gen.c: Likewise.
48480 * sunrpc/clnt_perr.c: Likewise.
48481 * sunrpc/clnt_raw.c: Likewise.
48482 * sunrpc/clnt_simp.c: Likewise.
48483 * sunrpc/clnt_tcp.c: Likewise.
48484 * sunrpc/clnt_udp.c: Likewise.
48485 * sunrpc/clnt_unix.c: Likewise.
48486 * sunrpc/des_crypt.c: Likewise.
48487 * sunrpc/des_soft.c: Likewise.
48488 * sunrpc/get_myaddr.c: Likewise.
48489 * sunrpc/key_call.c: Likewise.
48490 * sunrpc/key_prot.c: Likewise.
48491 * sunrpc/netname.c: Likewise.
48492 * sunrpc/pm_getmaps.c: Likewise.
48493 * sunrpc/pm_getport.c: Likewise.
48494 * sunrpc/pmap_clnt.c: Likewise.
48495 * sunrpc/pmap_prot.c: Likewise.
48496 * sunrpc/pmap_prot2.c: Likewise.
48497 * sunrpc/pmap_rmt.c: Likewise.
48498 * sunrpc/publickey.c: Likewise.
48499 * sunrpc/rpc_cmsg.c: Likewise.
48500 * sunrpc/rpc_common.c: Likewise.
48501 * sunrpc/rpc_dtable.c: Likewise.
48502 * sunrpc/rpc_prot.c: Likewise.
48503 * sunrpc/rpc_thread.c: Likewise.
48504 * sunrpc/rtime.c: Likewise.
48505 * sunrpc/svc.c: Likewise.
48506 * sunrpc/svc_auth.c: Likewise.
48507 * sunrpc/svc_raw.c: Likewise.
48508 * sunrpc/svc_run.c: Likewise.
48509 * sunrpc/svc_tcp.c: Likewise.
48510 * sunrpc/svc_udp.c: Likewise.
48511 * sunrpc/svc_unix.c: Likewise.
48512 * sunrpc/svcauth_des.c: Likewise.
48513 * sunrpc/xcrypt.c: Likewise.
48514 * sunrpc/xdr.c: Likewise.
48515 * sunrpc/xdr_array.c: Likewise.
48516 * sunrpc/xdr_float.c: Likewise.
48517 * sunrpc/xdr_intXX_t.c: Likewise.
48518 * sunrpc/xdr_mem.c: Likewise.
48519 * sunrpc/xdr_rec.c: Likewise.
48520 * sunrpc/xdr_ref.c: Likewise.
48521 * sunrpc/xdr_sizeof.c: Likewise.
48522 * sunrpc/xdr_stdio.c: Likewise.
48523
48524 2012-05-10 Roland McGrath <roland@hack.frob.com>
48525
48526 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
48527 change. Update copyright years.
48528
48529 2012-05-10 Joseph Myers <joseph@codesourcery.com>
48530
48531 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
48532
48533 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
48534 Joseph Myers <joseph@codesourcery.com>
48535 Paul Pluzhnikov <ppluzhnikov@google.com>
48536
48537 [BZ #14012]
48538 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
48539 requiring rpcgen.
48540 [cross-compiling] (extra-libs): Likewise.
48541 [cross-compiling] (extra-libs-others): Likewise.
48542 [cross-compiling] (librpcsvc-routines): Likewise.
48543 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
48544 [cross-compiling] (omit-deps): Likewise.
48545 (sunrpc-CPPFLAGS): New variable.
48546 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
48547 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
48548 (cross-rpcgen-objs): New variable.
48549 (extra-objs): Append $(cross-rpcgen-objs).
48550 ($(cross-rpcgen-objs)): New rule.
48551 ($(objpfx)cross-rpcgen): Likewise.
48552 (rpcgen-cmd): Define to use $(built-program-file). Expand
48553 comment.
48554 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
48555 ($(objpfx)x%.stmp): Likewise.
48556 * sunrpc/proto.h [IS_IN_build] (_): Define.
48557 [IS_IN_build] (_libc_intl_domainname): Likewise.
48558
48559 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
48560
48561 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
48562 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
48563 and R_X86_64_TPOFF64.
48564
48565 2012-05-10 Joseph Myers <joseph@codesourcery.com>
48566
48567 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
48568 sysdeps/unix/sysv/syscalls.list.
48569 (stime): Likewise.
48570 (utime): Likewise.
48571 * sysdeps/unix/sysv/syscalls.list: Remove file.
48572
48573 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
48574
48575 [BZ #3440]
48576 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
48577 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
48578 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
48579 (__LC_IDENTIFICATION): Make these macros useful in #if
48580 expressions, as required by C99.
48581
48582 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
48583
48584 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
48585 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
48586 after this.
48587
48588 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
48589
48590 * stdlib/longlong.h: Updated from GCC.
48591
48592 2012-05-09 Andreas Jaeger <aj@suse.de>
48593
48594 * nscd/nscd.c (run_modes): Make named enum, reorder so that
48595 default is first entry.
48596 (run_mode): Set type.
48597 (main): Remove informal message about syslog.
48598 (options): Fix typo.
48599
48600 [BZ #14053]
48601 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
48602 to asm.
48603 (lrint): Likewise.
48604 (llrintf): Likewise.
48605 (llrint): Likewise.
48606 (rint): Likewise.
48607 (rintf): Likewise.
48608 (nearbyint): Likewise.
48609 (nearbyintf): Likewise.
48610
48611 2012-05-09 Andreas Jaeger <aj@suse.de>
48612 Pedro Alves <palves@redhat.com>
48613
48614 * nscd/nscd.c (run_mode): Use enum.
48615 (main): Cleanup coding style issue.
48616
48617 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
48618 Andreas Jaeger <aj@suse.de>
48619
48620 * nscd/nscd.c (go_background): Replaced with...
48621 (run_mode): ... this.
48622 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
48623 (options): Add -F --foreground.
48624 (main): Implement it.
48625 (parse_opt): Parse it.
48626
48627 2012-05-09 Andreas Jaeger <aj@suse.de>
48628
48629 [BZ #14083]
48630 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
48631 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
48632 -Wconversion warning.
48633 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
48634 Likewise.
48635
48636 2012-05-09 Joseph Myers <joseph@codesourcery.com>
48637
48638 * conform/data/locale.h-data (NULL): Use macro-constant. Require
48639 == 0.
48640 (LC_ALL): Use macro-int-constant.
48641 (LC_COLLATE): Likewise.
48642 (LC_CTYPE): Likewise.
48643 (LC_MESSAGES): Likewise.
48644 (LC_MONETARY): Likewise.
48645 (LC_NUMERIC): Likewise.
48646 (LC_TIME): Likewise.
48647 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
48648 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48649 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48650 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
48651 Specify type.
48652 [C99-based standards] (float_t): Expect type.
48653 [C99-based standards] (double_t): Expect type.
48654 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
48655 type.
48656 [C99-based standards] (HUGE_VALL): Likewise.
48657 [C99-based standards] (INFINITY): Likewise.
48658 [C99-based standards] (NAN): Likewise.
48659 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
48660 [C99-based standards] (FP_NAN): Likewise.
48661 [C99-based standards] (FP_NORMAL): Likewise.
48662 [C99-based standards] (FP_SUBNORMAL): Likewise.
48663 [C99-based standards] (FP_ZERO): Likewise.
48664 [C99-based standards] (FP_FAST_FMA): Use
48665 optional-macro-int-constant. Specify type. Require == 1.
48666 [C99-based standards] (FP_FAST_FMAF): Likewise.
48667 [C99-based standards] (FP_FAST_FMAL): Likewise.
48668 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
48669 [C99-based standards] (FP_ILOGBNAN): Likewise.
48670 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
48671 Specify type.
48672 [C99-based standards] (MATH_ERREXCEPT): Likewise.
48673 [C99-based standards] (math_errhandling): Specify type.
48674 [ISO99 || ISO11] (signgam): Do not allow.
48675 [non-C99-based standards] (copysignf): Do not allow.
48676 [non-C99-based standards] (exp2f): Likewise.
48677 [non-C99-based standards] (log2f): Likewise.
48678 [non-C99-based standards] (modff): Allow.
48679 [non-C99-based standards] (erff): Do not allow.
48680 [non-C99-based standards] (erfcf): Likewise.
48681 [non-C99-based standards] (gammaf): Likewise.
48682 [non-C99-based standards] (hypotf): Likewise.
48683 [non-C99-based standards] (j0f): Likewise.
48684 [non-C99-based standards] (j1f): Likewise.
48685 [non-C99-based standards] (jnf): Likewise.
48686 [non-C99-based standards] (lgammaf): Likewise.
48687 [non-C99-based standards] (tgammaf): Likewise.
48688 [non-C99-based standards] (y0f): Likewise.
48689 [non-C99-based standards] (y1f): Likewise.
48690 [non-C99-based standards] (ynf): Likewise.
48691 [non-C99-based standards] (isnanf): Likewise.
48692 [non-C99-based standards] (acoshf): Likewise.
48693 [non-C99-based standards] (asinhf): Likewise.
48694 [non-C99-based standards] (atanhf): Likewise.
48695 [non-C99-based standards] (cbrtf): Likewise.
48696 [non-C99-based standards] (expm1f): Likewise.
48697 [non-C99-based standards] (ilogbf): Likewise.
48698 [non-C99-based standards] (log1pf): Likewise.
48699 [non-C99-based standards] (logbf): Likewise.
48700 [non-C99-based standards] (nextafterf): Likewise.
48701 [non-C99-based standards] (remainderf): Likewise.
48702 [non-C99-based standards] (rintf): Likewise.
48703 [non-C99-based standards] (scalbf): Likewise.
48704 [non-C99-based standards] (copysignl): Likewise.
48705 [non-C99-based standards] (exp2l): Likewise.
48706 [non-C99-based standards] (log2l): Likewise.
48707 [non-C99-based standards] (modfl): Allow.
48708 [non-C99-based standards] (erfl): Do not allow.
48709 [non-C99-based standards] (erfcl): Likewise.
48710 [non-C99-based standards] (gammal): Likewise.
48711 [non-C99-based standards] (hypotl): Likewise.
48712 [non-C99-based standards] (j0l): Likewise.
48713 [non-C99-based standards] (j1l): Likewise.
48714 [non-C99-based standards] (jnl): Likewise.
48715 [non-C99-based standards] (lgammal): Likewise.
48716 [non-C99-based standards] (tgammal): Likewise.
48717 [non-C99-based standards] (y0l): Likewise.
48718 [non-C99-based standards] (y1l): Likewise.
48719 [non-C99-based standards] (ynl): Likewise.
48720 [non-C99-based standards] (isnanl): Likewise.
48721 [non-C99-based standards] (acoshl): Likewise.
48722 [non-C99-based standards] (asinhl): Likewise.
48723 [non-C99-based standards] (atanhl): Likewise.
48724 [non-C99-based standards] (cbrtl): Likewise.
48725 [non-C99-based standards] (expm1l): Likewise.
48726 [non-C99-based standards] (ilogbl): Likewise.
48727 [non-C99-based standards] (log1pl): Likewise.
48728 [non-C99-based standards] (logbl): Likewise.
48729 [non-C99-based standards] (nextafterl): Likewise.
48730 [non-C99-based standards] (remainderl): Likewise.
48731 [non-C99-based standards] (rintl): Likewise.
48732 [non-C99-based standards] (scalbl): Likewise.
48733 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48734 [non-C99-based standards] (FP_*): Do not allow.
48735 [C99-based standards] (FP_*): Change to
48736 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48737 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48738 allow.
48739 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
48740 (SIG_ERR): Likewise.
48741 [X/Open-based standards] (SIG_HOLD): Likewise.
48742 (SIG_IGN): Likewise.
48743 (SIGABRT): Use macro-int-constant. Specify type. Require
48744 positive value.
48745 (SIGFPE): Likewise.
48746 (SIGILL): Likewise.
48747 (SIGINT): Likewise.
48748 (SIGSEGV): Likewise.
48749 (SIGTER): Likewise.
48750 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
48751 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
48752 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
48753 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
48754 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
48755 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
48756 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
48757 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
48758 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
48759 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
48760 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
48761 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
48762 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
48763 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
48764 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
48765 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
48766 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
48767 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
48768 [X/Open-based standards] (SIGTRAP): Likewise.
48769 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
48770 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
48771 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
48772 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
48773 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48774 allow.
48775
48776 2012-05-08 Ian Wienand <ianw@vmware.com>
48777
48778 [BZ #14080]
48779 * time/tzset.c (__tzset_parse_tz): Update default rules for
48780 daylight time changes in the Energy Policy Act of 2005.
48781
48782 2012-05-09 Andreas Jaeger <aj@suse.de>
48783
48784 [BZ #13983]
48785 * elf/ldconfig.c (parse_conf): Change string to make clear that
48786 ldconfig only issued a warning if ld.so.conf does not exist.
48787
48788 2012-05-08 David S. Miller <davem@davemloft.net>
48789
48790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
48791 movxtod instead of popping the value on the stack.
48792
48793 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48794
48795 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
48796
48797 * config.h.in: Add HAVE_ARM_PCS_VFP.
48798
48799 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
48800
48801 [BZ #13979]
48802 * include/features.h: Warn if user requests __FORTIFY_SOURCE
48803 checking but the checks are disabled for any reason.
48804
48805 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
48806
48807 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
48808 and ELF64_R_TYPE with ELFW(R_TYPE).
48809
48810 2012-05-08 Joseph Myers <joseph@codesourcery.com>
48811
48812 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
48813 (ulimit): Likewise.
48814
48815 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
48816 (settimeofday): Likewise.
48817
48818 2012-05-08 Mike Frysinger <vapier@gentoo.org>
48819
48820 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
48821 a struct th_u2 inside the union, and move tu_block/tu_code into
48822 a new th_u3 union of tu_block/tu_code inside of that. Move
48823 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
48824 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
48825 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
48826 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
48827 (th_stuff): Change to th_u1.tu_stuff.
48828 (th_data): Define.
48829 (th_msg): Change to th_u1.th_u2.tu_data.
48830
48831 2012-05-07 David S. Miller <davem@davemloft.net>
48832
48833 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48834
48835 [BZ #14074]
48836 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
48837 (SETUP_PIC_REG): Use it.
48838 (SETUP_PIC_REG_LEAF): Use it.
48839
48840 2012-05-07 Joseph Myers <joseph@codesourcery.com>
48841
48842 [BZ #13885]
48843 [BZ #13923]
48844 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48845 USE_AS_EXPM1L.
48846 (EXPL_FINITE): Likewise.
48847 (FLDLOG): Likewise.
48848 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48849 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48850 e_expl.S.
48851 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48852 USE_AS_EXPM1L.
48853 (EXPL_FINITE): Likewise.
48854 (FLDLOG): Likewise.
48855 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48856 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48857 e_expl.S.
48858 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
48859 test of -max_value argument for long double.
48860 * sysdeps/i386/fpu/libm-test-ulps: Update.
48861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48862
48863 2012-05-06 David S. Miller <davem@davemloft.net>
48864
48865 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
48866 quad soft-float symbols whose references which are compiler
48867 generated.
48868 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48869
48870 2012-05-06 Joseph Myers <joseph@codesourcery.com>
48871
48872 [BZ #13884]
48873 [BZ #13914]
48874 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48875 USE_AS_EXP10L.
48876 (EXPL_FINITE): Likewise.
48877 (FLDLOG): Likewise.
48878 (c0): Likewise.
48879 (c1): Likewise.
48880 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
48881 Adjust comments for base varying.
48882 (__expl_finite): Change alias to EXPL_FINITE.
48883 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
48884 e_expl.S.
48885 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
48886 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
48887 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
48888 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
48889 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48890 USE_AS_EXP10L.
48891 (EXPL_FINITE): Likewise.
48892 (FLDLOG): Likewise.
48893 (c0): Likewise.
48894 (c1): Likewise.
48895 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
48896 Adjust comments for base varying.
48897 (__expl_finite): Change alias to EXPL_FINITE.
48898 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
48899 tests for bugs.
48900 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48901
48902 [BZ #14064]
48903 * math/libm-test.inc (check_float_internal): Correct ulp
48904 calculation for subnormal expected results.
48905
48906 2012-05-06 Andreas Jaeger <aj@suse.de>
48907
48908 * Makeconfig (+math-flags): New, set to -frounding-math.
48909 (+cflags): Add +math-flags so that all of glibc gets compiled with
48910 it.
48911
48912 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
48913
48914 2012-05-05 Joseph Myers <joseph@codesourcery.com>
48915
48916 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
48917 Disable one test.
48918
48919 [BZ #13787]
48920 [BZ #13922]
48921 [BZ #14036]
48922 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
48923 (__ieee754_expl): Allow for and saturate large arguments.
48924 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
48925 (u_threshold): Likewise.
48926 (__exp): Call __ieee754_exp before checking for overflow and
48927 underflow.
48928 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
48929 (u_threshold): Likewise.
48930 (__expf): Call __ieee754_expf before checking for overflow and
48931 underflow.
48932 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
48933 (u_threshold): Likewise.
48934 (__expl): Call __ieee754_expl before checking for overflow and
48935 underflow.
48936 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
48937 (__ieee754_expl): Allow for and saturate large arguments.
48938 * math/libm-test.inc (exp_test): Add another test. Do not allow
48939 missing overflow exception on overflow.
48940 (expm1_test): Do not allow missing overflow exception on overflow.
48941
48942 * sysdeps/i386/fpu/e_expl.c: Move to ...
48943 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
48944 rather than using inline asm.
48945 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
48946 * sysdeps/x86_64/fpu/e_expl.S: Copy from
48947 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
48948
48949 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
48950 (nice): Likewise.
48951 (poll): Likewise.
48952 (signal): Likewise.
48953 (time): Likewise.
48954 (times): Likewise.
48955
48956 2012-05-04 Joseph Myers <joseph@codesourcery.com>
48957
48958 * sysdeps/unix/syscalls.list (adjtime): Add entry from
48959 sysdeps/unix/common/syscalls.list.
48960 (fchmod): Likewise.
48961 (fchown): Likewise.
48962 (ftruncate): Likewise.
48963 (getrusage): Likewise.
48964 (gettimeofday): Likewise.
48965 (setpgid): Likewise.
48966 (setregid): Likewise.
48967 (setreuid): Likewise.
48968 (sigaction): Likewise.
48969 (truncate): Likewise.
48970 (vhangup): Likewise.
48971 * sysdeps/unix/common/syscalls.list: Remove file.
48972 * sysdeps/unix/bsd/Implies: Don't include unix/common.
48973 * sysdeps/unix/sysv/linux/Implies: Likewise.
48974
48975 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
48976
48977 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
48978 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
48979 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
48980 Moved to ...
48981 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
48982 Here.
48983 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
48984 to ...
48985 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
48986 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
48987 to ...
48988 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
48989 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
48990 to ...
48991 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
48992 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
48993 to ...
48994 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
48995 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
48996 to ...
48997 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
48998 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
48999 to ...
49000 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
49001 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
49002 to ...
49003 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
49004 Here.
49005 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
49006 to ...
49007 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
49008 Here.
49009 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
49010 to ...
49011 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
49012 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
49013 Moved to ...
49014 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
49015 Here.
49016 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
49017 to ...
49018 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
49019
49020 2012-05-04 Joseph Myers <joseph@codesourcery.com>
49021
49022 * sysdeps/unix/common/bits/dirent.h: Remove file.
49023 * sysdeps/unix/common/bits/fcntl.h: Likewise.
49024
49025 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
49026 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
49027 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
49028 * sysdeps/unix/bsd/isatty.c: Likewise.
49029 * sysdeps/unix/bsd/tcdrain.c: Likewise.
49030 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
49031 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
49032
49033 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49034
49035 [BZ #13563]
49036 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
49037 long double comparison inaccuracies.
49038 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
49039 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49040
49041 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
49042
49043 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
49044 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
49045
49046 2012-05-04 Joseph Myers <joseph@codesourcery.com>
49047
49048 [BZ #14049]
49049 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
49050 nonzero digits before rounding a hex value.
49051 * stdlib/tst-strtod.c (tests): Add another test.
49052
49053 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49054
49055 * sysdeps/s390/fpu/libm-test-ulps: Update.
49056
49057 2012-05-03 Andreas Jaeger <aj@suse.de>
49058
49059 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
49060 does not get optimized out.
49061 (malloc_opt_barrier): New.
49062
49063 2012-05-03 Andreas Jaeger <aj@suse.de>
49064 Roland McGrath <roland@hack.frob.com>
49065
49066 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
49067 intermediate file deletion.
49068 (generated): Add .symlist files.
49069
49070 2012-05-03 Joseph Myers <joseph@codesourcery.com>
49071
49072 [BZ #13775]
49073 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
49074 Redirect under this condition.
49075 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49076 [__USE_GNU] (__dprintf_chk): Not under this condition.
49077 [__USE_GNU] (__vdprintf_chk): Likewise.
49078 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
49079 under this condition.
49080 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49081 [__USE_XOPEN2K8] (dprintf): Define under this condition.
49082 [__USE_XOPEN2K8] (vdprintf): Likewise.
49083 [__USE_GNU] (__dprintf_chk): Not under this condition.
49084 [__USE_GNU] (__vdprintf_chk): Likewise.
49085 [__USE_GNU] (dprintf): Likewise.
49086 [__USE_GNU] (vdprintf): Likewise.
49087
49088 2012-05-03 Roland McGrath <roland@hack.frob.com>
49089
49090 * elf/Makefile (common-generated): Set this instead of generated for
49091 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
49092 $(all-built-dso)-derived lists.
49093
49094 2012-05-03 Andreas Jaeger <aj@suse.de>
49095
49096 * sysdeps/i386/fpu/libm-test-ulps: Update.
49097
49098 * FAQ: Removed.
49099 * FAQ.in: Likewise.
49100 * scripts/gen-FAQ.pl: Likewise.
49101 * manual/install.texi (Installation): Point to online location of
49102 FAQ.
49103 * Makefile (files-for-dist): Remove FAQ.
49104 (FAQ): Remove.
49105
49106 2012-05-02 Allan McRae <allan@archlinux.org>
49107
49108 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
49109 (LDFLAGS-reldepmod5.so): Likewise.
49110 (LDFLAGS-reldep6mod1.so): Likewise.
49111 (LDFLAGS-reldep6mod4.so): Likewise.
49112 (LDFLAGS-reldep8mod3.so): Likewise.
49113 (LDFLAGS-unload4mod1.so): Likewise.
49114 (LDFLAGS-unload4mod2.so): Likewise.
49115 (LDFLAGS-tst-initorder): Likewise.
49116 (LDFLAGS-tst-initordera2.so): Likewise.
49117 (LDFLAGS-tst-initordera3.so): Likewise.
49118 (LDFLAGS-tst-initordera4.so): Likewise.
49119 (LDFLAGS-tst-initorderb2.so): Likewise.
49120 (LDFLAGS-noload): Likewise.
49121 (LDFLAGS-next): Likewise.
49122 (LDFLAGS-order2mod1.so): Likewise.
49123 (LDFLAGS-order2mod2.so): Likewise.
49124 (LDFLAGS-tst-initorder2): Likewise.
49125 (LDFLAGS-tst-initorder2a.so): Likewise.
49126 (LDFLAGS-tst-initorder2b.so): Likewise.
49127 (LDFLAGS-tst-initorder2c.so): Likewise.
49128 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
49129
49130 2012-05-02 David S. Miller <davem@davemloft.net>
49131
49132 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49133
49134 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
49135
49136 [BZ #14055]
49137 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
49138
49139 2012-05-02 Andreas Jaeger <aj@suse.de>
49140
49141 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
49142 since we manipulate rounding mode.
49143 (CPPFLAGS-test-idouble.c): Likewise.
49144 (CPPFLAGS-test-ifloat.c): Likewise.
49145 (CFLAGS-test-ldouble.c): Likewise.
49146 (CFLAGS-test-double.c): Likewise.
49147 (CFLAGS-test-float.c): Likewise.
49148 (CFLAGS-test-misc.c): Likewise.
49149 (CFLAGS-test-test-fenv.c): Likewise.
49150
49151 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49152
49153 [BZ #2550]
49154 [BZ #2570]
49155 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
49156 comparisons to determine direction to adjust input.
49157
49158 2012-05-01 Roland McGrath <roland@hack.frob.com>
49159
49160 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
49161 output to the target.
49162
49163 * scripts/localplt.awk: New file.
49164 * elf/Makefile ($(objpfx)check-localplt): Target removed.
49165 (check-localplt-CFLAGS): Variable removed.
49166 ($(all-built-dso:=.jmprel)): New static pattern rule.
49167 (generated): Add those targets.
49168 (localplt-built-dso): New variable.
49169 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
49170
49171 * elf/check-localplt.c: File removed.
49172
49173 * scripts/check-execstack.awk: New file.
49174 * elf/Makefile ($(objpfx)check-execstack): Target removed.
49175 (check-execstack-CFLAGS): Variable removed.
49176 ($(objpfx)check-execstack.h): Target removed.
49177 ($(objpfx)execstack-default): New target.
49178 (generated): Add that instead of check-execstack.h.
49179 ($(all-built-dso:=.phdr)): New static pattern rule.
49180 (generated): Add those targets.
49181 * elf/check-execstack.c: File removed.
49182
49183 * scripts/check-textrel.awk: New file.
49184 * elf/Makefile ($(objpfx)check-textrel): Target removed.
49185 (check-textrel-CFLAGS): Variable removed.
49186 (all-built-dso): Use := to define.o
49187 ($(all-built-dso:=.dyn)): New static pattern rule.
49188 (generated): Add those targets.
49189 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
49190 * config.make.in (READELF): New substituted variable.
49191 * elf/check-textrel.c: File removed.
49192
49193 2012-05-01 Joseph Myers <joseph@codesourcery.com>
49194
49195 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49196 allow.
49197 * conform/data/ctype.h-data [C99-based standards] (isblank):
49198 Expect function.
49199 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
49200 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
49201 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49202 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
49203 Specify type. Require positive value.
49204 (EILSEQ): Likewise.
49205 (ERANGE): Likewise.
49206 [ISO || POSIX] (EILSEQ): Do not expect.
49207 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
49208 Specify type. Require positive value.
49209 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
49210 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
49211 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
49212 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
49213 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
49214 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
49215 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
49216 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
49217 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
49218 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
49219 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
49220 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
49221 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
49222 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
49223 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
49224 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
49225 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
49226 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
49227 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
49228 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
49229 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
49230 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
49231 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
49232 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
49233 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
49234 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
49235 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
49236 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
49237 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
49238 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
49239 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
49240 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
49241 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
49242 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
49243 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
49244 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
49245 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
49246 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
49247 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
49248 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
49249 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
49250 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
49251 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
49252 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
49253 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
49254 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
49255 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
49256 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
49257 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
49258 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
49259 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
49260 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
49261 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
49262 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
49263 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
49264 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
49265 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
49266 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
49267 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
49268 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
49269 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
49270 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
49271 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
49272 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
49273 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
49274 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
49275 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
49276 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
49277 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
49278 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
49279 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
49280 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
49281 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
49282 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
49283 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
49284 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
49285 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
49286 Require >= 2.
49287 (FLT_ROUNDS): Expect as macro, not constant.
49288 (FLT_MANT_DIG): Use macro-int-constant.
49289 (DBL_MANT_DIG): Likewise.
49290 (LDBL_MANT_DIG): Likewise.
49291 (FLT_DIG): Likewise.
49292 (DBL_DIG): Likewise.
49293 (LDBL_DIG): Likewise.
49294 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
49295 (DBL_MIN_EXP): Likewise.
49296 (LDBL_MIN_EXP): Likewise.
49297 (FLT_MAX_EXP): Use macro-int-constant.
49298 (DBL_MAX_EXP): Likewise.
49299 (LDBL_MAX_EXP): Likewise.
49300 (FLT_MAX_10_EXP): Likewise.
49301 (DBL_MAX_10_EXP): Likewise.
49302 (LDBL_MAX_10_EXP): Likewise.
49303 (FLT_MAX): Use macro-constant.
49304 (DBL_MAX): Likewise.
49305 (LDBL_MAX): Likewise.
49306 (FLT_EPSILON): Use macro-constant. Give upper bound.
49307 (DBL_EPSILON): Likewise.
49308 (LDBL_EPSILON): Likewise.
49309 (FLT_MIN): Likewise.
49310 (DBL_MIN): Likewise.
49311 (LDBL_MIN): Likewise.
49312 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
49313 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
49314 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
49315 [ISO11] (FLT_HAS_SUBNORM): Likewise.
49316 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
49317 [ISO11] (DBL_DECIMAL_DIG): Likewise.
49318 [ISO11] (FLT_DECIMAL_DIG): Likewise.
49319 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
49320 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
49321 [ISO11] (FLT_TRUE_MIN): Likewise.
49322 [ISO11] (LDBL_TRUE_MIN): Likewise.
49323 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49324 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
49325 (SCHAR_MIN): Use macro-int-constant. Specify type.
49326 (SCHAR_MAX): Likewise.
49327 (UCHAR_MAX): Likewise.
49328 (CHAR_MIN): Likewise.
49329 (CHAR_MAX): Likewise.
49330 (MB_LEN_MAX): Use macro-int-constant.
49331 (SHRT_MIN): Use macro-int-constant. Specify type.
49332 (SHRT_MAX): Likewise.
49333 (USHRT_MAX): Likewise.
49334 (INT_MAX): Likewise.
49335 (INT_MIN): Use macro-int-constant. Specify type. Make upper
49336 bound negative.
49337 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
49338 bound with "U".
49339 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
49340 bound with "L".
49341 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
49342 bound negative. Suffix upper bound with "L".
49343 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
49344 bound with "UL".
49345 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
49346 Specify type.
49347 [C99-based standards] (LLONG_MAX): Likewise.
49348 [C99-based standards] (ULLONG_MAX): Likewise.
49349 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
49350 == 0.
49351 [ISO11] (max_align_t): Require type.
49352 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49353
49354 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
49355 from $CFLAGS, without defining away __attribute__ calls.
49356 (checknamespace): Use $CFLAGS_namespace.
49357
49358 * conform/conformtest.pl (@keywords): Only include C99 keywords
49359 for standards based on C99 or C11.
49360
49361 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
49362 Disable tests.
49363 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
49364 UNIX98]: Likewise.
49365
49366 * conform/conformtest.pl: Handle "macro-int-constant" and test for
49367 usability of symbols in #if.
49368
49369 * conform/conformtest.pl: If macro or constant types start
49370 "promoted:", expect the symbol to be of the following type
49371 promoted by the integer promotions.
49372
49373 * conform/conformtest.pl: Parse all "constant" and "macro" lines
49374 in one place. Also handle "macro-constant".
49375
49376 * conform/conformtest.pl: Only accept expected macro values with
49377 "==". Parse all "macro" lines in one place.
49378 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
49379
49380 * conform/conformtest.pl: Handle braced types on "constant" lines
49381 instead of handling "typed-constant".
49382 * conform/data/signal.h-data: Use "constant" instead of
49383 "typed-constant".
49384
49385 * conform/conformtest.pl: Handle "optional-" at start of lines in
49386 one place rather than duplicating several cases. Handle each
49387 format of "macro" line with initial "optional-".
49388
49389 * conform/conformtest.pl: Only accept expected constant or
49390 optional-constant values with "==". Parse all "constant" lines in
49391 one place. Parse all "optional-constant" lines in one place.
49392 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
49393 * conform/data/fmtmsg.h-data: Likewise.
49394 * conform/data/netinet/in.h-data: Likewise.
49395 * conform/data/tar.h-data: Likewise.
49396 * conform/data/limits.h-data: Use "==" form on "constant" and
49397 "optional-constant" lines.
49398
49399 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
49400 Use -std=c99 for XOPEN2K.
49401 (@knownproblems): Remove.
49402 (newtoken): Don't check %isknown.
49403
49404 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
49405 Do not expect macro.
49406 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
49407 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
49408 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
49409 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
49410 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
49411 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
49412 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
49413 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
49414 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
49415 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
49416 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
49417 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
49418 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
49419 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
49420 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
49421 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
49422 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
49423 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
49424 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
49425 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
49426 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
49427 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
49428 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
49429 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
49430 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
49431 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
49432 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
49433 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
49434 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
49435 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
49436 [XPG3] (acosh): Likewise.
49437 [XPG3] (asinh): Likewise.
49438 [XPG3] (atanh): Likewise.
49439 [XPG3] (cbrt): Likewise.
49440 [XPG3] (expm1): Likewise.
49441 [XPG3] (ilogb): Likewise.
49442 [XPG3] (log1p): Likewise.
49443 [XPG3] (logb): Likewise.
49444 [XPG3] (nextafter): Likewise.
49445 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
49446 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
49447 [XPG3] (remainder): Likewise.
49448 [XPG3] (rint): Likewise.
49449 [XPG3 || XPG4 || UNIX98] (round): Likewise.
49450 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
49451 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
49452 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
49453 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
49454 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
49455 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
49456 [UNIX98 || XOPEN2K] (scalb): Expect.
49457 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
49458 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
49459 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
49460 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
49461 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
49462 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
49463 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
49464 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
49465 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
49466 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
49467 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
49468 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
49469 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
49470 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
49471 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
49472 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
49473 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
49474 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
49475 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
49476 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
49477 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
49478 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
49479 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
49480 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
49481 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
49482 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
49483 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
49484 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
49485 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
49486 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
49487 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
49488 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
49489 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
49490 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
49491 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
49492 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
49493 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
49494 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
49495 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
49496 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
49497 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
49498 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
49499 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
49500 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
49501 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
49502 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
49503 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
49504 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
49505 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
49506 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
49507 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
49508 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
49509 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
49510 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
49511 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
49512 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
49513 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
49514 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
49515 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
49516 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
49517 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
49518 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
49519 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
49520 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
49521 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
49522 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
49523 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
49524 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
49525 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
49526 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
49527 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
49528 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
49529 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
49530 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
49531 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
49532 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
49533 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
49534 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
49535 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
49536 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
49537 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
49538 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
49539 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
49540 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
49541 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
49542 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
49543 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
49544 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
49545 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
49546 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
49547 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
49548 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
49549 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
49550 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
49551 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
49552 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
49553 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
49554 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
49555 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
49556 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
49557 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
49558 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
49559 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
49560 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
49561 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
49562 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
49563 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
49564 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
49565 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
49566 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
49567 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
49568 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
49569 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
49570 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
49571 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
49572 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
49573 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
49574 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
49575 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
49576 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
49577 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
49578 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
49579 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
49580 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
49581 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
49582 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
49583 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
49584 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
49585 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
49586 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
49587 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
49588 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
49589 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
49590 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
49591 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
49592 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
49593 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
49594
49595 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
49596 _XOPEN_SOURCE_EXTENDED for XPG4.
49597
49598 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
49599
49600 * Makeconfig (localtime): Remove variable.
49601 (inst_localtime-file): Likewise.
49602
49603 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
49604
49605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49606 Update.
49607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49608 Update.
49609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49610 Update.
49611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49612 Update.
49613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49614 Update.
49615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
49616 Update.
49617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49618 Update.
49619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
49620 Update.
49621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49622 Update.
49623
49624 2012-05-01 Joseph Myers <joseph@codesourcery.com>
49625
49626 [BZ #2550]
49627 [BZ #2570]
49628 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
49629 comparisons to determine direction to adjust input.
49630 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
49631 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
49632 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
49633 Likewise.
49634 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
49635 Likewise.
49636 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
49637 Likewise.
49638 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
49639 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
49640 Likewise.
49641 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
49642 Likewise.
49643 * math/libm-test.inc (nexttoward_test): Add more tests.
49644
49645 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
49646
49647 [BZ #14040]
49648 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
49649 in version GLIBC_2.1, not GLIBC_2.0.
49650 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
49651 Likewise.
49652
49653 2012-04-30 Joseph Myers <joseph@codesourcery.com>
49654
49655 [BZ #13942]
49656 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
49657 (1 - x) * (1 + x).
49658 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49659 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
49660 * math/libm-test.inc (acos_test): Add more tests.
49661 (asin_test): Likewise.
49662 * sysdeps/i386/fpu/libm-test-ulps: Update.
49663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49664
49665 [BZ #14034]
49666 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
49667 of square root.
49668 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
49669 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49670 * math/libm-test.inc (acos_test_tonearest): New function.
49671 (acos_test_towardzero): Likewise.
49672 (acos_test_downward): Likewise.
49673 (acos_test_upward): Likewise.
49674 (asin_test_tonearest): Likewise.
49675 (asin_test_towardzero): Likewise.
49676 (asin_test_downward): Likewise.
49677 (asin_test_upward): Likewise.
49678 (main): Call the new functions.
49679 * sysdeps/i386/fpu/libm-test-ulps: Update.
49680 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49681
49682 [BZ #13884]
49683 [BZ #13924]
49684 * math/e_exp10.c: Include <float.h>.
49685 (__ieee754_exp10): Handle underflow here rather than multiplying
49686 large negative argument by M_LN10.
49687 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
49688 of __ieee754_expf.
49689 * math/e_exp10l.c: Include <float.h>.
49690 (__ieee754_exp10l): Handle underflow here rather than multiplying
49691 large negative argument by M_LN10l.
49692 * math/libm-test.inc (exp10_test): Add another test. Do not allow
49693 spurious overflow exception on underflow.
49694
49695 2012-04-29 Marek Polacek <polacek@redhat.com>
49696
49697 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
49698 (__fortify_function): New macro.
49699 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
49700 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
49701 __extern_always_inline.
49702 * libio/bits/stdio2.h: Likewise.
49703 * libio/bits/stdio.h: Likewise.
49704 * string/string.h: Likewise.
49705 * string/bits/string3.h: Likewise.
49706 * include/stdio.h: Likewise.
49707 * stdlib/bits/stdlib.h: Likewise.
49708 * stdlib/stdlib.h: Likewise.
49709 * rt/bits/mqueue2.h: Likewise.
49710 * rt/mqueue.h: Likewise.
49711 * posix/bits/unistd.h: Likewise.
49712 * posix/unistd.h: Likewise.
49713 * io/bits/poll2.h: Likewise.
49714 * io/bits/fcntl2.h: Likewise.
49715 * io/fcntl.h: Likewise.
49716 * io/sys/poll.h: Likewise.
49717 * misc/bits/syslog.h: Likewise.
49718 * misc/bits/syslog-ldbl.h: Likewise.
49719 * misc/sys/syslog.h: Likewise.
49720 * socket/bits/socket2.h: Likewise.
49721 * socket/sys/socket.h: Likewise.
49722 * debug/tst-chk1.c: Likewise.
49723 * wcsmbs/bits/wchar2.h: Likewise.
49724 * wcsmbs/bits/wchar-ldbl.h: Likewise.
49725 * wcsmbs/wchar.h: Likewise.
49726
49727 2012-04-29 Andreas Jaeger <aj@suse.de>
49728
49729 * Makerules (tests): Remove enable-check-abi protection.
49730 (check-abi-warn): Remove.
49731 (check-abi-%): Remove check-abi-warn usage.
49732
49733 * configure.in: Remove check-abi configure option.
49734 * configure: Regenerated.
49735 * config.make.in (enable-check-abi): Remove.
49736
49737 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
49738
49739 [BZ #14033]
49740 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
49741 double functions to double *_finite functions.
49742
49743 [BZ #13941]
49744 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
49745 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
49746 LDBL_MIN_EXP.
49747 * stdio-common/Makefile (tests): Add tst-sprintf3.
49748 * stdio-common/tst-sprintf3.c: New file.
49749
49750 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
49751 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
49752
49753 2012-04-28 Joseph Myers <joseph@codesourcery.com>
49754
49755 * conform/conformtest.pl: Remove duplicate typed-constant
49756 handling.
49757
49758 2012-04-28 David S. Miller <davem@davemloft.net>
49759
49760 * Makerules (%.abilist): Add vpath on sysdep_dirs.
49761 (check-abi-%): Remove AWK script prerequisite and explicit
49762 abilist directory.
49763 (check-abi): Rewrite to just diff the symlist with the abilist.
49764 (config-tls, config-abi-config): Delete, no longer used.
49765 (update-abi-%): Remove AWK script and explicit abilist directory.
49766 (update-abi): Rewrite to simply compare and conditionally copy the
49767 symlist and the sysdep abilist file. Remove update-abi-config
49768 checks.
49769 * abilist/ld.abilist: Remove.
49770 * abilist/libBrokenLocale.abilist: Remove.
49771 * abilist/libanl.abilist: Remove.
49772 * abilist/libcrypt.abilist: Remove.
49773 * abilist/libdl.abilist: Remove.
49774 * abilist/librt.abilist: Remove.
49775 * abilist/libthread_db.abilist: Remove.
49776 * abilist/libutil.abilist: Remove.
49777 * scripts/extract-abilist.awk: Remove.
49778 * scripts/merge-abilist.awk: Remove.
49779 * sysdeps/generic/libcidn.abilist: New file.
49780 * sysdeps/generic/libnss_compat.abilist: New file.
49781 * sysdeps/generic/libnss_db.abilist: New file.
49782 * sysdeps/generic/libnss_dns.abilist: New file.
49783 * sysdeps/generic/libnss_files.abilist: New file.
49784 * sysdeps/generic/libnss_hesiod.abilist: New file.
49785 * sysdeps/generic/libnss_nis.abilist: New file.
49786 * sysdeps/generic/libnss_nisplus.abilist: New file.
49787 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
49788 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
49789 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
49790 file.
49791 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
49792 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
49793 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
49794 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
49795 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
49796 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
49797 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
49798 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
49799 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
49800 file.
49801 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
49802 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
49803 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
49804 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
49805 file.
49806 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
49807 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
49808 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
49809 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
49810 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
49811 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
49812 file.
49813 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
49814 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
49815 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
49816 file.
49817 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
49818 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
49819 New file.
49820 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
49821 New file.
49822 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
49823 New file.
49824 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
49825 New file.
49826 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
49827 New file.
49828 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
49829 New file.
49830 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
49831 New file.
49832 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
49833 New file.
49834 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
49835 New file.
49836 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
49837 New file.
49838 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
49839 New file.
49840 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
49841 New file.
49842 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
49843 New file.
49844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
49845 file.
49846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
49847 New file.
49848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
49849 New file.
49850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
49851 file.
49852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
49853 New file.
49854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
49855 New file.
49856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
49857 file.
49858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
49859 New file.
49860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49861 New file.
49862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
49863 New file.
49864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
49865 New file.
49866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
49867 New file.
49868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
49869 New file.
49870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
49871 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
49872 file.
49873 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
49874 New file.
49875 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
49876 file.
49877 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
49878 file.
49879 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
49880 file.
49881 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
49882 file.
49883 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
49884 file.
49885 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49886 New file.
49887 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
49888 file.
49889 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
49890 file.
49891 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
49892 New file.
49893 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
49894 file.
49895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
49896 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
49897 file.
49898 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
49899 New file.
49900 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
49901 file.
49902 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
49903 file.
49904 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
49905 file.
49906 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
49907 file.
49908 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
49909 file.
49910 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49911 New file.
49912 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
49913 file.
49914 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
49915 file.
49916 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
49917 New file.
49918 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
49919 file.
49920 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
49921 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
49922 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
49923 file.
49924 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
49925 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
49926 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
49927 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
49928 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
49929 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
49930 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
49931 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
49932 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
49933 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
49934 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
49935 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
49936 file.
49937 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
49938 New file.
49939 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
49940 file.
49941 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
49942 file.
49943 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
49944 file.
49945 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
49946 file.
49947 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
49948 file.
49949 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49950 New file.
49951 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
49952 New file.
49953 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
49954 file.
49955 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
49956 New file.
49957 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
49958 file.
49959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
49960 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
49961 file.
49962 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
49963 New file.
49964 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
49965 file.
49966 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
49967 file.
49968 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
49969 file.
49970 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
49971 file.
49972 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
49973 file.
49974 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49975 New file.
49976 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
49977 New file.
49978 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
49979 file.
49980 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
49981 New file.
49982 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
49983 file.
49984
49985 2012-04-28 Joseph Myers <joseph@codesourcery.com>
49986
49987 * conform/conformtest.pl: Fix typo in handling typed-constant from
49988 allow-header.
49989
49990 2012-04-27 Joseph Myers <joseph@codesourcery.com>
49991
49992 * README: Cut down references to pre-2.6 Linux kernels and
49993 Linuxthreads. Update lists of configurations in libc and ports
49994 and sort alphabetically. Say "or newer" with Linux kernel version
49995 requirements.
49996
49997 * config.h.in [IS_IN_build]: Allow compiling without optimization.
49998
49999 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
50000
50001 [BZ #887]
50002 * math/libm-test.inc (logb_test_downward): New test to expose
50003 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
50004 rounding mode.
50005
50006 2012-04-27 Joseph Myers <joseph@codesourcery.com>
50007
50008 [BZ #14027]
50009 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
50010 to be done.
50011 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
50012 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
50013
50014 2012-04-26 Joseph Myers <joseph@codesourcery.com>
50015
50016 * sysdeps/unix/i386/brk.S: Remove file.
50017 * sysdeps/unix/i386/dl-brk.S: Likewise.
50018 * sysdeps/unix/i386/pipe.S: Likewise.
50019 * sysdeps/unix/i386/sigreturn.S: Likewise.
50020 * sysdeps/unix/i386/syscall.S: Likewise.
50021 * sysdeps/unix/i386/vfork.S: Likewise.
50022 * sysdeps/unix/i386/wait.S: Likewise.
50023
50024 * sysdeps/unix/common/tcsendbrk.c: Move to ...
50025 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
50026
50027 * configure.in (arm*-none*): Do not allow without
50028 --enable-hacker-mode.
50029 (netbsd*): Remove case setting base_os.
50030 (386bsd*): Likewise.
50031 (freebsd*): Likewise.
50032 (bsdi*): Likewise.
50033 (osf*): Likewise.
50034 (sunos*): Likewise.
50035 (ultrix*): Likewise.
50036 (newsos*): Likewise.
50037 (dynix*): Likewise.
50038 (*bsd*): Likewise.
50039 (sysv*): Likewise.
50040 (isc*): Likewise.
50041 (esix*): Likewise.
50042 (sco*): Likewise.
50043 (minix*): Likewise.
50044 (irix4*): Likewise.
50045 (irix6*): Likewise.
50046 (solaris[2-9]*): Likewise.
50047 (none): Likewise.
50048 * configure: Regenerated.
50049
50050 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50051
50052 [BZ #11521]
50053 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
50054 overflow or cancellation in calculating denominator.
50055 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
50056 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
50057 down expression to avoid unexpected rounding in newer GCCs.
50058 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
50059
50060 2012-04-26 David S. Miller <davem@davemloft.net>
50061
50062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
50063 long-double compat symbols.
50064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
50066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
50067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
50068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
50069 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
50070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
50071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
50072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
50073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
50074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
50075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
50076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
50077
50078 2012-04-25 David S. Miller <davem@davemloft.net>
50079
50080 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
50081 HWCAP_* values only after the memory barriers have been defined.
50082 (atomic_full_barrier): Define.
50083 (atomic_read_barrier): Define.
50084 (atomic_write_barrier): Define.
50085
50086 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
50087
50088 * shlib-versions: Add libgcc_s version information.
50089 * sysdeps/generic/libgcc_s.h: Remove.
50090 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
50091 libgcc_s.h.
50092 * sysdeps/gnu/unwind-resume.c: Likewise.
50093 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
50094
50095 2012-04-25 David S. Miller <davem@davemloft.net>
50096
50097 * sysdeps/unix/sparc/brk.S: Delete.
50098 * sysdeps/unix/sparc/dl-brk.S: Delete.
50099 * sysdeps/unix/sparc/pipe.S: Delete.
50100 * sysdeps/unix/sparc/sysdep.S: Delete.
50101 * sysdeps/unix/sparc/sysdep.h: Delete.
50102 * sysdeps/unix/sparc/vfork.S: Delete.
50103 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
50104 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
50105 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
50106 (ret_ERRVAL, r0, r1, MOVE): Define.
50107 (JUMPTARGET): Remove.
50108 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
50109 sysdeps/unix/sparc/sysdep.h
50110 (ENTRY, END): Remove.
50111 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50112
50113 2012-04-25 Joseph Myers <joseph@codesourcery.com>
50114
50115 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
50116 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
50117 -DIS_IN_build.
50118
50119 * timezone/README: Update upstream location and email address for
50120 tzcode and tzdata.
50121 * timezone/zdump.c: Update from tzcode 2012b.
50122 * timezone/zic.c: Likewise.
50123
50124 * configure.in (libc_cv_as_needed): Remove test.
50125 * configure: Regenerated.
50126 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
50127 conditional definition.
50128 [$(have-as-needed) != yes] (no-as-needed): Likewise.
50129 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
50130 * config.make.in (have-as-needed): Remove variable.
50131
50132 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
50133 Paul Pluzhnikov <ppluzhnikov@google.com>
50134
50135 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
50136 strings correctly.
50137
50138 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
50139
50140 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
50141 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
50142 * sysdeps/sh/strlen.S: Likewise.
50143
50144 2012-04-24 Joseph Myers <joseph@codesourcery.com>
50145
50146 * sysdeps/unix/fork.S: Remove file.
50147 * sysdeps/unix/i386/fork.S: Likewise.
50148 * sysdeps/unix/sparc/fork.S: Likewise.
50149
50150 * sysdeps/unix/system.c: Remove file.
50151 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
50152
50153 * sysdeps/unix/getegid.S: Remove file.
50154 * sysdeps/unix/geteuid.S: Likewise.
50155
50156 2012-04-24 Roland McGrath <roland@hack.frob.com>
50157
50158 * scripts/check-localplt.awk: New file.
50159 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
50160 of diff.
50161 * scripts/data/localplt-generic.data: Add a comment.
50162
50163 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
50164 NODE when __dir_mkfile failed.
50165 * sysdeps/mach/hurd/symlinkat.c: Likewise.
50166 Reported by Ludovic Courtès <ludo@gnu.org>.
50167
50168 2012-04-24 Andreas Jaeger <aj@suse.de>
50169
50170 * Makerules (common-clean): Also remove gen-as-const-headers
50171 files.
50172
50173 2012-04-24 Joseph Myers <joseph@codesourcery.com>
50174
50175 * Makerules (native-compile): Do not change working directory for
50176 build. Use $(OUTPUT_OPTION) in command.
50177 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
50178
50179 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50180
50181 [BZ #13886]
50182 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
50183 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
50184 * math/libm-test.inc (floor_test): Add more tests.
50185 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
50186
50187 2012-04-24 Joseph Myers <joseph@codesourcery.com>
50188
50189 * sysdeps/unix/getdents.c: Remove file.
50190 * sysdeps/unix/sysv/getdents.c: Likewise.
50191 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
50192
50193 * sysdeps/unix/syscalls.list (madvise): Add syscall from
50194 sysdeps/unix/mman/syscalls.list.
50195 (mmap): Likewise.
50196 (mprotect): Likewise.
50197 (msync): Likewise.
50198 (munmap): Likewise.
50199 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
50200 * sysdeps/unix/mman/syscalls.list: Remove.
50201 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
50202
50203 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
50204 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
50205 * configure: Regenerated.
50206 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
50207 $(libgcc_s_suffix).
50208 * config.make.in (libgcc_s_suffix): Remove variable.
50209
50210 2012-04-23 Joseph Myers <joseph@codesourcery.com>
50211
50212 * sysdeps/unix/sysv/gethostname.c: Move to ...
50213 * sysdeps/posix/gethostname.c: ... here.
50214
50215 * sysdeps/unix/execve.S: Remove file.
50216
50217 * sysdeps/unix/_exit.S: Remove file.
50218
50219 2012-04-23 Andreas Jaeger <aj@suse.de>
50220
50221 [BZ #13739]
50222 * manual/Makefile: Remove make dist support, there's no
50223 need for a stand-alone documentation tar ball.
50224 (TEXI2DVI): Define always, it's not in Makeconfig.
50225 (dist): Removed.
50226 (tar-it): Removed.
50227 (edition): Removed.
50228 (glibc-doc-$(edition).tar): Removed
50229 (%.Z): Removed.
50230 (%.gz): Removed.
50231 (%.uu): Removed.
50232 (ETAGS): Remove, it's in Makeconfig.
50233 (move-if-change): Remove, it's in Makeconfig.
50234
50235 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
50236
50237 [BZ #13970]
50238 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
50239 (strtod, strtof, strtold, strtol, strtoul, strtoq)
50240 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
50241 (strtod_l, strtof_l, strtold_l): Remove __wur.
50242 It is not necessarily an error to ignore strtol's return value.
50243 One can reliably look at the stored endptr to decide whether
50244 the number had valid syntax.
50245
50246 2012-04-21 Andreas Jaeger <aj@suse.de>
50247
50248 [BZ #13739]
50249 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
50250
50251 2012-04-21 Joseph Myers <joseph@codesourcery.com>
50252
50253 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
50254 * sysdeps/unix/sysv/Versions: Remove file.
50255
50256 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
50257
50258 [BZ #13927]
50259 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50260
50261 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
50262
50263 [BZ #7064]
50264 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
50265 version from __vm86.
50266
50267 2012-04-20 Joseph Myers <joseph@codesourcery.com>
50268
50269 * sysdeps/unix/common/lxstat.c: Remove file.
50270 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
50271
50272 * sysdeps/unix/sysv/Makefile: Remove file.
50273
50274 * sysdeps/unix/sysv/direct.h: Remove file.
50275
50276 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
50277 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
50278 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
50279 * sysdeps/unix/sysv/bits/signum.h: Likewise.
50280 * sysdeps/unix/sysv/bits/stat.h: Likewise.
50281 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
50282 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
50283
50284 * sysdeps/unix/sysv/setrlimit.c: Remove file.
50285
50286 * sysdeps/unix/xmknod.c: Remove file.
50287 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
50288
50289 * sysdeps/unix/sysv/settimeofday.c: Remove file.
50290
50291 * sysdeps/unix/sysv/i386/time.S: Remove file.
50292
50293 * sysdeps/unix/fxstat.c: Remove file.
50294 * sysdeps/unix/xstat.c: Likewise.
50295 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
50296
50297 * sysdeps/unix/sysv/sigaction.c: Remove file.
50298
50299 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
50300 (sysdep_headers): Remove variable.
50301 [termio.h not in sysdep_headers] (generated): Likewise.
50302 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
50303 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
50304 * sysdeps/unix/sysv/tcdrain.c: Likewise.
50305 * sysdeps/unix/sysv/tcflow.c: Likewise.
50306 * sysdeps/unix/sysv/tcflush.c: Likewise.
50307 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
50308 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
50309 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
50310 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
50311 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
50312
50313 * sysdeps/unix/siglist.c: Remove file.
50314
50315 * sysdeps/unix/getppid.S: Remove file.
50316
50317 * sysdeps/unix/mkdir.c: Remove file.
50318 * sysdeps/unix/rmdir.c: Likewise.
50319
50320 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
50321
50322 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
50323 ERR_MAX value.
50324 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
50325 errlist-compat value.
50326
50327 2012-04-18 David S. Miller <davem@davemloft.net>
50328
50329 * sysdeps/generic/memcopy.h (reg_char): Delete.
50330 * debug/strcat_chk.c: Use char, not reg_char.
50331 * debug/strcpy_chk.c: Likewise.
50332 * debug/strncat_chk.c: Likewise.
50333 * debug/strncpy_chk.c: Likewise.
50334 * string/memchr.c: Likewise.
50335 * string/memrchr.c: Likewise.
50336 * string/rawmemchr.c: Likewise.
50337 * string/strcat.c: Likewise.
50338 * string/strchr.c: Likewise.
50339 * string/strchrnul.c: Likewise.
50340 * string/strcmp.c: Likewise.
50341 * string/strcpy.c: Likewise.
50342 * string/strncat.c: Likewise.
50343 * string/strncmp.c: Likewise.
50344 * string/strncpy.c: Likewise.
50345
50346 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
50347
50348 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
50349 __builtin_memcopy is called when src and dest ranges are known to not
50350 overlap.
50351
50352 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
50353
50354 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
50355 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
50356 fwd_align_merge macro call.
50357 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
50358 bwd_align_merge macro call.
50359 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50360
50361 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
50362
50363 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
50364 bwd_align_merge macros.
50365 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
50366 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
50367 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50368
50369 2012-04-18 David S. Miller <davem@davemloft.net>
50370
50371 * sysdeps/sparc/sparc64/memcopy.h: Delete.
50372
50373 2012-04-18 Andreas Jaeger <aj@suse.de>
50374
50375 [BZ# 6794]
50376 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
50377 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
50378 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50379
50380 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
50381 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
50382 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50383
50384 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
50385 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
50386 Adjust for changed ldbl-128 files.
50387
50388 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
50389 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
50390 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50391
50392 2012-04-17 David S. Miller <davem@davemloft.net>
50393
50394 * sysdeps/sparc/sparc32/memcopy.h: Delete.
50395
50396 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
50397
50398 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
50399 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
50400 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
50401 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
50402 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
50403 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
50404
50405 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50406
50407 [BZ #6794]
50408 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
50409 * math/libm-test.inc: Add ilogb errno and exception tests.
50410 * math/w_ilogb.c: New file: ilogb wrapper.
50411 * math/w_ilogbf.c: New file: ilogbf wrapper.
50412 * math/w_ilogbl.c: New file: ilogbl wrapper.
50413 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
50414 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
50415 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
50416 exception being thrown with 0.0 as argument.
50417 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
50418 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
50419 exception being thrown with 0.0 as argument.
50420 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
50421 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50422 exception being thrown with 0.0 as argument.
50423 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
50424 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50425 exception being thrown with 0.0 as argument.
50426 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
50427 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
50428 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
50429 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
50430 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
50431 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
50432 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
50433 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
50434 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
50435
50436 2012-04-17 Petr Baudis <pasky@ucw.cz>
50437
50438 * include/sys/uio.h: Change __vector to __iovec to avoid clash
50439 with altivec.
50440
50441 2012-04-16 Marek Polacek <polacek@redhat.com>
50442
50443 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
50444
50445 2012-04-16 Marek Polacek <polacek@redhat.com>
50446
50447 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
50448 operands of fdivp instruction.
50449
50450 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
50451
50452 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
50453 * elf/tst-auditmod3b.c: Likewise.
50454 * elf/tst-auditmod4b.c: Likewise.
50455 * elf/tst-auditmod5b.c: Likewise.
50456 * elf/tst-auditmod6b.c: Likewise.
50457 * elf/tst-auditmod6c.c: Likewise.
50458 * elf/tst-auditmod7b.c: Likewise.
50459 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
50460 * sysdeps/x86_64/preconfigure.in: Likewise.
50461 * sysdeps/x86_64/preconfigure: Regenerated.
50462
50463 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
50464
50465 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
50466 __ILP32__.
50467
50468 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
50469
50470 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50471 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
50472
50473 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
50474
50475 [BZ #13973]
50476 * locale/iso-639.def: Fix gl language name. Spotted by
50477 Yaron Shahrabani.
50478
50479 2012-04-12 Roland McGrath <roland@hack.frob.com>
50480
50481 [BZ #2074]
50482 * libio/libio.h (__io_write_fn): Update comment.
50483
50484 2012-04-12 Petr Baudis <pasky@ucw.cz>
50485
50486 [BZ #2074]
50487 * stdio.texi (Hook Functions): The user provided writer function
50488 is not allowed to return -1.
50489
50490 2012-04-11 David S. Miller <davem@davemloft.net>
50491
50492 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50493
50494 2012-04-11 Mike Frysinger <vapier@gentoo.org>
50495
50496 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
50497 Add a leading slash to rtkaio.
50498
50499 2012-04-11 Jim Meyering <meyering@redhat.com>
50500
50501 [BZ #11959]
50502 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
50503 It is not necessarily an error to ignore fwrite's return
50504 value. One can reliably use ferror to test for errors after
50505 the fact.
50506
50507 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
50508
50509 * bits/types.h (__snseconds_t): New type.
50510 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
50511
50512 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
50513 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50514 (__SNSECONDS_T_TYPE): Likewise.
50515 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50516 (__SNSECONDS_T_TYPE): Likewise.
50517 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50518 (__SNSECONDS_T_TYPE): Likewise.
50519
50520 2012-04-10 Andreas Jaeger <aj@suse.de>
50521
50522 [BZ #2636]
50523 * manual/time.texi (Processor Time): Return type of times is
50524 elapsed real time since an arbitrary point in the past.
50525 (CPU Time): Move CLK_TCK from here...
50526 (Processor Time): ...to here. Correct description.
50527 * manual/conf.texi (Constants for Sysconf): Correct description of
50528 _SC_CLK_TCK.
50529
50530 2012-04-10 David S. Miller <davem@davemloft.net>
50531
50532 [BZ #13967]
50533 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
50534 where the is a gap between DT_REL(A) and DT_JMPREL.
50535
50536 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
50537
50538 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
50539 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50540 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50541
50542 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
50543
50544 * elf/dl-support.c (_dl_inhibit_cache): New variable.
50545 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
50546 (dl_main): Handle --inhibit-cache.
50547 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
50548 _dl_inhibit_cache.
50549 * elf/dl-load.c (_dl_map_object): Use it.
50550 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
50551
50552 2012-04-09 Joseph Myers <joseph@codesourcery.com>
50553
50554 [BZ #13872]
50555 * sysdeps/i386/fpu/e_powl.S (p78): New object.
50556 (__ieee754_powl): Saturate large exponents rather than testing for
50557 overflow of y*log2(x).
50558 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50559 * math/libm-test.inc (pow_test): Do not permit spurious overflow
50560 exceptions.
50561
50562 [BZ #11521]
50563 * math/s_ctan.c: Include <float.h>.
50564 (__ctan): Avoid internal overflow or cancellation in calculating
50565 denominator.
50566 * math/s_ctanf.c: Likewise.
50567 * math/s_ctanl.c: Likewise.
50568 * math/s_ctanh.c: Likewise.
50569 * math/s_ctanhf.c: Likewise.
50570 * math/s_ctanhl.c: Likewise.
50571 * math/libm-test.inc (ctan_test): Add more tests.
50572 (ctanh_test): Likewise.
50573 * sysdeps/i386/fpu/libm-test-ulps: Update.
50574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50575
50576 2012-04-09 Andreas Jaeger <aj@suse.de>
50577
50578 [BZ #6894]
50579 * manual/filesys.texi (Directory Entries): Mention that d_namlen
50580 is an optional BSD extension.
50581
50582 [BZ #10254]
50583 * manual/stdio.texi (Opening Streams): Document additional fopen
50584 parameters.
50585
50586 2012-04-09 Roland McGrath <roland@hack.frob.com>
50587
50588 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
50589 %eax without telling the compiler.
50590
50591 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
50592
50593 [BZ # 13963]
50594 * manual/install.texi: Use sourceware.org.
50595
50596 2012-04-09 Joseph Myers <joseph@codesourcery.com>
50597
50598 [BZ #13873]
50599 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
50600 (__ieee754_pow): Generate overflow and underflow using huge*huge
50601 and tiny*tiny rather than just returning constant infinity or zero
50602 for large exponents.
50603 * math/libm-test.inc (pow_test): Require overflow exceptions for
50604 applicable cases of large exponents.
50605
50606 [BZ #706]
50607 * sysdeps/i386/fpu/e_pow.S (p10): New object.
50608 (__ieee754_pow): Use iterative multiplication algorithm only for
50609 integer exponents with absolute value below 1024. Check for odd
50610 integer exponents when using algorithm for real exponents.
50611 * math/libm-test.inc (pow_test): Add more tests.
50612 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50613
50614 2012-04-08 Joseph Myers <joseph@codesourcery.com>
50615
50616 [BZ #13705]
50617 * math/libm-test.inc (exp_test): Do not allow overflow exception
50618 on underflow test.
50619
50620 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
50621
50622 [BZ #13705]
50623 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
50624 instead of __kernel_standard_f.
50625
50626 2012-04-08 Mike Frysinger <vapier@gentoo.org>
50627
50628 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
50629 * sysdeps/x86_64/memset_chk.S: Likewise.
50630
50631 2012-04-08 Andreas Jaeger <aj@suse.de>
50632
50633 [BZ #10153]
50634 * manual/startup.texi (Environment Access): Describe return value
50635 for putenv and setenv.
50636
50637 [BZ #6895]
50638 * manual/filesys.texi (Directory Entries): Add description for
50639 DT_LNK.
50640
50641 [BZ #6890]
50642 * manual/filesys.texi (Directory Entries): Clarify that it's file
50643 system not operating system in the description of DT_UNKNOWN.
50644
50645 [BZ #6578]
50646 * manual/syslog.texi (closelog): Fix reference, it's openlog.
50647
50648 2012-04-08 Stephen Compall <s11@member.fsf.org>
50649
50650 [BZ #6649]
50651 * manual/llio.texi (Opening and Closing Files): Add cross
50652 reference to explain mode argument.
50653
50654 2012-04-07 Mike Frysinger <vapier@gentoo.org>
50655
50656 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
50657 * sysdeps/x86_64/memset_chk.S: Likewise.
50658
50659 2012-04-07 David S. Miller <davem@davemloft.net>
50660
50661 * elf/elf.h (R_SPARC_WDISP10): Define.
50662 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
50663 R_SPARC_SIZE32.
50664 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
50665 R_SPARC_SIZE64 and R_SPARC_H34.
50666
50667 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
50668
50669 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
50670 conditions and remove no longer applicable assertion.
50671
50672 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
50673
50674 * bits/byteswap.h: Include <features.h>.
50675 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50676 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50677
50678 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
50679
50680 * bits/byteswap.h (__bswap_16): Removed.
50681 Include <bits/byteswap-16.h> to get __bswap_16.
50682 * sysdeps/i386/bits/byteswap.h: Likewise.
50683 * sysdeps/s390/bits/byteswap.h: Likewise.
50684 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50685 * bits/byteswap-16.h: New file.
50686 * sysdeps/i386/bits/byteswap-16.h: Likewise.
50687 * sysdeps/s390/bits/byteswap-16.h: Likewise.
50688 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
50689 * string/Makefile (headers): Add bits/byteswap-16.h.
50690
50691 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
50692
50693 [BZ #13895]
50694 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
50695 extra indirection.
50696 * nss/Makefile (tests-static, tests): Add tst-nss-static.
50697 * nss/tst-nss-static.c: New.
50698
50699 2012-04-06 Robert Millan <rmh@gnu.org>
50700
50701 [BZ #6486]
50702 * manual/llio.texi (File Position Primitive): lseek
50703 refers to WHENCE when it really means OFFSET.
50704
50705 2012-04-06 Andreas Jaeger <aj@suse.de>
50706
50707 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
50708 strncmp declarations.
50709
50710 * abilist/libc.abilist: Add __poll and __ppoll.
50711
50712 2012-04-05 David S. Miller <davem@davemloft.net>
50713
50714 * scripts/check-local-headers.sh: Accept a host triplet in the
50715 path matched by the exclude regexp.
50716
50717 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
50718 definition.
50719 * sysdeps/powerpc/powerpc32/dl-machine.h
50720 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
50721 * sysdeps/s390/s390-32/dl-machine.h
50722 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50723 * sysdeps/sparc/sparc32/dl-machine.h
50724 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50725 * sysdeps/sparc/sparc64/dl-machine.h
50726 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50727
50728 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
50729 lazy binding.
50730 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
50731 undefined symbol errors.
50732
50733 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
50734 DT_NEEDED entries.
50735
50736 2012-04-05 Michael Matz <matz@suse.de>
50737
50738 [BZ #13592]
50739 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
50740
50741 2012-04-05 Andreas Jaeger <aj@suse.de>
50742
50743 [BZ #13908]
50744 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
50745 comment.
50746
50747 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50748
50749 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
50750 which ROUND is no valid rounding mode.
50751
50752 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50753
50754 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
50755 read again.
50756 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
50757
50758 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50759
50760 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
50761 an exception using FPU order intentionally.
50762
50763 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50764
50765 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
50766 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
50767 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
50768 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
50769
50770 2012-04-05 Simon Josefsson <simon@josefsson.org>
50771
50772 [BZ #12340]
50773 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
50774 EINVAL when BUFLEN is too smal.
50775
50776 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
50777
50778 [BZ #13553]
50779 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
50780 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
50781
50782 2012-04-03 Andreas Jaeger <aj@suse.de>
50783
50784 [BZ #13938]
50785 * manual/setjmp.texi (System V contexts): Fix sentence.
50786
50787 [BZ #13926]
50788 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
50789 New macro for this case.
50790 [!__GNUC__] (__bswap_64): New inline function for this case.
50791 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50792 * bits/byteswap.h: Likewise.
50793 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
50794 ull, guard with __GLIBC_HAVE_LONG_LONG.
50795
50796 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
50797 __GLIBC_HAVE_LONG_LONG.
50798
50799 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
50800 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
50801
50802 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50803
50804 [BZ #13691]
50805 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
50806 inptr and inend, rather than using last_ch.
50807
50808 2012-04-02 David S. Miller <davem@davemloft.net>
50809
50810 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
50811 * stdio-common/printf-parse.h (read_int): Change return type to
50812 'int', return -1 on INT_MAX overflow.
50813 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
50814 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
50815 overflows INT_MAX. Check for overflow of in-format-string precision
50816 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
50817 SIZE_MAX not INT_MAX for integer overflow test.
50818 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
50819 skip the construct in the format string but do not record anything.
50820 * stdio-common/bug22.c: Adjust to test both width/prevision
50821 INT_MAX overflow as well as total length INT_MAX overflow. Check
50822 explicitly for proper errno values.
50823
50824 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
50825
50826 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
50827 CHAR_MAX.
50828 * string/test-strcmp.c [! WIDE]: Likewise.
50829 * time/tst-mktime2.c: Likewise for INT_MAX.
50830 * string/test-string.h: #include <sys/param.h> for MIN.
50831
50832 * csu/init-first.c (__libc_init_first): Call __ctype_init.
50833 * sysdeps/i386/init-first.c (init): Likewise.
50834 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
50835 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
50836 * sysdeps/sh/init-first.c (init): Likewise.
50837
50838 2012-04-01 Ulrich Drepper <drepper@gmail.com>
50839
50840 * po/ru.po: Update from translation team.
50841 * po/vi.po: Likewise.
50842
50843 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
50844
50845 * resolv/nss_dns/dns-host.c: Merge copyright years.
50846
50847 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50848
50849 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50850 Optimize memcpy with prefetch if
50851 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
50852 src, dst pointers have unequal 16 byte alignments.
50853
50854 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
50855
50856 [BZ #13928]
50857 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
50858 from a CNAME entry and return the minimum ttl for the query.
50859 (gaih_getanswer_slice): Likewise.
50860
50861 2012-03-30 Jeff Law <law@redhat.com>
50862
50863 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
50864 due to long keys.
50865 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
50866 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
50867
50868 * resolv/nss_dns/dns-host.c: Update copyright year.
50869
50870 2012-03-30 Ulrich Drepper <drepper@gmail.com>
50871
50872 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
50873 requests to save a system call. Fix check that all bytes are sent.
50874
50875 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
50876 comments for sendmmsg.
50877
50878 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50879
50880 [BZ #13691]
50881 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
50882 with only 1 character between 0x0041 and 0x01b0.
50883 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
50884 * wcsmbs/tst-mbsnrtowcs.c: New file.
50885
50886 2012-03-29 David S. Miller <davem@davemloft.net>
50887
50888 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
50889 small copies by hand.
50890
50891 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
50892
50893 [BZ #13761]
50894 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
50895 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
50896 group memberships.
50897
50898 2012-03-28 David S. Miller <davem@davemloft.net>
50899
50900 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
50901 that branches into memcpy.
50902 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
50903 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
50904 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
50905 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
50906 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
50907 bits.
50908 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
50909 implementation too.
50910 * sysdeps/sparc/mempcpy.S: New file.
50911
50912 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
50913 the IFUNC routine in the libc case.
50914 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
50915
50916 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
50917 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
50918 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
50919 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
50920 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
50921 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
50922 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
50923 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
50924
50925 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
50926 loop to 256 bytes instead of 64 bytes and fix test signedness.
50927
50928 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
50929 * sysdeps/sparc/sparc32/Makefile: rather than here...
50930 * sysdeps/sparc/sparc64/Makefile: and here.
50931
50932 2012-03-28 Ulrich Drepper <drepper@gmail.com>
50933
50934 * malloc/mallocbug.c: Avoid warnings about unused variables.
50935
50936 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
50937
50938 [BZ #13760]
50939 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
50940 in the right place. Discard and retry query if response is
50941 larger than input buffer size.
50942
50943 2012-03-28 Joseph Myers <joseph@codesourcery.com>
50944
50945 [BZ #369]
50946 [BZ #2678]
50947 [BZ #3866]
50948 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
50949 x for large integer exponent.
50950 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
50951 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
50952 sign of result as needed afterwards.
50953 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
50954 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
50955 result for underflowing pow the same as for overflow.
50956 (__kernel_standard_l): Handle powl overflow and underflow here
50957 rather than calling __kernel_standard.
50958 * math/libm-test.inc (pow_test): Add more tests.
50959
50960 [BZ #3868]
50961 [BZ #13879]
50962 [BZ #13910]
50963 [BZ #13911]
50964 [BZ #13912]
50965 [BZ #13913]
50966 [BZ #13915]
50967 [BZ #13916]
50968 [BZ #13917]
50969 [BZ #13918]
50970 [BZ #13919]
50971 [BZ #13920]
50972 [BZ #13921]
50973 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
50974 * sysdeps/ieee754/k_standard.c: Include <float.h>.
50975 (__kernel_standard_l): New function.
50976 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
50977 __kernel_standard.
50978 * math/w_acosl.c (__acosl): Likewise.
50979 * math/w_asinl.c (__asinl): Likewise.
50980 * math/w_atan2l.c (__atan2l): Likewise.
50981 * math/w_atanhl.c (__atanhl): Likewise.
50982 * math/w_coshl.c (__coshl): Likewise.
50983 * math/w_exp10l.c (__exp10l): Likewise.
50984 * math/w_exp2l.c (__exp2l): Likewise.
50985 * math/w_fmodl.c (__fmodl): Likewise.
50986 * math/w_hypotl.c (__hypotl): Likewise.
50987 * math/w_j0l.c (__j0l, __y0l): Likewise.
50988 * math/w_j1l.c (__j1l, __y1l): Likewise.
50989 * math/w_jnl.c (__jnl, __ynl): Likewise.
50990 * math/w_lgammal.c (__lgammal): Likewise.
50991 * math/w_log10l.c (__log10l): Likewise.
50992 * math/w_log2l.c (__log2l): Likewise.
50993 * math/w_logl.c (__logl): Likewise.
50994 * math/w_powl.c (__powl): Likewise.
50995 * math/w_remainderl.c (__remainderl): Likewise.
50996 * math/w_scalbl.c (sysv_scalbl): Likewise.
50997 * math/w_sinhl.c (__sinhl): Likewise.
50998 * math/w_sqrtl.c (__sqrtl): Likewise.
50999 * math/w_tgammal.c (__tgammal): Likewise.
51000 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
51001 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
51002 * math/libm-test.inc (acos_test): Add more tests.
51003 (acosh_test): Likewise.
51004 (asin_test): Likewise.
51005 (atanh_test): Likewise.
51006 (exp_test): Likewise.
51007 (exp10_test): Likewise.
51008 (exp2_test): Likewise.
51009 (expm1_test): Likewise.
51010 (lgamma_test): Likewise.
51011 (log_test): Likewise.
51012 (log10_test): Likewise.
51013 (log1p_test): Likewise.
51014 (log2_test): Likewise.
51015 (pow_test): Do not allow some spurious overflow exceptions.
51016 (sqrt_test): Add more tests.
51017 (tgamma_test): Likewise.
51018 (y0_test): Likewise.
51019 (y1_test): Likewise.
51020 (yn_test): Likewise.
51021
51022 2012-03-27 Anton Blanchard <anton@samba.org>
51023
51024 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
51025 MAP_HUGETLB.
51026 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51027 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51028 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51029
51030 2012-03-27 David S. Miller <davem@davemloft.net>
51031
51032 * conform/Makefile: Run run-conformtest.sh using $(BASH).
51033
51034 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
51035 have-as-vis3 check.
51036
51037 2012-03-27 Andreas Jaeger <aj@suse.de>
51038
51039 * sysdeps/x86_64/elf/configure.in: Moved to ...
51040 * sysdeps/x86_64/configure.in: ... here.
51041 * sysdeps/x86_64/elf/start.S: Moved to ...
51042 * sysdeps/x86_64/start.S: ... here.
51043 * sysdeps/x86_64/elf/configure: Delete.
51044
51045 * sysdeps/x86_64/configure.in: Merge contents from
51046 sysdeps/i386/configure.in (without i686 check).
51047
51048 * sysdeps/i386/elf/Versions: Merge into ...
51049 * sysdeps/i386/Versions: ... this.
51050 * sysdeps/i386/elf/Versions: Delete file.
51051 * sysdeps/i386/elf/start.S: Moved to ...
51052 * sysdeps/i386/start.S: ...here.
51053 * sysdeps/i386/elf/configure.in: Merge into...
51054 * sysdeps/i386/configure.in: ...here.
51055 * sysdeps/i386/elf/configure.in: Delete file.
51056 * sysdeps/i386/elf/configure: Delete file.
51057
51058 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
51059 * debug/backtracesyms.c: ... here.
51060 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
51061 * debug/backtracesymsfd.c: ... here.
51062 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
51063 * sysdeps/generic/ifunc-sel.h: ... here.
51064
51065 * sysdeps/unix/i386/start.c: Delete file.
51066 * sysdeps/unix/sparc/start.c: Delete file.
51067 * sysdeps/unix/start.c: Delete file.
51068
51069 * sysdeps/sh/elf/configure.in: Moved to ...
51070 * sysdeps/sh/configure.in: ... here.
51071 * sysdeps/sh/elf/start.S: Moved to ...
51072 * sysdeps/sh/start.S: ... here.
51073 * sysdeps/sh/elf/configure: Delete file.
51074
51075 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
51076 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
51077 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
51078 * sysdeps/powerpc/powerpc64/entry.h: ... here.
51079 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
51080 * sysdeps/powerpc/powerpc64/start.S: here.
51081 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
51082 * sysdeps/powerpc/powerpc64/Makefile: ... this.
51083 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
51084 * sysdeps/powerpc/powerpc64/configure.in: ... this.
51085 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
51086
51087 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
51088 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
51089 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
51090 * sysdeps/powerpc/powerpc32/start.S: ... here.
51091 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
51092 * sysdeps/powerpc/powerpc32/configure.in: ... this.
51093 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
51094
51095 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
51096 * sysdeps/powerpc/ifunc-sel.h: ... here.
51097 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
51098 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
51099
51100 * sysdeps/sparc/elf/configure.in: Moved to ...
51101 * sysdeps/sparc/configure.in: ... here.
51102 * sysdeps/sparc/elf/configure: Delete file.
51103 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
51104 * sysdeps/sparc/sparc32/start.S: ... here.
51105 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
51106 * sysdeps/sparc/sparc64/start.S: ... here.
51107 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
51108 * sysdeps/sparc/sparc32/Makefile: ... this.
51109 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
51110 * sysdeps/sparc/sparc64/Makefile: ... this.
51111
51112 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
51113 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
51114 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
51115 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
51116 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
51117 * sysdeps/s390/s390-32/setjmp.S: ... here.
51118 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
51119 * sysdeps/s390/s390-32/configure.in: ... here.
51120 * sysdeps/s390/s390-32/elf/configure: Delete file.
51121 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
51122 * sysdeps/s390/s390-32/start.S: ... here.
51123
51124 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
51125 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
51126 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
51127 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
51128 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
51129 * sysdeps/s390/s390-64/setjmp.S: ... here.
51130 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
51131 * sysdeps/s390/s390-64/configure.in: ... here
51132 * sysdeps/s390/s390-64/elf/configure: Delete file.
51133 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
51134 * sysdeps/s390/s390-64/start.S: ... here.
51135 * sysdeps/s390/s390-64/elf/configure: Delete.
51136
51137 * configure.in: Remove support for elf directories in sysdeps.
51138
51139 * configure: Regenerated.
51140 * sysdeps/i386/configure: Regenerated.
51141 * sysdeps/powerpc/powerpc32/configure: Regenerated.
51142 * sysdeps/powerpc/powerpc64/configure: Regenerated.
51143 * sysdeps/s390/s390-32/configure: Regenerated.
51144 * sysdeps/s390/s390-64/configure: Regenerated.
51145 * sysdeps/sh/configure: Regenerated.
51146 * sysdeps/sparc/configure: Regenerated.
51147 * sysdeps/x86_64/configure: Regenerated.
51148
51149 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
51150
51151 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51152
51153 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
51154 denormal result into account.
51155
51156 2012-03-25 Roland McGrath <roland@hack.frob.com>
51157
51158 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
51159 Reported by Allan McRae <allan@archlinux.org>.
51160
51161 2012-03-23 Jeff Law <law@redhat.com>
51162
51163 * nss/getnssent.c (__nss_getent): Fix typo.
51164
51165 2012-03-23 David S. Miller <davem@davemloft.net>
51166
51167 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51168
51169 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
51170
51171 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
51172 to pad to uint64_t for each field.
51173 (dl_tls_index): Replace unsigned long with uint64_t.
51174
51175 2012-03-23 Daniel Jacobowitz <dmj@google.com>
51176 Paul Pluzhnikov <ppluzhnikov@google.com>
51177
51178 [BZ #6528]
51179 * grp/Makefile (otherlibs): Don't set it.
51180 * inet/Makefile (otherlibs): Likewise.
51181 * login/Makefile (otherlibs): Likewise.
51182 * nscd/Makefile (otherlibs): Likewise.
51183 * posix/Makefile (otherlibs): Likewise.
51184 * pwd/Makefile (otherlibs): Likewise.
51185 * rt/Makefile (otherlibs): Likewise.
51186 * sunrpc/Makefile (otherlibs): Likewise.
51187 * nss/Makefile (otherlibs): Likewise.
51188 Add libnss_files to routines and static-only-routines.
51189 ($(objpfx)getent): Remove rule.
51190 * resolv/Makefile: Add libnss_dns and libresolv to routines and
51191 static-only-routines.
51192
51193 2012-03-22 Joseph Myers <joseph@codesourcery.com>
51194
51195 [BZ #13892]
51196 * math/s_cexp.c: Include <float.h>.
51197 (__cexp): Handle exp result overflowing not necessarily
51198 overflowing both real and imaginary parts of result.
51199 * math/s_cexpf.c: Likewise.
51200 * math/s_cexpl.c: Likewise.
51201 * math/libm-test.inc (cexp_test): Add more tests.
51202 * sysdeps/i386/fpu/libm-test-ulps: Update.
51203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51204
51205 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
51206
51207 * include/link.h (ELFW): New macro.
51208 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
51209 Replace ELF64_R_TYPE with ELFW(R_TYPE).
51210
51211 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
51212
51213 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
51214 with uint64_t.
51215
51216 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
51217
51218 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
51219 declaration.
51220 (struct La_x32_retval): Likewise.
51221
51222 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
51223
51224 * sysdeps/x86_64/preconfigure.in: New file.
51225 * sysdeps/x86_64/preconfigure: New generated file.
51226
51227 2012-03-22 Joseph Myers <joseph@codesourcery.com>
51228
51229 [BZ #13824]
51230 * math/e_exp2l.c: Include <float.h>.
51231 (__ieee754_exp2l): Handle overflow and underflow cases
51232 separately. Only pass fractional part of argument to
51233 __ieee754_expl.
51234 * math/libm-test.inc (exp2_test): Add more tests.
51235
51236 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
51237 negating x to take absolute value.
51238 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
51239 Likewise.
51240 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
51241 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
51242 Likewise.
51243 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
51244 computing low part if x was negated.
51245 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
51246
51247 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
51248
51249 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
51250 la_x32_gnu_pltexit.
51251 (pltexit): Cast int_retval to ptrdiff_t.
51252 * elf/tst-auditmod3b.c: Likewise.
51253 * elf/tst-auditmod4b.c: Likewise.
51254 * elf/tst-auditmod5b.c: Likewise.
51255 * elf/tst-auditmod6b.c: Likewise.
51256 * elf/tst-auditmod6c.c: Likewise.
51257 * elf/tst-auditmod7b.c: Likewise.
51258
51259 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
51260 and x32_gnu_pltexit.
51261
51262 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
51263 __ELF_NATIVE_CLASS.
51264 (La_x32_regs): New macro.
51265 (La_x32_retval): Likewise.
51266 (la_x32_gnu_pltenter): New function prototype.
51267 (la_x32_gnu_pltexit): Likewise.
51268
51269 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
51270
51271 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
51272 exponent.
51273
51274 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51275
51276 * configure.in (libc_cv_cc_nofma): Check for option to disable
51277 generation of FMA instructions.
51278 * configure: Regenerate.
51279 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
51280 * sysdeps/ieee754/dbl-64/Makefile: New file.
51281 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
51282 Remove brandred-fma4.
51283 (CFLAGS-brandred-fma4.c): Remove.
51284 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
51285 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
51286 define.
51287 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
51288 define.
51289
51290 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
51291
51292 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
51293 LLONG_MAX != LONG_MAX.
51294 (_itoa_word): Use _ITOA_WORD_TYPE on value.
51295 (_fitoa_word): Likewise.
51296 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
51297 LLONG_MAX != LONG_MAX.
51298 * stdio-common/_itowa.h: Include <_itoa.h>.
51299 (_itowa_word): Use _ITOA_WORD_TYPE on value.
51300 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
51301 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
51302 only if not defined.
51303 (_ITOA_WORD_TYPE): Likewise.
51304 (_itoa_word): Use _ITOA_WORD_TYPE on value.
51305 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
51306
51307 2012-03-21 David S. Miller <davem@davemloft.net>
51308
51309 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51310
51311 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
51312
51313 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
51314 of x86_64 when setting libc_cv_slibdir, libdir and
51315 libc_cv_localedir.
51316 * sysdeps/unix/sysv/linux/configure: Regenerated.
51317
51318 2012-03-21 Joseph Myers <joseph@codesourcery.com>
51319
51320 * manual/lang.texi (Old Varargs): Remove section.
51321 (How Variadic): Update menu.
51322 (va_start): Do not mention varargs.h.
51323
51324 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
51325 Joseph Myers <joseph@codesourcery.com>
51326
51327 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
51328 link test.
51329 * configure: Regenerated.
51330
51331 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
51332
51333 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
51334 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
51335 conformtest.pl
51336
51337 2012-03-21 Joseph Myers <joseph@codesourcery.com>
51338
51339 * NOTES: Remove.
51340 * Makefile (files-for-dist): Remove NOTES.
51341 (NOTES): Remove rule.
51342 * README: Don't refer to NOTES.
51343 * manual/creature.texi: Don't include macros.texi.
51344 * manual/intro.texi (creature.texi): Remove comment referring to
51345 NOTES.
51346
51347 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
51348 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
51349 * configure: Regenerated.
51350 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
51351 LIBC_TRY_CC_OPTION.
51352 (libc_cv_as_i686): Likewise.
51353 (libc_cv_cc_avx): Likewise.
51354 (libc_cv_cc_sse2avx): Likewise.
51355 (libc_cv_cc_fma4): Likewise.
51356 (libc_cv_cc_novzeroupper): Likewise.
51357 * sysdeps/i386/configure: Regenerated.
51358
51359 [BZ #13883]
51360 * sysdeps/i386/fpu/s_cexp.S: Remove.
51361 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
51362 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
51363 * math/libm-test.inc (cexp_test): Add more tests.
51364 * sysdeps/i386/fpu/libm-test-ulps: Update.
51365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51366
51367 2012-03-21 Allan McRae <allan@archlinux.org>
51368
51369 * timezone/Makefile: Do not install iso3166.tab and zone.tab
51370
51371 2012-03-21 Joseph Myers <joseph@codesourcery.com>
51372
51373 [BZ #13871]
51374 * math/w_exp2.c: Do not include <float.h>.
51375 (o_threshold, u_threshold): Remove.
51376 (__exp2): Calculate result before checking finiteness and calling
51377 __kernel_standard.
51378 * math/w_exp2f.c: Likewise.
51379 * math/w_exp2l.c: Likewise.
51380 * math/libm-test.inc (exp2_test): Require overflow exception for
51381 1e6 input.
51382
51383 [BZ #3866]
51384 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
51385 range of signed 64-bit integers before using fistpll. Remove
51386 checks for whether integers fit in mantissa bits.
51387 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
51388 the range of signed 32-bit integers before using fistpl. Remove
51389 checks for whether integers fit in mantissa bits.
51390 * sysdeps/i386/fpu/e_powl.S (p64): New object.
51391 (__ieee754_powl): Test for y outside the range of signed 64-bit
51392 integers before using fistpll. Reduce 64-bit values to 63-bit
51393 ones as needed.
51394 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
51395 divide-by-zero is raised for zero to large negative powers.
51396 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
51397 (__ieee754_powl): Test for y outside the range of signed 64-bit
51398 integers before using fistpll. Reduce 64-bit values to 63-bit
51399 ones as needed.
51400 * math/libm-test.inc (pow_test): Add more tests.
51401
51402 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
51403
51404 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
51405 <stdio-common/_itoa.h>.
51406 * debug/segfault.c: Likewise.
51407 * elf/dl-cache.c: Likewise.
51408 * elf/dl-minimal.c: Likewise.
51409 * elf/dl-misc.c: Likewise.
51410 * elf/dl-sysdep.c: Likewise.
51411 * elf/dl-version.c: Likewise.
51412 * elf/rtld.c: Likewise.
51413 * hurd/hurdsock.c: Likewise.
51414 * hurd/lookup-retry.c: Likewise.
51415 * malloc/malloc.c: Likewise.
51416 * malloc/mtrace.c: Likewise.
51417 * nscd/nscd_getgr_r.c: Likewise.
51418 * nscd/nscd_getpw_r.c: Likewise.
51419 * nscd/nscd_getserv_r.c: Likewise.
51420 * posix/getopt_init.c: Likewise.
51421 * posix/wordexp.c: Likewise.
51422 * stdio-common/_itoa.c: Likewise.
51423 * stdio-common/printf_fphex.c: Likewise.
51424 * stdio-common/vfprintf.c: Likewise.
51425 * string/_strerror.c: Likewise.
51426 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
51427 * sysdeps/i386/i686/hp-timing.h: Likewise.
51428 * sysdeps/mach/_strerror.c: Likewise.
51429 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
51430 * sysdeps/mach/hurd/sethostid.c: Likewise.
51431 * sysdeps/mach/hurd/xmknodat.c: Likewise.
51432 * sysdeps/mach/xpg-strerror.c: Likewise.
51433 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51434 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
51435 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
51436 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
51437 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
51438 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
51439 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
51440 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
51441 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
51442 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
51443 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
51444 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
51445 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
51446 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
51447 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
51448 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
51449 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
51450 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
51451 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
51452 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
51453 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
51454
51455 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
51456
51457 * stdio-common/_itoa.h: Moved to ...
51458 * sysdeps/generic/_itoa.h: Here.
51459
51460 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
51461
51462 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
51463 instead of "_itoa.h" and "_itowa.h".
51464 * stdio-common/vfprintf.: Likewise.
51465
51466 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
51467
51468 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
51469 <bits/wordsize.h>.
51470 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
51471 (__signbit): Likwise.
51472 (llrintf): Likwise.
51473 (llrint): Likwise.
51474
51475 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
51476
51477 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
51478 __WORDSIZE != 64.
51479
51480 2012-03-20 Joseph Myers <joseph@codesourcery.com>
51481
51482 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
51483 OVERFLOW_EXCEPTION_OK.
51484 * math/libm-test.inc ("Philosophy"): Update comment about
51485 exception testing.
51486 (OVERFLOW_EXCEPTION): Define.
51487 (OVERFLOW_EXCEPTION_OK): Likewise.
51488 (INVALID_EXCEPTION_OK): Renumber.
51489 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51490 (IGNORE_ZERO_INF_SIGN): Likewise.
51491 (test_exceptions): Handle FE_OVERFLOW.
51492 (exp10_test): Expect overflow exceptions.
51493 (exp2_test): Likewise.
51494 (expm1_test): Likewise.
51495 (nextafter_test): Likewise.
51496 (pow_test): Likewise.
51497 (scalbn_test): Likewise.
51498 (scalbln_test): Likewise.
51499
51500 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51501
51502 * sysdeps/x86_64/bits/atomic.h
51503 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
51504 64bit integer.
51505 (atomic_exchange_acq): Likewise.
51506 (__arch_exchange_and_add_body): Likewise.
51507 (__arch_add_body): Likewise.
51508 (atomic_add_negative): Likewise.
51509 (atomic_add_zero): Likewise.
51510
51511 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51512
51513 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
51514 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
51515
51516 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51517
51518 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
51519 Check __x86_64__ instead of __WORDSIZE.
51520
51521 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51522
51523 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
51524
51525 2012-03-19 David S. Miller <davem@davemloft.net>
51526
51527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51528
51529 * sysdeps/sparc/fpu/fenv_private.h: New file.
51530 * sysdeps/sparc/fpu/math_private.h: Use it.
51531 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
51532 Remove.
51533 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
51534 (libc_feholdexcept_setroundl): Remove.
51535 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
51536 Remove.
51537 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
51538 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
51539
51540 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51541
51542 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
51543 int64_t instead of long int.
51544 (INSERT_WORDS64): Likwise.
51545
51546 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51547
51548 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
51549 _Unwind_GetCFA return to _Unwind_Ptr first.
51550
51551 2012-03-19 Joseph Myers <joseph@codesourcery.com>
51552
51553 [BZ #13629]
51554 * math/s_clog.c: Include <float.h>.
51555 (__clog): Scale large or subnormal inputs.
51556 * math/s_clogf.c: Likewise.
51557 * math/s_clogl.c: Likewise.
51558 * math/s_clog10.c: Include <float.h>.
51559 (M_LOG10_2): Define.
51560 (__clog10): Scale large or subnormal inputs.
51561 * math/s_clog10f.c: Likewise.
51562 * math/s_clog10l.c: Likewise.
51563 * math/libm-test.inc (clog_test): Add more tests.
51564 (clog10_test): Likewise.
51565 * sysdeps/i386/fpu/libm-test-ulps: Update.
51566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51567
51568 [BZ #11451]
51569 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
51570 x and y.
51571 * math/libm-test.inc (atan2_test): Add another test.
51572
51573 * Makerules (common-objdir-compile): Remove.
51574 * sysdeps/unix/Makefile (config-generated): Do not add
51575 $(unix-generated) to variable.
51576 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
51577 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
51578 Remove rule.
51579 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
51580 Likewise.
51581 [generic bits/local_lim.h] (before-compile): Do not append to
51582 variable.
51583 [generic bits/local_lim.h] (common-generated): Likewise.
51584 [generic sys/param.h] (before-compile): Do not append to variable.
51585 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
51586 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
51587 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
51588 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
51589 include.
51590 [generic sys/param.h] (sys/param.h-includes): Remove variable.
51591 [generic sys/param.h] (sys/param.h-includes): Remove rule.
51592 [generic sys/param.h] ($(addprefix
51593 $(common-objpfx),$(sys/param.h-includes))): Likewise.
51594 [generic sys/param.h] (common-generated): Do not append to
51595 variable.
51596 [generic sys/param.h] (sysdep_headers): Likewise.
51597 [generic bits/errno.h] (before-compile): Do not append to
51598 variable.
51599 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
51600 rule.
51601 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
51602 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
51603 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
51604 [generic bits/errno.h] (common-generated): Do not append to
51605 variable.
51606 [generic bits/ioctls.h] (before-compile): Do not append to
51607 variable.
51608 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
51609 rule.
51610 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
51611 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
51612 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
51613 rule.
51614 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
51615 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
51616 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
51617 [generic bits/ioctls.h] (common-generated): Do not append to
51618 variable.
51619 [generic sys/syscall.h] (syscall.h): Remove variable.
51620 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
51621 rule.
51622 [generic sys/syscall.h] (before-compile): Do not append to
51623 variable.
51624 [generic sys/syscall.h] (common-generated): Likewise.
51625 * sysdeps/unix/errnos-tmpl.c: Remove file.
51626 * sysdeps/unix/errnos.awk: Likewise.
51627 * sysdeps/unix/ioctls-tmpl.c: Likewise.
51628 * sysdeps/unix/ioctls.awk: Likewise.
51629 * sysdeps/unix/mk-local_lim.c: Likewise.
51630 * sysdeps/unix/snarf-ioctls: Likewise.
51631
51632 2012-03-19 Richard Henderson <rth@twiddle.net>
51633
51634 * sysdeps/i386/fpu/fenv_private.h: New file.
51635 * sysdeps/i386/fpu/math_private.h: Use it.
51636 (math_opt_barrier, math_force_eval): Remove.
51637 (libc_feholdexcept_setround_53bit): Remove.
51638 (libc_feupdateenv_53bit): Remove.
51639 * sysdeps/x86_64/fpu/math_private.h: Likewise.
51640 (math_opt_barrier, math_force_eval): Remove.
51641 (libc_feholdexcept): Remove.
51642 (libc_feholdexcept_setround): Remove.
51643 (libc_fetestexcept, libc_fesetenv): Remove.
51644 (libc_feupdateenv_test): Remove.
51645 (libc_feupdateenv, libc_feholdsetround): Remove.
51646 (libc_feresetround): Remove.
51647
51648 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
51649 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
51650
51651 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
51652 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
51653 (libc_feupdateenv_testl): New.
51654 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
51655 (libc_feupdateenv_testf): New.
51656 (libc_feupdateenv): Use libc_feupdateenv_test.
51657 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
51658 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
51659
51660 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
51661 (libc_feholdsetroundf, libc_feholdsetroundl): New.
51662 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
51663 (libc_feresetround_noex): New.
51664 (libc_feresetround_noexf): New.
51665 (libc_feresetround_noexl): New.
51666 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
51667 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
51668 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
51669 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
51670 SET_RESTORE_ROUND.
51671 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
51672 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
51673 (__cos): Likewise.
51674 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
51675 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
51676 SET_RESTORE_ROUND_NOEX.
51677 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
51678 SET_RESTORE_ROUND_NOEXF.
51679 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
51680 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
51681 (libc_feholdsetroundf): New.
51682 (libc_feresetround, libc_feresetroundf): New.
51683
51684 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
51685 (libc_feholdexcept_setround_53bit): Convert from macro to function.
51686 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
51687
51688 * sysdeps/generic/math_private.h: Include <fenv.h>.
51689 (default_libc_feholdexcept): New.
51690 (default_libc_feholdexcept_setround): New.
51691 (default_libc_fesetenv, default_libc_feupdateenv): New.
51692 (libc_feholdexcept): Only define if undefined.
51693 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
51694 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
51695 (libc_feholdexcept_setroundl): Likewise.
51696 (libc_feholdexcept_setround_53bit): Likewise.
51697 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
51698 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
51699 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
51700 (libc_feupdateenv_53bit): Likewise.
51701 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
51702 (libc_feholdexcept): Convert from macro to inline function.
51703 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
51704 (libc_fesetenv, libc_feupdateenv): Likewise.
51705
51706 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
51707 not previously defined.
51708 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
51709 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
51710 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
51711 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
51712 * sysdeps/ieee754/flt-32/math_private.h: New file.
51713 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
51714 math_private.h below SET_FLOAT_WORD.
51715 (__isnan, __isinf_ns, __finite): Remove.
51716 (__isnanf, __isinf_nsf, __finitef): Remove.
51717
51718 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
51719
51720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51721
51722 2012-03-17 David S. Miller <davem@davemloft.net>
51723
51724 [BZ #6471]
51725 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
51726 for 2.16.
51727
51728 2012-03-16 David S. Miller <davem@davemloft.net>
51729
51730 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
51731 warnings.
51732
51733 [BZ #6471]
51734 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
51735 properly.
51736 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
51737 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
51738 sysdep_routines when subdir is sysvipc.
51739 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
51740 __getshmlba helper.
51741
51742 * sysdeps/sparc/fpu/libm-test/ulps: Update.
51743
51744 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51745
51746 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
51747 [__LP64__].
51748
51749 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51750
51751 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
51752 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
51753 (__lround): Renamed to ...
51754 (__llround): This. Replace long int with long long int.
51755 Define lround functions as aliases of llround functions.
51756 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
51757
51758 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51759
51760 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
51761 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
51762 adresses to uintptr_t. Replace "long int" and "unsigned long
51763 int" with "greg_t" on va_arg.
51764
51765 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51766
51767 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
51768 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
51769
51770 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
51771 Move e_machine check before EI_CLASS check. Handle x32
51772 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
51773 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
51774 SKIP_EM_IA_64 and include
51775 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
51776
51777 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
51778 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
51779 (add_system_dir): New macro.
51780
51781 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
51782 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
51783
51784 2012-03-16 Joseph Myers <joseph@codesourcery.com>
51785
51786 [BZ #2551]
51787 [BZ #2552]
51788 [BZ #2553]
51789 [BZ #2554]
51790 [BZ #2562]
51791 [BZ #2563]
51792 [BZ #2565]
51793 [BZ #2566]
51794 [BZ #2576]
51795 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
51796 (y0): Likewise.
51797 * math/w_j0f.c (j0f): Likewise.
51798 (y0f): Likewise.
51799 * math/w_j0l.c (__j0l): Likewise.
51800 (__y0l): Likewise.
51801 * math/w_j1.c (j1): Likewise.
51802 (y1): Likewise.
51803 * math/w_j1f.c (j1f): Likewise.
51804 (y1f): Likewise.
51805 * math/w_j1l.c (__j1l): Likewise.
51806 (__y1l): Likewise.
51807 * math/w_jn.c (jn): Likewise.
51808 (yn): Likewise.
51809 * math/w_jnf.c (jnf): Likewise.
51810 (ynf): Likewise.
51811 * math/w_jnl.c (__jnl): Likewise.
51812 (__ynl): Likewise.
51813 * math/libm-test.inc (j0_test): Add more tests.
51814 (j1_test): Likewise.
51815 (jn_test): Likewise. Add trailing semicolon to existing test.
51816 (y0_test): Likewise.
51817 (y1_test): Likewise.
51818 * sysdeps/i386/fpu/libm-test-ulps: Update.
51819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51820
51821 [BZ #13851]
51822 [BZ #13854]
51823 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
51824 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
51825 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
51826 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
51827 (__tanl): Set errno for infinite argument.
51828 * sysdeps/i386/fpu/mptan.c: Remove.
51829 * sysdeps/i386/fpu/s_tan.S: Likewise.
51830 * sysdeps/i386/fpu/s_tanl.S: Likewise.
51831 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
51832 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
51833 * math/libm-test.inc (tan_test): Add more tests and enable more
51834 tests for double and long double.
51835 * sysdeps/i386/fpu/libm-test-ulps: Update.
51836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51837
51838 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
51839
51840 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
51841 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
51842
51843 2012-03-16 Roland McGrath <roland@hack.frob.com>
51844
51845 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
51846 * configure.in: Use it for both main tree and add-ons.
51847 * configure: Regenerated.
51848
51849 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51850
51851 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
51852
51853 2012-03-16 Joseph Myers <joseph@codesourcery.com>
51854
51855 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
51856 in comment.
51857
51858 [BZ #13851]
51859 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
51860 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
51861 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
51862 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
51863 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
51864 infinite argument.
51865 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
51866 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
51867 != 0 for prec == 2.
51868 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
51869 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
51870 * sysdeps/i386/fpu/s_cosl.S: Likewise.
51871 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
51872 * sysdeps/i386/fpu/s_sinl.S: Likewise.
51873 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
51874 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
51875 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
51876 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
51877 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
51878 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
51879 * math/libm-test.inc (cos_test): Add more tests and enable more
51880 tests for long double.
51881 (sin_test): Likewise.
51882 (sincos_test): Likewise.
51883 * sysdeps/i386/fpu/libm-test-ulps: Update.
51884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51885
51886 2012-03-16 David S. Miller <davem@davemloft.net>
51887
51888 * sysdeps/sparc/fpu/math_private.h: New file.
51889
51890 2012-03-15 David S. Miller <davem@davemloft.net>
51891
51892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
51893 file.
51894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
51895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
51896 file.
51897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
51898 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
51899 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
51900 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
51901 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
51902 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
51903 sysdep routines.
51904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51905
51906 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
51907 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
51908
51909 * sysdeps/sparc/sparc-ifunc.h: New file.
51910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
51911 sparc-ifunc.h
51912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
51913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
51914 Likewise.
51915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
51916 Likewise.
51917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
51918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
51919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
51921 Likewise.
51922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
51924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
51926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
51927 Likewise.
51928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
51929 Likewise.
51930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
51932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
51933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
51934 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
51935 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
51936 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
51937 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
51938 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
51939 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
51940 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
51941 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
51942 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
51943 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
51944 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
51945 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
51946 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
51947 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
51948 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
51949 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
51950 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
51951 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
51952 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
51953 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
51954
51955 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
51956
51957 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
51958 scaling.
51959 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51960
51961 2012-03-15 Andreas Jaeger <aj@suse.de>
51962
51963 [BZ #13852]
51964 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
51965 ieee754/flt-32 implementation for sin, cos and sincos.
51966 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
51967 * sysdeps/i386/fpu/s_cosf.S: Likewise.
51968 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
51969 * sysdeps/i386/fpu/s_sinf.S: Likewise.
51970 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
51971 ieee754/flt-32 implementation for tan.
51972
51973 * math/libm-test.inc (cos_test): Enable some large input tests for
51974 float as well
51975 (sin_test): Likewise.
51976 (sincos_test): Likewise.
51977 (tan_test): Add tests for large input.
51978
51979 * sysdeps/i386/fpu/libm-test-ulps: Update.
51980
51981 2012-03-15 Andreas Jaeger <aj@suse.de>
51982
51983 [BZ #13658]
51984 * math/libm-test.inc (cos_test): Add more test cases.
51985 (sin_test): Likewise.
51986 (sincos_test): Likewise.
51987
51988 2012-03-15 Andreas Jaeger <aj@suse.de>
51989
51990 [BZ #13837]
51991 * math/libm-test.inc (cos_test): Add a test case for large input
51992 value.
51993 (sin_test): Likewise.
51994 (sincos_test): Likewise.
51995
51996 2012-03-15 Andreas Jaeger <aj@suse.de>
51997 Joseph Myers <joseph@codesourcery.com>
51998
51999 [BZ #13658]
52000 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
52001 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
52002 * sysdeps/i386/fpu/branred.c: Likewise.
52003 * sysdeps/i386/fpu/dosincos.c: Likewise.
52004 * sysdeps/i386/fpu/mpa.c: Likewise.
52005 * sysdeps/i386/fpu/s_cos.S: Likewise.
52006 * sysdeps/i386/fpu/s_sin.S: Likewise.
52007 * sysdeps/i386/fpu/s_sincos.S: Likewise.
52008 * sysdeps/i386/fpu/sincos32.c: Likewise.
52009
52010 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
52011 Define.
52012 (libc_feupdateenv_53bit): Define.
52013 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
52014 Define.
52015 (libc_feupdateenv_53bit): Define.
52016
52017 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
52018 53 bit (without extend i386 double precision).
52019
52020 * math/libm-test.inc (sincos_test): Add tests for large input.
52021 (sin): Likewise.
52022 (cos): Likewise.
52023
52024 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
52025
52026 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
52027
52028 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52029
52030 2012-03-15 David S. Miller <davem@davemloft.net>
52031
52032 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
52033 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
52034 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
52035 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
52036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
52037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
52038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
52039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
52040 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
52041 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
52042 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
52043 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
52044 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
52045 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
52046 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
52047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
52048 file.
52049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
52050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
52051 file.
52052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
52053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
52054 file.
52055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
52056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
52057 file.
52058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
52059 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
52060 fmin/fmax sysdep routines.
52061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52062
52063 2012-03-14 David S. Miller <davem@davemloft.net>
52064
52065 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
52066 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
52067 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
52068 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
52069 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
52070 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
52071 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
52072 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
52073 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
52074 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
52075 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
52076 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
52077 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
52078 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
52079 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
52080 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
52081 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
52082 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
52083 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
52084 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
52085 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
52086 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
52087 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
52088 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
52089 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
52090 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
52091 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
52092 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
52093 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
52094 routines.
52095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
52096 file.
52097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
52098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
52099 file.
52100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
52101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
52102 file.
52103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
52104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
52105 file.
52106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
52107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
52108 file.
52109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
52110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
52111 file.
52112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
52113 file.
52114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
52115 file.
52116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
52117 file.
52118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
52119 New file.
52120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
52121 file.
52122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
52123 file.
52124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
52125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
52126 file.
52127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
52128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
52129 file.
52130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
52131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
52132 file.
52133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
52134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
52135 VIS3 routines.
52136
52137 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
52138 New file.
52139
52140 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52141
52142 * sysdeps/sparc/configure.in: New file.
52143 * sysdeps/sparc/configure: Generate.
52144 * configure.in (libc_cv_sparc_as_vis3): Substitute.
52145 * configure: Regenerate.
52146 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
52147 * config.make.in (have-as-vis3): New.
52148 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
52149 available use -Av9d instead of -Av9a.
52150 * sysdeps/sparc/sparc64/Makefile: Likewise.
52151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
52152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
52153 New file.
52154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
52155 file.
52156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
52157 New file.
52158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
52159 file.
52160 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
52161 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
52162 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
52163 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
52164 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
52165
52166 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
52167 fzeros/fnegs to load 0x80000000 into a float register instead of
52168 using the stack.
52169 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
52170
52171 2012-03-14 Joseph Myers <joseph@codesourcery.com>
52172
52173 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52174 bits/syscall.h.
52175 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
52176 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
52177 ($(inst_includedir)/bits/syscall.h): Remove rule.
52178 ($(objpfx)bits/syscall.d): Include instead of
52179 $(objpfx)syscall-list.d.
52180 (generated): Change syscall-list.h and syscall-list.d to
52181 bits/syscall.h and bits/syscall.d.
52182
52183 2012-03-14 Roland McGrath <roland@hack.frob.com>
52184
52185 [BZ #13846]
52186 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
52187
52188 2012-03-14 Joseph Myers <joseph@codesourcery.com>
52189
52190 [BZ #13841]
52191 * math/s_csqrt.c: Include <float.h>.
52192 (__csqrt): Scale large or subnormal inputs.
52193 * math/s_csqrtf.c: Likewise.
52194 * math/s_csqrtl.c: Likewise.
52195 * math/libm-test.inc (csqrt_test): Add more tests.
52196 * sysdeps/i386/fpu/libm-test-ulps: Update.
52197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52198
52199 [BZ #13840]
52200 * math/libm-test.inc (hypot_test): Add more tests.
52201
52202 2012-03-13 David S. Miller <davem@davemloft.net>
52203
52204 [BZ #13840]
52205 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
52206 double-precision for the calculation instead of scaling.
52207
52208 2012-03-13 Joseph Myers <joseph@codesourcery.com>
52209
52210 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
52211 manipulate bits before adding and subtracting TWO52[sx].
52212 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
52213 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
52214 Likewise.
52215 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
52216
52217 2012-03-13 David S. Miller <davem@davemloft.net>
52218
52219 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
52220 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
52221 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
52222 rtld-global-offsets.h
52223 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52224
52225 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
52226 large parameters.
52227
52228 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
52229
52230 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
52231 'err' in the ifdef scope in which it is actually used.
52232
52233 * nss/nss_db/db-init.c: Include string.h
52234
52235 2012-03-12 David S. Miller <davem@davemloft.net>
52236
52237 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52238 masking out of the most significant byte of random value used.
52239 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52240 Fix coding style in previous change.
52241
52242 * sysdeps/unix/sysv/linux/kernel-features.h
52243 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
52244 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
52245 expression.
52246 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
52247 later.
52248
52249 2012-03-11 David S. Miller <davem@davemloft.net>
52250
52251 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
52252 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
52253 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
52254 for 'resultvar' otherwise things get truncated on 64-bit.
52255
52256 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52257 Fix masking out of the most significant byte of random value used.
52258
52259 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52260
52261 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
52262
52263 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52264
52265 2012-03-09 David S. Miller <davem@davemloft.net>
52266
52267 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
52268 variables with appropriate CPP guards.
52269 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
52270 from the frame pointer, not the stack pointer. Correct layout
52271 comments. Fix test on resulting framesize and the management of
52272 the outregs buffer for pltexit. Preserve floating point return
52273 values across _dl_call_pltexit call.
52274 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
52275 framesize and the management of the outregs buffer for pltexit.
52276 Preserve floating point return values across _dl_call_pltexit
52277 call.
52278 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
52279 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
52280 (la_sparc64_gnu_pltexit): New functions.
52281 (print_exit): Fix format string for return register value.
52282
52283 2012-03-10 Joseph Myers <joseph@codesourcery.com>
52284
52285 * sunrpc/Makefile (others): Add rpcgen.
52286 ($(objpfx)rpcgen): Remove special build rule and dependency on
52287 libc.
52288 * sunrpc/rpcgen.c: New file.
52289
52290 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
52291
52292 [BZ #13673]
52293 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
52294 * stdio-common/bug-vfprintf-nargs.c: Likewise.
52295 * sysdeps/i386/crti.S: Likewise.
52296 * sysdeps/i386/crtn.S: Likewise.
52297 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
52298 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
52299 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
52300 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
52301 * sysdeps/sh/crti.S: Likewise.
52302 * sysdeps/sh/crtn.S: Likewise.
52303 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
52304
52305 [BZ #13673]
52306 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
52307 with URL.
52308 * locale/programs/locfile-kw.gperf: Likewise.
52309 * locale/programs/charmap-kw.h: Regenerated.
52310 * locale/programs/locfile-kw.h: Likewise.
52311
52312 [BZ #13673]
52313 * intl/plural.y: Replace FSF snail mail address with URL.
52314 * intl/plural.c: Regenerated.
52315
52316 2012-03-09 Richard Henderson <rth@twiddle.net>
52317
52318 * include/math_private.h: Remove file.
52319 * math/math_private.h: Move file ...
52320 * sysdeps/generic/math_private.h: ... here.
52321
52322 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
52323 * sysdeps/powerpc/fpu/math_private.h: Likewise.
52324 * sysdeps/x86_64/fpu/math_private.h: Likewise.
52325
52326 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
52327 and <math_private.h>.
52328 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52329 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52330 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52331 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52332 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52333 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
52334 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52335 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52336 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52337 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52338 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52339 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52340 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52341 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52342 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52343 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52344 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52345 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52346 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52347 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52348 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52349 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52350 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52351 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52352 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
52353 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52354 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52355 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52356 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52357 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52358 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52359 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52360 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
52361 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52362 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52363 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52364 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52365 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52366 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52367 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52368 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
52369 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52370 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52371 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
52372 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
52373 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52374 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
52375 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
52376 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52377 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52378 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
52379 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
52380 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
52381 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52382 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
52383 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52384 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52385 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
52386 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
52387 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
52388 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52389 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
52390 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52391 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52392 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
52393 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52394 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52395 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52396 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
52397 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
52398 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
52399 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52400 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
52401 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52402 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
52403 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
52404 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
52405 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52406 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
52407 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
52408 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
52409 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
52410 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
52411 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52412 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52413 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
52414 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
52415 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
52416 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52417 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52418 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52419 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52420 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52421 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52422 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52423 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52424 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52425 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52426 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52427 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52428 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52429 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52430 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52431 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52432 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52433 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52434 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52435 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52436 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52437 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52438 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52439 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52440 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52441 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52442 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
52443 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52444 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52445 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52446 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52447 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52448 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52449 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52450 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52451 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
52452 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52453 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52454 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52455 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
52456 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52457 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
52458 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
52459 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52460 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52461 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
52462 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
52463 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
52464 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52465 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52466 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
52467 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52468 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52469 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
52470 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
52471 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
52472 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
52473 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52474 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52475 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52476 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
52477 * sysdeps/ieee754/k_standard.c: Likewise.
52478 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52479 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52480 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52481 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52482 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52483 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52484 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52485 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52486 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52487 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52488 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52489 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52490 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52491 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52492 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52493 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52494 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
52495 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52496 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52497 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
52498 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
52499 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
52500 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52501 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52502 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
52503 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
52504 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52505 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52506 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52507 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52508 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
52509 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52510 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52511 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52512 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
52513 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52514 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52515 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
52516 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
52517 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52518 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
52519 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
52520 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
52521 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52522 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
52523 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
52524 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52525 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52526 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52527 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52528 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52529 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
52530 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52531 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
52532 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52533 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52534 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
52535 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
52536 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52537 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52538 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52539 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
52540 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52541 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52542 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52543 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52544 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52545 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52546 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52547 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52548 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52549 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52550 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52551 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52552 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52553 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52554 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
52555 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52556 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52557 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
52558 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
52559 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
52560 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52561 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52562 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
52563 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52564 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52565 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
52566 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
52567 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52568 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
52569 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52570 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
52571 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
52572 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52573 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52574 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
52575 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
52576 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
52577 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
52578 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52579 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52580 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52581 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52582 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
52583 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52584 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52585 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
52586 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
52587 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52588 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52589 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52590 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52591 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52592 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52593 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52594 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52595 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52596 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52597 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52598 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52599 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52600 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52601 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52602 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52603 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
52604 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52605 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52606 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52607 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52608 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52609 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52610 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52611 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
52612 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52613 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52614 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
52615 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
52616 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52617 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
52618 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
52619 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52620 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
52621 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
52622 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
52623 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52624 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52625 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52626 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52627 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
52628 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52629 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52630 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
52631 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52632 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
52633 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
52634 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52635 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52636 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52637 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
52638 * sysdeps/ieee754/s_lib_version.c: Likewise.
52639 * sysdeps/ieee754/s_matherr.c: Likewise.
52640 * sysdeps/ieee754/s_signgam.c: Likewise.
52641 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52642 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52643 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
52644 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
52645 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
52646 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
52647 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
52648 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
52649 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
52650 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
52651 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
52652 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
52653 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
52654 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52655 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
52656 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
52657 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52658 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
52659 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52660 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52661 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52662
52663 2012-03-09 Joseph Myers <joseph@codesourcery.com>
52664
52665 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
52666 * sunrpc/rpc_main.c: Likewise.
52667 * sunrpc/rpc_svcout.c: Likewise.
52668
52669 2012-03-09 David S. Miller <davem@davemloft.net>
52670
52671 * include/math_private.h: New file.
52672
52673 2012-03-09 Joseph Myers <joseph@codesourcery.com>
52674
52675 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
52676 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
52677 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
52678 from <bits/socket_type.h>.
52679 (enum __socket_type): Don't define here.
52680 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
52681 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52682 bits/socket_type.h.
52683
52684 [BZ #13566]
52685 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
52686 checking __USE_GNU.
52687
52688 * Makerules ($(inst_includedir)/%.h): New rule.
52689 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
52690 (install-others): Remove variable setting.
52691 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
52692
52693 2012-03-08 Richard Henderson <rth@twiddle.net>
52694
52695 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
52696 from macro to inline function; merge with the
52697 !__LIBC_INTERNAL_MATH_INLINES version.
52698 (__ieee754_sqrtf): Likewise.
52699
52700 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
52701 to inline function.
52702 (__rintf, __floor, __floorf): Likewise.
52703
52704 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
52705 macro to inline function.
52706 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
52707
52708 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
52709 not <math/math_private.h>.
52710
52711 2012-03-08 David S. Miller <davem@davemloft.net>
52712
52713 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
52714 copyright year.
52715 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
52716
52717 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
52718
52719 * resolv/gai_misc.c (handle_requests): Fix struct timespec
52720 normalization.
52721 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
52722 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
52723
52724 2012-03-08 Ulrich Drepper <drepper@gmail.com>
52725
52726 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
52727 be defined individually, they must be defined as a block. Define
52728 S for printing a string instead of hidint the different by using a
52729 macro for adding the 'l'.
52730 * stdio-common/tst-fphex-wide.c: Adjust.
52731
52732 2012-03-07 Marek Polacek <polacek@redhat.com>
52733
52734 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
52735
52736 2012-03-08 Marek Polacek <polacek@redhat.com>
52737
52738 [BZ #13806]
52739 * stdio-common/Makefile (tests): Add tst-fphex-wide.
52740 * stdio-common/tst-fphex.c: Define a few macros to make the
52741 test reusable. Use them.
52742 * stdio-common/tst-fphex-wide.c: New file.
52743
52744 2012-03-08 Joseph Myers <joseph@codesourcery.com>
52745
52746 [BZ #6911]
52747 * manual/macros.texi (gnusystems): New macro.
52748 (nongnusystems): Likewise.
52749 (gnulinuxhurdsystems): Likewise.
52750 (gnuhurdsystems): Likewise..
52751 (gnulinuxsystems): Likewise.
52752 * manual/charset.texi: Use new macros or @theglibc{} to refer to
52753 variants of the GNU system, not "GNU system".
52754 * manual/conf.texi: Likewise.
52755 * manual/errno.texi: Likewise. Update example of errno macro
52756 expansion.
52757 * manual/filesys.texi: Likewise.
52758 (getumask): Document as specific to GNU/Hurd.
52759 * manual/install.texi: Likewise. Reword some references to
52760 GNU/Linux.
52761 * manual/intro.texi: Likewise.
52762 * manual/io.texi: Likewise.
52763 (File Name Portability): Detail which constraints are inapplicable
52764 to all GNU systems and which are only inapplicable to GNU/Hurd.
52765 * manual/job.texi: Likewise.
52766 * manual/llio.texi: Likewise.
52767 (O_NOCTTY): Document as present on GNU/Linux.
52768 * manual/maint.texi: Likewise.
52769 * manual/memory.texi: Likewise.
52770 * manual/pattern.texi: Likewise.
52771 * manual/pipe.texi: Likewise.
52772 * manual/process.texi: Likewise.
52773 * manual/resource.texi: Likewise.
52774 (RUSAGE_CHILDREN): Remove statement about specifying a particular
52775 child on GNU/Hurd.
52776 * manual/setjmp.texi: Likewise.
52777 * manual/signal.texi: Likewise.
52778 * manual/startup.texi: Likewise.
52779 * manual/stdio.texi: Likewise.
52780 * manual/terminal.texi: Likewise.
52781 (ONLCR): Document as POSIX.
52782 (OXTABS): Document availability on GNU/Linux as XTABS.
52783 (ONOEOT): Document availability separately from other bits.
52784 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
52785 * manual/time.texi: Likewise.
52786 * manual/users.texi: Likewise.
52787 * INSTALL: Regenerated.
52788 * sysdeps/gnu/errlist.c: Regenerated.
52789
52790 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
52791 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
52792 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
52793 puts.
52794 * configure: Regenerated.
52795
52796 2012-03-07 Joseph Myers <joseph@codesourcery.com>
52797
52798 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
52799 default includes instead of AC_HEADER_CHECK.
52800 * sysdeps/i386/configure: Regenerated.
52801
52802 [BZ #10716]
52803 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
52804 * math/s_cacoshf.c (__cacoshf): Likewise.
52805 * math/s_cacoshl.c (__cacoshl): Likewise.
52806 * math/s_casinh.c (__casinh): Set signs of result from argument.
52807 * math/s_casinhf.c (__casinhf): Likewise.
52808 * math/s_casinhl.c (__casinhl): Likewise.
52809 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
52810 (casinh_test): Add more tests.
52811 * sysdeps/i386/fpu/libm-test-ulps: Update.
52812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52813
52814 2012-03-07 Ulrich Drepper <drepper@gmail.com>
52815
52816 * po/zh_TW.po: Update from translation team.
52817
52818 * login/Makefile (distribute): Remove variable.
52819 * catgets/Makefile: Likewise.
52820 * mach/Makefile: Likewise.
52821 * malloc/Makefile: Likewise.
52822 * misc/Makefile: Likewise.
52823 * iconv/Makefile: Likewise.
52824 * nscd/Makefile: Likewise.
52825 * hurd/Makefile: Likewise.
52826 * manual/Makefile: Likewise.
52827 * locale/Makefile: Likewise.
52828 * intl/Makefile: Likewise.
52829 * conform/Makefile: Likewise.
52830 * nss/Makefile: Likewise.
52831 * time/Makefile: Likewise.
52832 * soft-fp/Makefile: Likewise.
52833 * dirent/Makefile: Likewise.
52834 * gmon/Makefile: Likewise.
52835 * po/Makefile: Likewise.
52836 * rt/Makefile: Likewise.
52837 * socket/Makefile: Likewise.
52838 * math/Makefile: Likewise.
52839 * signal/Makefile: Likewise.
52840 * debug/Makefile: Likewise.
52841 * elf/Makefile: Likewise.
52842 * timezone/Makefile: Likewise.
52843 * stdlib/Makefile: Likewise.
52844 * iconvdata/Makefile: Likewise.
52845 * sunrpc/Makefile: Likewise.
52846 * io/Makefile: Likewise.
52847 * argp/Makefile: Likewise.
52848 * inet/Makefile: Likewise.
52849 * hesiod/Makefile: Likewise.
52850 * grp/Makefile: Likewise.
52851 * csu/Makefile: Likewise.
52852 * wctype/Makefile: Likewise.
52853 * crypt/Makefile: Likewise.
52854 * libio/Makefile: Likewise.
52855 * string/Makefile: Likewise.
52856 * nis/Makefile: Likewise.
52857 * resolv/Makefile: Likewise.
52858 * stdio-common/Makefile: Likewise.
52859 * wcsmbs/Makefile: Likewise.
52860 * dlfcn/Makefile: Likewise.
52861 * posix/Makefile: Likewise.
52862
52863 [BZ #6959]
52864 * timezone/Makefile: Don't install timezone files, just the programs
52865 and scripts.
52866
52867 2012-03-06 Ulrich Drepper <drepper@gmail.com>
52868
52869 * nss/databases.def: Add missing gshadow entry.
52870
52871 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
52872
52873 2012-03-06 Marek Polacek <polacek@redhat.com>
52874
52875 [BZ #13726]
52876 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
52877 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
52878 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
52879 * stdio-common/tst-long-dbl-fphex.c: New file.
52880
52881 2012-03-06 David S. Miller <davem@davemloft.net>
52882
52883 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52884 (set_obp_int): New function.
52885 (get_obp_int): New function.
52886 (__get_clockfreq_via_dev_openprom): Likewise.
52887 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
52888 Avoid unused variable warnings on 'val' and use builtin_expect.
52889 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
52890 __builtin_expect.
52891 (INLINE_CLONE_SYSCALL): Likewise.
52892
52893 2012-03-05 David S. Miller <davem@davemloft.net>
52894
52895 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52896
52897 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
52898
52899 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52900
52901 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
52902 only for |x| >= 40.
52903 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52904
52905 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
52906
52907 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
52908 Replace gettimeofday with __vdso_gettimeofday.
52909
52910 * sysdeps/unix/sysv/linux/x86_64/init-first.c
52911 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
52912 __vdso_clock_gettime and __vdso_getcpu.
52913
52914 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
52915 time with __vdso_time.
52916
52917 2012-03-05 Joseph Myers <joseph@codesourcery.com>
52918
52919 * manual/lang.texi (size_t): Note types to which size_t may be
52920 equivalent with the GNU C Library, but do not describe when
52921 differences between them are significant.
52922
52923 2012-03-05 Andreas Jaeger <aj@suse.de>
52924
52925 * sysdeps/i386/fpu/libm-test-ulps: Update.
52926
52927 2012-03-05 Joseph Myers <joseph@codesourcery.com>
52928
52929 [BZ #3976]
52930 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
52931 (__ieee754_pow): Save and restore rounding mode and use
52932 round-to-nearest for main computations.
52933 * math/libm-test.inc (pow_test_tonearest): New function.
52934 (pow_test_towardzero): Likewise.
52935 (pow_test_downward): Likewise.
52936 (pow_test_upward): Likewise.
52937 (main): Call the new functions.
52938 * sysdeps/i386/fpu/libm-test-ulps: Update.
52939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52940
52941 [BZ #3976]
52942 * math/libm-test.inc (cosh_test_tonearest): New function.
52943 (cosh_test_towardzero): Likewise.
52944 (cosh_test_downward): Likewise.
52945 (cosh_test_upward): Likewise.
52946 (sinh_test_tonearest): Likewise.
52947 (sinh_test_towardzero): Likewise.
52948 (sinh_test_downward): Likewise.
52949 (sinh_test_upward): Likewise.
52950 (main): Call the new functions.
52951 * sysdeps/i386/fpu/libm-test-ulps: Update.
52952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52953
52954 2012-03-05 Tom de Vries <tom@codesourcery.com>
52955
52956 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
52957 default stack guard is set in last bytes.
52958 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
52959
52960 2012-03-05 Kees Cook <keescook@chromium.org>
52961
52962 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
52963
52964 [BZ #13656]
52965 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
52966 possibly allocate from heap instead of stack.
52967 * stdio-common/bug-vfprintf-nargs.c: New file.
52968 * stdio-common/Makefile (tests): Add nargs overflow test.
52969
52970 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
52971
52972 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52973
52974 2012-03-03 Marek Polacek <polacek@redhat.com>
52975
52976 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
52977 * math/math_private.h: Likewise.
52978 * stdlib/tst-strtod.c: Likewise.
52979 * sysdeps/i386/i486/bits/atomic.h: Likewise.
52980 * sysdeps/x86_64/bits/atomic.h: Likewise.
52981
52982 2012-03-02 David S. Miller <davem@davemloft.net>
52983
52984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
52985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
52986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
52987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
52988 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
52989 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
52990 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
52991 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
52992
52993 2012-03-02 Roland McGrath <roland@hack.frob.com>
52994
52995 [BZ #13792]
52996 * manual/examples/README: New file, says the example source files
52997 can be used under GPL>=2.
52998 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
52999 line containing just "*/".
53000 * manual/examples/add.c: Add copyright header (GPL>=2).
53001 * manual/examples/argp-ex1.c: Likewise.
53002 * manual/examples/argp-ex2.c: Likewise.
53003 * manual/examples/argp-ex3.c: Likewise.
53004 * manual/examples/argp-ex4.c: Likewise.
53005 * manual/examples/atexit.c: Likewise.
53006 * manual/examples/db.c: Likewise.
53007 * manual/examples/dir.c: Likewise.
53008 * manual/examples/dir2.c: Likewise.
53009 * manual/examples/execinfo.c: Likewise.
53010 * manual/examples/filecli.c: Likewise.
53011 * manual/examples/filesrv.c: Likewise.
53012 * manual/examples/fmtmsgexpl.c: Likewise.
53013 * manual/examples/genpass.c: Likewise.
53014 * manual/examples/inetcli.c: Likewise.
53015 * manual/examples/inetsrv.c: Likewise.
53016 * manual/examples/isockad.c: Likewise.
53017 * manual/examples/longopt.c: Likewise.
53018 * manual/examples/memopen.c: Likewise.
53019 * manual/examples/memstrm.c: Likewise.
53020 * manual/examples/mkfsock.c: Likewise.
53021 * manual/examples/mkisock.c: Likewise.
53022 * manual/examples/mygetpass.c: Likewise.
53023 * manual/examples/pipe.c: Likewise.
53024 * manual/examples/popen.c: Likewise.
53025 * manual/examples/rprintf.c: Likewise.
53026 * manual/examples/search.c: Likewise.
53027 * manual/examples/select.c: Likewise.
53028 * manual/examples/setjmp.c: Likewise.
53029 * manual/examples/sigh1.c: Likewise.
53030 * manual/examples/sigusr.c: Likewise.
53031 * manual/examples/stpcpy.c: Likewise.
53032 * manual/examples/strdupa.c: Likewise.
53033 * manual/examples/strftim.c: Likewise.
53034 * manual/examples/strncat.c: Likewise.
53035 * manual/examples/subopt.c: Likewise.
53036 * manual/examples/swapcontext.c: Likewise.
53037 * manual/examples/termios.c: Likewise.
53038 * manual/examples/testopt.c: Likewise.
53039 * manual/examples/testpass.c: Likewise.
53040 * manual/examples/timeval_subtract.c: Likewise.
53041
53042 [BZ #13792]
53043 * manual/time.texi (Elapsed Time): Move timeval_subtract example
53044 function to ...
53045 * manual/timeval_subtract.c.texi: ... here, new file.
53046
53047 2012-03-02 David S. Miller <davem@davemloft.net>
53048
53049 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
53050
53051 2012-03-02 Joseph Myers <joseph@codesourcery.com>
53052
53053 [BZ #3976]
53054 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
53055 (__sin): Save and restore rounding mode and use round-to-nearest
53056 for all computations.
53057 (__cos): Save and restore rounding mode and use round-to-nearest
53058 for all computations.
53059 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
53060 <fenv.h>.
53061 (tan): Save and restore rounding mode and use round-to-nearest for
53062 all computations.
53063 * math/libm-test.inc (cos_test_tonearest): New function.
53064 (cos_test_towardzero): Likewise.
53065 (cos_test_downward): Likewise.
53066 (cos_test_upward): Likewise.
53067 (sin_test_tonearest): Likewise.
53068 (sin_test_towardzero): Likewise.
53069 (sin_test_downward): Likewise.
53070 (sin_test_upward): Likewise.
53071 (tan_test_tonearest): Likewise.
53072 (tan_test_towardzero): Likewise.
53073 (tan_test_downward): Likewise.
53074 (tan_test_upward): Likewise.
53075 (main): Call the new functions.
53076 * sysdeps/i386/fpu/libm-test-ulps: Update.
53077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53078
53079 [BZ #10135]
53080 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
53081 small n, then large n, before computing and testing k+n.
53082 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
53083 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
53084 Likewise.
53085 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
53086 Likewise.
53087 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
53088 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
53089 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
53090 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
53091 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
53092 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
53093 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
53094 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
53095 * math/libm-test.inc (scalbn_test): Add more tests.
53096 (scalbln_test): Likewise.
53097
53098 * manual/filesys.texi (mode_t): Describe constraints on size and
53099 signedness, not exact equivalence to a particular type.
53100 (ino_t): Likewise.
53101 (ino64_t): Likewise.
53102 (dev_t): Likewise.
53103 (nlink_t): Likewise.
53104 (blkcnt_t): Likewise.
53105 (blkcnt64_t): Likewise.
53106 * manual/llio.texi (off_t): Likewise.
53107
53108 [BZ #3976]
53109 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
53110 (__ieee754_exp): Save and restore rounding mode and use
53111 round-to-nearest for all computations.
53112 * math/libm-test.inc (exp_test_tonearest): New function.
53113 (exp_test_towardzero): Likewise.
53114 (exp_test_downward): Likewise.
53115 (exp_test_upward): Likewise.
53116 (main): Call the new functions.
53117 * sysdeps/i386/fpu/libm-test-ulps: Update.
53118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53119
53120 2012-03-01 Chris Demetriou <cgd@google.com>
53121
53122 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
53123 have predictable order.
53124
53125 2012-03-01 David S. Miller <davem@davemloft.net>
53126
53127 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
53128
53129 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
53130 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
53131 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
53132 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
53133
53134 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
53135 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
53136 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
53137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
53138 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
53139 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
53140 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
53141 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
53142 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
53143
53144 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53145
53146 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
53147 * sysdeps/sparc/fpu/libm-test-ulps: to here.
53148 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
53149
53150 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
53151 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53152 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53153 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
53154 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
53155 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
53156 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
53157 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53158 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53159 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
53160 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
53161 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53162 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53163 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53164 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53165 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53166 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
53167 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
53168 * sysdeps/sparc/elf/configure: Regenerated.
53169
53170 2012-03-01 Joseph Myers <joseph@codesourcery.com>
53171
53172 * configure.in (AS, LD): Require binutils 2.20 or later.
53173 * configure: Regenerated.
53174 * manual/install.texi (Tools for Compilation): Give binutils 2.20
53175 as required minimum version.
53176 * INSTALL: Regenerated.
53177
53178 [BZ #2541]
53179 [BZ #4108]
53180 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
53181 before squaring exponent.
53182 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
53183 bottom long double and 27 bits of top long double before squaring
53184 exponent.
53185 * math/libm-test.inc (erfc_test): Add more tests.
53186 * sysdeps/i386/fpu/libm-test-ulps: Update.
53187 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53189
53190 2012-03-01 Kai Tietz <ktietz@redhat.com>
53191
53192 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
53193 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
53194 containing bit-fields.
53195 * soft-fp/extended.h (_FP_UNION_E): Likewise.
53196 * soft-fp/single.h (_FP_UNION_S): Likewise.
53197 * soft-fp/double.h (_FP_UNION_D): Likewise.
53198
53199 2012-02-29 Joseph Myers <joseph@codesourcery.com>
53200
53201 [BZ #13786]
53202 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
53203 not include ../strcmp.S.
53204 [USE_AS_STRNCASECMP_L]: Likewise.
53205 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
53206 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
53207 * sysdeps/i386/i686/multiarch/strncase_l-c.c
53208 (__strncasecmp_l_ia32): Define as alias to
53209 __strncasecmp_l_nonascii.
53210
53211 [BZ #5794]
53212 * math/libm-test.inc (expm1_test): Add test for bug 5794.
53213 * sysdeps/i386/fpu/libm-test-ulps: Update.
53214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53215
53216 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
53217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53218
53219 2012-02-29 Jeff Law <law@redhat.com>
53220
53221 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
53222 out of bounds read.
53223
53224 2012-02-29 Marek Polacek <polacek@redhat.com>
53225
53226 [BZ #13706]
53227 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
53228 * elf/Makefile: Add rules to run tst-unused-dep.out.
53229
53230 2012-02-28 David S. Miller <davem@davemloft.net>
53231
53232 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
53233 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
53234 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
53235 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
53236 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
53237 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
53238
53239 2012-02-29 Joseph Myers <joseph@codesourcery.com>
53240
53241 * math/libm-test.inc (llround_test): Move one test from
53242 lround_test. Use TEST_f_L in moved test.
53243 (lround_test): Move misplaced test to llround_test. Add testcase
53244 from bug 2561.
53245
53246 2012-02-28 Ulrich Drepper <drepper@gmail.com>
53247
53248 * sysdeps/x86_64/fpu/e_expf.S: New file.
53249 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
53250
53251 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
53252
53253 [BZ #13637]
53254 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
53255 of remain_len that may cause incomplete multi-byte character and
53256 false match.
53257 * posix/bug-regex33.c: New file.
53258 * posix/Makefile (tests): Add bug-regex33.
53259
53260 2012-02-28 Joseph Myers <joseph@codesourcery.com>
53261
53262 * manual/macros.texi: New file.
53263 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
53264 * manual/libc.texinfo: Include macros.texi.
53265 * manual/creatute.texi: Likewise.
53266 * manual/install.texi: Likewise.
53267 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
53268 @glibcadj{} in references to the GNU C Library.
53269 * manual/charset.texi: Likewise.
53270 * manual/conf.texi: Likewise.
53271 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
53272 when not using those macros.
53273 * manual/creature.texi: Likewise.
53274 * manual/crypt.texi: Likewise.
53275 * manual/errno.texi: Likewise.
53276 * manual/filesys.texi: Likewise.
53277 * manual/header.texi: Likewise.
53278 * manual/install.texi: Likewise.
53279 * manual/intro.texi: Likewise.
53280 * manual/io.texi: Likewise.
53281 * manual/job.texi: Likewise.
53282 * manual/lang.texi: Likewise.
53283 * manual/libc.texiinfo: Likewise.
53284 * manual/llio.texi: Likewise.
53285 * manual/locale.texi: Likewise.
53286 * manual/maint.texi: Likewise.
53287 * manual/math.texi: Likewise.
53288 * manual/memory.texi: Likewise.
53289 * manual/message.texi: Likewise.
53290 * manual/nss.texi: Likewise.
53291 * manual/pattern.texi: Likewise.
53292 * manual/process.texi: Likewise.
53293 * manual/resource.texi: Likewise.
53294 * manual/search.texi: Likewise.
53295 * manual/setjmp.texi: Likewise.
53296 * manual/signal.texi: Likewise.
53297 * manual/socket.texi: Likewise.
53298 * manual/startup.texi: Likewise.
53299 * manual/stdio.texi: Likewise.
53300 * manual/string.texi: Likewise.
53301 * manual/sysinfo.texi: Likewise.
53302 * manual/syslog.texi: Likewise.
53303 * manual/terminal.texi: Likewise.
53304 * manual/time.texi: Likewise.
53305 * manual/users.texi: Likewise.
53306 * INSTALL: Regenerated.
53307 * NOTES: Regenerated.
53308 * sysdeps/gnu/errlist.c: Regenerated.
53309
53310 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
53311
53312 * include/dirent.h: Include <dirstream.h> before
53313 <dirent/dirent.h>.
53314
53315 2012-02-28 David S. Miller <davem@davemloft.net>
53316
53317 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
53318 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
53319 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
53320 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
53321
53322 2012-02-27 David S. Miller <davem@davemloft.net>
53323
53324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
53325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
53326 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
53327 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
53328
53329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
53330 frame pointer instead of stack pointer relative arg slot.
53331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53332 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53333 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53334
53335 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
53336
53337 [BZ #3992]
53338 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
53339
53340 2012-02-27 David S. Miller <davem@davemloft.net>
53341
53342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
53343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
53346 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53347 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53348 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
53349 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
53350
53351 2012-02-27 Joseph Myers <joseph@codesourcery.com>
53352
53353 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
53354 later. Allow versions 5-9.
53355 * configure: Regenerated.
53356 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
53357 required minimum version and 4.6 as recommended version. Do not
53358 mention bugs in GCC 2.7 and 2.8.
53359 * INSTALL: Regenerated.
53360
53361 2012-02-27 David S. Miller <davem@davemloft.net>
53362
53363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
53364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
53365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
53366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
53367 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
53368 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
53369 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
53370 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
53371
53372 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
53373 manipulate bits before adding and subtracting TWO112[sx].
53374 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
53375
53376 2012-02-27 Roland McGrath <roland@hack.frob.com>
53377
53378 [BZ #13775]
53379 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
53380 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
53381 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
53382 being in POSIX, because they are in 1003.1-2008.
53383
53384 * rt/tst-aio.c: Include <fcntl.h>.
53385 * rt/tst-aio7.c: Likewise.
53386 * rt/tst-aio64.c: Likewise.
53387
53388 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
53389
53390 2012-02-27 Joseph Myers <joseph@codesourcery.com>
53391
53392 * manual/install.texi (--with-headers): Describe headers as
53393 interface headers, not private headers.
53394 (Specific advice for GNU/Linux systems): Describe use of headers
53395 from "make headers_install", not private headers from older
53396 kernels.
53397 * INSTALL: Regenerated.
53398 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
53399 Change to 2.6.19.
53400 * sysdeps/unix/sysv/linux/configure: Regenerated.
53401
53402 * manual/llio.texi (fclean): Remove documentation.
53403
53404 * manual/Makefile (libc-texi-generated): New variable. Include
53405 version.texi.
53406 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
53407 $(libc-texi-generated), not duplicated list of files.
53408 (version.texi, stamp-version): New rules.
53409 (realclean): Remove $(libc-texi-generated), not individual files
53410 from that list. Do not remove dir-add.texinfo.
53411 * manual/libc.texinfo: Comment out uses of edition numbers and
53412 references to printed manual. Remove last-updated dates.
53413 (EDITION): Comment out.
53414 (ISBN): Likewise.
53415 (VERSION, UPDATED): Remove.
53416 (version.texi): Include.
53417
53418 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
53419
53420 * sysdeps/posix/spawni.c: Include <signal.h>.
53421 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
53422 * sysdeps/pthread/aio_fsync.c: Likewise.
53423
53424 2012-02-26 Ulrich Drepper <drepper@gmail.com>
53425
53426 * conform/Makefile (tests): Run only when not cross-compiling and
53427 when fast-check is not defined.
53428
53429 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
53430 * conform/data/limits.h-data: Fixes for POSIX2008.
53431 * conform/run-conformtest.sh: Run all tests.
53432 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
53433 headers.
53434 * include/bits/dlfcn.h: Likewise.
53435 * include/langinfo.h: Likewise.
53436 * include/monetary.h: Likewise.
53437 * include/sys/poll.h: Likewise.
53438
53439 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
53440 for __USE_GNU.
53441 * posix/spawn.h: Define __need_sigset_t.
53442 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
53443 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
53444 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
53445 to get sigevent_t only.
53446 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
53447 only for __USE_GNU.
53448 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53449 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
53450 process_vm_writev only for __USE_GNU.
53451 * termios/termios.h: Declare tcgetsid also for POSIX2008.
53452
53453 * conform/Makefile: For now ignore errors from run-conformtest.
53454 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
53455 POSIX to avoid namespace pollution. Don't prepend headers.
53456 * conform/data/aio.h-data: Fixes for POSIX testing.
53457 * conform/data/fcntl.h-data: Likewise.
53458 * conform/data/glob.h-data: Likewise.
53459 * conform/data/grp.h-data: Likewise.
53460 * conform/data/pthread.h-data: Likewise.
53461 * conform/data/pwd.h-data: Likewise.
53462 * conform/data/signal.h-data: Likewise.
53463 * conform/data/spawn.h-data: Likewise.
53464 * conform/data/stdio.h-data: Likewise.
53465 * conform/data/stdlib.h-data: Likewise.
53466 * conform/data/stropts.h-data: Likewise.
53467 * conform/data/sys/mman.h-data: Likewise.
53468 * conform/data/sys/stat.h-data: Likewise.
53469 * conform/data/sys/types.h-data: Likewise.
53470 * conform/data/sys/wait.h-data: Likewise.
53471 * conform/data/time.h-data: Likewise.
53472 * conform/data/unistd.h-data: Likewise.
53473 * conform/data/utime.h-data: Likewise.
53474
53475 * io/sys/stat.h: fchmod was always in POSIX.
53476 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
53477 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
53478 * rt/aio.h: Define __need_timespec before including <time.h>.
53479 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
53480 struct. Add forward declaration of pthread_attr_t and use it in
53481 sigevent.
53482 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53483 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53484 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
53485 always remove CLK_TCK definition.
53486
53487 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
53488
53489 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
53490
53491 2012-02-25 Ulrich Drepper <drepper@gmail.com>
53492
53493 * conform/run-conformtest.sh: New file.
53494 * conform/Makefile: Run run-conformtest for tests.
53495 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
53496 support.
53497
53498 * conform/data/uchar.h-data: New file.
53499 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
53500 * conform/data/arpa/inet.h-data: Likewise.
53501 * conform/data/assert.h-data: Likewise.
53502 * conform/data/complex.h-data: Likewise.
53503 * conform/data/cpio.h-data: Likewise.
53504 * conform/data/ctype.h-data: Likewise.
53505 * conform/data/dirent.h-data: Likewise.
53506 * conform/data/dlfcn.h-data: Likewise.
53507 * conform/data/errno.h-data: Likewise.
53508 * conform/data/fcntl.h-data: Likewise.
53509 * conform/data/float.h-data: Likewise.
53510 * conform/data/fmtmsg.h-data: Likewise.
53511 * conform/data/fnmatch.h-data: Likewise.
53512 * conform/data/ftw.h-data: Likewise.
53513 * conform/data/glob.h-data: Likewise.
53514 * conform/data/grp.h-data: Likewise.
53515 * conform/data/iconv.h-data: Likewise.
53516 * conform/data/inttypes.h-data: Likewise.
53517 * conform/data/langinfo.h-data: Likewise.
53518 * conform/data/libgen.h-data: Likewise.
53519 * conform/data/limits.h-data: Likewise.
53520 * conform/data/locale.h-data: Likewise.
53521 * conform/data/math.h-data: Likewise.
53522 * conform/data/monetary.h-data: Likewise.
53523 * conform/data/mqueue.h-data: Likewise.
53524 * conform/data/ndbm.h-data: Likewise.
53525 * conform/data/net/if.h-data: Likewise.
53526 * conform/data/netdb.h-data: Likewise.
53527 * conform/data/netinet/in.h-data: Likewise.
53528 * conform/data/nl_types.h-data: Likewise.
53529 * conform/data/poll.h-data: Likewise.
53530 * conform/data/pthread.h-data: Likewise.
53531 * conform/data/pwd.h-data: Likewise.
53532 * conform/data/regex.h-data: Likewise.
53533 * conform/data/sched.h-data: Likewise.
53534 * conform/data/search.h-data: Likewise.
53535 * conform/data/semaphore.h-data: Likewise.
53536 * conform/data/setjmp.h-data: Likewise.
53537 * conform/data/signal.h-data: Likewise.
53538 * conform/data/spawn.h-data: Likewise.
53539 * conform/data/stdarg.h-data: Likewise.
53540 * conform/data/stdio.h-data: Likewise.
53541 * conform/data/stdlib.h-data: Likewise.
53542 * conform/data/string.h-data: Likewise.
53543 * conform/data/strings.h-data: Likewise.
53544 * conform/data/stropts.h-data: Likewise.
53545 * conform/data/sys/ipc.h-data: Likewise.
53546 * conform/data/sys/mman.h-data: Likewise.
53547 * conform/data/sys/msg.h-data: Likewise.
53548 * conform/data/sys/resource.h-data: Likewise.
53549 * conform/data/sys/select.h-data: Likewise.
53550 * conform/data/sys/sem.h-data: Likewise.
53551 * conform/data/sys/shm.h-data: Likewise.
53552 * conform/data/sys/socket.h-data: Likewise.
53553 * conform/data/sys/stat.h-data: Likewise.
53554 * conform/data/sys/statvfs.h-data: Likewise.
53555 * conform/data/sys/time.h-data: Likewise.
53556 * conform/data/sys/timeb.h-data: Likewise.
53557 * conform/data/sys/times.h-data: Likewise.
53558 * conform/data/sys/types.h-data: Likewise.
53559 * conform/data/sys/uio.h-data: Likewise.
53560 * conform/data/sys/un.h-data: Likewise.
53561 * conform/data/sys/utsname.h-data: Likewise.
53562 * conform/data/sys/wait.h-data: Likewise.
53563 * conform/data/syslog.h-data: Likewise.
53564 * conform/data/tar.h-data: Likewise.
53565 * conform/data/termios.h-data: Likewise.
53566 * conform/data/utime.h-data: Likewise.
53567 * conform/data/utmpx.h-data: Likewise.
53568 * conform/data/varargs.h-data: Likewise.
53569 * conform/data/wchar.h-data: Likewise.
53570 * conform/data/wctype.h-data: Likewise.
53571 * conform/data/wordexp.h-data: Likewise.
53572
53573 * include/stropts.h: New file.
53574 * include/uchar.h: New file.
53575 * include/aio.h: Changes to allow conformtest.pl to use the headers.
53576 * include/assert.h: Likewise.
53577 * include/ctype.h: Likewise.
53578 * include/dirent.h: Likewise.
53579 * include/dlfcn.h: Likewise.
53580 * include/fcntl.h: Likewise.
53581 * include/fnmatch.h: Likewise.
53582 * include/glob.h: Likewise.
53583 * include/grp.h: Likewise.
53584 * include/libio.h: Likewise.
53585 * include/locale.h: Likewise.
53586 * include/math.h: Likewise.
53587 * include/net/if.h: Likewise.
53588 * include/netdb.h: Likewise.
53589 * include/netinet/in.h: Likewise.
53590 * include/pthread.h: Likewise.
53591 * include/pwd.h: Likewise.
53592 * include/regex.h: Likewise.
53593 * include/sched.h: Likewise.
53594 * include/search.h: Likewise.
53595 * include/setjmp.h: Likewise.
53596 * include/signal.h: Likewise.
53597 * include/stdio.h: Likewise.
53598 * include/stdlib.h: Likewise.
53599 * include/string.h: Likewise.
53600 * include/sys/cdefs.h: Likewise.
53601 * include/sys/mman.h: Likewise.
53602 * include/sys/msg.h: Likewise.
53603 * include/sys/resource.h: Likewise.
53604 * include/sys/select.h: Likewise.
53605 * include/sys/socket.h: Likewise.
53606 * include/sys/stat.h: Likewise.
53607 * include/sys/statvfs.h: Likewise.
53608 * include/sys/time.h: Likewise.
53609 * include/sys/times.h: Likewise.
53610 * include/sys/uio.h: Likewise.
53611 * include/sys/utsname.h: Likewise.
53612 * include/sys/wait.h: Likewise.
53613 * include/termios.h: Likewise.
53614 * include/time.h: Likewise.
53615 * include/ulimit.h: Likewise.
53616 * include/unistd.h: Likewise.
53617 * include/utime.h: Likewise.
53618 * include/wchar.h: Likewise.
53619 * include/wctype.h: Likewise.
53620 * include/wordexp.h: Likewise.
53621
53622 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
53623
53624 * time/time.h: TIME_UTC must be a macro.
53625 Make timespec_get available for ISO C11 only as well.
53626
53627 2012-02-24 Ulrich Drepper <drepper@gmail.com>
53628
53629 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
53630 Reported by Peng Haitao <penght@cn.fujitsu.com>.
53631
53632 2012-02-24 Joseph Myers <joseph@codesourcery.com>
53633
53634 * configure.in: Use -o not -a in test for unsupported multi-arch.
53635
53636 2012-02-24 Joseph Myers <joseph@codesourcery.com>
53637
53638 * manual/texinfo.tex: Update to version 2012-01-19.16.
53639
53640 2012-02-24 Joseph Myers <joseph@codesourcery.com>
53641
53642 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
53643
53644 2012-02-24 Roland McGrath <roland@hack.frob.com>
53645
53646 [BZ #13738]
53647 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
53648 * manual/fdl-1.3.texi: New file.
53649 * manual/fdl-1.1.texi: File removed.
53650
53651 [BZ #13738]
53652 * manual/libc.texinfo (FDL_VERSION): New @set.
53653 Use it for mention of FDL in cover text.
53654 (Documentation License): Use it in @include file name.
53655
53656 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53657 Roland McGrath <roland@hack.frob.com>
53658
53659 [BZ #5461]
53660 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
53661 (not LONG_LONG_MAX and LONG_LONG_MIN.
53662 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
53663 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
53664 name.
53665 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
53666
53667 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53668
53669 [BZ #2547]
53670 [BZ #11365]
53671 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
53672 manipulate bits before adding and subtracting TWO23[sx].
53673 * math/libm-test.inc (nearbyint_test): Add more tests.
53674
53675 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53676
53677 [BZ #2548]
53678 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
53679 bits before adding and subtracting TWO23[sx].
53680 * math/libm-test.inc (rint_test): Add more tests.
53681 (rint_test_tonearest): Likewise.
53682 (rint_test_towardzero): Likewise.
53683 (rint_test_downward): Likewise.
53684 (rint_test_upward: Likewise.
53685
53686 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53687
53688 [BZ #10110]
53689 * include/stdc-predef.h: New file. Extracted from features.h.
53690 * include/features.h: Include stdc-predef.h.
53691 * Makefile (headers): Add stdc-predef.h.
53692 * CONFORMANCE (Compiler limitations): Update.
53693
53694 2012-02-22 Joseph Myers <joseph@codesourcery.com>
53695
53696 * manual/libc.texinfo (VERSION, UPDATED): Revert.
53697
53698 2012-02-21 David S. Miller <davem@davemloft.net>
53699
53700 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
53701 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53702
53703 2012-02-20 David S. Miller <davem@davemloft.net>
53704
53705 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
53706 using a normal save/restore sequence, rather than allocating a
53707 dummy stack frame just to store a frame pointer and restore.
53708 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53709
53710 2012-02-21 Joseph Myers <joseph@codesourcery.com>
53711
53712 * manual/install.texi: Fix stray word in line-wrapped comment.
53713
53714 2012-02-20 David S. Miller <davem@davemloft.net>
53715
53716 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
53717 both binutils and gcc support GOTDATA.
53718
53719 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
53720 "rd %pc" in the PIC register setup sequences.
53721
53722 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
53723 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
53724 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53725 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
53726 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53727 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
53728 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53729 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53730 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
53731 (SYSCALL_ERROR_HANDLER): Likewise.
53732 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53733 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53734 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
53735 (SYSCALL_ERROR_HANDLER): Likewise.
53736
53737 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
53738 (HAVE_GCC_GOTDATA): New.
53739 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
53740 relocation support in both binutils and gcc.
53741 * sysdeps/sparc/elf/configure: Regenerate.
53742
53743 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
53744 * sysdeps/sparc/sparc32/elf/configure: Delete.
53745 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
53746 * sysdeps/sparc/sparc64/elf/configure: Delete.
53747 * sysdeps/sparc/elf/configure.in: New file.
53748 * sysdeps/sparc/elf/configure: Generate.
53749
53750 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
53751 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
53752 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53753 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
53754 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
53755
53756 2012-02-21 Joseph Myers <joseph@codesourcery.com>
53757
53758 * manual/install.texi: Do not mention specific glibc version
53759 numbers.
53760 * manual/libc.texinfo (VERSION, UPDATED): Update.
53761 (@copying): Use @copyright{} and range of years.
53762
53763 2012-02-21 Joseph Myers <joseph@codesourcery.com>
53764
53765 [BZ #13695]
53766 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
53767 [crti.S not in sysdirs] (generated): Do not append.
53768 [crti.S not in sysdirs] (omit-deps): Likewise.
53769 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
53770 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
53771 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
53772 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
53773 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
53774 Likewise.
53775 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
53776 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
53777 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
53778 * csu/defs.awk: Remove file.
53779 * sysdeps/generic/initfini.c: Likewise.
53780 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
53781 variable.
53782 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
53783 Likewise.
53784
53785 2012-02-20 Joseph Myers <joseph@codesourcery.com>
53786
53787 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
53788 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
53789 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
53790 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
53791 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53792 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
53793 <bits/epoll.h>.
53794 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
53795 (__EPOLL_PACKED): Define to empty if not defined by
53796 <bits/epoll.h>.
53797 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
53798 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53799 bits/epoll.h.
53800
53801 2012-02-20 Joseph Myers <joseph@codesourcery.com>
53802
53803 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
53804 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
53805 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
53806 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
53807 <bits/timerfd.h>.
53808 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
53809 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53810 bits/timerfd.h.
53811
53812 2012-02-20 Joseph Myers <joseph@codesourcery.com>
53813
53814 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
53815 in C locale.
53816 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53817 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53818 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
53819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53820
53821 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
53822
53823 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53824 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53825
53826 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
53827
53828 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
53829 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
53830 defined.
53831 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
53832 Likewise.
53833 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
53834 entry for 2.16.
53835
53836 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
53837
53838 * math/w_acos.c: Use non-signaling floating-point comparisons.
53839 * math/w_acosf.c: Likewise.
53840 * math/w_acosh.c: Likewise.
53841 * math/w_acoshf.c: Likewise.
53842 * math/w_acoshl.c: Likewise.
53843 * math/w_acosl.c: Likewise.
53844 * math/w_asin.c: Likewise.
53845 * math/w_asinf.c: Likewise.
53846 * math/w_asinl.c: Likewise.
53847 * math/w_atanh.c: Likewise.
53848 * math/w_atanhf.c: Likewise.
53849 * math/w_atanhl.c: Likewise.
53850 * math/w_exp2.c: Likewise.
53851 * math/w_exp2f.c: Likewise.
53852 * math/w_exp2l.c: Likewise.
53853 * math/w_j0.c: Likewise.
53854 * math/w_j0f.c: Likewise.
53855 * math/w_j0l.c: Likewise.
53856 * math/w_j1.c: Likewise.
53857 * math/w_j1f.c: Likewise.
53858 * math/w_j1l.c: Likewise.
53859 * math/w_jn.c: Likewise.
53860 * math/w_jnf.c: Likewise.
53861 * math/w_log.c: Likewise.
53862 * math/w_log10.c: Likewise.
53863 * math/w_log10f.c: Likewise.
53864 * math/w_log10l.c: Likewise.
53865 * math/w_log2.c: Likewise.
53866 * math/w_log2f.c: Likewise.
53867 * math/w_log2l.c: Likewise.
53868 * math/w_logf.c: Likewise.
53869 * math/w_logl.c: Likewise.
53870 * math/w_sqrt.c: Likewise.
53871 * math/w_sqrtf.c: Likewise.
53872 * math/w_sqrtl.c: Likewise.
53873 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53874 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
53875 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53876 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
53877 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
53878
53879 2012-02-19 Joseph Myers <joseph@codesourcery.com>
53880
53881 [BZ #9739]
53882 * manual/string.texi (strnlen): Use correct parameter name in
53883 equivalent expression.
53884
53885 2012-02-19 Joseph Myers <joseph@codesourcery.com>
53886
53887 [BZ #11174]
53888 * manual/users.texi (seteuid): Consistently use neweuid for
53889 argument name.
53890
53891 2012-02-19 Joseph Myers <joseph@codesourcery.com>
53892
53893 [BZ #13704]
53894 * manual/nss.texi (Services in the NSS configuration): Correct
53895 list of services in example configuration file.
53896
53897 2012-02-19 Nick Bowler <nbowler@draconx.ca>
53898
53899 [BZ #11322]
53900 * manual/arith.texi: Remove statements about negative zero
53901 behaving identically to zero.
53902
53903 2012-02-18 Joseph Myers <joseph@codesourcery.com>
53904
53905 [BZ #5993]
53906 * manual/install.texi: Do not document upgrading from libc5.
53907
53908 2012-02-18 Joseph Myers <joseph@codesourcery.com>
53909
53910 [BZ #4596]
53911 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
53912
53913 2012-02-18 David S. Miller <davem@davemloft.net>
53914
53915 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
53916 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
53917 %o7 across the call.
53918 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
53919 instead.
53920 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
53921 SETUP_PIC_REG_LEAF.
53922 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53923 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
53924 * sysdeps/sparc/crtn.S: Likewise.
53925
53926 2012-02-17 Ulrich Drepper <drepper@gmail.com>
53927
53928 * aout/Makefile: Remove.
53929
53930 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
53931
53932 [BZ #13058]
53933 * manual/examples/argp-ex1.c (main): Format definition in GNU
53934 style.
53935 * manual/examples/argp-ex2.c (main): Likewise.
53936 * manual/examples/argp-ex3.c (main): Likewise.
53937 * manual/examples/argp-ex4.c (main): Likewise.
53938 * manual/examples/longopt.c (main): Use new-style prototype
53939 definition.
53940 * manual/examples/strncat.c (main): Specify return type and use
53941 (void) for arguments.
53942 * manual/examples/subopt.c (main): Use char **argv argument.
53943
53944 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53945
53946 [BZ #5077]
53947 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
53948 rounding modes.
53949
53950 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
53951
53952 [BZ #6907]
53953 * manual/string.texi (strchr): Change when strchrnul is
53954 recommended.
53955
53956 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
53957
53958 [BZ #174]
53959 * manual/locale.texi (setlocale): Document LOCPATH.
53960
53961 2012-02-17 Joseph Myers <joseph@codesourcery.com>
53962
53963 [BZ #10210]
53964 * manual/process.texi (execle): Move @dots{} before last argument.
53965
53966 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
53967
53968 [BZ #12047]
53969 * manual/charset.texi (Generic Charset Conversion): Fix typo
53970 (LC_TYPE -> LC_CTYPE).
53971
53972 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
53973
53974 [BZ #5805]
53975 * manual/arith.texi (scalbn): Use @var{} on parameter names.
53976 (scalbnf): Likewise.
53977 (scalbnl): Likewise.
53978 (scalbln): Likewise.
53979 (scalblnf): Likewise.
53980 (scalblnl): Likewise.
53981 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
53982 (vwarnx): Likewise.
53983 (verr): Likewise.
53984 (verrx): Likewise.
53985 * manual/filesys.texi (telldir): Use braces around return type.
53986 * manual/llio.texi (mmap): Add space after comma.
53987 (mmap64): Likewise.
53988 * manual/math.texi (jn): Use @var{} on parameter names.
53989 (jnf): Likewise.
53990 (jnl): Likewise.
53991 (yn): Likewise.
53992 (ynf): Likewise.
53993 (ynl): Likewise.
53994 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
53995 line.
53996 * manual/resource.texi (ulimit): Use @dots{} instead of literal
53997 "...".
53998 (sched_get_priority_min): Remove semicolon on @deftypefun line.
53999 (sched_get_priority_max): Likewise.
54000 * manual/signal.texi (sigvec): Add space after comma.
54001 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
54002 names.
54003 (if_indextoname): Likewise.
54004 (if_freenameindex): Likewise.
54005 (sendto): Use ',' instead of '.' in prototype.
54006 * manual/startup.texi (syscall): Use @dots{} instead of literal
54007 "...".
54008 * manual/stdio.texi (__fpending): Separate initial words of
54009 paragraph from @deftypefun line.
54010 * manual/syslog.texi (syslog): Use @dots{} instead of literal
54011 "...".
54012 (vsyslog): Use @var{} on parameter names.
54013 * manual/terminal.texi (stty): Use @var{} on parameter names.
54014 * manual/users.texi (getutmp): Use @var{} on parameter names.
54015 (getutmpx): Likewise.
54016
54017 2012-02-17 Joseph Myers <joseph@codesourcery.com>
54018
54019 [BZ #6884]
54020 * manual/stdio.texi (fopen): Fix typos in description of
54021 ",ccs=STRING".
54022
54023 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
54024
54025 [BZ #4026]
54026 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
54027 get clock_id definition.
54028
54029 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
54030
54031 [BZ #4822]
54032 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
54033 (madvise): Cast every argument to void on its own.
54034
54035 2012-02-17 Joseph Myers <joseph@codesourcery.com>
54036
54037 [BZ #9902]
54038 * manual/startup.texi (Exit Status): Fix typo.
54039
54040 2012-02-17 Joseph Myers <joseph@codesourcery.com>
54041
54042 [BZ #10140]
54043 * manual/examples/argp-ex1.c: Include <stdlib.h>.
54044 * manual/examples/argp-ex2.c: Likewise.
54045 * manual/examples/argp-ex3.c: Likewise.
54046
54047 2012-02-16 Richard Henderson <rth@redhat.com>
54048
54049 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
54050 * sysdeps/s390/s390-32/initfini.c: Remove.
54051 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
54052 * sysdeps/s390/s390-64/initfini.c: Remove.
54053
54054 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
54055
54056 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
54057 compiler output for sysdeps/generic/initfini.c.
54058 * sysdeps/sh/elf/initfini.c: Remove file.
54059
54060 2012-02-16 David S. Miller <davem@davemloft.net>
54061
54062 [BZ #11494]
54063 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
54064
54065 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
54066 * sysdeps/sparc/crti.S: New file.
54067 * sysdeps/sparc/crtn.S: New file.
54068 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
54069 * sysdeps/sparc/sparc64/Makefile: Likewise.
54070
54071 2012-02-15 Mike Frysinger <vapier@gentoo.org>
54072
54073 [BZ #3335]
54074 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
54075
54076 2012-02-15 Roland McGrath <roland@hack.frob.com>
54077
54078 [BZ #4822]
54079 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
54080
54081 * mach/devstream.c (cookie_io_functions_t): Macro removed.
54082 (write, read, close): Likewise.
54083 Patch by Aurelien Jarno <aurelien@aurel32.net>.
54084
54085 2012-02-15 Joseph Myers <joseph@codesourcery.com>
54086
54087 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
54088 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
54089 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
54090 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
54091 <bits/signalfd.h>.
54092 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
54093 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54094 bits/signalfd.h.
54095
54096 2012-02-14 Marek Polacek <polacek@redhat.com>
54097
54098 * sysdeps/x86_64/crti.S: New file.
54099 * sysdeps/x86_64/crtn.S: New file.
54100 * sysdeps/x86_64/elf/initfini.c: Remove file.
54101
54102 2012-02-13 Joseph Myers <joseph@codesourcery.com>
54103
54104 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
54105 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
54106 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
54107 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
54108 <bits/inotify.h>.
54109 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
54110 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54111 bits/inotify.h.
54112
54113 2012-02-13 Joseph Myers <joseph@codesourcery.com>
54114
54115 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
54116 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
54117 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
54118 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
54119 <bits/eventfd.h>.
54120 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
54121 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54122 bits/eventfd.h.
54123
54124 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
54125
54126 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
54127 __feraiseexcept instead of feraiseexcept.
54128
54129 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
54130 nanosleep invocations.
54131 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
54132 strings, and add error checking for a nanosleep invocations.
54133
54134 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
54135
54136 Replace FSF snail mail address with URLs, as per GNU coding standards.
54137 Most of the snail mail addresses were wrong anyway, and omitting
54138 them makes the source code easier to maintain. Almost all of the
54139 changes are to license notices and to locale LC_IDENTIFICATION
54140 addresses, except for this one:
54141 * manual/libc.texinfo: In "Published by", give the FSF's URL,
54142 not its snail mail address.
54143
54144 2012-02-09 Richard Henderson <rth@twiddle.net>
54145
54146 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
54147 of kernel-features.h.
54148
54149 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
54150
54151 2012-02-08 Marek Polacek <polacek@redhat.com>
54152
54153 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
54154 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
54155 * sysdeps/gnu/_G_config.h: Likewise.
54156 * sysdeps/generic/_G_config.h: Likewise.
54157
54158 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
54159
54160 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
54161 tests.
54162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54163
54164 * sysdeps/powerpc/powerpc32/crti.S: New file.
54165 * sysdeps/powerpc/powerpc32/crtn.S: New file.
54166 * sysdeps/powerpc/powerpc64/crti.S: New file.
54167 * sysdeps/powerpc/powerpc64/crtn.S: New file.
54168
54169 * Makeconfig (have-initfini): Don't set.
54170 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
54171 * configure.in (nopic_initfini): Don't substitute.
54172 * config.h.in (HAVE_INITFINI): Don't #undef.
54173 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
54174 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
54175
54176 2012-02-08 Joseph Myers <joseph@codesourcery.com>
54177
54178 Support crti.S and crtn.S provided directly by architectures.
54179 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
54180 [crti.S in sysdirs] (omit-deps): Likewise.
54181 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
54182 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
54183 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
54184 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
54185 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
54186 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
54187 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
54188 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
54189 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
54190 compiler output for sysdeps/generic/initfini.c.
54191 * sysdeps/i386/elf/Makefile: Remove file.
54192 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
54193
54194 2012-02-07 Marek Polacek <polacek@redhat.com>
54195
54196 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
54197 * sysdeps/gnu/_G_config.h: Likewise.
54198 * sysdeps/mach/hurd/_G_config.h: Likewise.
54199
54200 2012-02-07 Marek Polacek <polacek@redhat.com>
54201
54202 * math/Makefile (tests): Add tst-CMPLX2.
54203 * math/tst-CMPLX2.c: New file.
54204
54205 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
54206
54207 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54208
54209 * math/libm-test.inc (jn_test): Add missing L suffix.
54210
54211 2012-02-06 Marek Polacek <polacek@redhat.com>
54212
54213 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
54214 * sysdeps/i386/fpu/e_powf.S: Likewise.
54215 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54216 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54217 * sysdeps/i386/fpu/e_acosh.S: Likewise.
54218 * sysdeps/i386/fpu/e_pow.S: Likewise.
54219 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
54220 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54221 * sysdeps/i386/fpu/s_expm1.S: Likewise.
54222 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
54223 * sysdeps/i386/fpu/e_log2.S: Likewise.
54224 * sysdeps/i386/fpu/e_log2l.S: Likewise.
54225 * sysdeps/i386/fpu/e_scalb.S: Likewise.
54226 * sysdeps/i386/fpu/e_powl.S: Likewise.
54227 * sysdeps/i386/fpu/s_log1p.S: Likewise.
54228 * sysdeps/i386/fpu/e_log10f.S: Likewise.
54229 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
54230 * sysdeps/i386/fpu/e_logl.S: Likewise.
54231 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
54232 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
54233 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
54234 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
54235 * sysdeps/i386/fpu/e_log2f.S: Likewise.
54236 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54237 * sysdeps/i386/fpu/e_log.S: Likewise.
54238 * sysdeps/i386/fpu/s_cexp.S: Likewise.
54239 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54240 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
54241 * sysdeps/i386/fpu/e_logf.S: Likewise.
54242 * sysdeps/i386/fpu/e_log10l.S: Likewise.
54243 * sysdeps/i386/fpu/e_atanh.S: Likewise.
54244 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
54245 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
54246 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54247 * sysdeps/i386/fpu/e_log10.S: Likewise.
54248 * sysdeps/i386/fpu/s_frexp.S: Likewise.
54249 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54250 * sysdeps/i386/fpu/s_asinh.S: Likewise.
54251 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
54252 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54253 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
54254 * sysdeps/i386/asm-syntax.h: Likewise.
54255 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54256 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54257 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54258 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
54259 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
54260 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54261 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
54262 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
54263 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54264 * sysdeps/powerpc/sysdep.h: Likewise.
54265 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
54266 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54267
54268 2012-02-06 Joseph Myers <joseph@codesourcery.com>
54269
54270 [BZ #411]
54271 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
54272
54273 2012-02-06 Joseph Myers <joseph@codesourcery.com>
54274
54275 * sysdeps/i386/sysdep.h: Include <features.h>.
54276 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
54277 version.
54278
54279 2012-02-05 Joseph Myers <joseph@codesourcery.com>
54280
54281 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
54282 Define.
54283 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
54284 LOAD_PIC_REG_STR.
54285
54286 2012-02-03 Joseph Myers <joseph@codesourcery.com>
54287
54288 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
54289 (SETUP_PIC_REG): Use GET_PC_THUNK.
54290 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
54291 macro.
54292
54293 2012-02-03 Joseph Myers <joseph@codesourcery.com>
54294
54295 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
54296 for non-PIC compilation.
54297 (SETUP_PIC_REG): Add .p2align directive.
54298 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
54299 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
54300 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
54301 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
54302 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
54303 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
54304 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
54305 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54306 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
54307 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
54308 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
54309 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
54310 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
54311 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
54312 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
54313 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
54314 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
54315 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
54316 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
54317 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
54318 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
54319 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
54320 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
54321 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
54322 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
54323 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
54324 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54325 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
54326 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
54327 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
54328 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
54329 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54330 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
54331 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
54332 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
54333 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
54334 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
54335 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
54336 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
54337 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
54338 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
54339
54340 2012-02-03 Joseph Myers <joseph@codesourcery.com>
54341
54342 * math/tst-CMPLX.c: Include <stdio.h>.
54343
54344 2012-01-31 Joseph Myers <joseph@codesourcery.com>
54345
54346 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
54347 float.
54348 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54349 * sysdeps/sparc/bits/mathdef.h: Likewise.
54350
54351 2012-01-31 Marek Polacek <polacek@redhat.com>
54352
54353 * libio/libio.h: Don't define _PARAMS.
54354 * locale/programs/config.h: Don't define PARAMS.
54355 * stdlib/strtol_l.c: Likewise.
54356 (__strtol_l): Remove PARAMS from the prototype.
54357
54358 2012-01-31 Ulrich Drepper <drepper@gmail.com>
54359
54360 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
54361 names. Just use the correct names. Remove unnecessary wrapper
54362 functions.
54363 * malloc/arena.c: Likewise.
54364 * malloc/hooks.c: Likewise.
54365
54366 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
54367 ARENA_TEST says not to. Simplify test for creation of a new arena.
54368 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
54369
54370 2012-01-30 Ulrich Drepper <drepper@gmail.com>
54371
54372 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
54373 into tail calls.
54374 (update_get_addr): New function.
54375 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
54376 GET_ADDR_MODULE parameter.
54377
54378 2012-01-30 Joseph Myers <joseph@codesourcery.com>
54379
54380 * crypt/cert.c: Remove __STDC__ conditionals.
54381 * crypt/crypt-entry.c: Likewise.
54382 * crypt/crypt_util.c: Likewise.
54383 * libio/filedoalloc.c: Likewise.
54384 * libio/fileops.c: Likewise.
54385 * libio/genops.c: Likewise.
54386 * libio/iofclose.c: Likewise.
54387 * libio/iofdopen.c: Likewise.
54388 * libio/iofopen.c: Likewise.
54389 * libio/iofopen64.c: Likewise.
54390 * libio/iogetdelim.c: Likewise.
54391 * libio/iopopen.c: Likewise.
54392 * libio/obprintf.c: Likewise.
54393 * libio/oldfileops.c: Likewise.
54394 * libio/oldiofclose.c: Likewise.
54395 * libio/oldiofdopen.c: Likewise.
54396 * libio/oldiofopen.c: Likewise.
54397 * libio/oldiopopen.c: Likewise.
54398 * libio/wfiledoalloc.c: Likewise.
54399 * libio/wgenops.c: Likewise.
54400 * locale/programs/xmalloc.c: Likewise.
54401 * misc/syslog.c: Likewise.
54402 * stdio-common/xbug.c: Likewise.
54403 * string/memchr.c: Likewise.
54404 * string/memcmp.c: Likewise.
54405 * string/memrchr.c: Likewise.
54406 * string/rawmemchr.c: Likewise.
54407 * sysdeps/posix/getcwd.c: Likewise.
54408 * time/strftime_l.c: Likewise.
54409
54410 2012-01-30 Joseph Myers <joseph@codesourcery.com>
54411
54412 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
54413 * config.make.in (config-cflags-sse2avx): Define.
54414 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
54415 Fix typo.
54416
54417 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
54418
54419 * scripts/config.guess: Update from upstream config git repository.
54420 * scripts/config.sub: Likewise.
54421
54422 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
54423
54424 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
54425 (EM_NUM): Update.
54426 (R_TILEPRO_*, R_TILEGX_*): New macros.
54427
54428 * scripts/firstversions.awk: Fix bug in version range handling.
54429
54430 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
54431
54432 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
54433
54434 * include/sys/epoll.h: New file.
54435 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
54436 libc_hidden_def.
54437
54438 2012-01-28 Ulrich Drepper <drepper@gmail.com>
54439
54440 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
54441 Avoid unnecessary __WORDSIZE == 64 test.
54442 (fmaxf): Use VEX format if possible.
54443 (fmax): Likewise.
54444 (fminf): Likewise.
54445 (fmin): Likewise.
54446
54447 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
54448 * math/math_private.h: Remove libc_fegetround* and
54449 libc_fesetround*.
54450 * sysdeps/i386/configure.in: Check for -msse2avx.
54451 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
54452 also if SSE2AVX is defined.
54453 Remove libc_fegetround* and libc_fesetround*.
54454 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
54455 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
54456 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
54457 of HAS_YMM_USABLE.
54458 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54459 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54460 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54461 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54462 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54463
54464 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
54465
54466 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54467
54468 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
54469 size is not set.
54470 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54471
54472 2012-01-27 Ulrich Drepper <drepper@gmail.com>
54473
54474 [BZ #13618]
54475 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
54476 relocation.
54477 * Makeconfig (libm): Define.
54478 * elf/Makefile: Add rules to build and run tst-relsort1.
54479 * elf/tst-relsort1.c: New file.
54480 * elf/tst-relsort1mod1.c: New file.
54481 * elf/tst-relsort1mod2.c: New file.
54482
54483 2012-01-27 Joseph Myers <joseph@codesourcery.com>
54484
54485 * math/s_ldexp.c: Remove __STDC__ conditionals.
54486 * math/s_ldexpf.c: Likewise.
54487 * math/s_ldexpl.c: Likewise.
54488 * math/s_nextafter.c: Likewise.
54489 * math/s_nexttowardf.c: Likewise.
54490 * math/s_significand.c: Likewise.
54491 * math/s_significandf.c: Likewise.
54492 * math/s_significandl.c: Likewise.
54493 * math/w_jnl.c: Likewise.
54494 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54495 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54496 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54497 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54498 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54499 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54500 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
54501 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54502 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54503 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54504 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54505 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54506 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54507 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54508 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54509 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54510 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54511 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54512 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54513 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54514 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54515 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54516 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54517 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54518 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54519 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54520 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54521 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54522 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54523 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54524 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54525 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54526 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54527 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54528 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54529 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54530 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54531 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54532 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54533 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54534 * sysdeps/ieee754/k_standard.c: Likewise.
54535 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54536 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54537 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54538 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54539 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54540 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54541 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54542 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54543 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54544 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54545 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54546 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54547 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54548 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54549 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54550 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54551 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54552 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54553 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54554 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54555 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54556 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54557 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54558 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54559 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54560 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54561 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54562 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54563 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54564 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54565 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54566 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
54567 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54568 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54569 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54570 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54571 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
54572 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54573 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54574 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
54575 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
54576 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54577 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
54578 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
54579 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54580 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
54581 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
54582 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54583 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54584 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
54585 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
54586 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54587 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54588 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54589 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54590 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54591 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
54592 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54593 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54594 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54595 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54596 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54597 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54598 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54599 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54600 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54601 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54602 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54603 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54604 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54605 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54606 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54607 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54608 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54609 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54610 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54611 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54612 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54613 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54614 * sysdeps/ieee754/s_matherr.c: Likewise.
54615 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54616 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54617 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54618 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54619
54620 2012-01-26 Joseph Myers <joseph@codesourcery.com>
54621
54622 * crypt/md5.h: Remove __STDC__ conditionals.
54623 * libio/libioP.h: Likewise.
54624 * locale/programs/config.h: Likewise.
54625 * sysdeps/generic/sysdep.h: Likewise.
54626 * sysdeps/i386/asm-syntax.h: Likewise.
54627 * sysdeps/s390/asm-syntax.h: Likewise.
54628 * sysdeps/unix/sysdep.h: Likewise.
54629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
54630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54631
54632 2012-01-26 Joseph Myers <joseph@codesourcery.com>
54633
54634 * libio/libio.h: Remove __STDC__ conditionals.
54635 * malloc/obstack.h: Likewise.
54636 * math/complex.h: Likewise.
54637 * math/math.h: Likewise.
54638 * sysdeps/generic/_G_config.h: Likewise.
54639 * sysdeps/gnu/_G_config.h: Likewise.
54640 * sysdeps/mach/hurd/_G_config.h: Likewise.
54641 * sysdeps/powerpc/bits/mathdef.h: Likewise.
54642 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54643 * sysdeps/sparc/bits/mathdef.h: Likewise.
54644
54645 2012-01-26 Ulrich Drepper <drepper@gmail.com>
54646
54647 [BZ #13583]
54648 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
54649 Clean up HAS_* macros.
54650 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
54651 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
54652 possible.
54653 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
54654 HAS_AVX.
54655 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54656 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54657 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54658 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54659 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54660
54661 2012-01-25 Joseph Myers <joseph@codesourcery.com>
54662
54663 * elf/tst-unique3.cc (gets): Remove declaration.
54664 * elf/tst-unique3lib.cc (gets): Likewise.
54665 * elf/tst-unique3lib2.cc (gets): Likewise.
54666 * elf/tst-unique4.cc (gets): Likewise.
54667
54668 2012-01-24 Ulrich Drepper <drepper@gmail.com>
54669
54670 * include/stdio.h: Add C++ protection. Add gets declarations and
54671 definitions.
54672 * debug/tst-chk1.c: Don't declare gets here.
54673 * stdio-common/tst-gets.c: Likewise.
54674
54675 2012-01-24 Joseph Myers <joseph@codesourcery.com>
54676
54677 * posix/glob: Remove directory.
54678
54679 2012-01-24 Joseph Myers <joseph@codesourcery.com>
54680
54681 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
54682
54683 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
54684
54685 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
54686 of the non-standard EPFNOSUPPORT.
54687
54688 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
54689
54690 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
54691 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
54692 ANYWHERE set to 1 only on KERN_NO_SPACE error.
54693
54694 2012-01-21 Ulrich Drepper <drepper@gmail.com>
54695
54696 * wcsmbs/uchar.h: Test __STDC_VERSION__.
54697
54698 2012-01-20 Ulrich Drepper <drepper@gmail.com>
54699
54700 * nscd/aicache.c (addhstaiX): Do not cache negative results of
54701 transient errors.
54702 * nscd/grpcache.c (cache_addgr): Likewise.
54703 * nscd/hstcache.c (cache_addhst): Likewise.
54704 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54705 * nscd/pwdcache.c (cache_addpw): Likewise.
54706 * nscd/servicescache.c (cache_addserv): Likewise.
54707
54708 2012-01-16 Ulrich Drepper <drepper@gmail.com>
54709
54710 * malloc/malloc.c: Various cleanups.
54711 * malloc/hooks.c: Likewise.
54712
54713 * stdlib/Makefile (tests): Add bug-fmtmsg1.
54714 * stdlib/bug-fmtmsg1.c: New file.
54715
54716 * stdlib/fmtmsg.c (init): Add missing unlock.
54717 Patch by Peng Haitao <penght@cn.fujitsu.com>.
54718
54719 2012-01-12 Marek Polacek <polacek@redhat.com>
54720
54721 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
54722 and _GNU_SOURCE.
54723
54724 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
54725
54726 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
54727 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
54728 macro to ensure uniqueness of label name.
54729 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
54730 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
54731
54732 2012-01-11 Ulrich Drepper <drepper@gmail.com>
54733
54734 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
54735
54736 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
54737 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54738 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54739 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
54740
54741 2012-01-10 Ulrich Drepper <drepper@gmail.com>
54742
54743 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
54744
54745 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
54746 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54747 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54748
54749 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
54750
54751 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
54752 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54753 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54754 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
54755
54756 * math/bits/math-finite.h: Add ldexp support.
54757
54758 2012-01-10 Marek Polacek <polacek@redhat.com>
54759
54760 * locale/programs/localedef.h (show_archive_content): Add noreturn
54761 attribute.
54762
54763 2012-01-09 Ulrich Drepper <drepper@gmail.com>
54764
54765 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
54766
54767 2012-01-08 Ulrich Drepper <drepper@gmail.com>
54768
54769 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
54770
54771 * io/Makefile (headers): Add bits/poll2.h.
54772
54773 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
54774
54775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
54776 typo #include statement.
54777
54778 2012-01-08 Ulrich Drepper <drepper@gmail.com>
54779
54780 * include/sys/cdefs.h: Define __attribute_alloc_size.
54781 * catgets/gencat.c: Add alloc_size attribute and apply consistently
54782 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
54783 * elf/pldd.c: Likewise.
54784 * iconv/iconv_charmap.c: Likewise.
54785 * iconv/iconvconfig.c: Likewise.
54786 * iconv/strtab.c: Likewise.
54787 * locale/programs/locale.c: Likewise.
54788 * locale/programs/localedef.h: Likewise.
54789 * locale/programs/simple-hash.c: Likewise.
54790 * nscd/nscd.h: Likewise.
54791 * nss/makedb.c: Likewise.
54792 * sysdeps/generic/ldconfig.h: Likewise.
54793 * locale/programs/localedef.c: Remove xmalloc prototype.
54794 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
54795
54796 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
54797
54798 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
54799 appropriate.
54800
54801 2012-01-08 Ulrich Drepper <drepper@gmail.com>
54802
54803 * math/Makefile (tests): Add tst-CMPLX.
54804 * math/tst-CMPLX.c: New file.
54805
54806 * math/complex.h (CMPLXL): Fix typo.
54807
54808 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
54809 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
54810 GLIBC_2.16.
54811 * debug/tst-chk1.c: Add poll and ppoll tests.
54812 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
54813 * include/sys/poll.h: Add hidden proto for ppoll.
54814 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
54815 * sysdeps/mach/hurd/ppoll.c: Likewise.
54816 * io/ppoll.c: Likewise.
54817 * debug/poll_chk.c: New file.
54818 * debug/ppoll_chk.c: New file.
54819 * include/bits/poll2.h: New file.
54820 * io/bits/poll2.h: New file.
54821
54822 [BZ #1350]
54823 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
54824
54825 * configure.in: static is always set to yes. Remove.
54826 * config.make.in: Don't set build-static.
54827 * Makeconfig: Remove use of build-static.
54828 * dlfcn/Makefile: Likewise.
54829 * elf/Makefile: Likewise.
54830 * math/Makefile: Likewise.
54831 * misc/Makefile: Likewise.
54832 * nptl/Makefile: Likewise.
54833 * sysdeps/mach/hurd/Makefile: Likewise.
54834
54835 * configure.in: PWD_P is not used anymore.
54836 * config.make.in: Remove PWD_P entry.
54837
54838 * configure.in: Remove last remnants of RANLIB.
54839 No need to check for signed size_t anymore.
54840 Don't set libc_commonpagesize and libc_relro_required here for Alpha
54841 and IA-64.
54842 Remove __builtin_expect test because we require at least gcc 3.4.
54843 * aclocal.m4: Likewise.
54844
54845 * wcsmbs/mbrtoc16.c: Implement using towc function.
54846 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
54847 * wcsmbs/wcsmbsload.c: Likewise.
54848 * iconv/gconv_simple.c: Likewise.
54849 * iconv/gconv_int.h: Likewise.
54850 * iconv/gconv_builtin.h: Likewise.
54851 * iconv/iconv_prog.c: Remove CHAR16 handling.
54852
54853 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
54854
54855 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
54856
54857 * configure.in: Remove --with-elf and --enable-bounded options.
54858 Dont set base_machine for ia64. More non-ELF conditions removed.
54859 Remove testing and setting of leading underscore information.
54860 * config.make.in (build-bounded): Set to no.
54861 * config.h.in: Remove NO_UNDERSCORES entry.
54862 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
54863 them.
54864 * csu/start.c: Remove !NO_UNDERSCORE code.
54865 * locale/localeinfo.h: Likewise.
54866 * sysdeps/generic/machine-gmon.h: Likewise.
54867 * sysdeps/generic/sysdep.h: Likewise.
54868 * sysdeps/i386/sysdep.h: Likewise.
54869 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54870 * sysdeps/mach/sysdep.h: Likewise.
54871 * sysdeps/s390/s390-32/sysdep.h: Likewise.
54872 * sysdeps/s390/s390-64/sysdep.h: Likewise.
54873 * sysdeps/sh/sysdep.h: Likewise.
54874 * sysdeps/sparc/sparc32/alloca.S: Likewise.
54875 * sysdeps/unix/i386/sysdep.S: Likewise.
54876 * sysdeps/unix/sparc/start.c: Likewise.
54877 * sysdeps/unix/sparc/sysdep.S: Likewise.
54878 * sysdeps/unix/sparc/sysdep.h: Likewise.
54879 * sysdeps/unix/start.c: Likewise.
54880 * sysdeps/unix/x86_64/sysdep.S: Likewise.
54881 * sysdeps/x86_64/sysdep.h: Likewise.
54882
54883 2012-01-07 Ulrich Drepper <drepper@gmail.com>
54884
54885 [BZ #13553]
54886 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
54887 for non-gcc.
54888 * argp/argp-fmtstream.h: Use const instead __const.
54889 * argp/argp.h: Likewise.
54890 * assert/assert.h: Likewise.
54891 * bits/fenv.h: Likewise.
54892 * bits/sched.h: Likewise.
54893 * bits/sigset.h: Likewise.
54894 * bits/sigthread.h: Likewise.
54895 * catgets/nl_types.h: Likewise.
54896 * conform/data/pthread.h-data: Likewise.
54897 * crypt/crypt-private.h: Likewise.
54898 * crypt/crypt.h: Likewise.
54899 * crypt/crypt_util.c: Likewise.
54900 * ctype/ctype.h: Likewise.
54901 * debug/execinfo.h: Likewise.
54902 * debug/mbsnrtowcs_chk.c: Likewise.
54903 * debug/mbsrtowcs_chk.c: Likewise.
54904 * debug/wcsnrtombs_chk.c: Likewise.
54905 * debug/wcsrtombs_chk.c: Likewise.
54906 * debug/wcstombs_chk.c: Likewise.
54907 * dirent/dirent.h: Likewise.
54908 * dlfcn/dlfcn.h: Likewise.
54909 * elf/neededtest4.c: Likewise.
54910 * grp/grp.h: Likewise.
54911 * gshadow/gshadow.h: Likewise.
54912 * iconv/gconv.h: Likewise.
54913 * iconv/gconv_int.h: Likewise.
54914 * iconv/gconv_simple.c: Likewise.
54915 * iconv/iconv.h: Likewise.
54916 * iconv/loop.c: Likewise.
54917 * iconv/skeleton.c: Likewise.
54918 * include/aio.h: Likewise.
54919 * include/aliases.h: Likewise.
54920 * include/argz.h: Likewise.
54921 * include/arpa/inet.h: Likewise.
54922 * include/assert.h: Likewise.
54923 * include/dirent.h: Likewise.
54924 * include/dlfcn.h: Likewise.
54925 * include/execinfo.h: Likewise.
54926 * include/fcntl.h: Likewise.
54927 * include/fenv.h: Likewise.
54928 * include/glob.h: Likewise.
54929 * include/grp.h: Likewise.
54930 * include/libintl.h: Likewise.
54931 * include/mntent.h: Likewise.
54932 * include/netdb.h: Likewise.
54933 * include/pwd.h: Likewise.
54934 * include/rpc/netdb.h: Likewise.
54935 * include/sched.h: Likewise.
54936 * include/search.h: Likewise.
54937 * include/shadow.h: Likewise.
54938 * include/signal.h: Likewise.
54939 * include/stdio.h: Likewise.
54940 * include/stdlib.h: Likewise.
54941 * include/string.h: Likewise.
54942 * include/sys/socket.h: Likewise.
54943 * include/sys/stat.h: Likewise.
54944 * include/sys/statfs.h: Likewise.
54945 * include/sys/statvfs.h: Likewise.
54946 * include/sys/syslog.h: Likewise.
54947 * include/sys/time.h: Likewise.
54948 * include/sys/uio.h: Likewise.
54949 * include/time.h: Likewise.
54950 * include/unistd.h: Likewise.
54951 * include/utmp.h: Likewise.
54952 * include/wchar.h: Likewise.
54953 * include/wctype.h: Likewise.
54954 * inet/aliases.h: Likewise.
54955 * inet/arpa/inet.h: Likewise.
54956 * inet/netinet/ether.h: Likewise.
54957 * inet/netinet/in.h: Likewise.
54958 * intl/libintl.h: Likewise.
54959 * io/bits/fcntl2.h: Likewise.
54960 * io/fcntl.h: Likewise.
54961 * io/ftw.h: Likewise.
54962 * io/sys/poll.h: Likewise.
54963 * io/sys/stat.h: Likewise.
54964 * io/sys/statfs.h: Likewise.
54965 * io/sys/statvfs.h: Likewise.
54966 * io/utime.h: Likewise.
54967 * libio/bits/stdio.h: Likewise.
54968 * libio/bits/stdio2.h: Likewise.
54969 * libio/libio.h: Likewise.
54970 * libio/libioP.h: Likewise.
54971 * libio/stdio.h: Likewise.
54972 * locale/lc-ctype.c: Likewise.
54973 * locale/locale.h: Likewise.
54974 * login/utmp.h: Likewise.
54975 * malloc/arena.c: Likewise.
54976 * malloc/malloc.c: Likewise.
54977 * malloc/malloc.h: Likewise.
54978 * malloc/mcheck.c: Likewise.
54979 * malloc/mtrace.c: Likewise.
54980 * math/bits/mathcalls.h: Likewise.
54981 * math/fenv.h: Likewise.
54982 * math/math_private.h: Likewise.
54983 * misc/bits/error.h: Likewise.
54984 * misc/bits/syslog.h: Likewise.
54985 * misc/err.h: Likewise.
54986 * misc/error.h: Likewise.
54987 * misc/fstab.h: Likewise.
54988 * misc/mntent.h: Likewise.
54989 * misc/regexp.h: Likewise.
54990 * misc/search.h: Likewise.
54991 * misc/sgtty.h: Likewise.
54992 * misc/sys/mman.h: Likewise.
54993 * misc/sys/syslog.h: Likewise.
54994 * misc/sys/uio.h: Likewise.
54995 * misc/sys/xattr.h: Likewise.
54996 * misc/ttyent.h: Likewise.
54997 * nis/rpcsvc/ypclnt.h: Likewise.
54998 * nss/nss.h: Likewise.
54999 * posix/bits/unistd.h: Likewise.
55000 * posix/fnmatch.h: Likewise.
55001 * posix/glob.h: Likewise.
55002 * posix/sched.h: Likewise.
55003 * posix/spawn.h: Likewise.
55004 * posix/sys/wait.h: Likewise.
55005 * posix/unistd.h: Likewise.
55006 * posix/wordexp.h: Likewise.
55007 * pwd/pwd.h: Likewise.
55008 * resolv/netdb.h: Likewise.
55009 * resource/sys/resource.h: Likewise.
55010 * rt/aio.h: Likewise.
55011 * rt/bits/mqueue2.h: Likewise.
55012 * rt/mqueue.h: Likewise.
55013 * shadow/shadow.h: Likewise.
55014 * signal/signal.h: Likewise.
55015 * socket/send.c: Likewise.
55016 * socket/sendto.c: Likewise.
55017 * socket/sys/socket.h: Likewise.
55018 * stdio-common/printf.h: Likewise.
55019 * stdlib/bits/stdlib.h: Likewise.
55020 * stdlib/fmtmsg.h: Likewise.
55021 * stdlib/monetary.h: Likewise.
55022 * stdlib/stdlib.h: Likewise.
55023 * stdlib/ucontext.h: Likewise.
55024 * streams/stropts.h: Likewise.
55025 * string/argz.h: Likewise.
55026 * string/bits/string2.h: Likewise.
55027 * string/string.h: Likewise.
55028 * string/strings.h: Likewise.
55029 * sunrpc/rpc/auth.h: Likewise.
55030 * sunrpc/rpc/auth_des.h: Likewise.
55031 * sunrpc/rpc/clnt.h: Likewise.
55032 * sunrpc/rpc/netdb.h: Likewise.
55033 * sunrpc/rpc/pmap_clnt.h: Likewise.
55034 * sunrpc/rpc/xdr.h: Likewise.
55035 * sysdeps/generic/inttypes.h: Likewise.
55036 * sysdeps/generic/net/if.h: Likewise.
55037 * sysdeps/generic/sys/swap.h: Likewise.
55038 * sysdeps/gnu/net/if.h: Likewise.
55039 * sysdeps/gnu/utmpx.h: Likewise.
55040 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
55041 * sysdeps/i386/i486/bits/string.h: Likewise.
55042 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
55043 * sysdeps/s390/bits/string.h: Likewise.
55044 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
55045 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
55046 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
55047 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
55048 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
55049 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
55050 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
55051 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
55052 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
55053 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
55054 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
55055 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
55056 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
55057 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
55058 * sysdeps/unix/sysv/linux/readv.c: Likewise.
55059 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
55060 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
55061 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55062 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
55063 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
55064 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55065 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
55066 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
55067 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
55068 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
55069 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
55070 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
55071 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55072 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
55073 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
55074 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
55075 * sysvipc/sys/ipc.h: Likewise.
55076 * sysvipc/sys/msg.h: Likewise.
55077 * sysvipc/sys/sem.h: Likewise.
55078 * sysvipc/sys/shm.h: Likewise.
55079 * termios/termios.h: Likewise.
55080 * time/sys/time.h: Likewise.
55081 * time/time.h: Likewise.
55082 * wcsmbs/bits/wchar2.h: Likewise.
55083 * wcsmbs/uchar.h: Likewise.
55084 * wcsmbs/wchar.h: Likewise.
55085 * wctype/wctype.h: Likewise.
55086
55087 [BZ #13551]
55088 * Makeconfig: Remove all but ELF support including AIX support.
55089 * Makerules: Likewise.
55090 * config.h.in: Likewise.
55091 * config.make.in: Likewise.
55092 * configure: Likewise.
55093 * configure.in: Likewise.
55094 * csu/Makefile: Likewise.
55095 * csu/version.c: Likewise.
55096 * debug/Makefile: Likewise.
55097 * dlfcn/Makefile: Likewise.
55098 * elf/Makefile: Likewise.
55099 * extra-lib.mk: Likewise.
55100 * iconv/Makefile: Likewise.
55101 * include/libc-symbols.h: Likewise.
55102 * include/shlib-compat.h: Likewise.
55103 * resolv/Makefile: Likewise.
55104 * resolv/res_libc.c: Likewise.
55105 * rt/Makefile: Likewise.
55106 * sysdeps/i386/asm-syntax.h: Likewise.
55107 * sysdeps/i386/sysdep.h: Likewise.
55108 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55109 * sysdeps/mach/sysdep.h: Likewise.
55110 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
55111 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
55112 * sysdeps/s390/asm-syntax.h: Likewise.
55113 * sysdeps/s390/s390-32/sysdep.h: Likewise.
55114 * sysdeps/s390/s390-64/sysdep.h: Likewise.
55115 * sysdeps/sh/sysdep.h: Likewise.
55116 * sysdeps/unix/sparc/sysdep.h: Likewise.
55117 * sysdeps/wordsize-32/divdi3.c: Likewise.
55118 * sysdeps/x86_64/sysdep.h: Likewise.
55119
55120 * argp/Versions: Remove _argp_unlock_xxx.
55121
55122 [BZ #13559]
55123 * abilist/ld.abilist: Update. Adjust for removal of tls option.
55124 * abilist/libBrokenLocale.abilist: Likewise.
55125 * abilist/libanl.abilist: Likewise.
55126 * abilist/libc.abilist: Likewise.
55127 * abilist/libcrypt.abilist: Likewise.
55128 * abilist/libdl.abilist: Likewise.
55129 * abilist/libm.abilist: Likewise.
55130 * abilist/libnsl.abilist: Likewise.
55131 * abilist/libpthread.abilist: Likewise.
55132 * abilist/libresolv.abilist: Likewise.
55133 * abilist/librt.abilist: Likewise.
55134 * abilist/libthread_db.abilist: Likewise.
55135 * abilist/libutil.abilist: Likewise.
55136 * abilist/libnss_db.abilist: New file.
55137
55138 * scripts/abilist.awk: Add support for indirect functions.
55139
55140 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
55141
55142 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
55143
55144 * shlib-versions: Remove entries for ports architectures.
55145
55146 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
55147 files in ports.
55148 * elf/stackguard-macros.h: Remove support for IA-64.
55149 * elf/tst-auditmod1.c: Likewise.
55150 * sysdeps/generic/ldsodefs.h: Likewise.
55151
55152 * sysdeps/unix/sysv/linux/configure.in: Ports should define
55153 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
55154 configure files.
55155
55156 [BZ #13552]
55157 * configure.in: Remove --enable-omitfp support.
55158 * FAQ.in: Adjust.
55159 * config.make.in: Likewise.
55160 * Makeconfig: Likewise.
55161 * manual/install.texi: Likewise.
55162
55163 In case anyone cares, the IA-64 architecture could move to ports.
55164 * sysdeps/ia64/*: Removed.
55165 * sysdeps/unix/sysv/linux/ia64/*: Removed.
55166 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
55167
55168 [BZ #13555]
55169 * configure.in: Remove entries for unsupported architectures.
55170
55171 [BZ #13533]
55172 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
55173 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
55174 routines.
55175 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
55176 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
55177 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
55178 fall back to using wcrtomb.
55179 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
55180 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
55181 renaming.
55182 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
55183 * wcsmbs/tst-c16c32-1.c: New file.
55184
55185 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
55186 local variable.
55187
55188 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
55189
55190 * elf/tst-unique3.cc: Add explicit declaration of gets.
55191 * elf/tst-unique3lib.cc: Likewise.
55192 * elf/tst-unique3lib2.cc: Likewise.
55193 * elf/tst-unique4.cc: Likewise.
55194
55195 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
55196
55197 2012-01-06 Joseph Myers <joseph@codesourcery.com>
55198
55199 [BZ #13566]
55200 * assert/assert.h (static_assert): Don't define for C++.
55201 * libio/stdio.h (gets): Do declare for C++ <= C++11.
55202 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
55203
55204 2012-01-03 Ulrich Drepper <drepper@gmail.com>
55205
55206 * iconv/loop.c (single loop): Fix assertion in storing of
55207 remaining bytes.
55208
55209 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
55210
55211 2012-01-01 Ulrich Drepper <drepper@gmail.com>
55212
55213 * posix/getconf.c: Update copyright year.
55214 * nss/getent.c: Likewise.
55215 * nss/makedb.c: Likewise.
55216 * iconv/iconvconfig.c: Likewise.
55217 * iconv/iconv_prog.c: Likewise.
55218 * elf/ldconfig.c: Likewise.
55219 * elf/pldd.c: Likewise.
55220 * elf/sotruss.ksh: Likewise.
55221 * catgets/gencat.c: Likewise.
55222 * csu/version.c: Likewise.
55223 * elf/ldd.bash.in: Likewise.
55224 * elf/sprof.c (print_version): Likewise.
55225 * locale/programs/locale.c: Likewise.
55226 * locale/programs/localedef.c: Likewise.
55227 * login/programs/pt_chown.c: Likewise.
55228 * nscd/nscd.c (print_version): Likewise.
55229 * debug/xtrace.sh: Likewise.
55230 * malloc/memusage.sh: Likewise.
55231 * malloc/mtrace.pl: Likewise.
55232 * debug/catchsegv.sh: Likewise.
55233
55234 2011-12-30 Jakub Jelinek <jakub@redhat.com>
55235
55236 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
55237 pure attribute.
55238
55239 2011-12-24 Ulrich Drepper <drepper@gmail.com>
55240
55241 [BZ #13533]
55242 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
55243 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
55244 transformations.
55245 * iconv/gconv_int.h: Likewise.
55246 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
55247 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
55248 from libc for GLIBC_2.16.
55249 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
55250 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
55251 * wcsmbs/uchar.h: Really define mbstate_t.
55252 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
55253 * wcsmbs/c16rtomb.c: New file.
55254 * wcsmbs/mbrtoc16.c: New file.
55255 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
55256 for C/POSIX locale.
55257 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
55258 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
55259
55260 * wcsmbs/wchar.h: Add missing __restrict.
55261
55262 2011-12-23 Ulrich Drepper <drepper@gmail.com>
55263
55264 [BZ #13532]
55265 * time/Makefile (routines): Add timespec_get.
55266 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
55267 * time/time.h: Define TIME_UTC and declare timespec_get. Define
55268 timespec for ISO C11.
55269 * time/timespec_get.c: New file.
55270 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
55271 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
55272
55273 [BZ #13531]
55274 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
55275 * stdlib/stdlib.h: Declare aligned_alloc.
55276 * Versions.def: Add GLIBC_2.16 for libc.
55277 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
55278
55279 [BZ 13527]
55280 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
55281 ISO C11.
55282
55283 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
55284 code.
55285
55286 [BZ #13528]
55287 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
55288
55289 [BZ #13529]
55290 * assert/assert.h (static_assert): Define.
55291
55292 * version.h: Update for 2.16 development version.
55293
55294 [BZ #13526]
55295 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
55296 _ISOC11_SOURCE.
55297
55298 * version.h (RELEASE): Bump for 2.15 release.
55299 * include/features.h (__GLIBC_MINOR__): Bump to 15.
55300
55301 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
55302 Patch by Marek Polacek <mpolacek@redhat.com>.
55303
55304 * bits/byteswap.h: Protect long long constants with __extension__.
55305 * sysdeps/i386/bits/byteswap.h: Likewise.
55306 * sysdeps/ia64/bits/byteswap.h: Likewise.
55307 * sysdeps/s390/bits/byteswap.h: Likewise.
55308 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55309
55310 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55311
55312 [BZ #13540]
55313 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
55314 destination buffer.
55315 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
55316
55317 2011-12-23 Marek Polacek <polacek@redhat.com>
55318
55319 * elf/dl-addr.c (determine_info): Add inline keyword.
55320 * elf/tst-auditmod4b.c (check_avx): Likewise.
55321 * elf/tst-auditmod6b.c (check_avx): Likewise.
55322 * elf/tst-auditmod6c.c (check_avx): Likewise.
55323 * elf/tst-auditmod7b.c (check_avx): Likewise.
55324
55325 2011-12-23 Ulrich Drepper <drepper@gmail.com>
55326
55327 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
55328 !__SSE_MATH__.
55329
55330 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55331
55332 [BZ #13540]
55333 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
55334 processing for last bytes.
55335
55336 2011-08-06 Bruno Haible <bruno@clisp.org>
55337
55338 [BZ #13061]
55339 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
55340 U+0385, not to U+1FEE.
55341
55342 [BZ #13062]
55343 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
55344 entry for U+00A5 U+0301.
55345
55346 2011-12-22 Ulrich Drepper <drepper@gmail.com>
55347
55348 [BZ #13166]
55349 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
55350 buffer for the output is too small.
55351
55352 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
55353 optimization.
55354
55355 [BZ #13185]
55356 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
55357 SSE flags if possible.
55358
55359 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55360
55361 [BZ #13540]
55362 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
55363 processing for last bytes.
55364
55365 2011-12-22 Joseph Myers <joseph@codesourcery.com>
55366
55367 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
55368 (syscall-list-default-options, syscall-list-default-condition)
55369 (syscall-list-includes): Define.
55370 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
55371 list of ABIs and options and #if conditions for each ABI. Do not
55372 handle common syscalls between ABIs specially.
55373 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
55374 Remove.
55375 (syscall-list-variants, syscall-list-32bit-options)
55376 (syscall-list-32bit-condition, syscall-list-64bit-options)
55377 (syscall-list-64bit-condition): Define.
55378 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
55379 (syscall-list-variants, syscall-list-32bit-options)
55380 (syscall-list-32bit-condition, syscall-list-64bit-options)
55381 (syscall-list-64bit-condition): Define.
55382 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
55383 Remove.
55384 (syscall-list-variants, syscall-list-32bit-options)
55385 (syscall-list-32bit-condition, syscall-list-64bit-options)
55386 (syscall-list-64bit-condition): Define.
55387 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
55388 Remove.
55389 (syscall-list-variants, syscall-list-32bit-options)
55390 (syscall-list-32bit-condition, syscall-list-64bit-options)
55391 (syscall-list-64bit-condition): Define.
55392
55393 2011-12-22 Ulrich Drepper <drepper@gmail.com>
55394
55395 * locale/iso-639.def: Add brx entry.
55396
55397 [BZ #13328]
55398 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
55399 Proposed by Mariusz_Cukr <marcukr@op.pl>.
55400
55401 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
55402 __feraiseexcept_renamed.
55403
55404 2011-12-21 Ulrich Drepper <drepper@gmail.com>
55405
55406 [BZ #13538]
55407 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
55408 EPOLLET with unsigned values.
55409 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55410 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55411
55412 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
55413 to large cancellation.
55414 * math/s_cacoshf.c: Likewise.
55415 * math/s_cacoshl.c: Likewise.
55416
55417 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
55418
55419 [BZ #13305]
55420 [BZ #12786]
55421 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
55422 * math/s_cacoshf.c: Likewise.
55423 * math/s_cacoshl.c: Likewise.
55424
55425 2011-12-21 Ulrich Drepper <drepper@gmail.com>
55426
55427 [BZ #13439]
55428 * iconv/gconv.h: Define __GCONV_SWAP.
55429 * iconvdata/unicode.c: The swap bit must be stored in __flags.
55430 * iconvdata/utf-16.c: Likewise.
55431 * iconvdata/utf-32.c: Likewise.
55432
55433 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
55434
55435 [BZ #13524]
55436 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
55437 numerator after shifting it by one limb.
55438
55439 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
55440
55441 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
55442 under [__USE_EXTERN_INLINES].
55443
55444 2011-12-17 Ulrich Drepper <drepper@gmail.com>
55445
55446 [BZ #13446]
55447 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
55448
55449 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55450
55451 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
55452 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
55453 optimized code.
55454 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
55455 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
55456 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
55457 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
55458 for strncasecmp/strncasecmp_l compilation.
55459 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
55460 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
55461
55462 2011-12-08 Marek Polacek <mpolacek@redhat.com>
55463
55464 [BZ #13484]
55465 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
55466 of __asm__.
55467
55468 2011-12-17 Ulrich Drepper <drepper@gmail.com>
55469
55470 [BZ #13506]
55471 * time/tzfile.c (__tzfile_read): Check values from file header.
55472
55473 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
55474
55475 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
55476 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
55477 * powerpc/powerpc32/dl-start.S: Likewise.
55478 * powerpc/powerpc32/elf/start.S: Likewise.
55479 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
55480 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
55481 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
55482 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
55483 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
55484 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
55485 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
55486 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
55487 * powerpc/powerpc32/fpu/s_round.S: Likewise.
55488 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
55489 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
55490 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
55491 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
55492 * powerpc/powerpc32/memset.S: Likewise.
55493 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
55494 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55495 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55496 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55497 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55498 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
55499 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
55500 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
55501 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
55502 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
55503 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
55504 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55505 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55506
55507 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55508
55509 * math/libm-test.inc: Added more nearbyint tests.
55510 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
55511 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
55512 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
55513 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
55514
55515 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
55516
55517 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
55518 FD_CLOEXEC.
55519
55520 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55521
55522 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
55523 Add wcscpy-ssse3 wcscpy-c.
55524 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
55525 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
55526 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
55527 * sysdeps/x86_64/wcschr.S: New file.
55528 * sysdeps/x86_64/wcsrchr.S: New file.
55529 * string/test-strcmp.c: Remove checking of wcscmp function for
55530 wrong alignments.
55531 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
55532 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
55533 wcsrchr-sse2 wcsrchr-c.
55534 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
55535 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
55536 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
55537 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
55538 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
55539 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
55540 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
55541 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
55542 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
55543 * wcsmbc/wcschr.c (WCSCHR): New macro.
55544
55545 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55546
55547 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
55548 * wcsmbs/test-wcsrchr.c: New file.
55549 * string/test-strrchr.c: Add wcsrchr support.
55550 (WIDE): New macro.
55551 * wcsmbs/test-wcscpy.c: New file.
55552 * string/test-strcpy.c: Add wcscpy support.
55553 (WIDE): New macro.
55554
55555 2011-12-10 Ulrich Drepper <drepper@gmail.com>
55556
55557 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
55558 the inner loop.
55559
55560 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
55561
55562 [BZ #13472]
55563 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
55564
55565 2011-12-04 Ulrich Drepper <drepper@gmail.com>
55566
55567 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
55568 Minor optimizations.
55569
55570 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
55571 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
55572 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
55573
55574 2011-12-03 Ulrich Drepper <drepper@gmail.com>
55575
55576 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
55577 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
55578 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
55579 for gcc to avoid warnings.
55580 * inet/Makefile (tests): Add tst-checks.
55581 * inet/tst-checks.c: New file.
55582
55583 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
55584 warning.
55585
55586 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
55587 __wmemcmp_sse2.
55588
55589 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
55590 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
55591
55592 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
55593
55594 2011-12-02 Ulrich Drepper <drepper@gmail.com>
55595
55596 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
55597 problem.
55598
55599 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
55600
55601 2011-11-29 Joseph Myers <joseph@codesourcery.com>
55602
55603 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
55604 conditional on GCC version.
55605 (__arch_compare_and_exchange_val_8_acq)
55606 (__arch_compare_and_exchange_val_16_acq)
55607 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
55608 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
55609 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
55610
55611 2011-12-02 Joseph Myers <joseph@codesourcery.com>
55612
55613 * sysdeps/sh/backtrace.c: New file.
55614
55615 2011-12-02 Andreas Schwab <schwab@redhat.com>
55616
55617 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
55618 parenthesis.
55619
55620 2011-12-01 Andreas Schwab <schwab@redhat.com>
55621
55622 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
55623 falling back to utime.
55624
55625 2011-11-30 Andreas Schwab <schwab@redhat.com>
55626
55627 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
55628 expectations for float.
55629
55630 2011-11-29 Andreas Schwab <schwab@redhat.com>
55631
55632 * locale/weight.h (findidx): Add parameter len.
55633 * locale/weightwc.h (findidx): Likewise.
55634 * posix/fnmatch_loop.c (FCT): Adjust caller.
55635 * posix/regcomp.c (build_equiv_class): Likewise.
55636 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
55637 * posix/regexec.c (check_node_accept_bytes): Likewise.
55638 * string/strcoll_l.c (STRCOLL): Likewise.
55639 * string/strxfrm_l.c (STRXFRM): Likewise.
55640
55641 2011-11-17 Ulrich Drepper <drepper@gmail.com>
55642
55643 * Makefile.in: Remove CVSOPT handling.
55644 * configure.in: Remove use of AC_REVISION.
55645 * iconvdata/Makefile (distribute): No need to filter out CVS.
55646 * scripts/list-sources.sh: Remove CVS, subversion and monotone
55647 handling.
55648
55649 2011-11-16 Andreas Schwab <schwab@redhat.com>
55650
55651 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
55652 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
55653 [USE_AS_STRNCASECMP_L]: Likewise.
55654 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
55655 NO_TLS_DIRECT_SEG_REFS.
55656 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
55657 Fix argument offsets for non-PIC.
55658 [USE_AS_STRNCASECMP_L]: Likewise.
55659 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
55660 NO_TLS_DIRECT_SEG_REFS.
55661
55662 2011-11-15 Ulrich Drepper <drepper@gmail.com>
55663
55664 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
55665 O_CLOEXEC.
55666 * locale/loadlocale.c (_nl_load_locale): Likewise.
55667
55668 2011-11-15 Andreas Schwab <schwab@redhat.com>
55669
55670 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
55671 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
55672 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
55673 (SYSCALL_GETTIME): Set errno on error.
55674
55675 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
55676 count references to noai6ai_cached.
55677
55678 2011-11-15 Ulrich Drepper <drepper@gmail.com>
55679
55680 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
55681
55682 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
55683 FD_CLOEXEC for /proc/self/maps.
55684
55685 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
55686 FD_CLOEXEC for /proc/meminfo.
55687
55688 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
55689 gai.conf.
55690
55691 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
55692 FD_CLOEXEC for given file.
55693
55694 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
55695
55696 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
55697 FD_CLOEXEC for /etc/hosts.
55698 (_gethtent): Likewise.
55699
55700 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
55701
55702 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
55703 cancellation and set FD_CLOEXEC for /etc/netgroup.
55704
55705 * nss/nss_files/files-key.c (search): Don't allow cancellation when
55706 reading /etc/publickey.
55707
55708 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
55709 allow cancellation when reading /etc/group.
55710
55711 * nss/nss_files/files-alias.c (internal_setent): Don't allow
55712 cancellation.
55713 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
55714
55715 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
55716 when using data file.
55717
55718 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
55719
55720 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
55721 (write_nis_obj): Use "c" and "e" in fopen.
55722
55723 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
55724
55725 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
55726
55727 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
55728
55729 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
55730
55731 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
55732 locale.alias.
55733
55734 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
55735
55736 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
55737
55738 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
55739
55740 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
55741 file parsing and set FD_CLOEXEC.
55742
55743 2011-11-14 Ulrich Drepper <drepper@gmail.com>
55744
55745 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
55746
55747 2011-11-14 Andreas Schwab <schwab@redhat.com>
55748
55749 * malloc/arena.c (arena_get2): Don't call reused_arena when
55750 _int_new_arena failed.
55751
55752 2011-11-14 Ulrich Drepper <drepper@gmail.com>
55753
55754 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
55755 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
55756 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
55757 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55758 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55759 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
55760 to compile strcasecmp and strncasecmp.
55761 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
55762 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
55763
55764 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
55765
55766 2011-11-13 Ulrich Drepper <drepper@gmail.com>
55767
55768 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
55769 locale-defines.sym to gen-as-const-headers.
55770 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
55771 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
55772 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
55773 to compile strcasecmp and strncasecmp.
55774 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
55775 strcasecmp_l and strncasecmp_l.
55776 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
55777 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
55778 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
55779 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
55780 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
55781 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
55782 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
55783 * sysdeps/i386/i686/multiarch/strncase.S: New file.
55784 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
55785 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
55786 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
55787
55788 2011-11-12 Ulrich Drepper <drepper@gmail.com>
55789
55790 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
55791 result of SYSDEP_GETTIME_CPU to retval.
55792 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
55793 parameter list to macro. Remove trailing semicolon. Adjust users.
55794
55795 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
55796 variable.
55797
55798 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
55799 mantissa words.
55800 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
55801
55802 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
55803 from unused variable.
55804
55805 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
55806 DWARF definitions.
55807 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
55808 for assembling.
55809
55810 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
55811 over namespaces.
55812
55813 * sunrpc/rpc_prot.c (rejected): Fix case value.
55814
55815 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
55816 unsigned long long int to avoid warnings in shift.
55817
55818 * posix/regex_internal.c (re_string_reconstruct): Actually use result
55819 of use of trans.
55820 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
55821 variable tmp.
55822
55823 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
55824 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
55825 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
55826
55827 * nis/nis_table.c (nis_list): Use variable of correct type for
55828 result of __follow_path call.
55829
55830 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55831
55832 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
55833 of math functions ceil, trunc, floor, round, and sqrt, when
55834 avaliable on the platform.
55835 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
55836 name clash.
55837 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55838 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55839 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55840
55841 2011-10-30 Marek Polacek <mpolacek@redhat.com>
55842
55843 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
55844 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
55845
55846 2011-11-11 Roland McGrath <roland@hack.frob.com>
55847
55848 * include/unistd.h: Fix __readlink return type.
55849 Reported by Chris Metcalf <cmetcalf@tilera.com>.
55850
55851 2011-11-11 Ulrich Drepper <drepper@gmail.com>
55852
55853 * stdlib/ucontext.h: Undo last change for makecontext.
55854
55855 2011-11-11 Andreas Schwab <schwab@redhat.com>
55856
55857 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
55858
55859 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
55860 * setjmp/setjmp.h: Mark functions as non-leaf.
55861 * setjmp/bits/setjmp2.h: Likewise.
55862 * stdlib/ucontext.h: Likewise.
55863
55864 2011-11-10 Andreas Schwab <schwab@redhat.com>
55865
55866 * malloc/arena.c (_int_new_arena): Don't increment narenas.
55867 (reused_arena): Don't check arena limit.
55868 (arena_get2): Atomically check arena limit.
55869
55870 2011-11-08 Ulrich Drepper <drepper@gmail.com>
55871
55872 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
55873 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
55874
55875 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
55876 instructions.
55877
55878 2011-11-07 Andreas Schwab <schwab@redhat.com>
55879
55880 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
55881 handler when locking.
55882
55883 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
55884 Fix size of allocated buffer.
55885
55886 2011-11-04 Andreas Schwab <schwab@redhat.com>
55887
55888 [BZ #10103]
55889 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
55890 declarations for long double functions.
55891 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
55892
55893 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
55894
55895 2011-11-03 Andreas Schwab <schwab@redhat.com>
55896
55897 * nscd/nscd.c (main): Don't start AVC thread until credentials are
55898 installed.
55899
55900 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
55901 is disabled.
55902
55903 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
55904
55905 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
55906
55907 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
55908
55909 * include/alloca.h (stackinfo_alloca_round): Define.
55910 (extend_alloca): Use it.
55911 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
55912 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
55913 here.
55914
55915 * scripts/check-local-headers.sh: Ignore libaudit.h.
55916
55917 * nscd/Makefile (extra-objs): Make recursively expanded.
55918
55919 2011-11-01 Ulrich Drepper <drepper@gmail.com>
55920
55921 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
55922 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
55923
55924 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
55925 * posix/tst-rfc3484-2.c: Likewise.
55926 * posix/tst-rfc3484-3.c: Likewise.
55927
55928 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55929 process_vm_writev.
55930 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
55931 process_vm_writev.
55932 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
55933 process_vm_writev from libc using GLIBC_2.15 version.
55934
55935 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
55936
55937 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
55938
55939 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
55940 stack usage.
55941
55942 2011-10-31 Ulrich Drepper <drepper@gmail.com>
55943
55944 [BZ #13367]
55945 * nss/getent.c (initgroups_keys): Show error message in case no group
55946 names are given.
55947
55948 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
55949 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
55950 __bump_nl_timestamp.
55951 * nscd/connections (nscd_init): When host database is served open
55952 netlink socket and request notification about configuration changes.
55953 (main_loop_poll): Track netlink file descriptor and bump timestamp
55954 in case data becomes available.
55955 (main_loop_epoll): Likewise.
55956 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
55957 (database_pers_head): Add extra_data fileds.
55958 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
55959 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
55960 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
55961 Adjust caller.
55962 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
55963 in6ai data, call __free_in6ai.
55964 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
55965 Add -DHAVE_NETLINK.
55966 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
55967 interface information. Reuse previous data if netlink timestamp
55968 is not changed.
55969 (__bump_nl_timestamp): New function.
55970 (__free_in6ai): New function.
55971
55972 2011-10-30 Ulrich Drepper <drepper@gmail.com>
55973
55974 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
55975 close_not_cancel_no_status here.
55976 (__check_pf): Reorganize code a bit to not call close twice if OOM.
55977
55978 2011-10-29 Ulrich Drepper <drepper@gmail.com>
55979
55980 [BZ #13276]
55981 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
55982 return value.
55983
55984 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
55985 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
55986 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
55987
55988 2011-07-03 Andreas Jaeger <aj@suse.de>
55989
55990 [BZ #10709]
55991 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
55992 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
55993 * math/libm-test.inc (sin_test): Add test case.
55994
55995 2011-10-29 Ulrich Drepper <drepper@gmail.com>
55996
55997 [BZ #13337]
55998 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
55999 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56000
56001 * elf/chroot_canon.c (chroot_canon): Cleanups.
56002
56003 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
56004
56005 [BZ #13335]
56006 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
56007 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56008
56009 * string/test-strchr.c: Make usable for strchrnul testing.
56010 * string/test-strchrnul.c: New file.
56011 * string/Makefile (strop-tests): Add strchrnul.
56012
56013 * po/it.po: Update from translation team.
56014 * po/es.po: Likewise.
56015
56016 2011-10-28 Ulrich Drepper <drepper@gmail.com>
56017
56018 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
56019 the three constants needed as parameters. Drop the others.
56020 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
56021 __m128i_strloadu_tolower.
56022 Create and initialize variable zero and use it in all the places
56023 where _mm_setzero_si128 was used.
56024
56025 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
56026 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
56027 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
56028 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
56029 anymore.
56030 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
56031 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
56032 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
56033 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
56034 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
56035 __mpranred, __mptan.
56036 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
56037 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
56038 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
56039 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
56040 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
56041 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
56042 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
56043 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
56044 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
56045
56046 2011-10-28 Andreas Schwab <schwab@redhat.com>
56047
56048 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
56049 redefine if SHARED.
56050 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
56051
56052 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
56053 wide char related routines to wcsmbs subdir.
56054
56055 2011-10-27 Andreas Schwab <schwab@redhat.com>
56056
56057 [BZ #13344]
56058 * misc/sys/cdefs.h (__THROWNL): Define.
56059 * posix/unistd.h: Use __THREADNL instead of __THREAD
56060 for memory synchronization functions.
56061
56062 2011-10-26 Roland McGrath <roland@hack.frob.com>
56063
56064 [BZ #13349]
56065 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
56066 doesn't exist.
56067 * manual/stdio.texi (Obstack Streams): Node removed.
56068
56069 2011-10-26 Andreas Schwab <schwab@redhat.com>
56070
56071 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
56072 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56073 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56074
56075 * math/math_private.h (math_force_eval): Allow non-addressable
56076 arguments.
56077 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
56078
56079 2011-10-25 Ulrich Drepper <drepper@gmail.com>
56080
56081 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
56082 file is not needed.
56083
56084 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
56085 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
56086 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56087 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56088 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56089 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56090 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56091 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
56092 Add AVX variants.
56093 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
56094 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
56095 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
56096 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
56097 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
56098 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
56099 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
56100 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
56101 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
56102 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
56103 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
56104 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
56105 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
56106 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
56107 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
56108 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
56109 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
56110 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
56111 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
56112
56113 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
56114 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
56115
56116 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
56117 place. Use VEX encoding when compiling for AVX.
56118
56119 2011-10-25 Andreas Schwab <schwab@redhat.com>
56120
56121 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
56122 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
56123
56124 * string/test-strchr.c (do_test): Don't generate NUL bytes.
56125
56126 2011-10-25 Ulrich Drepper <drepper@gmail.com>
56127
56128 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
56129 useless if() expression.
56130 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56131 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56132 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56133 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56134 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56135 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56136 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56137 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56138 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56139 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56140 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56141 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56142 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
56143 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56144 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
56145 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56146 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56147 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56148 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
56149
56150 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
56151
56152 2011-10-25 Andreas Schwab <schwab@redhat.com>
56153
56154 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
56155 condition.
56156 * elf/dl-fini.c (_dl_sort_fini): Likewise.
56157
56158 2011-10-25 Ulrich Drepper <drepper@gmail.com>
56159
56160 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
56161 .text section. Avoid duplicate constants.
56162 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56163 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56164 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56165 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56166 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56167 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56168 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56169 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56170 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56171 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
56172 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56173 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56174 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56175 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56176 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56177 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56178 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56179 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56180 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56181 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56182 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56183 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56184 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56185 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
56186 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
56187 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
56188 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
56189 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
56190 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
56191 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
56192 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
56193 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
56194 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56195 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
56196 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
56197 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
56198 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
56199 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
56200 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
56201 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
56202 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
56203 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
56204 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
56205 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
56206 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
56207
56208 2011-10-24 Ulrich Drepper <drepper@gmail.com>
56209
56210 * sysdeps/x86_64/dla.h: Move to ...
56211 * sysdeps/x86_64/fpu/dla.h: ...here.
56212 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
56213 situations. Use __builtin_fma only for gcc 4.6 and up.
56214
56215 * config.make.in: Add have-mfma4 entry.
56216 * configure.in: Substitute libc_cv_cc_fma4.
56217 * math/Makefile (dbl-only-routines): Add sincostab.
56218 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
56219 Use __sincostab not sincos.
56220 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
56221 name is a macro.
56222 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56223 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56224 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56225 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
56226 using __copysign.
56227 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
56228 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
56229 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
56230 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
56231 and __inv.
56232 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
56233 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
56234 __copysign.
56235 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
56236 define aliases when function name is a macro.
56237 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
56238 sysdeps/ieee754/dbl-64/sincos.tbl.
56239 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
56240 fma4-enabled routines.
56241 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
56242 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
56243 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
56244 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
56245 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
56246 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
56247 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
56248 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
56249 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
56250 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
56251 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
56252 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
56253 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
56254 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
56255 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
56256 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
56257 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
56258 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
56259 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
56260 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
56261 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
56262 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
56263 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
56264 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
56265 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
56266 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
56267 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
56268 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
56269 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
56270 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
56271
56272 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
56273 rename.
56274 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56275 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56276 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56277 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56278 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56279 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56280 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56281 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56282
56283 2011-10-24 Andreas Schwab <schwab@redhat.com>
56284
56285 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
56286
56287 2011-10-23 Ulrich Drepper <drepper@gmail.com>
56288
56289 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
56290
56291 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
56292 prediction.
56293 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
56294
56295 * string/strnlen.c: Don't define STRNLEN, reverse logic.
56296 Remove unused variable magic_bits.
56297 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
56298
56299 * string/strnlen.c: Define and use STRNLEN macro.
56300 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
56301 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
56302 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
56303 * wcsmbs/wcslen.c: Define and use WCSLEN.
56304 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
56305 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
56306 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
56307 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
56308 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
56309 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
56310 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56311
56312 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56313
56314 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56315 strnlen-sse2-no-bsf.
56316 Rename strlen-no-bsf to strlen-sse2-no-bsf.
56317 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
56318 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
56319 Add strnlen support.
56320 (USE_AS_STRNLEN): New macro.
56321 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
56322 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
56323 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
56324 * sysdeps/x86_64/wcslen.S: New file.
56325
56326 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
56327
56328 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
56329 XMM-moves are used for copying on small sizes.
56330
56331 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56332
56333 * wcsmbs/Makefile (strop-tests): Add wcschr.
56334 * wcsmbs/test-wcschr.c: New file.
56335 * string/test-strchr.c: Update.
56336 Add wcschr support.
56337 (WIDE): New macro.
56338
56339 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56340
56341 * wcsmbs/Makefile (strop-tests): Add wcslen.
56342 * wcsmbs/test-wcslen.c: New file.
56343 * string/test-strlen.c: Update.
56344 Add wcslen support.
56345 (WIDE): New macro.
56346
56347 2011-10-23 Ulrich Drepper <drepper@gmail.com>
56348
56349 * po/it.po: Update from translation team.
56350
56351 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56352
56353 * sysdeps/x86_64/wcscmp.S: Update.
56354 Fix wrong comparison semantics.
56355 wcscmp shall use signed comparison not unsigned.
56356 Don't use substraction to avoid overflow bug.
56357 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
56358 * wcsmbc/wcscmp.c: Likewise.
56359 * string/test-strcmp.c: Likewise.
56360 Add new tests to check cases with negative values.
56361
56362 2011-10-23 Ulrich Drepper <drepper@gmail.com>
56363
56364 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
56365 * sysdeps/x86_64/dla.h: ...here. New file.
56366 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
56367 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56368 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56369 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56370 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56371 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56372 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56373 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56374 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56375
56376 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
56377
56378 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
56379 __ynl_finite aliases.
56380
56381 2011-10-22 Ulrich Drepper <drepper@gmail.com>
56382
56383 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56384
56385 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
56386 define DLA_FMA.
56387 [DLA_FMA] (EMULV): Use DLA_FMA.
56388 [DLA_FMA] (MUL12): Use EMULV.
56389 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
56390 that are not needed.
56391 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56392 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56393 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56394 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56395 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56396 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56397 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56398
56399 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
56400
56401 * math/s_nan.c: Undef __nan.
56402 * math/s_nanf.c: Undef __nanf.
56403 * math/s_nanl.c: Undef __nanl.
56404 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
56405 "math_private.h".
56406
56407 2011-10-22 Ulrich Drepper <drepper@gmail.com>
56408
56409 * math/s_catan.c: Add branch predictions.
56410 * math/s_catanf.c: Likewise.
56411 * math/s_catanh.c: Likewise.
56412 * math/s_catanhf.c: Likewise.
56413 * math/s_catanhl.c: Likewise.
56414 * math/s_catanl.c: Likewise.
56415 * math/s_cexp.c: Likewise.
56416 * math/s_cexpf.c: Likewise.
56417 * math/s_cexpl.c: Likewise.
56418 * math/s_clog.c: Likewise.
56419 * math/s_clog10.c: Likewise.
56420 * math/s_clog10f.c: Likewise.
56421 * math/s_clog10l.c: Likewise.
56422 * math/s_clogf.c: Likewise.
56423 * math/s_clogl.c: Likewise.
56424 * math/s_csqrt.c: Likewise.
56425 * math/s_csqrtf.c: Likewise.
56426 * math/s_csqrtl.c: Likewise.
56427 * math/s_ctanf.c: Likewise.
56428 * math/s_ctanh.c: Likewise.
56429 * math/s_ctanhf.c: Likewise.
56430 * math/s_ctanhl.c: Likewise.
56431 * math/s_ctanl.c: Likewise.
56432
56433 * math/math_private.h: Define __nan, __nanf, __nanl.
56434 * math/s_cacosh.c: Include <math_private.h>.
56435 * math/s_cacoshl.c: Likewise.
56436 * math/s_casinh.c: Likewise.
56437 * math/s_casinhf.c: Likewise.
56438 * math/s_casinhl.c: Likewise.
56439 * math/s_ccos.c: Rely entire on ccosh.
56440 * math/s_ccosf.c: Rely entire on ccoshf.
56441 * math/s_ccosl.c: Rely entirely on ccoshl.
56442 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
56443 Remove tests for FE_INVALID.
56444 * math/s_ccoshf.c: Likewise.
56445 * math/s_ccoshl.c: Likewise.
56446 * math/s_csin.c: Likewise.
56447 * math/s_csinf.c: Likewise.
56448 * math/s_csinh.c Likewise.
56449 * math/s_csinhf.c: Likewise.
56450 * math/s_csinhl.c: Likewise.
56451 * math/s_csinl.c: Likewise.
56452 * math/s_ctan.c: Likewise.
56453 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
56454 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
56455 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
56456
56457 2011-10-21 Ulrich Drepper <drepper@gmail.com>
56458
56459 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
56460 compilation problems.
56461
56462 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
56463 __builtin_expect.
56464
56465 2011-10-20 Ulrich Drepper <drepper@gmail.com>
56466
56467 * sysdeps/i386/configure.in: Test for -mfma4 option.
56468 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
56469 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
56470 COMMON_CPUID_INDEX_80000001.
56471 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
56472 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
56473 use it if FMA3 is not supported.
56474 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
56475
56476 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
56477 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56478
56479 2011-10-20 Andreas Schwab <schwab@redhat.com>
56480
56481 [BZ #12892]
56482 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
56483 it would create a cycle with a link time dependency.
56484
56485 2011-10-19 Ulrich Drepper <drepper@gmail.com>
56486
56487 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
56488 instruction.
56489 * string/Makefile (strop-tests): Add rawmemchr.
56490 * string/test-rawmemchr.c: New file.
56491
56492 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
56493 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
56494 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
56495 when compiling str{,n}casecmp and when AVX is available. Hook up
56496 new optimized code in initializers.
56497
56498 2011-10-19 Andreas Schwab <schwab@redhat.com>
56499
56500 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
56501 __feraiseexcept instead of feraiseexcept.
56502
56503 2011-10-18 Ulrich Drepper <drepper@gmail.com>
56504
56505 * math/math_private.h: Define defaults for libc_fetestexcept and
56506 libc_feupdateenv.
56507 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
56508 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
56509 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56510 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56511 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
56512 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56513 libc_fetestexcept and libc_feupdateenv.
56514
56515 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
56516 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
56517 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
56518 * sysdeps/x86_64/fpu/math_private.h: Define special version of
56519 libc_feholdexcept_setround.
56520
56521 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
56522 Add s_nearbyint-c and s_nearbyintf-c.
56523 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
56524 nearbyintf inlines.
56525 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
56526 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
56527 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
56528 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
56529
56530 * math/math_private.h: Define defaults for libc_fegetround,
56531 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
56532 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
56533 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
56534 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
56535 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
56536 standard functions.
56537 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56538 Remove comments and hacks for old compiler versions.
56539 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56540 libc_fegetround, libc_fesetround, libc_feholdexcept, and
56541 libc_feholdexceptl.
56542
56543 2011-10-18 Andreas Schwab <schwab@redhat.com>
56544
56545 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
56546 (__feraiseexcept_renamed): Add __NTH.
56547 (feraiseexcept): Add __NTH. Rename local variables to fix
56548 namespace violations.
56549
56550 2011-10-17 Ulrich Drepper <drepper@gmail.com>
56551
56552 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
56553
56554 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
56555
56556 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
56557 recently added interfaces.
56558 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
56559
56560 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
56561 about macro parameter expansion.
56562
56563 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
56564 __NO_MATH_INLINES is defined. Cleanups.
56565
56566 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
56567 and __floorf is target has SSE4.1.
56568 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
56569 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
56570 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
56571 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
56572
56573 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
56574 name.
56575 (floorf): Likewise.
56576
56577 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
56578
56579 2011-10-17 Andreas Schwab <schwab@redhat.com>
56580
56581 * misc/sys/cdefs.h: Fix last change.
56582
56583 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
56584 database lookup.
56585
56586 2011-10-16 Ulrich Drepper <drepper@gmail.com>
56587
56588 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
56589
56590 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
56591 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56592 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56593 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56594 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56595 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
56596 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56597 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56598 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
56599 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
56600 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
56601 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
56602 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
56603 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
56604 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
56605 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
56606 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
56607 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
56608 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
56609 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
56610 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
56611 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
56612
56613 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
56614 ceil, ceilf, floor, floorf.
56615
56616 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
56617 Perform IRELATIVE relocations last.
56618
56619 * elf/do-rel.h: Add another parameter nrelative, replacing the
56620 local variable with the same name. Change name of the function
56621 to end in Rel or Rela (uppercase).
56622 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
56623 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
56624 elf_dynamic_do_##reloc function.
56625
56626 2011-10-15 Ulrich Drepper <drepper@gmail.com>
56627
56628 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
56629 is sufficient, at least on modern CPUs.
56630
56631 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
56632
56633 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
56634 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
56635
56636 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
56637 __expl_finite.
56638 * math/bits/math-finite.h: Add entries for exp.
56639 * math/e_expl.c: Add __*_finite alias.
56640 * sysdeps/i386/fpu/e_exp.S: Likewise.
56641 * sysdeps/i386/fpu/e_expf.S: Likewise.
56642 * sysdeps/i386/fpu/e_expl.c: Likewise.
56643 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56644 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56645 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56646 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56647 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
56648 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
56649 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
56650
56651 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
56652 is sufficient, at least on modern CPUs.
56653
56654 * ctype/ctype-info.c (__ctype_init): Define.
56655 * include/ctype.h (__ctype_init): Declare.
56656 (__ctype_b_loc): The variable is always initialized.
56657 (__ctype_toupper_loc): Likewise.
56658 (__ctype_tolower_loc): Likewise.
56659 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
56660 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
56661
56662 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
56663
56664 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
56665
56666 * configure.in: Also look in $cxxmachine/include for C++ system
56667 headers.
56668
56669 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56670
56671 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
56672 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
56673 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
56674 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
56675 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
56676 (USE_AS_WMEMCMP): New macro.
56677 Fixing indents.
56678 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
56679 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
56680 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
56681 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
56682 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56683 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
56684 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
56685 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
56686 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
56687 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
56688 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
56689 (USE_AS_WMEMCMP): New macro.
56690 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
56691 * sysdeps/string/test-memcmp.c: Update.
56692 Fix simple_wmemcmp.
56693 Add new tests.
56694 * wcsmbs/wmemcmp.c: Update.
56695 (WMEMCMP): New macro.
56696 Fix overflow bug.
56697
56698 2011-10-12 Andreas Jaeger <aj@suse.de>
56699
56700 [BZ #13268]
56701 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
56702
56703 2011-10-15 Ulrich Drepper <drepper@gmail.com>
56704
56705 * libio/iofwide.c (do_length): Avoid warning.
56706
56707 * ctype/ctype.h (__isctype_f): Add missing __THROW.
56708
56709 2011-10-14 Ulrich Drepper <drepper@gmail.com>
56710
56711 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
56712
56713 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
56714 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
56715 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
56716 * sysdeps/i386/i686/fpu/e_log.S: New file.
56717 * sysdeps/i386/i686/fpu/e_logf.S: New file.
56718 * sysdeps/i386/i686/fpu/e_logl.S: New file.
56719
56720 * ctype/ctype.h: Add support for inlined isXXX functions when
56721 compiling C++ code.
56722
56723 2011-10-14 Andreas Schwab <schwab@redhat.com>
56724
56725 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56726
56727 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
56728
56729 2011-10-13 Roland McGrath <roland@hack.frob.com>
56730
56731 [BZ #13291]
56732 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
56733
56734 2011-10-13 Andreas Schwab <schwab@redhat.com>
56735
56736 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
56737 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
56738 feraiseexcept.
56739
56740 * sysdeps/x86_64/memrchr.S: Check for zero size.
56741
56742 * string/stratcliff.c: Add memrchr tests.
56743
56744 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56745
56746 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56747 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
56748 rawmemchr-sse2 rawmemchr-sse2-bsf.
56749 * sysdeps/i386/i686/multiarch/memchr.S: New file.
56750 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
56751 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
56752 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
56753 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
56754 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
56755 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
56756 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
56757 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
56758 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
56759 * string/memrchr.c (MEMRCHR): New macro.
56760
56761 2011-10-12 Ulrich Drepper <drepper@gmail.com>
56762
56763 Add integration with gcc's -ffinite-math-only and optimize wrapper
56764 functions in libm.
56765 * Versions.def: Define GLIBC_2.15 version for libm.
56766 * math/Makefile (headers): Add bits/math-finite.h.
56767 * math/bits/math-finite.h: New file.
56768 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
56769 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
56770 * math/e_acoshl.c: Add __*_finite alias.
56771 * math/e_acosl.c: Likewise.
56772 * math/e_asinl.c: Likewise.
56773 * math/e_atan2l.c: Likewise.
56774 * math/e_atanhl.c: Likewise.
56775 * math/e_coshl.c: Likewise.
56776 * math/e_exp10.c: Likewise.
56777 * math/e_exp10f.c: Likewise.
56778 * math/e_exp10l.c: Likewise.
56779 * math/e_exp2l.c: Likewise.
56780 * math/e_fmodl.c: Likewise.
56781 * math/e_gammal_r.c: Likewise.
56782 * math/e_hypotl.c: Likewise.
56783 * math/e_j0l.c: Likewise.
56784 * math/e_j1l.c: Likewise.
56785 * math/e_jnl.c: Likewise.
56786 * math/e_lgammal_r.c: Likewise.
56787 * math/e_log10l.c: Likewise.
56788 * math/e_log2l.c: Likewise.
56789 * math/e_logl.c: Likewise.
56790 * math/e_powl.c: Likewise.
56791 * math/e_sinhl.c: Likewise.
56792 * math/e_sqrtl.c: Likewise.
56793 * math/e_scalb.c: Completely rewritten and optimized.
56794 * math/e_scalbf.c: Likewise.
56795 * math/e_scalbl.c: Likewise.
56796 * math/w_acos.c: Likewise.
56797 * math/w_acosf.c: Likewise.
56798 * math/w_acosl.c: Likewise.
56799 * math/w_acosh.c: Likewise.
56800 * math/w_acoshf.c: Likewise.
56801 * math/w_acoshl.c: Likewise.
56802 * math/w_asin.c: Likewise.
56803 * math/w_asinf.c: Likewise.
56804 * math/w_asinl.c: Likewise.
56805 * math/w_atan2.c: Likewise.
56806 * math/w_atan2f.c: Likewise.
56807 * math/w_atan2l.c: Likewise.
56808 * math/w_atanh.c: Likewise.
56809 * math/w_atanhf.c: Likewise.
56810 * math/w_atanhl.c: Likewise.
56811 * math/w_exp10.c: Likewise.
56812 * math/w_exp10f.c: Likewise.
56813 * math/w_exp10l.c: Likewise.
56814 * math/w_fmod.c: Likewise.
56815 * math/w_fmodf.c: Likewise.
56816 * math/w_fmodl.c: Likewise.
56817 * math/w_j0.c: Likewise.
56818 * math/w_j0f.c: Likewise.
56819 * math/w_j0l.c: Likewise.
56820 * math/w_j1.c: Likewise.
56821 * math/w_j1f.c: Likewise.
56822 * math/w_j1l.c: Likewise.
56823 * math/w_jn.c: Likewise.
56824 * math/w_jnf.c: Likewise.
56825 * math/w_log.c: Likewise.
56826 * math/w_logf.c: Likewise.
56827 * math/w_logl.c: Likewise.
56828 * math/w_log10.c: Likewise.
56829 * math/w_log10f.c: Likewise.
56830 * math/w_log10l.c: Likewise.
56831 * math/w_log2.c: Likewise.
56832 * math/w_log2f.c: Likewise.
56833 * math/w_log2l.c: Likewise.
56834 * math/w_pow.c: Likewise.
56835 * math/w_powf.c: Likewise.
56836 * math/w_powl.c: Likewise.
56837 * math/w_remainder.c: Likewise.
56838 * math/w_remainderf.c: Likewise.
56839 * math/w_remainderl.c: Likewise.
56840 * math/w_scalb.c: Likewise.
56841 * math/w_scalbf.c: Likewise.
56842 * math/w_scalbl.c: Likewise.
56843 * math/w_sqrt.c: Likewise.
56844 * math/w_sqrtf.c: Likewise.
56845 * math/w_sqrtl.c: Likewise.
56846 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
56847 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
56848 used.
56849 * math/math_private.h: Declare __kernel_standard_f.
56850 * math/w_cosh.c: Remove cruft and optimize a bit.
56851 * math/w_coshf.c: Likewise.
56852 * math/w_coshl.c: Likewise.
56853 * math/w_exp2.c: Likewise.
56854 * math/w_exp2f.c: Likewise.
56855 * math/w_exp2l.c: Likewise.
56856 * math/w_hypot.c: Likewise.
56857 * math/w_hypotf.c: Likewise.
56858 * math/w_hypotl.c: Likewise.
56859 * math/w_lgamma.c: Likewise.
56860 * math/w_lgamma_r.c: Likewise.
56861 * math/w_lgammaf.c: Likewise.
56862 * math/w_lgammaf_r.c: Likewise.
56863 * math/w_lgammal.c: Likewise.
56864 * math/w_lgammal_r.c: Likewise.
56865 * math/w_sinh.c: Likewise.
56866 * math/w_sinhf.c: Likewise.
56867 * math/w_sinhl.c: Likewise.
56868 * math/w_tgamma.c: Likewise.
56869 * math/w_tgammaf.c: Likewise.
56870 * math/w_tgammal.c: Likewise.
56871 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56872 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56873 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
56874 Minor optimizations. Pretty printing. Remove cruft.
56875 * sysdeps/i386/fpu/e_acosf.S: Likewise.
56876 * sysdeps/i386/fpu/e_acosh.S: Likewise.
56877 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56878 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56879 * sysdeps/i386/fpu/e_acosl.c: Likewise.
56880 * sysdeps/i386/fpu/e_asin.S: Likewise.
56881 * sysdeps/i386/fpu/e_asinf.S: Likewise.
56882 * sysdeps/i386/fpu/e_atan2.S: Likewise.
56883 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
56884 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
56885 * sysdeps/i386/fpu/e_atanh.S: Likewise.
56886 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56887 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56888 * sysdeps/i386/fpu/e_exp10.S: Likewise.
56889 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
56890 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
56891 * sysdeps/i386/fpu/e_exp2.S: Likewise.
56892 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
56893 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
56894 * sysdeps/i386/fpu/e_fmod.S: Likewise.
56895 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
56896 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
56897 * sysdeps/i386/fpu/e_hypot.S: Likewise.
56898 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
56899 * sysdeps/i386/fpu/e_log.S: Likewise.
56900 * sysdeps/i386/fpu/e_log10.S: Likewise.
56901 * sysdeps/i386/fpu/e_log10f.S: Likewise.
56902 * sysdeps/i386/fpu/e_log10l.S: Likewise.
56903 * sysdeps/i386/fpu/e_log2.S: Likewise.
56904 * sysdeps/i386/fpu/e_log2f.S: Likewise.
56905 * sysdeps/i386/fpu/e_log2l.S: Likewise.
56906 * sysdeps/i386/fpu/e_logf.S: Likewise.
56907 * sysdeps/i386/fpu/e_logl.S: Likewise.
56908 * sysdeps/i386/fpu/e_pow.S: Likewise.
56909 * sysdeps/i386/fpu/e_powf.S: Likewise.
56910 * sysdeps/i386/fpu/e_powl.S: Likewise.
56911 * sysdeps/i386/fpu/e_remainder.S: Likewise.
56912 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
56913 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
56914 * sysdeps/i386/fpu/e_scalb.S: Likewise.
56915 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56916 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56917 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
56918 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
56919 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
56920 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56921 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56922 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56923 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56924 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56925 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56926 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
56927 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56928 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56929 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56930 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56931 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
56932 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56933 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56934 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56935 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56936 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56937 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56938 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56939 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56940 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56941 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
56942 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56943 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56944 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
56945 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
56946 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56947 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
56948 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
56949 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
56950 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56951 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
56952 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56953 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
56954 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
56955 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
56956 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
56957 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
56958 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
56959 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
56960 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
56961 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
56962 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
56963 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
56964 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56965 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
56966 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
56967 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
56968 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
56969 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
56970 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
56971 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
56972 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
56973 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56974 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
56975 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
56976 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
56977 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
56978 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
56979 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
56980 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
56981 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
56982 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56983 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56984 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
56985 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
56986 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
56987 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
56988 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
56989 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
56990 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
56991 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
56992 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
56993 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
56994 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
56995 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56996 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
56997 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
56998 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56999 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
57000 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57001 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
57002 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
57003 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57004 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57005 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
57006 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57007 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
57008 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57009 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
57010 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57011 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57012 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57013 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
57014 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57015 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57016 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57017 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
57018 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
57019 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
57020 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
57021 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
57022 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
57023 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
57024 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57025 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57026 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57027 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57028 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
57029 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57030 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
57031 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
57032 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
57033 (__isnanf): Likewise.
57034 (__isinf_ns): Likewise.
57035 (__isinf_nsf): Likewise.
57036 (__finite): Likewise.
57037 (__finitef): Likewise.
57038 (__ieee754_sqrt): Define as macro.
57039 (__ieee754_sqrtf): Define as macro.
57040 (__ieee754_sqrtl): Define as macro.
57041 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
57042 inlined copy.
57043 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
57044 __FINITE_MATH_ONLY__ consistent.
57045 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
57046
57047 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
57048
57049 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
57050 of rawmemchr.
57051
57052 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
57053
57054 2011-10-09 Ulrich Drepper <drepper@gmail.com>
57055
57056 * po/ja.po: Update from translation team.
57057
57058 2011-10-08 Roland McGrath <roland@hack.frob.com>
57059
57060 * locale/programs/locarchive.c (prepare_address_space): New function.
57061 (create_archive, enlarge_archive, open_archive): Use it.
57062
57063 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
57064 inside [SHARED], where it is used.
57065
57066 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
57067
57068 * nss/getent.c (netgroup_keys): Remove unused variable.
57069 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
57070
57071 2011-10-08 Ulrich Drepper <drepper@gmail.com>
57072
57073 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
57074 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
57075 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
57076 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
57077 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
57078 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
57079 * math/Makefile (libm-calls): Add s_isinf_ns.
57080 * math/divtc3.c: Use __isinf_nsl instead of isinf.
57081 * math/multc3.c: Likewise.
57082 * math/s_casin.c: Likewise.
57083 * math/s_casinf.c: Likewise.
57084 * math/s_casinl.c: Likewise.
57085 * math/s_ccos.c: Likewise.
57086 * math/s_ccosf.c: Likewise.
57087 * math/s_ccosl.c: Likewise.
57088 * math/s_ctan.c: Likewise.
57089 * math/s_ctanf.c: Likewise.
57090 * math/s_ctanh.c: Likewise.
57091 * math/s_ctanhf.c: Likewise.
57092 * math/s_ctanhl.c: Likewise.
57093 * math/s_ctanl.c: Likewise.
57094 * math/w_fmod.c: Likewise.
57095 * math/w_fmodf.c: Likewise.
57096 * math/w_fmodl.c: Likewise.
57097 * math/w_remainder.c: Likewise.
57098 * math/w_remainderf.c: Likewise.
57099 * math/w_remainderl.c: Likewise.
57100 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
57101 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
57102 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
57103 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
57104 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
57105 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
57106 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
57107 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
57108
57109 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
57110 of the number.
57111 * stdio-common/printf_fphex.c: Likewise.
57112 * stdio-common/printf_size.c: Likewise.
57113
57114 * math/e_exp10.c: Include math_private.h using <...> not "...".
57115 * math/e_exp10f.c: Likewise.
57116 * math/e_exp10l.c: Likewise.
57117 * math/e_exp2l.c: Likewise.
57118 * math/e_j0l.c: Likewise.
57119 * math/e_j1l.c: Likewise.
57120 * math/e_jnl.c: Likewise.
57121 * math/e_lgammal_r.c: Likewise.
57122 * math/e_rem_pio2l.c: Likewise.
57123 * math/e_scalb.c: Likewise.
57124 * math/e_scalbf.c: Likewise.
57125 * math/e_scalbl.c: Likewise.
57126 * math/k_cosl.c: Likewise.
57127 * math/k_sinl.c: Likewise.
57128 * math/k_tanl.c: Likewise.
57129 * math/s_cacoshf.c: Likewise.
57130 * math/s_catan.c: Likewise.
57131 * math/s_catanf.c: Likewise.
57132 * math/s_catanh.c: Likewise.
57133 * math/s_catanhf.c: Likewise.
57134 * math/s_catanhl.c: Likewise.
57135 * math/s_catanl.c: Likewise.
57136 * math/s_ccosh.c: Likewise.
57137 * math/s_ccoshf.c: Likewise.
57138 * math/s_ccoshl.c: Likewise.
57139 * math/s_cexp.c: Likewise.
57140 * math/s_cexpf.c: Likewise.
57141 * math/s_cexpl.c: Likewise.
57142 * math/s_clog.c: Likewise.
57143 * math/s_clog10.c: Likewise.
57144 * math/s_clog10f.c: Likewise.
57145 * math/s_clog10l.c: Likewise.
57146 * math/s_clogf.c: Likewise.
57147 * math/s_clogl.c: Likewise.
57148 * math/s_csin.c: Likewise.
57149 * math/s_csinf.c: Likewise.
57150 * math/s_csinh.c: Likewise.
57151 * math/s_csinhf.c: Likewise.
57152 * math/s_csinhl.c: Likewise.
57153 * math/s_csinl.c: Likewise.
57154 * math/s_csqrt.c: Likewise.
57155 * math/s_csqrtf.c: Likewise.
57156 * math/s_csqrtl.c: Likewise.
57157 * math/s_ctan.c: Likewise.
57158 * math/s_ctanf.c: Likewise.
57159 * math/s_ctanh.c: Likewise.
57160 * math/s_ctanhf.c: Likewise.
57161 * math/s_ctanhl.c: Likewise.
57162 * math/s_ctanl.c: Likewise.
57163 * math/s_ldexp.c: Likewise.
57164 * math/s_ldexpf.c: Likewise.
57165 * math/s_ldexpl.c: Likewise.
57166 * math/s_significand.c: Likewise.
57167 * math/s_significandf.c: Likewise.
57168 * math/s_significandl.c: Likewise.
57169 * math/w_acos.c: Likewise.
57170 * math/w_acosf.c: Likewise.
57171 * math/w_acosh.c: Likewise.
57172 * math/w_acoshf.c: Likewise.
57173 * math/w_acoshl.c: Likewise.
57174 * math/w_acosl.c: Likewise.
57175 * math/w_asin.c: Likewise.
57176 * math/w_asinf.c: Likewise.
57177 * math/w_asinl.c: Likewise.
57178 * math/w_atan2.c: Likewise.
57179 * math/w_atan2f.c: Likewise.
57180 * math/w_atan2l.c: Likewise.
57181 * math/w_atanh.c: Likewise.
57182 * math/w_atanhf.c: Likewise.
57183 * math/w_atanhl.c: Likewise.
57184 * math/w_cosh.c: Likewise.
57185 * math/w_coshf.c: Likewise.
57186 * math/w_coshl.c: Likewise.
57187 * math/w_dremf.c: Likewise.
57188 * math/w_exp10.c: Likewise.
57189 * math/w_exp10f.c: Likewise.
57190 * math/w_exp10l.c: Likewise.
57191 * math/w_exp2.c: Likewise.
57192 * math/w_exp2f.c: Likewise.
57193 * math/w_fmod.c: Likewise.
57194 * math/w_fmodf.c: Likewise.
57195 * math/w_fmodl.c: Likewise.
57196 * math/w_hypot.c: Likewise.
57197 * math/w_hypotf.c: Likewise.
57198 * math/w_hypotl.c: Likewise.
57199 * math/w_j0.c: Likewise.
57200 * math/w_j0f.c: Likewise.
57201 * math/w_j0l.c: Likewise.
57202 * math/w_j1.c: Likewise.
57203 * math/w_j1f.c: Likewise.
57204 * math/w_j1l.c: Likewise.
57205 * math/w_jn.c: Likewise.
57206 * math/w_jnf.c: Likewise.
57207 * math/w_jnl.c: Likewise.
57208 * math/w_lgamma.c: Likewise.
57209 * math/w_lgamma_r.c: Likewise.
57210 * math/w_lgammaf.c: Likewise.
57211 * math/w_lgammaf_r.c: Likewise.
57212 * math/w_lgammal.c: Likewise.
57213 * math/w_lgammal_r.c: Likewise.
57214 * math/w_log.c: Likewise.
57215 * math/w_log10.c: Likewise.
57216 * math/w_log10f.c: Likewise.
57217 * math/w_log10l.c: Likewise.
57218 * math/w_log2.c: Likewise.
57219 * math/w_log2f.c: Likewise.
57220 * math/w_log2l.c: Likewise.
57221 * math/w_logf.c: Likewise.
57222 * math/w_logl.c: Likewise.
57223 * math/w_pow.c: Likewise.
57224 * math/w_powf.c: Likewise.
57225 * math/w_powl.c: Likewise.
57226 * math/w_remainder.c: Likewise.
57227 * math/w_remainderf.c: Likewise.
57228 * math/w_remainderl.c: Likewise.
57229 * math/w_scalb.c: Likewise.
57230 * math/w_scalbf.c: Likewise.
57231 * math/w_scalbl.c: Likewise.
57232 * math/w_sinh.c: Likewise.
57233 * math/w_sinhf.c: Likewise.
57234 * math/w_sinhl.c: Likewise.
57235 * math/w_sqrt.c: Likewise.
57236 * math/w_sqrtf.c: Likewise.
57237 * math/w_sqrtl.c: Likewise.
57238 * math/w_tgamma.c: Likewise.
57239 * math/w_tgammaf.c: Likewise.
57240 * math/w_tgammal.c: Likewise.
57241
57242 * po/ja.po: Update from translation team.
57243
57244 2011-09-29 Andreas Jaeger <aj@suse.de>
57245
57246 [BZ #13179]
57247 * sunrpc/netname.c (netname2host): Fix logic.
57248
57249 [BZ #6779]
57250 [BZ #6783]
57251 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
57252 correctly.
57253 * math/w_remainder.c (__remainder): Likewise.
57254 * math/w_remainderf.c (__remainderf): Likewise.
57255 * math/libm-test.inc (remainder_test): Add test cases.
57256
57257 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57258
57259 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
57260 sdiv_qrnnd.
57261
57262 2011-10-07 Ulrich Drepper <drepper@gmail.com>
57263
57264 * string/test-memcmp.c: Avoid unncessary #defines.
57265 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57266
57267 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57268
57269 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
57270 Use new sse2 version for core i3 - i7 as it's faster
57271 than sse42 version.
57272 (bit_Prefer_PMINUB_for_stringop): New.
57273 * sysdeps/x86_64/rawmemchr.S: Update.
57274 Replace with faster SSE2 version.
57275 * sysdeps/x86_64/memrchr.S: New file.
57276 * sysdeps/x86_64/memchr.S: Update.
57277 Replace with faster SSE2 version.
57278
57279 2011-09-12 Marek Polacek <mpolacek@redhat.com>
57280
57281 * elf/dl-load.c (lose): Add cast to avoid warning.
57282
57283 2011-10-07 Ulrich Drepper <drepper@gmail.com>
57284
57285 * po/ca.po: Update from translation team.
57286
57287 * inet/getnetgrent_r.c: Hook up nscd.
57288 * nscd/Makefile (routines): Add nscd_netgroup.
57289 (nscd-modules): Add netgroupcache.
57290 (CFLAGS-netgroupcache.c): Define.
57291 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
57292 (cache_search): Add const to second parameter.
57293 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
57294 INNETGR.
57295 (dbs): Add netgrdb entry.
57296 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
57297 (verify_persistent_db): Handle netgrdb.
57298 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
57299 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
57300 GETFDNETGR.
57301 (netgroup_response_header): Define.
57302 (innetgroup_response_header): Define.
57303 (datahead): Add netgroup_response_header and innetgroup_response_header
57304 elements.
57305 * nscd/nscd.conf: Add entries for netgroup cache.
57306 * nscd/nscd.h (dbtype): Add netgrdb.
57307 (_PATH_NSCD_NETGROUP_DB): Define.
57308 (netgroup_iov_disabled): Declare.
57309 (xmalloc, xcalloc, xrealloc): Move declarations here.
57310 (cache_search): Adjust prototype.
57311 Add netgroup-related prototypes.
57312 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
57313 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
57314 (__nscd_innetgr): Declare.
57315 * nscd/selinux.c (perms): Use access_vector_t as element type and
57316 add netgroup-related initializers.
57317 * nscd/netgroupcache.c: New file.
57318 * nscd/nscd_netgroup.c: New file.
57319 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
57320 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
57321 For four parameters use innetgr.
57322 * nss/nss_files/files-init.c: Add definition and callback for netgr.
57323 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
57324 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
57325 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
57326
57327 * nscd/connections.c (register_traced_file): Don't register file
57328 for disabled databases.
57329
57330 2011-10-06 Ulrich Drepper <drepper@gmail.com>
57331
57332 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
57333
57334 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
57335 from tree and freeing node.
57336
57337 2011-09-25 Jiri Olsa <jolsa@redhat.com>
57338
57339 * nss/nsswitch.c (__nss_database_lookup): Handle
57340 nss_parse_service_list out of memory case.
57341
57342 2011-09-15 Jiri Olsa <jolsa@redhat.com>
57343
57344 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
57345 out of memory case.
57346
57347 2011-10-04 Andreas Schwab <schwab@redhat.com>
57348
57349 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
57350 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
57351 pass it down.
57352 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
57353 elf_machine_rela, elf_machine_lazy_rel.
57354 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
57355 (ELF_DYNAMIC_DO_REL): Likewise.
57356 (ELF_DYNAMIC_DO_RELA): Likewise.
57357 (ELF_DYNAMIC_RELOCATE): Likewise.
57358 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
57359 to ELF_DYNAMIC_DO_REL.
57360 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
57361 (dl_main): In trace mode always set __RTLD_NOIFUNC.
57362 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
57363 elf_machine_rela.
57364 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
57365 skip_ifunc, don't call ifunc function if non-zero.
57366 (elf_machine_rela): Likewise.
57367 (elf_machine_lazy_rel): Likewise.
57368 (elf_machine_lazy_rela): Likewise.
57369 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
57370 (elf_machine_lazy_rel): Likewise.
57371 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
57372 Likewise.
57373 (elf_machine_lazy_rel): Likewise.
57374 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57375 Likewise.
57376 (elf_machine_lazy_rel): Likewise.
57377 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
57378 (elf_machine_lazy_rel): Likewise.
57379 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
57380 (elf_machine_lazy_rel): Likewise.
57381 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57382 (elf_machine_lazy_rel): Likewise.
57383 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
57384 (elf_machine_lazy_rel): Likewise.
57385 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
57386 (elf_machine_lazy_rel): Likewise.
57387 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
57388 (elf_machine_lazy_rel): Likewise.
57389
57390 2011-09-28 Ulrich Drepper <drepper@gmail.com>
57391
57392 * nss/nss_files/files-init.c (_nss_files_init): Use static
57393 initialization for all the *_traced_file variables.
57394
57395 2011-09-28 Andreas Schwab <schwab@redhat.com>
57396
57397 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57398
57399 2011-09-27 Roland McGrath <roland@hack.frob.com>
57400
57401 [BZ #13226]
57402 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
57403
57404 2011-09-27 Andreas Schwab <schwab@redhat.com>
57405
57406 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57407 Reread the line before reparsing it.
57408
57409 2011-09-26 Andreas Schwab <schwab@redhat.com>
57410
57411 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
57412
57413 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
57414 Maxim Kuvyrkov <maxim@codesourcery.com>
57415 Joseph Myers <joseph@codesourcery.com>
57416
57417 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
57418 if needed for __stack_chk_guard.
57419
57420 2011-09-19 Roland McGrath <roland@hack.frob.com>
57421
57422 * sysdeps/posix/spawni.c (script_execute): Always define it.
57423 It will be optimized away if unused.
57424 (maybe_script_execute): New function.
57425 (__spawni): Call it.
57426
57427 * Makerules: Don't include tls.make.
57428 (config-tls): Always set to thread.
57429 * tls.make.c: File removed.
57430
57431 2011-09-19 Mike Frysinger <vapier@gentoo.org>
57432
57433 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
57434 * config.make.in (CPPFLAGS-config): New substituted variable.
57435
57436 2011-09-15 Ulrich Drepper <drepper@gmail.com>
57437
57438 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
57439
57440 [BZ #13192]
57441 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
57442 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
57443
57444 2011-09-15 Roland McGrath <roland@hack.frob.com>
57445
57446 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
57447 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
57448 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57449 (CALL_FAIL): Likewise.
57450 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
57451 (CALL_FAIL): Macro removed.
57452 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
57453
57454 2011-09-15 Ulrich Drepper <drepper@gmail.com>
57455
57456 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
57457 for __FINITE_MATH_ONLY__ == 1.
57458
57459 2011-09-15 Andreas Schwab <schwab@redhat.com>
57460
57461 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
57462 __ieee754_sqrt instead of sqrt.
57463 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
57464 __ieee754_sqrtf instead of sqrtf.
57465 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
57466 __floorf instead of floorf.
57467 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
57468 __floorf, __truncf instead of floorf, truncf.
57469
57470 2011-09-14 Ulrich Drepper <drepper@gmail.com>
57471
57472 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
57473
57474 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
57475 __extern_always_inline.
57476 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
57477 32-bit.
57478
57479 2011-09-14 Andreas Schwab <schwab@redhat.com>
57480
57481 * elf/rtld.c (dl_main): Also relocate in dependency order when
57482 doing symbol dependency testing.
57483
57484 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
57485
57486 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57487 Always define `refsym'.
57488
57489 2011-09-13 Andreas Schwab <schwab@redhat.com>
57490
57491 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
57492 (__FD_ELT): Renamed from __FDELT.
57493 * misc/bits/select2.h (__FD_ELT): Likewise.
57494 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
57495 __FD_MASK instead of __FDELT, __FDMASK.
57496 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57497 Likewise.
57498 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57499 Likewise.
57500
57501 * elf/Makefile (gen-ldd): Fix pattern.
57502
57503 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
57504 (init_tls): Likewise.
57505
57506 2011-09-12 Ulrich Drepper <drepper@gmail.com>
57507
57508 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
57509
57510 2011-09-12 Andreas Schwab <schwab@redhat.com>
57511
57512 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
57513 `struct cmsghdr *' instead of `void *'.
57514 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
57515 Likewise.
57516
57517 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
57518
57519 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
57520 if non-absolute.
57521 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
57522 ldd_rewrite_script.
57523
57524 2011-09-11 Ulrich Drepper <drepper@gmail.com>
57525
57526 * configure.in: Remove --with-tls option.
57527 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
57528 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
57529 out in case it is missing.
57530 * sysdeps/ia64/elf/configure.in: Likewise.
57531 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
57532 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
57533 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
57534 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
57535 * sysdeps/sh/elf/configure.in: Likewise.
57536 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
57537 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
57538 * sysdeps/x86_64/elf/configure.in: Likewise.
57539 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
57540 * sysdeps/mach/hurd/tls.h: Likewise.
57541
57542 [BZ #13067]
57543 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
57544
57545 [BZ #13090]
57546 * configure.in: Fix use of AC_INIT.
57547
57548 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
57549
57550 2011-09-10 Ulrich Drepper <drepper@gmail.com>
57551
57552 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
57553 __set_errno.
57554 * malloc/hooks.c: Likewise.
57555
57556 [BZ #11929]
57557 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
57558 variables statically.
57559 (narenas): Initialize.
57560 (list_lock): Initialize.
57561 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
57562 initializtion of main_arena and list_lock. Small cleanups.
57563 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
57564 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
57565 Add initializers to main_arena and mp_.
57566 (malloc_state): Remove pagesize member. Change all users to use
57567 GLRO(dl_pagesize).
57568
57569 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
57570 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
57571 is always initialized.
57572
57573 * malloc/malloc.c: Removed unused configurations and dead code.
57574 * malloc/arena.c: Likewise.
57575 * malloc/hooks.c: Likewise.
57576 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
57577
57578 * include/tls.h: Removed. USE___THREAD must always be defined.
57579 * bits/libc-tsd.h: Don't handle !USE___THREAD.
57580 * elf/dl-libc.c: Likewise.
57581 * elf/dl-tsd.c: Likewise.
57582 * include/errno.h: Likewise.
57583 * include/netdb.h: Likewise.
57584 * include/resolv.h: Likewise.
57585 * inet/herrno-loc.c: Likewise.
57586 * inet/herrno.c: Likewise.
57587 * malloc/arena.c: Likewise.
57588 * malloc/hooks.c: Likewise.
57589 * malloc/malloc.c: Likewise.
57590 * resolv/res-state.c: Likewise.
57591 * resolv/res_libc.c: Likewise.
57592 * sysdeps/i386/dl-machine.h: Likewise.
57593 * sysdeps/ia64/dl-machine.h: Likewise.
57594 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
57595 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
57596 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
57597 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
57598 * sysdeps/sh/dl-machine.h: Likewise.
57599 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
57600 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
57601 * sysdeps/unix/i386/sysdep.S: Likewise.
57602 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57603 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
57604 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
57605 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57606 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
57607 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57608 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
57609 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
57610 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57611 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57612 * sysdeps/unix/x86_64/sysdep.S: Likewise.
57613 * sysdeps/x86_64/dl-machine.h: Likewise.
57614 * tls.make.c: Likewise.
57615
57616 * configure.in: Remove --with-__thread option. Make tests for
57617 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
57618 tls_model attribute fail if no support is available. Remove
57619 USE_IN_LIBIO.
57620 * Makeconfig: Adjust for dropped configure option. All features are
57621 now mandatory.
57622 * Makerules: Likewise.
57623 * Versions.def: Likewise.
57624 * argp/argp-fmtstream.c: Likewise.
57625 * argp/argp-fmtstream.h: Likewise.
57626 * argp/argp-help.c: Likewise.
57627 * assert/assert.c: Likewise.
57628 * config.h.in: Likewise.
57629 * config.make.in: Likewise.
57630 * configure: Likewise.
57631 * configure.in: Likewise.
57632 * csu/Versions: Likewise.
57633 * csu/init.c: Likewise.
57634 * elf/tst-audit2.c: Likewise.
57635 * elf/tst-tls10.c: Likewise.
57636 * elf/tst-tls10.h: Likewise.
57637 * elf/tst-tls11.c: Likewise.
57638 * elf/tst-tls12.c: Likewise.
57639 * elf/tst-tls14.c: Likewise.
57640 * elf/tst-tlsmod11.c: Likewise.
57641 * elf/tst-tlsmod12.c: Likewise.
57642 * elf/tst-tlsmod13.c: Likewise.
57643 * elf/tst-tlsmod13a.c: Likewise.
57644 * elf/tst-tlsmod14a.c: Likewise.
57645 * elf/tst-tlsmod15b.c: Likewise.
57646 * elf/tst-tlsmod16a.c: Likewise.
57647 * elf/tst-tlsmod16b.c: Likewise.
57648 * elf/tst-tlsmod7.c: Likewise.
57649 * elf/tst-tlsmod8.c: Likewise.
57650 * elf/tst-tlsmod9.c: Likewise.
57651 * gmon/gmon.c: Likewise.
57652 * grp/fgetgrent_r.c: Likewise.
57653 * grp/putgrent.c: Likewise.
57654 * hurd/fopenport.c: Likewise.
57655 * include/libc-symbols.h: Likewise.
57656 * include/tls.h: Likewise.
57657 * intl/gettextP.h: Likewise.
57658 * intl/loadinfo.h: Likewise.
57659 * locale/global-locale.c: Likewise.
57660 * locale/localeinfo.h: Likewise.
57661 * mach/devstream.c: Likewise.
57662 * malloc/arena.c: Likewise.
57663 * malloc/set-freeres.c: Likewise.
57664 * misc/err.c: Likewise.
57665 * misc/getttyent.c: Likewise.
57666 * misc/mntent_r.c: Likewise.
57667 * posix/getopt.c: Likewise.
57668 * posix/wordexp.c: Likewise.
57669 * pwd/fgetpwent_r.c: Likewise.
57670 * resolv/Versions: Likewise.
57671 * resolv/res_hconf.c: Likewise.
57672 * shadow/fgetspent_r.c: Likewise.
57673 * shadow/putspent.c: Likewise.
57674 * stdio-common/printf_fphex.c: Likewise.
57675 * stdio-common/tmpfile.c: Likewise.
57676 * stdlib/abort.c: Likewise.
57677 * stdlib/fmtmsg.c: Likewise.
57678 * sunrpc/auth_unix.c: Likewise.
57679 * sunrpc/clnt_perr.c: Likewise.
57680 * sunrpc/clnt_tcp.c: Likewise.
57681 * sunrpc/clnt_udp.c: Likewise.
57682 * sunrpc/clnt_unix.c: Likewise.
57683 * sunrpc/openchild.c: Likewise.
57684 * sunrpc/svc_simple.c: Likewise.
57685 * sunrpc/svc_tcp.c: Likewise.
57686 * sunrpc/svc_udp.c: Likewise.
57687 * sunrpc/svc_unix.c: Likewise.
57688 * sunrpc/xdr.c: Likewise.
57689 * sunrpc/xdr_array.c: Likewise.
57690 * sunrpc/xdr_rec.c: Likewise.
57691 * sunrpc/xdr_ref.c: Likewise.
57692 * sunrpc/xdr_stdio.c: Likewise.
57693
57694 2011-09-09 Ulrich Drepper <drepper@gmail.com>
57695
57696 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57697
57698 2011-07-03 Andreas Jaeger <aj@suse.de>
57699
57700 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
57701 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
57702 regenerate with gen-libm-tests.pl.
57703
57704 2010-05-12 Petr Baudis <pasky@suse.cz>
57705
57706 [BZ #11589]
57707 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
57708 around j0() zero points by switching to j1().
57709 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57710 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57711 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57712 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57713
57714 2011-09-09 Ulrich Drepper <drepper@gmail.com>
57715
57716 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
57717 instead of 0.
57718 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
57719 instead of 0.
57720 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57721 Patch in part by Pavel Roskin <proski@gnu.org>.
57722
57723 [BZ #13138]
57724 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
57725 realloc.
57726 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
57727 Free memory block if necessary.
57728
57729 [BZ #12847]
57730 * libio/genops.c (INTDEF): For string streams the _lock pointer can
57731 be NULL. Don't lock in this case.
57732
57733 2011-09-09 Roland McGrath <roland@hack.frob.com>
57734
57735 * elf/elf.h (ELFOSABI_GNU): New macro.
57736 (ELFOSABI_LINUX): Define to that.
57737
57738 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
57739
57740 * string/strncat.c (strncat): Undef the symbol in case it has been
57741 defined in bits/string.h.
57742
57743 2011-09-09 Ulrich Drepper <drepper@gmail.com>
57744
57745 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
57746
57747 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
57748 link map.
57749
57750 2011-08-17 Andreas Jaeger <aj@suse.de>
57751
57752 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
57753
57754 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
57755 Ian Lance Taylor <iant@google.com>
57756
57757 * math/libm-test.inc (lround_test): New testcase.
57758 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
57759
57760 2011-09-08 Ulrich Drepper <drepper@gmail.com>
57761
57762 * Makefile: Remove support for automatic cvs check-ins.
57763 * Makerules: Likewise.
57764 * config.make.in: Likewise.
57765 * configure.in: Likewise.
57766 * intl/Makefile: Likewise.
57767 * locale/Makefile: Likewise.
57768 * po/Makefile: Likewise.
57769 * posix/Makefile: Likewise.
57770 * sysdeps/gnu/Makefile: Likewise.
57771 * sysdeps/mach/hurd/Makefile: Likewise.
57772 * sysdeps/sparc/sparc32/Makefile: Likewise.
57773
57774 [BZ #13118]
57775 * posix/Makefile (bug-regex32-ENV): Define.
57776 Patch by John Stanley <jpsinthemix@verizon.net>.
57777
57778 * misc/Makefile (headers): Add bits/select2.h.
57779 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
57780 * misc/bits/select2.h: New file.
57781 * include/bits/select2.h: New file.
57782 * debug/Makefile (routines): Add fdelt_chk.
57783 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
57784 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
57785 FD_ISSET.
57786 * debug/fdelt_chk.c: New file.
57787
57788 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
57789 * wcsmbs/test-wmemcmp.c: Likewise.
57790 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
57791 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
57792
57793 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57794
57795 * string/Makefile (strop-tests): Add memcmp.
57796 * string/test-wmemcmp.c: New file.
57797 * string/test-memcmp.c: Add wmemcmp support.
57798
57799 2011-09-08 Roland McGrath <roland@hack.frob.com>
57800
57801 [BZ #13153]
57802 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
57803 2011-07-19 change.
57804
57805 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
57806 garbage value in a __mach_port_mod_refs call in the cases of the
57807 task-self and thread-self ports.
57808
57809 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
57810
57811 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
57812
57813 2011-09-08 Andreas Schwab <schwab@redhat.com>
57814
57815 * elf/dl-load.c (lose): Check for non-null L.
57816
57817 2011-09-07 Ulrich Drepper <drepper@gmail.com>
57818
57819 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
57820
57821 * elf/dl-libc.c (dlerror_run): Pass back error code from
57822 dl_catch_error.
57823
57824 [BZ #13123]
57825 * elf/dl-load.c (lose): Free l_origin if it is valid.
57826
57827 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
57828 names.
57829 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
57830 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57831 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
57832 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57833 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
57834 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
57835
57836 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57837
57838 * sysdeps/powerpc/fpu/e_hypot.c: New file.
57839 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
57840 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
57841 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
57842 * sysdeps/powerpc/fpu/k_cosf.c: New file.
57843 * sysdeps/powerpc/fpu/k_sinf.c: New file.
57844 * sysdeps/powerpc/fpu/s_cosf.c: New file.
57845 * sysdeps/powerpc/fpu/s_sinf.c: New file.
57846 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
57847 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
57848
57849 2011-08-15 Alan Modra <amodra@gmail.com>
57850
57851 [BZ #13092]
57852 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
57853 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
57854 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
57855 ppc_mcount to static-only-routines.
57856 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
57857 __mcount_internal.
57858 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
57859 __mcount_internal with usual JUMPTARGET. Remove useless nop.
57860
57861 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
57862
57863 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
57864 for finite and infinity parameters.
57865
57866 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
57867
57868 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
57869 and add nop instructions for throughput optimization.
57870 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57871
57872 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
57873
57874 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
57875 aligned copy for power7 with vector-scalar instructions.
57876 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
57877
57878 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
57879
57880 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
57881 AVX check.
57882
57883 2011-09-07 Andreas Schwab <schwab@redhat.com>
57884
57885 [BZ #13144]
57886 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
57887 last change.
57888
57889 2011-09-07 Ulrich Drepper <drepper@gmail.com>
57890
57891 * sysdeps/unix/sysv/linux/x86_64/init-first.c
57892 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
57893 syscall wrapper around clock_gettime in __vdso_clock_gettime.
57894 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
57895 clock_gettime.
57896
57897 2011-09-06 Ulrich Drepper <drepper@gmail.com>
57898
57899 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
57900 Forgot to demangle the pointer.
57901
57902 * sysdeps/i386/sysdep.h: Define atom_text_section.
57903 * sysdeps/x86_64/sysdep.h: Likewise.
57904 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
57905 section with atom_text_section.
57906 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57907 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57908 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
57909 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
57910 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
57911
57912 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
57913 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
57914 already be defined. Change to take two parameters and don't assign
57915 result to variable. Adjust all users.
57916 Define INTERNAL_GETTIME if not already defined.
57917 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
57918 call.
57919 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
57920 HAVE_CLOCK_GETTIME_VSYSCALL.
57921 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
57922
57923 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
57924 gettimeofday vsyscall, just use time.
57925
57926 2011-09-06 Andreas Schwab <schwab@redhat.com>
57927
57928 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
57929 <errno.h>.
57930
57931 2011-09-06 Ulrich Drepper <drepper@gmail.com>
57932
57933 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
57934 syscall on x86-64.
57935 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
57936 syscall.
57937 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
57938 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
57939 syscall if possible.
57940
57941 2011-09-05 Ulrich Drepper <drepper@gmail.com>
57942
57943 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
57944 e_ident. Don't pass to find_mapsXX.
57945 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
57946
57947 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57948
57949 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57950 strchr-sse2-no-bsf strrchr-sse2-no-bsf
57951 * sysdeps/x86_64/multiarch/strchr.S: Update.
57952 Check bit_slow_BSF bit.
57953 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57954 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
57955 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
57956
57957 2011-09-05 Ulrich Drepper <drepper@gmail.com>
57958
57959 [BZ #13134]
57960 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
57961 before glibc 2.15.
57962 (tryshell): Define.
57963 (__spawni): Change last parameter to be flag. Test
57964 SPAWN_XFLAGS_USE_PATH flag to use path or not.
57965 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
57966 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
57967 * posix/spawni.c: Likewise.
57968 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
57969 * posix/spawnp.c: Likewise. Change normal version to use
57970 SPAWN_XFLAGS_USE_PATH.
57971 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
57972 SPAWN_XFLAGS_TRY_SHELL.
57973
57974 [BZ #13150]
57975 * posix/glob.h: Remove gcc 1.x support.
57976
57977 [BZ #13068]
57978 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
57979
57980 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57981
57982 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57983 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
57984 strrchr-sse2-bsf
57985 * sysdeps/i386/i686/multiarch/strchr.S: New file.
57986 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
57987 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
57988 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
57989 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
57990 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
57991
57992 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57993
57994 * sysdeps/x86_64/wcscmp.S: New file.
57995
57996 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
57997 wcscmp-c wcscmp-sse2
57998 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
57999 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
58000 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
58001 * wcsmbs/wcscmp.c: Allow renaming.
58002
58003 2011-09-05 David S. Miller <davem@davemloft.net>
58004
58005 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
58006 stack slot, rather than the struct return pointer slot.
58007 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
58008 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
58009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
58010 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
58011
58012 2011-09-05 Ulrich Drepper <drepper@gmail.com>
58013
58014 * po/ja.po: Update from translation team.
58015
58016 [BZ #13144]
58017 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
58018 kernel in 64-bit binaries.
58019
58020 2011-09-01 David S. Miller <davem@davemloft.net>
58021
58022 * elf/elf.h (HWCAP_SPARC_*): Move to..
58023 * sysdeps/sparc/sysdep.h: this new file and add new values.
58024 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
58025 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
58026 _DL_HWCAP_COUNT to 24.
58027 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58028 entries.
58029 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
58030 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
58031 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
58032 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
58033 instead of magic constants.
58034 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58035
58036 2011-08-31 David S. Miller <davem@davemloft.net>
58037
58038 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
58039 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
58040 Reimplement to do errno handling inline.
58041 (SYSCALL_ERROR_HANDLER): New macro.
58042 (__SYSCALL_STRING): Do not do errno handling in asm.
58043 (__CLONE_SYSCALL_STRING): Delete.
58044 (__INTERNAL_SYSCALL_STRING): Delete.
58045 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
58046 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
58047 (PSEUDO): Reimplement to do errno handling inline.
58048 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
58049 (SYSCALL_ERROR_HANDLER): New macro.
58050 (__SYSCALL_STRING): Do not do errno handling in asm.
58051 (__CLONE_SYSCALL_STRING): Delete.
58052 (__INTERNAL_SYSCALL_STRING): Delete.
58053 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
58054 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
58055 i386.
58056 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
58057 (inline_syscall*): Add 'err' argument.
58058 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
58059 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
58060 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
58061 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
58062
58063 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
58064 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
58065
58066 2011-08-30 Andreas Schwab <schwab@redhat.com>
58067
58068 * elf/rtld.c (dl_main): Relocate objects in dependency order.
58069
58070 2011-08-29 Jiri Olsa <jolsa@redhat.com>
58071
58072 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
58073 directive.
58074
58075 2011-08-24 David S. Miller <davem@davemloft.net>
58076
58077 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
58078
58079 2011-08-24 Andreas Schwab <schwab@redhat.com>
58080
58081 * elf/Makefile: Add rules to build and run unload8 test.
58082 * elf/unload8.c: New file.
58083 * elf/unload8mod1.c: New file.
58084 * elf/unload8mod1x.c: New file.
58085 * elf/unload8mod2.c: New file.
58086 * elf/unload8mod3.c: New file.
58087
58088 * elf/dl-close.c (_dl_close_worker): Reset private search list if
58089 it wasn't used.
58090
58091 2011-08-23 David S. Miller <davem@davemloft.net>
58092
58093 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
58094 subtract stack bias.
58095 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
58096 %sp not %fp in calculations.
58097 (_JMPBUF_UNWINDS_ADJ): Likewise.
58098
58099 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
58100 (aio_suspend): Call it to force an exception region around the
58101 AIO_MISC_WAIT() invocation.
58102
58103 2011-08-23 Andreas Schwab <schwab@redhat.com>
58104
58105 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
58106 backslash.
58107
58108 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
58109
58110 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
58111 protection macro.
58112 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
58113 and <dl-machine.h>.
58114 (Elf64_FuncDesc): Remove.
58115
58116 2011-08-22 David S. Miller <davem@davemloft.net>
58117
58118 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
58119 sigaltstack check, add missing cfi directives.
58120 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
58121 missing cfi directives, and sigaltstack handling.
58122
58123 2011-08-16 Andreas Schwab <schwab@redhat.com>
58124
58125 [BZ #11724]
58126 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
58127 object is seen twice.
58128 * elf/dl-fini.c (_dl_sort_fini): Likewise.
58129
58130 * elf/Makefile (distribute): Add tst-initorder2.c.
58131 (tests): Add tst-initorder2.
58132 (modules-names): Add tst-initorder2a tst-initorder2b
58133 tst-initorder2c tst-initorder2d. Add rules to build them.
58134 ($(objpfx)tst-initorder2.out): New rule.
58135 * elf/tst-initorder2.c: New file.
58136 * elf/tst-initorder2.exp: New file.
58137
58138 2011-08-22 Andreas Schwab <schwab@redhat.com>
58139
58140 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
58141
58142 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
58143 dependencies back to end of function.
58144
58145 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58146 $(elfobjdir)/ld.so.
58147
58148 2011-08-21 Ulrich Drepper <drepper@gmail.com>
58149
58150 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
58151 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
58152 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
58153 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
58154 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
58155 of __vdso_gettimeofday.
58156 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
58157 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
58158 attribute_hidden.
58159 (_libc_vdso_platform_setup): Remove initialization of
58160 __vdso_gettimeofday and __vdso_time.
58161
58162 2011-08-20 Ulrich Drepper <drepper@gmail.com>
58163
58164 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
58165 and fgetc_unlocked.
58166 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
58167 getc_unlocked.
58168
58169 * elf/dl-open.c (add_to_global): Report additions to the global scope
58170 for LD_DEBUG=scopes.
58171 (dl_open_worker): Also print scope of newly loaded dependencies.
58172 (_dl_show_scope): Indicate if there is no scope.
58173
58174 [BZ #13114]
58175 * stdio-common/Makefile (tests): Add bug24.
58176 * stdio-common/bug24.c: New file.
58177
58178 2011-08-19 Andreas Jaeger <aj@suse.de>
58179
58180 [BZ #13114]
58181 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
58182 non-existant file when using close-on-exec mode.
58183
58184 2011-08-20 Ulrich Drepper <drepper@gmail.com>
58185
58186 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
58187 the very first instruction.
58188
58189 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
58190 the CFI state in the end.
58191 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
58192 inclusion of dl-trampoline.h.
58193 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
58194
58195 2011-08-19 Andreas Schwab <schwab@redhat.com>
58196
58197 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
58198 expectations for long double.
58199
58200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
58201 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
58202
58203 2011-08-14 David S. Miller <davem@davemloft.net>
58204
58205 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
58206 artificual limit depends upon the system page size.
58207
58208 2011-08-17 Ulrich Drepper <drepper@gmail.com>
58209
58210 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
58211 * resolv/Makefile: Define CFLAGS-libresolv.
58212
58213 2011-08-17 Andreas Schwab <schwab@redhat.com>
58214
58215 * nss/makedb.c (compute_tables): Make variables used in nested
58216 function static.
58217
58218 2011-08-17 Ulrich Drepper <drepper@gmail.com>
58219
58220 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
58221 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
58222 if buffer was too small.
58223
58224 * elf/pldd.c (main): Attach to all threads in the process.
58225 Rewrite /proc handling to use *at functions.
58226
58227 2011-08-16 Ulrich Drepper <drepper@gmail.com>
58228
58229 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
58230 specifies first scope to show.
58231 (dl_open_worker): Update callers. Move printing scope of new
58232 object to before the relocation.
58233 * elf/rtld.c (dl_main): Update _dl_show_scope call.
58234 * sysdeps/generic/ldsodefs.h: Update declaration.
58235
58236 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
58237 string for the scope number.
58238
58239 2011-08-14 Ulrich Drepper <drepper@gmail.com>
58240
58241 * nscd/servicescache.c (cache_addserv): Make sure written is always
58242 initialized.
58243
58244 2011-08-14 Roland McGrath <roland@hack.frob.com>
58245
58246 * sysdeps/i386/i486/bits/atomic.h
58247 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
58248 statement expression, so as to suppress "set but not used" warning.
58249 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
58250
58251 * string/strncat.c (STRNCAT): Use prototype definition.
58252
58253 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
58254 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
58255 -Iprograms here.
58256 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
58257 (localedef-modules): Add localedef.
58258 (locale-modules): Add locale.
58259
58260 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
58261 * elf/rtld.c (dl_main): Invert order of assignment in last change,
58262 to avoid a warning.
58263
58264 2011-08-14 David S. Miller <davem@davemloft.net>
58265
58266 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
58267 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
58268
58269 2011-08-13 Ulrich Drepper <drepper@gmail.com>
58270
58271 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
58272 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
58273 * elf/rtld.c (dl_main): Set l_name of vDSO.
58274 Call _dl_show_scope when DL_DEBUG_SCOPES.
58275 (process_dl_debug): Recognize scopes flag and also set it for all.
58276 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
58277 Declare _dl_show_scope.
58278
58279 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
58280 (do_dlopen): Pass caller_dlopen to dl_open.
58281 (__libc_dlopen_mode): Initialize caller_dlopen.
58282
58283 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
58284 of libc. Make tolower call locale-independent. Optimize a bit by
58285 using isdigit instead of isalnum.
58286 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
58287
58288 2011-08-12 Ulrich Drepper <drepper@gmail.com>
58289
58290 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
58291 was a dependency or dynamically loaded.
58292
58293 2011-08-11 Ulrich Drepper <drepper@gmail.com>
58294
58295 * intl/l10nflist.c: Allow architecture-specific pop function.
58296 * sysdeps/x86_64/l10nflist.c: New file.
58297
58298 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
58299 classification.
58300
58301 2011-08-10 Andreas Schwab <schwab@redhat.com>
58302
58303 * include/dirent.h: Add libc_hidden_proto for scandirat and
58304 scandirat64. Don't declare __scandirat64.
58305 * dirent/scandirat.c: Add libc_hidden_def.
58306 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
58307 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
58308
58309 2011-08-10 David S. Miller <davem@davemloft.net>
58310
58311 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
58312 enum.
58313 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58314 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58315 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58316
58317 2011-08-09 Ulrich Drepper <drepper@gmail.com>
58318
58319 * Versions.def [libc]: Add GLIBC_2.15.
58320 * dirent/Makefile (routines): Add scandirat and scandirat64.
58321 * dirent/Versions [libc]: Export scandirat and scandirat64 for
58322 GLIBC_2.15.
58323 * dirent/dirent.h: Declare scandirat and scandirat64.
58324 * dirent/scandirat.c: New file.
58325 * dirent/scandirat64.c: New file.
58326 * sysdeps/wordsize-64/scandirat.c: New file.
58327 * sysdeps/wordsize-64/scandirat64.c: New file.
58328 * dirent/opendir.c: Define opendirat.
58329 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
58330 using scandirat.
58331 * dirent/scandir64.c: Adjust for scandir.c change.
58332 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
58333 __scandirat64, and __scandir_cancel_handler.
58334 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
58335 additional parameter and use openat instead of open (outside of ld.so).
58336 Add new __opendir as wrapper around __opendirat.
58337 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
58338 here without requiring old scandirat implementation.
58339
58340 2011-08-08 Ulrich Drepper <drepper@gmail.com>
58341
58342 * dirent/scandir.c (cancel_handler): Renamed to
58343 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
58344 defined. Adjust users.
58345 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
58346 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
58347
58348 2011-08-04 Ulrich Drepper <drepper@gmail.com>
58349
58350 * string/test-string.h (IMPL): Use __STRING to expand name and then
58351 stringify it.
58352
58353 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
58354 of cleanups.
58355
58356 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58357
58358 * string/Makefile: Update.
58359 (strop-tests): Append strncat.
58360 * string/test-wcscmp.c: New file.
58361 New comprehensive test for wcscmp.
58362 * string/test-strcmp.c: Update.
58363 (WIDE): New define.
58364
58365 2011-07-22 Andreas Schwab <schwab@redhat.com>
58366
58367 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
58368 line.
58369
58370 2011-07-26 Andreas Schwab <schwab@redhat.com>
58371
58372 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58373 encoding to ACE if AI_IDN.
58374
58375 2011-08-01 Jakub Jelinek <jakub@redhat.com>
58376
58377 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
58378 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
58379
58380 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58381
58382 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
58383 Fix overflow bug in strncat.
58384 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
58385
58386 * string/test-strncat.c: Update.
58387 Add new tests for checking overflow bugs.
58388
58389 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58390
58391 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58392 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
58393 * sysdeps/i386/i686/multiarch/strcat.S: New file.
58394 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
58395 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
58396 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
58397 * sysdeps/i386/i686/multiarch/strncat.S: New file.
58398 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
58399 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
58400
58401 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
58402 (USE_AS_STRCAT): Define.
58403 Add strcat and strncat support.
58404 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58405
58406 2011-07-25 Andreas Schwab <schwab@redhat.com>
58407
58408 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
58409 __n bigger than INT_MAX+1.
58410 (__strncmp_g): Likewise.
58411
58412 2011-07-23 Ulrich Drepper <drepper@gmail.com>
58413
58414 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
58415 * libio/stido.h: Likewise.
58416
58417 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
58418 (AF_NFC): Define.
58419 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
58420 (AF_NFC): Define.
58421
58422 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
58423 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58424 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58425 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
58426 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58427
58428 [BZ #13021]
58429 * scripts/test-installation.pl: Don't expect libnss_test1 to be
58430 installed.
58431
58432 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
58433 typo.
58434 (_dl_x86_64_save_sse): Likewise.
58435
58436 2011-07-22 Ulrich Drepper <drepper@gmail.com>
58437
58438 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
58439 OSXSAVE.
58440 (_dl_x86_64_save_sse): Likewise.
58441
58442 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
58443
58444 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
58445
58446 2011-07-21 Andreas Schwab <schwab@redhat.com>
58447
58448 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
58449 change.
58450 (_dl_x86_64_save_sse): Use correct AVX check.
58451
58452 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58453
58454 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
58455 bug in strncpy/strncat.
58456 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
58457
58458 2011-07-21 Ulrich Drepper <drepper@gmail.com>
58459
58460 * string/tester.c (test_strcat): Add tests for different alignments
58461 of source and destination.
58462 (test_strncat): Likewise.
58463
58464 2011-07-20 Ulrich Drepper <drepper@gmail.com>
58465
58466 [BZ #12852]
58467 * posix/glob.c (glob): Check passed in values before using them in
58468 expressions to avoid some overflows.
58469 (glob_in_dir): Likewise.
58470
58471 [BZ #13007]
58472 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
58473 check for AVX enablement so that we don't crash with old kernels and
58474 new hardware.
58475 * elf/tst-audit4.c: Add same checks here.
58476 * elf/tst-audit6.c: Likewise.
58477
58478 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
58479
58480 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
58481
58482 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
58483
58484 2011-07-20 Ulrich Drepper <drepper@gmail.com>
58485
58486 * po/cs.po: Update from translation team.
58487 * po/bg.po: Likewise.
58488
58489 2011-07-12 Marek Polacek <mpolacek@redhat.com>
58490
58491 * misc/sys/cdefs.h: Add support for const attribute.
58492 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
58493 to gnu_dev_{major,minor,makedev} functions.
58494
58495 2011-07-20 Marek Polacek <mpolacek@redhat.com>
58496
58497 * intl/dcigettext.c (get_output_charset): Add missing bracket.
58498
58499 2011-07-20 Andreas Schwab <schwab@redhat.com>
58500
58501 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
58502 strlen results.
58503
58504 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58505
58506 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
58507 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
58508 register in order to avoid conflicts with the soft frame pointer
58509 being held in r11 when necessary.
58510 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
58511 (INTERNAL_VSYSCALL_NCS): Likewise.
58512
58513 2011-07-14 Marek Polacek <mpolacek@redhat.com>
58514
58515 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
58516 * elf/dl-fini.c (_dl_fini): Adjust caller.
58517 * elf/dl-close.c (_dl_close_worker): Likewise.
58518 * sysdeps/generic/ldsodefs.h: Adjust declaration.
58519
58520 2011-07-15 Marek Polacek <mpolacek@redhat.com>
58521
58522 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
58523 "aux_cache->nlibs < 0".
58524
58525 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
58526 in the reload-count case.
58527
58528 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58529
58530 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58531 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
58532 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
58533 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
58534 * sysdeps/x86_64/multiarch/strcat.S: New file.
58535 * sysdeps/x86_64/multiarch/strncat.S: New file.
58536 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
58537 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
58538 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
58539 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
58540 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
58541 (USE_AS_STRCAT): Define.
58542 Add strcat and strncat support.
58543 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58544 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
58545 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
58546 * string/strncat.c: Update.
58547 (USE_AS_STRNCAT): Define.
58548 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58549 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
58550 and i7.
58551 * sysdeps/x86_64/multiarch/init-arch.h
58552 (bit_Prefer_PMINUB_for_stringop): New.
58553 (index_Prefer_PMINUB_for_stringop): Likewise.
58554 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
58555 bit_Prefer_PMINUB_for_stringop.
58556
58557 2011-07-19 Ulrich Drepper <drepper@gmail.com>
58558
58559 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
58560 buffer64.
58561 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
58562 of casting of buffer.
58563 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
58564 buffer32 and buffer64.
58565 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
58566 writes instead of casting of buffer.
58567 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
58568 buffer32.
58569 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
58570 casting of buffer.
58571
58572 2011-07-19 Andreas Schwab <schwab@redhat.com>
58573
58574 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
58575
58576 2011-07-19 Ulrich Drepper <drepper@gmail.com>
58577
58578 * nscd/nscd.c (termination_handler): Don't do anything for a database
58579 if it has not yet been initialized.
58580
58581 2011-07-18 Ulrich Drepper <drepper@gmail.com>
58582
58583 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58584
58585 2011-07-15 Marek Polacek <mpolacek@redhat.com>
58586
58587 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58588
58589 2011-07-18 Ulrich Drepper <drepper@gmail.com>
58590
58591 * po/nl.po: Update from translation team.
58592 * po/sv.po: Likewise.
58593
58594 2011-07-16 Roland McGrath <roland@hack.frob.com>
58595
58596 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
58597 now disallowed by GCC.
58598
58599 * configure.in (use-default-link): Default to yes if a test -shared
58600 link meets our qualifications.
58601 * configure: Regenerated.
58602
58603 * config.make.in (output-format): New variable.
58604 * configure.in: Check for ld --print-output-format support.
58605 * configure: Regenerated.
58606 * Makerules ($(common-objpfx)format.lds)
58607 [$(output-format) != unknown]: Just use $(output-format),
58608 instead of the linker-script munging.
58609
58610 2011-07-14 Roland McGrath <roland@hack.frob.com>
58611
58612 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
58613 of $(common-objpfx)shlib.lds.
58614 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
58615
58616 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
58617 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
58618
58619 * configure.in (-z relro check): Adjust test code to add a large
58620 writable data section after it.
58621 * configure: Regenerated.
58622
58623 2011-07-11 Roland McGrath <roland@hack.frob.com>
58624
58625 * configure.in (-z relro check): Fix test code to make the variable
58626 truly const.
58627 * configure: Regenerated.
58628
58629 2011-07-11 Ulrich Drepper <drepper@gmail.com>
58630
58631 * nscd/nscd.h (struct traced_file): Define.
58632 (struct database_dyn): Remove inotify_descr, reset_res, and filename
58633 elements. Add traced_files.
58634 (inotify_fd): Declare.
58635 (register_traced_file): Declare.
58636 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
58637 (inotify_fd): Export.
58638 (resolv_conf_descr): Remove.
58639 (nscd_init): Move inotify descriptor creation to main.
58640 Don't register files for notification here.
58641 (register_traced_file): New function.
58642 (invalidate_cache): Don't use reset_res to determine whether to call
58643 res_init, go through the list of registered files.
58644 (main_loop_poll): The inotify descriptors are now stored in the
58645 structures for the traced files.
58646 (main_loop_epoll): Likewise
58647 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
58648 to __nss_disable_nscd.
58649 * nscd/cache.c (prune_cache): There is no single inotify descriptor
58650 for a database anymore. Check the records for all the registered
58651 files instead.
58652 * nss/Makefile (libnss_files-routines): Add files-init.
58653 (libnss_db-routines): Add db-init.
58654 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
58655 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
58656 * nss/nss_db/db-init.c: New file.
58657 * nss/nss_files/files-init.c: New file.
58658 * nss/nsswitch.c (nss_load_library): New function. Broken out of
58659 __nss_lookup_function.
58660 (__nss_lookup_function): Call nss_load_library.
58661 (nss_load_all_libraries): New function.
58662 (__nss_disable_nscd): Take parameter with callback function for files
58663 to register. Set is_nscd. Load all the DSOs for the NSS modules
58664 used for the cached services.
58665 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
58666 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
58667 options for features to all the files in nscd.
58668
58669 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
58670
58671 2011-07-10 Roland McGrath <roland@hack.frob.com>
58672
58673 * csu/elf-init.c (__libc_csu_init): Comment typo.
58674
58675 2011-07-09 Ulrich Drepper <drepper@gmail.com>
58676
58677 * po/pl.po: Update from translation team.
58678 * po/ja.po: Likewise.
58679 * po/ru.po: Likewise.
58680 * po/ko.po: Likewise.
58681 * po/fr.po: Likewise.
58682
58683 2011-07-09 Roland McGrath <roland@hack.frob.com>
58684
58685 * configure.in (.ctors/.dtors header and trailer check):
58686 Use an empirical test on a built program.
58687 * configure: Regenerated.
58688
58689 * configure.in (-z relro check): Use an empirical test on a built DSO.
58690 Detect, but do not require, on ia64.
58691 * configure: Regenerated.
58692
58693 * configure.in (READELF): Find it with AC_CHECK_TOOL.
58694 Update tests that use readelf to use $READELF instead.
58695 * configure: Regenerated.
58696
58697 2011-07-08 Ulrich Drepper <drepper@gmail.com>
58698
58699 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
58700 if the result is not used.
58701
58702 2011-07-05 Andreas Jaeger <aj@suse.de>
58703
58704 [BZ#9696]
58705 * stdlib/tst-strtod.c: Add testcase.
58706
58707 2011-07-07 Ulrich Drepper <drepper@gmail.com>
58708
58709 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
58710 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
58711 The latter has a higher limit. Take additional parameter to pass to
58712 the new function.
58713 (__pathconf): Pass file to __statfs_link_max.
58714 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
58715 __statfs_link_max.
58716 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
58717 __statfs_link_max.
58718
58719 [BZ #12868]
58720 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
58721 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58722 Handle Lustre.
58723 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
58724 (__statfs_filesize_max): Likewise.
58725 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
58726
58727 2011-07-05 Andreas Jaeger <aj@suse.de>
58728
58729 * resolv/res_comp.c (dn_skipname): Remove unused variable.
58730
58731 2011-07-06 Marek Polacek <mpolacek@redhat.com>
58732
58733 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
58734 `status' variable.
58735 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
58736 Likewise.
58737
58738 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
58739
58740 * Makefile (strop-tests): Add strncat.
58741 * string/test-strncat.c: New file.
58742
58743 2011-06-30 Marek Polacek <mpolacek@redhat.com>
58744
58745 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
58746
58747 2011-06-21 Andreas Jaeger <aj@suse.de>
58748
58749 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
58750 Copy rule from iconvdata/Makefile.
58751
58752 2011-07-06 Ulrich Drepper <drepper@gmail.com>
58753
58754 [BZ #12922]
58755 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
58756 but no long options are defined, just return 'W'.
58757
58758 2011-06-22 Marek Polacek <mpolacek@redhat.com>
58759
58760 [BZ #9696]
58761 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
58762
58763 2011-07-06 Ulrich Drepper <drepper@gmail.com>
58764
58765 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
58766 netgroups to read.
58767 (innetgr): Likewise.
58768
58769 2011-07-05 Roland McGrath <roland@hack.frob.com>
58770
58771 * config.make.in (install_root): Default to $(DESTDIR).
58772
58773 2011-07-05 Ulrich Drepper <drepper@gmail.com>
58774
58775 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
58776
58777 2011-07-02 Roland McGrath <roland@hack.frob.com>
58778
58779 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
58780
58781 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
58782 containing directory rather than embedding absolute directory names.
58783
58784 * scripts/check-local-headers.sh: Rewritten using awk.
58785 Match by word, not by line. Print error messages for matches.
58786 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
58787
58788 * Makerules [shlib-lds-flags empty]:
58789 ($(common-objpfx)libc_pic.opts): New target.
58790 ($(common-objpfx)libc_pic.os.clean): New target.
58791 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
58792
58793 * config.make.in (OBJCOPY): New variable.
58794 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
58795 * configure: Regenerated.
58796
58797 * config.make.in (use-default-link): New variable.
58798 * configure.in (use_default_link): Grok --with-default-link to set it.
58799 * configure: Regenerated.
58800 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
58801 (shlib-lds, shlib-lds-flags): Define to empty.
58802
58803 * Makerules (shlib-lds): New variable.
58804 (shlib-lds-flags): New variable.
58805 (build-shlib, build-moduile, build-module-asneeded): Use it.
58806 ($(common-objpfx)libc.so): Use $(shlib-lds).
58807 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
58808 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
58809
58810 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
58811 DT_FLAGS/DT_FLAGS_1 with zero flags.
58812
58813 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
58814 linker script munging.
58815
58816 2011-07-02 Ulrich Drepper <drepper@gmail.com>
58817
58818 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
58819 as 128-bit value.
58820 * crypt/sha512.c (sha512_process_block): Perform total addition using
58821 128-bit if possible.
58822 (__sha512_finish_ctx): Likewise.
58823 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
58824 as 64-bit value.
58825 * crypt/sha256.c (SWAP64): Define.
58826 (sha256_process_block): Perform total addition using 64-bit if
58827 possible.
58828 (__sha256_finish_ctx): Likewise.
58829
58830 2011-07-01 Ulrich Drepper <drepper@gmail.com>
58831
58832 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
58833 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58834 * nscd/hstcache.c (cache_addhst): Likewise.
58835 * nscd/grpcache.c (cache_addgr): Likewise.
58836 * nscd/aicache.c (addhstaiX): Likewise
58837 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
58838
58839 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
58840
58841 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
58842 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58843 * nscd/hstcache.c (cache_addhst): Likewise.
58844 * nscd/grpcache.c (cache_addgr): Likewise.
58845 * nscd/aicache.c (addhstaiX): Likewise
58846
58847 2011-07-01 Andreas Schwab <schwab@redhat.com>
58848
58849 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
58850 domain only when needed.
58851
58852 2011-06-30 Andreas Schwab <schwab@redhat.com>
58853
58854 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
58855 is always restored.
58856
58857 2011-06-29 Ulrich Drepper <drepper@gmail.com>
58858
58859 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
58860 are re-adding the entry.
58861 * nscd/servicescache.c (cache_addserv): Likewise.
58862
58863 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
58864
58865 * sysdeps/generic/dl-irel.h: fix protection against multiple
58866 inclusions.
58867 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
58868
58869 2011-06-28 Ulrich Drepper <drepper@gmail.com>
58870
58871 [BZ #12935]
58872 * malloc/memusage.sh: Fix quoting in message.
58873 * debug/xtrace.sh: Likewise.
58874
58875 * configure.in: Remove support for --experimental-malloc option, make
58876 it the default.
58877 * config.make.in: Likewise.
58878 * malloc/Makefile: Likewise.
58879
58880 2011-06-27 Andreas Schwab <schwab@redhat.com>
58881
58882 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
58883 two-byte characters.
58884
58885 2011-06-27 Roland McGrath <roland@hack.frob.com>
58886
58887 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
58888 AC_CACHE_CHECK invocation.
58889 * configure: Regenerated.
58890
58891 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
58892
58893 2011-06-27 Ulrich Drepper <drepper@gmail.com>
58894
58895 [BZ #12350]
58896 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
58897 bit from old_res_options.
58898
58899 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
58900
58901 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
58902 value type for setfct.
58903
58904 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
58905
58906 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58907 __gettimeofday instead of gettimeofday.
58908
58909 2011-06-26 Ulrich Drepper <drepper@gmail.com>
58910
58911 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
58912
58913 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
58914
58915 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
58916
58917 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
58918 info.
58919
58920 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
58921
58922 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58923 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58924 strcpy-sse2-unaligned strncpy-sse2-unaligned
58925 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
58926 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
58927 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
58928 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
58929 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
58930 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
58931 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
58932 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
58933 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
58934 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
58935 (STRCPY): Support SSE2 and SSSE3 versions.
58936
58937 2011-06-24 Ulrich Drepper <drepper@gmail.com>
58938
58939 [BZ #12874]
58940 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
58941 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
58942 kernels which artificially limit size of requests.
58943
58944 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
58945
58946 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58947 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58948 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
58949 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
58950 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
58951 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
58952 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
58953 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
58954 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
58955 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
58956 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
58957 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
58958 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
58959 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
58960 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
58961 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58962 Enable unaligned load optimization for Intel Core i3, i5 and i7
58963 processors.
58964 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
58965 Define.
58966 (index_Fast_Unaligned_Load): Define.
58967 (HAS_FAST_UNALIGNED_LOAD): Define.
58968
58969 2011-06-23 Marek Polacek <mpolacek@redhat.com>
58970
58971 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
58972
58973 2011-06-22 Ulrich Drepper <drepper@gmail.com>
58974
58975 [BZ #12907]
58976 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
58977 until it is clear that the information is realy needed.
58978 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
58979
58980 2011-06-22 Andreas Schwab <schwab@redhat.com>
58981
58982 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
58983
58984 2011-06-22 Ulrich Drepper <drepper@gmail.com>
58985
58986 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58987 /sys/devices/system/cpu/online if it is usable.
58988
58989 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
58990 reading the information from the /proc filesystem to once a second.
58991
58992 2011-06-21 Andreas Jaeger <aj@suse.de>
58993
58994 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
58995 NULL after inclusion of kernel headers.
58996
58997 2011-06-21 Ulrich Drepper <drepper@gmail.com>
58998
58999 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
59000 calls to internal_setent.
59001
59002 [BZ #12885]
59003 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
59004 addresses using gethostbyname4_r ignore IPv4 addresses.
59005
59006 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
59007 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
59008
59009 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
59010
59011 2011-06-20 David S. Miller <davem@davemloft.net>
59012
59013 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
59014 inclusions.
59015 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
59016
59017 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
59018 (elf_irel): Use it.
59019 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
59020 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
59021 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
59022 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
59023 * sysdeps/x86_64/dl-irel.h: Likewise.
59024
59025 * elf/dl-runtime.c: Use elf_ifunc_invoke.
59026 * elf/dl-sym.c: Likewise.
59027
59028 2011-06-15 Ulrich Drepper <drepper@gmail.com>
59029
59030 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
59031 need to dereference resplen2.
59032
59033 2011-06-14 Andreas Schwab <schwab@redhat.com>
59034
59035 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
59036
59037 2011-06-15 Ulrich Drepper <drepper@gmail.com>
59038
59039 * Makeconfig: Define vardbdir and inst_vardbdir.
59040 * nss/Makefile: Add rules to install db-Makefile.
59041
59042 * nss/nss_db/db-XXX.c: Cleanup.
59043
59044 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
59045 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
59046 GLIBC_PRIVATE.
59047 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
59048 * nss/makedb.c: Implement -g option to specify that value strings
59049 are generated and should not be added to table iterated over for
59050 get*ent calls.
59051 * nss/nss_db/db-initgroups.c: New file.
59052
59053 * nss/getent.c: Add support for initgroups lookups through getgrouplist
59054 interface.
59055
59056 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
59057 (internal_getgrouplist): Adjust to name change.
59058 Update use_initgroups_entry if this is not the first call.
59059 * nss/databases.def: Add initgroups entry.
59060
59061 * nss/makedb.c (compute_tables): Check result of multiple hash table
59062 sizes to minimize maximum chain length.
59063
59064 2011-06-14 Ulrich Drepper <drepper@gmail.com>
59065
59066 * Versions.def: Add entry for libnss_db.
59067 * shlib-versions: Likewise.
59068 * nss/Makefile: Add rules to build libnss_db.
59069 * nss/Versions: Add libnss_db information. Organize libnss_files
59070 entries better.
59071 * nss/db-Makefile: Add gshadow support. Change rules for the new
59072 makedb progra. Some minor improvements to generate smaller files.
59073 * nss/nss_db/nss_db.h: Move NSS database header data structures to
59074 here from...
59075 * nss/makedb.c: ...here.
59076 Improve database format to be smaller and require less memory at
59077 runtime.
59078 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
59079 db anymore.
59080 * nss/nss_db/db-netgrp.c: Likewise.
59081 * nss/nss_db/db-open.c: Likewise.
59082 * nss/nss_files/flies-XXX.x: Adjust comments.
59083 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
59084 * nss/nss_files/files-grp.c: Likewise.
59085 * nss/nss_files/files-hosts.c: Likewise.
59086 * nss/nss_files/files-network.c: Likewise.
59087 * nss/nss_files/files-proto.c: Likewise.
59088 * nss/nss_files/files-pwd.c: Likewise.
59089 * nss/nss_files/files-rpc.c: Likewise.
59090 * nss/nss_files/files-service.c: Likewise.
59091 * nss/nss_files/files-sgrp.c: Likewise.
59092 * nss/nss_files/files-spwd.c: Likewise.
59093 * nss/nss_db/db-alias.c: Removed.
59094 * nss/nss_db/dummy-db.h: Removed.
59095
59096 2011-06-02 Ulrich Drepper <drepper@gmail.com>
59097
59098 * nss/makedb.c: Rewritten to not use database library.
59099 * nss/Makefile: Update to build new makedb program.
59100
59101 2011-06-14 Andreas Jaeger <aj@suse.de>
59102
59103 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
59104 memset declaration.
59105
59106 2011-06-10 Andreas Schwab <schwab@redhat.com>
59107
59108 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
59109 tmpbuf.
59110
59111 2011-06-10 Roland McGrath <roland@hack.frob.com>
59112
59113 * Makerules (shlib.lds): Fail if the linker script comes out empty.
59114 * elf/Makefile ($(objpfx)ld.so): Likewise.
59115
59116 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
59117 Don't list ld.so twice in dependencies.
59118
59119 * posix/bug-regex31.c: Include <stdlib.h>.
59120
59121 * nscd/hstcache.c (cache_addhst): Remove unused variable.
59122
59123 * nis/nss_compat/compat-spwd.c
59124 (getspent_next_nss_netgr): Remove unused variable.
59125 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
59126
59127 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
59128 nonmembers" output to use the right array.
59129
59130 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
59131
59132 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
59133
59134 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
59135 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
59136 * catgets/gencat.c (read_input_file): Likewise.
59137 * locale/programs/locarchive.c (enlarge_archive): Likewise.
59138
59139 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
59140 variable definition inside #if's controlling its use.
59141
59142 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
59143
59144 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
59145
59146 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
59147
59148 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
59149 unreachable code.
59150
59151 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
59152
59153 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
59154 * configure: Regenerated.
59155
59156 * Makerules: Revert last change.
59157 * elf/Makefile: Likewise.
59158
59159 2011-06-09 Roland McGrath <roland@hack.frob.com>
59160
59161 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
59162 * elf/Makefile ($(objpfx)librtld.os): Likewise.
59163 (reloc-link): Likewise.
59164
59165 2011-06-09 Ulrich Drepper <drepper@gmail.com>
59166
59167 * elf/Makefile: Add rules to build pldd.
59168 * elf/pldd.c: New file.
59169 * elf/pldd-xx.c: New file.
59170
59171 2011-06-07 Ulrich Drepper <drepper@gmail.com>
59172
59173 * version.h: Update for 2.15 development version.
59174
59175 2011-06-07 David S. Miller <davem@davemloft.net>
59176
59177 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
59178 ifuncs.
59179 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
59180 elf_machine_lazy_rel): Likewise.
59181 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
59182 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
59183 elf_machine_lazy_rel): Likewise.
59184 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
59185 dl_hwcap via passed in argument.
59186 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
59187 Likewise.
59188
59189 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59190
59191 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
59192
59193 2011-06-06 Roland McGrath <roland@hack.frob.com>
59194
59195 [BZ #12849]
59196 * manual/fdl-1.1.texi: New file, verbatim from:
59197 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
59198 * manual/lgpl-2.1.texi: New file, verbatim from:
59199 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
59200 * manual/Makefile (licenses): New variable, list those new file names.
59201 (texis): Use it.
59202 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
59203
59204 * manual/fdl.texi: File removed.
59205 * manual/lesser.texi: File removed.
59206 * manual/libc.texinfo (Copying, Documentation License):
59207 Use new @include file names, put @appendix directive before @include.
59208
59209 2011-06-04 Jakub Jelinek <jakub@redhat.com>
59210
59211 [BZ #12841]
59212 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
59213 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
59214 (mq_open): Add __NTH.
59215
59216 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
59217
59218 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59219 Assume Intel Core i3/i5/i7 processor if AVX is available.
59220
59221 2011-05-31 Ulrich Drepper <drepper@gmail.com>
59222
59223 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
59224 typo.
59225
59226 2011-05-31 Andreas Schwab <schwab@redhat.com>
59227
59228 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
59229 memory. Use alloca_account. Fix memory leak when retrying.
59230
59231 2011-05-31 Ulrich Drepper <drepper@gmail.com>
59232
59233 * version.h (RELEASE): Bump for 2.14 release.
59234 * include/features.h (__GLIBC_MINOR__): Bump to 14.
59235
59236 * config.make.in (RANLIB): Remove entry.
59237
59238 2011-05-30 Ulrich Drepper <drepper@gmail.com>
59239
59240 * po/Makefile (po-sed-cmd): Add ksh to extensions.
59241 (libc.pot): Work around missing support for .ksh extension in xgettext.
59242
59243 [BZ #12684]
59244 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
59245 if both request failed.
59246 (send_dg): In case of server errors clear resplen or *resplen2.
59247
59248 [BZ #12454]
59249 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
59250 when there are multiple maps.
59251 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
59252 (_dl_fini): Remove test here.
59253
59254 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
59255
59256 2011-05-29 Ulrich Drepper <drepper@gmail.com>
59257
59258 [BZ #12350]
59259 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
59260 bit from old_res_options.
59261 (gaih_inet): Likewise.
59262
59263 [BZ #11099]
59264 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
59265 as signed.
59266
59267 * resolv/res_init.c (res_setoptions): Make the code more compact.
59268
59269 [BZ #11558]
59270 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
59271 set RES_USEVC.
59272
59273 [BZ #11634]
59274 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
59275
59276 * malloc/malloc.h: Mark malloc hook variables as deprecated.
59277
59278 [BZ #11781]
59279 * malloc/malloc.h: Declare malloc hook variables as volatile.
59280
59281 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
59282 in last patch.
59283
59284 [BZ #11799]
59285 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
59286 raise in the comment.
59287 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
59288 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59289 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
59290
59291 2011-05-28 Ulrich Drepper <drepper@gmail.com>
59292
59293 [BZ #12811]
59294 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
59295 grow the buffers more if it already has to be sufficient.
59296 (build_wcs_upper_buffer): Likewise.
59297 * posix/regexec.c (check_matching): Likewise.
59298 (clean_state_log_if_needed): Likewise.
59299 (extend_buffers): Don't enlarge buffers beyond size of the input
59300 buffer.
59301 Patches mostly by Emil Wojak <emil@wojak.eu>.
59302 * posix/bug-regex32.c: New file.
59303 * posix/Makefile (tests): Add bug-regex32.
59304
59305 * locale/findlocale.c (_nl_find_locale): Return right away if
59306 _nl_explode_name failed.
59307 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
59308
59309 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
59310
59311 * debug/xtrace.sh: Unify messages.
59312 * malloc/memusage.sh: Likewise.
59313
59314 [BZ #12813]
59315 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
59316 time symbol from vDSO. Substitute with vsyscall if not available.
59317 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
59318 __vdso_time.
59319
59320 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
59321 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
59322 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
59323 Add sendmmsg and internal_sendmmsg.
59324 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
59325 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
59326 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
59327
59328 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
59329 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
59330 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
59331
59332 2011-05-27 Ulrich Drepper <drepper@gmail.com>
59333
59334 [BZ #12813]
59335 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
59336 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
59337 available.
59338 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
59339 __vdso_getcpu.
59340
59341 [BZ #12814]
59342 * iconvdata/Makefile (tests): Add bug-iconv9.
59343 * iconvdata/bug-iconv9.c: New file.
59344
59345 2011-05-27 Andreas Schwab <schwab@redhat.com>
59346
59347 [BZ #12814]
59348 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
59349
59350 2011-05-25 Jakub Jelinek <jakub@redhat.com>
59351
59352 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59353 (struct user_regs_struct): Change intcs field back to cs.
59354
59355 2011-05-25 Ulrich Drepper <drepper@gmail.com>
59356
59357 * po/ja.po: Update from translation team.
59358
59359 2011-05-23 Ulrich Drepper <drepper@gmail.com>
59360
59361 [BZ #12795]
59362 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
59363 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
59364
59365 2011-05-20 Andreas Schwab <schwab@redhat.com>
59366
59367 * stdlib/longlong.h: Update from GCC.
59368
59369 2011-05-23 Andreas Schwab <schwab@redhat.com>
59370
59371 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
59372 parameter name.
59373 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
59374 Add parameter name.
59375 (__sysconf): Pass it down.
59376
59377 2011-05-22 Ulrich Drepper <drepper@gmail.com>
59378
59379 [BZ #12671]
59380 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
59381 some situations.
59382 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
59383 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
59384 add in in __libc_use_alloca calls. Adjust callers.
59385 (glob): Use malloc in some situations.
59386
59387 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
59388 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
59389 pltexit.
59390
59391 2011-05-21 Ulrich Drepper <drepper@gmail.com>
59392
59393 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
59394 and CLOCK_BOOTTIME_ALARM.
59395
59396 [BZ #12782]
59397 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
59398 is returned.
59399
59400 * string/_strerror.c (__strerror_r): Print negative errors as signed
59401 numbers.
59402
59403 [BZ #12777]
59404 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
59405 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
59406 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
59407
59408 * configure.in: Fix typo in redirection and correct removal of test
59409 files in two cases.
59410
59411 [BZ #12788]
59412 * locale/setlocale.c (new_composite_name): Fix test to check for
59413 identical name of all categories.
59414
59415 [BZ #12792]
59416 * libio/filedoalloc.c (local_isatty): New function.
59417 (_IO_file_doallocate): Use local_isatty.
59418 * stdio-common/perror.c (perror): In case a new stream is used
59419 forward the stream error.
59420 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
59421 error flag.
59422
59423 2011-05-20 Ulrich Drepper <drepper@gmail.com>
59424
59425 [BZ #11869]
59426 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
59427 alloca.
59428 * include/alloca.h (extend_alloca_account): Define.
59429
59430 [BZ #11857]
59431 * posix/regex.h: Fix comments with documentation of user-accessible
59432 fields after compilation and describe correct free'ing of pattern
59433 after re_compile_pattern.
59434 Patch by Reuben Thomas <rrt@sc3d.org>.
59435
59436 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
59437
59438 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
59439 and -mno-altivec to prevent the compiler from using Altivec and/or
59440 VSX instructions when the corresponding registers are not available.
59441
59442 2011-05-19 Andreas Schwab <schwab@redhat.com>
59443
59444 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
59445
59446 2011-05-19 Ulrich Drepper <drepper@gmail.com>
59447
59448 * libio/freopen.c (freopen): Use __dup2, not dup2.
59449 * libio/freopen64.c (freopen64): Likewise.
59450
59451 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
59452
59453 [BZ #12775]
59454 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
59455 * math/Makefile (tests): Add test-powl.
59456 (CFLAGS-test-powl.c): Define.
59457 * math/test-powl.c: New file.
59458
59459 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
59460
59461 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
59462
59463 2011-05-17 Ulrich Drepper <drepper@gmail.com>
59464
59465 [BZ #11837]
59466 * iconvdata/gb18030.c: Update to GB18020-2005.
59467
59468 2011-05-16 Ulrich Drepper <drepper@gmail.com>
59469
59470 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
59471 RE_SYNTAX_POSIX_AWK): Update to match recent development.
59472 Patch by Aharon Robbins <arnold@skeeve.com>.
59473
59474 [BZ #11892]
59475 * stdlib/putenv.c (putenv): Don't always create copy of the variable
59476 on the stack.
59477
59478 [BZ #11895]
59479 * misc/pselect.c (__pselect): Handle timeout value errors hidden
59480 through underflows.
59481
59482 [BZ #12766]
59483 * misc/error.c (error_at_line): Ensure file_name and old_file_name
59484 point to strings before performing equality test for error_one_per_line
59485 mode.
59486
59487 [BZ #11697]
59488 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
59489
59490 [BZ #11820]
59491 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59492 (struct user_fpregs_struct): Avoid __uint*_t types.
59493
59494 [BZ #6420]
59495 * malloc/mtrace.c (tr_where): Add additional parameter to point to
59496 symbol info. Use it instead of calling _dl_addr locally.
59497 (lock_and_info): New function.
59498 (tr_freehook): Call lock_and_info and pass symbol info as additional
59499 parameter to tr_where.
59500 (tr_mallochook): Likewise.
59501 (tr_reallochook): Likewise.
59502 (tr_memalignhook): Likewise.
59503
59504 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
59505 used and couldn't be at all thread-safe.
59506
59507 2011-05-15 Ulrich Drepper <drepper@gmail.com>
59508
59509 * libio/freopen.c (freopen): Don't close old file descriptor
59510 before the new one is opened. Instead dup the new file descriptor
59511 to the old one after the new stream is created.
59512 * libio/freopen64.c (freopen64): Likewise.
59513 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
59514 * libio/fileops.c (_IO_new_file_close_it): Handle new
59515 _IO_FLAGS2_NOCLOSE flag.
59516 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
59517 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
59518 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
59519 _IO_FLAGS2_NOCLOSE flag.
59520 * include/unistd.h: Add hidden_proto for dup3.
59521 Define __have_dup3.
59522 * io/dup3.c: Define hidden symbol.
59523 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
59524
59525 [BZ #7101]
59526 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
59527 when an incomplete long option is used.
59528 * posix/tst-getopt_long1.c: New file.
59529 * posix/Makefile (tests): Add tst-getopt_long1.
59530
59531 [BZ #10138]
59532 * scripts/config.guess: Update from autoconf-2.68.
59533 * scripts/config.sub: Likewise.
59534
59535 [BZ #10157]
59536 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
59537 tests into ...
59538 (has_cpuclock): ...this. New function.
59539 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
59540 macro here based on has_cpuclock code.
59541
59542 [BZ #10149]
59543 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59544 First byte (not low byte) is now always NUL.
59545 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
59546
59547 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59548 Use non-cancelable interfaces.
59549
59550 [BZ #9809]
59551 * locale/iso-639.def: Add entry for Sorani.
59552
59553 [BZ #11901]
59554 * include/stdlib.h: Move include protection to the right place.
59555 Define abort_msg_s. Declare __abort_msg with it.
59556 * stdlib/abort.c (__abort_msg): Adjust type.
59557 * assert/assert.c (__assert_fail_base): New function. Majority
59558 of code from __assert_fail. Allocate memory for __abort_msg with
59559 mmap.
59560 (__assert_fail): Now call __assert_fail_base.
59561 * assert/assert-perr.c: Remove bulk of implementation. Use
59562 __assert_fail_base.
59563 * include/assert.hL Declare __assert_fail_base.
59564 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
59565 mmap.
59566 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
59567
59568 2011-05-14 Ulrich Drepper <drepper@gmail.com>
59569
59570 [BZ #11952]
59571 [BZ #12453]
59572 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
59573 until all modules are registered in the DTV.
59574 * elf/Makefile: Add rules to build and run tst-tls19.
59575 * elf/tst-tls19.c: New file.
59576 * elf/tst-tls19mod1.c: New file.
59577 * elf/tst-tls19mod2.c: New file.
59578 * elf/tst-tls19mod3.c: New file.
59579 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
59580
59581 [BZ #12083]
59582 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
59583 correctly.
59584
59585 [BZ #12601]
59586 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
59587 two-byte sequence errors.
59588 * iconvdata/Makefile (tests): Add bug-iconv8.
59589 * iconvdata/bug-iconv8.c: New file.
59590
59591 [BZ #12626]
59592 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
59593 buf2 definition.
59594
59595 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
59596
59597 [BZ #12432]
59598 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
59599 (dummy_getcfa): New function.
59600 (init): Get _Unwind_GetCFA address, use dummy if not found.
59601 (backtrace_helper): In recursion check, also check whether CFA changes.
59602 (__backtrace): Completely initialize arg.
59603
59604 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
59605 storing incomplete byte sequence in state object. Avoid testing for
59606 guaranteed too small input if we know there is enough data available.
59607
59608 2011-05-11 Andreas Schwab <schwab@redhat.com>
59609
59610 * Makeconfig (+link-pie): Indent.
59611 * Rules (binaries-pie): Define if $(have-fpie) and
59612 $(build-shared).
59613 (binaries-shared): Also filter out $(binaries-pie).
59614 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
59615 * nscd/Makefile (others-pie): Add nscd.
59616 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
59617 ($(objpfx)nscd): Remove command override.
59618 * login/Makefile (others-pie): Add pt_chown.
59619 ($(objpfx)pt_chown): Remove command override.
59620 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
59621 remove command overrides.
59622
59623 2011-05-13 Ulrich Drepper <drepper@gmail.com>
59624
59625 * libio/tst_putwc.c: Fix error messages.
59626
59627 [BZ #12724]
59628 * libio/fileops.c (_IO_new_file_close_it): Always flush when
59629 currently writing and seek to current position when not.
59630 * libio/Makefile (tests): Add bug-fclose1.
59631 * libio/bug-fclose1.c: New file.
59632
59633 2011-05-12 Ulrich Drepper <drepper@gmail.com>
59634
59635 [BZ #12511]
59636 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
59637 don't set DF_1_NODELETE here.
59638 (do_lookup_x): When entering new entry test for copy relocation
59639 and if necessary set DF_1_NODELETE flag.
59640 * elf/tst-unique4.cc: New file.
59641 * elf/tst-unique4.h: New file.
59642 * elf/tst-unique4lib.cc: New file.
59643 * elf/Makefile: Add rules to build and run tst-unique4.
59644 Patch by Piotr Bury <pbury@goahead.com>.
59645
59646 2011-05-11 Ulrich Drepper <drepper@gmail.com>
59647
59648 [BZ #12052]
59649 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
59650
59651 [BZ #12625]
59652 * misc/mntent_r.c (addmntent): Flush the stream after the output
59653
59654 [BZ #12393]
59655 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
59656 (is_trusted_path_normalize): Skip initial colon. Append slash
59657 to empty buffer. Duplicate is_trusted_path code but allow
59658 constructed patch to be prefix.
59659 (is_dst): Allow $ORIGIN followed by /.
59660 (_dl_dst_substitute): Correct clearing of check_for_trusted.
59661 Correct testing of result of is_trusted_path_normalize
59662 (decompose_rpath): Fix warning.
59663
59664 2011-05-10 Ulrich Drepper <drepper@gmail.com>
59665
59666 [BZ #11257]
59667 * grp/initgroups.c (internal_getgrouplist): When we found the service
59668 list through the initgroups entry in nsswitch.conf do not always
59669 continue on a successful lookup. Don't always use the
59670 __nss_group_database value if it is set.
59671 * nss/nsswitch.conf (initgroups): Change action for successful db
59672 lookup to continue for compatibility.
59673
59674 2011-05-09 Ulrich Drepper <drepper@gmail.com>
59675
59676 [BZ #11532]
59677 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
59678 and CP774 modules.
59679 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
59680 and CP774 modules.
59681 * iconvdata/tst-tables.sh: Likewise.
59682 * iconvdata/cp770.c: New file.
59683 * iconvdata/cp771.c: New file.
59684 * iconvdata/cp772.c: New file.
59685 * iconvdata/cp773.c: New file.
59686 * iconvdata/cp774.c: New file.
59687 * iconvdata/testdata/CP770: New file.
59688 * iconvdata/testdata/CP770..UTF8: New file.
59689 * iconvdata/testdata/CP771: New file.
59690 * iconvdata/testdata/CP771..UTF8: New file.
59691 * iconvdata/testdata/CP772: New file.
59692 * iconvdata/testdata/CP772..UTF8: New file.
59693 * iconvdata/testdata/CP773: New file.
59694 * iconvdata/testdata/CP773..UTF8: New file.
59695 * iconvdata/testdata/CP774: New file.
59696 * iconvdata/testdata/CP774..UTF8: New file.
59697
59698 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
59699 END CHARMAP line.
59700 * iconvdata/gen-8bit-gap.sh: Likewise.
59701 * iconvdata/gen-8bit.sh: Likewise.
59702
59703 * locale/iso-639.def: Add ary entry.
59704
59705 [BZ #11258]
59706 * locale/C-translit.h.in: Add U20A1 transliteration.
59707
59708 [BZ #12178]
59709 * locale/iso-639.def: Add wae entry.
59710 Patch by Kevin Bortis <bortis@translate-wae.ch>.
59711
59712 [BZ #12545]
59713 * locale/programs/localedef.c (construct_output_path): Use ssize_t
59714 for n.
59715
59716 [BZ #12711]
59717 * locale/C-translit.h.in: Add entry for U20B9.
59718 Patch by pravin.d.s@gmail.com.
59719
59720 2011-05-08 Ulrich Drepper <drepper@gmail.com>
59721
59722 [BZ #12713]
59723 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
59724 ENAMETOOLONG use generic getcwd.
59725 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
59726 in rtld. Use *stat64.
59727 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
59728 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
59729 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
59730 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
59731 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
59732 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
59733 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
59734 __fstatat64 macros.
59735 * include/dirent.h: Add libc_hidden_proto for rewinddir.
59736 * dirent/rewinddir.c: Add libc_hidden_def.
59737 * sysdeps/mach/hurd/rewinddir.c: Likewise.
59738 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
59739
59740 * include/dirent.h (__alloc_dir): Add flags parameter.
59741 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
59742 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
59743 __alloc_dir.
59744 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
59745 from fdopendir if O_CLOEXEC is already set.
59746
59747 2011-03-15 Alan Modra <amodra@gmail.com>
59748
59749 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
59750 l_tls_firstbyte_offset non-zero. Save padding offset in
59751 l_tls_firstbyte_offset for later use.
59752 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
59753 freeing static tls block.
59754
59755 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
59756
59757 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
59758 where #ifdef was intended. The intent is to prevent ARG_MAX from
59759 being defined by the kernel headers.
59760
59761 2011-05-07 Ulrich Drepper <drepper@gmail.com>
59762
59763 [BZ #12734]
59764 * resolv/resolv.h: Define RES_NOTLDQUERY.
59765 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
59766 no-tld-query and set RES_NOTLDQUERY.
59767 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
59768 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
59769 modern BIND to search name as TLD unless forbidden.
59770
59771 2011-05-07 Petr Baudis <pasky@suse.cz>
59772 Ulrich Drepper <drepper@gmail.com>
59773
59774 [BZ #12393]
59775 * elf/dl-load.c (fillin_rpath): Move trusted path check...
59776 (is_trusted_path): ...to here.
59777 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
59778 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
59779 using is_trusted_path_normalize() in setuid scripts.
59780
59781 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
59782
59783 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
59784 __BEGIN/__END_DECLS.
59785
59786 2011-05-06 Ulrich Drepper <drepper@gmail.com>
59787
59788 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
59789 NSS_STATUS_NOTFOUND if no record was found.
59790
59791 2011-05-05 Andreas Schwab <schwab@redhat.com>
59792
59793 * sunrpc/Makefile (headers): Add rpc/netdb.h.
59794 (headers-not-in-tirpc): Remove rpc/netdb.h
59795 * resolv/netdb.h: Revert last change.
59796
59797 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
59798
59799 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
59800 circular dependency between libgcc.a and libc.a.
59801
59802 2011-05-05 Andreas Schwab <schwab@redhat.com>
59803
59804 * resolv/netdb.h: Don't include <rpc/netdb.h>.
59805 * nis/Makefile: Don't install rpcsvc/*.
59806 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
59807 instead of <rpc/types.h>.
59808 (MAXHOSTNAMELEN): Define.
59809
59810 2011-05-03 Andreas Schwab <schwab@redhat.com>
59811
59812 * elf/ldconfig.c (add_dir): Don't crash on empty path.
59813
59814 2011-04-28 Maciej Babinski <mbabinski@google.com>
59815
59816 [BZ #12714]
59817 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
59818 gethostbyname4_r when IPv6 results are possible.
59819
59820 2011-05-02 Ulrich Drepper <drepper@gmail.com>
59821
59822 [BZ #12723]
59823 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
59824 _PC_PIPE_BUF handling.
59825
59826 2011-04-30 Bruno Haible <bruno@clisp.org>
59827
59828 [BZ #12717]
59829 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
59830 * resolv/netdb.h (getnameinfo): Change type of flags parameter
59831 to 'int'.
59832 * inet/getnameinfo.c (getnameinfo): Likewise.
59833
59834 2011-04-29 Ulrich Drepper <drepper@gmail.com>
59835
59836 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
59837 to groups setting in database lookup.
59838 * nss/nsswitch.conf: Add initgroups entry.
59839
59840 2011-04-22 Ulrich Drepper <drepper@gmail.com>
59841
59842 [BZ #12685]
59843 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
59844 mode string.
59845 Patch by Eric Blake <eblake@redhat.com>.
59846
59847 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
59848
59849 * sunrpc/Makefile (need-export-routines): Add svc_run.
59850 (routines): Remove svc_run.
59851 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
59852 * sunrpc/clnt_perr.c (clnt_perrno): Export.
59853 * sunrpc/svc_run.c (svc_run): Likewise.
59854 * sunrpc/svc_udp.c (svcudp_create): Likewise.
59855
59856 2011-04-21 Ulrich Drepper <drepper@gmail.com>
59857
59858 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
59859 problem in reallocation in last patch.
59860
59861 2011-04-20 Ulrich Drepper <drepper@gmail.com>
59862
59863 * sunrpc/Makefile: Move inclusion of Rules.
59864
59865 2011-04-19 Ulrich Drepper <drepper@gmail.com>
59866
59867 * nss/nss_files/files-initgroups.c: New file.
59868 * nss/Makefile (libnss_files-routines): Add files-initgroups.
59869 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
59870 _nss_files_initgroups_dyn.
59871
59872 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
59873
59874 * elf/elf.h (R_ARM_IRELATIVE): Define.
59875
59876 2011-04-19 Ulrich Drepper <drepper@gmail.com>
59877
59878 * po/ru.po: Update from translation team.
59879
59880 2011-04-17 Ulrich Drepper <drepper@gmail.com>
59881
59882 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
59883 dependencies.
59884
59885 2011-02-06 Mike Frysinger <vapier@gentoo.org>
59886
59887 [BZ #12653]
59888 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
59889 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
59890 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
59891 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
59892 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
59893
59894 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
59895
59896 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
59897 differing bytes.
59898 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59899 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59900 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59901
59902 2011-04-17 Ulrich Drepper <drepper@gmail.com>
59903
59904 [BZ #12420]
59905 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
59906 storing it.
59907 * stdlib/bug-getcontext.c: New file.
59908 * stdlib/Makefile: Add rules to build and run bug-getcontext.
59909
59910 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59911
59912 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
59913 instructions into .machine "z9-109".
59914 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
59915 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
59916
59917 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59918
59919 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
59920 between environment variables and auxiliary vector.
59921
59922 2011-04-16 Ulrich Drepper <drepper@gmail.com>
59923
59924 * Makefile: Add rules to build linkobj/libc.so.
59925 * include/libc-symbols.h: Define libc_hidden_nolink.
59926 * include/rpc/auth.h: Mark functions which are to be hidden.
59927 * include/rpc/auth_des.h: Likewise.
59928 * include/rpc/auth_unix.h: Likewise.
59929 * include/rpc/clnt.h: Likewise.
59930 * include/rpc/des_crypt.h: Likewise.
59931 * include/rpc/key_prot.h: Likewise.
59932 * include/rpc/pmap_clnt.h: Likewise.
59933 * include/rpc/pmap_prot.h: Likewise.
59934 * include/rpc/pmap_rmt.h: Likewise.
59935 * include/rpc/rpc_msg.h: Likewise.
59936 * include/rpc/svc.h: Likewise.
59937 * include/rpc/svc_auth.h: Likewise.
59938 * include/rpc/xdr.h: Likewise.
59939 * nis/Makefile: Link all DSOs against linkobj/libc.so.
59940 * nss/Makefile: Likewise.
59941 * sunrpc/Makefile: Don't install headers. Build library with normal
59942 entry points. Don't build rpcinfo. Link RPC tests appropriately.
59943 * sunrpc/auth_des.c: Hide exported symbols by default, export some
59944 for the compat linking library. Remove use of INTDEF/INTUSE.
59945 * sunrpc/auth_none.c: Likewise.
59946 * sunrpc/auth_unix.c: Likewise.
59947 * sunrpc/authdes_prot.c: Likewise.
59948 * sunrpc/authuxprot.c: Likewise.
59949 * sunrpc/clnt_gen.c: Likewise.
59950 * sunrpc/clnt_perr.c: Likewise.
59951 * sunrpc/clnt_raw.c: Likewise.
59952 * sunrpc/clnt_simp.c: Likewise.
59953 * sunrpc/clnt_tcp.c: Likewise.
59954 * sunrpc/clnt_udp.c: Likewise.
59955 * sunrpc/clnt_unix.c: Likewise.
59956 * sunrpc/des_crypt.c: Likewise.
59957 * sunrpc/des_soft.c: Likewise.
59958 * sunrpc/get_myaddr.c: Likewise.
59959 * sunrpc/key_call.c: Likewise.
59960 * sunrpc/key_prot.c: Likewise.
59961 * sunrpc/netname.c: Likewise.
59962 * sunrpc/pm_getmaps.c: Likewise.
59963 * sunrpc/pm_getport.c: Likewise.
59964 * sunrpc/pmap_clnt.c: Likewise.
59965 * sunrpc/pmap_prot.c: Likewise.
59966 * sunrpc/pmap_prot2.c: Likewise.
59967 * sunrpc/pmap_rmt.c: Likewise.
59968 * sunrpc/publickey.c: Likewise.
59969 * sunrpc/rpc_cmsg.c: Likewise.
59970 * sunrpc/rpc_common.c: Likewise.
59971 * sunrpc/rpc_dtable.c: Likewise.
59972 * sunrpc/rpc_prot.c: Likewise.
59973 * sunrpc/rpc_thread.c: Likewise.
59974 * sunrpc/rtime.c: Likewise.
59975 * sunrpc/svc.c: Likewise.
59976 * sunrpc/svc_auth.c: Likewise.
59977 * sunrpc/svc_authux.c: Likewise.
59978 * sunrpc/svc_raw.c: Likewise.
59979 * sunrpc/svc_run.c: Likewise.
59980 * sunrpc/svc_simple.c: Likewise.
59981 * sunrpc/svc_tcp.c: Likewise.
59982 * sunrpc/svc_udp.c: Likewise.
59983 * sunrpc/svc_unix.c: Likewise.
59984 * sunrpc/svcauth_des.c: Likewise.
59985 * sunrpc/xcrypt.c: Likewise.
59986 * sunrpc/xdr.c: Likewise.
59987 * sunrpc/xdr_array.c: Likewise.
59988 * sunrpc/xdr_float.c: Likewise.
59989 * sunrpc/xdr_intXX_t.c: Likewise.
59990 * sunrpc/xdr_mem.c: Likewise.
59991 * sunrpc/xdr_rec.c: Likewise.
59992 * sunrpc/xdr_ref.c: Likewise.
59993 * sunrpc/xdr_sizeof.c: Likewise.
59994 * sunrpc/xdr_stdio.c: Likewise.
59995
59996 2011-04-10 Ulrich Drepper <drepper@gmail.com>
59997
59998 [BZ #12650]
59999 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
60000 * sysdeps/ia64/dl-tls.h: Likewise.
60001 * sysdeps/powerpc/dl-tls.h: Likewise.
60002 * sysdeps/s390/dl-tls.h: Likewise.
60003 * sysdeps/sh/dl-tls.h: Likewise.
60004 * sysdeps/sparc/dl-tls.h: Likewise.
60005 * sysdeps/x86_64/dl-tls.h: Likewise.
60006 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
60007
60008 2011-03-14 Andreas Schwab <schwab@redhat.com>
60009
60010 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
60011 rpath element also skip the following colon.
60012 (expand_dynamic_string_token): Add is_path parameter and pass
60013 down to DL_DST_REQUIRED and _dl_dst_substitute.
60014 (decompose_rpath): Call expand_dynamic_string_token with
60015 non-zero is_path. Ignore empty rpaths.
60016 (_dl_map_object_from_fd): Call expand_dynamic_string_token
60017 with zero is_path.
60018
60019 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
60020
60021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
60022 Make cancelable.
60023
60024 2011-04-09 Ulrich Drepper <drepper@gmail.com>
60025
60026 [BZ #12655]
60027 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
60028 Patch by Filipe David Manana <fdmanana@apache.org>.
60029
60030 2011-04-07 Andreas Schwab <schwab@redhat.com>
60031
60032 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
60033 Maintain aligned stack.
60034 (CHECK_RSP): Remove unused macro.
60035
60036 2011-04-03 Ulrich Drepper <drepper@gmail.com>
60037
60038 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
60039 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
60040
60041 2011-04-02 Ulrich Drepper <drepper@gmail.com>
60042
60043 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
60044
60045 * include/features.h: Mention __USE_XOPEN2K8 in comment.
60046
60047 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
60048
60049 [BZ #12518]
60050 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
60051 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
60052 * sysdeps/x86_64/memmove.c: New file.
60053 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
60054 (memcpy): Renamed to ...
60055 (__new_memcpy): This.
60056 (memcpy): Provide GLIBC_2_14 memcpy.
60057 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
60058 (memcpy): Provide GLIBC_2_2_5 memcpy.
60059
60060 2011-04-01 Ulrich Drepper <drepper@gmail.com>
60061
60062 [BZ #12631]
60063 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
60064
60065 2011-03-30 Andreas Schwab <schwab@redhat.com>
60066
60067 * misc/syncfs.c: New file.
60068 * misc/Makefile (routines): Add syncfs.
60069 * posix/unistd.h: Declare syncfs.
60070 * sysdeps/unix/syscalls.list: Add syncfs.
60071
60072 2011-04-01 Andreas Schwab <schwab@redhat.com>
60073
60074 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
60075 open_by_handle_at.
60076 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
60077 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60078 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60079 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60080 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60081 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
60082 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60083
60084 2011-04-01 Ulrich Drepper <drepper@gmail.com>
60085
60086 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
60087 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60088 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
60089 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60090 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60091 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60092 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60093
60094 * io/Makefile: Compile fallocate.c, fallocate64.c, and
60095 sync_file_range.c with -fexceptions.
60096 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
60097 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
60098 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
60099 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
60100 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
60101 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
60102 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
60103 sync_file_range as cancellation point
60104 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
60105 now a wrapper around __call_sync_file_range with cancellation handling.
60106 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
60107 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
60108 function name to __call_sync_file_range.
60109 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
60110 Add call_sync_file_range.
60111
60112 2011-04-01 Andreas Schwab <schwab@redhat.com>
60113
60114 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60115 bits/timex.h.
60116
60117 2011-04-01 Ulrich Drepper <drepper@gmail.com>
60118
60119 * iconv/iconv.h: Fix typo in comment.
60120 * io/fcntl.h: Likewise.
60121 * libio/stdio.h: Likewise.
60122 * posix/spawn.h: Likewise.
60123 * posix/unistd.h: Likewise.
60124 * stdlib/stdlib.h: Likewise.
60125 * time/time.h: Likewise.
60126 * wcsmbs/wchar.h: Likewise.
60127
60128 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
60129 open_by_handle): Add.
60130 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
60131 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
60132 Augment a few comments.
60133 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60134 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60135 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60136 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60137 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60138 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
60139 open_by_handle.
60140
60141 * io/fcntl.h (AT_EMPTY_PATH): Define.
60142
60143 2011-03-30 Ulrich Drepper <drepper@gmail.com>
60144
60145 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
60146 * sysdeps/unix/sysv/linux/bits/time.h: New file.
60147 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
60148 to...
60149 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
60150 * Versions.def: Add GLIBC_2.14.
60151 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
60152 Export.
60153
60154 2011-03-22 Ulrich Drepper <drepper@gmail.com>
60155
60156 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
60157 round counter.
60158 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60159
60160 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
60161
60162 [BZ #12597]
60163 * string/test-strncmp.c (do_page_test): New function.
60164 (check2): Likewise.
60165 (test_main): Call check2.
60166 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
60167
60168 2011-03-20 Ulrich Drepper <drepper@gmail.com>
60169
60170 [BZ #12587]
60171 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
60172 Handle cache information in CPU leaf 4.
60173 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60174
60175 2011-03-18 Ulrich Drepper <drepper@gmail.com>
60176
60177 [BZ #12583]
60178 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
60179 character representation.
60180 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
60181
60182 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
60183
60184 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
60185 END(__isnan) to END(__isnanf) to match function entry point/label
60186 EALIGN(__isnanf,...).
60187
60188 2011-03-10 Jakub Jelinek <jakub@redhat.com>
60189
60190 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
60191
60192 2011-03-10 Ulrich Drepper <drepper@gmail.com>
60193
60194 [BZ #12510]
60195 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
60196 copy from the symbol referenced in the relocation to initialize the
60197 used variable.
60198 Patch by Piotr Bury <pbury@goahead.com>.
60199 * elf/Makefile: Add rules to build and tst-unique3.
60200 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
60201 * elf/tst-unique3.cc: New file.
60202 * elf/tst-unique3.h: New file.
60203 * elf/tst-unique3lib.cc: New file.
60204 * elf/tst-unique3lib2.cc: New file.
60205
60206 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
60207
60208 2011-03-10 Mike Frysinger <vapier@gentoo.org>
60209
60210 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
60211 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
60212 to _start.
60213
60214 2011-03-06 Ulrich Drepper <drepper@gmail.com>
60215
60216 * elf/dl-load.c (_dl_map_object): If we are looking for the first
60217 to-be-loaded object along a path to loader is ld.so.
60218
60219 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
60220 Ulrich Drepper <drepper@gmail.com>
60221
60222 * sysdeps/x86_64/memset.S: After aligning destination, code
60223 branches to different locations depending on the value of
60224 misalignment, when multiarch is enabled. Fix this.
60225
60226 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
60227
60228 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
60229 Set _x86_64_preferred_memory_instruction for AMD processsors.
60230 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60231 Set bit_Prefer_SSE_for_memop for AMD processors.
60232
60233 2011-03-04 Ulrich Drepper <drepper@gmail.com>
60234
60235 * libio/fmemopen.c (fmemopen): Optimize a bit.
60236
60237 2011-03-03 Andreas Schwab <schwab@redhat.com>
60238
60239 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
60240
60241 2011-03-03 Roland McGrath <roland@redhat.com>
60242
60243 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
60244
60245 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
60246
60247 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
60248 __bzero_ultra1 instead of __memset_ultra1.
60249
60250 2011-02-23 Andreas Schwab <schwab@redhat.com>
60251 Ulrich Drepper <drepper@gmail.com>
60252
60253 [BZ #12509]
60254 * include/link.h (struct link_map): Add l_orig_initfini.
60255 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
60256 returning unsuccessfully.
60257 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
60258 close of a file loaded at startup, restore the original l_initfini
60259 list.
60260 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
60261 list, store the pointer.
60262 * elf/Makefile ($(objpfx)noload-mem): New rule.
60263 (noload-ENV): Define.
60264 (tests): Add $(objpfx)noload-mem.
60265 * elf/noload.c: Include <memcheck.h>.
60266 (main): Call mtrace. Close all opened handles.
60267
60268 2011-02-17 Andreas Schwab <schwab@redhat.com>
60269
60270 [BZ #12454]
60271 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
60272 dependencies are missing.
60273
60274 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
60275
60276 Fix __if_freereq crash: Unlike the generic version which uses free,
60277 Hurd needs munmap.
60278 * sysdeps/mach/hurd/ifreq.h: New file.
60279
60280 2011-01-27 Petr Baudis <pasky@suse.cz>
60281 Ulrich Drepper <drepper@gmail.com>
60282
60283 [BZ 12445]#
60284 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
60285 to extend_alloca().
60286 * stdio-common/bug23.c: New file.
60287 * stdio-common/Makefile (tests): Add bug23.
60288
60289 2010-09-28 Andreas Schwab <schwab@redhat.com>
60290 Ulrich Drepper <drepper@gmail.com>
60291
60292 [BZ #12489]
60293 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
60294 before performing relro protection. At old place add assertion
60295 to make sure nothing changed.
60296
60297 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
60298 Glauber de Oliveira Costa <glommer@gmail.com>
60299
60300 * elf/elf.h: Add new ARM TLS relocs.
60301
60302 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
60303
60304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
60305 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
60306 cast from r3.
60307 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
60308 'tests' variable.
60309 * sysdeps/wordsize-64/tst-writev.c: New file.
60310
60311 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
60312
60313 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
60314 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
60315 insns in _dl_start to prevent a TOC reference before relocs are
60316 resolved.
60317
60318 2011-02-15 Ulrich Drepper <drepper@gmail.com>
60319
60320 [BZ #12469]
60321 * Makeconfig: Remove RANLIB definition.
60322 * Makerules: Don't use RANLIB.
60323 * aclocal.m4: Remove ranlib test.
60324 * configure.in: No need to check for ranlib.
60325 * elf/rtld-Rules: Don't use RANLIB.
60326
60327 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
60328
60329 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
60330 protection macro.
60331 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
60332 inclusion protection macro.
60333
60334 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
60335 SIGRTMIN and SIGRTMAX and print information in that case only when
60336 SIGRTMIN is defined.
60337
60338 2011-02-11 Jakub Jelinek <jakub@redhat.com>
60339
60340 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
60341 arginfo fn returning -1.
60342
60343 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
60344 and thousands string is zero terminated.
60345
60346 2011-02-03 Andreas Schwab <schwab@redhat.com>
60347
60348 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
60349 sysdeps/unix/sysv/linux/bits/socket.h.
60350
60351 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
60352
60353 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
60354 (__CPU_COUNT): Remove old macros.
60355 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
60356 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
60357 (__CPU_ALLOC, __CPU_FREE): Add macros.
60358 (__sched_cpualloc, __sched_cpufree): Add declarations.
60359
60360 2011-02-05 Ulrich Drepper <drepper@gmail.com>
60361
60362 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
60363 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
60364 * nscd/aicache.c (addhstaiX): Return timeout of added value.
60365 (readdhstai): Return value of addhstaiX call.
60366 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
60367 (addgrbyX): Return value returned by cache_addgr.
60368 (readdgrbyname): Return value returned by addgrbyX.
60369 (readdgrbygid): Likewise.
60370 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
60371 (addpwbyX): Return value returned by cache_addpw.
60372 (readdpwbyname): Return value returned by addhstbyX.
60373 (readdpwbyuid): Likewise.
60374 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
60375 (addservbyX): Return value returned by cache_addserv.
60376 (readdservbyname): Return value returned by addservbyX:
60377 (readdservbyport): Likewise.
60378 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
60379 (addhstbyX): Return value returned by cache_addhst.
60380 (readdhstbyname): Return value returned by addhstbyX.
60381 (readdhstbyaddr): Likewise.
60382 (readdhstbynamev6): Likewise.
60383 (readdhstbyaddrv6): Likewise.
60384 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
60385 (readdinitgroups): Return value returned by addinitgroupsX.
60386 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
60387 (prune_cache): Keep track of timeout value of re-added entries.
60388 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
60389 * nscd/nscd.h: Adjust prototypes of readd* functions.
60390
60391 2011-02-04 Roland McGrath <roland@redhat.com>
60392
60393 * nis/nis_server.c (nis_servstate): Use the right name for 0.
60394 (nis_stats): Likewise.
60395 * nis/nis_modify.c (nis_modify): Likewise.
60396 * nis/nis_remove.c (nis_remove): Likewise.
60397 * nis/nis_add.c (nis_add): Likewise.
60398
60399 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
60400
60401 * posix/fnmatch_loop.c: Add some consts.
60402
60403 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
60404
60405 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
60406
60407 [BZ #12460]
60408 * config.make.in (config-cflags-novzeroupper): Define.
60409 * configure.in: Substitute libc_cv_cc_novzeroupper.
60410 * elf/Makefile (AVX-CFLAGS): Define.
60411 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
60412 (CFLAGS-tst-auditmod4a.c): Likewise.
60413 (CFLAGS-tst-auditmod4b.c): Likewise.
60414 (CFLAGS-tst-auditmod6b.c): Likewise.
60415 (CFLAGS-tst-auditmod6c.c): Likewise.
60416 (CFLAGS-tst-auditmod7b.c): Likewise.
60417 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
60418
60419 2011-02-02 Ulrich Drepper <drepper@gmail.com>
60420
60421 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
60422 function to the callback.
60423 Patch partly by Jiri Olsa <jolsa@redhat.com>.
60424
60425 2011-02-02 Andreas Schwab <schwab@redhat.com>
60426
60427 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
60428 of errno.
60429
60430 2011-01-19 Ulrich Drepper <drepper@gmail.com>
60431
60432 [BZ #11724]
60433 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
60434 of constructors.
60435 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
60436 of destructors.
60437 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
60438
60439 [BZ #11724]
60440 * elf/Makefile: Add rules to build and run new test.
60441 * elf/tst-initorder.c: New file.
60442 * elf/tst-initorder.exp: New file.
60443 * elf/tst-initordera1.c: New file.
60444 * elf/tst-initordera2.c: New file.
60445 * elf/tst-initordera3.c: New file.
60446 * elf/tst-initordera4.c: New file.
60447 * elf/tst-initorderb1.c: New file.
60448 * elf/tst-initorderb2.c: New file.
60449 * elf/tst-order-a1.c: New file.
60450 * elf/tst-order-a2.c: New file.
60451 * elf/tst-order-a3.c: New file.
60452 * elf/tst-order-a4.c: New file.
60453 * elf/tst-order-b1.c: New file.
60454 * elf/tst-order-b2.c: New file.
60455 * elf/tst-order-main.c: New file.
60456 New test case by George Gensure <werkt0@gmail.com>.
60457
60458 2010-10-01 Andreas Schwab <schwab@redhat.com>
60459
60460 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60461 decoding ACE if AI_CANONIDN.
60462
60463 2011-01-18 Ulrich Drepper <drepper@gmail.com>
60464
60465 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
60466
60467 2011-01-17 Ulrich Drepper <drepper@gmail.com>
60468
60469 * version.h (RELEASE): Bump for 2.13 release.
60470 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
60471
60472 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
60473
60474 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
60475 MADV_NOHUGEPAGE.
60476 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
60477 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
60478 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
60479 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
60480 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
60481 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60482
60483 * posix/getconf.c: Update copyright year.
60484 * catgets/gencat.c: Likewise.
60485 * csu/version.c: Likewise.
60486 * debug/catchsegv.sh: Likewise.
60487 * debug/xtrace.sh: Likewise.
60488 * elf/ldconfig.c: Likewise.
60489 * elf/ldd.bash.in: Likewise.
60490 * elf/sprof.c (print_version): Likewise.
60491 * iconv/iconv_prog.c: Likewise.
60492 * iconv/iconvconfig.c: Likewise.
60493 * locale/programs/locale.c: Likewise.
60494 * locale/programs/localedef.c: Likewise.
60495 * malloc/memusage.sh: Likewise.
60496 * malloc/mtrace.pl: Likewise.
60497 * nscd/nscd.c (print_version): Likewise.
60498 * nss/getent.c: Likewise.
60499
60500 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
60501 PF_CAIF, and PF_ALG.
60502 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60503
60504 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
60505
60506 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
60507 (modules-names): Use them.
60508 (ifunc-test-modules, ifunc-pie-tests): Define.
60509 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
60510 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
60511 (test-extras): Likewise.
60512 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
60513 $(compile-command.c).
60514 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
60515 (all-built-dso): Define.
60516 (check-textrel.out, check-execstack.out): Depend on it.
60517
60518 * configure.in: Don't override --enable-multi-arch.
60519
60520 2011-01-15 Ulrich Drepper <drepper@gmail.com>
60521
60522 [BZ #6812]
60523 * nscd/hstcache.c (tryagain): Define.
60524 (cache_addhst): Return tryagain not notfound for temporary errors.
60525 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
60526 failed.
60527
60528 2011-01-14 Ulrich Drepper <drepper@gmail.com>
60529
60530 [BZ #10563]
60531 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
60532 to make the syscall.
60533 * sysdeps/unix/sysv/linux/setgroups.c: New file.
60534
60535 [BZ #12378]
60536 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
60537 and fall back to matching as normal character if the string ends before
60538 the matching ']' is found. This is what POSIX requires.
60539 * posix/testfnm.c: Adjust test result.
60540 * posix/globtest.sh: Adjust test result. Add new test.
60541 * posix/tst-fnmatch.input: Likewise.
60542 * posix/tst-fnmatch2.c: Add new test.
60543
60544 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
60545
60546 * elf/Makefile (check-execstack): Revert last change. Depend on
60547 check-execstack.h.
60548 (check-execstack.h): New target.
60549 (generated): Add check-execstack.h.
60550 * elf/check-execstack.c: Include "check-execstack.h".
60551 (main): Revert last change.
60552 (handle_file): Return zero if GNU_STACK is absent and
60553 DEFAULT_STACK_PERMS doesn't include PF_X.
60554
60555 2011-01-13 Ulrich Drepper <drepper@gmail.com>
60556
60557 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
60558 in child fails because the descriptor is already closed.
60559 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
60560 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
60561 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
60562
60563 [BZ #12397]
60564 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
60565 syscall.
60566
60567 [BZ #10484]
60568 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
60569 temporary buffer used to handle multi lookups locally.
60570 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
60571
60572 2011-01-12 Ulrich Drepper <drepper@gmail.com>
60573
60574 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
60575 loader is ld.so.
60576
60577 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
60578
60579 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
60580 alignment for SSE2.
60581
60582 2011-01-12 Ulrich Drepper <drepper@gmail.com>
60583
60584 [BZ #12394]
60585 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
60586 characters. When rounding increased number of integer digits recompute
60587 number of groups.
60588 * stdio-common/tst-grouping.c: New file.
60589 * stdio-common/Makefile: Add rules to build and run tst-grouping.
60590
60591 2011-01-09 Ulrich Drepper <drepper@gmail.com>
60592
60593 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
60594 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
60595
60596 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
60597 void.
60598 * bits/select.h: Likewise.
60599
60600 2011-01-08 Ulrich Drepper <drepper@gmail.com>
60601
60602 * po/ja.po: Update from translation team.
60603
60604 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
60605
60606 [BZ #11155]
60607 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
60608 implementation just like for lxstat, fxstatat, et al.
60609
60610 2010-12-27 Jim Meyering <meyering@redhat.com>
60611
60612 [BZ #12348]
60613 * posix/regexec.c (build_trtable): Return failure indication upon
60614 calloc failure. Otherwise, re_search_internal could infloop on OOM.
60615
60616 2010-12-25 Ulrich Drepper <drepper@gmail.com>
60617
60618 [BZ #12201]
60619 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
60620 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
60621 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
60622 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
60623
60624 [BZ #12207]
60625 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
60626
60627 [BZ #12204]
60628 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
60629 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
60630
60631 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
60632
60633 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
60634 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
60635 script has SORT_BY_INIT_PRIORITY.
60636 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
60637 NO_CTORS_DTORS_SECTIONS is defined.
60638 * elf/soinit.c: Likewise.
60639 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
60640 NO_CTORS_DTORS_SECTIONS is defined.
60641 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
60642 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
60643 * sysdeps/sh/init-first.c: Likewise.
60644 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
60645
60646 2010-12-24 Ulrich Drepper <drepper@gmail.com>
60647
60648 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
60649 always use the slow path.
60650
60651 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
60652
60653 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
60654 similar rule which adds the sysdep directories to the header search in
60655 order to pick up the correct platform stackinfo.h.
60656 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
60657 perform test if it is, otherwise return successfully without testing.
60658 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
60659 DEFAULT_STACK_PERMS define in stackinfo.h.
60660 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
60661 defined in stackinfo.h.
60662 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
60663 DEFAULT_STACK_PERMS defined in stackinfo.h.
60664 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
60665 * sysdeps/ia64/stackinfo.h: Likewise.
60666 * sysdeps/s390/stackinfo.h: Likewise.
60667 * sysdeps/sh/stackinfo.h: Likewise.
60668 * sysdeps/sparc/stackinfo.h: Likewise.
60669 * sysdeps/x86_64/stackinfo.h: Likewise.
60670 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
60671 PF_X for powerpc64. Retain PF_X for powerpc32.
60672
60673 2010-12-19 Ulrich Drepper <drepper@gmail.com>
60674
60675 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
60676 accurately.
60677 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
60678 GETDENTS_64BIT_ALIGNED.
60679
60680 2010-12-14 Ulrich Drepper <dreper@gmail.com>
60681
60682 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
60683
60684 2010-12-10 Andreas Schwab <schwab@redhat.com>
60685
60686 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
60687 _GNU_SOURCE.
60688
60689 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
60690 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
60691 Remove __restrict.
60692 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
60693 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
60694
60695 2010-12-09 Ulrich Drepper <drepper@gmail.com>
60696
60697 [BZ #11655]
60698 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
60699 are initialized.
60700
60701 2010-12-09 Jakub Jelinek <jakub@redhat.com>
60702
60703 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
60704
60705 2010-12-03 Ulrich Drepper <drepper@gmail.com>
60706
60707 * po/it.po: Update from translation team.
60708
60709 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
60710
60711 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
60712 unused codes.
60713
60714 2010-11-30 Ulrich Drepper <drepper@gmail.com>
60715
60716 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
60717
60718 2010-11-24 Andreas Schwab <schwab@redhat.com>
60719
60720 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
60721 specially.
60722 (gaih_getanswer_slice): Likewise.
60723
60724 2010-10-20 Jakub Jelinek <jakub@redhat.com>
60725
60726 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
60727
60728 2010-05-31 Petr Baudis <pasky@suse.cz>
60729
60730 [BZ #11149]
60731 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
60732 silently even in the chroot mode.
60733
60734 2010-11-22 Ulrich Drepper <drepper@gmail.com>
60735
60736 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
60737 last patch a bit. Pretty printing
60738
60739 2010-05-31 Petr Baudis <pasky@suse.cz>
60740
60741 [BZ #10085]
60742 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
60743 initialization of skip_initgroups_dyn.
60744
60745 2010-11-19 Ulrich Drepper <drepper@gmail.com>
60746
60747 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
60748 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60749
60750 2010-11-16 Ulrich Drepper <drepper@gmail.com>
60751
60752 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
60753
60754 2010-11-11 Andreas Schwab <schwab@redhat.com>
60755
60756 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
60757 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
60758 (tst-fnmatch-ENV): Set MALLOC_TRACE.
60759 ($(objpfx)tst-fnmatch-mem): New rule.
60760 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
60761 * posix/tst-fnmatch.c (main): Call mtrace.
60762
60763 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
60764
60765 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60766 Support Intel processor model 6 and model 0x2c.
60767
60768 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
60769
60770 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
60771 signed comparison.
60772
60773 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
60774
60775 [BZ #12205]
60776 * string/test-strncasecmp.c (check_result): New function.
60777 (do_one_test): Use it.
60778 (check1): New function.
60779 (test_main): Use it.
60780 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
60781 Support strcasecmp and strncasecmp.
60782
60783 2010-11-08 Ulrich Drepper <drepper@gmail.com>
60784
60785 [BZ #12194]
60786 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
60787 * sysdeps/x86_64/bits/byteswap.h: Likewise.
60788
60789 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
60790
60791 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
60792 IFUNC support.
60793 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60794 memset-x86-64.
60795 * sysdeps/x86_64/multiarch/bzero.S: New file.
60796 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
60797 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
60798 * sysdeps/x86_64/multiarch/memset.S: New file.
60799 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
60800 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60801 Set bit_Prefer_SSE_for_memop for Intel processors.
60802 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
60803 Define.
60804 (index_Prefer_SSE_for_memop): Define.
60805 (HAS_PREFER_SSE_FOR_MEMOP): Define.
60806
60807 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
60808
60809 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
60810 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
60811
60812 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
60813
60814 [BZ #12191]
60815 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60816 (__x86_64_raw_data_cache_size_half): Likewise.
60817 (__x86_64_raw_shared_cache_size): Likewise.
60818 (__x86_64_raw_shared_cache_size_half): Likewise.
60819
60820 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60821 (__x86_64_raw_data_cache_size_half): Likewise.
60822 (__x86_64_raw_shared_cache_size): Likewise.
60823 (__x86_64_raw_shared_cache_size_half): Likewise.
60824 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
60825 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
60826 and __x86_64_raw_shared_cache_size_half. Round
60827 __x86_64_data_cache_size_half, __x86_64_data_cache_size
60828 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
60829 to multiple of 256 bytes.
60830
60831 2010-11-03 Ulrich Drepper <drepper@gmail.com>
60832
60833 [BZ #12167]
60834 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
60835 of inacessible symlinks. Verify result of symlink before returning it.
60836 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
60837 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
60838
60839 2010-10-28 Erich Ritz <erichritz@gmail.com>
60840
60841 * math/math.h (isinf): Fix typo in comment.
60842
60843 2010-11-01 Ulrich Drepper <drepper@gmail.com>
60844
60845 * po/da.po: Update from translation team.
60846
60847 2010-10-26 Ulrich Drepper <drepper@gmail.com>
60848
60849 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
60850 is added to the list.
60851
60852 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60853 Ulrich Drepper <drepper@gmail.com>
60854
60855 * elf/dl-object.c (_dl_new_object): Don't append the new object to
60856 the global list here. Move code to...
60857 (_dl_add_to_namespace_list): ...here. New function.
60858 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
60859 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
60860 * elf/dl-load.c (lose): Don't remove the element from the list.
60861 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
60862 (_dl_map_object): Likewise.
60863
60864 2010-10-25 Ulrich Drepper <drepper@gmail.com>
60865
60866 [BZ #12159]
60867 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
60868 into all bytes of SSE register.
60869 Patch by Richard Li <richardpku@gmail.com>.
60870
60871 2010-10-24 Ulrich Drepper <drepper@gmail.com>
60872
60873 [BZ #12140]
60874 * malloc/malloc.c (_int_free): Fill correct number of bytes when
60875 perturbing.
60876
60877 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
60878
60879 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
60880 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
60881 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
60882 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
60883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
60884 submachine.
60885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
60886
60887 2010-10-22 Andreas Schwab <schwab@redhat.com>
60888
60889 * include/dlfcn.h (__RTLD_SECURE): Define.
60890 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
60891 mode & __RTLD_SECURE instead.
60892 (open_path): Rename preloaded parameter to secure.
60893 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
60894 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
60895 * elf/dl-deps.c (openaux): Likewise.
60896 * elf/rtld.c (struct map_args): Remove is_preloaded.
60897 (map_doit): Don't use it.
60898 (dl_main): Likewise.
60899 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
60900 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
60901
60902 2010-09-09 Andreas Schwab <schwab@redhat.com>
60903
60904 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
60905 (sysd-rules-targets): Remove duplicates.
60906 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
60907 rtld-%.$o dependency.
60908
60909 2010-10-18 Andreas Schwab <schwab@redhat.com>
60910
60911 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
60912 _dl_map_object do it.
60913
60914 2010-10-19 Ulrich Drepper <drepper@gmail.com>
60915
60916 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
60917 fast fma builtins, define the macros in the C99 standard.
60918 (FP_FAST_FMAF): Likewise.
60919 (FP_FAST_FMAL): Likewise.
60920 * sysdeps/x86_64/bits/mathdef.h: Likewise.
60921
60922 * bits/mathdef.h: Update copyright year.
60923 * sysdeps/powerpc/bits/mathdef.h: Likewise.
60924
60925 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
60926
60927 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
60928 builtins, define the macros in the C99 standard.
60929 (FP_FAST_FMAF): Likewise.
60930 (FP_FAST_FMAL): Likewise.
60931 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
60932 multiply/add.
60933 (FP_FAST_FMAF): Likewise.
60934
60935 2010-10-15 Jakub Jelinek <jakub@redhat.com>
60936
60937 [BZ #3268]
60938 * math/libm-test.inc (fma_test): Some new testcases.
60939 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
60940 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
60941 y and infinite z. Do multiplication by C already in long double.
60942 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
60943 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
60944 y and infinite z. Do bitwise or of inexact bit into u.d.
60945 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
60946 * sysdeps/i386/fpu/s_fmaf.S: Removed.
60947 * sysdeps/i386/fpu/s_fma.S: Removed.
60948 * sysdeps/i386/fpu/s_fmal.S: Removed.
60949
60950 2010-10-16 Jakub Jelinek <jakub@redhat.com>
60951
60952 [BZ #3268]
60953 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
60954 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
60955 computation is not scheduled after fetestexcept. Fix value
60956 of minimum denormal long double.
60957
60958 2010-10-14 Jakub Jelinek <jakub@redhat.com>
60959
60960 [BZ #3268]
60961 * math/libm-test.inc (fma_test): Add some more tests.
60962 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
60963 correctly.
60964
60965 2010-10-15 Andreas Schwab <schwab@redhat.com>
60966
60967 * scripts/data/localplt-s390-linux-gnu.data: New file.
60968 * scripts/data/localplt-s390x-linux-gnu.data: New file.
60969
60970 2010-10-13 Jakub Jelinek <jakub@redhat.com>
60971
60972 [BZ #3268]
60973 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
60974 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
60975 instead of dbl-64.
60976 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
60977 inlines.
60978 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
60979 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
60980 if one of x and y is very large and the other is subnormal.
60981 * sysdeps/s390/fpu/s_fmaf.c: New file.
60982 * sysdeps/s390/fpu/s_fma.c: New file.
60983 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
60984 * sysdeps/powerpc/fpu/s_fma.S: New file.
60985 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
60986 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
60987 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
60988
60989 2010-10-12 Jakub Jelinek <jakub@redhat.com>
60990
60991 [BZ #3268]
60992 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
60993 fma tests.
60994 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
60995 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
60996 * sysdeps/i386/i686/multiarch/s_fma.c: Include
60997 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
60998 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
60999 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
61000 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
61001
61002 2010-10-12 Ulrich Drepper <drepper@redhat.com>
61003
61004 [BZ #12078]
61005 * posix/regcomp.c (parse_branch): One more memory leak plugged.
61006 * posix/bug-regex31.input: Add test case.
61007
61008 2010-10-11 Ulrich Drepper <drepper@gmail.com>
61009
61010 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
61011 * posix/bug-regex31.input: New file.
61012
61013 [BZ #12078]
61014 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
61015 (parse_sub_exp): Fix last change, use postorder.
61016
61017 * posix/bug-regex31.c: New file.
61018 * posix/Makefile: Add rules to build and run bug-regex31.
61019
61020 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
61021
61022 [BZ #12078]
61023 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
61024
61025 [BZ #12108]
61026 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
61027 to have entries in sys_siglist.
61028
61029 [BZ #12093]
61030 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
61031 be NULL.
61032
61033 2010-10-07 Jakub Jelinek <jakub@redhat.com>
61034
61035 [BZ #3268]
61036 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
61037 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
61038 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
61039 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
61040 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
61041 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
61042 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
61043 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
61044 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
61045 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
61046 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
61047 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
61048 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
61049 * math/ftestexcept.c (fetestexcept): Likewise.
61050 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
61051 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
61052 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
61053 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
61054 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
61055 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
61056 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61057
61058 2010-10-11 Ulrich Drepper <drepper@gmail.com>
61059
61060 [BZ #12107]
61061 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
61062 newline.
61063
61064 2010-10-06 Ulrich Drepper <drepper@gmail.com>
61065
61066 * string/bug-strstr1.c: New file.
61067 * string/Makefile: Add rules to build and run bug-strstr1.
61068
61069 2010-10-05 Eric Blake <eblake@redhat.com>
61070
61071 [BZ #12092]
61072 * string/str-two-way.h (two_way_long_needle): Always clear memory
61073 when skipping input due to the shift table.
61074
61075 2010-10-03 Ulrich Drepper <drepper@gmail.com>
61076
61077 [BZ #12005]
61078 * malloc/mcheck.c: Handle large requests.
61079
61080 [BZ #12077]
61081 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
61082 for strncmp and strncasecmp.
61083 * string/stratcliff.c: Add tests for strcmp and strncmp.
61084 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
61085
61086 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
61087
61088 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
61089 __set_fpscr.
61090
61091 2010-09-30 Andreas Jaeger <aj@suse.de>
61092
61093 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
61094 (CGROUP_SUPER_MAGIC): Define.
61095 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61096 Handle btrfs and cgroup file systems.
61097 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
61098 Likewise.
61099
61100 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
61101
61102 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
61103 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
61104
61105 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61106
61107 [BZ #12067]
61108 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
61109 trying to locate the ELF header.
61110
61111 2010-09-27 Andreas Schwab <schwab@redhat.com>
61112
61113 [BZ #11611]
61114 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
61115 Mask out sign-bit copies when constructing f_fsid.
61116
61117 2010-09-24 Petr Baudis <pasky@suse.cz>
61118
61119 * debug/stack_chk_fail_local.c: Add missing licence exception.
61120 * debug/warning-nop.c: Likewise.
61121
61122 2010-09-15 Joseph Myers <joseph@codesourcery.com>
61123
61124 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
61125 implementing getdents64 using getdents syscall, set d_type if
61126 __ASSUME_GETDENTS32_D_TYPE.
61127
61128 2010-09-16 Andreas Schwab <schwab@redhat.com>
61129
61130 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
61131 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
61132
61133 2010-09-21 Ulrich Drepper <drepper@redhat.com>
61134
61135 [BZ #12037]
61136 * posix/unistd.h: Undo change of feature selection for ftruncate from
61137 2010-01-11.
61138
61139 2010-09-20 Ulrich Drepper <drepper@redhat.com>
61140
61141 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
61142 detection.
61143
61144 2010-09-20 Andreas Schwab <schwab@redhat.com>
61145
61146 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
61147 fanotify_mark.
61148 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61149
61150 2010-09-14 Andreas Schwab <schwab@redhat.com>
61151
61152 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
61153 variables after CHECK_SP call.
61154 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
61155
61156 2010-09-13 Andreas Schwab <schwab@redhat.com>
61157 Ulrich Drepper <drepper@redhat.com>
61158
61159 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
61160 re-relocationg ld.so.
61161 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
61162 _dl_init_paths call.
61163 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
61164 here anymore.
61165
61166 2010-09-14 Ulrich Drepper <drepper@redhat.com>
61167
61168 * resolv/res_init.c (__res_vinit): Count the default server we added.
61169
61170 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
61171 Ulrich Drepper <drepper@redhat.com>
61172
61173 [BZ #11968]
61174 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
61175 (____longjmp_chk): Use %ebx for saving value across system call.
61176 Add unwind info.
61177
61178 2010-09-06 Andreas Schwab <schwab@redhat.com>
61179
61180 * manual/Makefile: Don't mix pattern rules with normal rules.
61181
61182 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
61183
61184 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
61185 operation.
61186 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
61187 * libio/iofopncook.c (_IO_cookie_init): Likewise.
61188 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
61189 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
61190 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61191 Likewise.
61192
61193 2010-09-04 Ulrich Drepper <drepper@redhat.com>
61194
61195 [BZ #11979]
61196 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
61197 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
61198
61199 2010-09-02 Ulrich Drepper <drepper@redhat.com>
61200
61201 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
61202 * sysdeps/x86_64/addmul_1.S: Likewise.
61203 * sysdeps/x86_64/lshift.S: Likewise.
61204 * sysdeps/x86_64/mul_1.S: Likewise.
61205 * sysdeps/x86_64/rshift.S: Likewise.
61206 * sysdeps/x86_64/sub_n.S: Likewise.
61207 * sysdeps/x86_64/submul_1.S: Likewise.
61208
61209 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
61210
61211 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
61212 Define __sched_param instead of SCHED_* and sched_param when
61213 <bits/sched.h> is included with __need_schedparam defined.
61214 * bits/sched.h [__need_schedparam]
61215 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
61216 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
61217 (__defined_schedparam): Define to 1.
61218 (__sched_param): New structure, identical to sched_param.
61219 (__need_schedparam): Undefine.
61220
61221 2010-08-31 Mike Frysinger <vapier@gentoo.org>
61222
61223 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
61224 (epoll_create1): Declare.
61225
61226 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
61227
61228 2010-08-31 Andreas Schwab <schwab@redhat.com>
61229
61230 [BZ #7066]
61231 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
61232 shifting retval into place.
61233
61234 2010-09-01 Ulrich Drepper <drepper@redhat.com>
61235
61236 * nis/rpcsvc/nis.h: Update copyright notice.
61237 * nis/rpcsvc/nis.x: Likewise.
61238 * nis/rpcsvc/nis_callback.h: Likewise.
61239 * nis/rpcsvc/nis_callback.x: Likewise.
61240 * nis/rpcsvc/nis_object.x: Likewise.
61241 * nis/rpcsvc/nis_tags.h: Likewise.
61242 * nis/rpcsvc/yp.h: Likewise.
61243 * nis/rpcsvc/yp.x: Likewise.
61244 * nis/rpcsvc/ypupd.h: Likewise.
61245 * nis/yp_xdr.c: Likewise.
61246 * nis/ypupdate_xdr.c: Likewise.
61247
61248 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
61249 mainly the body of pmap_getport. Add parameters to specify timeouts.
61250 (pmap_getport): Use __libc_rpc_getport.
61251 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
61252 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
61253 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
61254
61255 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
61256
61257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
61258 fanotify_mark.
61259
61260 2010-08-27 Roland McGrath <roland@redhat.com>
61261
61262 * sysdeps/i386/i686/multiarch/Makefile
61263 (CFLAGS-varshift.c): New variable.
61264
61265 2010-08-27 Ulrich Drepper <drepper@redhat.com>
61266
61267 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
61268 * sysdeps/i386/i686/multiarch/varshift.c: New file.
61269
61270 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
61271
61272 * sysdeps/x86_64/strlen.S: Minimal code improvement.
61273
61274 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
61275
61276 * sysdeps/x86_64/strlen.S: Unroll the loop.
61277 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61278 strlen-sse2 strlen-sse2-bsf.
61279 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
61280 __strlen_no_bsf if bit_Slow_BSF is set.
61281 (__strlen_sse42): Removed.
61282 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
61283 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
61284
61285 2010-08-25 Roland McGrath <roland@redhat.com>
61286
61287 * sysdeps/x86_64/multiarch/varshift.S: File removed.
61288 * sysdeps/x86_64/multiarch/varshift.c: New file.
61289 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
61290 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
61291 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
61292 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
61293
61294 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
61295
61296 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61297 strlen-sse2 strlen-sse2-bsf.
61298 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
61299 __strlen_sse2_bsf if bit_Slow_BSF is unset.
61300 (__strlen_sse2): Removed.
61301 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
61302 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
61303 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
61304 bit_Slow_BSF for Atom.
61305 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
61306 (index_Slow_BSF): Define.
61307 (HAS_SLOW_BSF): Define.
61308
61309 2010-08-25 Ulrich Drepper <drepper@redhat.com>
61310
61311 [BZ #10851]
61312 * resolv/res_init.c (__res_vinit): When no server address at all
61313 is given default to loopback.
61314
61315 2010-08-24 Roland McGrath <roland@redhat.com>
61316
61317 * configure.in: Remove config-name.h generation.
61318 * configure: Regenerated.
61319 * config-name.in: File removed.
61320 * scripts/config-uname.sh: New file.
61321 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
61322 ($(objdir)config-name.h): New target.
61323
61324 * sunrpc/rpc_parse.h: Avoid nested comment.
61325
61326 2010-08-24 Richard Henderson <rth@redhat.com>
61327 Ulrich Drepper <drepper@redhat.com>
61328 H.J. Lu <hongjiu.lu@intel.com>
61329
61330 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
61331 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
61332 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
61333 Replace _mm_srli_si128 with __m128i_shift_right. Replace
61334 _mm_alignr_epi8 with _mm_loadu_si128.
61335 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
61336 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
61337 (__m128i_shift_right): Removed.
61338 * sysdeps/i386/i686/multiarch/varshift.h: New file.
61339 * sysdeps/i386/i686/multiarch/varshift.S: New file.
61340 * sysdeps/x86_64/multiarch/varshift.h: New file.
61341 * sysdeps/x86_64/multiarch/varshift.S: New file.
61342
61343 2010-08-21 Mike Frysinger <vapier@gentoo.org>
61344
61345 * configure.in: Move assembler checks to before sysdep dir checking.
61346
61347 2010-08-20 Petr Baudis <pasky@suse.cz>
61348
61349 * LICENSES: Sync the sunrpc license.
61350
61351 2010-08-19 Ulrich Drepper <drepper@redhat.com>
61352
61353 * sunrpc/auth_des.c: Update copyright notice once again.
61354 * sunrpc/auth_none.c: Likewise.
61355 * sunrpc/auth_unix.c: Likewise.
61356 * sunrpc/authdes_prot.c: Likewise.
61357 * sunrpc/authuxprot.c: Likewise.
61358 * sunrpc/bindrsvprt.c: Likewise.
61359 * sunrpc/clnt_gen.c: Likewise.
61360 * sunrpc/clnt_perr.c: Likewise.
61361 * sunrpc/clnt_raw.c: Likewise.
61362 * sunrpc/clnt_simp.c: Likewise.
61363 * sunrpc/clnt_tcp.c: Likewise.
61364 * sunrpc/clnt_udp.c: Likewise.
61365 * sunrpc/clnt_unix.c: Likewise.
61366 * sunrpc/des_crypt.c: Likewise.
61367 * sunrpc/des_soft.c: Likewise.
61368 * sunrpc/get_myaddr.c: Likewise.
61369 * sunrpc/getrpcport.c: Likewise.
61370 * sunrpc/key_call.c: Likewise.
61371 * sunrpc/key_prot.c: Likewise.
61372 * sunrpc/openchild.c: Likewise.
61373 * sunrpc/pm_getmaps.c: Likewise.
61374 * sunrpc/pm_getport.c: Likewise.
61375 * sunrpc/pmap_clnt.c: Likewise.
61376 * sunrpc/pmap_prot.c: Likewise.
61377 * sunrpc/pmap_prot2.c: Likewise.
61378 * sunrpc/pmap_rmt.c: Likewise.
61379 * sunrpc/rpc/auth.h: Likewise.
61380 * sunrpc/rpc/auth_unix.h: Likewise.
61381 * sunrpc/rpc/clnt.h: Likewise.
61382 * sunrpc/rpc/des_crypt.h: Likewise.
61383 * sunrpc/rpc/key_prot.h: Likewise.
61384 * sunrpc/rpc/netdb.h: Likewise.
61385 * sunrpc/rpc/pmap_clnt.h: Likewise.
61386 * sunrpc/rpc/pmap_prot.h: Likewise.
61387 * sunrpc/rpc/pmap_rmt.h: Likewise.
61388 * sunrpc/rpc/rpc.h: Likewise.
61389 * sunrpc/rpc/rpc_des.h: Likewise.
61390 * sunrpc/rpc/rpc_msg.h: Likewise.
61391 * sunrpc/rpc/svc.h: Likewise.
61392 * sunrpc/rpc/svc_auth.h: Likewise.
61393 * sunrpc/rpc/types.h: Likewise.
61394 * sunrpc/rpc/xdr.h: Likewise.
61395 * sunrpc/rpc_clntout.c: Likewise.
61396 * sunrpc/rpc_cmsg.c: Likewise.
61397 * sunrpc/rpc_common.c: Likewise.
61398 * sunrpc/rpc_cout.c: Likewise.
61399 * sunrpc/rpc_dtable.c: Likewise.
61400 * sunrpc/rpc_hout.c: Likewise.
61401 * sunrpc/rpc_main.c: Likewise.
61402 * sunrpc/rpc_parse.c: Likewise.
61403 * sunrpc/rpc_parse.h: Likewise.
61404 * sunrpc/rpc_prot.c: Likewise.
61405 * sunrpc/rpc_sample.c: Likewise.
61406 * sunrpc/rpc_scan.c: Likewise.
61407 * sunrpc/rpc_scan.h: Likewise.
61408 * sunrpc/rpc_svcout.c: Likewise.
61409 * sunrpc/rpc_tblout.c: Likewise.
61410 * sunrpc/rpc_util.c: Likewise.
61411 * sunrpc/rpc_util.h: Likewise.
61412 * sunrpc/rpcinfo.c: Likewise.
61413 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
61414 * sunrpc/rpcsvc/key_prot.x: Likewise.
61415 * sunrpc/rpcsvc/klm_prot.x: Likewise.
61416 * sunrpc/rpcsvc/mount.x: Likewise.
61417 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
61418 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
61419 * sunrpc/rpcsvc/rex.x: Likewise.
61420 * sunrpc/rpcsvc/rstat.x: Likewise.
61421 * sunrpc/rpcsvc/rusers.x: Likewise.
61422 * sunrpc/rpcsvc/sm_inter.x: Likewise.
61423 * sunrpc/rpcsvc/spray.x: Likewise.
61424 * sunrpc/rpcsvc/yppasswd.x: Likewise.
61425 * sunrpc/rtime.c: Likewise.
61426 * sunrpc/svc.c: Likewise.
61427 * sunrpc/svc_auth.c: Likewise.
61428 * sunrpc/svc_authux.c: Likewise.
61429 * sunrpc/svc_raw.c: Likewise.
61430 * sunrpc/svc_run.c: Likewise.
61431 * sunrpc/svc_simple.c: Likewise.
61432 * sunrpc/svc_tcp.c: Likewise.
61433 * sunrpc/svc_udp.c: Likewise.
61434 * sunrpc/svc_unix.c: Likewise.
61435 * sunrpc/svcauth_des.c: Likewise.
61436 * sunrpc/xcrypt.c: Likewise.
61437 * sunrpc/xdr.c: Likewise.
61438 * sunrpc/xdr_array.c: Likewise.
61439 * sunrpc/xdr_float.c: Likewise.
61440 * sunrpc/xdr_mem.c: Likewise.
61441 * sunrpc/xdr_rec.c: Likewise.
61442 * sunrpc/xdr_ref.c: Likewise.
61443 * sunrpc/xdr_sizeof.c: Likewise.
61444 * sunrpc/xdr_stdio.c: Likewise.
61445
61446 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
61447 handling.
61448
61449 2010-08-19 Andreas Schwab <schwab@redhat.com>
61450
61451 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
61452
61453 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
61454
61455 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
61456 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
61457 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
61458 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
61459 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
61460 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
61461 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
61462 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
61463 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
61464 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
61465 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
61466 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
61467 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
61468 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
61469
61470 2010-07-26 Anton Blanchard <anton@samba.org>
61471
61472 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
61473 * malloc/arena.c (heap_trim): Likewise.
61474
61475 2010-08-16 Ulrich Drepper <drepper@redhat.com>
61476
61477 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
61478 here. Not...
61479 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
61480 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
61481
61482 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
61483
61484 * sysdeps/i386/elf/Makefile: New file.
61485
61486 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
61487
61488 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
61489 from fanotify_init.
61490 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
61491 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61492
61493 2010-08-15 Ulrich Drepper <drepper@redhat.com>
61494
61495 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
61496 of strncasecmp_l.
61497 * sysdeps/multiarch/strcmp.S: Likewise.
61498
61499 2010-08-14 Ulrich Drepper <drepper@redhat.com>
61500
61501 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61502 strncase_l-nonascii.
61503 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61504 Add strncase_l-ssse3.
61505 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
61506 * sysdeps/x86_64/strcmp.S: Likewise.
61507 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
61508 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
61509 * sysdeps/x86_64/strncase.S: New file.
61510 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
61511 * sysdeps/x86_64/strncase_l.S: New file.
61512 * string/Makefile (strop-tests): Add strncasecmp.
61513 * string/test-strncasecmp.c: New file.
61514
61515 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
61516 warning.
61517
61518 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
61519 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
61520
61521 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
61522
61523 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
61524
61525 2010-08-12 Ulrich Drepper <drepper@redhat.com>
61526
61527 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
61528 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
61529 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
61530
61531 2010-05-01 Alan Modra <amodra@gmail.com>
61532
61533 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
61534 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
61535 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
61536 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
61537 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
61538 tidying. Don't tail-call __sigjmp_save for static lib.
61539 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
61540 save location.
61541 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
61542 (CALL_MCOUNT): Add eh info, and nop after bl.
61543 (TAIL_CALL_SYSCALL_ERROR): New macro.
61544 (PSEUDO_RET): Use it.
61545 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
61546 Correct save location of integer regs and cr.
61547 (_dl_profile_resolve): Correct cr save location. Delete nops
61548 after bl when SHARED. Reduce cfi size a little by better
61549 placement of cfi directives.
61550 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
61551 make a stack frame. Instead use parm save area as a temp.
61552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
61553 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
61554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
61555 Don't make a stack frame for parent, use parm save area.
61556 Increase child stack frame to 112 bytes. Don't save unused reg,
61557 and adjust reg usage. Set up cfi on error recovery and
61558 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
61559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
61560 (__makecontext): Add dummy nop after jump to exit.
61561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
61562 Use correct parm save area and cr save, reduce stack frame.
61563 Correct cfi for possible PSEUDO_RET frame setup.
61564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
61565 Branch to local label emitted by PSEUDO_RET rather than
61566 __syscall_error.
61567
61568 2010-08-12 Andreas Schwab <schwab@redhat.com>
61569
61570 [BZ #11904]
61571 * locale/programs/locale.c (print_assignment): New function.
61572 (show_locale_vars): Use it.
61573
61574 2010-08-11 Ulrich Drepper <drepper@redhat.com>
61575
61576 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
61577 field.
61578 (struct statfs64): Likewise.
61579 (_STATFS_F_FLAGS): Define.
61580 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
61581 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61582 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
61583 (ST_VALID): Define locally.
61584 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
61585 __statvfs_getflags, use the provided value.
61586 * sysdeps/unix/sysv/linux/kernel-features.h: Define
61587 __ASSUME_STATFS_F_FLAGS.
61588
61589 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
61590
61591 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
61592 Add sys/fanotify.h.
61593 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
61594 fanotify_mask for GLIBC_2.13.
61595 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
61596 fanotify_init and fanotify_mark.
61597 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61598 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
61599
61600 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
61601 Add prlimit.
61602 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
61603 prlimit64 for GLIBC_2.13.
61604 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
61605 prlimit64.
61606 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
61607 syscall.
61608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
61609 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61610 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
61611 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
61612 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
61613 add prlimit alias.
61614 * sysdeps/unix/sysv/linux/prlimit.c: New file.
61615
61616 [BZ #11903]
61617 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
61618 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
61619
61620 * nss/Makefile: Add rules to build and run tst-nss-test1.
61621 * shlib-versions: Add entry for libnss_test1.
61622 * nss/nss_test1.c: New file.
61623 * nss/tst-nss-test1.c: New file.
61624
61625 * nss/nsswitch.c (__nss_database_custom): Define new variable.
61626 (__nss_configure_lookup): Set appropriate entry in
61627 __nss_configure_lookup to true.
61628 * nss/nsswitch.h: Define enum with indeces of databases in
61629 databases and __nss_database_custom arrays. Declare
61630 __nss_database_custom.
61631 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
61632 to avoid using nscd when custom rules are installed.
61633 * nss/getXXbyYY_r.c: Likewise.
61634 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61635
61636 * nss/nss_files/files-parse.c: Whitespace fixes.
61637
61638 2010-08-09 Ulrich Drepper <drepper@redhat.com>
61639
61640 [BZ #11883]
61641 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
61642 * posix/fnmatch_loop.c: Likewise.
61643
61644 2010-07-17 Andi Kleen <ak@linux.intel.com>
61645
61646 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
61647 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
61648 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
61649 * Versions.def [GLIBC_2.13]: Add.
61650
61651 2010-08-06 Ulrich Drepper <drepper@redhat.com>
61652
61653 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61654 Also fail if tpwd after pwuid call is NULL.
61655
61656 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
61657
61658 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
61659 when converting to ms.
61660
61661 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
61662
61663 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
61664 EOPNOTSUPP errors with ENOTTY.
61665 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
61666 EOPNOTSUPP errors with ENOTTY.
61667
61668 2010-07-31 Ulrich Drepper <drepper@redhat.com>
61669
61670 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61671 Add strcasecmp_l-ssse3.
61672 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
61673 strcasecmp.
61674 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
61675 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
61676 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
61677
61678 2010-07-30 Ulrich Drepper <drepper@redhat.com>
61679
61680 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
61681
61682 * string/Makefile (strop-tests): Add strcasecmp.
61683 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61684 strcasecmp_l-nonascii.
61685 (gen-as-const-headers): Add locale-defines.sym.
61686 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
61687 * sysdeps/x86_64/strcasecmp.S: New file.
61688 * sysdeps/x86_64/strcasecmp_l.S: New file.
61689 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
61690 * sysdeps/x86_64/locale-defines.sym: New file.
61691 * string/test-strcasecmp.c: New file.
61692
61693 * string/test-strcasestr.c: Test both ends of the range of characters.
61694 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
61695
61696 2010-07-29 Roland McGrath <roland@redhat.com>
61697
61698 [BZ #11856]
61699 * manual/locale.texi (Yes-or-No Questions): Fix example code.
61700
61701 2010-07-27 Ulrich Drepper <drepper@redhat.com>
61702
61703 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
61704 for ld.so.
61705
61706 2010-07-27 Andreas Schwab <schwab@redhat.com>
61707
61708 * manual/memory.texi (Malloc Tunable Parameters): Document
61709 M_PERTURB.
61710
61711 2010-07-26 Roland McGrath <roland@redhat.com>
61712
61713 [BZ #11840]
61714 * configure.in (-fgnu89-inline check): Set and substitute
61715 gnu89_inline, not libc_cv_gnu89_inline.
61716 * configure: Regenerated.
61717 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
61718
61719 2010-07-26 Ulrich Drepper <drepper@redhat.com>
61720
61721 * string/test-strnlen.c: New file.
61722 * string/Makefile (strop-tests): Add strnlen.
61723 * string/tester.c (test_strnlen): Add a few more test cases.
61724 * string/tst-strlen.c: Better error reporting.
61725
61726 * sysdeps/x86_64/strnlen.S: New file.
61727
61728 2010-07-24 Ulrich Drepper <drepper@redhat.com>
61729
61730 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
61731 lower-latency instructions.
61732
61733 2010-07-23 Ulrich Drepper <drepper@redhat.com>
61734
61735 * string/test-strcasestr.c: New file.
61736 * string/test-strstr.c: New file.
61737 * string/Makefile (strop-tests): Add strstr and strcasestr.
61738 * string/str-two-way.h: Don't undefine MAX.
61739 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
61740
61741 2010-07-21 Andreas Schwab <schwab@redhat.com>
61742
61743 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61744 strcasestr-nonascii.
61745 (CFLAGS-strcasestr-nonascii.c): Define.
61746 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
61747 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
61748 Remove unused attribute.
61749
61750 2010-07-20 Roland McGrath <roland@redhat.com>
61751
61752 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
61753 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
61754 ld.so.cache was broken. With it, there is no way to disable dsocaps
61755 like LD_HWCAP_MASK can disable hwcaps.
61756
61757 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
61758
61759 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
61760
61761 2010-07-16 Ulrich Drepper <drepper@redhat.com>
61762
61763 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
61764 call in strcasestr.
61765 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
61766 __strcasestr_sse42_nonascii.
61767 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
61768 strcasestr-nonascii.c.
61769 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
61770
61771 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
61772
61773 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
61774 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
61775 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
61776 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
61777
61778 2010-07-09 Ulrich Drepper <drepper@redhat.com>
61779
61780 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
61781 fcntl.
61782
61783 2010-07-06 Andreas Schwab <schwab@redhat.com>
61784
61785 [BZ #11577]
61786 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
61787 dl_signal_cerror.
61788
61789 2010-07-06 Ulrich Drepper <drepper@redhat.com>
61790
61791 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
61792 _PC_PIPE_BUF using F_GETPIPE_SZ.
61793
61794 2010-07-05 Roland McGrath <roland@redhat.com>
61795
61796 * manual/arith.texi (Rounding Functions): Fix rint description
61797 implicit in round description.
61798
61799 2010-07-02 Ulrich Drepper <drepper@redhat.com>
61800
61801 * elf/Makefile: Fix linking for a few tests to make recent linker
61802 happy.
61803
61804 2010-06-30 Andreas Schwab <schwab@redhat.com>
61805
61806 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
61807 $(common-objpfx)libc_nonshared.a.
61808
61809 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
61810
61811 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
61812 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
61813 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61814 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61815 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
61816 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
61817 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61818 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
61820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
61821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
61822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
61824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
61826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
61827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
61828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
61829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
61831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
61833 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
61834 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
61835 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
61836 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
61837 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
61838 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
61839 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
61840 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
61841 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
61842 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
61843 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
61844 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
61845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
61846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
61847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
61848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
61849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
61850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
61851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
61852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
61853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
61854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
61855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
61856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
61857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
61858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
61859
61860 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
61861
61862 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
61863 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
61864 * string/memmove.c (memmove): Renamed to ...
61865 (MEMMOVE): ...this. Default to memmove.
61866 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
61867 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
61868 (END_CHK): Define.
61869 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61870 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
61871 mempcpy-ssse3-back memmove-ssse3-back.
61872 * sysdeps/x86_64/multiarch/bcopy.S: New file .
61873 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
61874 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
61875 * sysdeps/x86_64/multiarch/memcpy.S: New file.
61876 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
61877 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
61878 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
61879 * sysdeps/x86_64/multiarch/memmove.c: New file.
61880 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
61881 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
61882 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
61883 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
61884 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
61885 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
61886 Define.
61887 (index_Fast_Copy_Backward): Define.
61888 (HAS_ARCH_FEATURE): Define.
61889 (HAS_FAST_REP_STRING): Define.
61890 (HAS_FAST_COPY_BACKWARD): Define.
61891
61892 2010-06-21 Andreas Schwab <schwab@redhat.com>
61893
61894 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61895 Restore proper fallback handling.
61896
61897 2010-06-19 Ulrich Drepper <drepper@redhat.com>
61898
61899 [BZ #11701]
61900 * posix/group_member.c (__group_member): Correct checking loop.
61901
61902 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
61903 OOM in getpwuid_r correctly. Return error number when the caller
61904 should return, otherwise -1.
61905 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
61906 call returning > 0 value.
61907 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
61908
61909 2010-06-07 Andreas Schwab <schwab@redhat.com>
61910
61911 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
61912 libc_nonshared.a from targets in modules-names.
61913
61914 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
61915
61916 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
61917 requires it.
61918
61919 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
61920
61921 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
61922 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
61923 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
61924 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
61925
61926 2010-06-02 Andreas Schwab <schwab@redhat.com>
61927
61928 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
61929
61930 2010-06-14 Ulrich Drepper <drepper@redhat.com>
61931
61932 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
61933 and F_GETPIPE_SZ.
61934 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61935 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61936 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61937 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61938 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61939 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
61940
61941 2010-06-14 Roland McGrath <roland@redhat.com>
61942
61943 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
61944
61945 2010-06-07 Jakub Jelinek <jakub@redhat.com>
61946
61947 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
61948 __REDIRECT followed by __THROW.
61949 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
61950 * posix/getopt.h (getopt): Likewise.
61951
61952 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
61953
61954 * hurd/lookup-at.c (__file_name_lookup_at): Accept
61955 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
61956 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
61957 in AT_FLAGS.
61958 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
61959 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
61960
61961 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
61962
61963 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
61964
61965 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
61966
61967 [BZ #11640]
61968 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61969 Properly check family and model.
61970
61971 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
61972
61973 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
61974
61975 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
61976
61977 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
61978
61979 2010-05-21 Ulrich Drepper <drepper@redhat.com>
61980
61981 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
61982 symbol reference.
61983
61984 2010-05-19 Andreas Schwab <schwab@redhat.com>
61985
61986 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
61987 symbol reference.
61988
61989 2010-05-21 Andreas Schwab <schwab@redhat.com>
61990
61991 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
61992 and internal_recvmmsg.
61993 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
61994 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
61995 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
61996 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
61997
61998 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
61999 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
62000 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
62001
62002 2010-05-20 Andreas Schwab <schwab@redhat.com>
62003
62004 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
62005
62006 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
62007
62008 POWER7 optimizations.
62009 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
62010 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
62011
62012 2010-05-19 Ulrich Drepper <drepper@redhat.com>
62013
62014 * version.h: Update for 2.13 development version.
62015
62016 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
62017
62018 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
62019 exceptions. Return 0.
62020
62021 2010-05-07 Roland McGrath <roland@redhat.com>
62022
62023 * elf/ldconfig.c (main): Add a const.
62024
62025 2010-05-06 Ulrich Drepper <drepper@redhat.com>
62026
62027 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
62028 (args_options): Add no-idn option.
62029 (ahosts_keys_int): Add idn_flags to ai_flags.
62030 (parse_option): Handle 'i' option to clear idn_flags.
62031
62032 * malloc/malloc.c (_int_free): Possible race in the most recently
62033 added check. Only act on the data if no current modification
62034 happened.
62035
62036 See ChangeLog.17 for earlier changes.