]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
pwd.h: add __nonnull markings [BZ #18641]
[thirdparty/glibc.git] / ChangeLog
CommitLineData
61d95397
MF
12015-07-08 Mike Frysinger <vapier@gentoo.org>
2
3 [BZ #18641]
4 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
5 (putpwent): Likewise.
6 (getpwnam): Likewise.
7 (getpwent_r): Likewise.
8 (getpwuid_r): Likewise.
9 (getpwnam_r): Likewise.
10 (fgetpwent_r): Likewise.
11
8b59c733
CD
122015-06-18 Carlos O'Donell <carlos@redhat.com>
13
14 [BZ #18557]
15 * inet/rcmd.c (__validuser2_sa): Check user first to
16 short-circuit host check.
17
02d5e5d9
PK
182015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
19 Mikhail Ilin <m.ilin@samsung.com>
20
21 [BZ #17833]
22 * elf/Makefile (tests): Add tst-nodelete.
23 (modules-names): Add tst-nodelete-uniquemod.
24 (tst-nodelete-uniquemod.so-no-z-defs): New.
25 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
26 (tst-nodelete-zmod.so-no-z-defs): Likewise.
27 ($(objpfx)tst-nodelete): Likewise.
28 ($(objpfx)tst-nodelete.out): Likewise.
29 (LDFLAGS-tst-nodelete): Likewise.
30 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
31 * elf/dl-close.c (_dl_close_worker): Add a parameter to
32 implement forced object deletion.
33 (_dl_close): Pass false to _dl_close_worker.
34 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
35 * elf/tst-nodelete.cc: New file.
36 * elf/tst-nodeletelib.cc: Likewise.
37 * elf/tst-znodeletelib.cc: Likewise.
38 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
39
890b7a4b
SL
402015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
41
42 [BZ #18508]
43 * stdlib/Makefile ($(objpfx)tst-makecontext3):
44 Depend on $(libdl).
45 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
46 is not called infinitely times.
47 (backtrace_helper): New function.
48 (trace_arg): New struct.
49 (st1): Enlarge stack size.
50 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
51 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
52 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
53 Likewise.
54
fa4eeac7
SL
552015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
56
57 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
58
3fdc131c
SL
592015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
60
61 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
62 Include sys/types.h instead of bits/types.h.
63 Remove inclusion of bits/wordsize.h.
64
9aec6d2a
L
652015-07-07 H.J. Lu <hongjiu.lu@intel.com>
66
67 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
68 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
69 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
70 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
71 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
72 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
73
ddd85a65
L
742015-07-07 H.J. Lu <hongjiu.lu@intel.com>
75
76 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
77 link-defines.sym.
78 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
79 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
80 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
81 and LR_SIZE.
82 * sysdeps/i386/link-defines.sym: New file.
83
fa9fef1f
L
842015-07-07 H.J. Lu <hongjiu.lu@intel.com>
85
86 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
87 (modules-names): Add tst-auditmod3a tst-auditmod3b.
88 ($(objpfx)tst-audit3): New rule.
89 ($(objpfx)tst-audit3.out): Likewise.
90 * sysdeps/i386/tst-audit3.c: New file.
91 * sysdeps/i386/tst-audit3.h: Likewise.
92 * sysdeps/i386/tst-auditmod3a.c: Likewise.
93 * sysdeps/i386/tst-auditmod3b.c: Likewise.
94
213a2be7
TR
952015-07-07 Torvald Riegel <triegel@redhat.com>
96
97 [BZ #18633]
98 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
99 pointer in C code.
100 (__strcat_c): Likewise.
101 (__strcat_g): Likewise.
102
c13e0783
CH
1032015-07-07 Cyril Hrubis <chrubis@suse.cz>
104
105 [BZ #18592]
106 * misc/sbrk.c: Set errno to ENOMEM on overflow.
107
64711904
WD
1082015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
109
110 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
111 New function. (__ieee754_sqrtf): New function.
112 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
113 New function.
114 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
115 New function.
116
a1b85e1d
WD
1172015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
118
119 * sysdeps/ieee754/support.c: Remove unused file.
120
2b1d7148
SN
1212015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
122
123 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
124 registers instead of d ones so the layout is kernel abi compatible.
125 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
126 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
127 Likewise.
128
cfe4368e
SN
1292015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
130
131 * sysdeps/aarch64/libm-test-ulps: Regenerated.
132
a04bb330
JM
1332015-07-01 Joseph Myers <joseph@codesourcery.com>
134
135 [BZ #18619]
136 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
137 and return argument in case of subnormal argument.
138
ed225df3
MS
1392015-07-01 Martin Sebor <msebor@redhat.com>
140
141 [BZ #18435]
142 * nptl/Makefile: Add tst-once5.cc.
143 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
144 Remove macro redefinitions.
145 * nptl/tst-once5.cc: New test.
146
1dd751a3
JM
1472015-07-01 Joseph Myers <joseph@codesourcery.com>
148
9081b7bc
JM
149 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
150
1ef3a806
JM
151 * sysdeps/arm/libm-test-ulps: Regenerated.
152
1dd751a3
JM
153 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
154 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
155
4eb984d3
TR
1562015-06-30 Torvald Riegel <triegel@redhat.com>
157
4ac0fd48
TR
158 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
159 lll_lock_wait_private and lll_futex_wake probes.
160
4eb984d3
TR
161 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
162 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
163 Likewise.
164 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
165 atomic_spin_nop.
166 * sysdeps/x86_64/bits/atomic.h: Likewise.
167 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
168 to atomic_spin_nop and move ...
169 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
170 ... here and ...
171 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
172 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
173 atomic_spin_nop instead of BUSY_WAIT_NOP.
174 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
175 Likewise.
176 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
177 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
178 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
179 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
180 instead of atomic_delay.
181
31545c23
JM
1822015-06-29 Joseph Myers <joseph@codesourcery.com>
183
e02920bc
JM
184 [BZ #18613]
185 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
186 X_ADJ not X when adjusting exponent.
187 (__ieee754_gamma_r): Do intermediate computations in
188 round-to-nearest then adjust overflowing and underflowing results
189 as needed.
190 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
191 of X_ADJ not X when adjusting exponent.
192 (__ieee754_gammaf_r): Do intermediate computations in
193 round-to-nearest then adjust overflowing and underflowing results
194 as needed.
195 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
196 log of X_ADJ not X when adjusting exponent.
197 (__ieee754_gammal_r): Do intermediate computations in
198 round-to-nearest then adjust overflowing and underflowing results
199 as needed. Use 1.0L not 1.0f as numerator of division.
200 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
201 log of X_ADJ not X when adjusting exponent.
202 (__ieee754_gammal_r): Do intermediate computations in
203 round-to-nearest then adjust overflowing and underflowing results
204 as needed. Use 1.0L not 1.0f as numerator of division.
205 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
206 of X_ADJ not X when adjusting exponent.
207 (__ieee754_gammal_r): Do intermediate computations in
208 round-to-nearest then adjust overflowing and underflowing results
209 as needed. Use 1.0L not 1.0f as numerator of division.
210 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
211 to auto-libm-test-in.
212 (tgamma_test): Use ALL_RM_TEST.
213 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
214 tests of tgamma with spurious-overflow.
215 * math/auto-libm-test-out: Regenerated.
216 * math/gen-libm-have-vector-test.sh: Do not check for START.
217 * sysdeps/i386/fpu/libm-test-ulps: Update.
218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
219
4aa10d01
JM
220 [BZ #18612]
221 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
222 arguments, just return 0.5 times the argument, with underflow
223 forced as needed.
224 * math/auto-libm-test-in: Add more tests of j1.
225 * math/auto-libm-test-out: Regenerated.
226
63dbe5f3
JM
227 [BZ #16559]
228 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
229 (__ieee754_j1): Force underflow exception for small results.
230 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
231 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
232 (__ieee754_j1f): Force underflow exception for small results.
233 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
234 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
235 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
236 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
237 (__ieee754_j1l): Force underflow exception for small results.
238 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
239 * math/auto-libm-test-in: Add more tests of j1 and jn.
240 * math/auto-libm-test-out: Regenerated.
241
31545c23
JM
242 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
243 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
244 (PF_MPLS): Likewise.
245 (AF_IB): Likewise.
246 (AF_MPLS): Likewise.
247 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
248 value and macro.
249 (MS_RMT_MASK): Include MS_LAZYTIME.
250
f8ef472c
MG
2512015-06-26 Mel Gorman <mgorman@suse.de>
252
253 [BZ #18502]
254 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
255 already minimal.
256
a2057c98
MF
2572015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
258
259 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
260 (DT_MIPS_NUM): Update.
261 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
262 DT_MIPS_RLD_MAP_REL.
263
a8e2112a
JM
2642015-06-25 Joseph Myers <joseph@codesourcery.com>
265
266 [BZ #16559]
267 [BZ #18602]
268 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
269 round-to-nearest internally then recompute results that
270 underflowed to zero in the original rounding mode.
271 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
272 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
273 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
274 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
275 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
276 * sysdeps/i386/fpu/libm-test-ulps: Update.
277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
278
037e4b99
AS
2792015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
280
281 * NEWS: Fixed description of link with vector math library.
282
7c2ce714
AS
2832015-06-25 Andreas Schwab <schwab@suse.de>
284
285 [BZ #18549]
286 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
287 * libio/test-fmemopen.c (do_test): Add test for it.
288
cc08749b
L
2892015-06-25 H.J. Lu <hongjiu.lu@intel.com>
290
291 [BZ #17841]
292 * Makeconfig (no-pie-ldflag): New.
293 (+link): Set to $(+link-pie) if default to PIE.
294 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
295 * config.make.in (build-pie-default): New.
296 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
297 is default. AC_SUBST.
298 * configure: Regenerated.
299 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
300
86edd44f
RM
3012015-06-24 Roland McGrath <roland@hack.frob.com>
302
45a8f0e6
RM
303 * nptl/descr.h (struct pthread): Change type of field setxid_futex
304 to 'unsigned int'.
305
e185d57e
RM
306 * resolv/gai_misc.h (struct waitlist): Change type of field
307 counterp to 'volatile unsigned int *'.
308 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
309 FUTEXADDR and OLDVAL.
310 * resolv/getaddrinfo_a.c (getaddrinfo_a):
311 Give local variable TOTAL type 'volatile unsigned int'.
312 (struct async_waitlist): Change type of field counter to 'unsigned int'.
313 * resolv/gai_suspend.c (gai_suspend):
314 Give local variable CNTR type 'unsigned int'.
315
86edd44f
RM
316 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
317 counterp to 'volatile unsigned int *'.
318 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
319 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
320 (aio_suspend): Give local variable CNTR type 'unsigned int'.
321 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
322 Give local variable TOTAL type 'volatile unsigned int'.
323 (struct async_waitlist): Change type of field counter to 'unsigned int'.
324
a7fcc2f8
L
3252015-06-24 H.J. Lu <hongjiu.lu@intel.com>
326
327 [BZ #18383]
328 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
329 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
330 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
331 comment for i386/x86-64.
332 (test-xfail-tst-tlsalign-extern-static): Removed.
333
f9536db7
JM
3342015-06-24 Joseph Myers <joseph@codesourcery.com>
335
336 * math/test-double.h: New file.
337 * math/test-float.h: Likewise.
338 * math/test-ldouble.h: Likewise.
339 * math/test-math-inline.h: Likewise.
340 * math/test-math-no-inline.h: Likewise.
341 * math/test-math-scalar.h: Likewise.
342 * math/test-math-vector.h: Likewise.
343 * math/test-vec-loop.h: Remove file. Contents moved into
344 test-math-vector.h.
345 * math/libm-test.inc (MATHCONST): Do not document macro.
346 * math/test-double.c: Include test-double.h, test-math-no-inline.h
347 and test-math-scalar.h.
348 (FUNC): Remove macro.
349 (FUNC_TEST): Likewise.
350 (FLOAT): Likewise.
351 (MATHCONST): Likewise.
352 (PRINTF_EXPR): Likewise.
353 (PRINTF_XEXPR): Likewise.
354 (PRINTF_NEXPR): Likewise.
355 (TEST_DOUBLE): Likewise.
356 (TEST_MATHVEC): Likewise.
357 (__NO_MATH_INLINES): Likewise.
358 * math/test-float.c: Include test-float.h, test-math-no-inline.h
359 and test-math-scalar.h.
360 (FUNC): Remove macro.
361 (FUNC_TEST): Likewise.
362 (FLOAT): Likewise.
363 (MATHCONST): Likewise.
364 (PRINTF_EXPR): Likewise.
365 (PRINTF_XEXPR): Likewise.
366 (PRINTF_NEXPR): Likewise.
367 (TEST_FLOAT): Likewise.
368 (TEST_MATHVEC): Likewise.
369 (__NO_MATH_INLINES): Likewise.
370 * math/test-idouble.c: Include test-double.h, test-math-inline.h
371 and test-math-scalar.h.
372 (FUNC): Remove macro.
373 (FUNC_TEST): Likewise.
374 (FLOAT): Likewise.
375 (MATHCONST): Likewise.
376 (PRINTF_EXPR): Likewise.
377 (PRINTF_XEXPR): Likewise.
378 (PRINTF_NEXPR): Likewise.
379 (TEST_DOUBLE): Likewise.
380 (TEST_MATHVEC): Likewise.
381 (TEST_INLINE): Likewise.
382 (__NO_MATH_INLINES): Likewise.
383 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
384 test-math-scalar.h.
385 (FUNC): Remove macro.
386 (FUNC_TEST): Likewise.
387 (FLOAT): Likewise.
388 (MATHCONST): Likewise.
389 (PRINTF_EXPR): Likewise.
390 (PRINTF_XEXPR): Likewise.
391 (PRINTF_NEXPR): Likewise.
392 (TEST_FLOAT): Likewise.
393 (TEST_MATHVEC): Likewise.
394 (TEST_INLINE): Likewise.
395 (__NO_MATH_INLINES): Likewise.
396 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
397 and test-math-scalar.h.
398 (FUNC): Remove macro.
399 (FUNC_TEST): Likewise.
400 (FLOAT): Likewise.
401 (MATHCONST): Likewise.
402 (PRINTF_EXPR): Likewise.
403 (PRINTF_XEXPR): Likewise.
404 (PRINTF_NEXPR): Likewise.
405 (TEST_LDOUBLE): Likewise.
406 (TEST_MATHVEC): Likewise.
407 (TEST_INLINE): Likewise.
408 (__NO_MATH_INLINES): Likewise.
409 * math/test-ldouble.c: Include test-ldouble.h,
410 test-math-no-inline.h and test-math-scalar.h.
411 (FUNC): Remove macro.
412 (FUNC_TEST): Likewise.
413 (FLOAT): Likewise.
414 (MATHCONST): Likewise.
415 (PRINTF_EXPR): Likewise.
416 (PRINTF_XEXPR): Likewise.
417 (PRINTF_NEXPR): Likewise.
418 (TEST_LDOUBLE): Likewise.
419 (TEST_MATHVEC): Likewise.
420 (__NO_MATH_INLINES): Likewise.
421 * math/test-double-vlen2.h: Include test-double.h,
422 test-math-no-inline.h and test-math-vector.h.
423 (FLOAT): Remove macro.
424 (FUNC): Likewise.
425 (MATHCONST): Likewise.
426 (PRINTF_EXPR): Likewise.
427 (PRINTF_XEXPR): Likewise.
428 (PRINTF_NEXPR): Likewise.
429 (TEST_DOUBLE): Likewise.
430 (TEST_MATHVEC): Likewise.
431 (__NO_MATH_INLINES): Likewise.
432 (CNCT): Likewise.
433 (CONCAT): Likewise.
434 (WRAPPER_NAME): Likewise.
435 (WRAPPER_DECL): Likewise.
436 (WRAPPER_DECL_ff): Likewise.
437 (WRAPPER_DECL_fFF): Likewise.
438 (VECTOR_WRAPPER): Likewise.
439 (VECTOR_WRAPPER_ff): Likewise.
440 (VECTOR_WRAPPER_fFF): Likewise.
441 (VEC_LEN): New macro.
442 * math/test-double-vlen4.h: Include test-double.h,
443 test-math-no-inline.h and test-math-vector.h.
444 (FLOAT): Remove macro.
445 (FUNC): Likewise.
446 (MATHCONST): Likewise.
447 (PRINTF_EXPR): Likewise.
448 (PRINTF_XEXPR): Likewise.
449 (PRINTF_NEXPR): Likewise.
450 (TEST_DOUBLE): Likewise.
451 (TEST_MATHVEC): Likewise.
452 (__NO_MATH_INLINES): Likewise.
453 (CNCT): Likewise.
454 (CONCAT): Likewise.
455 (WRAPPER_NAME): Likewise.
456 (WRAPPER_DECL): Likewise.
457 (WRAPPER_DECL_ff): Likewise.
458 (WRAPPER_DECL_fFF): Likewise.
459 (VECTOR_WRAPPER): Likewise.
460 (VECTOR_WRAPPER_ff): Likewise.
461 (VECTOR_WRAPPER_fFF): Likewise.
462 (VEC_LEN): New macro.
463 * math/test-double-vlen8.h: Include test-double.h,
464 test-math-no-inline.h and test-math-vector.h.
465 (FLOAT): Remove macro.
466 (FUNC): Likewise.
467 (MATHCONST): Likewise.
468 (PRINTF_EXPR): Likewise.
469 (PRINTF_XEXPR): Likewise.
470 (PRINTF_NEXPR): Likewise.
471 (TEST_DOUBLE): Likewise.
472 (TEST_MATHVEC): Likewise.
473 (__NO_MATH_INLINES): Likewise.
474 (CNCT): Likewise.
475 (CONCAT): Likewise.
476 (WRAPPER_NAME): Likewise.
477 (WRAPPER_DECL): Likewise.
478 (WRAPPER_DECL_ff): Likewise.
479 (WRAPPER_DECL_fFF): Likewise.
480 (VECTOR_WRAPPER): Likewise.
481 (VECTOR_WRAPPER_ff): Likewise.
482 (VECTOR_WRAPPER_fFF): Likewise.
483 (VEC_LEN): New macro.
484 * math/test-float-vlen4.h: Include test-float.h,
485 test-math-no-inline.h and test-math-vector.h.
486 (FLOAT): Remove macro.
487 (FUNC): Likewise.
488 (MATHCONST): Likewise.
489 (PRINTF_EXPR): Likewise.
490 (PRINTF_XEXPR): Likewise.
491 (PRINTF_NEXPR): Likewise.
492 (TEST_FLOAT): Likewise.
493 (TEST_MATHVEC): Likewise.
494 (__NO_MATH_INLINES): Likewise.
495 (CNCT): Likewise.
496 (CONCAT): Likewise.
497 (WRAPPER_NAME): Likewise.
498 (WRAPPER_DECL): Likewise.
499 (WRAPPER_DECL_ff): Likewise.
500 (WRAPPER_DECL_fFF): Likewise.
501 (VECTOR_WRAPPER): Likewise.
502 (VECTOR_WRAPPER_ff): Likewise.
503 (VECTOR_WRAPPER_fFF): Likewise.
504 (VEC_LEN): New macro.
505 * math/test-float-vlen8.h: Include test-float.h,
506 test-math-no-inline.h and test-math-vector.h.
507 (FLOAT): Remove macro.
508 (FUNC): Likewise.
509 (MATHCONST): Likewise.
510 (PRINTF_EXPR): Likewise.
511 (PRINTF_XEXPR): Likewise.
512 (PRINTF_NEXPR): Likewise.
513 (TEST_FLOAT): Likewise.
514 (TEST_MATHVEC): Likewise.
515 (__NO_MATH_INLINES): Likewise.
516 (CNCT): Likewise.
517 (CONCAT): Likewise.
518 (WRAPPER_NAME): Likewise.
519 (WRAPPER_DECL): Likewise.
520 (WRAPPER_DECL_ff): Likewise.
521 (WRAPPER_DECL_fFF): Likewise.
522 (VECTOR_WRAPPER): Likewise.
523 (VECTOR_WRAPPER_ff): Likewise.
524 (VECTOR_WRAPPER_fFF): Likewise.
525 (VEC_LEN): New macro.
526 * math/test-float-vlen16.h: Include test-float.h,
527 test-math-no-inline.h and test-math-vector.h.
528 (FLOAT): Remove macro.
529 (FUNC): Likewise.
530 (MATHCONST): Likewise.
531 (PRINTF_EXPR): Likewise.
532 (PRINTF_XEXPR): Likewise.
533 (PRINTF_NEXPR): Likewise.
534 (TEST_FLOAT): Likewise.
535 (TEST_MATHVEC): Likewise.
536 (__NO_MATH_INLINES): Likewise.
537 (CNCT): Likewise.
538 (CONCAT): Likewise.
539 (WRAPPER_NAME): Likewise.
540 (WRAPPER_DECL): Likewise.
541 (WRAPPER_DECL_ff): Likewise.
542 (WRAPPER_DECL_fFF): Likewise.
543 (VECTOR_WRAPPER): Likewise.
544 (VECTOR_WRAPPER_ff): Likewise.
545 (VECTOR_WRAPPER_fFF): Likewise.
546 (VEC_LEN): New macro.
547 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
548 test-vec-loop.h.
549 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
550 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
551 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
552 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
553 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
554 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
555 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
556
5ba4a6eb
RM
5572015-06-24 Roland McGrath <roland@hack.frob.com>
558
559 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
560 (__getlogin_r): ... this.
561
a67894c5
JM
5622015-06-24 Joseph Myers <joseph@codesourcery.com>
563
564 [BZ #18594]
565 * math/s_ccosh.c (__ccosh): Compare with least normal value
566 instead of comparing class with FP_SUBNORMAL.
567 * math/s_ccoshf.c (__ccoshf): Likewise.
568 * math/s_ccoshl.c (__ccoshl): Likewise.
569 * math/s_cexp.c (__cexp): Likewise.
570 * math/s_cexpf.c (__cexpf): Likewise.
571 * math/s_cexpl.c (__cexpl): Likewise.
572 * math/s_csin.c (__csin): Likewise.
573 * math/s_csinf.c (__csinf): Likewise.
574 * math/s_csinh.c (__csinh): Likewise.
575 * math/s_csinhf.c (__csinhf): Likewise.
576 * math/s_csinhl.c (__csinhl): Likewise.
577 * math/s_csinl.c (__csinl): Likewise.
578 * math/s_ctan.c (__ctan): Likewise.
579 * math/s_ctanf.c (__ctanf): Likewise.
580 * math/s_ctanh.c (__ctanh): Likewise.
581 * math/s_ctanhf.c (__ctanhf): Likewise.
582 * math/s_ctanhl.c (__ctanhl): Likewise.
583 * math/s_ctanl.c (__ctanl): Likewise.
584 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
585 csin, csinh, ctan and ctanh.
586 * math/auto-libm-test-out: Regenerated.
587 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
588 * sysdeps/i386/fpu/libm-test-ulps: Update.
589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
590
01018690
RM
5912015-06-24 Roland McGrath <roland@hack.frob.com>
592
593 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
594 return value is wrong, print the expected value too.
595
eea3dc5b
L
5962015-06-24 H.J. Lu <hongjiu.lu@intel.com>
597
598 [BZ #18585]
599 * elf/readlib.c (is_gdb_python_file): New.
600 (process_file): Don't issue errors on filenames with -gdb.py
601 suffix.
602
8475ab16
JM
6032015-06-24 Joseph Myers <joseph@codesourcery.com>
604
6f874bd4
JM
605 * math/auto-libm-test-in: Add more tests of csin and csinh.
606 * math/auto-libm-test-out: Regenerated.
607 * math/libm-test.inc (csin_test_data): Remove tests moved to
608 auto-libm-test-in.
609 (csinh_test_data): Likewise.
610
ac831b36
JM
611 [BZ #18593]
612 * math/s_csin.c (__csin): Negate before rather than after possibly
613 overflowing multiplication.
614 * math/s_csinf.c (__csinf): Likewise.
615 * math/s_csinh.c (__csinh): Likewise.
616 * math/s_csinhf.c (__csinhf): Likewise.
617 * math/s_csinhl.c (__csinhl): Likewise.
618 * math/s_csinl.c (__csinl): Likewise.
619 * math/auto-libm-test-in: Add some tests of csin and csinh.
620 * math/auto-libm-test-out: Regenerated.
621 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
622 (csinh_test_data): Likewise.
623 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
624
8475ab16
JM
625 [BZ #18586]
626 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
627 underflow exception for small results.
628
36870482
AS
6292015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
630
631 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
bd0a60f9
RM
632 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
633 variable and included header.
36870482
AS
634 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
635 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
636 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
637 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
638 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
639 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
640 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
641 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
642 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
643 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
644 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
645 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
646 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
647 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
648 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
649 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
650
8b1bab5f
JM
6512015-06-23 Joseph Myers <joseph@codesourcery.com>
652
ad39cce0
JM
653 [BZ #16526]
654 [BZ #16538]
655 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
656 (__sin): Force underflow exception for arguments with small
657 absolute value.
658 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
659 (__kernel_sinf): Force underflow exception for arguments with
660 small absolute value.
661 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
662 (__kernel_sincosl): Force underflow exception for arguments with
663 small absolute value.
664 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
665 (__kernel_sinl): Force underflow exception for arguments with
666 small absolute value.
667 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
668 (__kernel_sincosl): Force underflow exception for arguments with
669 small absolute value.
670 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
671 (__kernel_sinl): Force underflow exception for arguments with
672 small absolute value.
673 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
674 (__kernel_sinl): Force underflow exception for arguments with
675 small absolute value.
676 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
677 (__kernel_sinf): Force underflow exception for arguments with
678 small absolute value.
679 * math/auto-libm-test-in: Add more tests of sin and sincos.
680 * math/auto-libm-test-out: Regenerated.
681
8b1bab5f
JM
682 [BZ #18245]
683 [BZ #18583]
684 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
685 (__kernel_standard_l): Use feholdexcept and fesetenv around
686 conversion to double instead of special-casing overflow and
687 underflow.
688 * math/libm-test.inc (fmod_test_data): Add more tests.
689 (remainder_test_data): Likewise.
690 (sqrt_test_data): Likewise.
691
c47ca964
TR
6922015-06-23 Torvald Riegel <triegel@redhat.com>
693
694 [BZ #17403]
695 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
696 atomic_read_barrier, atomic_write_barrier): Define.
697 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
698 atomic_read_barrier, atomic_write_barrier): Define.
699
b2faf4ea
JM
7002015-06-23 Joseph Myers <joseph@codesourcery.com>
701
702 * math/Makefile [$(PERL) != no]
703 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
704 dependency on libm-test.stmp below the inclusion of Rules.
705
5872b835
AS
7062015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
707
708 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
709 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
710 and included header.
711 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
712 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
713 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
714 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
715 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
716 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
717 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
718 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
719 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
720 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
721 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
722 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
723 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
724 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
725 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
726 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
727 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
728 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
729 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
730
b5954957
JM
7312015-06-23 Joseph Myers <joseph@codesourcery.com>
732
718d34a3
JM
733 [BZ #18371]
734 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
735 intermediate but not final result might underflow.
736 * math/s_csqrtf.c (__csqrtf): Likewise.
737 * math/s_csqrtl.c (__csqrtl): Likewise.
738 * math/auto-libm-test-in: Add more tests of csqrt.
739 * math/auto-libm-test-out: Regenerated.
740 * sysdeps/i386/fpu/libm-test-ulps: Update.
741
b5954957
JM
742 [BZ #18219]
743 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
744 threshold on absolute value of exponent for which scaling is used.
745 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
746 * math/auto-libm-test-in: Add more tests of exp2.
747 * math/auto-libm-test-out: Regenerated.
748
47852c97
DL
7492015-06-23 Dmitry V. Levin <ldv@altlinux.org>
750
b57525f1
DL
751 [BZ #17977]
752 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
753 when initializing interface list, based on the bug analysis
754 and the patch proposed by Eric Newton.
755 * resolv/tst-res_hconf_reorder.c: New test.
756 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
757 tst-res_hconf_reorder.
758 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
759 and $(shared-thread-library).
760 (tst-res_hconf_reorder-ENV): New variable.
761
47852c97
DL
762 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
763 in comment.
764
554edb23
JM
7652015-06-22 Joseph Myers <joseph@codesourcery.com>
766
767 [BZ #16353]
768 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
769 (__expm1): Force underflow exception for arguments with small
770 absolute value.
771 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
772 (__expm1f): Force underflow exception for arguments with small
773 absolute value.
774 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
775 (__expm1): Force underflow exception for arguments with small
776 absolute value.
777 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
778 (__expm1f): Force underflow exception for arguments with small
779 absolute value.
780 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
781 Check for small arguments before calling __expm1.
782 * math/auto-libm-test-in: Do not mark underflow exceptions as
783 possibly missing for bug 16353.
784 * math/auto-libm-test-out: Regenerated.
785
6b142b3a
AS
7862015-06-22 Andreas Schwab <schwab@suse.de>
787
788 [BZ #18513]
789 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
790 PTR queries.
791
f48b6732
LH
7922015-06-22 Leonhard Holz <leonhard.holz@web.de>
793
ef635a29
LH
794 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
795
f48b6732
LH
796 * string/strcoll_l.c: Remove unused struct element idxnow.
797
7540cfc5
JM
7982015-06-21 Joseph Myers <joseph@codesourcery.com>
799
cb0937b2
JM
800 [BZ #18569]
801 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
802 underflow and return argument in case of subnormal argument.
803 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
804 Likewise.
805 * math/auto-libm-test-in: Add more tests of expm1.
806 * math/auto-libm-test-out: Regenerated.
807
7540cfc5
JM
808 [BZ #16361]
809 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
fea1d8d6 810 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
7540cfc5
JM
811 tiny results.
812 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
fea1d8d6 813 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
7540cfc5
JM
814 tiny results.
815 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
816 mark underflow exceptions as possibly missing for bug 16361.
817 * math/auto-libm-test-out: Regenerated.
818
5675961d
JM
8192015-06-19 Joseph Myers <joseph@codesourcery.com>
820
d6cc0b4f
JM
821 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
822 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
823 Remove variable.
824 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
825 (test-xfail-XOPEN2K8/utmpx.h/conform).
826
5675961d
JM
827 * conform/conformtest.pl ($xerrors): New variable.
828 (note_error): New function.
829 (compiletest): New argument $xfail. Use not_error.
830 (runtest): Likewise.
831 (top level): Handle xfail- lines. Update calls to compiletest and
832 runtest. Handle xfail- and optional- in headers listed with
833 allow-header.
834 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
835 (O_EXEC): Likewise.
836 (O_SEARCH): Likewise.
837 * conform/data/stropts.h-data (ioctl): Likewise.
838 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
839 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
840 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
841 (msghdr.msg_controllen): Likewise.
842 (cmsghdr.cmsg_len): Likewise.
843 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
844 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
845 variable.
846 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
847 (test-xfail-XPG4/stropts.h/conform): Likewise.
848 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
849 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
850 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
851 (test-xfail-UNIX98/stropts.h/conform): Likewise.
852 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
853 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
854 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
855 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
856 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
857 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
858 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
859 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
860 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
861 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
862 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
863 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
864 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
865 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
866 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
867
c3424882
AS
8682015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
869
870 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
871 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
872 definitions for proper unfolding of __MATHDECL_VEC.
873
2419de07
SL
8742015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
875
876 * benchtests/bench-strcoll.c:
877 Include string.h.
878 (main): Remove unused variable res.
879
86fe1874
SL
8802015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
881
882 * timezone/Makefile (%/UTC %/Universal):
883 Generate test-result files for UTC and Universal.
884
52e96362
SL
8852015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
886
887 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
888
d1ac55d8
JM
8892015-06-18 Joseph Myers <joseph@codesourcery.com>
890
8db3cdef
JM
891 [BZ #16350]
892 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
893 for arguments with small absolute value.
894 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
895 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
896 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
897 (__asinh): Force underflow exception for arguments with small
898 absolute value.
899 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
900 (__asinhf): Force underflow exception for arguments with small
901 absolute value.
902 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
903 (__asinhl): Force underflow exception for arguments with small
904 absolute value.
905 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
906 (__asinhl): Force underflow exception for arguments with small
907 absolute value.
908 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
909 (__asinhl): Force underflow exception for arguments with small
910 absolute value.
911 * math/auto-libm-test-in: Do not mark underflow exceptions as
912 possibly missing for bug 16350.
913 * math/auto-libm-test-out: Regenerated.
914
a7a3c246
JM
915 * include/bits/ipc.h: Remove file.
916 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
917 variable.
918 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
919 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
920 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
921 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
922 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
923 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
924 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
925 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
926 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
927
a1ee4fd1
JM
928 * math/auto-libm-test-in: Remove spurious underflow allowance for
929 tests of cexp.
930 * math/auto-libm-test-out: Regenerated.
931
d1ac55d8
JM
932 [BZ #18558]
933 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
934 unconditional definition.
935 (MCAST_BLOCK_SOURCE): Likewise.
936 (MCAST_UNBLOCK_SOURCE): Likewise.
937 (MCAST_LEAVE_GROUP): Likewise.
938 (MCAST_JOIN_SOURCE_GROUP): Likewise.
939 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
940 (MCAST_MSFILTER): Likewise.
941 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
942 Remove variable.
943 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
944 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
945 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
946 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
947 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
948
8aa92022
AS
9492015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
950
a6336cc4
AS
951 * NEWS: Mention addition of x86_64 vector sincosf.
952 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
953 * math/test-float-vlen4.h: Likewise.
954 * math/test-float-vlen8.h: Likewise.
955 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
956 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
957 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
958 * sysdeps/x86_64/fpu/Versions: New versions added.
959 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
960 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
961 Added build of SSE, AVX2 and AVX512 IFUNC versions.
962 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
963 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
964 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
965 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
966 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
967 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
968 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
969 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
970 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
971 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
972 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
973 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
974 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
975 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
976 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
977 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
978 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
979 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
980 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
981 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
982 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
983
c9a8c526
AS
984 * NEWS: Mention addition of x86_64 vector sincos.
985 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
986 * math/math.h (__MATHDECL_VEC): New macro.
987 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
988 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
989 declaration under condition.
990 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
991 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
992 TEST_VEC_LOOP change.
993 * math/test-double-vlen4.h: Likewise.
994 * math/test-double-vlen8.h: Likewise.
995 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
996 * math/test-float-vlen4.h: Likewise.
997 * math/test-float-vlen8.h: Likewise.
998 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
999 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
1000 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1001 * sysdeps/x86_64/fpu/Versions: New versions added.
1002 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1003 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1004 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1005 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
1006 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
1007 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
1008 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
1009 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
1010 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
1011 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
1012 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
1013 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
1014 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
1015 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
1016 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
1017 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
1018 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
1019 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1020 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1021 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1022 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1023 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1024 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1025 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1026
8aa92022
AS
1027 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1028 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1029 redirections for powf.
1030 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1031 * sysdeps/x86_64/fpu/Versions: New versions added.
1032 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1033 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1034 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1035 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
1036 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
1037 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
1038 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
1039 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
1040 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
1041 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
1042 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
1043 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
1044 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
1045 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
1046 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
1047 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
1048 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
1049 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1050 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1051 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1052 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1053 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1054 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1055 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1056 * math/test-float-vlen16.h: Fixed 2 argument macro.
1057 * math/test-float-vlen4.h: Likewise.
1058 * math/test-float-vlen8.h: Likewise.
1059 * NEWS: Mention addition of x86_64 vector powf.
1060
17c199ee
JM
10612015-06-17 Joseph Myers <joseph@codesourcery.com>
1062
2f318445
JM
1063 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1064 and redefine.
1065 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1066 and redefine.
1067 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
1068 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1069 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1070
c3621351
JM
1071 [BZ #18553]
1072 * resource/getpriority.c (getpriority): Rename to __getpriority
1073 and define as weak alias of __getpriority.
1074 * resource/setpriority.c (setpriority): Rename to __setpriority
1075 and define as weak alias of __setpriority.
1076 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
1077 __getpriority and define as weak alias of __getpriority.
1078 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
1079 __setpriority and define as weak alias of __setpriority.
1080 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
1081 strong name.
1082 (setpriority): Use __setpriority as strong name.
1083 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
1084 __getpriority and define as weak alias of __getpriority.
1085 * include/sys/resource.h (__getpriority): Declare. Use
1086 libc_hidden_proto.
1087 (__setpriority): Likewise.
1088 (getpriority): Don't use libc_hidden_proto.
1089 (setpriority): Likewise.
1090 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
1091 getpriority. Call __setpriority instead of setpriority.
1092 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
1093 Remove variable.
1094
abccad04
JM
1095 [BZ #18547]
1096 * misc/getttyent.c (getttynam): Rename to __getttynam and define
1097 as weak alias of __getttynam. Use prototype function definition.
1098 Call __setttyent, __getttyent and __endttyent instead of
1099 setttyent, getttyent and endttyent.
1100 (getttyent): Rename to __getttyent and define as weak alias of
1101 __getttyent. Call __setttyent instead of setttyent. Call
1102 __fgets_unlocked instead of fgets_unlocked.
1103 (setttyent): Rename to __setttyent and define as weak alias of
1104 __setttyent.
1105 (endttyent): Rename to __endttyent and define as weak alias of
1106 __endttyent.
1107 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
1108 (__setttyent): Likewise.
1109 (__endttyent): Likewise.
1110 (getttyent): Don't use libc_hidden_proto.
1111 (setttyent): Likewise.
1112 (endttyent): Likewise.
1113 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
1114 __endttyent instead of setttyent, getttyent and endttyent.
1115 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
1116 Remove variable.
1117
0595c984
JM
1118 [BZ #18546]
1119 * socket/recv.c (__recv): Use libc_hidden_def.
1120 * socket/socket.c (__socket): Likewise.
1121 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
1122 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
1123 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
1124 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
1125 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
1126 libc_hidden_def.
1127 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
1128 libc_hidden_weak.
1129 * include/sys/socket.h (__socket): Do not use attribute_hidden.
1130 Use libc_hidden_proto.
1131 (__recv): Likewise.
1132 * socket/Versions (libc): Export __recv and __socket at version
1133 GLIBC_PRIVATE.
1134 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
1135 instead of recv.
1136 (init_mq_netlink): Call __socket instead of socket.
1137 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
1138 Remove variable.
1139
dfa2d214
JM
1140 [BZ #18545]
1141 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
1142 __mq_timedreceive and define as alias of __mq_timedreceive. Use
1143 hidden_weak.
1144 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
1145 define as alias of __mq_timedsend. Use hidden_weak.
1146 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
1147 __mq_timedsend as strong name.
1148 (mq_timedreceive): Use __mq_timedreceive as strong name.
1149 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
1150 (__mq_timedreceive): Likewise.
1151 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
1152 __mq_timedreceive instead of mq_timedreceive.
1153 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
1154 instead of mq_timedsend.
1155 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
1156 Remove variable.
1157
c21d37de
JM
1158 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
1159 hidden_def and hidden_weak instead of libc_hidden_def and
1160 libc_hidden_weak.
1161 (top level): Refer to hidden_def in comment.
1162 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
1163 macro. Use it instead of libc_hidden_def.
1164 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
1165 specify __GI_* name explicitly.
1166 (mq_timedreceive): Likewise.
1167 (mq_setattr): Likewise.
1168
90dd5913
JM
1169 [BZ #18544]
1170 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
1171 __pthread_barrier_init and define as weak alias of
1172 __pthread_barrier_init.
1173 * sysdeps/sparc/nptl/pthread_barrier_init.c
1174 (pthread_barrier_init): Likewise.
1175 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
1176 __pthread_barrier_wait and define as weak alias of
1177 __pthread_barrier_wait.
1178 * sysdeps/sparc/nptl/pthread_barrier_wait.c
1179 (pthread_barrier_wait): Likewise.
1180 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
1181 (pthread_barrier_wait): Likewise.
1182 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
1183 (pthread_barrier_wait): Likewise.
1184 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
1185 (pthread_barrier_wait): Likewise.
1186 * nptl/Versions (libpthread): Export __pthread_barrier_init and
1187 __pthread_barrier_wait at version GLIBC_PRIVATE.
1188 * include/pthread.h (__pthread_barrier_init): Declare.
1189 (__pthread_barrier_wait): Likewise.
1190 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
1191 Call __pthread_barrier_wait instead of pthread_barrier_wait.
1192 (helper_thread): Likewise.
1193 (init_mq_netlink): Call __pthread_barrier_init instead of
1194 pthread_barrier_init.
1195
45dcd79f
JM
1196 [BZ #18542]
1197 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
1198 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
1199 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
1200 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
1201 vswscanf.
1202 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
1203 Remove variable.
1204
eb1fae6a
JM
1205 [BZ #18540]
1206 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
1207 strong alias of _IO_fflush. Use libc_hidden_def.
1208 * libio/iofflush_u.c (fflush_unlocked): Rename to
1209 __fflush_unlocked and define as weak alias of __fflush_unlocked.
1210 Use libc_hidden_weak.
1211 * include/stdio.h (__fflush_unlocked): Declare. Use
1212 libc_hidden_proto.
1213 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
1214 fflush_unlocked.
1215 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
1216 Remove variable.
1217
68f1ba4b
JM
1218 [BZ #18539]
1219 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
1220 define as weak alias of __addseverity.
1221 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
1222 Remove variable.
1223 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1224 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1225 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1226
d051b143
JM
1227 [BZ #18536]
1228 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
1229 (__tfind): Likewise.
1230 (__tdelete): Likewise.
1231 (__twalk): Likewise.
1232 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
1233 __twalk to GLIBC_PRIVATE.
1234 * include/search.h (__tsearch): Use libc_hidden_proto.
1235 (__tfind): Likewise.
1236 (__tdelete): Likewise.
1237 (__twalk): Likewise.
1238 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
1239 Call __tdelete instead of tdelete.
1240 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
1241 tfind. Call __tsearch instead of tsearch.
1242 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
1243 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
1244 Remove variable.
1245 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1246
be7dc2b7
JM
1247 [BZ #18534]
1248 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
1249 (dprintf): Define as a weak alias of __dprintf, not a strong
1250 alias.
1251 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
1252 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
1253 dprintf.
1254 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
1255 Remove variable.
1256 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1257 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1258
a97e5e25
JM
1259 [BZ #18533]
1260 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
1261 not a strong alias.
1262 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
1263 Remove variable.
1264
17c199ee
JM
1265 [BZ #18532]
1266 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
1267 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
1268 (in6addr_loopback): Rename to __in6addr_loopback and define as
1269 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
1270 * include/netinet/in.h (__in6addr_loopback): Declare. Use
1271 libc_hidden_proto.
1272 (__in6addr_any): Likewise.
1273 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
1274 in6addr_any.
1275 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
1276 variable.
1277 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1278
6af25acc
AS
12792015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
1280
c10b9b13
AS
1281 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
1282 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
1283 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1284 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1285 redirections for pow.
1286 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1287 * sysdeps/x86_64/fpu/Versions: New versions added.
1288 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1289 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1290 build of SSE, AVX2 and AVX512 IFUNC versions.
1291 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
1292 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
1293 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
1294 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
1295 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
1296 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
1297 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
1298 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
1299 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
1300 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
1301 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
1302 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
1303 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
1304 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
1305 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1306 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1307 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1308 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1309 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1310 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1311 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1312 * NEWS: Mention addition of x86_64 vector pow.
1313
1663be05
AS
1314 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1315 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1316 redirections for expf.
1317 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1318 * sysdeps/x86_64/fpu/Versions: New versions added.
1319 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1320 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1321 build of SSE, AVX2 and AVX512 IFUNC versions.
1322 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
1323 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
1324 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
1325 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
1326 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
1327 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
1328 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
1329 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
1330 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
1331 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
1332 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
1333 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
1334 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
1335 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1336 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1337 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1338 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1339 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1340 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1341 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1342 * NEWS: Mention addition of x86_64 vector expf.
1343
9c02f663
AS
1344 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
1345 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
1346 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1347 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1348 redirections for exp.
1349 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1350 * sysdeps/x86_64/fpu/Versions: New versions added.
1351 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1352 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1353 build of SSE, AVX2 and AVX512 IFUNC versions.
1354 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
1355 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
1356 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
1357 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
1358 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
1359 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
1360 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
1361 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
1362 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
1363 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
1364 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
1365 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
1366 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
1367 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1368 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1369 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1370 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1371 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1372 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1373 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1374 * NEWS: Mention addition of x86_64 vector exp.
1375
774488f8
AS
1376 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1377 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1378 redirections for logf.
1379 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1380 * sysdeps/x86_64/fpu/Versions: New versions added.
1381 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1382 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1383 build of SSE, AVX2 and AVX512 IFUNC versions.
1384 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
1385 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
1386 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
1387 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
1388 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
1389 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
1390 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
1391 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
1392 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
1393 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
1394 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
1395 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
1396 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
1397 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1398 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1399 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1400 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1401 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1402 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1403 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1404 * NEWS: Mention addition of x86_64 vector logf.
1405
6af25acc
AS
1406 * bits/libm-simd-decl-stubs.h: Added stubs for log.
1407 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
1408 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1409 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1410 redirections for log.
1411 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1412 * sysdeps/x86_64/fpu/Versions: New versions added.
1413 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1414 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1415 build of SSE, AVX2 and AVX512 IFUNC versions.
1416 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
1417 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
1418 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
1419 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
1420 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
1421 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
1422 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
1423 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
1424 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
1425 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
1426 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
1427 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
bd0a60f9
RM
1428 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
1429 test.
6af25acc
AS
1430 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1431 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1432 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1433 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1434 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1435 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1436 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1437 * NEWS: Mention addition of x86_64 vector log.
1438
08325735
SN
14392015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
1440
c71c89e5
SN
1441 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
1442 cfi_adjust_cfa_offset argument.
1443 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
1444 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1445
08325735
SN
1446 [BZ #18034]
1447 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
1448 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
1449 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
1450 ordering using ldar.
1451 (_dl_tlsdesc_dynamic): Likewise.
1452 (_dl_tlsdesc_return_lazy): Likewise.
1453 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
1454 relaxed atomics instead of volatile and synchronize with release store.
1455 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
1456 volatile.
1457 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1458
2a8c2c7b
AS
14592015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
1460
1461 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1462 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
1463 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1464 * sysdeps/x86_64/fpu/Versions: New versions added.
1465 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1466 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1467 build of SSE, AVX2 and AVX512 IFUNC versions.
1468 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
1469 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
1470 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
1471 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
1472 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
1473 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
1474 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
1475 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
1476 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
1477 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
1478 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
1479 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
1480 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
1481 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1482 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1483 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1484 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1485 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1486 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1487 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1488 * NEWS: Mention addition of x86_64 vector sinf.
1489
bf143578
JM
14902015-06-14 Joseph Myers <joseph@codesourcery.com>
1491
1492 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
1493 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
1494 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
1495 Remove variable.
1496 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1497 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1498
5371d99e
JM
14992015-06-12 Joseph Myers <joseph@codesourcery.com>
1500
3164bf09
JM
1501 [BZ #18530]
1502 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
1503 strong alias of _IO_fputs. Use libc_hidden_def.
1504 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
1505 and define as weak alias of __fputs_unlocked. Use
1506 libc_hidden_weak.
1507 * include/stdio.h (__fputs_unlocked): Declare. Use
1508 libc_hidden_proto.
1509 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
1510 fputs_unlocked.
1511
8737be80
JM
1512 [BZ #18529]
1513 * resolv/netdb.h [__USE_POSIX]: Change condition to
1514 [__USE_XOPEN2K].
1515 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
1516 not expect.
1517 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
1518 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
1519 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
1520 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
1521 [XPG4 || UNIX98] (AI_ALL): Likewise.
1522 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
1523 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
1524 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
1525 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
1526 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
1527 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
1528 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
1529 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
1530 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
1531 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
1532 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
1533 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
1534 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
1535 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
1536 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
1537 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1538 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1539 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
1540 [XPG4 || UNIX98] (gai_strerror): Likewise.
1541 [XPG4 || UNIX98] (getaddrinfo): Likewise.
1542 [XPG4 || UNIX98] (getnameinfo): Likewise.
1543
b400fdef
JM
1544 [BZ #18528]
1545 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
1546 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
1547 __USE_XOPEN2K8].
1548 (getgrent): Likewise.
1549 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
1550 expect.
1551 [XPG3 || POSIX2008] (endgrent): Likewise.
1552 [XPG3] (setgrent): Likewise.
1553 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
1554 variable.
1555 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1556
5371d99e
JM
1557 [BZ #18527]
1558 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
1559 define as weak alias of __getlogin_r. Use libc_hidden_weak.
1560 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
1561 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
1562 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
1563 * include/unistd.h (__getlogin_r): Declare. Use
1564 libc_hidden_proto.
1565 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
1566 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
1567 variable.
1568 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1569 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1570 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1571
a82a3db9
MS
15722015-06-12 Martin Sebor <msebor@redhat.com>
1573
1574 [BZ #18512]
1575 * Makerules (check-install-supported): New target.
1576 (install): Add check-install-supported as a dependency.
1577 * manual/install.texi (Installing the C Library): Document
1578 that overriding prefix and exec_prefix is not supported.
1579 Mention DESTDIR.
1580 * INSTALL: Regenerate from the above.
1581
9acacaa0
JM
15822015-06-12 Joseph Myers <joseph@codesourcery.com>
1583
9714012c
JM
1584 [BZ #18519]
1585 * posix/Versions (libc): Export __libc_pread at version
1586 GLIBC_PRIVATE.
1587 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
1588 instead of pread.
1589 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
1590 variable.
1591
498c1f6a
JM
1592 [BZ #18522]
1593 * misc/efgcvt_r.c
1594 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
1595 (cvt_symbol): Use weak_alias instead of strong_alias.
1596 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
1597 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
1598 Remove variable.
1599 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1600 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1601
9acacaa0
JM
1602 [BZ #18520]
1603 * inet/herrno.c (h_errno): Rename to __h_errno.
1604 (__libc_h_errno): Define as alias of __h_errno not h_errno.
1605 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
1606 to __h_errno instead of h_errno.
1607 * nptl/herrno.c (h_errno): Rename to __h_errno.
1608 (__h_errno_location): Refer to __h_errno not h_errno.
1609 * resolv/Versions (h_errno): Rename to __h_errno.
1610 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
1611 Remove variable.
1612 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1613
0724d898
AS
16142015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
1615
1616 * configure.ac: More strict check for AVX512 assembler support.
1617 * configure: Regenerated.
1618
4b9c2b70
AS
1619 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
1620 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
1621 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1622 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
1623 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1624 * sysdeps/x86_64/fpu/Versions: New versions added.
1625 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
bd0a60f9
RM
1626 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1627 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4b9c2b70
AS
1628 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
1629 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
1630 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
1631 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
1632 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
1633 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
1634 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
1635 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
1636 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
1637 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
1638 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
1639 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
bd0a60f9
RM
1640 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
1641 test.
4b9c2b70
AS
1642 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1643 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1644 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1645 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1646 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1647 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1648 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1649 * NEWS: Mention addition of x86_64 vector sin.
1650
1477b383
FW
16512015-06-11 Florian Weimer <fweimer@redhat.com>
1652
1653 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
1654 comment.
1655
78ad175b
GFM
16562015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
1657
1658 [BZ #18479]
1659 * nptl/pt-interp.c: New file.
1660 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
1661 Add pt-interp.
1662 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
1663 $(common-objpfx)runtime-linker.h.
1664
ac63a078
DL
16652015-06-10 Dmitry V. Levin <ldv@altlinux.org>
1666
1667 * Makeconfig (+interp): Remove unused variable.
1668 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
1669 only. Depend on $(common-objpfx)runtime-linker.h instead of
1670 $(elf-objpfx)runtime-linker.h.
1671 ($(elf-objpfx)runtime-linker.h): Rename to
1672 $(common-objpfx)runtime-linker.h and move ...
1673 * Makerules [$(build-shared) = yes]: ... here.
1674 * elf/interp.c: Include <runtime-linker.h> instead of
1675 <elf/runtime-linker.h>.
1676
7cbeabac
AZ
16772015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1678
1679 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
1680 (__gettimeofday_syscall): Remove vsyscall fallback.
1681 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
1682 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
1683 Add syscall fallback function.
1684 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
1685 if vDSO is not present.
1686 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
1687 fallback function.
1688 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
1689 present.
1690 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
1691 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
1692
d3ab671c
JM
16932015-06-09 Joseph Myers <joseph@codesourcery.com>
1694
2f44ee08
JM
1695 [BZ #18497]
1696 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
1697 of wcscmp.
1698 (wcscmp): Define as weak alias of WCSCMP.
1699 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
1700 wcscoll.
1701 (USE_HIDDEN_DEF): Define.
1702 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
1703 __wcscoll. Don't use libc_hidden_weak.
1704 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
1705 wcscmp.
1706 * sysdeps/i386/i686/multiarch/wcscmp-c.c
1707 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
1708 __GI_wcscmp.
1709 (weak_alias): Undefine and redefine.
1710 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
1711 __wcscmp and define as weak alias of __wcscmp.
1712 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
1713 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
1714 (__wcscoll): Likewise.
1715 (wcscmp): Don't use libc_hidden_proto.
1716 (wcscoll): Likewise.
1717 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
1718 wcscoll.
1719 * posix/regexec.c (check_node_accept_bytes): Likewise.
1720 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
1721 variable.
1722 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1723 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1724
d3ab671c
JM
1725 [BZ #18507]
1726 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
1727 __fstatvfs and define as weak alias of __fstatvfs. Use
1728 libc_hidden_weak.
1729 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
1730 and define as weak alias of __statvfs. Use libc_hidden_weak.
1731 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
1732 Define as alias of __fstatvfs, not fstatvfs.
1733 (fstatvfs64): Likewise.
1734 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
1735 Define as alias of __statvfs, not statvfs.
1736 (statvfs64): Likewise.
1737 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
1738 Remove variable.
1739
dd26c444
AZ
17402015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1741
1742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1743 (HAVE_GETCPU_VSYSCALL): Define.
1744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1745 (HAVE_GETCPU_VSYSCALL): Likewise.
1746 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
1747 * sysdeps/unix/sysv/linux/sched_getcpu.c
1748 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
1749 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
1750 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
1751 prototype.
1752 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1753 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
1754 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
1755 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
1756 Define.
1757 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
1758 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1759 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
1760 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1761
21933112
AS
17622015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
1763
1764 * sysdeps/x86_64/fpu/Makefile: New file.
1765 * sysdeps/x86_64/fpu/Versions: New file.
1766 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
1767 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
1768 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
1769 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
1770 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
1771 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
1772 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
1773 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
1774 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
1775 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
1776 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
1777 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
1778 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
bd0a60f9
RM
1779 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1780 Added build of SSE, AVX2 and AVX512 IFUNC versions.
21933112
AS
1781 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
1782 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
1783 * sysdeps/x86_64/configure.ac: Options for libmvec build.
1784 * sysdeps/x86_64/configure: Regenerated.
1785 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
1786 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
1787 * manual/install.texi (Configuring and compiling): Document
1788 --disable-mathvec.
1789 * INSTALL: Regenerated.
1790 * NEWS: Mention addition of libmvec and x86_64 vector cos.
1791
24a2718f
AS
1792 * math/Makefile: Added rules for vector tests.
1793 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
1794 declaration under condition.
1795 * math/test-double-vlen2.h: New file.
1796 * math/test-double-vlen4.h: New file.
1797 * math/test-double-vlen8.h: New file.
1798 * math/test-vec-loop.h: Added initialization macro.
1799 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
1800 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
1801 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
1802 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
1803 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
1804 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
1805 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
1806 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
1807 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
1808 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
1809 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
1810
04f496d6
AS
1811 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1812 * sysdeps/x86_64/fpu/Versions: New versions added.
1813 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
1814 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
1815 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
1816 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
1817 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
1818 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
1819 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
1820 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
1821 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
1822 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
1823 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
1824 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
1825 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
bd0a60f9
RM
1826 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1827 Added build of SSE, AVX2 and AVX512 IFUNC versions.
04f496d6
AS
1828 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1829 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
1830 * NEWS: Mention addition of x86_64 vector cosf.
1831
2a523216
AS
1832 * math/Makefile: Added CFLAGS for new tests.
1833 * math/test-float-vlen16.h: New file.
1834 * math/test-float-vlen4.h: New file.
1835 * math/test-float-vlen8.h: New file.
1836 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
1837 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
1838 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1839 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
1840 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
1841 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
1842 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
1843 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
1844 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
1845 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
1846 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
1847
fc5771e4
MM
18482015-06-09 Marko Myllynen <myllynen@redhat.com>
1849
1850 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
1851 * locale/programs/ld-ctype.c: Likewise.
1852
5fe2a126
AS
18532015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
1854
1855 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
1856 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
1857 bit_ZMM16_31_state): New macro.
1858 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1859 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
1860
3ac3ff32
JM
18612015-06-08 Joseph Myers <joseph@codesourcery.com>
1862
1863 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
1864
5b5ee4d9
ST
18652015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
1866
1867 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
1868
9dd6b779
JM
18692015-06-05 Joseph Myers <joseph@codesourcery.com>
1870
711f67a7
JM
1871 [BZ #18498]
1872 * libio/memstream.c (open_memstream): Rename to __open_memstream
1873 and define as weak alias of __open_memstream.
1874 * include/stdio.h (__open_memstream): Declare. Use
1875 libc_hidden_proto.
1876 (open_memstream): Don't use libc_hidden_proto.
1877 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
1878 open_memstream.
1879 * posix/getopt.c (_getopt_internal_r): Likewise.
1880 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
1881 variable.
1882 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1883 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1884 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1885
a5f0adb3
JM
1886 [BZ #18496]
1887 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
1888 instead of wcrtomb.
1889
007f2dd1
JM
1890 [BZ #18483]
1891 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
1892 [__USE_XOPEN2K8]. Remove redundant #endif.
1893 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
1894 Remove redundant #if.
1895 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
1896 Remove variable.
1897 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1898 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1899
9dd6b779
JM
1900 [BZ #18495]
1901 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
1902 (__iswlower): Likewise.
1903 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
1904 (__iswlower): Likewise.
1905 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
1906 instead of towlower.
1907 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
1908 instead of iswlower. Call __towupper instead of towupper.
1909 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
1910 instead of iswalnum.
1911
02242448
TMQMF
19122015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1913
1914 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
1915 errors to stderr.
1916
7fe9e2e0
FW
19172015-06-05 Florian Weimer <fweimer@redhat.com>
1918
1919 [BZ #15661]
a330baa0 1920 [BZ #17322]
7fe9e2e0
FW
1921 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
1922 Check for overflow properly. Check for O_APPEND. Ignore large
1923 file system block sizes. Add comments about problems.
1924 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
1925 * manual/filesys.texi (Storage Allocation): New node.
1926
c6bb095e
AZ
19272015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1928
1929 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
1930 cancellable syscalls.
1931 (SYS_ify): Add guard to no redefine it.
1932 (INLINE_SYSCALL): Likewise.
1933 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
1934 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
1935 SYSCALL_CANCEL instead.
1936 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
1937 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1938 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1939 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1940 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1941 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
1942 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
1943 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
1944 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1945 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1946 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
1947 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
1948 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
1949 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
1950 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
1951 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1952 Likewise.
1953 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1954 (__libc_pread64): Likewise.
1955 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
1956 (__libc_preadv): Likewise.
1957 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
1958 (__libc_readv64): Likewise.
1959 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1960 (__libc_pwrite): Likewise.
1961 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1962 (__libc_pwrite64): Likewise.
1963 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
1964 (__libc_pwritev): Likewise.
1965 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
1966 (__libc_pwritev64): Likewise.
1967 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
1968 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
1969 (sync_file_range): Likewise.
1970 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
1971 Likewise.
1972 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
1973 Likewise.
1974 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1975 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1976 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1977 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1978 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1979 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1980 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1981 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
1982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1983 Likewise.
1984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1985 (__libc_read64): Likewise.
1986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
1987 Likewise.
1988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
1989 Likewise.
1990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
1991 Likewise.
1992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
1993 Likewise.
1994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1995 (__libc_pread64): Likewise.
1996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
1997 Likewise.
1998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1999 (__libc_pwrite64): Likewise.
2000 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
2001 (sync_file_range): Likewise.
2002 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
2003 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2004 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2005 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
2006 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
2007 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2008 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2009 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
2010 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
2011 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
2012 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2013 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2014 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2015 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2016 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
2017 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2018 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2019 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2020 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2021 Likewise.
2022 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
2023 Likewise.
2024 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
2025 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
2026 Likewise.
2027 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
2028 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
2029 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
2030 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
2031 Likewise.
2032 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
2033 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
2034 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
2035 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
2036 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
2037
b65d3e5f
NL
20382015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
2039
2040 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
2041 Include dl-vdso.
2042 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
2043 Use VDSO routines for gettimeofday, clock_gettime if
2044 available.
2045 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
2046 Declare VDSO symbols.
2047 * sysdeps/unix/sysv/linux/arm/sysdep.h:
2048 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
2049 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2050 * sysdeps/unix/sysv/linux/arm/Versions: Add
2051 __vdso_clock_gettime.
2052
34caaafd
AZ
20532015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2054
2055 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
2056 be an inline implementation regardless of library is built within.
2057 (open_not_cancel_2): Likewise.
2058 (__read_nocancel): Likewise.
2059 (__write_nocancel): Likewise.
2060 (openat_not_cancel): Likewise.
2061 (openat_not_cancel_3): Likewise.
2062 (openat64_not_cancel): Likewise.
2063 (openat64_not_cancel_3): Likewise.
2064 (__close_nocancel): Likewise.
2065 (pause_not_cancel): Likewise.
2066 (nanosleep_not_cancel): Likewise.
2067 (sigsuspend_not_cancel): Likewise.
2068
b634486d
TR
20692015-06-04 Torvald Riegel <triegel@redhat.com>
2070
2071 [BZ #14958]
2072 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
2073 wake-up.
2074 (__pthread_rwlock_rdlock_slow): Likewise.
2075 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2076 Likewise.
2077 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2078 Likewise.
2079 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
2080 * nptl/tst-rwlock16.c: New file.
2081 * nptl/Makefile (tests): Add new test.
2082
3c9c61fe
TR
20832015-06-04 Torvald Riegel <triegel@redhat.com>
2084
2085 [BZ #18324]
2086 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
2087 missing wake-up of readers.
2088 * nptl/tst-rwlock15.c: New file.
2089 * nptl/Makefile (tests): Add new test.
2090
da7f049c
RM
20912015-06-03 Roland McGrath <roland@hack.frob.com>
2092
2093 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
2094 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
2095 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
2096 and __nacl_supply_interface_rtld.
2097 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
2098 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
2099 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
2100 Add __nacl_supply_interface_rtld.
2101 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
2102
cbf377ed
WD
21032015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
2104
2105 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
2106 isfinite.
2107 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2108 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
2109
d81f90cc
WD
21102015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
2111
2112 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
2113 __signbit* with standard C99 macros.
2114 * math/e_exp10l.c: Likewise.
2115 * math/e_exp2l.c: Likewise.
2116 * math/e_scalb.c: Likewise.
2117 * math/e_scalbf.c: Likewise.
2118 * math/e_scalbl.c: Likewise.
2119 * math/s_ldexp.c: Likewise.
2120 * math/s_ldexpf.c: Likewise.
2121 * math/s_ldexpl.c: Likewise.
2122 * math/w_atan2.c: Likewise.
2123 * math/w_atan2f.c: Likewise.
2124 * math/w_atan2l.c: Likewise.
2125 * math/w_cosh.c: Likewise.
2126 * math/w_coshf.c: Likewise.
2127 * math/w_coshl.c: Likewise.
2128 * math/w_exp10.c: Likewise.
2129 * math/w_exp10f.c: Likewise.
2130 * math/w_exp10l.c: Likewise.
2131 * math/w_exp2.c: Likewise.
2132 * math/w_exp2f.c: Likewise.
2133 * math/w_exp2l.c: Likewise.
2134 * math/w_fmod.c: Likewise.
2135 * math/w_fmodf.c: Likewise.
2136 * math/w_fmodl.c: Likewise.
2137 * math/w_hypot.c: Likewise.
2138 * math/w_hypotf.c: Likewise.
2139 * math/w_hypotl.c: Likewise.
2140 * math/w_jnl.c: Likewise.
2141 * math/w_lgamma.c: Likewise.
2142 * math/w_lgamma_r.c: Likewise.
2143 * math/w_lgammaf.c: Likewise.
2144 * math/w_lgammaf_r.c: Likewise.
2145 * math/w_lgammal.c: Likewise.
2146 * math/w_lgammal_r.c: Likewise.
2147 * math/w_pow.c: Likewise.
2148 * math/w_powf.c: Likewise.
2149 * math/w_powl.c: Likewise.
2150 * math/w_remainder.c: Likewise.
2151 * math/w_remainderf.c: Likewise.
2152 * math/w_remainderl.c: Likewise.
2153 * math/w_scalb.c: Likewise.
2154 * math/w_scalbf.c: Likewise.
2155 * math/w_scalbl.c: Likewise.
2156 * math/w_scalbln.c: Likewise.
2157 * math/w_scalblnf.c: Likewise.
2158 * math/w_scalblnl.c: Likewise.
2159 * math/w_sinh.c: Likewise.
2160 * math/w_sinhf.c: Likewise.
2161 * math/w_sinhl.c: Likewise.
2162 * math/w_tgamma.c: Likewise.
2163 * math/w_tgammaf.c: Likewise.
2164 * math/w_tgammal.c: Likewise.
2165 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2166 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
2167 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2168 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2169 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2170 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2171 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2172 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2173 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2174 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2175 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2176 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2177 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2178 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2179 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2180 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2181 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2182 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2183 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2184 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2185 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2186 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2187 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2188 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2189 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2190 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2191 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
2192 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2193 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2194 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2195 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
2196 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
2197 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
2198 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
2199 * stdio-common/printf_fp.c: Likewise.
2200 * stdio-common/printf_fphex.c: Likewise.
2201 * stdio-common/printf_size.c: Likewise.
2202
aca6ea65
JM
22032015-06-03 Joseph Myers <joseph@codesourcery.com>
2204
f014e87e
JM
2205 [BZ #18470]
2206 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
2207 strnlen.
2208 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
2209 Remove variable.
2210 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2211 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2212 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2213 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2214 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2215 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2216 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2217 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2218 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2219 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2220
aca6ea65
JM
2221 [BZ #18468]
2222 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
2223 weak alias of __wmemchr. Use libc_hidden_weak.
2224 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
2225 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
2226 instead of wmemchr.
2227
1a1a6bde
RM
22282015-06-02 Roland McGrath <roland@hack.frob.com>
2229
2230 [BZ #18383]
2231 * elf/tst-tlsalign-extern.c: New file.
2232 * elf/tst-tlsalign-extern-static.c: New file.
2233 * elf/tst-tlsalign-vars.c: New file.
2234 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
2235 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
2236 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
2237 ($(objpfx)tst-tlsalign-extern-static): Likewise.
2238 (test-xfail-tst-tlsalign-extern-static): New variable.
2239
bb4acb52
JM
22402015-06-02 Joseph Myers <joseph@codesourcery.com>
2241
e0c349b4
JM
2242 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
2243 Use variable name _sc_err instead of err.
2244 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
2245 instead of ret.
2246 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
2247 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
2248 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
2249 (INLINE_SYSCALL): Likewise.
2250
17696087
JM
2251 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
2252 * include/string.h (__strnlen): Use libc_hidden_proto.
2253 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
2254 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
2255 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
2256 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
2257 (libc_hidden_def): Undefine and redefine.
2258 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
2259 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
2260 __GI_strnlen.
2261 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
2262 libc_hidden_def.
2263 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
2264
bb4acb52
JM
2265 [BZ #18469]
2266 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
2267 weak alias of __towlower. Use libc_hidden_weak.
2268 (towupper): Rename to __towupper and define as weak alias of
2269 __towupper. Use libc_hidden_weak.
2270 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
2271 (__towupper): Likewise.
2272 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
2273 __towlower instead of towlower.
2274
6cfae52e
RM
22752015-06-02 Roland McGrath <roland@hack.frob.com>
2276
2277 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
2278 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
2279
71bf272d
WD
22802015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
2281
2282 * sysdeps/aarch64/libm-test-ulps: Update.
2283
1395ef21
AZ
22842015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2285
2286 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
2287 Define.
2288 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2289 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2290 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2291 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2292 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
2293 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
2294 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
2295
44c92499 22962015-06-01 Martin Sebor <msebor@redhat.com>
db8fed87
MS
2297
2298 [BZ #18116]
44c92499
AZ
2299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2300 (__setcontext): Use extended four-operand version of mtsf whenever
db8fed87 2301 possible.
44c92499
AZ
2302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2303 (__novec_swapcontext): Likewise.
db8fed87 2304
0994b9b6
SP
23052015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2306
0cd28286
SP
2307 * benchtests/scripts/compare_bench.py: New file.
2308 * benchtests/scripts/import_bench.py (mean): New function.
2309 (split_list): Likewise.
2310 (do_for_all_timings): Likewise.
2311 (compress_timings): Likewise.
2312
0994b9b6
SP
2313 * benchtests/scripts/import_bench.py: New file.
2314 * benchtests/scripts/validate_benchout.py: Import import_bench
2315 instead of jsonschema.
2316 (validate_bench): Remove function.
2317 (main): Use import_bench.
2318
2483fa85
SE
23192015-06-01 Steve Ellcey <sellcey@imgtec.com>
2320
2321 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
2322 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
2323
fd57d826
AZ
23242015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2325
2326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2327
f2175470
RM
23282015-05-28 Roland McGrath <roland@hack.frob.com>
2329
3ed01512
RM
2330 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
2331 set THREAD_SELF->tid to a magic value and futex-wake it.
2332 Pass its address to the thread_exit system call.
2333 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
2334 bit is clear.
2335 * sysdeps/nacl/lowlevellock.h: New file.
2336 * sysdeps/nacl/lll_timedwait_tid.c: New file.
2337
f2175470
RM
2338 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
2339 Add TIMEOUT to current time, don't subtract it.
2340
58007e9e
L
23412015-05-28 H.J. Lu <hongjiu.lu@intel.com>
2342
2343 [BZ #18422]
2344 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
2345 ($(objpfx)tst-audit2.out): Also depend on
2346 $(objpfx)tst-auditmod9b.so.
2347 * elf/tst-audit2.c: Include <dlfcn.h>.
2348 (calloc_called): New.
2349 (calloc): Allow to be called more than once.
2350 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
2351
be2e25bb
WD
23522015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
2353
2354 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
2355 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
2356
d28311a1
MM
23572015-05-27 Marko Myllynen <myllynen@redhat.com>
2358
2359 * stdlib/monetary.h: Fix comment.
2360
18270599
CM
23612015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
2362
2363 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
2364 Avoid using variables in #defines that might cause shadowing.
2365 (INTERNAL_VSYSCALL_CALL): Likewise.
2366
68c97aef
RM
23672015-05-26 Roland McGrath <roland@hack.frob.com>
2368
1f3a37b1
RM
2369 * sysdeps/nacl/lll_timedlock_wait.c: New file.
2370
68c97aef
RM
2371 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
2372 * nptl/lll_timedlock_wait.c: ... to this new file.
2373 * nptl/Makefile (libpthread-routines): Add it.
2374 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
2375 * nptl/lll_timedwait_tid.c: ... to this new file.
2376 * nptl/Makefile (libpthread-routines): Add it.
2377 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
2378 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
2379 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
2380 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
2381 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
2382 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
2383 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
2384 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
2385 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
2386 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
2387
97554e43
AZ
23882015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2389
2390 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
2391 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2392 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2393 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
2394 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2395 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2396 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2397 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2398 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2399 * sysdeps/unix/sysv/linux/tile/sysdep.h
2400 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2401 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
2402 using vDSO syscall macro.
2403
6afb9c01
AR
24042015-05-26 Andriy Rysin <arysin@gmail.com>
2405
2406 [BZ #17293]
2407 * uk_UA: Fix sorting order for Ukrainian locale
2408
f09b8615
SP
24092015-05-26 Marko Myllynen <myllynen@redhat.com>
2410
2411 * stdlib/monetary.h: Fix comment.
2412
a06b40cd
SN
24132015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
2414
2415 [BZ #18234]
2416 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
2417 st_mtim and st_ctim members.
2418 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
2419 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
2420 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
2421 (struct stat64): Likewise.
2422 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
2423 (struct stat64): Likewise.
2424 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
2425 (struct stat64): Likewise.
2426
f534255e
AZ
24272015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2428
2429 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
2430 Define and include sysdep-vdso.h.
2431 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
2432 Likewise.
2433 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
2434 Likewise.
2435 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
2436 Define with VDSO_SYMBOL and use PTR_MANGLE.
2437 (__vdso_clock_gettime): Likewise.
2438 (__vdso_clock_getres): Likewise.
2439 (_libc_vdso_platform_setup): Likewise.
2440 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
2441 Likewise.
2442 (_libc_vdso_platform_setup): Likewise.
2443 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
2444 Likewise.
2445 (__vdso_clock_gettime): Likewise.
2446 (__vdso_clock_getres): Likewise.
2447 (__vdso_get_tbfreq): Likewise.
2448 (__vdso_getcpu): Likewise.
2449 (__vdso_time): Likewise.
2450 (__vdso_sigtramp_rt64): Likewise.
2451 (__vdso_signtramp32): Likewise.
2452 (__vdso_sigtramp_rt32): Likewise.
2453 (_libc_vdso_platform_setup): Likewise.
2454 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
2455 Likewise.
2456 (__vdso_clock_gettime): Likewise.
2457 (__vdso_clock_getres): Likewise.
2458 (_libc_vdso_platform_setup): Likewise.
2459 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
2460 Likewise.
2461 (__vdso_clock_gettime): Likewise.
2462 (_libc_vdso_platform_setup): Likewise.
2463 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2464 Likewise.
2465 (__vdso_getcpu): Likewise.
2466 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
2467 Use VDSO_SYMBOL macro to define.
2468 (__vdso_clock_gettime): Likewise.
2469 (__vdso_clock_getres): Likewise.
2470 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
2471 Likewise.
2472 (__vdso_clock_gettime): Likewise.
2473 (__vdso_clock_getres): Likewise.
2474 (__vdso_get_tbfreq): Likewise.
2475 (__vdso_getcpu): Likewise.
2476 (__vdso_time): Likewise.
2477 (__vdso_sigtramp_rt64): Likewise.
2478 (__vdso_signtramp32): Likewise.
2479 (__vdso_sigtramp_rt32): Likewise.
2480 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
2481 Likewise.
2482 (__vdso_clock_gettime): Likewise.
2483 (__vdso_clock_getres): Likewise.
2484 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
2485 Likewise.
2486 (__vdso_clock_gettime): Likewise.
2487 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
2488 Likewise.
2489 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
2490 macro.
2491 (INTERNAL_VSYSCALL): Likewise.
2492 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
2493 Remove macro.
2494 (INTERNAL_VSYSCALL): Likewise.
2495 (INTERNAL_VSYSCALL_NCS): Likewise.
2496 (INTERNAL_VSYSCALL_CALL): New macro.
2497 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2498 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
2499 Likewise.
2500 (INTERNAL_VSYSCALL): Likewise.
2501 (INTERNAL_VSYSCALL_NCS): Likewise.
2502 (INTERNAL_VSYSCALL_CALL): New macro.
2503 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2505 (INLINE_VSYSCALL): Remove macro.
2506 (INTERNAL_VSYSCALL): Remove macro.
2507 (INTERNAL_VSYSCALL_NCS): Remove macro.
2508 (INTERNAL_VSYSCALL_CALL): New macro.
2509 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
2510 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
2511 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2512 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
2513 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2515 (INLINE_VSYSCALL): Remove macro.
2516 (INTERNAL_VSYSCALL): Likewise.
2517 (INTERNAL_VSYSCALL_NCS): Likewise.
2518 (INTERNAL_VSYSCALL_CALL): New macro.
2519 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
2520 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
2521 PTR_DEMANGLE on vDSO pointer.
2522 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2523 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
2524 macro.
2525 (INTERNAL_SYSCALL): Likewise.
2526 (INTERNAL_VSYSCALL_NCS): Remove macro.
2527 (INTERNAL_VSYSCALL_CALL): New macro.
2528 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
2529 Remove macro.
2530 (INTERNAL_VSYSCALL): Likewise.
2531 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
2532 sysdep-vdso.h instead of libc-vdso.h.
2533 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
2534 definition.
2535 (INLINE_VSYSCALL): Likewise.
2536 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
2537 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
2538 definition.
2539 (INLINE_VSYSCALL): Likewise.
2540 (INTERNAL_VSYSCALL): Likewise.
2541 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2542 * sysdeps/unix/sysv/linux/timespec_get.c
2543 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2544 (timespec_get): Use ANSI prototype.
2545 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
2546 and definition for Linux.
2547
829a679f
AS
25482015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
2549
2550 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
2551 * include/libc-symbols.h: libmvec_hidden_* macro series added.
2552
3e058c9d
L
25532015-05-22 H.J. Lu <hongjiu.lu@intel.com>
2554
2555 [BZ #18410]
2556 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
2557 for missing DT_PLTRELSZ.
2558
333e1ba4
PE
25592015-05-22 Paul Eggert <eggert@cs.ucla.edu>
2560
2561 Remove obsolete aliases that broke 'locale -a'
2562 [BZ #18412]
2563 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
2564 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
2565 breaking some applications that use 'locale -a' output.
2566 Change the encoding of this file from Latin-1 to ASCII to avoid
2567 other potential problems with people grepping this file.
2568
60dce8b9
AZ
25692015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2570
2571 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
2572 -fasynchronous-unwind-tables.
2573 (CFLAGS-sendto.c): Likewise.
2574 (CFLAGS-sendmsg.c): Likewise.
2575 (CFLAGS-connect.c): Likewise.
2576 (CFLAGS-recvmsg.c): Likewise.
2577 (CFLAGS-recvfrom.c): Likewise.
2578 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
2579 (SOCKETCALL): New macro: non-cancellable socketcall.
2580 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
2581 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
2582 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
2583 * sysdeps/unix/sysv/linux/accept.c: New file.
2584 * sysdeps/unix/sysv/linux/bind.c: Likewise.
2585 * sysdeps/unix/sysv/linux/connect.c: Likewise.
2586 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
2587 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
2588 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
2589 * sysdeps/unix/sysv/linux/listen.c: Likewise.
2590 * sysdeps/unix/sysv/linux/recv.c: Likewise.
2591 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
2592 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
2593 * sysdeps/unix/sysv/linux/send.c: Likewise.
2594 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
2595 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
2596 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
2597 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
2598 * sysdeps/unix/sysv/linux/socket.c: Likewise.
2599 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
2600 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
2601 prototype.
2602 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
2603 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2604 instead of __internal_xxx function.
2605 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
2606 prototype.
2607 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
2608 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2609 instead of __internal_xxx function.
2610 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
2611 prototype.
2612 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
2613 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2614 instead of __internal_xxx function.
2615 * sysdeps/unix/sysv/linux/accept.S: Remove file.
2616 * sysdeps/unix/sysv/linux/bind.S: Likewise.
2617 * sysdeps/unix/sysv/linux/connect.S: Likewise.
2618 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
2619 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
2620 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
2621 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
2622 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
2623 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
2624 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
2625 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
2626 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2627 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
2628 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
2629 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
2630 * sysdeps/unix/sysv/linux/listen.S: Likewise.
2631 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
2632 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
2633 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
2634 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
2635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
2636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
2637 * sysdeps/unix/sysv/linux/recv.S: Likewise.
2638 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
2639 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
2640 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
2641 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2642 * sysdeps/unix/sysv/linux/send.S: Likewise.
2643 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
2644 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
2645 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
2646 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
2647 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
2648 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
2649 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
2650 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
2651 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2652 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
2653 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
2654 socketcall is implemented in GLIBC.
2655
fded7ed6
JM
26562015-05-22 Joseph Myers <joseph@codesourcery.com>
2657
dc6b5aed
JM
2658 * soft-fp/fmadf4.c: Include <libc-internal.h>.
2659 (__fma): Ignore uninitialized warnings around packing.
2660 * soft-fp/fmasf4.c: Include <libc-internal.h>.
2661 (__fmaf): Ignore uninitialized warnings around packing.
2662 * soft-fp/fmatf4.c: Include <libc-internal.h>.
2663 (__fmal): Ignore uninitialized warnings around packing.
2664
0c3717e7
JM
2665 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
2666 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2667 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
2668 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2669
31a8780d
JM
2670 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
2671 switch statement into default case.
2672 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
2673
fded7ed6
JM
2674 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
2675 a conditional in forcing "inexact".
2676 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2677 Likewise.
2678
992328e5
RM
26792015-05-22 Roland McGrath <roland@hack.frob.com>
2680
2681 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2682 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
2683 for each INTERNAL_SYSCALL use.
2684
cf06a4e3
JM
26852015-05-22 Joseph Myers <joseph@codesourcery.com>
2686
4e5f9259
JM
2687 [BZ #438]
2688 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
2689 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
2690 variable.
2691
cf06a4e3
JM
2692 [BZ #18444]
2693 * string/basename.c (basename): Rename to __basename and define as
2694 weak alias of __basename. Use libc_hidden_weak.
2695 * include/string.h (__basename): Declare. Use libc_hidden_proto.
2696 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
2697 __basename instead of basename.
2698 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
2699 Remove variable.
2700 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2701
e69dcccb
FW
27022015-05-18 Florian Weimer <fweimer@redhat.com>
2703
2704 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
2705 (_IO_JUMPS_FILE_plus): New.
2706 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
2707 _IO_CAST_FIELD_ACCESS.
2708 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
2709 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
2710 * libio/freopen.c (freopen): Likewise.
2711 * libio/freopen64.c (freopen64): Likewise.
2712 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
2713 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
2714 * libio/iofwide.c (_IO_fwide): Likewise.
2715 * libio/memstream.c (open_memstream): Likewise.
2716 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2717 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2718 * libio/oldiopopen.c (_IO_old_popen): Likewise.
2719
9d12d765
JM
27202015-05-21 Joseph Myers <joseph@codesourcery.com>
2721
9124ccf7
JM
2722 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
2723 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
2724 NADJ.
2725 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
2726 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
2727 NADJ.
2728 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
2729 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
2730 NADJ.
2731
89f3b6e1
JM
2732 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
2733 (p == 4) case.
2734
9d12d765
JM
2735 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
2736 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
2737 Remove variable.
2738 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2739 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2740 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2741
0f87de79
FW
27422015-05-21 Florian Weimer <fweimer@redhat.com>
2743
2744 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
2745 Adjust jump table label generation macros.
2746
f8194fa6
FW
27472015-05-21 Florian Weimer <fweimer@redhat.com>
2748
2749 * stdio-common/vfprintf.c (vfprintf): Move local variables
2750 args_malloced, specs, specs_malloced, and the code after
2751 do_positional to the printf_positional function.
2752 (printf_positional): New function.
2753
f0f98189
FW
27542015-05-21 Florian Weimer <fweimer@redhat.com>
2755
2756 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
2757 function.
2758 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
2759 STEP4_TABLE, process_arg): Move macro definitions
2760 out of the vfprintf function. (Cosmetic change only.)
2761
608f8971
CD
27622015-05-21 Carlos O'Donell <carlos@redhat.com>
2763
2764 * benchtests/Makefile (stdio-common-bench): Define.
2765 (benchset): Add stdio-common-bench.
2766 * sprintf-inputs: New file.
2767 * sprintf-source.c: New file.
2768
2212c142
AS
27692015-05-21 Andreas Schwab <schwab@suse.de>
2770
2771 [BZ #13028]
2772 [BZ #17053]
2773 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
2774 of struct __res_state.
2775 * resolv/res_send.c (__libc_res_nsend): Likewise.
2776 (get_nsaddr): New function.
2777 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
2778 statp directly.
2779
be8b8f17
JM
27802015-05-20 Joseph Myers <joseph@codesourcery.com>
2781
f5857378
JM
2782 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
2783 -D_POSIX_C_SOURCE=199506L.
2784
38d3d5b7
JM
2785 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
2786
be8b8f17
JM
2787 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
2788 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
2789 Do not mention otherwise.
2790 [POSIX] (_XOPEN_VERSION): Do not expect.
2791 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
2792 [POSIX] (_POSIX2_C_BIND): Likewise.
2793 [POSIX] (_POSIX2_VERSION): Likewise.
2794 [POSIX] (_XOPEN_XPG2): Likewise.
2795 [POSIX] (_XOPEN_XPG3): Likewise.
2796 [POSIX] (_XOPEN_XPG4): Likewise.
2797 [POSIX] (_XOPEN_UNIX): Likewise.
2798 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
2799 [POSIX] (_POSIX_BARRIERS): Likewise.
2800 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
2801 [POSIX] (_POSIX_CPUTIME): Likewise.
2802 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
2803 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
2804 [POSIX] (_POSIX_SHELL): Likewise.
2805 [POSIX] (_POSIX_SPAWN): Likewise.
2806 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
2807 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
2808 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
2809 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
2810 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
2811 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
2812 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
2813 [POSIX] (_XBS5_LP64_OFF64): Likewise.
2814 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
2815 [POSIX] (_POSIX_TIMEOUTS): Likewise.
2816 [POSIX] (_POSIX2_PBS): Likewise.
2817 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
2818 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
2819 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
2820 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
2821 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
2822 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
2823 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
2824 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
2825 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
2826 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
2827 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
2828 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
2829 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
2830 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
2831 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
2832 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
2833 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
2834 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
2835 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
2836 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
2837 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
2838 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
2839 [POSIX] (_SC_2_C_BIND): Likewise.
2840 [POSIX] (_SC_2_C_VERSION): Likewise.
2841 [POSIX] (_SC_2_PBS): Likewise.
2842 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
2843 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
2844 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
2845 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
2846 [POSIX] (_SC_2_PBS_TRACK): Likewise.
2847 [POSIX] (_SC_ATEXIT_MAX): Likewise.
2848 [POSIX] (_SC_BARRIERS): Likewise.
2849 [POSIX] (_SC_BASE): Likewise.
2850 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
2851 [POSIX] (_SC_DEVICE_IO): Likewise.
2852 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
2853 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
2854 [POSIX] (_SC_FD_MGMT): Likewise.
2855 [POSIX] (_SC_FIFO): Likewise.
2856 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
2857 [POSIX] (_SC_FILE_LOCKING): Likewise.
2858 [POSIX] (_SC_FILE_SYSTEM): Likewise.
2859 [POSIX] (_SC_IOV_MAX): Likewise.
2860 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
2861 [POSIX] (_SC_NETWORKING): Likewise.
2862 [POSIX] (_SC_PAGE_SIZE): Likewise.
2863 [POSIX] (_SC_PASS_MAX): Likewise.
2864 [POSIX] (_SC_PIPE): Likewise.
2865 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
2866 [POSIX] (_SC_REGEXP): Likewise.
2867 [POSIX] (_SC_SHELL): Likewise.
2868 [POSIX] (_SC_SIGNALS): Likewise.
2869 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
2870 [POSIX] (_SC_SPIN_LOCKS): Likewise.
2871 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
2872 [POSIX] (_SC_USER_GROUPS): Likewise.
2873 [POSIX] (_SC_USER_GROUPS_R): Likewise.
2874 [POSIX] (_SC_STREAMS): Likewise.
2875 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
2876 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
2877 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
2878 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
2879 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
2880 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
2881 [POSIX] (_PC_FILESIZEBITS): Likewise.
2882 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
2883 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
2884 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
2885 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
2886 [POSIX] (uid_t): Likewise.
2887 [POSIX] (gid_t): Likewise.
2888 [POSIX] (off_t): Likewise.
2889 [POSIX] (pid_t): Likewise.
2890 [POSIX] (cuserid): Allow.
2891 (_SC_2_CHAR_TERM): Require constant.
2892 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
2893 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
2894 variable.
2895
5e2aa9a4
RM
28962015-05-20 Roland McGrath <roland@hack.frob.com>
2897
7cea6212
RM
2898 * sysdeps/nacl/pthread-pids.h: New file.
2899 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
2900 (create_thread): Use __nacl_get_tid to initialize PD->tid.
2901
2902 * nptl/pthread-pids.h: New file.
2903 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
2904 * nptl/nptl-init.c: Include <pthread-pids.h>.
2905 (__pthread_initialize_minimal_internal):
2906 Call __pthread_initialize_pids instead of set_tid_address syscall.
2907
5e2aa9a4
RM
2908 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
2909 * sysdeps/posix/usleep.c: ... here.
2910
96dffc26
AZ
29112015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2912
2913 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
2914 call_pselect6 object.
2915 [$(subdir) = io]: Remove call_sync_file_range object.
2916 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
2917 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
2918 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
2919 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
2920
5be91118
WD
29212015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
2922
2923 * math/s_cproj.c: Add include "math_private.h".
2924 * math/s_cprojf.c: Likewise.
2925 * math/s_cprojl.c: Likewise.
2926
526af541
JM
29272015-05-19 Joseph Myers <joseph@codesourcery.com>
2928
3ce2232e
JM
2929 [BZ #18244]
2930 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
2931 high mantissa bit when testing whether P is a NaN.
2932 * math/libm-test.inc (remainder_test_data): Add more tests.
2933 (remquo_test_data): Likewise.
2934
526af541
JM
2935 [BZ #18049]
2936 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
2937 below -32, return the argument, with underflow if subnormal.
2938 * math/auto-libm-test-in: Add more tests of atanh.
2939 * math/auto-libm-test-out: Regenerated.
2940
88ed594f
RM
29412015-05-19 Roland McGrath <roland@hack.frob.com>
2942
2943 [BZ #18434]
2944 * nptl/tst-sem15.c: New file.
2945 * nptl/Makefile (tests): Add it.
2946 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
2947 s/<</>>/ to fix typo in EOVERFLOW check.
2948 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
2949
654055e0
SP
29502015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2951
2952 * manual/strings.texi (envz_remove): Fix typo in safety
2953 annotations.
2954
eb286115
SE
29552015-05-19 Paul Eggert <eggert@cs.ucla.edu>
2956 Steve Ellcey <sellcey@imgtec.com>
2957
2958 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
2959 in order to avoid strict alias warnings.
2960 (iruserok_af): Ditto for ra.
2961
265cbed8
JL
29622015-05-19 James Lemke <jwlemke@codesourcery.com>
2963
2964 [BZ #17581]
2965 * malloc/hooks.c
2966 (magicbyte): Convert to a function and avoid returning 0x01.
2967 (mem2mem_check): Avoid using a length byte equal to the magic byte.
2968 (mem2chunk_check): Fix unsigned comparisons to zero.
2969 Hoist defs of sz and magic.
2970
1c5df816
RH
29712015-05-19 Richard Henderson <rth@redhat.com>
2972
85bae5a1
RH
2973 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
2974
1c5df816
RH
2975 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2976
920d7012
SP
29772015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2978
fff94fa2
SP
2979 [BZ #16159]
2980 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
2981 * malloc/arena.c (arena_lock): Check if arena is corrupt.
2982 (reused_arena): Find a non-corrupt arena.
2983 (heap_trim): Pass arena to unlink.
2984 * malloc/hooks.c (malloc_check_get_size): Pass arena to
2985 malloc_printerr.
2986 (top_check): Likewise.
2987 (free_check): Likewise.
2988 (realloc_check): Likewise.
2989 * malloc/malloc.c (malloc_printerr): Add arena argument.
2990 (unlink): Likewise.
2991 (munmap_chunk): Adjust.
2992 (ARENA_CORRUPTION_BIT): New macro.
2993 (arena_is_corrupt): Likewise.
2994 (set_arena_corrupt): Likewise.
2995 (sysmalloc): Use mmap if there are no usable arenas.
2996 (_int_malloc): Likewise.
2997 (__libc_malloc): Don't fail if arena_get returns NULL.
2998 (_mid_memalign): Likewise.
2999 (__libc_calloc): Likewise.
3000 (__libc_realloc): Adjust for additional argument to
3001 malloc_printerr.
3002 (_int_free): Likewise.
3003 (malloc_consolidate): Likewise.
3004 (_int_realloc): Likewise.
3005 (_int_memalign): Don't touch corrupt arenas.
3006 * malloc/tst-malloc-backtrace.c: New test case.
3007
99db95db
SP
3008 * Makefile (summarize-tests): Fix return value on success.
3009
920d7012
SP
3010 * manual/string.texi (Envz Functions): Add envz_remove.
3011
46f894d8
RM
30122015-05-18 Roland McGrath <roland@hack.frob.com>
3013
3014 * sysdeps/posix/opendir.c: Include <stdbool.h>.
3015 (invalid_name): New function, broken out of ...
3016 (__opendirat): ... here. Call it.
3017 (need_isdir_precheck): New function, broken out of ...
3018 (__opendirat): ... here. Call it.
3019 Use __fxstatat64, not __xstatat64.
3020 (opendir_oflags): New function, broken out of ...
3021 (__opendirat): ... here. Call it.
3022 (opendir_tail): New function, broken out of ...
3023 (__opendirat): ... here. Call it.
3024 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
3025 opendir_tail, rather than punting to __opendirat.
3026 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
3027
eefe64b9
SP
30282015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3029
3030 * .gitignore: Ignore generated *.pyc.
3031
330fadfc
AS
30322015-05-18 Arjun Shankar <arjun.is@lostca.se>
3033
3034 * include/stdio.h: Define __need_wint_t.
3035 * test-skeleton.c: Avoid `for' loop initial declaration.
3036 * nptl/tst-initializers1.c: Use test-skeleton.c.
3037
b40a4e1a
AZ
30382015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3039
3040 [BZ #18418]
3041 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
3042
ff069f02
JM
30432015-05-15 Joseph Myers <joseph@codesourcery.com>
3044
8020a808
JM
3045 [BZ #16352]
3046 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
3047 (__ieee754_atanh): Force underflow exception for results with
3048 small absolute value.
3049 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
3050 (__ieee754_atanhf): Force underflow exception for results with
3051 small absolute value.
3052 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
3053 (__ieee754_atanh): Force underflow exception for results with
3054 small absolute value.
3055 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
3056 (__ieee754_atanhf): Force underflow exception for results with
3057 small absolute value.
3058 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
3059 (__ieee754_atanhl): Force underflow exception for results with
3060 small absolute value.
3061 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
3062 (__ieee754_atanhl): Force underflow exception for results with
3063 small absolute value.
3064 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
3065 (__ieee754_atanhl): Force underflow exception for results with
3066 small absolute value.
3067 * math/auto-libm-test-in: Do not allow missing underflow
3068 exceptions from atanh.
3069 * math/auto-libm-test-out: Regenerated.
3070
5a608ccc
JM
3071 [BZ #18221]
3072 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
3073 2**-28 as threshold for returning x or +/- 1/x.
3074 * math/auto-libm-test-in: Add more tests of tan.
3075 * math/auto-libm-test-out: Regenerated.
3076
ff069f02
JM
3077 [BZ #18220]
3078 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3079 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
3080 * math/auto-libm-test-in: Add another test of lgamma.
3081 * math/auto-libm-test-out: Regenerated.
3082
0e9be4db
WD
30832015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
3084
3085 * stdio-common/printf_fp.c (___printf_fp): Use abs.
3086 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
3087 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
3088 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
3089 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
3090 (ADD2A): Use fabs. (SUB2A): Use fabs.
3091 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
3092 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
3093 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
3094 (log1): Use fabs. (my_log2): Use fabs.
3095 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
3096 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
3097 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
3098 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
3099 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
3100 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
3101 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
3102 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
3103 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
3104 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
3105 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
3106
fbc68f03
JM
31072015-05-15 Joseph Myers <joseph@codesourcery.com>
3108
3109 [BZ #18217]
3110 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
3111 as threshold for returning 1 - x.
3112 * math/auto-libm-test-in: Add more tests of erfc.
3113 * math/auto-libm-test-out: Regenerated.
3114
0b7a5f92
JM
31152015-05-14 Joseph Myers <joseph@codesourcery.com>
3116
9a71f1fc
JM
3117 [BZ #18196]
3118 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
3119 threshold for large arguments.
3120 * math/auto-libm-test-in: Add another test of atan.
3121 * math/auto-libm-test-out: Regenerated.
3122
0b7a5f92
JM
3123 [BZ #16339]
3124 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
3125 (__log1p): Force underflow exception for results with small
3126 absolute value.
3127 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
3128 (__log1pf): Force underflow exception for results with small
3129 absolute value.
3130 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
3131 (__log1p): Force underflow exception for results with small
3132 absolute value.
3133 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
3134 (__log1pf): Force underflow exception for results with small
3135 absolute value.
3136 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
3137 (__log1pl): Force underflow exception for results with small
3138 absolute value.
3139 * math/auto-libm-test-in: Do not allow missing underflow
3140 exceptions from log1p.
3141 * math/auto-libm-test-out: Regenerated.
3142
95b07fbc
AZ
31432015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
3144 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3145
b2fb2524 3146 [BZ #16704]
95b07fbc
AZ
3147 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
3148
ee971601
AS
31492015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
3150
5695d46f
AS
3151 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
3152 (libmvec): New variable.
3153 * configure.ac: Added option for mathvec build.
3154 * configure: Regenerated.
3155 * mathvec/Depend: New file.
3156 * mathvec/Makefile: New file.
3157 * shlib-versions: Added libmvec.
3158 * math/Makefile: Added rule for libm.so installation.
3159
202d48da
AS
3160 * bits/math-vector.h: New file.
3161 * bits/libm-simd-decl-stubs.h: New header.
3162 * math/Makefile (headers): Added new header
3163 libm-simd-decl-stubs.h.
3164 * math/math.h (__MATHCALL_VEC): New macro.
3165
58c50f06
AS
3166 * math/gen-libm-have-vector-test.sh: Script generates series of macros
3167 for conditions in testing functions.
3168 * math/Makefile: Added call of libm-have-vector-test.sh.
3169 * math/libm-test.inc (HAVE_VECTOR): New macros.
3170
a6cdcd75
AS
3171 * math/libm-test.inc: START refactored.
3172 * math/test-double.c (TEST_MATHVEC): Add define.
3173 * math/test-float.c: Likewise.
3174 * math/test-idouble.c: Likewise.
3175 * math/test-ifloat.c: Likewise.
3176 * math/test-ildoubl.c: Likewise.
3177 * math/test-ldouble.c: Likewise.
3178 * sysdeps/generic/math-tests-arch.h
3179 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
3180 architecture check.
3181
ee971601
AS
3182 * math/test-double.c (FUNC_TEST): New macro.
3183 * math/test-float.c: Likewise.
3184 * math/test-idouble.c: Likewise.
3185 * math/test-ifloat.c: Likewise.
3186 * math/test-ildoubl.c: Likewise.
3187 * math/test-ldouble.c: Likewise.
3188 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
3189
b88a18e1
RM
31902015-05-13 Roland McGrath <roland@hack.frob.com>
3191
9e4ec74f
RM
3192 * sysdeps/nacl/fdopendir.c: New file.
3193
95341673 3194 * dirent/scandir-tail.c: New file.
d2ee815a
RM
3195 * dirent/scandir64-tail.c: New file.
3196 * dirent/Makefile (routines): Add them.
95341673 3197 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
d2ee815a
RM
3198 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
3199 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
3200 [!SCANDIR] (SCANDIR_TAIL): New macro.
3201 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
3202 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
3203 (SCANDIRAT): Macro removed.
3204 (SCANDIR_TAIL): New macro.
3205 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
3206 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
3207 (SCANDIRAT): Just call __opendirat and __scandir_tail.
3208 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
3209 (READDIR): Macro removed.
3210 (SCANDIR_TAIL): New macro.
3211 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
3212 (SCANDIR_TAIL): New macro.
3213
83c10893
RM
3214 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
3215 * dirent/scandir-cancel.c: ... to this new file.
3216 * dirent/Makefile (routines): Add it.
3217 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
3218 * sysdeps/unix/sysv/linux/i386/scandir64.c
3219 (SKIP_SCANDIR_CANCEL): Macro removed.
3220 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
3221
b88a18e1
RM
3222 * dirent/tst-scandir.c: New file.
3223 * dirent/tst-scandir64.c: New file.
3224 * dirent/Makefile (tests): Add them.
3225
d9efd775
L
32262015-05-13 H.J. Lu <hongjiu.lu@intel.com>
3227
3228 [BZ #18409]
3229 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
3230
265a9b73
SN
32312015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3232
3233 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
3234 list.
3235
60ccaf75
LH
32362015-05-13 Leonhard Holz <leonhard.holz@web.de>
3237
3238 * benchtests/bench-strcoll.c: New benchmark.
3239 * benchtests/Makefile: Generate locales and run benchmark.
3240 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
3241 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
3242 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
3243 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
3244 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
3245 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
3246 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
3247 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
3248 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
3249 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
3250 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
3251 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
3252 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
3253 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
3254 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
3255 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
3256 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
3257 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
3258 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
3259 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
3260 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
3261 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
3262 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
3263 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
3264
0f4840be
OB
32652015-05-12 Ondřej Bílka <neleai@seznam.cz>
3266
3267 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
3268 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3269
7327b333
RM
32702015-05-12 Roland McGrath <roland@hack.frob.com>
3271
3272 * posix/uname-values.h: New file.
3273 * posix/uname.c: Include that instead of <config-name.h>.
3274 * sysdeps/nacl/uname-values.h: New file.
3275 * sysdeps/arm/nacl/uname-values.h: New file.
3276
8e65ea4d
JM
32772015-05-12 Joseph Myers <joseph@codesourcery.com>
3278
3279 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
3280 splitting into fields.
3281
a964c6e4 32822015-05-12 Leonhard Holz <leonhard.holz@web.de>
f13c2a8d
LH
3283
3284 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
3285 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
3286 * locale/localeinfo.h: Add enum collation_encoding_type.
3287 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
3288 * programs/ld-collate.c (collate_output): Add encoding type info.
3289 * string/strcoll_l.c (STRDIFF): New function.
3290 * (STRCOLL): Use STRDIFF to skip over equal prefix.
3291 * wcsmbs/wcscoll_l.c: Define STRDIFF.
3292
34cb304e
JM
32932015-05-11 Joseph Myers <joseph@codesourcery.com>
3294
3295 [BZ #18397]
3296 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
3297 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
3298 <fpu_control.h> instead of <math/fpu_control.c>.
3299 * sysdeps/mips/mips32/fpu/Makefile: New file.
3300
b13b96ca
AS
33012015-05-11 Andreas Schwab <schwab@suse.de>
3302
3303 [BZ #18007]
3304 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
3305 nss_endgrent.
3306 (_nss_compat_endgrent): Call nss_endgrent.
3307 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
3308 nss_endpwent.
3309 (_nss_compat_endpwent): Call nss_endpwent.
3310 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
3311 needent, call nss_setspent only if non-zero.
3312 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
3313 (internal_endspent): Don't call nss_endspent.
3314 (_nss_compat_endspent): Call nss_endspent.
3315 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
3316 Remove. All uses removed.
3317 (internal_setent): Remove parameter stayopen, add parameter
3318 stream. Use it instead of global variable.
3319 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
3320 (internal_endent, internal_getent): Add parameter stream. Use it
3321 instead of global variable.
3322 (CONCAT(_nss_files_end,ENTNAME))
3323 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
3324 (_nss_files_get##name##_r): Pass local stream. Remove locking.
3325 * nss/nss_files/files-alias.c (position, last_use): Remove. All
3326 uses removed.
3327 (internal_setent, internal_endent): Add parameter stream. Use it
3328 instead of global variable.
3329 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
3330 stream.
3331 (get_next_alias): Add parameter stream.
3332 (_nss_files_getaliasent_r): Pass global stream.
3333 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
3334 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
3335 (_nss_files_gethostbyname4_r): Pass local stream to
3336 internal_setent, internal_getent and internal_endent. Remove
3337 locking.
3338
e1b6cb04
SL
33392015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3340
3341 * tst-strfmon1.c (tests): Update expected currency symbol.
3342
c4c977c6
RM
33432015-05-08 Roland McGrath <roland@hack.frob.com>
3344
3345 * sysdeps/nacl/gethostname.c: New file.
3346
14f36098
JM
33472015-05-08 Joseph Myers <joseph@codesourcery.com>
3348
3349 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
3350 and sinh.
3351 * math/auto-libm-test-out: Regenerated.
3352 * sysdeps/i386/fpu/libm-test-ulps: Update.
3353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3354
c92d40c0
CD
33552015-05-08 Carlos O'Donell <carlos@redhat.com>
3356
3357 [BZ #18125]
3358 * stdlib/tst-setcontext3.c: New file.
3359 * stdlib/tst-setcontext3.sh: New file.
3360 * stdlib/Makefile (tests): Add tst-setcontext3.
3361 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
3362 to verify test program created output file.
3363 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
3364 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
3365 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
3366 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
3367
48276b67
RM
33682015-05-06 Roland McGrath <roland@hack.frob.com>
3369
b5fe8ec8
RM
3370 [BZ #18383]
3371 * elf/tst-tlsalign.c: New file.
3372 * elf/tst-tlsalign-static.c: New file.
3373 * elf/tst-tlsalign-lib.c: New file.
3374 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
3375 (tests-static): Add tst-tlsalign-static.
3376 (modules-names): Add tst-tlsalign-lib.
3377 (test-xfail-tst-tlsalign): New variable.
3378 (test-xfail-tst-tlsalign-static): New variable.
3379
48276b67
RM
3380 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
3381 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
3382
471dffa1
JM
33832015-05-06 Joseph Myers <joseph@codesourcery.com>
3384
3385 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
3386 csqrt, erfc, sin and sincos.
3387 * math/auto-libm-test-out: Regenerated.
3388 * sysdeps/i386/fpu/libm-test-ulps: Update.
3389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3390
eda361c8
WD
33912015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
3392
3393 * sysdeps/aarch64/libm-test-ulps: Update.
3394
31450d9a
JM
33952015-05-05 Joseph Myers <joseph@codesourcery.com>
3396
3397 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
3398 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
3399 * math/auto-libm-test-out: Regenerated.
3400 * sysdeps/i386/fpu/libm-test-ulps: Update.
3401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3402
a6ab6ccd
DM
34032015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
3404
3405 [BZ #18265]
3406 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
3407 (wcsncpy): Likewise.
3408
d0ccd0d9
FW
34092015-05-05 Florian Weimer <fweimer@redhat.com>
3410
3411 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3412 Assume __ASSUME_FALLOCATE is always true.
3413 * sysdeps/unix/sysv/linux/posix_fallocate64.c
3414 (__posix_fallocate64_l64): Likweise.
3415 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
3416 (posix_fallocate): Likewise.
3417 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
3418 (__posix_fallocate64_l64): Likewise.
3419 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3420 [!__ASSUME_FALLOCATE]: Add comment.
3421
4bd40bcf
FW
34222015-05-05 Florian Weimer <fweimer@redhat.com>
3423
3424 * sysdeps/unix/sysv/linux/i386/Makefile
3425 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
3426 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
3427 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
3428 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
3429 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
3430 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
3431 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
3432
305392ea
JM
34332015-05-02 Joseph Myers <joseph@codesourcery.com>
3434
3435 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
3436 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
3437 tgamma.
3438 * math/auto-libm-test-out: Regenerated.
3439 * sysdeps/i386/fpu/libm-test-ulps: Update.
3440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3441
a0d31f36
JM
34422015-05-01 Joseph Myers <joseph@codesourcery.com>
3443
51e15247
JM
3444 * math/auto-libm-test-in: Add more tests of tgamma.
3445 * math/auto-libm-test-out: Regenerated.
3446 * sysdeps/i386/fpu/libm-test-ulps: Update.
3447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3448
5ffb9a53
JM
3449 * math/auto-libm-test-in: Add more tests of tanh.
3450 * math/auto-libm-test-out: Regenerated.
3451 * sysdeps/i386/fpu/libm-test-ulps: Update.
3452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3453
0957e15d
JM
3454 * math/auto-libm-test-in: Add more tests of tan.
3455 * math/auto-libm-test-out: Regenerated.
3456 * sysdeps/i386/fpu/libm-test-ulps: Update.
3457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3458
827bb585
JM
3459 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
3460 * math/auto-libm-test-out: Regenerated.
3461 * sysdeps/i386/fpu/libm-test-ulps: Update.
3462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3463
86793ae7
JM
3464 * math/auto-libm-test-in: Add another test of pow.
3465 * math/auto-libm-test-out: Regenerated.
3466 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3467
038e4be9
JM
3468 * math/auto-libm-test-in: Add more tests of lgamma.
3469 * math/auto-libm-test-out: Regenerated.
3470 * sysdeps/i386/fpu/libm-test-ulps: Update.
3471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3472
a0d31f36
JM
3473 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
3474 log1p.
3475 * math/auto-libm-test-out: Regenerated.
3476 * sysdeps/i386/fpu/libm-test-ulps: Update.
3477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3478
b4336ba4
MW
34792015-05-01 Mark Wielaard <mjw@redhat.com>
3480
3481 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
3482 Elf64_Chdr structs and ELFCOMPRESS constants.
3483
c5a3a509
JM
34842015-05-01 Joseph Myers <joseph@codesourcery.com>
3485
e1483b36
JM
3486 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
3487 expm1.
3488 * math/auto-libm-test-out: Regenerated.
3489 * sysdeps/i386/fpu/libm-test-ulps: Update.
3490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3491
c5a3a509
JM
3492 * math/auto-libm-test-in: Add more tests of erf and erfc.
3493 * math/auto-libm-test-out: Regenerated.
3494 * sysdeps/i386/fpu/libm-test-ulps: Update.
3495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3496
44cb254f
SN
34972015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
3498
3499 * config.h.in (HAVE_AARCH64_BE): Add.
3500
0833cecd
JM
35012015-04-30 Joseph Myers <joseph@codesourcery.com>
3502
9862ab1f
JM
3503 * math/auto-libm-test-in: Add more tests of csqrt.
3504 * math/auto-libm-test-out: Regenerated.
3505 * sysdeps/i386/fpu/libm-test-ulps: Update.
3506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3507
094fca83
JM
3508 * math/auto-libm-test-in: Add more tests of cosh and sinh.
3509 * math/auto-libm-test-out: Regenerated.
3510 * sysdeps/i386/fpu/libm-test-ulps: Update.
3511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3512
0833cecd
JM
3513 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
3514
314647f7
RM
35152015-04-29 Roland McGrath <roland@hack.frob.com>
3516
45c2c564
RM
3517 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
3518 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
3519
3600cf1e
RM
3520 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
3521 (euidaccess, eaccess): Define as weak aliases.
3522
314647f7
RM
3523 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
3524 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
3525 but __suseconds_t is often 'long int' so some sources assume that
3526 type is being used (e.g. they use %ld to print tv_usec).
3527
03d2730b
FW
35282015-04-29 Florian Weimer <fweimer@redhat.com>
3529
3530 [BZ #18007]
3531 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
3532 (CVE-2014-8121)
3533 * nss/tst-nss-getpwent.c: New file.
3534 * nss/Makefile (tests): Add new test.
3535
7d0b2575
JM
35362015-04-28 Joseph Myers <joseph@codesourcery.com>
3537
3538 [BZ #18346]
3539 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
3540 exponents less than 48 as cases where high part of mantissa needs
3541 examining to determine whether argument is integral.
3542 * math/libm-test.inc (round_test_data): Add more tests.
3543
fb4041ae
MW
35442015-04-28 Mark Wielaard <mjw@redhat.com>
3545
3546 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
3547
3f2e21e9
DM
35482015-04-27 David S. Miller <davem@davemloft.net>
3549
3550 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
3551 __tls_get_addr.
3552 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3553
5cffc05e
L
35542015-04-27 H.J. Lu <hongjiu.lu@intel.com>
3555
3556 [BZ#18333]
3557 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
3558
cc8dcf96
FW
35592015-04-27 Florian Weimer <fweimer@redhat.com>
3560
3561 [BZ#18333]
3562 * time/tzset.c (parse_tzname): Return error on memory allocation
3563 failure.
3564 * test-skeleton.c (struct temp_name_list): Change type of name
3565 member to non-const.
3566 (add_temp_file): Create a copy of the file name.
3567 (delete_temp_files): Deallocate memory.
3568 (create_temp_file): Add comment.
3569
2dd6ee79
FW
35702015-04-24 Florian Weimer <fweimer@redhat.com>
3571
3572 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
3573 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
3574
c25fec6f
RM
35752015-04-24 Roland McGrath <roland@hack.frob.com>
3576
3577 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
3578 * sysdeps/arm/configure: Regenerated.
3579
42261ad7
FW
35802015-04-24 Florian Weimer <fweimer@redhat.com>
3581
3582 [BZ #17715]
3583 * time/tzfile.c (__tzfile_read): Check for large values of
3584 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
3585 * time/tzset.c (__tzstring_len): New function, based on the old
3586 __tzstring function.
3587 (__tzstring): Call __tzstring_len.
3588 (parse_tzname): New helper function extracted from
3589 __tzset_parse_tz. Call __tzstring_len, without making a copy of
3590 the input string.
3591 (parse_offset): New helper function extracted from
3592 __tzset_parse_tz. Replace switch with fallthrough with
3593 initialization before sscanf.
3594 (parse_rule): Likewise.
3595 (__tzset_parse_tz): Rewrite using the new helper functions. Use
3596 new-style function definition.
3597 * timezone/Makefile (tests): Add tst-tzset.
3598 (tst-tzset.out): Dependencies on time zone files.
3599 (tst-tzset-ENV): Set TZDIR.
3600 (testdata/XT%): Copy crafted time zone files.
3601 * timezone/README: Mention crafted time zone files.
3602 * timezone/testdata/XT1, timezone/testdata/XT2,
3603 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
3604 files.
3605 * timezone/tst-tzset.c: New test.
3606
ed159672
FW
36072015-04-24 Florian Weimer <fweimer@redhat.com>
3608
3609 * Makeconfig (+gccwarn): Remove -Winline.
3610
8666ab5c
SL
36112015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3612
3613 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
3614
f7fba805
SL
36152015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3616
3617 * NEWS: Mention sysconf() cache information support for s390.
3618 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
3619
92f28979
WD
36202015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
3621
3622 * math/k_casinh.c (__kernel_casinh): Use __copysign.
3623 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
3624 (__nearbyint): Likewise.
3625 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
3626 (copysignl): Likewise.
3627
2959eda9
AS
36282015-04-21 Arjun Shankar <arjun.is@lostca.se>
3629
3630 [BZ #18287]
3631 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
3632 based on padding. (CVE-2015-1781)
3633
7bf8fb10
AZ
36342015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3635
3636 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
3637 libc-vdso.h.
3638 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
3639 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
3640 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
3641 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3642 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3643 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
3644 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
3645 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3646 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3647 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
3648 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3649 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3650 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3651 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
3652 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3653 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
3654 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
3655 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
3656 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
3657 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
3658 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
3659 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
3660 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
3661
03c1e456
PE
36622015-04-19 Paul Eggert <eggert@cs.ucla.edu>
3663
3664 * stdlib/setenv.c (__add_to_environ):
3665 Dump core quickly if setenv (..., NULL, ...) is called.
3666 This time, do it the right way, and pacify GCC with a pragma.
3667
328c44c3
RM
36682015-04-17 Roland McGrath <roland@hack.frob.com>
3669
2bd2cad9
RM
3670 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
3671 IMAP->l_prev cannot be null, and #if out the code for the contrary
3672 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
3673 believe that NS (&_dl_ns[NSID]) could point outside the array.
3674
328c44c3
RM
3675 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
3676 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
3677 before using NSID as an index.
3678
aa4980fc
DM
36792015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
3680
3681 [BZ #17825]
3682 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
3683 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
3684 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3685
d1e44df1
RM
36862015-04-17 Roland McGrath <roland@hack.frob.com>
3687
3688 Add preliminary port to Google Native Client on ARM.
3689 * abi-tags (.*-.*-nacl.*): New entry.
3690 * sysdeps/arm/nacl: New directory.
3691 * sysdeps/nacl: New directory.
3692
f7092599
DM
36932015-04-16 David S. Miller <davem@davemloft.net>
3694
3695 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
3696 lowlevellock-futex.h
3697
da6989f9
CM
36982015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
3699
3700 * sysdeps/tile/configure.ac: New file.
3701 * sysdeps/tile/configure: Regenerated.
3702
fb78612a
AZ
37032015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3704
3705 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
3706 conditionals for weak_alias and libc_hidden_weak.
3707 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
3708 libc_hidden_weak and weak_alias.
3709 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
3710 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
3711 and weak_alias for static one.
3712
a8b6a3a6
DM
37132015-04-15 David S. Miller <davem@davemloft.net>
3714
3715 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3716
920a0395
SL
37172015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3718
3719 [BZ #18206]
3720 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
3721 Use signed comparision instead of substraction to avoid
3722 overflow bug.
3723 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
3724 Take the sign of ret.
3725 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
3726 Do not expect precise return values. Only the sign matters.
3727 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
3728 * wcsmbs/test-wcsncmp.c: New File.
3729 * string/test-strncmp.c: Add wcsncmp support.
3730
de8aadd5
SL
37312015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3732
3733 [BZ #6792]
3734 * math/w_log1p.c: New file.
3735 * math/w_log1pf.c: Likewise.
3736 * math/w_log1pl.c: Likewise.
3737 * math/Makefile (libm-calls): Add w_log1p.
3738 * math/s_log1pl.c (log1pl): Remove weak_alias.
3739 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
3740 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
3741 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
3742 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
3743 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
3744 [NO_LONG_DOUBLE] (log1pl): Likewise.
3745 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
3746 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
3747 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
3748 (log1p): Remove long_double_symbol.
3749 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
3750 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
3751 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
3752 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
3753 remove weak_alias for corresponding log1p function.
3754 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
3755 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
3756 * sysdeps/ia64/fpu/w_log1p.c: New file.
3757 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
3758 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
3759 * math/libm-test.inc (log1p_test_data): Add errno expectations.
3760
5556d30c
JM
37612015-04-10 Joseph Myers <joseph@codesourcery.com>
3762
3763 [BZ #18247]
3764 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
3765 decimal exponent by 1.
3766 * stdlib/tst-strtod-round-data: Add more tests.
3767 * stdlib/tst-strtod-round.c (tests): Regenerated.
3768
b3c66c53
JM
37692015-04-09 Joseph Myers <joseph@codesourcery.com>
3770
3771 * math/auto-libm-test-in: Add more tests of clog and clog10.
3772 * math/auto-libm-test-out: Regenerated.
3773 * sysdeps/i386/fpu/libm-test-ulps: Update.
3774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3775
b0b88abc
RM
37762015-04-09 Roland McGrath <roland@hack.frob.com>
3777
8a257e2c
RM
3778 * Makeconfig (module-cppflags): Exclude all .v.i files.
3779 (skip-module-cppflags): Variable removed.
3780
05439291
RM
3781 * configure.ac (libc_config_ok): Initialize before reading
3782 preconfigure scripts, not after.
3783 * configure: Regenerated.
3784
b0b88abc
RM
3785 * test-skeleton.c (TIMEOUT): Move #define to top level.
3786 (main): Grok environment variable TEST_DIRECT. If set, print
3787 test expectation details into that file and then behave as if
3788 given --direct.
3789
2902af16
FW
37902015-04-09 Florian Weimer <fweimer@redhat.com>
3791
3792 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
3793 warning on 32-bit.
3794
23ebf743
DM
37952015-04-08 David S. Miller <davem@davemloft.net>
3796
3797 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3798
024bcc51
JM
37992015-04-08 Joseph Myers <joseph@codesourcery.com>
3800
787d22bc
JM
3801 * math/auto-libm-test-in: Add more tests of atanh.
3802 * math/auto-libm-test-out: Regenerated.
3803 * sysdeps/i386/fpu/libm-test-ulps: Update.
3804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3805
024bcc51
JM
3806 * math/auto-libm-test-in: Add more tests of atan.
3807 * math/auto-libm-test-out: Regenerated.
3808 * sysdeps/i386/fpu/libm-test-ulps: Update.
3809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3810
7b8399f4
FW
38112015-04-08 Florian Weimer <fweimer@redhat.com>
3812
3813 * elf/pldd.c (main): Rewrite to use struct
3814 scratch_buffer instead of extend_alloca.
3815 * elf/pldd-xx.c (find_maps): Likewise.
866ba63b
FW
3816 * grp/initgroups.c: Include <scratch_buffer.h> instead of
3817 <alloca.h>.
3818 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
3819 scratch_buffer instead of extend_alloca.
3820 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
3821 grp/compat-initgroups.c.
794a74af
FW
3822 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
3823 Rewrite to use struct scratch_buffer instead of extend_alloca.
c6ee40da 3824 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
561052ad 3825 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7b8399f4 3826
ae63c7eb
JM
38272015-04-08 Joseph Myers <joseph@codesourcery.com>
3828
da0cf658
JM
3829 * math/auto-libm-test-in: Add more tests of cbrt.
3830 * math/auto-libm-test-out: Regenerated.
3831 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3832
80352c01
JM
3833 * math/auto-libm-test-in: Add more tests of cabs.
3834 * math/auto-libm-test-out: Regenerated.
3835 * sysdeps/i386/fpu/libm-test-ulps: Update.
3836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3837
8431838d
JM
3838 [BZ #18210]
3839 [BZ #18211]
3840 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
3841 (__ieee754_atan2): Set FE_TONEAREST mode for internal
3842 computations.
3843 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
3844 clog10.
3845 * math/auto-libm-test-out: Regenerated.
3846 * sysdeps/i386/fpu/libm-test-ulps: Update.
3847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3848
ae63c7eb
JM
3849 [BZ #18197]
3850 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
3851 (atan): Set FE_TONEAREST mode for internal computations.
3852 * math/auto-libm-test-in: Add more tests of atan.
3853 * math/auto-libm-test-out: Regenerated.
3854
d5856d06
JC
38552015-04-07 James Cowgill <james410@cowgill.org.uk>
3856
3857 [BZ #17930]
3858 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
3859
72301304
FW
38602015-04-07 Florian Weimer <fweimer@redhat.com>
3861
3862 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
3863
cfcfd461
FW
38642015-04-07 Florian Weimer <fweimer@redhat.com>
3865
3866 * include/scratch_buffer.h: New file.
3867 * malloc/scratch_buffer_grow.c: Likewise.
3868 * malloc/scratch_buffer_grow_preserve.c: Likewise.
3869 * malloc/scratch_buffer_set_array_size.c: Likewise.
3870 * malloc/tst-scratch_buffer.c: Likewise.
3871 * malloc/Makefile (routines): Add scratch_buffer_grow.
3872 (tests): Add test case.
3873 * malloc/Versions (GLIBC_PRIVATE): Export
3874 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
3875 __libc_scratch_buffer_set_array_size.
3876
cc47c824
RH
38772015-04-06 Richard Henderson <rth@redhat.com>
3878
3879 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
974c4a36 3880 * sysdeps/alpha/fpu/libm-test-ulps: Update.
cc47c824 3881
9e8c0381
RH
3882 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
3883 unsigned int before printing.
3884
9781a370
OB
38852015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3886
3887 [BZ #17596]
3888 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
3889 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3890
37d60d97
FW
38912015-04-02 Florian Weimer <fweimer@redhat.com>
3892
3893 * include/libc-internal.h (libc_max_align_t): Define.
3894
b763f6ae
AS
38952015-04-02 Andreas Schwab <schwab@suse.de>
3896
3897 [BZ #16850]
3898 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
3899
c26efef9
MG
39002015-04-02 Mel Gorman <mgorman@suse.de>
3901
3902 [BZ #17195]
3903 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
3904 as well as the main arena.
3905
a3d9ab50
L
39062015-03-31 H.J. Lu <hongjiu.lu@intel.com>
3907
3908 [BZ #18185]
3909 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
3910 sharing L2 cache to 2 for Silvermont/Knights Landing.
3911
83569fb8
L
39122015-03-31 H.J. Lu <hongjiu.lu@intel.com>
3913
3914 [BZ #17711]
3915 * config.make.in (have-protected-data): New.
3916 * configure.ac: Check linker support for protected data symbol.
3917 * configure: Regenerated.
3918 * elf/Makefile (modules-names): Add tst-protected1moda and
3919 tst-protected1modb if $(have-protected-data) is yes.
3920 (tests): Add tst-protected1a and tst-protected1b if
3921 $(have-protected-data) is yes.
3922 ($(objpfx)tst-protected1a): New.
3923 ($(objpfx)tst-protected1b): Likewise.
3924 (tst-protected1modb.so-no-z-defs): Likewise.
3925 * elf/tst-protected1a.c: New file.
3926 * elf/tst-protected1b.c: Likewise.
3927 * elf/tst-protected1mod.h: Likewise.
3928 * elf/tst-protected1moda.c: Likewise.
3929 * elf/tst-protected1modb.c: Likewise.
3930
62da1e3b
L
39312015-03-31 H.J. Lu <hongjiu.lu@intel.com>
3932
3933 [BZ #17711]
3934 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
3935 indicates it is called from do_lookup_x on relocation against
3936 protected data, skip the data definion in the executable from
3937 copy reloc.
3938 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
3939 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
3940 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
3941 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
3942 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
3943 otherwise to 0.
3944 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3945 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
3946 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
3947 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3948 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
3949 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
3950
675ddb71
MG
39512015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
3952
3953 * sysdeps/nptl/pthread.h: Remove duplicate definition of
3954 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
3955
4d611e12
MG
39562015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
3957
3958 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
3959 THREAD_SETMEM_NC.
3960 * sysdeps/x86_64/nptl/tls.h: Ditto.
3961
7285eb53
RM
39622015-03-27 Roland McGrath <roland@hack.frob.com>
3963
3964 * dlfcn/tststatic.c (main): Converted to ...
3965 (do_test): ... this.
3966 (TEST_FUNCTION): New macro.
3967 Include test-skeleton.c.
3968
19a6a3ac
AM
39692015-03-26 Alan Modra <amodra@gmail.com>
3970
3971 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
3972 Don't segfault if ifunc resolver returns a NULL. Do set plt to
3973 zero for undefined weak.
3974 (elf_machine_plt_conflict): Similarly.
3975
a9fe4c5a
JM
39762015-03-25 Joseph Myers <joseph@codesourcery.com>
3977
efd5b641
JM
3978 * math/auto-libm-test-in: Add more tests of acosh, asinh and
3979 atanh.
3980 * math/auto-libm-test-out: Regenerated.
3981 * sysdeps/i386/fpu/libm-test-ulps: Update.
3982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3983
e9b10151
JM
3984 * math/auto-libm-test-in: Add another test of asin.
3985 * math/auto-libm-test-out: Regenerated.
3986 * sysdeps/i386/fpu/libm-test-ulps: Update.
3987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3988
9fa55373
JM
3989 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
3990 Remove macro.
3991 (LLL_EBX_REG): Likewise.
3992 (LLL_ENTER_KERNEL): Likewise.
3993
38755f14
JM
3994 * math/auto-libm-test-in: Add more tests of asin.
3995 * math/auto-libm-test-out: Regenerated.
3996 * sysdeps/i386/fpu/libm-test-ulps: Update.
3997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3998
a9fe4c5a
JM
3999 [BZ #18138]
4000 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
4001 libc_do_syscall_args): New structure.
4002 (INTERNAL_SYSCALL_MAIN_0): New macro.
4003 (INTERNAL_SYSCALL_MAIN_1): Likewise.
4004 (INTERNAL_SYSCALL_MAIN_2): Likewise.
4005 (INTERNAL_SYSCALL_MAIN_3): Likewise.
4006 (INTERNAL_SYSCALL_MAIN_4): Likewise.
4007 (INTERNAL_SYSCALL_MAIN_5): Likewise.
4008 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
4009 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
4010 Replace conditional definitions by conditional definitions of ....
4011 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
4012 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
4013 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
4014 (libpthread-sysdep_routines): Add libc-do-syscall.
4015 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
4016 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
4017 to __NR_futex not 240.
4018
afcd9480
AM
40192015-03-25 Alan Modra <amodra@gmail.com>
4020
4021 * NEWS: Advertise TLS optimization.
4022 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
4023 (DT_PPC_NUM): Increment.
4024 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
4025 (CHECK_STATIC_TLS): Use here.
4026 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
4027 TLS descriptors.
4028 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4029 * sysdeps/powerpc/dl-tls.c: New file.
4030 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
4031 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
4032 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
4033 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
4034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
4035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
4036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
4037
da9f3334
AM
40382015-03-25 Alan Modra <amodra@gmail.com>
4039
4040 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
4041 for overlapping .opd entries" to "support...".
4042 * sysdeps/powerpc/powerpc64/configure: Regenerate
4043
bc899ea0
JM
40442015-03-25 Joseph Myers <joseph@codesourcery.com>
4045
8d643971
JM
4046 * math/auto-libm-test-in: Add more tests of acos.
4047 * math/auto-libm-test-out: Regenerated.
4048 * sysdeps/i386/fpu/libm-test-ulps: Update.
4049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4050
bc899ea0
JM
4051 * math/auto-libm-test-in: Add more tests of expm1.
4052 * math/auto-libm-test-out: Regenerated.
4053 * sysdeps/i386/fpu/libm-test-ulps: Update.
4054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4055
7c84a504
JM
40562015-03-24 Joseph Myers <joseph@codesourcery.com>
4057
239ed6f3
JM
4058 * math/auto-libm-test-in: Add more tests of cosh and sinh.
4059 * math/auto-libm-test-out: Regenerated.
4060 * sysdeps/i386/fpu/libm-test-ulps: Update.
4061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4062
a737e826
JM
4063 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4065
7c84a504
JM
4066 * math/auto-libm-test-in: Add more tests of log2.
4067 * math/auto-libm-test-out: Regenerated.
4068 * sysdeps/i386/fpu/libm-test-ulps: Update.
4069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4070
7e9c7b9b
RM
40712015-03-23 Roland McGrath <roland@hack.frob.com>
4072
4073 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
4074 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
4075 _IO_IS_APPENDING bit in READ_WRITE instead.
4076
98734cc5
FW
40772015-03-23 Florian Weimer <fweimer@redhat.com>
4078
4079 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
4080 (__determine_cpumask_size): Replace extend_alloca with a
4081 variable-length array. Do not treat res == 0 as an error.
4082
2b028564
FW
40832015-03-23 Florian Weimer <fweimer@redhat.com>
4084
4085 [BZ #18100]
4086 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
4087 and integer overflow.
4088 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
4089 (main): Add integer overflow tests.
4090 * manual/pattern.texi (Calling Wordexp): Document additional use
4091 for WRDE_SYNTAX.
4092
59261ad3
AM
40932015-03-23 Alan Modra <amodra@gmail.com>
4094
4095 * config.h.in: Remove HAVE_ASM_PPC_REL16.
4096 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
4097 and false branch of conditional.
4098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4099 Likewise.
4100
d583531a
ST
41012015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
4102
4103 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
4104 libc-modules.h
868df0f9
ST
4105 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
4106 unused declaration of _hurd_intr_rpc_msg_in_trap.
4107 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
4108 defined instead of whether it is non-zero.
4109 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
4110 input constraint instead of both input and output constraint. Use ecx
4111 clobber instead of %ecx.
4112 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
4113 mutex_unlock): Use a statement expression instead of an expression list.
4114 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
4115 type to vm_size_t instead of vm_address_t.
4116 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
4117 defined instead of whether it is non-zero.
4118 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
4119 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
4120 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
4121 comparisons with mapaddr.
4122 * nscd/nscd-client.h: Include <time.h>.
4123 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
4124 9th parameter to __vm_region instead of int.
661a7dba 4125 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
9e70234c
ST
4126 * scripts/check-local-headers.sh (exclude): Add device/,
4127 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
4128 cthreads.h.
d583531a 4129
298e5d56
RM
41302015-03-19 Roland McGrath <roland@hack.frob.com>
4131
4132 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
4133 to account for alignment padding.
4134 * sysdeps/arm/memmove.S: Likewise.
4135
becb26b8
CM
41362015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
4137
4138 * sysdeps/unix/sysv/linux/generic/README: New file.
4139
c2f5813a
JM
41402015-03-18 Joseph Myers <joseph@codesourcery.com>
4141
4142 [BZ #18138]
4143 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
4144 (futex_abstimed_wait)
4145 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
4146 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
4147 of lll_futex_timed_wait.
4148
ed6b0fe7
BH
41492015-03-18 Brad Hubbard <bhubbard@redhat.com>
4150
4151 [BZ #17542]
4152 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
4153
f8aeae34
AO
41542015-03-17 Alexandre Oliva <aoliva@redhat.com>
4155
4156 [BZ #17090]
4157 [BZ #17620]
4158 [BZ #17621]
4159 [BZ #17628]
4160 * NEWS: Update.
4161 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
4162 entries with Static TLS too. Skip entries past the end of the
4163 allocated DTV, from Alan Modra.
4164 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
4165 Static TLS DTV entry set up from...
4166 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
4167 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
4168 * nptl/allocatestack.c (init_one_static_tls): ... and here...
4169 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
4170 for Static TLS.
4171 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
4172 that the slot we find is associated with the given map before
4173 using its generation count.
4174 * nptl_db/db_info.c: Include ldsodefs.h.
4175 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
4176 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
4177 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
4178 (link_map::l_tls_offset): New struct field.
4179 (dtv_t::counter): Likewise.
4180 (rtld_global): New struct.
4181 (_rtld_global): New rtld variable.
4182 (dl_tls_dtv_slotinfo_list): New rtld global field.
4183 (dtv_slotinfo_list): New struct.
4184 (dtv_slotinfo): Likewise.
4185 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
4186 (td_lookup): Rename to...
4187 (td_mod_lookup): ... this. Use new mod parameter instead of
4188 LIBPTHREAD_SO.
4189 * nptl_db/td_thr_tlsbase.c: Include link.h.
4190 (dtv_slotinfo_list, dtv_slotinfo): New functions.
4191 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
4192 addresses even if the DTV is out of date or missing them.
4193 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
4194 index zero-length arrays.
4195 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
4196 (td_lookup): Make it a macro implemented in terms of...
4197 (td_mod_lookup): ... this declaration.
4198 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
4199 (DB_MAIN_VARIABLE): Likewise.
4200
b97eb2bd
L
42012015-03-16 H.J. Lu <hongjiu.lu@intel.com>
4202
4203 [BZ #18134]
4204 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
4205
cb219290
PE
42062015-03-15 Paul Eggert <eggert@cs.ucla.edu>
4207
4208 * stdlib/setenv.c (__add_to_environ): Revert previous change.
4209
a3905fd9
AS
42102015-03-14 Andreas Schwab <schwab@linux-m68k.org>
4211
4212 [BZ #18128]
4213 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
4214 (atomic_add, atomic_increment_and_test)
4215 (atomic_decrement_and_test): Fix 64-bit arithmetic.
4216
2ecccaed
PE
42172015-03-13 Paul Eggert <eggert@cs.ucla.edu>
4218
4219 * stdlib/setenv.c (__add_to_environ):
4220 Dump core quickly if setenv (..., NULL, ...) is called.
4221
cdaf79d0
RM
42222015-03-13 Roland McGrath <roland@hack.frob.com>
4223
4224 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
4225 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
4226 all the necessary asm magic in one place.
4227 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
4228 using those.
4229
cf9313e7
CD
42302015-03-13 Carlos O'Donell <carlos@redhat.com>
4231
4232 [BZ #14906]
4233 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
4234 traced file mtime. Use consistent log message.
4235 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
4236 (register_traced_file): Call install_watches. Always set mtime.
4237 (invalidate_cache): Iterate over all trace files. Call install_watches.
4238 (inotify_check_files): Don't inline. Handle watching parent
4239 directories and configuration file movement in and out.
4240 (handle_inotify_events): New function.
4241 (main_loop_poll): Call handle_inotify_events.
4242 (main_loop_epoll): Likewise.
4243 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
4244 (struct traced_file): Use array of inotify fds. Add parent directory,
4245 and basename.
4246 (struct database_dyn): Remove unused file_mtime.
4247 (init_traced_file): New inline function.
4248 (define_traced_file): New macro.
4249 * nss/nss_db/db-init.c: Use define_traced_file.
4250 (_nss_db_init): Use init_traced_file.
4251 * nss/nss_files/files-init.c: Use define_traced_file.
4252 (_nss_files_init): Use init_traced_file.
4253
7d67a196
JM
42542015-03-12 Joseph Myers <joseph@codesourcery.com>
4255
4256 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
4257 [_LIBC]: Do not include <stdlib.h>.
4258 [!_LIBC] (abort): Remove declaration.
4259 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
4260 _FP_STATIC_ASSERT instead of conditionally calling abort.
4261 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
4262 (_FP_EXTEND_CNAN): Likewise.
4263 (FP_TRUNC): Likewise.
4264 (__FP_CLZ): Likewise.
4265 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
4266
af85ebcd
YS
42672015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
4268
4269 * manual/string.texi (XPG basename): Fix prototype.
4270
2e807f29
SL
42712015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4272
4273 [BZ #18080]
4274 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
4275 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4276 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
4277 (__setcontext): Likewise.
4278 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
4279 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4280 Call rt_sigprocmask syscall one time to set new signal mask
4281 and retrieve the current signal mask instead of two calls.
4282 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
4283 (__swapcontext): Likewise.
4284 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
4285 * stdlib/tst-setcontext2.c: New file.
4286
1b2bebe6
SL
42872015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4288
4289 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4290
6a1cf708
AJ
42912015-03-11 Aurelien Jarno <aurelien@aurel32.net>
4292
4293 [BZ #18093]
4294 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
4295 the wrong size.
4296
a2d4cf72
PP
42972015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
4298
4299 [BZ #18043]
4300 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
4301
5ca10a0c
AZ
43022015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4303
4304 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
4305 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
4306 Remove define.
4307 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
4308 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
4309 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
4310 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
4311 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
4312 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
4313 define.
4314 * nptl_db/td_symbol_list.c (td_lookup): Remove
4315 HAVE_ASM_GLOBAL_DOT_NAME code.
4316 * sysdeps/powerpc/powerpc64/configure.ac: Remove
4317 HAVE_ASM_GLOBAL_DOT_NAME check.
4318 * sysdeps/powerpc/powerpc64/configure: Regenerate.
4319 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
4320 (DOT_LABEL): Remove define.
4321 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
4322 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
4323 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
4324 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
4325 (__TLS_GET_ADDR): Likewise.
4326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
4327 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
4328
e4363cfb
CD
43292015-03-11 Carlos O'Donell <carlos@redhat.com>
4330
4331 [BZ #18111]
4332 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
4333 (_FPU_SETCW): Initialize cw from fpsr before storing.
4334 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
4335 (fesetexceptflag): Rewrite using fpu_control.h.
4336 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
4337
fae1aa8d
JDA
43382015-03-11 John David Anglin <danglin@gcc.gnu.org>
4339
4340 [BZ #18110]
4341 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
4342 asms.
4343 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
4344
068a6274
JM
43452015-03-11 Joseph Myers <joseph@codesourcery.com>
4346
4347 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
4348 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
4349 abort.
4350 (_FP_FMA): Likewise.
4351 (_FP_DIV): Likewise.
4352
d3821ab0
RM
43532015-03-10 Roland McGrath <roland@hack.frob.com>
4354
44a6213c
RM
4355 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
4356 with 0 in that case.
4357 * Makefile (summarize-tests): New canned sequence, factored out of
4358 commands for targets tests and xtests. Display summary lines that
4359 don't start with PASS: or XFAIL: rather than ones that do start with
4360 ERROR: or FAIL:. Make the commands fail if any summary lines fail
4361 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
4362 do start with ERROR: or FAIL:.
4363 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
4364 (except for [$(build-shared) = yes]).
4365 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
4366 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
4367 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
4368 * nptl/Makefile: Revert 2015-03-04 changes.
4369 [$(CXX) empty] (tests-unsupported): New variable.
4370 * debug/Makefile: Likewise.
4371
d3821ab0
RM
4372 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
4373 gnulib file. Replace __attribute with __attribute__ throughout.
4374
85ca85ae
CD
43752015-03-10 Carlos O'Donell <carlos@redhat.com>
4376
4377 * sysdeps/hppa/fpu/libm-test-ulps: Update.
4378
6411f81d
JM
43792015-03-10 Joseph Myers <joseph@codesourcery.com>
4380
4381 [BZ #18104]
4382 * math/auto-libm-test-in: Add another test of pow.
4383 * math/auto-libm-test-out: Regenerated.
4384
d421868b
AZ
43852015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4386
4387 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
4388 $(config-cflags-nofma).
4389
a2f8be9c
JM
43902015-03-10 Joseph Myers <joseph@codesourcery.com>
4391
4392 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
4393 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
4394 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
4395 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
4396 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
4397 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
4398 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
4399 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
4400 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
4401 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
4402 Add comment on closing #endif.
4403
01d032e0
PP
44042015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4405
4406 * posix/wordexp.c (CHAR_IN_SET): New macro.
4407 (parse_param): Use it.
4408
d439bc56
AZ
44092015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4410
4411 * sysdeps/powerpc/fpu/libm-test-ulps: update.
4412
5f85a4bf
PP
44132015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4414
4415 [BZ #18043]
4416 * posix/wordexp.c (parse_param): Fix buffer overflow.
4417 * posix/wordexp-test.c (test_case): Add test case.
4418
f8ba70e9
PP
44192015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4420
4421 [BZ #18042]
4422 * posix/wordexp.c (parse_backtick): Fix off-by-one.
4423 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
4424
36103ba2
PP
44252015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4426
4427 [BZ #18043]
4428 * posix/wordexp-test.c (test_case): Add test for BZ #18043
4429 (do_bz18043): Delete.
4430 (at_page_end): New.
4431 (testit): Refactor to have words at the edge of unreadable page.
4432
18d26750
PP
44332015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4434
4435 [BZ #16734]
4436 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
4437 Cleanup read-only streams as well.
4438 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
4439
9f95dc5d
ST
44402015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
4441
4442 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
4443 <bits/libc-lockP.h>
4444
b838844b
JM
44452015-03-07 Joseph Myers <joseph@codesourcery.com>
4446
4447 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
4448 on [__KERNEL__].
4449 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
4450 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
4451 * soft-fp/op-common.h (_FP_DECL): Likewise.
4452
e0ed2fb4
L
44532015-03-06 H.J. Lu <hongjiu.lu@intel.com>
4454
4455 * elf/ifuncdep2.c (global): Replace
4456 __attribute__((visibility("protected"))) with
4457 asm (".protected global").
4458 * elf/ifuncmod1.c (global): Likewise.
4459 * elf/ifuncmod5.c (global): Likewise.
4460
fa9dda64
JM
44612015-03-06 Joseph Myers <joseph@codesourcery.com>
4462
4463 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
4464 <asm/sfp-machine.h> instead of <sfp-machine.h>.
4465
4acc27ed
RM
44662015-03-06 Roland McGrath <roland@hack.frob.com>
4467
4468 * manual/install.texi (Configuring and compiling):
4469 Document test-wrapper-env-only.
4470 * INSTALL: Regenerated.
4471
895c30cb
PP
44722015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4473
4474 [BZ #18043]
4475 * posix/wordexp.c (parse_param): Fix buffer overflow.
4476 * posix/wordexp-test.c (do_bz18043): Add test case.
4477
5df56c7e
VB
44782015-03-06 Vincent Bernat <vincent@bernat.im>
4479
4480 * time/tst-strptime2.c (do_test): Ensure failing tests are
4481 reported correctly.
4482 * time/tst-strptime3.c (do_test): Likewise.
4483
1cdf2ea1
ST
44842015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
4485
4486 Fix aio_error thread-safety.
1cdf2ea1
ST
4487 * sysdeps/pthread/aio_error.c: New file
4488 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
4489 synchronization.
4490
d176a41a
FW
44912015-03-06 Florian Weimer <fweimer@redhat.com>
4492
4493 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
4494 (group_number, vfprintf): Use it.
1597b744
FW
4495 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
4496 (JUMP, REF): Use it.
4497 (WORK_BUFFER_SIZE): New enum constant.
4498 (process_arg, vfprintf): Use it.
d176a41a 4499
7e7af349
RJ
45002015-03-06 Rical Jasan <ricaljasan@pacific.net>
4501
4502 * manual/errno.texi (Error Messages): Complete example function
4503 by adding missing #define.
4504 (program_invocation_name): Add statement indicating GNU
4505 extension and reference which header file declares the variable.
4506 (program_invocation_short_name): Likewise.
4507
4ca8ddfb
MF
45082015-03-06 Mike Frysinger <vapier@gentoo.org>
4509
4510 * manual/errno.texi (Error Messages): Delete strerror ISO C89
4511 compatibility note.
4512
9162c01d
RM
45132015-03-05 Roland McGrath <roland@hack.frob.com>
4514
4515 * Makeconfig (test-wrapper-env-only): New variable.
4516 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
4517 then use that with $(test-wrapper-env-only) rather than using
4518 $(test-wrapper-env) $(run-program-env) $($*-ENV).
4519
209826bc
L
45202015-03-05 H.J. Lu <hongjiu.lu@intel.com>
4521
4522 [BZ #18082]
4523 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
4524 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
4525 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
4526 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
4527 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
4528 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
4529 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
4530 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
4531 Likewise.
4532 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
4533 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
4534 Likewise.
4535 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
4536 Likewise.
4537 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
4538 Likewise.
4539 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
4540 Likewise.
4541 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
4542 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
4543 Likewise.
4544 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
4545 Likewise.
4546 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
4547 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
4548
2cfe32bc
RM
45492015-03-04 Roland McGrath <roland@hack.frob.com>
4550
8bff5aab
RM
4551 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
4552 (ETH_ALEN): New macro.
4553 (struct ether_addr): Use it for length of ether_addr_octet.
4554
2752f338
RM
4555 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
4556 (setdb): Don't call __nss_configure_lookup for "rpc".
4557 (do_test): Don't call test_rpc.
4558 (output_rpcent, test_rpc): Functions moved ...
4559 * sunrpc/test-rpcent.c: ... to this new file.
4560 * sunrpc/Makefile (tests): Add it.
4561
2cfe32bc
RM
4562 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
4563 __xpg_sigpause.
4564 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
4565 * nptl/tst-signal6.c: Likewise.
4566 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
4567 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
4568
e4693aa7
RM
4569 * configure.ac (libc_cv_cxx_link_ok): New check.
4570 Reset CXX to empty if it fails to link.
4571 * configure: Regenerated.
4572 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
4573 bug-atexit3-lib only if $(CXX) is nonempty.
4574 * nptl/Makefile (tests): Likewise for tst-cancel24.
4575 (tests, tests-static): Likewise for tst-cancel24-static.
4576 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
4577 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
e27176ee
RM
4578 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
4579 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
e4693aa7 4580
8e2e833a
AS
45812015-03-04 Andreas Schwab <schwab@suse.de>
4582
4583 [BZ #17631]
4584 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
4585 for non-GCC compilers.
4586 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4587 Likewise.
4588
85b29045
AZ
45892015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4590
4591 [BZ #17776]
4592 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
4593 integer before bitwise and assembly operations.
4594 (feclearexcept): Likewise.
4595 * math/test-fenvinline.c: New file.
4596 * math/Makefile: Add test-fenvinline test.
4597
a0af371c
AM
45982015-03-03 Alan Modra <amodra@gmail.com>
4599
4600 [BZ #16512]
4601 * scripts/localplt.awk: Strip off symbol version.
4602 * NEWS: Mention bug fix.
4603
47465629
RM
46042015-03-02 Roland McGrath <roland@hack.frob.com>
4605
4606 * sysdeps/pthread/timer_routines.c
4607 (timer_free_list, thread_free_list, thread_active_list): Make static.
4608
6d08b022
JM
46092015-03-02 Joseph Myers <joseph@codesourcery.com>
4610
4611 [BZ #17779]
4612 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4613 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4614 Undefine.
4615 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4616 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4617 Likewise.
4618 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4619 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4620 Likewise.
4621
c2c6d39f
PP
46222015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4623
4624 [BZ #18036]
4625 * posix/fnmatch_loop.c (END): Detect invalid pattern.
4626 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
4627
e8b6be00
AS
46282015-03-02 Andreas Schwab <schwab@suse.de>
4629
4630 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
4631 variable name.
4632
1a2d98af
FW
46332015-03-02 Florian Weimer <fweimer@redhat.com>
4634
4635 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
4636 Return error status.
4637
e7f07af5
AO
46382015-02-27 Alexandre Oliva <aoliva@redhat.com>
4639
4640 [BZ #15969]
4641 * locale/findlocale.c (_nl_find_locale): Introduce const
4642 version of loc_name and drop unsafe type casts.
4643
c7b19ca9
RM
46442015-02-27 Roland McGrath <roland@hack.frob.com>
4645
4646 * dlfcn/tststatic2.c (main): Converted to ...
4647 (do_test): ... this.
4648 (TEST_FUNCTION): New macro.
4649 Include test-skeleton.c.
4650
ef4ad06f
L
46512015-02-27 H.J. Lu <hongjiu.lu@intel.com>
4652
4653 [BZ #17711]
4654 * elf/Makefile (tests): Add vismain only if PIE is enabled.
4655 (tests-pie): Add vismain.
4656 (CFLAGS-vismain.c): New.
4657 * elf/vismain.c: Add comments for PIE requirement.
4658
2ca725c5
JM
46592015-02-27 Joseph Myers <joseph@codesourcery.com>
4660
4661 [BZ #18046]
4662 [BZ #18047]
4663 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
4664 0x1p-56L as threshold for just returning the argument.
4665 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
4666 0x1p-32L as threshold for just returning the argument.
4667 * math/auto-libm-test-in: Add more tests of atanh.
4668 * math/auto-libm-test-out: Regenerated.
4669 * sysdeps/i386/fpu/libm-test-ulps: Update.
4670 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
4671
af96be34
WD
46722015-02-27 Wilco Dijkstra wdijkstr@arm.com
4673
4674 * string/bcopy.c (bcopy): Call memmove for performance.
4675
ddcf6798
WD
46762015-02-27 Wilco Dijkstra wdijkstr@arm.com
4677
4678 * string/bzero.c (__bzero): Call memset for performance.
4679
49f476f4
JDA
46802015-02-27 John David Anglin <dave.anglin@bell.net>
4681
b42e14ff 4682 [BZ #18068]
49f476f4
JDA
4683 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
4684 to 00100000.
4685
f8ab5d38
JM
46862015-02-27 Joseph Myers <joseph@codesourcery.com>
4687
4688 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
4689
380bd0fd
JM
46902015-02-26 Joseph Myers <joseph@codesourcery.com>
4691
31331a07
JM
4692 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
4693 (__kernel_standard): Use CSTR macro when setting exc.name.
4694 * sysdeps/ieee754/Makefile [$(subdir) = math]
4695 (CFLAGS-k_standard.c): Remove variable.
4696
09220e66
JM
4697 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
4698 setting p and q from "else if" to "else".
4699 (qzero): Likewise.
4700 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
4701 (qone): Likewise.
4702 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
4703 (qzerof): Likewise.
4704 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
4705 (qonef): Likewise.
4706 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
4707 (qzero): Likewise.
4708 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
4709 (qone): Likewise.
4710
1d9ab20c
JM
4711 [BZ #18038]
4712 [BZ #18039]
4713 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
4714 return pi/2 for arguments below 0x1p-113L.
4715 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
4716 return pi/2 for arguments below 0x1p-106L.
4717 * math/auto-libm-test-in: Add more tests of acos.
4718 * math/auto-libm-test-out: Regenerated.
4719
ec0ce0d3
JM
4720 [BZ #16351]
4721 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
4722 (MO): New macro.
4723 (__ieee754_asin): Force underflow exception for results with small
4724 absolute value.
4725 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
4726 (MO): New macro.
4727 (__ieee754_asinf): Force underflow exception for results with
4728 small absolute value.
4729 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
4730 (__ieee754_asin): Force underflow exception for results with small
4731 absolute value.
4732 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
4733 (__ieee754_asinf): Force underflow exception for results with
4734 small absolute value.
4735 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
4736 (__ieee754_asinl): Force underflow exception for results with
4737 small absolute value.
4738 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
4739 (__ieee754_asinl): Force underflow exception for results with
4740 small absolute value.
4741 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
4742 (__ieee754_asinl): Force underflow exception for results with
4743 small absolute value.
4744 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
4745 Include <math.h>.
4746 * math/auto-libm-test-in: Do not mark underflow exceptions as
4747 possibly missing for bug 16351.
4748 * math/auto-libm-test-out: Regenerated.
4749
380bd0fd
JM
4750 [BZ #18030]
4751 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
4752 of power of 2 down when low part has opposite sign.
4753 * math/libm-test.inc (logb_test_data): Add more tests.
4754
4a28f4d5
AS
47552015-02-26 Andreas Schwab <schwab@suse.de>
4756
4757 [BZ #18032]
4758 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
4759 over collating symbol inside a bracket expression. Minor cleanup.
4760 * posix/tst-fnmatch3.c (do_test): Add test case.
4761
524ae9ea
JM
47622015-02-26 Joseph Myers <joseph@codesourcery.com>
4763
4764 [BZ #18029]
4765 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
4766 Adjust exponent of power of 2 down when low part has opposite
4767 sign.
4768 * math/libm-test.inc (ilogb_test_data): Add more tests.
4769
23d43090
AO
47702015-02-26 Alexandre Oliva <aoliva@redhat.com>
4771
4772 [BZ #15969]
4773 * locale/findlocale.c (_nl_find_locale): Fix constness error in
4774 the previous change.
0d822a01
AO
4775
4776 [BZ #15969]
4777 * locale/findlocale.c (_nl_find_locale): Retry archive search
4778 after alias expansion.
4779
d19df6ac
RM
47802015-02-25 Roland McGrath <roland@hack.frob.com>
4781
ca681b7b
RM
4782 * iconv/tst-iconv3.c (main): Converted to ...
4783 (do_test): ... this.
4784 (TEST_FUNCTION): New macro.
4785 Include test-skeleton.c.
4786
fd1f2f1c
RM
4787 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
4788 (convert): Make function static.
4789 (test_unalign): Likewise. Add const to argument pointee types.
4790 (main): Replace with static function do_test.
4791 Print "Succeeded." only if RET is zero.
4792 (TEST_FUNCTION): New macro.
4793 Include test-skeleton.c.
4794
d19df6ac
RM
4795 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
4796 returns a null pointer.
4797
115e0de7
AZ
47982015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4799
4800 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
4801 to __memcpy_ppc only for static builds.
4802
137cef7d
JM
48032015-02-25 Joseph Myers <joseph@codesourcery.com>
4804
4805 [BZ #18020]
4806 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
4807 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
4808 * math/auto-libm-test-in: Add more tests of asinh.
4809 * math/auto-libm-test-out: Regenerated.
4810 * sysdeps/i386/fpu/libm-test-ulps: Update.
4811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4812
cb43bb0d
CW
48132015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
4814
4815 [BZ #15850]
4816 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
4817 and ip6_mtuinfo definitions here.
4818 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
4819 in this define too. Update comment.
4820
9be1052b
BS
48212015-02-24 Benno Schulenberg <bensberg@justemail.net>
4822
4823 * elf/sprof.c (load_shobj): Tweak error message to match others.
4824
6807b1db
KE
48252015-02-24 Kevin Easton <kevin@guarana.org>
4826
4827 [BZ #16145] (partial fix)
4828 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
4829 to reduce lock contention.
4830
b433df00
ML
48312015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
4832
4833 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
4834 (struct timex): Update time comment.
4835 (ADJ_SETOFFSET): Define.
4836
440169d6
JM
48372015-02-24 Joseph Myers <joseph@codesourcery.com>
4838
4839 [BZ #18019]
4840 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4841 2**56 not 2**28 as threshold for log (2x) formula.
4842 * math/auto-libm-test-in: Add more tests of acosh.
4843 * math/auto-libm-test-out: Regenerated.
4844 * sysdeps/i386/fpu/libm-test-ulps: Update.
4845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4846
ba7d2c54
MF
48472015-02-24 Mike Frysinger <vapier@gentoo.org>
4848
4849 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
4850 parenthesis around the buf assignment.
4851 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
4852
9438b237
JM
48532015-02-24 Joseph Myers <joseph@codesourcery.com>
4854
4855 [BZ #16783]
4856 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
4857 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
4858 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
4859 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4860 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4861 * math/libm-test.inc (scalb_test_data): Add more tests.
4862
6909d276
PP
48632015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4864
4865 [BZ #17916]
4866 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
4867 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
4868
65f6f938
ER
48692015-02-24 Eric Rannaud <e@nanocritical.com>
4870
4871 [BZ #17523]
4872 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
4873 * io/bits/fcntl2.h (open): Use it.
4874 (openat): Likewise.
4875 * io/open.c (__libc_open): Likewise.
4876 * io/open64.c (__libc_open64): Likewise.
4877 * io/open64_2.c (__open64_2): Likewise.
4878 * io/open_2.c (__open_2): Likewise.
4879 * io/openat.c (__openat): Likewise.
4880 * io/openat64.c (__openat64): Likewise.
4881 * io/openat64_2.c (__openat64_2): Likewise.
4882 * io/openat_2.c (__openat_2): Likewise.
4883 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
4884 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
4885 * sysdeps/posix/open64.c (__libc_open64): Likewise.
4886 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4887 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
4888 (__open_nocancel): Likewise.
4889 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
4890 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
4891 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
4892
3e3002ff
SP
48932015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4894
4895 [BZ #14841]
4896 * resolv/gethnamaddr.c (getanswer): Skip logging if
4897 RES_USE_DNSSEC is set.
4898 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4899
9813dd58
MF
49002015-02-24 Mike Frysinger <vapier@gentoo.org>
4901
4902 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
4903
7b1ec6a0
AO
49042015-02-23 Alexandre Oliva <aoliva@redhat.com>
4905
4906 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
4907 201304L, for Unicode 7.
4908
d49499c1
L
49092015-02-23 H.J. Lu <hongjiu.lu@intel.com>
4910
4911 [BZ #17836]
4912 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
4913 shared library. Add gmon-start.os otherwise.
4914 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
4915 $(objpfx)gmon-start.os if builing shared library.
4916 ($(objpfx)g$(static-start-installed-name)): Likewise.
4917
51225803
AS
49182015-02-23 Andreas Schwab <schwab@suse.de>
4919
4920 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
4921
bdf1ff05
PP
49222015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4923
4924 [BZ #17269]
4925 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
4926 (enlarge_userbuf): Likewise.
4927
95296112
CLT
49282015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
4929
4930 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
4931 * math/atest-exp.c (TIMEOUT): Adjust to 200.
4932 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
4933 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
4934
e4a399dc
JM
49352015-02-20 Joseph Myers <joseph@codesourcery.com>
4936
4937 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
4938 expression inside statement expression.
4939
7133957f
SL
49402015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
4941
4942 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
4943 <sysdeps/nptl/lowlevellock.h> and remove macros and
4944 functions that are now defined there.
4945 (SYS_futex): Remove.
4946 (lll_compare_and_swap): Remove.
4947 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
4948
40176158
JM
49492015-02-19 Joseph Myers <joseph@codesourcery.com>
4950
4951 [BZ #17999]
4952 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
4953 instead of scandirat.
4954 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
4955 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
4956 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
4957 __scandirat.
4958 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
4959 (__scandirat): Declare. Use libc_hidden_proto.
4960 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
4961 Remove variable.
4962 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4963
4629c866
JM
49642015-02-18 Joseph Myers <joseph@codesourcery.com>
4965
4966 [BZ #15319]
4967 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
4968 (MO): New macro.
4969 (__ieee754_atan2): For results with small absolute value, force
4970 underflow exception and remove excess range and precision from
4971 return value.
4972 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
4973 (MO): New macro.
4974 (__ieee754_atan2f): For results with small absolute value, force
4975 underflow exception and remove excess range and precision from
4976 return value.
4977 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
4978 (MO): New macro.
4979 (__atan): For results with small absolute value, force underflow
4980 exception and remove excess range and precision from return value.
4981 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
4982 (MO): New macro.
4983 (__atanf): For results with small absolute value, force underflow
4984 exception and remove excess range and precision from return value.
4985 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
4986 <math.h>.
4987 (__ieee754_atan2): Force underflow exception for results with
4988 small absolute value.
4989 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
4990 <math_private.h>.
4991 (atan): Force underflow exception for results with small absolute
4992 value.
4993 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
4994 (__atanf): Force underflow exception for results with small
4995 absolute value.
4996 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
4997 <math.h>.
4998 (__atanl): Force underflow exception for results with small
4999 absolute value.
5000 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
5001 (__atanl): Force underflow exception for results with small
5002 absolute value.
5003 * sysdeps/x86/fpu/bits/mathinline.h
5004 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
5005 (__ieee754_atan2): Only define inline for long double.
5006 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
5007 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
5008 * math/auto-libm-test-in: Do not mark underflow exceptions as
5009 possibly missing for bug 15319. Add more tests of atan2.
5010 * math/auto-libm-test-out: Regenerated.
5011 * math/libm-test.inc (casin_test_data): Do not mark underflow
5012 exceptions as possibly missing for bug 15319.
5013 (casinh_test_data): Likewise.
5014 * sysdeps/i386/fpu/libm-test-ulps: Update.
5015
9ee16d8b
SE
50162015-02-18 Steve Ellcey <sellcey@imgtec.com>
5017
5018 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
5019 * sysdeps/mips/bits/endian.h: Fix comments.
5020
4ffb1771
JM
50212015-02-18 Joseph Myers <joseph@codesourcery.com>
5022
5023 [BZ #17996]
5024 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
5025 (hdestroy_r): Likewise.
5026 (hsearch_r): Likewise.
5027 (__hcreate_r): Declare and use libc_hidden_proto.
5028 (__hdestroy_r): Likewise.
5029 (__hsearch_r): Likewise.
5030 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
5031 (hcreate): Call __hcreate_r instead of hcreate_r.
5032 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
5033 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
5034 as weak alias of __hcreate_r.
5035 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
5036 __hdestroy_r.
5037 (hsearch_r): Rename to __hsearch_r and define as weak alias of
5038 __hsearch_r.
5039 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
5040 Remove variable.
5041 (test-xfail-XPG4/search.h/linknamespace): Likewise.
5042 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5043 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5044 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5045
94c5a52a
SP
50462015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5047
5048 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
5049 arena_lock into a single arena_get.
5050
8a35c3fe
CD
50512015-02-17 Carlos O'Donell <carlos@redhat.com>
5052
5053 * dl-reloc.c: Inlucde libc-internal.h.
5054 (_dl_try_allocate_static_tls): Call ALIGN_UP.
5055 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
5056 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
5057 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
5058 (grow_heap): Likewise.
5059 * malloc/malloc.c: Include libc-internal.h.
5060 (do_check_malloc): Call powerof2.
5061 (sysmalloc): Use pagesize. Call ALIGN_UP.
5062 (systrim): Use pagesize.
5063 (mremap_chunk): Use pagesize. Call ALIGN_UP.
5064 (__libc_valloc): Use pagesize.
5065 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
5066
1a2325c0
JM
50672015-02-17 Joseph Myers <joseph@codesourcery.com>
5068
5069 [BZ #17991]
5070 * include/sys/resource.h (__getrlimit64): Declare. Use
5071 libc_hidden_proto.
5072 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
5073 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
5074 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
5075 getrlimit64.
5076 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
5077 __getrlimit64.
5078 [!getrlimit64] (getrlimit64): Define as weak alias of
5079 __getrlimit64. Use libc_hidden_weak.
5080 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
5081 using __getrlimit64 not __new_getrlimit64.
5082 (__GI_getrlimit64): Likewise.
5083 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
5084 Likewise.
5085 (__GI_getrlimit64): Likewise.
5086 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
5087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
5088 (getrlimit): Add __getrlimit64 alias.
5089 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
5090 Likewise.
5091 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
5092 Remove variable.
5093 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5094 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5095
8ae4bb5a
PP
50962015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5097
5098 * libio/fileops.c: Add missing sys/mman.h
5099 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
5100
18a218b7
JM
51012015-02-17 Joseph Myers <joseph@codesourcery.com>
5102
5103 * manual/math.texi (Errors in Math Functions): Clarify goals
5104 regarding inexact and underflow exceptions.
5105
e72ad0ef
SE
51062015-02-17 Steve Ellcey <sellcey@imgtec.com>
5107
5108 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
5109 * sysdeps/mips/memset.S: Ditto.
5110
2caa4099
SE
51112015-02-17 Steve Ellcey <sellcey@imgtec.com>
5112
5113 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
5114
f20bfc9b
SL
51152015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
5116
5117 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
5118 (__v1longjmp): Remove versioned symbol.
5119 (__v1siglongjmp): Remove alias and versioned symbol.
5120 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
5121 (__v2siglongjmp): Likewise.
5122
71c06b69
TR
51232015-02-16 Torvald Riegel <triegel@redhat.com>
5124
5125 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
5126
a9a05adb
MF
51272015-02-16 Mike Frysinger <vapier@gentoo.org>
5128
5129 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
5130
ce8fc784
JM
51312015-02-16 Joseph Myers <joseph@codesourcery.com>
5132
5133 [BZ #17987]
5134 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
5135 zero result does not depend on the sign resulting from
5136 subtraction.
5137 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5138 Likewise.
5139 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5140 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5141 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5142 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5143 * math/libm-test.inc (remquo_test_data): Add more tests.
5144
0d7036bd
PE
51452015-02-16 Paul Eggert <eggert@cs.ucla.edu>
5146
5147 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
5148 Problem reported by J William Piggott.
5149
86c56b16
JM
51502015-02-16 Joseph Myers <joseph@codesourcery.com>
5151
a820f9b3
JM
5152 [BZ #17978]
5153 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
5154 products 4 * y and 2 * y where those would overflow.
5155 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5156 Likewise.
5157 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5158 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5159 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5160 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5161 * math/libm-test.inc (remquo_test_data): Add more tests.
5162
be802953
JM
5163 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
5164
e5e72fe9
JM
5165 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
5166 [defined _COMPILING_NEWLIB].
5167 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
5168 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
5169
86c56b16
JM
5170 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
5171 [!defined __mips_isa_rev || __mips_isa_rev < 6].
5172
35264d14
TR
51732015-02-16 Torvald Riegel <triegel@redhat.com>
5174
5175 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
5176 acquired.
5177
6f49e32a
MF
51782015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
5179
5180 [BZ #17792]
5181 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
5182 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
5183 HOST_STACK_END_ADDR): Likewise.
5184
e525154e
SE
51852015-02-13 Steve Ellcey <sellcey@imgtec.com>
5186
5187 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
5188 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
5189 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
5190
4ab770b7
RM
51912015-02-13 Roland McGrath <roland@hack.frob.com>
5192
5193 * sysdeps/generic/c++-types.data: New file.
5194 * sysdeps/generic/ld.abilist: New file.
5195 * sysdeps/generic/libBrokenLocale.abilist: New file.
5196 * sysdeps/generic/libanl.abilist: New file.
5197 * sysdeps/generic/libc.abilist: New file.
5198 * sysdeps/generic/libcrypt.abilist: New file.
5199 * sysdeps/generic/libdl.abilist: New file.
5200 * sysdeps/generic/libm.abilist: New file.
5201 * sysdeps/generic/libpthread.abilist: New file.
5202 * sysdeps/generic/libresolv.abilist: New file.
5203 * sysdeps/generic/librt.abilist: New file.
5204
d9afe48d
JM
52052015-02-13 Joseph Myers <joseph@codesourcery.com>
5206
5207 [BZ #17569]
5208 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5209 Compute absolute value of x as modified by fmod, not original
5210 value of x.
5211 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
5212 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
5213 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
5214 RUN_TEST_ffI_f1_mod8.
5215 (remquo_test_data): Add more tests.
5216
3846188b
RM
52172015-02-13 Roland McGrath <roland@hack.frob.com>
5218
5219 * sysdeps/init_array/pt-crti.S: New file.
5220
95c26233
JM
52212015-02-13 Joseph Myers <joseph@codesourcery.com>
5222
5223 [BZ #17967]
5224 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
5225 __builtin_fmaf instead of relying on contraction of a * b + c.
5226
3f293d61
WP
52272015-02-12 J William Piggott <elseifthen@gmx.com>
5228
5229 [BZ #17969]
5230 * manual/time.texi: correct the zoneinfo path in the TZ Variable
5231 node.
5232
e8bd5286
JM
52332015-02-12 Joseph Myers <joseph@codesourcery.com>
5234
5235 [BZ #17964]
5236 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
5237 __builtin_fma instead of relying on contraction of a * b + c.
5238
04f5a636
RM
52392015-02-12 Roland McGrath <roland@hack.frob.com>
5240
96a15749
RM
5241 * Makeconfig (ASFLAGS): Add -Werror=undef.
5242 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
5243 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
5244 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
5245
04f5a636
RM
5246 * Makeconfig (after-link): New variable.
5247 (+link-pie, +link-pie-tests): Use it.
5248 (+link-static, +link-static-tests): Likewise.
5249 (+link, +link-tests): Likewise.
5250 * Makerules (build-module, build-module-asneeded): Likewise.
5251 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
5252 Likewise.
5253 * elf/Makefile ($(objpfx)ld.so): Likewise.
5254
87a629c5
RS
52552015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
5256
5257 [BZ #17965]
5258 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
5259 both struct timeval and struct timespec.
5260
03d95bd4
JM
52612015-02-12 Joseph Myers <joseph@codesourcery.com>
5262
5263 [BZ #16560]
5264 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5265 and redefine.
5266 (__ieee754_exp2l): Do not multiply small fractional parts by
5267 M_LN2l.
5268 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
5269 small argument.
5270 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5271 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5272 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
5273 * math/auto-libm-test-in: Add more tests of exp2.
5274 * math/auto-libm-test-out: Regenerated.
5275
98408b95
RS
52762015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5277
5278 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
5279 unaligned path.
5280
6f741503
AZ
52812015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5282
5283 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
5284 little endian.
5285
2868e070
AS
52862015-02-12 Andreas Schwab <schwab@suse.de>
5287
5288 [BZ #15790]
5289 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5290 Filter out elision flags from value returned in kind.
5291 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
5292 * nptl/tst-pthread-mutexattr.c: New file.
5293
ebf27d12
ST
52942015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
5295
5296 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
5297 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
5298 into gnu-gnu, and update comment to refer to abi-tags.
5299
d435569c
JM
53002015-02-11 Joseph Myers <joseph@codesourcery.com>
5301
5302 [BZ #15467]
5303 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
5304 (__sincos): Set errno to EDOM for infinite argument.
5305 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
5306 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
5307 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
5308 (__sincosl): Set errno to EDOM for infinite argument.
5309 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
5310 (__sincosl): Set errno to EDOM for infinite argument.
5311 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
5312 (__sincosl): Set errno to EDOM for infinite argument.
5313 * math/libm-test.inc (sincos_test_data): Test errno setting.
5314
d35273f2
LH
53152015-02-11 Leonhard Holz <leonhard.holz@web.de>
5316
5317 * string/strxfrm_l.c: Remove #define STRCMP.
5318 * string/strcoll_l.c: Remove #define STRLEN.
5319 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
5320 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
5321
306bc0d1
JM
53222015-02-10 Joseph Myers <joseph@codesourcery.com>
5323
5324 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
5325 * sysdeps/mips/mips32/sfp-machine.h: ... here.
5326 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
5327 * sysdeps/mips/mips64/Makefile: ... here.
5328 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
5329 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
5330 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
5331 * sysdeps/mips/mips64/sfp-machine.h: ... here.
5332 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
5333 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
5334 * sysdeps/mips/mips64/n64/Implies: Likewise.
5335
92b67e8d
RM
53362015-02-10 Roland McGrath <roland@hack.frob.com>
5337
5338 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
5339 <sys/time.h>, <string.h>, and <errno.h>.
5340 (dest_offset, dest_address, value, zero): Remove unused variables.
5341 (ldouble): Remove typedef.
5342 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
5343 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
5344 1). Fix code style.
5345 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
5346 (check): Function removed.
5347 (CHECK): New macro.
5348 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
5349 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
5350 Don't call set_sigaction_FP and remove_sigaction_FP here.
5351 (ldouble_test): Just use 'long double' as macro argument, no need for
5352 the 'ldouble' typedef.
5353 (do_test): Set up SIGFPE handler at start, using plain signal rather
5354 than sigaction. Fix code style.
5355
132a1328
EF
53562015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
5357
5358 [BZ #17949]
5359 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
5360 jump label.
5361
3001e54c
AZ
53622015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5363
bc0cdc49
AZ
5364 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
5365 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5366
83658961
AZ
5367 * sysdeps/powerpc/configure.ac: Remove file.
5368 * sysdeps/powerpc/configure: Likewise.
5369
10169938
AZ
5370 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5371 [sysdep_routines]: Remove wordcopy-power6 object.
5372 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5373 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
5374 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
5375 (__memmove_ppc32): Likewise.
5376 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
5377 file.
5378 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
5379 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
5380 Remove preprocessor.
5381
8548a53d
AZ
5382 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5383 [sysdep_routines]: Remove wide chars objects.
5384 [wcsmbs]: New rule for wide char objects.
5385
b2692114
AZ
5386 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5387 Remove wordcopy-power6 obejct.
5388 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
5389 Use local call for wordcopy and memcpy symbols.
5390 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
5391 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
5392 implementation for loader.
5393 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
5394
18e270aa
AZ
5395 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5396 Remove wordcopy-power7 object.
5397 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
5398 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
5399 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
5400 (_wordcopy_fwd_dest_aligned): Likewise.
5401 (_wordcopy_bwd_aligned): Likewise.
5402 (_wordcopy_bwd_dest_aligned): Likewise.
5403
6f0993a6
AZ
5404 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
5405 Rewrite to call __memmove_ppc instead of include default
5406 implementation.
5407
3001e54c
AZ
5408 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5409 Remove wide chars objects.
5410 [wcsmbs]: New rule for wide char objects.
5411
59b61c82
AS
54122015-02-09 Andreas Schwab <schwab@suse.de>
5413
5414 [BZ #17912]
5415 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5416 in terms of __O_DIRECTORY.
5417
ebd7aede
ST
54182015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
5419
5420 * time/getdate.c: Include <stdbool.h>.
28b06757
ST
5421 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
5422 call PTR_MANGLE.
5423 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
5424 PTR_DEMANGLE.
ebd7aede 5425
3999d26e
PE
54262015-02-07 Paul Eggert <eggert@cs.ucla.edu>
5427
5428 Add ersatz _Static_assert on older C hosts
5429 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
5430 pre-C11 C platform that is not known to support _Static_assert.
5431
e9a5bc1c
ST
54322015-02-07 Richard Braun <rbraun@sceen.net>
5433
5434 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
5435 sigstate.
e86c5b64 5436 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
e9a5bc1c 5437
e2049d17
ST
54382015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
5439
5440 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
5441 priority against unexistent AIO_PRIO_DELTA_MAX.
5d2556c4
ST
5442 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
5443 instead of int.
5444 * misc/fchflags.c (fchflags): Likewise.
5445 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
5446 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
5447 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
5448 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
5449 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
5450 Declare macros.
5451 [__USE_MISC] (chflags, fchflags): Declare functions.
d5131d3c
ST
5452 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
5453 EINVAL when nfds is greater than FD_SETSIZE.
bd959902
ST
5454 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
5455 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
5456 45.
a9a002fb
ST
5457 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
5458 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
c187253f
ST
5459 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
5460 MACH_RCV_TIMED_OUT.
f96ec27a
ST
5461 * hurd/hurd/signal.h (_hurd_self_sigstate,
5462 _hurd_critical_section_lock, _hurd_critical_section_unlock):
5463 Explicit casts from void *.
4fc81a77 5464 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
ae20c9a1 5465 * abi-tags: Rename gnu-gnu os into gnu.
e2049d17 5466
f05826f0
ST
5467 [BZ #4719]
5468 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
5469 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
5470 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
5471 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
5472 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
5473 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
5474
a5eb23de
ST
5475 [BZ #17944]
5476 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
5477 duplicates ADDR->sun_path with sockaddr LEN limitation.
5478 * sysdeps/mach/hurd/connect.c: Include <string.h>
5479 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
5480 * sysdeps/mach/hurd/sendmsg.c: Likewise.
5481 * sysdeps/mach/hurd/sendto.c: Likewise.
5482 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
5483 implementing it by hand.
5484
ac9e0e5e
RM
54852015-02-06 Roland McGrath <roland@hack.frob.com>
5486
f8d1bb4c
RM
5487 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
5488 Use sfi_breg on ldr.
5489 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
5490 Likewise.
5491
022f4812
RM
5492 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
5493 it's defined.
5494 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
5495 Test SIGSETXID only if it's defined.
5496
1ac074e6
RM
5497 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
5498
f50ad78b
RM
5499 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
5500 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
5501
9e7265f4
RM
5502 * nptl/tst-align2.c: Moved ...
5503 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
5504 * nptl/Makefile (tests): Remove tst-align2.
5505 * sysdeps/unix/sysv/linux/Makefile
5506 [$(subdir) = nptl] (tests): Add tst-align-clone.
5507 * nptl/tst-getpid1.c: Moved ...
5508 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
5509 * nptl/tst-getpid2.c: Moved ...
5510 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
5511 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
5512 * sysdeps/unix/sysv/linux/Makefile
5513 [$(subdir) = nptl] (tests): ... here.
5514 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
5515 * sysdeps/unix/sysv/linux/Makefile
5516 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
5517
62ad2abc
RM
5518 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
5519 Drop trailing \n from perror argument. Use return rather than exit.
5520
cfa69b0b
RM
5521 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
5522 on [SA_SIGINFO].
5523 * nptl/tst-cancel21.c (do_test): Likewise.
5524 * debug/tst-backtrace6.c: Include <signal.h> first thing.
5525 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
5526 [!SA_SIGINFO]: Make it a stub test.
5527
82727806
RM
5528 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
5529 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
5530
da3a1594
RM
5531 * posix/tst-getlogin.c: Move to ...
5532 * login/tst-getlogin.c: ... here.
5533 * posix/Makefile (tests): Move tst-getlogin to ...
5534 * login/Makefile (tests): ... here.
5535
b65c0ff9
RM
5536 * libio/tst-atime.c (do_test): Move local variables SV and E
5537 inside [ST_NOATIME] conditional.
5538
56606ab3
RM
5539 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
5540
ebf7d6ee
RM
5541 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
5542
ca0e0675
RM
5543 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
5544 (wait_code): New function replaces macro.
5545 Call nanosleep rather than syscall.
5546
8c28bbc6
RM
5547 * nptl/pt-system.c: Rewritten. Put everything under
5548 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5549 Use IFUNC to redirect when possible.
5550
ec2a88b3
RM
5551 * nptl/pt-longjmp.c: Rewritten. Put everything under
5552 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5553 Use IFUNC to redirect when possible.
5554
beff1d13
RM
5555 * nptl/pt-fork.c: Rewritten. Put everything under
5556 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5557 Use IFUNC to redirect when possible.
5558 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
5559
ea02c6b8
RM
5560 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
5561 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
5562 unconditionally nowadays. This included the only reference to
5563 __vdso_clock_gettime that appears outside libc proper.
5564 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
5565 Remove version set (containing only __vdso_clock_gettime).
5566 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
5567 Add attribute_hidden.
5568 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
5569 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
5570 libc_hidden_data_def.
5571 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5572 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5573
a1309c2b
RM
5574 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
5575 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
5576 setrpcent, and getrpcport to ...
5577 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
5578 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
5579 getrpcbynumber_r, and getrpcent_r to ...
5580 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
5581 * inet/getrpcbyname.c: Moved ...
5582 * sunrpc/getrpcbyname.c: ... here.
5583 * inet/getrpcbyname_r.c: Moved ...
5584 * sunrpc/getrpcbyname_r.c: ... here.
5585 * inet/getrpcbynumber.c: Moved ...
5586 * sunrpc/getrpcbynumber.c: ... here.
5587 * inet/getrpcbynumber_r.c: Moved ...
5588 * sunrpc/getrpcbynumber_r.c: ... here.
5589 * inet/getrpcent.c: Moved ...
5590 * sunrpc/getrpcent.c: ... here.
5591 * inet/getrpcent_r.c: Moved ...
5592 * sunrpc/getrpcent_r.c: ... here.
5593 * inet/Makefile (routines): Move those to ...
5594 * sunrpc/Makefile (routines): ... here.
5595 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
5596 the $(subdirs) list.
5597 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
5598 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
5599 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
5600 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
5601
ac9e0e5e
RM
5602 * elf/Makefile (routines): Include $(all-dl-routines), not just
5603 $(dl-routines).
5604 (rtld-routines): Likewise. Use = rather than :=.
5605 * sysdeps/aarch64/Makefile [$(subdir) = elf]
5606 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
5607 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
5608 * sysdeps/arm/Makefile: Likewise.
5609 * sysdeps/i386/Makefile: Likewise.
5610 * sysdeps/x86_64/Makefile: Likewise.
5611 * sysdeps/hppa/Makefile [$(subdir) = elf]
5612 (sysdep_routines, sysdep-rtld-routines): Don't add
5613 $(sysdep-dl-routines) to these.
5614 * sysdeps/ia64/Makefile: Likewise.
5615 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
5616 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
5617 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
5618 Don't add dl-static to these; sysdep-dl-routines alone is enough.
5619 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
5620 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
5621 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
5622 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
5623 * sysdeps/powerpc/Makefile [$(subdir) = elf]
5624 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
5625 these; sysdep-dl-routines alone is enough.
5626
639e42eb
JM
56272015-02-06 Joseph Myers <joseph@codesourcery.com>
5628
1c7a4a51
JM
5629 [BZ #17932]
5630 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
5631 where multiplication results in zero and third argument is finite
5632 and nonzero.
5633 * math/auto-libm-test-in: Add more tests of fma.
5634 * math/auto-libm-test-out: Regenerated.
5635
61f006c1
JM
5636 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
5637 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
5638 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
5639 (_FP_CMP_EQ): Likewise.
5640 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
5641
639e42eb
JM
5642 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
5643 extra argument CHECK_NAN. Redefine as wrapper around
5644 _FP_EXTEND_CNAN.
5645
3c0c543b
CD
56462015-02-06 Carlos O'Donell <carlos@systemhalted.org>
5647
4e42b5b8
CD
5648 * version.h (RELEASE): Set to "stable".
5649 (VERSION): Set to "2.21"
5650 * include/features.h (__GLIBC_MINOR__): Set to 21.
5651
3c0c543b
CD
5652 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
5653
5bd80bfe 56542015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
76c109f2 5655 Paul Eggert <eggert@cs.ucla.edu>
5bd80bfe
PP
5656
5657 [BZ #16618]
5658 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
5659 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
5660 size in bytes. Store needed elements in wpmax. Use needed size
5661 in bytes for extend_alloca.
5662
3f823f48
CD
56632015-02-05 Carlos O'Donell <carlos@systemhalted.org>
5664
04cb913d
CD
5665 * manual/install.texi: Latest tested versions are GCC 4.9.2,
5666 binutls 2.25, and texinfo 5.2.
5667 * INSTALL: Regenerate.
5668 * sysdeps/nios2/configure: Regenerate.
5669 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
5670 * manual/contrib.texi: Update.
5671 * po/be.po: Update.
5672 * po/bg.po: Update.
5673 * po/ca.po: Update.
5674 * po/cs.po: Update.
5675 * po/da.po: Update.
5676 * po/de.po: Update.
5677 * po/el.po: Update.
5678 * po/eo.po: Update.
5679 * po/es.po: Update.
5680 * po/fi.po: Update.
5681 * po/fr.po: Update.
5682 * po/gl.po: Update.
5683 * po/hr.po: Update.
5684 * po/hu.po: Update.
5685 * po/ia.po: Update.
5686 * po/id.po: Update.
5687 * po/it.po: Update.
5688 * po/ja.po: Update.
5689 * po/ko.po: Update.
5690 * po/lt.po: Update.
5691 * po/nb.po: Update.
5692 * po/nl.po: Update.
5693 * po/pl.po: Update.
5694 * po/pt_BR.po: Update.
5695 * po/ru.po: Update.
5696 * po/rw.po: Update.
5697 * po/sk.po: Update.
5698 * po/sl.po: Update.
5699 * po/sv.po: Update.
5700 * po/tr.po: Update.
5701 * po/uk.po: Update.
5702 * po/vi.po: Update.
5703 * po/zh_CN.po: Update.
5704 * po/zh_TW.po: Update.
5705
3f823f48
CD
5706 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
5707 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
5708 * sysdeps/hppa/dl-irel.h: Remove #warning.
5709 * sysdeps/hppa/entry.h: Provide prototype for
5710 __canonicalize_funcptr_for_compare and cast argument.
5711 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
5712 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
5713 * sysdeps/hppa/sotruss-lib.c: New file.
5714 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
5715 (atomic_compare_and_exchange_val_acq): Use __typeof__.
5716 (atomic_compare_and_exchange_bool_acq): Likewise.
5717 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
5718 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
5719
5720 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
5721 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
5722 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
5723
34c56048
CLT
57242015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
5725
5726 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
5727 called function in non-PIC case.
5728
d4abeca5
DM
57292015-01-31 David S. Miller <davem@davemloft.net>
5730
edac0a60
DM
5731 * sysdeps/sparc/sparc32/bits/atomic.h
5732 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
5733 unlock not after it.
5734 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
5735 volatile register usage warnings from the compiler.
5736
d4abeca5
DM
5737 * sysdeps/sparc/nptl/sem_init.c: Delete.
5738 * sysdeps/sparc/nptl/sem_post.c: Delete.
5739 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
5740 * sysdeps/sparc/nptl/sem_wait.c: Delete.
5741 * sysdeps/sparc/sparc32/sem_init.c: New file.
5742 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
5743 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
5744 padding explicitly initialized.
5745 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
5746 padding for in-semaphore spinlock.
5747 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
5748 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
5749 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
5750 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
5751 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
5752 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
5753 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
5754 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
5755 version.
5756 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
5757 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
5758
5f3d0b78
L
57592015-01-30 H.J. Lu <hongjiu.lu@intel.com>
5760
5761 [BZ #17801]
5762 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5763 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
5764 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
5765 New.
5766 (index_AVX_Fast_Unaligned_Load): Likewise.
5767 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
5768 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
5769 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
5770 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
5771 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
5772 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
5773 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
5774 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
5775 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
5776
b658fdd8
AS
57772015-01-29 Andreas Schwab <schwab@suse.de>
5778
5779 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
5780
3cb26316
SP
57812015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5782
5783 [BZ #17892]
5784 * nscd/nscd_stat.c (send_stats): Initialize DATA.
5785
527de9e4
MS
57862015-01-28 Martin Sebor <msebor@redhat.com>
5787
5788 * math/README.libm-test: Clarify. Add "How to read the test output."
5789
06991eb8
CM
57902015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
5791
5792 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
5793 Define to 0.
5794
df341342
JM
57952015-01-28 Joseph Myers <joseph@codesourcery.com>
5796
5797 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
5798 (__HAVE_64B_ATOMICS): Define to 0.
5799
08cee2a4
AZ
58002015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5801
d4d0ecb2
AZ
5802 [BZ #17885]
5803 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
5804 value to set as new flag.
5805
08cee2a4
AZ
5806 [BZ #16576]
5807 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
5808 and use _ARCH_PPCSQ instead.
5809 (__ieee754_sqrt): Likewise.
5810 (__ieee754_sqrtf): Likewise.
5811 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
5812 _ARCH_PPCSQ is defined.
5813 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
5814 fsqrt instruction.
5815 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
5816 _ARCH_PPCSQ is defined.
5817 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
5818 fsqrts instruction.
5819 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
5820
5fe8e359
AK
58212015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5822
5823 * iconv/loop.c: Suppress array out of bound warning caused by GCC
5824 bug (GCC BZ #64739).
5825
24bb7432
AS
58262015-01-25 Andreas Schwab <schwab@linux-m68k.org>
5827
fa20da31
AS
5828 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
5829 Mark _retval as used.
5830 (lll_futex_wake_unlock): Likewise.
5831 (lll_futex_timed_wait_requeue_pi): Likewise.
5832
45819cbc
AS
5833 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5834 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
5835 register variables.
5836
403cc231
AS
5837 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
5838 libm_hidden_def.
5839
24bb7432
AS
5840 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
5841 (__bswap_64): Mark as __always_inline.
5842
9317ea65
B
58432015-01-25 Bram <bug_rh@spam.wizbit.be>
5844
5845 [BZ #15378]
5846 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
5847 when none of the search directories exist.
5848
0e87343e
AZ
58492015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5850
bea58013
AZ
5851 [BZ #17869]
5852 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
5853 power8 in .machine directive.
5854
0e87343e
AZ
5855 [BZ #17868]
5856 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
5857 set dependency from opd value.
5858
ede0236c
L
58592015-01-23 H.J. Lu <hongjiu.lu@intel.com>
5860
5861 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
5862 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
5863 architecture.
ede0236c 5864
22971c35
L
58652015-01-23 H.J. Lu <hongjiu.lu@intel.com>
5866
5867 [BZ #17870]
5868 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
5869 with uint64_t.
5870 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
5871 (uint64_t) 1.
e0da28a1 5872 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
5873 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
5874 Replace 1UL with (uint64_t) 1.
5875 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
5876 int with uint64_t.
5877
da5bf245
RM
58782015-01-23 Roland McGrath <roland@hack.frob.com>
5879
2ec2d703
RM
5880 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
5881 (if_freenameindex): Likewise.
5882
da5bf245
RM
5883 * resource/getrlimit64.c: Add missing libc_hidden_def.
5884
d7423856
JM
58852015-01-22 Joseph Myers <joseph@codesourcery.com>
5886
5887 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
5888 __label__.
5889 (_FP_FMA): Likewise.
5890 (_FP_TO_INT_ROUND): Likewise.
5891 (_FP_FROM_INT): Likewise.
5892
6b2ba95b
AZ
58932015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5894
5895 [BZ #16418]
5896 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
5897 Make code racy and cancel safe.
5898
ccdb048d
CD
58992015-01-21 Carlos O'Donell <carlos@redhat.com>
5900
191220b3
CD
5901 * sysdeps/arm/unwind-resume.h: Fix copyright year.
5902 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
5903 attribution.
5904
0897c551
CD
5905 * pwd/tst-getpw.c: Rewrite.
5906
ccdb048d
CD
5907 [BZ #17702]
5908 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
5909 (modules-names): Add moddummy1 and moddummy2.
5910 ($(objpfx)tst-rec-dlopen): Define.
5911 * dlfcn/moddummy1.c: New file.
5912 * dlfcn/moddummy2.c: New file.
5913 * dlfcn/tst-rec-dlopen.c: New file.
5914 * elf/dl-cache.c (_dl_load_cache_lookup):
5915 Return char*. Copy result with alloca/strcpy/strdup.
5916 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
5917 returns char*. Free cached. If not saving realname
5918 free cached.
5919 * elf/dl-open.c (dl_open_worker): Do not assert that
5920 _r_debug->r_state is RT_CONSISTENT.
5921 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
5922 returns char*.
5923
042e1521
CD
59242015-01-21 Torvald Riegel <triegel@redhat.com>
5925 Carlos O'Donell <carlos@redhat.com>
5926
5927 [BZ #12674]
5928 * nptl/sem_waitcommon.c: New file.
5929 * nptl/sem_wait.c: Include sem_waitcommon.c.
5930 (__sem_wait_cleanup, do_futex_wait): Remove.
5931 (__new_sem_wait): Adapt.
5932 (__new_sem_trywait): New function.
5933 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
5934 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
5935 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
5936 (sem_timedwait): Adapt.
5937 * nptl/sem_post.c (__new_sem_post): Adapt.
5938 (futex_wake): New function.
5939 (__old_sem_post): Add release MO fence.
5940 * nptl/sem_open.c (sem_open): Adapt.
5941 * nptl/sem_init.c (__new_sem_init): Adapt.
5942 (futex_private_if_supported): New function.
5943 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
5944 (__old_sem_getvalue): Add using previous code.
5945 * sysdeps/nptl/internaltypes.h: Adapt.
5946 * nptl/tst-sem13.c (do_test): Adapt.
5947 * nptl/tst-sem11.c (main): Adapt.
5948 * nptl/sem_trywait.c: Remove.
5949 * nptl/DESIGN-sem.txt: Remove.
5950 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
5951 (gen-as-const-headers): Remove structsem.sym.
5952 * nptl/structsem.sym: Remove.
5953 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
5954 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
5955 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
5956 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
5957 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
5958 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
5959 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
5960 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
5961 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
5962 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
5963 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
5964 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
5965 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
5966 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
5967 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
5968 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
5969 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
5970 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
5971 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
5972 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
5973 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
5974 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
5975
fe0e85af
CD
59762015-01-20 Carlos O'Donell <carlos@redhat.com>
5977
a8db092e
CD
5978 * INSTALL: Regenerated.
5979
fe0e85af
CD
5980 * po/libc.pot: Regenerated.
5981
522e6ee3
CLT
59822015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
5983 Sandra Loosemore <sandra@codesourcery.com>
5984 Andrew Jenner <andrew@codesourcery.com>
5985 Joseph Myers <joseph@codesourcery.com>
5986 Nathan Sidwell <nathan@codesourcery.com>
5987
5988 * NEWS: Mention new Nios II port.
5989 * sysdeps/nios2/Implies: New file.
5990 * sysdeps/nios2/Makefile: New file.
5991 * sysdeps/nios2/Subdirs: New file.
5992 * sysdeps/nios2/Versions: New file.
5993 * sysdeps/nios2/__longjmp.S: New file.
5994 * sysdeps/nios2/abort-instr.h: New file.
5995 * sysdeps/nios2/backtrace.c: New file.
5996 * sysdeps/nios2/bits/endian.h: New file.
5997 * sysdeps/nios2/bits/fenv.h: New file.
5998 * sysdeps/nios2/bits/link.h: New file.
5999 * sysdeps/nios2/bits/setjmp.h: New file.
6000 * sysdeps/nios2/bsd-_setjmp.S: New file.
6001 * sysdeps/nios2/bsd-setjmp.S: New file.
6002 * sysdeps/nios2/configure: New generated file.
6003 * sysdeps/nios2/configure.ac: New file.
6004 * sysdeps/nios2/crti.S: New file.
6005 * sysdeps/nios2/crtn.S: New file.
6006 * sysdeps/nios2/dl-init.c: New file.
6007 * sysdeps/nios2/dl-machine.h: New file.
6008 * sysdeps/nios2/dl-sysdep.h: New file.
6009 * sysdeps/nios2/dl-tls.h: New file.
6010 * sysdeps/nios2/dl-trampoline.S: New file.
6011 * sysdeps/nios2/gccframe.h: New file.
6012 * sysdeps/nios2/gmp-mparam.h: New file.
6013 * sysdeps/nios2/jmpbuf-offsets.h: New file.
6014 * sysdeps/nios2/jmpbuf-unwind.h: New file.
6015 * sysdeps/nios2/ldsodefs.h: New file.
6016 * sysdeps/nios2/libc-tls.c: New file.
6017 * sysdeps/nios2/libm-test-ulps: New file.
6018 * sysdeps/nios2/machine-gmon.h: New file.
6019 * sysdeps/nios2/math-tests.h: New file.
6020 * sysdeps/nios2/math_private.h: New file.
6021 * sysdeps/nios2/memusage.h: New file.
6022 * sysdeps/nios2/nptl/Makefile: New file.
6023 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
6024 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
6025 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
6026 * sysdeps/nios2/nptl/pthreaddef.h: New file.
6027 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
6028 * sysdeps/nios2/nptl/tls.h: New file.
6029 * sysdeps/nios2/preconfigure: New file.
6030 * sysdeps/nios2/s_fma.c: New file.
6031 * sysdeps/nios2/s_fmaf.c: New file.
6032 * sysdeps/nios2/setjmp.S: New file.
6033 * sysdeps/nios2/sfp-machine.h: New file.
6034 * sysdeps/nios2/sotruss-lib.c: New file.
6035 * sysdeps/nios2/stackguard-macros.h: New file.
6036 * sysdeps/nios2/stackinfo.h: New file.
6037 * sysdeps/nios2/start.S: New file.
6038 * sysdeps/nios2/sysdep.h: New file.
6039 * sysdeps/nios2/tls-macros.h: New file.
6040 * sysdeps/nios2/tst-audit.h: New file.
6041 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
6042 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
6043 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
6044 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
6045 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
6046 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
6047 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
6048 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
6049 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
6050 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
6051 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
6052 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
6053 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
6054 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
6055 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
6056 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
6057 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
6058 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
6059 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
6060 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
6061 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
6062 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
6063 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
6064 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
6065 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
6066 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
6067 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
6068 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
6069 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
6070 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
6071 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
6072 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
6073 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
6074 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
6075 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
6076 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
6077 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
6078 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
6079 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
6080 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
6081 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
6082 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
6083 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
6084 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
6085
026eb207
SL
60862015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6087
6088 [BZ #17844]
6089 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
6090 (getutent): Use weak_alias in non SHARED case
6091 and default_symbol_version in SHARED case.
6092 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
6093 (getutent_r, pututline): Likewise.
6094 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
6095 (getutid): Likewise.
6096 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
6097 (getutid_r): Likewise.
6098 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
6099 (getutline): Likewise.
6100 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
6101 (getutline_r): Likewise.
6102 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
6103 (updwtmp): Likewise.
6104
1d532483
SL
61052015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6106
6107 [BZ #17848]
6108 * sysdeps/s390/s390-32/memcmp.S
6109 (memcmp_g5): Rename to __memcmp_g5.
6110 * sysdeps/s390/s390-32/memcpy.S
6111 (memcpy_g5): Rename to __memcpy_g5.
6112 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6113 (memcpy_mvcle) Rename to __memcpy_mvcle.
6114 * sysdeps/s390/s390-32/memset.S
6115 (memset_g5): Rename to __memset_g5.
6116 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6117 (IFUNC_RESOLVE): Prefix ifunc-resolve function
6118 and use prefixed functions.
6119 * sysdeps/s390/s390-32/multiarch/memcmp.S
6120 (memcmp_z196): Rename to __memcmp_z196.
6121 (memcmp_z10): Rename to __memcmp_z10.
6122 (memcmp): Set alias to __memcmp_g5.
6123 (bcmp): Set alias to __memcmp_g5.
6124 * sysdeps/s390/s390-32/multiarch/memcpy.S
6125 (memcpy_z196): Rename to __memcpy_z196.
6126 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6127 (memcpy_z10): Rename to __memcpy_z10.
6128 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6129 (memcpy): Set alias to __memcpy_g5.
6130 * sysdeps/s390/s390-32/multiarch/memset.S
6131 (memset_z196): Rename to __memset_z196.
6132 Jump to __memset_mvcle instead of memset_mvcle.
6133 (memset_z10): Rename to __memset_z10.
6134 Jump to __memset_mvcle instead of memset_mvcle.
6135 (memset_mvcle) Rename to __memset_mvcle.
6136 (memset): Set alias to __memset_g5.
6137 * sysdeps/s390/s390-64/memcmp.S
6138 (memcmp_z900): Rename to __memcmp_z900.
6139 * sysdeps/s390/s390-64/memcpy.S
6140 (memcpy_z900): Rename to __memcpy_z900.
6141 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6142 (memcpy_mvcle) Rename to __memcpy_mvcle.
6143 * sysdeps/s390/s390-64/memset.S
6144 (memset_z900): Rename to __memset_z900.
6145 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
6146 (IFUNC_RESOLVE): Prefix ifunc-resolve function
6147 and use prefixed functions.
6148 * sysdeps/s390/s390-64/multiarch/memcmp.S
6149 (memcmp_z196): Rename to __memcmp_z196.
6150 (memcmp_z10): Rename to __memcmp_z10.
6151 (memcmp): Set alias to __memcmp_z900.
6152 (bcmp): Set alias to __memcmp_z900.
6153 * sysdeps/s390/s390-64/multiarch/memcpy.S
6154 (memcpy_z196): Rename to __memcpy_z196.
6155 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6156 (memcpy_z10): Rename to __memcpy_z10.
6157 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6158 (memcpy): Set alias to __memcpy_z900.
6159 * sysdeps/s390/s390-64/multiarch/memset.S
6160 (memset_z196): Rename to __memset_z196.
6161 Jump to __memset_mvcle instead of memset_mvcle.
6162 (memset_z10): Rename to __memset_z10.
6163 Jump to __memset_mvcle instead of memset_mvcle.
6164 (memset_mvcle) Rename to __memset_mvcle.
6165 (memset): Set alias to __memset_z900.
6166
53fbd169
JM
61672015-01-14 Joseph Myers <joseph@codesourcery.com>
6168
6169 [BZ #17748]
6170 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
6171 __fesetenv instead of fesetenv.
6172
d639a363
SP
61732015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6174
6175 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
6176 macro.
6177
d3b00f46
AZ
61782015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6179
ce6615c9
AZ
6180 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
6181 regression on LE.
6182
d3b00f46
AZ
6183 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
6184 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
6185 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6186 strncmp-power8 object.
6187 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6188 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
6189 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
6190 * NEWS: Update.
6191
72607db0
RS
61922015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6193 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6194
6195 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
6196 trailing byte check.
6197
54dc5461
DM
61982015-01-13 David S. Miller <davem@davemloft.net>
6199
6200 * include/signal.h (__sigreturn): Guard with __USE_MISC.
6201
1c6e6f23
RM
62022015-01-13 Roland McGrath <roland@hack.frob.com>
6203
6204 * login/logout.c (logout): Use memset rather than bzero.
6205 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
6206 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
6207 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
6208 (_gethtbyaddr): Likewise.
6209 * locale/programs/simple-hash.c (bcopy): Macro removed.
6210
96d6fd6c
AZ
62112015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6212
8bedcb5f
AZ
6213 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6214 Add strcmp-power8 object.
6215 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6216 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
6217 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
6218 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
6219 __strcmp_power8 implementation.
6220 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
6221 * NEWS: Update.
6222
f06a4faf
AZ
6223 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6224 Add strncpy-power8 and stpncpy-power8 objects.
6225 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6226 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
6227 implementations.
6228 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
6229 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
6230 __stpncpy_power8 implementation.
6231 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
6232 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
6233 __strncpy_power8 implementation.
6234 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
6235 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
6236 * NEWS: Update.
6237
9f2f36e5
AZ
6238 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
6239 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
6240 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
6241
96d6fd6c 6242 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
6243 strncat-power8 object.
6244 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
6245 __strcat_power8 implementation.
6246 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6247 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
6248 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
6249 optimized strcat for power8.
6250
6251 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
6252 strcpy-power8 and stpcpy-power8 objects.
6253 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6254 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
6255 implementations.
6256 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
6257 multiarch stpcpy implementation for POWER8.
6258 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
6259 multiarch strcpy implementation for POWER8.
6260 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
6261 __strcpy_power8 function.
6262 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
6263 stpcpy for POWER8.
6264 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
6265 strcpy for POWER8.
6266 * NEWS: Update.
6267
0f9e5854
LH
62682015-01-13 Leonhard Holz <leonhard.holz@web.de>
6269
6270 [BZ #16009]
6271 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
6272 weights and rules. Use do_xfrm_cached if data fits in cache,
6273 do_xfrm otherwise. Moved former main loop to...
6274 * (do_xfrm_cached): New function.
6275 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
6276 find_idx, find_position and stack_push.
6277 * (find_idx): New function.
6278 * (find_position): Likewise.
6279 * localedata/sort-test.sh: Added test run for do_xfrm.
6280 * localedata/xfrm-test.c (main): Added command line option
6281 -nocache to run the test with strings that are too large for
6282 the STRXFRM cache.
6283
c60ec0e0
TR
62842015-01-13 Torvald Riegel <triegel@redhat.com>
6285
6286 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
6287 variable to lll_futex_wake call, not the value itself.
6288
34e93d6c
JM
62892015-01-12 Joseph Myers <joseph@codesourcery.com>
6290
5a9e4c09
JM
6291 [BZ #17803]
6292 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
6293 twom64. Adjust value to 0x1p-64L.
6294 (__scalblnl): Only return standard underflowing result for K <=
6295 -64 not K <= -63; adjust exponent for underflowing result by 64
6296 not 63.
6297 * math/libm-test.inc (scalbn_test_data): Add more tests.
6298 (scalbln_test_data): Likewise.
6299
34e93d6c
JM
6300 [BZ #17834]
6301 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
6302 0x1p63L.
6303 (__scalblnl): Get new exponent of adjusted subnormal value from ES
6304 not HX.
6305 * math/libm-test.inc (scalbn_test_data): Add more tests.
6306 (scalbln_test_data): Likewise.
6307
ca677d3c
AZ
63082015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6309 Stefani Seibold <stefani@seibold.net>
6310
6311 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
6312 (sysdep_routines): Add dl-vdso here, ...
6313 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
6314 (sysdep_routines): ... not here.
6315 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
6316 fallback when vDSO is not presented.
6317 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
6318 Define with libc_hidden_proto/libc_hidden_data_def definitions.
6319 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
6320 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
6321 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
6322 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
6323 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
6324 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
6325 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
6326 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
6327 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
6328 fallback configurable symbol when vDSO is not available.
6329 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
6330 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
6331 be able to redefine fallback symbol when vDSO is not available.
6332 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
6333 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
6334
49a9f6ab 63352015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 6336
56cf2763
AZ
6337 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
6338 (TLS_INIT_TP): Add tm_capable initialization.
6339 (TLS_DEFINE_INIT_TP): Likewise.
6340 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
6341 TCB.
6342 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
6343 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
6344 calculation.
6345 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
6346 transactoion is lock elision is built and TCB tm_capable is set.
6347 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
6348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6349 (INTERNAL_SYSCALL_NCS): Likewise.
6350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6351 (INTERNAL_SYSCALL_NCS): Likewise.
6352 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
6353
4b45943a
AZ
6354 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
6355 for powerpc.
6356 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6357 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
6358 and remove it for 32 bits case.
6359 [pthread_rwlock_t] (__rwelision): New field for lock elision.
6360 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
6361 initialization.
6362 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
6363 Disable lock elision with rdlocks if elision is not available.
6364
8d2c0a59
AZ
6365 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
6366 (sysdep_routines): Add lock elision objects.
6367 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6368 [pthread_mutex_t] (__spins): Rework to add lock elision field.
6369 [pthread_mutex_t] (__elision): Add field.
6370 [__PTHREAD_SPINS]: Adjust to init lock elision field.
6371 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
6372 elision definitions for powerpc.
6373 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
6374 implementation of lock elision for powerpc.
6375 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
6376 implementation of timed lock elision for powerpc.
6377 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
6378 implementation of trylock with lock elision for powerpc.
6379 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
6380 implementaion of unlock for lock elision for powerpc.
6381 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
6382 automatic enable lock elision for mutexes.
6383 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
6384 transaction execution definitions for powerpc.
6385 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
6386 definitions.
6387 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
6388 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
6389 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
6390 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
6391 * NEWS: Update.
6392
bc0ed9f7
RM
63932015-01-09 Roland McGrath <roland@hack.frob.com>
6394
6395 * sysdeps/posix/shm-directory.c: Use <> rather than ""
6396 for #include of <shm-directory.h>.
6397
585d9c18
CLT
63982015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
6399
6400 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
6401 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
6402
aee6626c
MF
64032015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
6404
6405 [BZ #17791]
6406 * NEWS: Mention bug fix.
6407 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
6408 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
6409 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
6410
9e560f48
TR
64112015-01-09 Torvald Riegel <triegel@redhat.com>
6412
6413 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
6414
e1cfbd0c
TR
64152015-01-09 Torvald Riegel <triegel@redhat.com>
6416
6417 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
6418
cf71e44f
DH
64192015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
6420
6421 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
6422 pointer and cast to uintptr_t.
6423
b360ee62
DH
64242015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
6425
6426 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
6427 removed.
6428 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
6429
caff764e
DH
64302015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
6431
6432 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
6433 of 0.
6434
59ff172f
RM
64352015-01-08 Roland McGrath <roland@hack.frob.com>
6436
c97d27f1
RM
6437 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
6438 <nptl/pthreadP.h> instead.
6439 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
6440
08734ccd
RM
6441 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
6442 already defined.
6443 [__SIGRTMIN] (init): Function removed.
6444 [__SIGRTMIN] (initialized): Variable removed.
6445 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
6446 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
6447 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
6448 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
6449 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
6450 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
6451 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
6452 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
6453 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
6454 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
6455 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
6456 * sysdeps/nptl/allocrtsig.c: New file.
6457 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
6458 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
6459 * sysdeps/generic/testrtsig.h: File removed.
6460
7b052e33
RM
6461 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
6462 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
6463
cc40d25e
RM
6464 * nptl/nptl-init.c (pthread_functions): Conditionalize
6465 .ptr__nptl_setxid initialization on [SIGSETXID].
6466
9287adf0
RM
6467 * sysdeps/nptl/sys/procfs.h: New file.
6468 * nptl_db/Makefile (headers): Add it.
6469 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
6470
59ff172f
RM
6471 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
6472 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
6473 * nptl/pthread_attr_setaffinity.c: Include it.
6474 * nptl/pthread_setattr_default_np.c: Likewise.
6475 * nptl/check-cpuset.h: New file.
6476
b9205857
RH
64772015-01-08 Richard Henderson <rth@redhat.com>
6478
6479 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
6480 (CFLAGS-tst-execstack-prog.c): Likewise.
6481 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
6482
1a0a8d15
CLT
64832015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
6484 Sandra Loosemore <sandra@codesourcery.com>
6485 Andrew Jenner <andrew@codesourcery.com>
6486 Joseph Myers <joseph@codesourcery.com>
6487 Nathan Sidwell <nathan@codesourcery.com>
6488
6489 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
6490 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
6491 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
6492 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
6493 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
6494 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
6495 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
00b8b9ba
SP
6496 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
6497 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
6498 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
6499 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
6500 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
6501 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1a0a8d15
CLT
6502 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
6503 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
6504 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
6505 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
6506
dd6e8af6
AZ
65072015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6508
6509 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
6510 timespec struct member in syscall macro.
6511 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
6512 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
6513 first timeval struct member in syscall macro.
6514 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
6515
8116321f
JM
65162015-01-07 Joseph Myers <joseph@codesourcery.com>
6517
6518 [BZ #17748]
6519 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
6520 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
6521 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
6522 __feupdateenv and define as weak alias of __feupdateenv. Use
6523 libm_hidden_weak.
6524 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
6525 libm_hidden_def.
6526 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
6527 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
6528 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6529 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
6530 libm_hidden_def.
6531 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
6532 __feupdateenv and define as weak alias of __feupdateenv. Use
6533 libm_hidden_weak.
6534 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
6535 libm_hidden_def.
6536 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
6537 __feupdateenv and define as weak alias of __feupdateenv. Use
6538 libm_hidden_weak.
6539 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
6540 libm_hidden_def.
6541 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6542 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6543 (__feupdateenv): Likewise.
6544 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
6545 __feupdateenv and define as weak alias of __feupdateenv. Use
6546 libm_hidden_weak.
6547 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6548 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
6549 libm_hidden_def.
6550 * sysdeps/tile/math_private.h (__feupdateenv): New inline
6551 function.
6552 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
6553 libm_hidden_def.
6554 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
6555 __feupdateenv instead of feupdateenv.
6556 (default_libc_feupdateenv_test): Likewise.
6557 (libc_feresetround_ctx): Likewise.
6558
882dfe18
AZ
65592015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6560
6561 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
6562 prototype.
6563
39a12f8d
CM
65642015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
6565
6566 * posix/regcomp.c (parse_bracket_exp): Initialize type to
6567 COLL_SYM in a couple of places to avoid uninitialized variable
6568 wanings on tilegx gcc 4.8.2.
6569
dc400d7b
RE
65702015-01-07 Richard Earnshaw <rearnsha@arm.com>
6571
6572 * sysdeps/aarch64/strcpy.S: New file.
6573 * sysdeps/aarch64/stpcpy.S: New file.
6574 * NEWS: Updated.
6575
ec582ca0
RE
65762015-01-07 Richard Earnshaw <rearnsha@arm.com>
6577
6578 * sysdeps/aarch64/strrchr.S: New file.
6579 * NEWS: Updated.
6580
d5b1c5ed
EB
65812015-01-07 Eric Biggers <ebiggers3@gmail.com>
6582
6583 [BZ #17658]
6584 * stdlib/setenv.c: Fix memory leak when setting large,
6585 duplicate string.
6586
fb87ee96
VN
65872015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
6588
60f046a8 6589 [BZ #17273]
fb87ee96
VN
6590 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
6591 and tabs from buffer before parsing fstab entry.
6592 * misc/tst-mntent.c (main): Add test for mount entry with
6593 trailing spaces and tabs.
6594
cd42798a
JM
65952015-01-06 Joseph Myers <joseph@codesourcery.com>
6596
01238691
JM
6597 [BZ #17748]
6598 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
6599 * math/fesetround.c (fesetround): Rename to __fesetround and
6600 define as weak alias of __fesetround. Use libm_hidden_weak.
6601 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
6602 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
6603 * sysdeps/arm/fesetround.c (fesetround): Likewise.
6604 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
6605 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
6606 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
6607 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
6608 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
6609 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
6610 __fesetround_inline.
6611 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
6612 __fesetround_inline instead of __fesetround.
6613 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
6614 __fesetround and define as weak alias of __fesetround. Use
6615 libm_hidden_weak. Call __fesetround_inline instead of
6616 __fesetround.
6617 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
6618 __fesetround and define as weak alias of __fesetround. Use
6619 libm_hidden_weak.
6620 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
6621 Likewise.
6622 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
6623 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6624 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
6625 * sysdeps/tile/math_private.h (__fesetround): New inline function.
6626 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
6627 __fesetround and define as weak alias of __fesetround. Use
6628 libm_hidden_weak.
6629 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
6630 __fesetround instead of fesetround.
6631 (default_libc_feholdexcept_setround): Likewise.
6632 (libc_feholdsetround_ctx): Likewise.
6633 (libc_feholdsetround_noex_ctx): Likewise.
6634
cd42798a
JM
6635 [BZ #17748]
6636 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
6637 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
6638 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6639 and define as weak alias of __fesetenv. Use libm_hidden_weak.
6640 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6641 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
6642 define as weak alias of __fesetenv. Use libm_hidden_weak.
6643 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6644 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6645 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6646 define as weak alias of __fesetenv. Use libm_hidden_weak.
6647 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6648 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6649 define as weak alias of __fesetenv. Use libm_hidden_weak.
6650 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
6651 libm_hidden_def.
6652 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
6653 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
6654 Likewise.
6655 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6656 define as weak alias of __fesetenv. Use libm_hidden_weak.
6657 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6658 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6659 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
6660 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6661 and define as weak alias of __fesetenv. Use libm_hidden_weak.
6662 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
6663 __fesetenv instead of fesetenv.
6664 (libc_feresetround_noex_ctx): Likewise.
6665 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6666 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6667 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6668 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6669 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6670 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6671 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6672 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6673 (__feupdateenv): Likewise.
6674 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6675 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6676 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6677 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
6678
38949026
AJ
66792015-01-06 Aurelien Jarno <aurelien@aurel32.net>
6680
1cf98e27 6681 [BZ #17806]
38949026
AJ
6682 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
6683 addresses have been freed.
6684
5fe55e9c
AJ
66852015-01-06 Aurelien Jarno <aurelien@aurel32.net>
6686
6687 * resolv/res_init.c (__res_vinit): Improve comments about nserv
6688 and nservall.
6689
dc8ab018
OB
66902015-01-06 Ondřej Bílka <neleai@seznam.cz>
6691
6692 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
6693 Clean up check_pf allocation pattern. addresses
6694
14bb4e57
AZ
66952015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6696
6697 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
6698 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
6699 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
6700 * nptl/pthread_exit.c (__pthread_exit): Likewise.
6701 * nptl/pthread_join.c (pthread_join): Likewise.
6702 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
6703 * sysdeps/posix/waitid.c (__waitid): Likewise.
6704 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
6705 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
6706 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
6707 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
6708 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
6709 Likewise.
6710 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
6711 (__libc_pread64): Likewise.
6712 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
6713 (__libc_pwrite): Likewise.
6714 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
6715 (__libc_pwrite64): Likewsie.
6716 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
6717 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
6718 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
6719 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
6720 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
6721 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
6722 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
6724 Likewise.
6725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6726 (__libc_pread64): Likewise.
6727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
6728 Likewise.
6729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6730 (__libc_pwrite64): Likewise.
6731 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
6732 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6733 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
6734 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
6735 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6736 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6737 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
6738 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
6739 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
6740 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
6741 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
6742 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6743 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
6744 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
6745 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6746 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
6747 Likewise.
6748
10a5e112
AS
67492015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
6750
6751 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
6752 (CFLAGS-test-double.c): Likewise.
6753 (CFLAGS-test-ldouble.c): Likewise.
6754 (CPPFLAGS-test-ifloat.c): Likewise.
6755 (CPPFLAGS-test-idouble.c): Likewise.
6756 (CPPFLAGS-test-ildoubl.c): Likewise.
6757 (CFLAGS-test-test-fenv.c): Remove variable.
6758 (CFLAGS-test-misc.c): Likewise.
6759
57ada0e7
L
67602015-01-06 H.J. Lu <hongjiu.lu@intel.com>
6761
6762 [BZ #17797]
6763 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
6764 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
6765 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
6766 CLOCKS_PER_SEC == 1000000.
6767 * time/clocktest.c (main): Replace %ld with %jd and cast to
6768 intmax_t.
6769
46abb64d
RM
67702015-01-05 Roland McGrath <roland@hack.frob.com>
6771
6772 * sysdeps/generic/unwind-resume.h: New file.
6773 * sysdeps/gnu/unwind-resume.c: Include it.
6774 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
6775 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
6776 argument list.
6777 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
6778 global rather than static.
6779 (_Unwind_Resume): Update user.
6780 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
6781 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
6782 rather than static. Add __attribute__ ((cold)).
6783 (_Unwind_Resume, __gcc_personality_v0): Update callers.
6784 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
6785 * sysdeps/arm/arm-unwind-resume.S: New file.
6786 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
6787 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
6788 * sysdeps/arm/Makefile [$(subdir) = csu]
6789 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
6790 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6791 Add rt-arm-unwind-resume.
6792 [$(subdir) = nptl]
6793 (libpthread-sysdep_routines, libpthread-shared-only-routines):
6794 Add pt-arm-unwind-resume.
6795 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
6796 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
6797
ef9faf13
JM
67982015-01-05 Joseph Myers <joseph@codesourcery.com>
6799
6800 [BZ #17748]
6801 * include/fenv.h (__feholdexcept): Declare. Use
6802 libm_hidden_proto.
6803 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
6804 define as weak alias of __feholdexcept. Use libm_hidden_weak.
6805 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6806 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
6807 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
6808 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
6809 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
6810 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6811 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
6812 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
6813 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6814 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
6815 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
6816 (feholdexcept): Likewise.
6817 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6818 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6819 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6820 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6821 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
6822 __feholdexcept instead of feholdexcept.
6823 (default_libc_feholdexcept_setround): Likewise.
6824
295a453e
SE
68252015-01-05 Steve Ellcey <sellcey@imgtec.com>
6826
6827 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
6828 to avoid using stl/str to align destination.
6829
882c4b9f
SE
68302015-01-05 Steve Ellcey <sellcey@imgtec.com>
6831
6832 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
6833
ac4c11f5
JM
68342015-01-05 Joseph Myers <joseph@codesourcery.com>
6835
6836 [BZ #17796]
6837 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
6838 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
6839 Define as weak alias not strong alias.
6840
03403e30
SE
68412015-01-05 Steve Ellcey <sellcey@imgtec.com>
6842
6843 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
6844 bltzal with addiupc.
6845 (RTLD_START): Ditto.
6846
1dca195e
CM
68472015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
6848
00b8b9ba
SP
6849 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
6850 for __vdso_* functions in declarations.
6851 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
6852 definitions.
6853 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
6854 INTERNAL_VSYSCALL): Use struct return types to check for error.
7ea793f3 6855
1dca195e
CM
6856 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
6857 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
6858 function with cast from llround().
6859 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
6860 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
6861 Define.
6862
a287953a
JM
68632015-01-05 Joseph Myers <joseph@codesourcery.com>
6864
ab70da77
JM
6865 [BZ #17793]
6866 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
6867 Define as weak alias not strong alias.
6868
b8986484
JM
6869 [BZ #17635]
6870 * ctype/ctype-c99.c: New file. isblank implementation moved from
6871 ...
6872 * ctype/ctype-extn.c: ... here.
6873 (__isblank_l): Move to ...
6874 * ctype/ctype-c99_l.c: ... here. New file.
6875 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
6876 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
6877 Remove variable.
6878 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6879 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6880 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
6881 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
6882 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6883
a287953a
JM
6884 [BZ #17777]
6885 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
6886 (posix_fadvise64): Define as weak alias not strong alias.
6887 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6888 (posix_fallocate64): Likewise.
6889 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
6890 Remove variable.
6891 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6892 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6893 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6894 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6895 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6896
b1efe3bb
MF
68972015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
6898
6899 [BZ #16191]
6900 * NEWS: Mention bug fix.
6901 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
6902 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
6903 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
6904 (HOST_STACK_END_ADDR): Likewise.
6905
9706dc5f
JM
69062015-01-02 Joseph Myers <joseph@codesourcery.com>
6907
b93c2205
JM
6908 [BZ #17748]
6909 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
6910 * math/fegetround.c (fegetround): Rename to __fegetround and
6911 define as weak alias of __fegetround. Use libm_hidden_weak.
6912 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
6913 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
6914 * sysdeps/arm/fegetround.c (fegetround): Likewise.
6915 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
6916 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
6917 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
6918 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
6919 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
6920 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
6921 Undefine after rather than before function definition; use
6922 parentheses around function name in definition.
6923 (__fegetround): Also undefine macro after function definition.
6924 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
6925 __fegetround and define as weak alias of __fegetround. Use
6926 libm_hidden_weak. Do not undefine as macro.
6927 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
6928 Likewise.
6929 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
6930 __fegetround and define as weak alias of __fegetround. Use
6931 libm_hidden_weak.
6932 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6933 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
6934 * sysdeps/tile/math_private.h (__fegetround): New inline function.
6935 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
6936 __fegetround and define as weak alias of __fegetround. Use
6937 libm_hidden_weak.
6938 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
6939 __fegetround instead of fegetround.
6940
253a59cc
JM
6941 [BZ #17782]
6942 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
6943 Condition macro definition on [__USE_MISC].
6944
27dae011
JM
6945 [BZ #17781]
6946 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
6947 (struct sigaction): Change type of sa_flags field to int.
6948
172019c0
JM
6949 [BZ #17780]
6950 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
6951 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
6952 __glibc_reserved0.
6953
522ad1d6
JM
6954 * nptl/version.c (banner): Use single year in copyright notice.
6955
9706dc5f
JM
6956 * NEWS: Update copyright dates.
6957 * catgets/gencat.c (print_version): Likewise.
6958 * csu/version.c (banner): Likewise.
6959 * debug/catchsegv.sh: Likewise.
6960 * debug/pcprofiledump.c (print_version): Likewise.
6961 * debug/xtrace.sh (do_version): Likewise.
6962 * elf/ldconfig.c (print_version): Likewise.
6963 * elf/ldd.bash.in: Likewise.
6964 * elf/pldd.c (print_version): Likewise.
6965 * elf/sotruss.sh: Likewise.
6966 * elf/sprof.c (print_version): Likewise.
6967 * iconv/iconv_prog.c (print_version): Likewise.
6968 * iconv/iconvconfig.c (print_version): Likewise.
6969 * locale/programs/locale.c (print_version): Likewise.
6970 * locale/programs/localedef.c (print_version): Likewise.
6971 * login/programs/pt_chown.c (print_version): Likewise.
6972 * malloc/memusage.sh (do_version): Likewise.
6973 * malloc/memusagestat.c (print_version): Likewise.
6974 * malloc/mtrace.pl: Likewise.
6975 * manual/libc.texinfo: Likewise.
6976 * nptl/version.c (banner): Likewise.
6977 * nscd/nscd.c (print_version): Likewise.
6978 * nss/getent.c (print_version): Likewise.
6979 * nss/makedb.c (print_version): Likewise.
6980 * posix/getconf.c (main): Likewise.
6981 * scripts/test-installation.pl: Likewise.
6982 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6983
b8607aac
WN
69842015-01-02 Will Newton <will.newton@linaro.org>
6985
6986 * sysdeps/arm/armv7/configure: Removed.
6987 * sysdeps/arm/armv7/configure.ac: Likewise.
6988
b168057a
JM
69892015-01-02 Joseph Myers <joseph@codesourcery.com>
6990
6991 * All files with FSF copyright notices: Update copyright dates
6992 using scripts/update-copyrights.
6993 * intl/plural.c: Regenerated.
6994 * locale/programs/charmap-kw.h: Likewise.
6995 * locale/programs/locfile-kw.h: Likewise.
6996
b217c15f
SP
69972015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6998
6999 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
7000
73a268c7
JM
70012014-12-31 Joseph Myers <joseph@codesourcery.com>
7002
7003 [BZ #17748]
7004 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
7005 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
7006 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7007 and define as weak alias of __fegetenv. Use libm_hidden_weak.
7008 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7009 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
7010 define as weak alias of __fegetenv. Use libm_hidden_weak.
7011 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
7012 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7013 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7014 define as weak alias of __fegetenv. Use libm_hidden_weak.
7015 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7016 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7017 define as weak alias of __fegetenv. Use libm_hidden_weak.
7018 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
7019 libm_hidden_def.
7020 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
7021 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
7022 Likewise.
7023 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7024 define as weak alias of __fegetenv. Use libm_hidden_weak.
7025 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7026 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7027 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
7028 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7029 and define as weak alias of __fegetenv. Use libm_hidden_weak.
7030 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
7031 __fegetenv instead of fegetenv.
7032 (libc_feholdsetround_noex_ctx): Likewise.
7033
0bd95672
MF
70342014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
7035
7036 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
7037 (Elf_MIPS_ABIFlags_v0): New structure.
7038 (EF_MIPS_FP64): Define.
7039 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
7040 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
7041 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
7042 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
7043 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
7044 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
7045 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
7046 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
7047 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
7048 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
7049 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
7050 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
7051 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
7052 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
7053 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
7054 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
7055 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
7056 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
7057 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
7058 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
7059 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
7060 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
7061 field.
7062 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
7063 EF_MIPS_FP64.
7064 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
7065 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
7066 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
7067 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
7068 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
7069 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
7070 * sysdeps/mips/tst-abi-interlink.c: Likewise.
7071 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
7072 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
7073 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
7074 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
7075 record the current FP ABI extension.
7076 (mips-mode-switch): Define to show if kernel headers support mode
7077 switching.
7078 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7079 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
7080 supported SYSV ABI version to 3.
7081 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
7082 feature.
7083
f59ad976
RS
70842014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7085 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7086
7087 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
7088 path.
7089 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
7090
4a3d3999
JM
70912014-12-31 Joseph Myers <joseph@codesourcery.com>
7092
7093 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
7094 __fegetround and redefine to call __fegetround. Remove condition
7095 on [!__NO_MATH_INLINES].
7096 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
7097 function.
7098 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
7099 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7100 Remove macro.
7101 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
7102 instead of <fenv_libc.h>.
7103 (__llrintl): Call fegetround instead of __fegetround.
7104 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
7105 instead of <fenv_libc.h>.
7106 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7107 (__lrintl): Call fegetround instead of __fegetround.
7108 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
7109 instead of <fenv_libc.h>.
7110 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7111 (__rintl): Call fegetround instead of __fegetround.
7112
195f3afc
SP
71132014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7114
7115 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
7116 arrays.
7117
7062bd42
L
71182014-12-30 H.J. Lu <hongjiu.lu@intel.com>
7119
7120 [BZ #17775]
7121 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
7122 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
7123 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
7124
07256e18
AS
71252014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
7126
7127 * sysdeps/i386/tls-macros.h: Include <features.h>.
7128 (TLS_LE): Use non-PIC version for GCC >= 5.0.
7129 (TLS_IE): Likewise.
7130 (TLS_LD): Likewise.
7131 (TLS_GD): Likewise.
7132 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
7133 define for GCC >= 5.0.
7134
1ff950ad
CM
71352014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
7136
7137 * math/test-fenv.c (test_single_exception, set_single_exc,
7138 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
7139 feexcp_mask_test, feenable_test, fe_single_test): Add
7140 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
7141 case where they are not used.
7142 * math/libm-test.inc: Likewise.
7143 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
7144 unused in the absence of FP rounding/exception support.
7145 * stdio-common/tst-printf-round.c: Likewise.
7146 * stdlib/tst-strtod-round.c: Likewise.
7147 * stdlib/tst-strtod-underflow.c: Likewise.
7148
0747f818
JM
71492014-12-30 Joseph Myers <joseph@codesourcery.com>
7150
7151 [BZ #17723]
7152 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
7153 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
7154 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7155 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7156 libm_hidden_weak.
7157 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
7158 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7159 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
7160 libm_hidden_def.
7161 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7162 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7163 libm_hidden_weak.
7164 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
7165 Likewise.
7166 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
7167 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7168 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7169 libm_hidden_weak.
7170 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7171 libm_hidden_def.
7172 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7173 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
7174 (__feraiseexcept): Likewise.
7175 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7176 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7177 libm_hidden_weak.
7178 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7179 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7180 libm_hidden_def.
7181 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
7182 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
7183 Use libm_hidden_def.
7184 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
7185 libm_hidden_def.
7186 (feraiseexcept): Define as weak not strong alias. Use
7187 libm_hidden_weak.
7188 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
7189 New inline function. Factored out of ...
7190 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
7191 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
7192 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
7193 feraiseexcept.
7194 * math/w_acos.c (__acos): Likewise.
7195 * math/w_asin.c (__asin): Likewise.
7196 * math/w_ilogb.c (__ilogb): Likewise.
7197 * math/w_j0.c (y0): Likewise.
7198 * math/w_j1.c (y1): Likewise.
7199 * math/w_jn.c (yn): Likewise.
7200 * math/w_log.c (__log): Likewise.
7201 * math/w_log10.c (__log10): Likewise.
7202 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
7203 * sysdeps/aarch64/fpu/math_private.h
7204 (libc_feupdateenv_test_aarch64): Likewise.
7205 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7206 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
7207 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
7208 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7209 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7210 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7211 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
7212 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7213 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7214 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7215
8d2b2763
L
72162014-12-30 H.J. Lu <hongjiu.lu@intel.com>
7217
7218 [BZ #17732]
7219 * io/test-utime.c (main): Replace %ld with %jd and cast to
7220 intmax_t.
41fad830 7221 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
7222 * nptl/tst-mutex5.c: Include <stdint.h>.
7223 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
7224 * posix/tst-regex.c (run_test): Likewise.
7225 (run_test_backwards): Likewise.
5d619de4
L
7226 * rt/tst-clock.c: Include <stdint.h>.
7227 (clock_test): Replace %ld with %jd and cast to intmax_t.
7228 * rt/tst-cpuclock1.c: Include <stdint.h>.
7229 (do_test): Replace %lu with %ju and cast to uintmax_t.
7230 * rt/tst-cpuclock2.c: Include <stdint.h>.
7231 (do_test): Replace %lu with %ju and cast to uintmax_t.
7232 * rt/tst-mqueue1.c: Include <stdint.h>.
7233 (check_attrs): Replace %ld with %jd and cast to intmax_t.
7234 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
7235 intmax_t.
7236 * rt/tst-mqueue4.c (do_test): Likewise.
7237 * rt/tst-timer4.c: Include <stdint.h>.
7238 (check_ts): Replace %ld with %jd and cast to intmax_t.
7239 (do_test): Likewise.
ad86fbc3
L
7240 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
7241 and cast to intmax_t.
37f46900 7242 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
7243 * time/clocktest.c (main): Likewise.
7244 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 7245 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 7246
8b4416d8
AS
72472014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
7248 H.J. Lu <hongjiu.lu@intel.com>
7249
7250 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
7251 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
7252 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
7253 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
7254 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
7255 version if bit_Fast_Unaligned_Load is set.
7256 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7257 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7258 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7259 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7260 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7261 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7262 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7263 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
7264 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
7265 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
7266 to 4.
7267 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
7268 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
7269 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
7270 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
7271
e47b8d3b
CM
72722014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
7273
6d6d7fde
CM
7274 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
7275 instead of #if to avoid a Wundef warning.
7276 * stdlib/tst-limits.c (do_test): Likewise.
7277
cd2c37c9
CM
7278 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
7279 parallel other exception macros.
7280 (fegetenv): Convert from macro to extern inline so that it applies
7281 retroactively to inline functions already seen by the compiler.
7282 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
7283
e47b8d3b
CM
7284 * posix/Makefile (before-compile): Use $(objpfx) for
7285 posix-conf-vars-def.h.
7286
4a6aca7b
SP
72872014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7288
7910c2ae
SP
7289 * posix/getconf.c (main): Use size_t for type of I.
7290 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
7291 NSPEC.
7292
50cbbaa9
SP
7293 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
7294 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
7295 * posix/posix-envs.def: Likewise.
7296 * sysdeps/posix/sysconf.c: Likewise.
7297 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
7298 (specs): Remove array.
7299 * scripts/gen-posix-conf-vars.awk: Support generation of specs
7300 array.
7301
3b566046
SP
7302 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
7303 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
7304 (__sysconf): Use CONF_IS_* macros.
7305
4a6aca7b
SP
7306 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
7307 ($(objpfx)posix-conf-vars-def.h): New target.
7308 * posix/posix-conf-vars.list: New file.
7309 * posix/posix-conf-vars.h: New file.
7310 * posix/confstr.c: Include posix-conf-vars.h.
7311 (confstr): Use CONF_IS_* macros.
7312 * posix/posix-envs.def: Include posix-conf-vars.h. Use
7313 CONF_IS_* macros.
7314 * scripts/gen-posix-conf-vars.awk: New file.
7315
7c1395a7
CM
73162014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
7317
0025b4cc
CM
7318 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
7319 fegetround): Add no-op macros to avoid linknamespace issues.
7320
d8aaf74b
CM
7321 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
7322 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
7323
5d24aa60
CM
7324 * sysdeps/unix/sysv/linux/tile/sysdep.h
7325 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
7326 assembly-specific section to avoid a redefinition warning.
7327
7c1395a7
CM
7328 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
7329 long before casting to pointer to avoid a cast warning.
7330
3c87c616
CM
73312014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
7332
7333 * sysdeps/tile/tilegx/Implies: New file.
7334
f559d8cf
RE
73352014-12-23 Richard Earnshaw <rearnsha@arm.com>
7336
7337 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
7338
7d81e8d6
FW
73392014-12-23 Florian Weimer <fweimer@redhat.com>
7340
7341 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
7342
90aa3d09
JM
73432014-12-22 Joseph Myers <joseph@codesourcery.com>
7344
7345 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
7346 not define.
7347 * sysdeps/unix/sysv/linux/utimes.c: Do not include
7348 <kernel-features.h>.
7349 (__utimes) [__NR_utimes]: Make code unconditional.
7350 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
7351 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7352 (__ASSUME_UTIMES): Do not undefine.
7353 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7354 (__ASSUME_UTIMES): Likewise.
7355 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7356 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
7357 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
7358 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
7359
4c0c0e2a
SE
73602014-12-22 Steve Ellcey <sellcey@imgtec.com>
7361
7362 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
7363
0dacd7a3
CM
73642014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
7365
b638f96a
CM
7366 [BZ #17747]
7367 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
7368 alias to weak alias for j0l, y0l.
7369 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
7370 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
7371
0dacd7a3
CM
7372 [BZ #17746]
7373 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
7374 conversion.
7375
528479c4
SE
73762014-12-22 Steve Ellcey <sellcey@imgtec.com>
7377
7378 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
7379 to zero if not already defined.
7380
f56f9124
JM
73812014-12-22 Joseph Myers <joseph@codesourcery.com>
7382
7383 [BZ #17724]
7384 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
7385 (__kernel_standard_f): Remove. Moved to k_standardf.c.
7386 (__kernel_standard_l): Remove. Moved to k_standardl.c with
7387 (char *) casts added.
7388 * sysdeps/ieee754/k_standardf.c: New file.
7389 * sysdeps/ieee754/k_standardl.c: Likewise.
7390 * math/Makefile (libm-support): Remove k_standard.
7391 (libm-calls): Add k_standard.
7392
8622d556
WD
73932014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7394
7395 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7396 Optimize to avoid an unnecessary FPCR read.
7397
f3806bdb
WD
73982014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7399
7400 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
7401 Optimize to reduce FPCR/FPSR accesses.
7402
9b47df58
WD
74032014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7404
7405 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
7406 Call libc_fetestexcept_aarch64.
7407
97be3cac
WD
74082014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
7409
7410 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
7411 Call libc_fesetround_aarch64.
7412
935ab817
JM
74132014-12-22 Joseph Myers <joseph@codesourcery.com>
7414
7415 [BZ #17733]
7416 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
7417 (__bind): Do not define as weak alias.
7418 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
7419 define.
7420 (__getsockname): Do not define as weak alias.
7421
cc8623f1
WN
74222014-12-22 Will Newton <will.newton@linaro.org>
7423
7424 * manual/install.texi: Document that we require bison 2.7
7425 or above.
7426 * INSTALL: Regenerate.
7427 * configure.ac: Use AC_CHECK_PROG_VER instead of
7428 AC_PATH_PROG when checking for bison and check for
7429 version 2.7 or above.
7430 * configure: Regenerate.
7431
a19ca65a
CM
74322014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
7433
92901170 7434 [BZ #17745]
e969965a
CM
7435 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
7436 * sysdeps/tile/ffsll.c (ffsll): To here.
7437
a19ca65a
CM
7438 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
7439
050f7298
L
74402014-12-21 H.J. Lu <hongjiu.lu@intel.com>
7441
7442 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
7443 if not defined.
7444 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
7445 definition.
7446 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7447 hidden ___tls_get_addr.
7448 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7449 hidden __tls_get_addr.
7450 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
7451 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
7452 Likewise.
7453
6df5547e
AS
74542014-12-21 Andreas Schwab <schwab@linux-m68k.org>
7455
7456 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
7457 _dl_init call.
7458
7432d613
L
74592014-12-21 H.J. Lu <hongjiu.lu@intel.com>
7460
7461 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
7462 from "call _dl_init@PLT".
7463 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 7464
98fe149e
AK
74652014-12-21 Anders Kaseorg <andersk@mit.edu>
7466
7467 * manual/search.texi: (Array Sort Function): Clarify stable sorting
7468 guarantees.
7469
d12455f5
CM
74702014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
7471
7472 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
7473
95dee05f
CM
74742014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
7475
92901170 7476 [BZ #17744]
95dee05f
CM
7477 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
7478 strnlen.
7479
2ef4b74a
SE
74802014-12-19 Steve Ellcey <sellcey@imgtec.com>
7481
7482 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
7483 of multu on MIPSr6.
7484 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
7485 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
7486 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
7487 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
7488 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
7489
74902014-12-19 Steve Ellcey <sellcey@imgtec.com>
7491
7492 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
7493 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
7494 (PTR_SUBU): Use subu for mips32r6/mips64r6.
7495 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 7496 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
7497 mips32r6/mips64r6.
7498 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
7499
3eb38795
OB
75002014-12-19 Ondřej Bílka <neleai@seznam.cz>
7501
7502 * string/strncat.c (STRNCAT): Simplify implementation.
7503
6d4188dd
DM
75042014-12-19 David S. Miller <davem@davemloft.net>
7505
0d4ba8be
DM
7506 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
7507 access the quad as both a long double and as a series of 4 words.
7508
6d4188dd
DM
7509 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
7510 link_map->l_info array access.
7511
4ef91cdc
CM
75122014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
7513
804c54f7
CM
7514 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
7515
4ef91cdc
CM
7516 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
7517 * math/atest-exp2.c (TIMEOUT): Likewise.
7518 * math/atest-sincos.c (TIMEOUT): Likewise.
7519
afd176d6
L
75202014-12-19 H.J. Lu <hongjiu.lu@intel.com>
7521
7522 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
7523 -Wno-error with -fno-builtin-lround.
7524
a4a43a90
TR
75252014-12-19 Torvald Riegel <triegel@redhat.com>
7526
7527 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
7528 Contains futex constants and functions moved over from ...
7529 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
7530 <lowlevellock-futex.h>.
7531 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7532 (lll_timedwait_tid): Add comments and parentheses around macro
7533 arguments.
7534
76f71081
TR
75352014-12-19 Torvald Riegel <triegel@redhat.com>
7536
7537 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
7538 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
7539 (__lll_private_flag): Remove.
7540 (lll_futex_wait): Likewise.
7541 (lll_futex_timed_wait): Likewise.
7542 (lll_futex_wake): Likewise.
7543 (lll_futex_requeue): Likewise.
7544 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7545 (__lll_timedwait_tid): Spell out argument names.
7546 (lll_timedwait_tid): Add comments and parentheses around macro
7547 arguments.
7548 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
7549 LLL_SHARED and LLL_PRIVATE usable from assembly code.
7550
6b814909
TR
75512014-12-19 Torvald Riegel <triegel@redhat.com>
7552
7553 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
7554 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
7555 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7556 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
7557 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
7558 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
7559 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
7560 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
7561 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
7562 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
7563 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
7564 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
7565 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
7566 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
7567 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
7568 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
7569 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
7570 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
7571 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
7572
9cd4d4ab
L
75732014-12-19 H.J. Lu <hongjiu.lu@intel.com>
7574
7575 * sysdeps/x86_64/x32/Makefile: New file.
7576
c9c1a2d0
L
75772014-12-19 H.J. Lu <hongjiu.lu@intel.com>
7578
7579 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
7580 1L with (mp_limb_t) 1.
7581
af102d95
RM
75822014-12-17 Roland McGrath <roland@hack.frob.com>
7583
dd690454
RM
7584 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
7585 * nptl/libc_pthread_init.c: ... here.
7586 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
7587 * nptl/register-atfork.c: ... here.
7588
74eb826c
RM
7589 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
7590 Use pthread_sigmask rather than INTERNAL_SYSCALL.
7591 Use assert_perror to check its return value.
7592 (__gai_create_helper_thread): Likewise.
7593
c9ce306b
RM
7594 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
7595
af102d95
RM
7596 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
7597
8ac5a76a
JM
75982014-12-17 Joseph Myers <joseph@codesourcery.com>
7599
ea41469b
JM
7600 [BZ #17725]
7601 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
7602 __profil_counter.
7603 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
7604 Likewise.
7605 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
7606 Likewise.
7607 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
7608 Likewise.
7609 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
7610 (profil_counter): Likewise.
7611 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
7612 (profil_counter): Likewise.
7613 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
7614 Likewise.
7615 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
7616 Likewise.
7617 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
7618 (profil_counter): Likewise.
7619 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
7620 Likewise.
7621 [!__profil_counter] (profil_counter): Define as weak alias of
7622 __profil_counter.
7623 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
7624 (profil_counter): Rename to __profil_counter.
7625 [!__profil_counter] (profil_counter): Define as weak alias of
7626 __profil_counter.
7627 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
7628 (profil_counter): Rename to __profil_counter.
7629 [!__profil_counter] (profil_counter): Define as weak alias of
7630 __profil_counter.
7631 * sysdeps/posix/profil.c: Update comment referring to
7632 profil_counter.
7633 (__profil): Use __profil_counter instead of profil_counter.
7634 * sysdeps/posix/sprofil.c (profil_counter): Rename to
7635 __profil_counter. Use __profil_counter_ushort and
7636 __profil_counter_uint in definitions.
7637 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
7638 instead of profil_counter_uint and profil_counter_ushort.
7639
8ac5a76a
JM
7640 [BZ #17722]
7641 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
7642 define as weak alias of __inet_makeaddr.
7643 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
7644 as weak alias of __inet_addr.
7645 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
7646 as weak alias of __inet_pton. Use libc_hidden_weak.
7647 * include/arpa/inet.h (__inet_pton): Declare. Use
7648 libc_hidden_proto.
7649 (inet_makeaddr): Don't use libc_hidden_proto.
7650 (__inet_makeaddr): Declare. Use libc_hidden_proto.
7651 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
7652 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
7653 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
7654 Remove variable.
7655 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
7656 (test-xfail-POSIX/time.h/linknamespace): Likewise.
7657
66ce3cb1
SE
76582014-12-17 Steve Ellcey <sellcey@imgtec.com>
7659
7660 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
7661
d22ce01b
SL
76622014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
7663
7664 * stdio-common/bug-vfprintf-nargs.c (do_test):
7665 Cast value to intptr_t to avoid format warning
7666 for usage with PRIdPTR printing macro.
7667
eca2772b
SL
76682014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
7669
7670 * libio/tst-widetext.c (do_test):
7671 Use format type %td instead of %Zd for ptrdiff_t
7672 in order to avoid format warning.
7673
bdf079da
AS
76742014-12-17 Andreas Schwab <schwab@suse.de>
7675
7676 * nscd/mem.c (gc): Add size_t cast to match printf format.
7677
3eb5d2fc
RM
76782014-12-16 Roland McGrath <roland@hack.frob.com>
7679
7680 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
7681 (init): Apply PTR_MANGLE to pointers before storing them.
7682 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
7683 before using them.
7684
d003ada2
JM
76852014-12-16 Joseph Myers <joseph@codesourcery.com>
7686
380292ba
JM
7687 [BZ #17719]
7688 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
7689 define as weak alias of __memrchr.
7690 (__memrchr): Do not define as strong alias of memrchr.
7691 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
7692 Remove variable.
7693 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
7694 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
7695 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
7696
9a44d530
JM
7697 [BZ #17717]
7698 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
7699 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
7700 (if_indextoname): Rename to __if_indextoname and define as weak
7701 alias of __if_indextoname. Use libc_hidden_weak.
7702 (if_freenameindex): Rename to __if_freenameindex and define as
7703 weak alias of __if_freenameindex.
7704 (if_nameindex): Rename to __if_nameindex and define as weak alias
7705 of __if_nameindex.
7706 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
7707 __if_nametoindex and define as weak alias of __if_nametoindex.
7708 Use libc_hidden_weak.
7709 (if_freenameindex): Rename to __if_freenameindex and define as
7710 weak alias of __if_freenameindex.
7711 (if_nameindex): Rename to __if_nameindex and define as weak alias
7712 of __if_nameindex.
7713 (if_indextoname): Rename to __if_indextoname and define as weak
7714 alias of __if_indextoname. Use libc_hidden_weak.
7715 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
7716 __if_nametoindex and define as weak alias of __if_nametoindex.
7717 Use libc_hidden_weak.
7718 (if_freenameindex): Rename to __if_freenameindex and define as
7719 weak alias of __if_freenameindex. Use libc_hidden_weak.
7720 (if_nameindex_netlink): Use __if_freenameindex instead of
7721 if_freenameindex.
7722 (if_nameindex): Rename to __if_nameindex and define as weak alias
7723 of __if_nameindex. Use libc_hidden_weak.
7724 (if_indextoname): Rename to __if_indextoname and define as weak
7725 alias of __if_indextoname. Use libc_hidden_weak.
7726 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
7727 libc_hidden_proto.
7728 [!_ISOMAC] (__if_freenameindex): Likewise.
7729 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
7730 if_nametoindex.
7731 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
7732 variable.
7733 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
7734 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
7735 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
7736 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
7737 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
7738 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
7739 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
7740
d003ada2
JM
7741 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
7742 Remove variable.
7743 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
7744 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
7745
a0d424ef
SP
77462014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7747
0cd85520
SP
7748 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
7749 subscript above bounds'
7750
a0d424ef
SP
7751 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
7752 bounds.
7753
0e426475
AS
77542014-12-16 Arjun Shankar <arjun.is@lostca.se>
7755
8b460906
AS
7756 * libio/tst-fopenloc.c: Use test-skeleton.c.
7757
fa13e15b
AS
7758 * stdlib/tst-bsearch.c: Use test-skeleton.c.
7759 (entry): Rename to ITEM.
7760 (do_test, comp): Adjust.
7761
0e426475
AS
7762 * stdio-common/tst-fseek.c: Use test-skeleton.c.
7763
4f646bce
TR
77642014-12-16 Torvald Riegel <triegel@redhat.com>
7765
7766 * string/tester.c: Include <libc-internal.h>.
7767 (test_memset): Ignore -Wmemset-transposed-args.
7768
a07c4427
TR
77692014-12-16 Torvald Riegel <triegel@redhat.com>
7770
7771 * misc/tst-mntent2.c (do_test): Fix warning.
7772
1469f466
TR
77732014-12-16 Torvald Riegel <triegel@redhat.com>
7774
7775 * elf/tst-unique4lib.cc(a): Mark as used.
7776
11e3417a
FW
77772014-12-16 Florian Weimer <fweimer@redhat.com>
7778
7779 [BZ #17630]
7780 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
7781 names.
7782
ae61fc7b
AM
77832014-12-16 Allan McRae <allan@archlinux.org>
7784
7785 * stdio-common/Makefile (tests): Re-add bug26.
7786
363a9899
OB
77872014-12-15 Ondřej Bílka <neleai@seznam.cz>
7788
7789 [BZ #17657]
7790 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
7791 static array.
7792
d52c62df
TR
77932014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
7794
7795 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
7796 (__lll_lock_wait): Likewise.
7797 (__lll_timedlock_wait): Likewise.
7798 (__lll_timedwait_tid): Likewise.
7799 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
7800 (__lll_robust_timedlock_wait): Likewise.
7801 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
7802 (lll_cond_trylock): Likewise.
7803 (__lll_lock): Likewise.
7804 (__lll_robust_lock): Likewise.
7805 (__lll_cond_lock): Likewise.
7806 (lll_robust_cond_lock): Likewise.
7807 (__lll_timedlock): Likewise.
7808 (__lll_robust_timedlock): Likewise.
7809 (__lll_unlock): Likewise.
7810 (__lll_robust_unlock): Likewise.
7811 (lll_wait_tid): Likewise.
7812 (lll_timedwait_tid): Likewise.
7813
045a6bcd
TR
78142014-12-15 Torvald Riegel <triegel@redhat.com>
7815
7816 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
7817
7f786dc1
TR
78182014-12-15 Torvald Riegel <triegel@redhat.com>
7819
7820 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
7821
e7e21cba
AZ
78222014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
7823
7824 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
7825 * stdio-common/tst-sprintf.c: Likewise.
7826
bc89c0fc
TR
78272014-12-15 Torvald Riegel <triegel@redhat.com>
7828
7829 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
7830
a5357b7c
JL
78312014-12-15 Jeff Law <law@redhat.com>
7832
7833 [BZ #16617]
7834 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
7835 on the heap. (CVE-2012-3406)
7836 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
7837 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
7838 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
7839
3a12c70f
WN
78402014-12-15 Will Newton <will.newton@linaro.org>
7841
7842 * manual/install.texi: Bump required version of texinfo
7843 to 4.7 from 4.5.
7844 * INSTALL: Regenerated.
7845 * configure.ac: Check for makeinfo version 4.7 and above.
7846 * configure: Regenerated.
7847
e4f639e4
RM
78482014-12-12 Roland McGrath <roland@hack.frob.com>
7849
7850 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
7851 PREFIX, string constant to insert between directory and name.
7852 * sysdeps/posix/shm_open.c: Update caller.
7853 * sysdeps/posix/shm_unlink.c: Likewise.
7854 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
7855 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
7856 (SEM_SHM_PREFIX): New macro.
7857 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
7858 [$(have-thread-library) = no].
7859 * nptl/Makefile (libpthread-routines): Add shm-directory.
7860 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
7861 * sysdeps/nptl/shm-directory.h: New file.
7862 * sysdeps/posix/shm-directory.c
7863 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
7864 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
7865 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
7866 INTERNAL_SYSCALL.
7867 (__where_is_shmfs): Function removed.
7868 (mountpoint, defaultmount, defaultdir, __namedsem_once):
7869 Variables removed.
7870 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
7871 Use SHM_GET_NAME.
7872 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
7873
7874 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
7875 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
7876 unconditional for use inside libpthread.
7877 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
7878
439c43f6
RM
78792014-12-12 Roland McGrath <roland@hack.frob.com>
7880
c76d1ff5
RM
7881 * nptl/pthread_getaffinity.c: New file.
7882 * nptl/pthread_setaffinity.c: New file.
7883 * nptl/pthread_getname.c: New file.
7884 * nptl/pthread_setname.c: New file.
7885
439c43f6
RM
7886 * nptl/pthread_create.c (START_THREAD_DEFN)
7887 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
7888
48e435cd
SL
78892014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7890 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7891
7892 * resolv/res_send.c (send_vc): Disable warning resplen may
7893 be used uninitialized.
7894
9d9c0019
SL
78952014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7896
7897 * nptl/tst-mutex6.c
7898 (ATTR_NULL): New define checks ATTR against NULL.
7899 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
7900 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
7901
9173840b
JL
79022014-12-11 James Lemke <jwlemke@codesourcery.com>
7903
7904 [BZ #17581]
7905 * malloc/hooks.c
7906 (mem2mem_check): Revert my previous change.
7907 (malloc_check_get_size): Revert my previous change.
7908 (mem2chunk_check): Revert my previous change.
7909
78e21c5d
RM
79102014-12-11 Roland McGrath <roland@hack.frob.com>
7911
7912 * sysdeps/posix/shm-directory.c: New file.
7913 * sysdeps/posix/shm-directory.h: New file.
7914 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
7915 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
7916 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
7917 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
7918 Transmute EPERM to EACCES.
7919 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
7920 from ...
7921 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
7922 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
7923
f82c43af
KK
79242014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7925
7926 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
7927 pointer and cast to uintptr_t.
7928 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
7929 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
7930 Add cast to avoid warning.
7931 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
7932
fc00cf7b
JM
79332014-12-11 Joseph Myers <joseph@codesourcery.com>
7934
7935 * nptl/semaphore.h: Move to ...
7936 * sysdeps/pthread/semaphore.h: ... here.
7937 * Makefile (installed-headers): Change nptl/semaphore.h to
7938 sysdeps/pthread/semaphore.h.
7939
1c4053db
RM
79402014-12-11 Roland McGrath <roland@hack.frob.com>
7941
73b0c1a1
RM
7942 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
7943 generated error format strings.
7944
1c4053db
RM
7945 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
7946 -Wformat-extra-args warnings for scanf formats.
7947 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
7948 test of zero-length format (duh).
7949 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
7950 corner-case scanf format test.
7951 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
7952 generated fprintf format string.
7953 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
7954 corner-case sprintf format tests.
7955 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
7956 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
7957 -Wformat-extra-args warnings throughout.
7958 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
7959 (CFLAGS-scanf4.c): Likewise.
7960 (CFLAGS-scanf7.c): Likewise.
7961 (CFLAGS-tst-sprintf.c): Likewise.
7962 (CFLAGS-tst-printf.c): Likewise.
7963 (CFLAGS-tst-printfsz.c): Likewise.
7964
47d51f4f
JM
79652014-12-11 Joseph Myers <joseph@codesourcery.com>
7966
a1edbf3c
JM
7967 * include/cpio.h: New file.
7968 * include/fmtmsg.h: Likewise.
7969
47d51f4f
JM
7970 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
7971 corresponding format argument to size_t.
7972 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
7973 arguments.
7974 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
7975 corresponding format argument to size_t.
7976 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
7977 arguments.
7978 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
7979 corresponding format argument to size_t.
7980 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
7981 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
7982 (CFLAGS-tst-mbswcs2.c): Likewise.
7983 (CFLAGS-tst-mbswcs3.c): Likewise.
7984 (CFLAGS-tst-mbswcs4.c): Likewise.
7985 (CFLAGS-tst-mbswcs5.c): Likewise.
7986 (CFLAGS-tst-trans.c): Likewise
7987
e9813cfb
RM
79882014-12-11 Roland McGrath <roland@hack.frob.com>
7989
7990 * posix/regexbug1.c (main): Use "%s" format with regerror results,
7991 rather than assuming they won't contain any '%'s.
7992
f627ca82
CM
79932014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
7994
7995 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
7996 inhibit_loop_to_libcall to avoid recursive calls.
7997 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
7998 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
7999
7f296942
AZ
80002014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
8001
8002 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
8003 prototype.
8004
d0276e18
SE
80052014-12-11 Steve Ellcey <sellcey@imgtec.com>
8006
8007 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
8008 integer value instead of boolean.
8009
fc56e970
SE
80102014-12-11 Steve Ellcey <sellcey@imgtec.com>
8011
8012 * malloc/malloc.c: Fix powerof2 check.
8013
40e53917
SL
80142014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8015
8016 * locale/programs/locfile.h (maybe_swap_uint32):
8017 Remove inline and add unused attribute.
8018
1ea166df
SL
80192014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8020
9d9c0019 8021 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
8022 Truncating assembler expression to a .long expression.
8023
acf869f4
AS
80242014-12-11 Andreas Schwab <schwab@suse.de>
8025
8026 * elf/rtld.c (struct map_args): Constify str member.
8027 (do_preload): Constify fname argument.
8028
9d969099
AZ
80292014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8030
8031 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
8032 constants definition.
8033
da5bcaa4
AS
80342014-12-11 Andreas Schwab <schwab@suse.de>
8035
b0a3c164
AS
8036 [BZ #16657]
8037 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
8038 FORCE_ELISION instead of DO_ELISION.
8039 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
8040 Remove.
8041 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
8042 Likewise.
8043
da5bcaa4
AS
8044 * iconvdata/gconv-modules: Remove duplicate entry.
8045
6d248857
WN
80462014-12-11 Will Newton <will.newton@linaro.org>
8047
8048 Merge gettext 0.19.3 into intl/.
8049
8050 This involves a number of cosmetic changes to comments
8051 and ANSI function definitions and prototypes throughout
8052 all the files. The gettext copyright header is used but
8053 with the date ranges taken from the glibc copy.
8054
8055 * NEWS: Add gettext merge to 2.21.
8056 * intl/bindtextdom.c: Switch to gettext copyright.
8057 Use ANSI definitions and prototypes.
8058 Use gl_* locking primitives rather than __libc_* ones.
8059 Use __builtin_expect rather than __glibc_likely/unlikely.
8060 * intl/dcgettext.c: Switch to gettext copyright.
8061 Use ANSI definitions and prototypes.
8062 * intl/dcigettext.c: Switch to gettext copyright.
8063 Use ANSI definitions and prototypes.
8064 (INTDIV0_RAISES_SIGFPE): New define.
8065 Use gl_* locking primitives rather than __libc_* ones.
8066 Include eval-plural.h instead of plural-eval.c.
8067 Use __builtin_expect rather than __glibc_likely/unlikely.
8068 * intl/dcngettext.c: Switch to gettext copyright.
8069 Use ANSI definitions and prototypes.
8070 * intl/dgettext.c: Likewise.
8071 * intl/dngettext.c: Likewise.
8072 * intl/plural-eval.c: Renamed to...
8073 * intl/eval-plural.h: ...this.
8074 * intl/explodename.c: Switch to gettext copyright.
8075 Use ANSI definitions and prototypes.
8076 (_nl_explode_name): Use strchr instead of __rawmemchr.
8077 * intl/finddomain.c: Switch to gettext copyright.
8078 Use ANSI definitions and prototypes.
8079 Use gl_* locking primitives rather than __libc_* ones.
8080 (_nl_find_domain): Use malloc rather than alloca for
8081 allocation of temporary locale name.
8082 * intl/gettext.c: Switch to gettext copyright.
8083 Use ANSI definitions and prototypes.
8084 * intl/gettextP.h: Switch to gettext copyright.
8085 Use ANSI definitions and prototypes.
8086 Use gl_* locking primitives rather than __libc_* ones.
8087 * intl/gmo.h: Switch to gettext copyright.
8088 (struct sysdep_string): Move struct segment_pair outside of
8089 struct definition.
8090 * intl/hash-string.c: Use ANSI definitions and prototypes.
8091 * intl/hash-string.h: Switch to gettext copyright.
8092 Use ANSI definitions and prototypes.
8093 * intl/l10nflist.c: Switch to gettext copyright.
8094 Use ANSI definitions and prototypes.
8095 (_nl_normalize_codeset): Avoid integer overflow.
8096 * intl/loadinfo.h: Switch to gettext copyright.
8097 Use ANSI definitions and prototypes.
8098 (LIBINTL_DLL_EXPORTED): New define.
8099 (PATH_SEPARATOR): New define.
8100 * intl/loadmsgcat.c: Switch to gettext copyright.
8101 * intl/localealias.c: Switch to gettext copyright.
8102 Use ANSI definitions and prototypes.
8103 (_nl_expand_alias): Use PATH_SEPARATOR.
8104 * intl/ngettext.c: Switch to gettext copyright.
8105 Use ANSI definitions and prototypes.
8106 * intl/plural-exp.c: Likewise.
8107 * intl/plural-exp.h: Switch to gettext copyright.
8108 Use ANSI definitions and prototypes.
8109 (struct expression): Move definition of enum operator outside
8110 of struct definition.
8111 * intl/plural.c: Regenerate.
8112 * intl/plural.y: Switch to gettext copyright.
8113 Use ANSI definitions and prototypes.
8114 Port to bison 3.0.
8115 * intl/textdomain.c: Switch to gettext copyright.
8116 Use ANSI definitions and prototypes.
8117 Use gl_* locking primitives rather than __libc_* ones.
8118
48c43298
SE
81192014-12-10 Steve Ellcey <sellcey@imgtec.com>
8120
8121 * debug/warning-nop.c: Add used atrribute.
8122
2b89bce9
JM
81232014-12-10 Joseph Myers <joseph@codesourcery.com>
8124
c153ac9f
JM
8125 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
8126
2b89bce9
JM
8127 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
8128 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
8129 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
8130
2cfbdb9a
JM
81312014-12-10 Joseph Myers <joseph@codesourcery.com>
8132 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8133
8134 [BZ #17634]
8135 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
8136 Undefine after defining function. Define as weak alias of
8137 __wcschr. Use libc_hidden_weak.
8138 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
8139 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
8140 (libc_hidden_def): Also define __GI___wcschr alias.
8141 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
8142 __wcschr and define as weak alias of __wcschr.
8143 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
8144 __wcschr.
8145 [!WCSCHR] (DEFAULT_WCSCHR): Define.
8146 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
8147 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
8148 libc_hidden_weak. Do not use libc_hidden_def.
8149 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
8150 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
8151 __GI___wcschr alias.
8152 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
8153 [IS_IN (libc)] (wcschr): Define as macro expanding to
8154 __redirect_wcschr.
8155 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
8156 [IS_IN (libc)] (__wcschr_power6): Likewise.
8157 [IS_IN (libc)] (__wcschr_power7): Likewise.
8158 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
8159 instead of wcschr.
8160 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
8161 __libc_wcschr.
8162 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
8163 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
8164 __wcschr and define as weak alias of __wcschr. Use
8165 libc_hidden_builtin_def.
8166 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
8167 as weak alias of __wcschr. Use libc_hidden_weak.
8168 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
8169 wcschr.
8170 * time/era.c (_nl_init_era_entries): Likewise.
8171 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
8172 variable.
8173 (test-xfail-XPG3/time.h/linknamespace): Likewise.
8174 (test-xfail-XPG4/time.h/linknamespace): Likewise.
8175
1b8bf351
JM
81762014-12-10 Joseph Myers <joseph@codesourcery.com>
8177
8178 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
8179 format for long int variable.
8180
f5f46d51
AK
81812014-12-10 Anders Kaseorg <andersk@MIT.EDU>
8182
8183 [BZ #10672]
07008f7d 8184 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
8185 qsort stable.
8186
217a74a8
AS
81872014-12-10 Andreas Schwab <schwab@suse.de>
8188
8189 [BZ #12847]
8190 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
8191 user-controlled locks.
8192
aa76a5c7
RE
81932014-12-10 Richard Earnshaw <rearnsha@arm.com>
8194
8195 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
8196 register.
8197
2084e7ca
JM
81982014-12-10 Joseph Myers <joseph@codesourcery.com>
8199
a4ecc9eb
JM
8200 * configure.ac (--disable-werror): New configure option.
8201 (enable_werror): New AC_SUBST.
8202 * configure: Regenerated.
8203 * config.make.in (enable-werror): New variable.
8204 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
8205 -Wno-error=undef.
8206 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
8207 * manual/install.texi (Configuring and compiling): Document
8208 --disable-werror.
8209 * INSTALL: Regenerated.
8210 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
8211 (CFLAGS-tst-chk2.c): Likewise.
8212 (CFLAGS-tst-chk3.c): Likewise.
8213 (CFLAGS-tst-chk4.cc): Likewise.
8214 (CFLAGS-tst-chk5.cc): Likewise.
8215 (CFLAGS-tst-chk6.cc): Likewise.
8216 (CFLAGS-tst-lfschk1.c): Likewise.
8217 (CFLAGS-tst-lfschk2.c): Likewise.
8218 (CFLAGS-tst-lfschk3.c): Likewise.
8219 (CFLAGS-tst-lfschk4.cc): Likewise.
8220 (CFLAGS-tst-lfschk5.cc): Likewise.
8221 (CFLAGS-tst-lfschk6.cc): Likewise.
8222
0f88636c
JM
8223 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
8224 (main): Disable -Wdeprecated-declarations around calls to
8225 register_printf_function.
8226
c81e9deb
JM
8227 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
8228 (do_test): Disable -Wdiv-by-zero around some calls to
8229 fwrite_unlocked and fread_unlocked.
8230
2084e7ca
JM
8231 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
8232 (DIAG_POP_NEEDS_COMMENT): Likewise.
8233 (_DIAG_STR1): Likewise.
8234 (_DIAG_STR): Likewise.
8235 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
8236 * stdio-common/bug21.c: Include <libc-internal.h>.
8237 (do_test): Disable -Wformat around call to sscanf.
8238 * stdio-common/scanf14.c: Include <libc-internal.h>.
8239 (main): Disable -Wformat around some calls to scanf functions.
8240
df7ecc6b
TR
82412014-12-09 Torvald Riegel <triegel@redhat.com>
8242
8243 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
8244
2aa3862e
AZ
82452014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8246
8247 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
8248 stack variable alignment.
8249
c5c2b7c3
JM
82502014-12-06 Joseph Myers <joseph@codesourcery.com>
8251
8252 [BZ #17682]
8253 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
8254 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
8255 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
8256 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
8257 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
8258 __getrlimit instead of getrlimit.
8259 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
8260 __gettimeofday instead of gettimeofday.
8261 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8262 Likewise.
8263 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8264 Likewise.
8265 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8266 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
8267 Remove variable.
8268 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8269 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8270
9752c3cd
AZ
82712014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8272
8273 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
8274 for wide-character tests.
8275
4bee4cd9
RM
82762014-12-04 Roland McGrath <roland@hack.frob.com>
8277
8278 * io/openat64.c: #include <libc-internal.h>
8279 (__openat64): Prototypify. Use ignore_value on MODE.
8280 * io/openat.c: Likewise.
8281 * misc/reboot.c: #include <libc-internal.h>
8282 (reboot): Prototypify. Use ignore_value on HOWTO.
8283 * misc/ptrace.c: #include <libc-internal.h>
8284 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
8285
84dbedb6
JM
82862014-12-04 Joseph Myers <joseph@codesourcery.com>
8287
8288 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
8289 XPG4, UNIX98 and XOPEN2K.
8290 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
8291 Remove variable.
8292 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8293
b7a3e1c4 82942014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 8295
af50dfc1 8296 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
8297 * libio/iofopen.c: Likewise.
8298 * libio/wfileops.c: Likewise.
8299
fe8b4d98
SP
8300 [BZ #17653]
8301 * libio/fileops.c (_IO_new_file_underflow): Unset cached
8302 offset on EOF.
8303 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
8304 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
8305 (fgets_func): Function pointer to fgets and fgetws.
8306 (do_ftell_test): Add test to verify ftell value after read
8307 EOF.
8308 (do_test): Set fgets_func.
8309
61b4f792
SP
8310 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
8311 O_TRUNC flag for w and w+ modes.
8312 (do_rewind_test): Likewise.
8313 (do_ftell_test): Likewise.
8314 (do_write_test): Likewise.
8315
be349d70
SP
8316 [BZ #17647]
8317 * libio/fileops.c (do_ftell): Seek only when there are
8318 unflushed writes.
8319 * libio/wfileops.c (do_ftell_wide): Likewise.
8320 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
8321 test case.
8322 (do_one_test): Call it.
8323
e3d6dba5
JM
83242014-12-03 Joseph Myers <joseph@codesourcery.com>
8325
8326 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
8327 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
8328 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
8329 Remove variable.
8330 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8331 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8332 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8333
7f994279
JM
83342014-12-02 Joseph Myers <joseph@codesourcery.com>
8335
28a91e8f
JM
8336 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
8337 Remove variable.
8338 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8339
7f994279
JM
8340 [BZ #17668]
8341 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
8342 as weak alias of __getifaddrs. Use libc_hidden_weak.
8343 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8344 __freeifaddrs. Use libc_hidden_weak.
8345 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
8346 define as weak alias of __getifaddrs. Use libc_hidden_weak.
8347 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8348 __freeifaddrs. Use libc_hidden_weak.
8349 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
8350 __getifaddrs and define as weak alias of __getifaddrs. Use
8351 libc_hidden_weak.
8352 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8353 __freeifaddrs. Use libc_hidden_weak.
8354 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
8355 Remove variable.
8356 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8357 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8358
bbe4c142
PJ
83592014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
8360
8361 [BZ #17601]
8362 * sysdeps/mips/start.S (__start): Use indirect jump to call
8363 __libc_start_main.
8364
66cadc05
JM
83652014-12-02 Joseph Myers <joseph@codesourcery.com>
8366
909e16d9
JM
8367 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
8368
4e0b9016
JM
8369 * nptl/tst-mutex1.c: Include <stdbool.h>.
8370 [!ATTR] (ATTR_NULL): New macro.
8371 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
8372 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
8373 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
8374
b1aff6a4
JM
8375 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
8376 to char *.
8377
266865c0
JM
8378 [BZ #17665]
8379 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
8380 Change conditional to [__USE_MISC].
8381
84e5e756
JM
8382 [BZ #17664]
8383 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
8384 fgets_unlocked.
8385 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
8386 __fgets_unlocked.
8387 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
8388 fgets_unlocked.
8389 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
8390 Remove variable.
8391 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8392 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8393 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8394 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8395 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8396 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8397 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8398 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8399 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8400
66cadc05
JM
8401 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
8402
2e8a2de2 84032014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
8404
8405 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8406 Remove strpbrk objects.
8407 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8408 (__libc_ifunc_impl_list): Remove strpbrk implementation.
8409 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
8410 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
8411 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
8412 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
8413
bb2542e0
AZ
8414 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8415 Remove strcspn objects.
8416 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8417 (__libc_ifunc_impl_list): Remove strcspn implementation.
8418 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
8419 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
8420 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
8421 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
8422
8423 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8424 Remove strspn objetcs.
8425 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8426 (__libc_ifunc_impl_list): Remove strspn implementation.
8427 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
8428 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8429 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
8430 * sysdeps/powerpc/powerpc64/strspn.S: New file.
8431
08f1e1d2
JL
84322014-12-01 James Lemke <jwlemke@codesourcery.com>
8433
8434 [BZ #17581]
8435 * malloc/hooks.c
8436 (mem2mem_check): Add a terminator to the chain of checking blocks.
8437 (malloc_check_get_size): Use it here.
8438 (mem2chunk_check): Ditto.
8439
a8a7d7d2
RS
84402014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8441
8442 * sysdeps/powerpc/powerpc64/strtok.S: New file.
8443 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
8444
97114a38
CD
84452014-11-29 Carlos O'Donell <carlos@redhat.com>
8446
c8dc1727
CD
8447 * bits/ioctl-types.h: Indent preprocessor directives correctly.
8448
6d03458e
CD
8449 * nptl/nptl-init.c: Include libc-internal.h.
8450 (__pthread_initialize_minimal_internal): Use ROUND_UP.
8451
97114a38
CD
8452 * elf/ldconfig.c (search_dir): Expand comment.
8453
0e7e69ba
JM
84542014-11-29 Joseph Myers <joseph@codesourcery.com>
8455
8456 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
8457 variable.
8458 (linknamespace-symlist-stdlibs-tests): Likewise.
8459 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
8460 instead of $(objpfx)symlist-stdlibs.
8461 (linknamespace-libs-isoc): New variable.
8462 (linknamespace-libs): Use $(linknamespace-libs-isoc).
8463 (linknamespace-libs-ISO): New variable.
8464 (linknamespace-libs-ISO99): Likewise.
8465 (linknamespace-libs-ISO11): Likewise.
8466 (linknamespace-libs-XPG3): Likewise.
8467 (linknamespace-libs-XPG4): Likewise.
8468 (linknamespace-libs-POSIX): Likewise.
8469 (linknamespace-libs-UNIX98): Likewise.
8470 (linknamespace-libs-XOPEN2K): Likewise.
8471 (linknamespace-libs-POSIX2008): Likewise.
8472 (linknamespace-libs-XOPEN2K8): Likewise.
8473 ($(objpfx)symlist-stdlibs): Replace by
8474 $(linknamespace-symlist-stdlibs-tests). Use
8475 $(linknamespace-libs-$*) as set of libraries.
8476 ($(linknamespace-header-tests)): Update dependencies. Use
8477 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
8478 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
8479 * conform/linknamespace.pl: Remove comment about considering
8480 definitions of symbols from irrelevant libraries.
8481
d8dd0080
L
84822014-11-28 H.J. Lu <hongjiu.lu@intel.com>
8483
8484 [BZ #13862]
8485 * elf/dl-tls.c: Include <atomic.h>.
8486 (oom): Remove #ifdef SHARED/#endif.
8487 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
8488 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
8489 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
8490 big enough.
8491 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
8492 * nptl/Makefile (tests): Add tst-stack4.
8493 (modules-names): Add tst-stack4mod.
8494 ($(objpfx)tst-stack4): New.
8495 (tst-stack4mod.sos): Likewise.
8496 ($(objpfx)tst-stack4.out): Likewise.
8497 ($(tst-stack4mod.sos)): Likewise.
8498 (clean): Likewise.
8499 * nptl/tst-stack4.c: New file.
8500 * nptl/tst-stack4mod.c: Likewise.
8501
167da422
B
85022014-11-27 J. Brown <jb999@gmx.de>
8503
8504 * sysdeps/x86/bits/string.h: Add recent CPUs.
8505
9114625b
JM
85062014-11-27 Joseph Myers <joseph@codesourcery.com>
8507
6b5189eb
JM
8508 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
8509 sigblock.
8510
49051f8e
JM
8511 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
8512 feof.
8513
9114625b
JM
8514 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
8515 variable.
8516
e7300fef
SL
85172014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
8518
8519 * nscd/connections.c: Include libc-internal.h because of macro
8520 usage ignore_value.
8521
1721f0a4
SP
85222014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8523
8524 * string/bits/string3.h (__warn_memset_zero_len): Don't
8525 declare for gcc newer than 5.0.
8526 (memset): Don't test for zero-length __LEN for gcc newer than
8527 5.0.
8528
be970916
JM
85292014-11-27 Joseph Myers <joseph@codesourcery.com>
8530
d88548f4
JM
8531 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
8532 size_t for %zu format.
8533
be970916
JM
8534 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
8535 difference, not %ju.
8536
3b20fd5c
JM
85372014-11-26 Joseph Myers <joseph@codesourcery.com>
8538
8915eace
JM
8539 * include/libc-internal.h (ignore_value): New macro.
8540 * nscd/connections.c (restart): Wrap calls to setuid and setgid
8541 with ignore_value.
8542
f1a5a0e3
JM
8543 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
8544 definition.
8545
59ef1715
JM
8546 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
8547 pthread_cleanup_push to void *.
8548
a6f3079b
JM
8549 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
8550 Undefine.
8551
706688aa
JM
8552 [BZ #16619]
8553 [BZ #16740]
8554 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
8555 instead of 1L << 52.
8556
12da14a5
JM
8557 * libio/bug-rewind.c (do_test): Check fwscanf return values.
8558 * libio/bug-rewind2.c (do_test): Likewise.
8559
bd5dadac
JM
8560 * debug/test-stpcpy_chk-ifunc.c: Remove file.
8561 * debug/test-strcpy_chk-ifunc.c: Likewise.
8562 * wcsmbs/test-wcschr-ifunc.c: Likewise.
8563 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8564 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8565 * wcsmbs/test-wcslen-ifunc.c: Likewise.
8566 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8567 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8568 * Rules [$(multi-arch) = no] (tests): Do not filter out
8569 $(tests-ifunc).
8570 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
8571 * debug/Makefile (tests-ifunc): Remove variable.
8572 (tests): Do not add $(tests-ifunc).
8573 * wcsmbs/Makefile (tests-ifunc): Remove variable.
8574 (tests): Do not add $(tests-ifunc).
8575 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
8576 [TEST_IFUNC]: Remove conditionals.
8577 * string/test-string.h (TEST_IFUNC): Remove macro.
8578 [TEST_IFUNC]: Remove conditionals.
8579
3b20fd5c
JM
8580 * string/test-strchr.c [!WIDE] (L): New macro.
8581 [WIDE] (L): Likewise.
8582 (check1): Use CHAR instead of char. Use L on string and character
8583 constants.
8584
704f7947
AZ
85852014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
8586
8587 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
8588 tests.
8589 * sysdeps/powerpc/bits/atomic.h
8590 (__arch_atomic_exchange_and_add_32_acq): Add definition.
8591 (__arch_atomic_exchange_and_add_32_rel): Likewise.
8592 (atomic_exchange_and_add_acq): Likewise.
8593 (atomic_exchange_and_add_rel): Likewise.
8594 * sysdeps/powerpc/powerpc32/bits/atomic.h
8595 (__arch_atomic_exchange_and_add_64_acq): Add definition.
8596 (__arch_atomic_exchange_and_add_64_rel): Likewise.
8597 * sysdeps/powerpc/powerpc64/bits/atomic.h
8598 (__arch_atomic_exchange_and_add_64_acq): Add definition.
8599 (__arch_atomic_exchange_and_add_64_rel): Likewise.
8600
cdcb42d7
TR
86012014-11-26 Torvald Riegel <triegel@redhat.com>
8602
8603 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
8604 Change synchronization of __sched_fifo_min_prio and
8605 __sched_fifo_max_prio.
8606 * nptl/pthread_mutexattr_getprioceiling.c
8607 (pthread_mutexattr_getprioceiling): Likewise.
8608 * nptl/pthread_mutexattr_setprioceiling.c
8609 (pthread_mutexattr_setprioceiling): Likewise.
8610 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
8611 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8612 Likewise.
8613
c82f5c0c
JM
86142014-11-26 Joseph Myers <joseph@codesourcery.com>
8615
8616 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
8617 void.
8618
439e1ad6
JM
86192014-11-25 Joseph Myers <joseph@codesourcery.com>
8620
8621 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
8622 third argument const.
8623
b1eda10e
PE
86242014-11-25 Paul Eggert <eggert@cs.ucla.edu>
8625
8626 fnmatch: work around GCC compiler warning bug with uninit var
8627 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
8628 This works around a bug with x86-64 GCC 4.9.2 and earlier
8629 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
8630 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
8631 used uninitialized in this function [-Wmaybe-uninitialized]".
8632
bde2667a
JM
86332014-11-25 Joseph Myers <joseph@codesourcery.com>
8634
8635 * posix/bug-regex31.c (main): Return RES not 0.
8636
5fbb5691
AB
86372014-11-25 Anton Blanchard <anton@samba.org>
8638
8639 * sysdeps/powerpc/bits/atomic.h
8640 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
8641
467fec0b
BM
86422014-11-24 Sterling Augustine <saugustine@google.com>
8643
8644 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
8645
e9ff8efb
RC
86462014-11-24 Ryan Cumming <etaoins@gmail.com>
8647
8648 [BZ #17608]
8649 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
8650
9744496f
JM
86512014-11-24 Joseph Myers <joseph@codesourcery.com>
8652
8653 [BZ #17633]
8654 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
8655 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
8656 variable.
8657 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8658 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8659
6423d475
WD
86602014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
8661
8662 * string/strncpy.c (strncpy): Improve performance by using memset.
8663
86642014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
8665
8666 * string/strcpy.c (strcpy):
8667 Improve performance by using strlen and memcpy.
8668
5d178c37
LH
86692014-11-24 Leonhard Holz <leonhard.holz@web.de>
8670
8671 * string/strcoll_l.c (get_next_seq): __always_inline.
8672 * string/strcoll_l.c (do_compare): __always_inline.
8673
279bc5b3
SP
86742014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8675
7a9ebfa1
SP
8676 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
8677 defined.
8678 * include/mqueue.h: Likewise.
8679 * include/stdlib.h: Likewise.
8680
4f41c682
SP
8681 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
8682 (get_null_defines): Adjust.
8683 * sunrpc/Makefile: Adjust comment.
8684 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
8685 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
8686 (CFLAGS-interp.c): Likewise.
8687 (CFLAGS-ldconfig.c): Likewise.
8688 (CPPFLAGS-.os): Likewise.
8689 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8690 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8691 * extra-modules.mk (extra-modules.mk): Likewise.
8692 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
8693 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
8694 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
8695 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
8696 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
8697 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
8698 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
8699 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
8700 * iconvdata/Makefile (CPPFLAGS): Likewise.
8701 (cpp-srcs-left): Add libof for all iconvdata routines.
8702 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
8703 * include/assert.h: Likewise.
8704 * include/ctype.h: Likewise.
8705 * include/errno.h: Likewise.
8706 * include/libc-symbols.h: Likewise.
8707 * include/math.h: Likewise.
8708 * include/netdb.h: Likewise.
8709 * include/resolv.h: Likewise.
8710 * include/stdio.h: Likewise.
8711 * include/stdlib.h: Likewise.
8712 * include/string.h: Likewise.
8713 * include/sys/stat.h: Likewise.
8714 * include/wctype.h: Likewise.
8715 * intl/l10nflist.c: Likewise.
8716 * libidn/idn-stub.c: Likewise.
8717 * libio/libioP.h: Likewise.
8718 * nptl/libc_multiple_threads.c: Likewise.
8719 * nptl/pthreadP.h: Likewise.
8720 * posix/regex_internal.h: Likewise.
8721 * resolv/res_hconf.c: Likewise.
8722 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
8723 * sysdeps/arm/memmove.S: Likewise.
8724 * sysdeps/arm/sysdep.h: Likewise.
8725 * sysdeps/generic/_itoa.h: Likewise.
8726 * sysdeps/generic/symbol-hacks.h: Likewise.
8727 * sysdeps/gnu/errlist.awk: Likewise.
8728 * sysdeps/gnu/errlist.c: Likewise.
8729 * sysdeps/i386/i586/memcpy.S: Likewise.
8730 * sysdeps/i386/i586/memset.S: Likewise.
8731 * sysdeps/i386/i686/memcpy.S: Likewise.
8732 * sysdeps/i386/i686/memmove.S: Likewise.
8733 * sysdeps/i386/i686/mempcpy.S: Likewise.
8734 * sysdeps/i386/i686/memset.S: Likewise.
8735 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8736 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8737 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
8738 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
8739 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8740 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8741 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
8742 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8743 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8744 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8745 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8746 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8747 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8748 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8749 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8750 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8751 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
8752 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
8753 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
8754 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8755 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8756 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8757 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8758 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8759 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8760 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8761 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
8762 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8763 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
8764 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8765 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8766 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8767 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8768 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8769 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8770 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8771 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8772 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8773 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8774 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8775 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8776 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8777 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8778 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8779 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8780 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8781 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
8782 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
8783 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8784 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8785 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8786 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
8787 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
8788 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8789 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8790 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
8791 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8792 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
8793 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
8794 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8795 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8796 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8797 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
8798 * sysdeps/nptl/bits/libc-lock.h: Likewise.
8799 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8800 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
8801 * sysdeps/posix/closedir.c: Likewise.
8802 * sysdeps/posix/opendir.c: Likewise.
8803 * sysdeps/posix/readdir.c: Likewise.
8804 * sysdeps/posix/rewinddir.c: Likewise.
8805 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
8806 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
8807 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8808 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8809 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8810 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
8811 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
8812 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
8813 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
8814 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
8815 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
8816 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
8817 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
8818 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
8819 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
8820 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
8821 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
8822 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
8823 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
8824 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
8825 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
8826 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
8827 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
8828 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
8829 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
8830 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
8831 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
8832 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
8833 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
8834 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
8835 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
8836 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
8837 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
8838 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
8839 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
8840 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
8841 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8842 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8843 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
8844 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
8845 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
8846 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
8847 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
8848 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
8849 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
8850 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
8851 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
8852 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
8853 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
8854 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
8855 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
8856 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
8857 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
8858 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
8859 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
8860 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
8861 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
8862 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
8863 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
8864 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
8865 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
8866 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
8867 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
8868 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
8869 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
8870 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
8871 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
8872 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
8873 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
8874 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
8875 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
8876 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
8877 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
8878 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
8879 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
8880 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
8881 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
8882 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
8883 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8884 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
8885 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
8886 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8887 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
8888 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
8889 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8890 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
8891 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
8892 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8893 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8894 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8895 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
8896 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
8897 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
8898 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8899 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8900 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
8901 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8902 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8903 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
8904 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
8905 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8906 * sysdeps/unix/alpha/sysdep.S: Likewise.
8907 * sysdeps/unix/alpha/sysdep.h: Likewise.
8908 * sysdeps/unix/make-syscalls.sh: Likewise.
8909 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8910 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8911 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8912 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
8913 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8914 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
8915 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
8916 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8917 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8918 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
8919 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8920 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8921 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8922 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8923 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8924 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8925 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8926 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8927 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8928 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8929 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
8930 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8931 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8932 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8933 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8934 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8935 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8938 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
8939 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8940 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8941 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8942 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8943 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8944 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8945 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8946 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8947 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8948 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8949 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8950 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8951 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8952 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8953 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8954 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8955 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8956 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8957 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8958 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8959 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8960 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8961 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8962 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8963 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
8964 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8965 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8966 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8967 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
8968 * sysdeps/x86_64/memcpy.S: Likewise.
8969 * sysdeps/x86_64/memmove.c: Likewise.
8970 * sysdeps/x86_64/memset.S: Likewise.
8971 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
8972 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8973 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8974 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
8975 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
8976 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8977 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8978 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8979 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8980 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8981 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8982 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8983 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
8984 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8985 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8986 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
8987 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8988 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8989 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8990 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8991 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
8992 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8993 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8994 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8995 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8996 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8997 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8998 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
8999 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9000 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9001 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
9002 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9003 * sysdeps/x86_64/strcmp.S: Likewise.
9004
76ca86a5
SP
9005 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
9006
a3848485
SP
9007 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
9008 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
9009 * elf/rtld-Rules: Likewise.
9010 * elf/setup-vdso.h: Likewise.
9011 * include/assert.h: Likewise.
9012 * include/bits/stdlib-float.h: Likewise.
9013 * include/errno.h: Likewise.
9014 * include/sys/stat.h: Likewise.
9015 * include/unistd.h: Likewise.
9016 * sysdeps/aarch64/setjmp.S: Likewise.
9017 * sysdeps/alpha/setjmp.S: Likewise.
9018 * sysdeps/arm/__longjmp.S: Likewise.
9019 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
9020 * sysdeps/arm/setjmp.S: Likewise.
9021 * sysdeps/arm/sysdep.h: Likewise.
9022 * sysdeps/generic/_itoa.h: Likewise.
9023 * sysdeps/generic/dl-sysdep.h: Likewise.
9024 * sysdeps/generic/ldsodefs.h: Likewise.
9025 * sysdeps/i386/dl-tls.h: Likewise.
9026 * sysdeps/i386/setjmp.S: Likewise.
9027 * sysdeps/m68k/setjmp.c: Likewise.
9028 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
9029 * sysdeps/mach/hurd/opendir.c: Likewise.
9030 * sysdeps/posix/getcwd.c: Likewise.
9031 * sysdeps/posix/opendir.c: Likewise.
9032 * sysdeps/posix/profil.c: Likewise.
9033 * sysdeps/powerpc/dl-procinfo.h: Likewise.
9034 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9035 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9036 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9037 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9038 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
9039 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
9040 * sysdeps/s390/dl-tls.h: Likewise.
9041 * sysdeps/s390/s390-32/setjmp.S: Likewise.
9042 * sysdeps/s390/s390-64/setjmp.S: Likewise.
9043 * sysdeps/sh/sh3/setjmp.S: Likewise.
9044 * sysdeps/sh/sh4/setjmp.S: Likewise.
9045 * sysdeps/unix/alpha/sysdep.h: Likewise.
9046 * sysdeps/unix/arm/sysdep.S: Likewise.
9047 * sysdeps/unix/i386/sysdep.S: Likewise.
9048 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9049 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9050 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9051 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9052 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9053 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9054 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9055 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9056 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9057 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9058 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
9059 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9060 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9063 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9064 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9065 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9066 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9067 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9068 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9069 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9070 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9071 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9072 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9073 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9074 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9075 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9076 * sysdeps/x86_64/setjmp.S: Likewise.
9077
a109996e
SP
9078 * include/math.h: Use IS_IN instead of IS_IN_libm.
9079 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
9080 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9081 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9082 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9083 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9084 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9085 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9086 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9087 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9088 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9089 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
9090 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
9091 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
9092 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
9093 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
9094 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
9095 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
9096 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
9097 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
9098 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
9099 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
9100 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
9101 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
9102 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
9103 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
9104 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
9105 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
9106 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
9107 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
9108 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
9109 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
9110 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9111 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
9113 Likewise.
9114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
9115 Likewise.
9116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
9117 Likewise.
9118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
9119 Likewise.
9120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
9121 Likewise.
9122 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9123 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
9124 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9125 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9126 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9127 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
9129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
9130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
9131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
9132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
9133 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
9134 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
9135 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9136 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9137 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9138 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9139 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9140 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9141 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9142 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
9143 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
9144 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
9145 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
9146 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
9147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9148 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
9149
ce9f10f7
SP
9150 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
9151 * nptl/pthreadP.h: Likewise.
9152 * nptl_db/structs.def: Likewise.
9153 * sysdeps/arm/sysdep.h: Likewise.
9154 * sysdeps/nptl/bits/libc-lock.h: Likewise.
9155 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9156 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
9157 * sysdeps/unix/alpha/sysdep.h: Likewise.
9158 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9159 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9160 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9161 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9162 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9163 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9164 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9165 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9166 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9167 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9168 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9169 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9170 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9171 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9174 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9175 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9176 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9177 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9178 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9179 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9180 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9181 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9182 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
9183 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9184
016afc75
SP
9185 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
9186 * nptl/pthreadP.h: Likewise.
9187 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9188 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9189 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9190 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9191 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9192 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9193 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9194 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9195 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9196 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9197 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9198 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9200 Likewise.
9201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9202 Likewise.
9203 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9204 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9205 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9206 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9207 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9208 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9209 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9210 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9211
9b42a0b3
SP
9212 * dlfcn/dladdr.c: Use IS_IN.
9213 * dlfcn/dladdr1.c: Likewise.
9214 * dlfcn/dlclose.c: Likewise.
9215 * dlfcn/dlerror.c: Likewise.
9216 * dlfcn/dlinfo.c: Likewise.
9217 * dlfcn/dlmopen.c: Likewise.
9218 * dlfcn/dlopen.c: Likewise.
9219 * dlfcn/dlsym.c: Likewise.
9220 * dlfcn/dlvsym.c: Likewise.
9221
85f36372
SP
9222 * include/ifaddrs.h: Use IS_IN.
9223 * inet/check_pf.c: Likewise.
9224 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9225 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
9226
fb6784e3
SP
9227 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
9228 IS_IN_ldconfig.
9229 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
9230 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
9231
2886d2d1
SP
9232 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
9233 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
9234 IS_IN (libc).
9235
9a484857
SP
9236 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
9237
a10178bd
SP
9238 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
9239 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9240 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9241 * include/libc-symbols.h (IS_IN_LIB): New macro.
9242 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
9243 * include/netdb.h: Likewise.
9244 * include/stap-probe.h: Remove all uses of IN_LIB.
9245
279bc5b3
SP
9246 * Makeconfig (module-cppflags-real): Define MODULE_NAME
9247 instead of IN_MODULE.
9248 * include/libc-symbols.h (IN_MODULE): Define using
9249 MODULE_NAME.
9250 (PASTE_NAME, PASTE_NAME1): New macros.
9251 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
9252 of IN_LIB.
9253 (STAP_PROBE_ASM): Likewise.
9254
e0cfa510
ST
92552014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
9256
9257 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
9258 __mach_init in dlopened libc.
9259
34d97d87
MF
92602014-11-22 Mike Frysinger <vapier@gentoo.org>
9261
9262 * sysdeps/arm/preconfigure.ac: Delete EABI check.
9263 * sysdeps/arm/preconfigure: Regenerate.
9264
33cd1f74
RM
92652014-11-21 Roland McGrath <roland@hack.frob.com>
9266
9267 * nptl/pthread_create.c (__pthread_create_2_1): Set
9268 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
9269 when copying values from IATTR into PD.
9270
8c230039
WN
92712014-11-21 Will Newton <will.newton@linaro.org>
9272 Andrew Pinski <andrew.pinski@caviumnetworks.com>
9273
6d3db89b
AP
9274 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
9275 Refactor inline-asm. Also add comment.
9276
01194ba1
WN
9277 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
9278 ElfW macro instead of hardcoded Elf64 types.
9279 (la_aarch64_gnu_pltenter): Likewise.
9280 * sysdeps/aarch64/dl-machine.h
9281 (elf_machine_runtime_setup): Use ElfW(Addr).
9282
8c230039
WN
9283 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
9284 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
9285 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
9286 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
9287 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
9288 (R_AARCH64_TLS_DTPMOD64): Rename to ..
9289 (R_AARCH64_TLS_DTPMOD): This.
9290 (R_AARCH64_TLS_DTPREL64): Rename to ...
9291 (R_AARCH64_TLS_DTPREL): This.
9292 (R_AARCH64_TLS_TPREL64): Rename to ...
9293 (R_AARCH64_TLS_TPREL): This.
9294 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
9295 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
9296 R_AARCH64_TLS_TPREL64.
9297 (elf_machine_rela): Likewise.
9298
0d79fa53
TR
92992014-11-21 Torvald Riegel <triegel@redhat.com>
9300
9301 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
9302 by setting it to 0. 64b atomics are not supported currently.
9303
b59d114b
AO
93042014-11-21 Alexandre Oliva <aoliva@redhat.com>
9305
9306 [BZ #16469]
9307 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
9308 search domain names.
9309
f3d945d5
AO
93102014-11-21 Alexandre Oliva <aoliva@redhat.com>
9311
9312 [BZ #16469]
9313 * NEWS: Update.
9314 * resolv/res_query.c (__libc_res_nquerydomain): Retain
9315 trailing dot.
9316 * posix/tst-getaddrinfo5.c: New.
9317 * posix/Makefile (tests): Add it.
9318
49698902
AO
93192014-11-21 Alexandre Oliva <aoliva@redhat.com>
9320
9321 [BZ #14498]
9322 * NEWS: Fixed.
9323 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
9324 after parsing line but before break_if_match.
9325 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
9326 if there is a protocol mismatch.
9327
81959214
MS
93282014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
9329
9330 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
9331 because the potential race is on the user-supplied stream.
9332
7729e0e9
AO
93332014-11-21 Alexandre Oliva <aoliva@redhat.com>
9334
9335 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
9336 string literal if not passed a buffer.
9337 * manual/job.texi (ctermid): Update reasoning, note deviation
9338 from posix, suggest mtasurace when not passed a buffer, for
9339 future non-preliminary safety notes.
9340
a4ea5e28
AO
93412014-11-21 Alexandre Oliva <aoliva@redhat.com>
9342
9343 * manual/users.texi (cuserid): Fix MT-Safety note for the case
9344 of not passing it a buffer.
9345 Reported by Peng Haitao.
9346
a2b581cb
AO
93472014-11-21 Alexandre Oliva <aoliva@redhat.com>
9348
9349 * manual/Makefile ($(objpfx)stamp-summary): Require
9350 check-safety.sh to pass.
9351 * manual/check-safety.sh: Wish for verification that every
9352 @deftypefn and @deftypefun is followed by a @safety remark.
9353
f214ff74
RM
93542014-11-20 Roland McGrath <roland@hack.frob.com>
9355
7f0dfae0
RM
9356 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
9357
2f531bbb
RM
9358 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
9359 PTHREAD_CANCEL_ASYNCHRONOUS.
9360 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
9361 send SIGCANCEL.
9362
f214ff74
RM
9363 * nptl/default-sched.h: New file.
9364 * sysdeps/unix/sysv/linux/default-sched.h: New file.
9365 * nptl/pthread_create.c: Include it.
9366 (__pthread_create_2_1): Use collect_default_sched instead of making
9367 Linux syscalls here directly.
9368
e37c91d4
TR
93692014-11-20 Torvald Riegel <triegel@redhat.com>
9370
9371 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
9372 __pthread_once): Use C11 atomics.
9373
1eccfecd
TR
93742014-11-20 Torvald Riegel <triegel@redhat.com>
9375
9376 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
9377
ff871426
TR
93782014-11-20 Torvald Riegel <triegel@redhat.com>
9379
9380 * include/atomic.h (__atomic_link_error, __atomic_check_size,
9381 atomic_thread_fence_acquire, atomic_thread_fence_release,
9382 atomic_thread_fence_seq_cst, atomic_load_relaxed,
9383 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
9384 atomic_compare_exchange_weak_relaxed,
9385 atomic_compare_exchange_weak_acquire,
9386 atomic_compare_exchange_weak_release,
9387 atomic_exchange_acquire, atomic_exchange_release,
9388 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
9389 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
9390 atomic_fetch_and_acquire,
9391 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
9392
1ea339b6
TR
93932014-11-20 Torvald Riegel <triegel@redhat.com>
9394
9395 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
9396 USE_ATOMIC_COMPILER_BUILTINS): Define.
9397 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
9398 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9399 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
9400 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9401 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
9402 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9403 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
9404 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9405 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
9406 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9407 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
9408 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9409 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
9410 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9411 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
9412 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9413 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9414 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9415 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9416 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9417 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
9418 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9419 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9420 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9421 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
9422 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9423 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9424 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9425 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
9426 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9427 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
9428 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9429 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
9430 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9431 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9432 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9433 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
9434 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9435 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
9436 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9437
cbd463e2
RM
94382014-11-19 Roland McGrath <roland@hack.frob.com>
9439
d960211f
RM
9440 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
9441 the sched_priority value here. It was already checked when the user
9442 called pthread_attr_setschedparam.
9443
cbd463e2
RM
9444 * nptl/tst-bad-schedattr.c: New file.
9445 * nptl/Makefile (tests): Add it.
9446
a39208bd
CD
94472014-11-19 Carlos O'Donell <carlos@redhat.com>
9448 Florian Weimer <fweimer@redhat.com>
9449 Joseph Myers <joseph@codesourcery.com>
9450 Adam Conrad <adconrad@0c3.net>
9451 Andreas Schwab <schwab@suse.de>
9452 Brooks <bmoses@google.com>
9453
9454 [BZ #17625]
9455 * wordexp-test.c (__dso_handle): Add prototype.
9456 (__register_atfork): Likewise.
9457 (__app_register_atfork): New function.
9458 (registered_forks): New global.
9459 (register_fork): New function.
9460 (test_case): Add 3 new tests for WRDE_CMDSUB.
9461 (main): Call __app_register_atfork.
9462 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
9463 fork count is non-zero fail the test.
9464 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
9465 is set.
9466 (parse_dollars): Remove check for WRDE_NOCMD.
9467 (parse_dquote): Likewise.
9468
9cd47470
SP
94692014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9470
130ac68c
SP
9471 * Makeconfig (built-modules): List non-library modules to be
9472 built.
9473 (module-cppflags): Include libc-modules.h for
9474 everything except shlib-versions.v.i.
9475 (CPPFLAGS): Use it.
9476 (before-compile): Add libc-modules.h.
9477 ($(common-objpfx)libc-modules.h,
9478 $(common-objpfx)libc-modules.stmp): New targets.
9479 (common-generated): Add libc-modules.h and libc-modules.stmp.
9480 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
9481 * include/libc-symbols.h: Don't include libc-modules.h.
9482 * include/libc-modules.h: Remove file.
9483 * scripts/gen-libc-modules.awk: New script to generate
9484 libc-modules.h.
9485 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
9486 Depend on libc-modules.stmp.
9487
286663c3
SP
9488 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
9489
9cd47470
SP
9490 * Makeconfig (in-module): Get value of libof set for the
9491 translation unit.
9492 (CPPFLAGS): Use $(in-module).
9493 * Makerules: Don't suffix routine names for nonlib.
9494 * include/libc-modules.h: New file.
9495 * include/libc-symbols.h: Include libc-modules.h
9496 (IS_IN): New macro to replace IS_IN_* macros.
9497 * elf/Makefile: Set libof-* for each routine.
9498 * elf/rtld-Rules: Likewise.
9499 * extra-modules.mk: Likewise.
9500 * iconv/Makefile: Likewise.
9501 * iconvdata/Makefile: Likewise.
9502 * locale/Makefile: Likewise.
9503 * malloc/Makefile: Likewise.
9504 * nss/Makefile: Likewise.
9505 * sysdeps/gnu/Makefile: Likewise.
9506 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
9507 * sysdeps/unix/sysv/linux/Makefile: Likewise.
9508 * sysdeps/s390/s390-64/Makefile: Likewise.
9509 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
9510 CPPFLAGS for nscd instead of nonlib.
9511
32fed10f
RM
95122014-11-18 Roland McGrath <roland@hack.frob.com>
9513
d71035bd
RM
9514 * nptl/createthread.c: New file.
9515
6540b991
RM
9516 * nptl/createthread.c: Moved ...
9517 * sysdeps/unix/sysv/linux/createthread.c: ... here.
9518
32fed10f
RM
9519 * nptl/createthread.c: Add proper top-line comment.
9520 (do_clone): Folded into ...
9521 (create_thread): ... here. Take new arguments STOPPED_START and
9522 THREAD_RAN. Always set PD->stopped_start to something here. Don't
9523 increment __nptl_threads, do event-reporting logic, do
9524 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
9525 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
9526 resource cleanup if sched_setaffinity or sched_setscheduler fails,
9527 just send SIGCANCEL.
9528 * nptl/pthread_create.c: Forward-declare create_thread before
9529 including createthread.c.
9530 (start_thread): Use new macro START_THREAD_DEFN to replace defining
9531 declaration, and new macro START_THREAD_SELF to replace argument.
9532 Remove return statement.
9533 (report_thread_creation): New function.
9534 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
9535 synchronization logic, and __nptl_nthreads increment here, around
9536 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
9537 PD->parent_cancelhandling here, before create_thread. When
9538 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
9539 __deallocate_stack, and ENOMEM translation here.
9540
107a5bf0
JM
95412014-11-18 Joseph Myers <joseph@codesourcery.com>
9542
9543 [BZ #17616]
9544 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
9545 (mptwo): Rename to __mptwo.
9546 (__inv): Use __mptwo instead of mptwo.
9547 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
9548 (mptwo): Rename to __mptwo.
9549 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
9550 of mpone and __mptwo instead of mptwo.
9551 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
9552 instead of mpone.
9553 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9554 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
9555 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
9556 of mpone and __mptwo instead of mptwo.
9557 (__mpranred): Use __mpone instead of mpone.
9558 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
9559 variable.
9560 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9561 (test-xfail-ISO99/math.h/linknamespace): Likewise.
9562 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9563 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9564 (test-xfail-ISO11/math.h/linknamespace): Likewise.
9565 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9566 (test-xfail-XPG3/math.h/linknamespace): Likewise.
9567 (test-xfail-XPG4/math.h/linknamespace): Likewise.
9568 (test-xfail-POSIX/math.h/linknamespace): Likewise.
9569 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9570 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9571 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9572 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9573 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9574 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9575 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9576 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9577 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9578 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9579
3b679ab3
TV
95802014-11-18 Tom de Vries <tom@codesoucery.com>
9581
9582 * manual/signal.texi (Primitives Interrupted by Signals): In section,
9583 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
9584
95852014-11-17 Richard Henderson <rth@redhat.com>
9586
9587 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
9588 (_FP_PACK_RAW_2): Remove.
9589 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
9590 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
9591 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
9592 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
9593 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
9594 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
9595 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
9596 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
9597 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
9598 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
9599 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
9600 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
9601 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
9602 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
9603 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
9604 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
9605
0781a777
RM
96062014-11-14 Roland McGrath <roland@hack.frob.com>
9607
9608 * signal/signal.h [__USE_MISC]
9609 (struct sigvec): Remove type.
9610 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
9611 (sigvec): Remove declaration.
9612 * sysdeps/posix/sigvec.c: Moved ...
9613 * signal/sigvec.c: ... here, replacing old file.
9614 (struct sigvec): New type, copied from old signal.h definition.
9615 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
9616 (__sigvec): Convert definition to prototype.
9617 (sigvec): Replace weak_alias with compat_symbol.
9618 * signal/Versions (libc: GLIBC_2.21): New version set.
9619 * include/signal.h: Remove __sigvec declaration.
9620 * sysdeps/unix/bsd/sigvec.c: Remove file.
9621 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
9622 * manual/signal.texi (BSD Handler): Remove subsection.
9623 Move siginterrupt up to ...
9624 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
9625 (Blocking in BSD): Fold subsection into its parent.
9626 * NEWS: Mention sigvec removal.
9627
a4733812
JM
96282014-11-14 Joseph Myers <joseph@codesourcery.com>
9629
5ae4fe60
JM
9630 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
9631 (DLA_FMS): Make definition conditional only on [__FMA4__].
9632 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
9633 definition.
9634
6a0dd472
JM
9635 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
9636 Make definition conditional only on [PROF].
9637 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
9638 definition.
9639 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
9640 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
9641
a4733812
JM
9642 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
9643 !__GNUC__].
9644 * include/signal.h (__sigpause): Move declaration above call to
9645 libc_hidden_proto.
9646 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
9647 variable.
9648 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9649 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9650
cf7246dd
DM
96512014-11-14 David S. Miller <davem@davemloft.net>
9652
9653 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
9654 Define before including <string/memcpy.c> and <string/mempcpy.c>.
9655
c1b0aadc
JM
96562014-11-14 Joseph Myers <joseph@codesourcery.com>
9657
4863355a
JM
9658 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
9659 * configure: Regenerated.
9660 * manual/install.texi (Tools for Compilation): Document a
9661 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
9662 compiler verified to work.
9663 * INSTALL: Regenerated.
9664
c1b0aadc
JM
9665 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
9666 redeclare with asm name.
9667 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
9668 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
9669 including <string.h>.
9670 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9671 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
9672 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9673 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
9674 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9675 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9676 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9677
2a1cfd94
JM
96782014-11-13 Joseph Myers <joseph@codesourcery.com>
9679
bf438382
JM
9680 * stdlib/strtol.c (__strtol): Use prototype definition.
9681
2a1cfd94
JM
9682 [BZ #17594]
9683 * stdlib/strtol.c (SYM__): New macro.
9684 (SYM__1): Likewise.
9685 (__strtol): Likewise.
9686 (strtol): Rename to __strtol and define as weak alias of
9687 __strtol. Use libc_hidden_weak.
9688
20ed0d26
SL
96892014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9690
9691 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
9692 Use numbered labels in inline assembly.
9693
53244a4e
SL
96942014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9695
9696 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
9697 Add setjmp LIBC_PROBE.
9698 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
9699 Likewise.
9700 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
9701 Add longjmp, longjmp_target LIBC_PROBE.
9702 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
9703 Likewise.
9704
47df8251
SL
97052014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9706
9707 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9708 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
9709 to get rid of unused variable warning.
9710
618cebef
SL
97112014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9712
9713 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
9714 Check for unwind_backtrace == NULL only in SHARED case.
9715 (__backchain_backtrace): Compile only in SHARED case.
9716 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
9717 Likewise.
9718 (__backchain_backtrace): Declare as static.
9719
c6aab2cb
RM
97202014-11-12 Roland McGrath <roland@hack.frob.com>
9721
9722 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
9723 (__libc_multiple_threads_ptr): Variable moved ...
9724 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
9725
5a6fa4d7
JM
97262014-11-12 Joseph Myers <joseph@codesourcery.com>
9727
24f4f825
JM
9728 * conform/GlibcConform.pm: New file.
9729 * conform/conformtest.pl: Use GlibcConform module.
9730 * conform/linknamespace.pl: New file.
9731 * conform/list-header-symbols.pl: Likewise.
9732 * conform/Makefile (linknamespace-symlists-base): New variable.
9733 (linknamespace-symlists-tests): Likewise.
9734 (linknamespace-header-base): Likewise.
9735 (linknamespace-header-tests): Likewise.
9736 (tests-special): Add new tests.
9737 ($(linknamespace-symlists-tests)): New rule.
9738 (linknamespace-libs): New variable.
9739 ($(objpfx)symlist-stdlibs): New rule.
9740 ($(linknamespace-header-tests)): Likewise.
9741 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
9742 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
9743 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
9744 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
9745 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
9746 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
9747 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
9748 (test-xfail-ISO/math.h/linknamespace): Likewise.
9749 (test-xfail-ISO/signal.h/linknamespace): Likewise.
9750 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
9751 (test-xfail-ISO/time.h/linknamespace): Likewise.
9752 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9753 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
9754 (test-xfail-ISO99/math.h/linknamespace): Likewise.
9755 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9756 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9757 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9758 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9759 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
9760 (test-xfail-ISO11/math.h/linknamespace): Likewise.
9761 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9762 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9763 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9764 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
9765 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
9766 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
9767 (test-xfail-XPG3/math.h/linknamespace): Likewise.
9768 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
9769 (test-xfail-XPG3/search.h/linknamespace): Likewise.
9770 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
9771 (test-xfail-XPG3/time.h/linknamespace): Likewise.
9772 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
9773 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
9774 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
9775 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
9776 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
9777 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
9778 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
9779 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
9780 (test-xfail-XPG4/math.h/linknamespace): Likewise.
9781 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
9782 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
9783 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
9784 (test-xfail-XPG4/search.h/linknamespace): Likewise.
9785 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
9786 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
9787 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
9788 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
9789 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
9790 (test-xfail-XPG4/time.h/linknamespace): Likewise.
9791 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
9792 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
9793 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
9794 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
9795 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
9796 (test-xfail-POSIX/math.h/linknamespace): Likewise.
9797 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
9798 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
9799 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
9800 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9801 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
9802 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9803 (test-xfail-POSIX/time.h/linknamespace): Likewise.
9804 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
9805 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
9806 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9807 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
9808 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
9809 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
9810 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
9811 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9812 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9813 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9814 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
9815 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
9816 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9817 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9818 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
9819 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9820 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
9821 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
9822 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
9823 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
9824 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9825 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9826 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
9827 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9828 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
9829 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
9830 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
9831 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
9832 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9833 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
9834 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
9835 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
9836 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
9837 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
9838 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9839 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9840 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
9841 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
9842 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
9843 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
9844 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9845 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
9846 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
9847 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
9848 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
9849 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
9850 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
9851 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9852 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9853 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
9854 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
9855 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9856 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9857 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
9858 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
9859 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
9860 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
9861 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9862 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
9863 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
9864 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
9865 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
9866 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9867 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
9868 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9869 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
9870 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9871 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
9872 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
9873 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
9874 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9875 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9876 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9877 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9878 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
9879 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9880 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9881 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
9882 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
9883 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
9884 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
9885 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9886 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9887 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
9888 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9889 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
9890 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9891 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
9892 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
9893 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
9894 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
9895 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
9896 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9897 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9898 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
9899 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9900 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9901 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
9902
cc67478e
JM
9903 [BZ #17589]
9904 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
9905 of fgets_unlocked.
9906
9975e3d3
JM
9907 [BZ #17585]
9908 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
9909 (memmem): Rename to __memmem and define as weak alias of
9910 __memmem. Use libc_hidden_weak.
9911 (__memmem): Use libc_hidden_def.
9912 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
9913 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
9914 memmem.
9915
c4eae752
JM
9916 [BZ #17582]
9917 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
9918 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
9919 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
9920 and define as weak alias of __fgets_unlocked. Use
9921 libc_hidden_weak.
9922 (__fgets_unlocked): Use libc_hidden_def.
9923 * include/stdio.h (__fgets_unlocked): Declare. Use
9924 libc_hidden_proto.
9925 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
9926 __fgets_unlocked instead of fgets_unlocked.
9927 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
9928 (GET_NPROCS_CONF_PARSER): Likewise.
9929 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
9930 (GET_NPROCS_CONF_PARSER): Likewise.
9931
01cad84e
JM
9932 [BZ #17574]
9933 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
9934 weak alias of __wmemset. Use libc_hidden_weak.
9935 (__wmemset): Use libc_hidden_def.
9936 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
9937 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
9938 of wmemset.
9939
939da411
JM
9940 [BZ #17573]
9941 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
9942 with asm name __mempcpy.
9943 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
9944
293d9a41
JM
9945 [BZ #17572]
9946 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
9947 and define as weak alias of __rawmemchr.
9948 (__rawmemchr): Do not define as strong alias of rawmemchr.
9949
bef8fd60
JM
9950 [BZ #17571]
9951 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
9952 alias of __qsort_r.
9953 (qsort): Call __qsort_r instead of qsort_r.
9954 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
9955 (__qsort_r): Declare. Call libc_hidden_proto.
9956 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
9957 instead of qsort_r.
9958 * nscd/gai.c (__qsort_r): Define to qsort_r.
9959 * posix/tst-rfc3484.c (__qsort_r): Likewise.
9960 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
9961 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
9962
c52ff39e
JM
9963 [BZ #17570]
9964 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
9965 define as weak alias of __malloc_info.
9966
2f5c1b00
JM
9967 [BZ #17584]
9968 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
9969 as weak alias of __rewinddir. Don't use libc_hidden_def.
9970 (__rewinddir): Use libc_hidden_def.
9971 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
9972 as weak alias of __rewinddir. Don't use libc_hidden_def.
9973 (__rewinddir): Use libc_hidden_def.
9974 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
9975 weak alias of __rewinddir. Don't use libc_hidden_def.
9976 (__rewinddir): Use libc_hidden_def.
9977 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
9978 (__rewinddir): Use libc_hidden_proto.
9979 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
9980 rewinddir.
9981 (__getcwd): Use __rewinddir instead of rewinddir.
9982
5a6fa4d7
JM
9983 [BZ #17583]
9984 * libio/fileno.c (fileno): Rename to __fileno and define as weak
9985 alias of __fileno. Use libc_hidden_weak.
9986 (__fileno): Use libc_hidden_def.
9987 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
9988 * libio/ftello.c (ftello): Rename to __ftello and define as weak
9989 alias of __ftello.
9990 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
9991 __ftello.
9992 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
9993 (__fread_unlocked): Define as strong alias of _IO_fread. Use
9994 libc_hidden_def.
9995 (fread_unlocked): Don't use libc_hidden_ver.
9996 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
9997 and define as weak alias of __fread_unlocked. Don't use
9998 libc_hidden_def.
9999 (__fread_unlocked): Use libc_hidden_def.
10000 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
10001 (ftello): Don't use libc_hidden_proto.
10002 (__ftello): Declare. Use libc_hidden_proto.
10003 (fread_unlocked): Don't use libc_hidden_proto.
10004 (__fread_unlocked): Declare. Use libc_hidden_proto.
10005 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
10006 and __ftello instead of fileno, fread_unlocked and ftello.
10007
2581b98e
SP
100082012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10009
10010 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
10011 GOT12.
10012 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10013 Likewise.
10014 (_dl_start_user): Likewise.
10015 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
10016
533bb7c2
SP
100172014-11-12 Carlos O'Donell <carlos@redhat.com>
10018 Siddhesh Poyarekar <siddhesh@redhat.com>
10019
10020 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
10021 Move argv and envp down instead of moving argc up.
10022 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
10023
fffa1cf8
LH
100242014-11-12 Leonhard Holz <leonhard.holz@web.de>
10025
10026 [BZ #17506]
10027 * test-skeleton.c (main): Return successful if one of
10028 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
10029 * string/tst-strcoll-overflow.c: Define expected status.
10030
fb89b46d
TU
100312014-11-12 Tatiana Udalova <t.udalova@samsung.com>
10032
10033 [BZ #17475]
10034 * locale/iso-639.def: Define Bhili and Tulu language codes.
10035
5c40c3ba
AH
100362014-11-11 Alan Hayward <alan.hayward@arm.com>
10037
10038 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
10039
b17fe01b 100402014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
10041
10042 [BZ #17555]
10043 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
10044
bd805071
AS
100452014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
10046
10047 * configure.ac: Updated check of minimal required version to
10048 2.22.
10049 * manual/install.texi (Tools for Compilation): Updated version
10050 number.
10051 * configure: Regenerated.
10052 * INSTALL: Likewise.
10053
1400983e
AS
100542014-11-07 Andreas Schwab <schwab@linux-m68k.org>
10055
10056 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
10057 __tls_get_addr.
10058
2c46a66a
JM
100592014-11-07 Joseph Myers <joseph@codesourcery.com>
10060
10061 * include/sys/wait.h (__libc_waitpid): Remove declaration.
10062 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
10063 (__waitpid): Don't define as alias. Use libc_hidden_def not
10064 libc_hidden_weak.
10065 (waitpid): Define as alias of __waitpid.
10066 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
10067 __waitpid.
10068 (__waitpid): Don't define as alias. Use libc_hidden_def not
10069 libc_hidden_weak.
10070 (waitpid): Define as alias of __waitpid.
10071 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
10072 __libc_waitpid alias.
10073 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
10074 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
10075 Likewise.
10076 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
10077 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
10078 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
10079 alias.
10080 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
10081 __waitpid.
10082 (__waitpid): Don't define as alias. Use libc_hidden_def not
10083 libc_hidden_weak.
10084 (waitpid): Define as alias of __waitpid.
10085
da53d6db
CD
100862014-11-06 Carlos O'Donell <carlos@redhat.com>
10087
a2887bdb
CD
10088 * manual/llio.texi: Add comment that write safety has been
10089 fixed in Linux.
10090
da53d6db
CD
10091 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
10092 (localplt-build-dso): Add elf/ld.so.
10093 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
10094 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
10095 and free for ld.so.
10096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
10097 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
10098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
10099 Likewise.
10100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10101 Likewise.
10102 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
10103 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
10104 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
10105 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
10106 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10107 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
10108 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
10109 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
10110 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10111 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
10112 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
10113
9cf27b8d
JM
101142014-11-05 Joseph Myers <joseph@codesourcery.com>
10115
10116 [BZ #14132]
10117 * include/libc-symbols.h (INTUSE): Remove macro.
10118 (INTDEF): Likewise.
10119 (INTVARDEF): Likewise.
10120 (_INTVARDEF): Likewise.
10121 (INTDEF2): Likewise.
10122 (INTVARDEF2): Likewise.
10123 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
10124 rtld_hidden_def instead of INTVARDEF.
10125 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
10126 (_dl_starting_up_internal): Remove declaration.
10127 (_dl_starting_up): Use rtld_hidden_proto.
10128 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
10129 declaration.
10130 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
10131 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
10132 _dl_starting_up.
10133 * elf/dl-writev.h (_dl_writev): Likewise.
10134 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
10135 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
10136 _dl_starting_up_internal.
10137
af83568d
AZ
101382014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10139
10140 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
10141 test-skeleton.c.
10142
b01ee67c
WN
101432014-11-05 Will Newton <will.newton@linaro.org>
10144
10145 * benchtests/Makefile: (bench-malloc): Add malloc thread
10146 scalability benchmark.
10147 * benchtests/bench-malloc-threads.c: New file.
10148
be9d4ccc
RE
101492014-11-05 Richard Earnshaw <rearnsha@arm.com>
10150
10151 * sysdeps/aarch64/strchrnul.S: New file.
10152
7110166d
AZ
101532014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10154
10155 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
10156 definition.
10157 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10158 Likwise.
10159 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10160 Likewise.
10161 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10162 Likewise.
10163 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10164 Likewise.
10165 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10166 Likewise.
10167
101682014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
10169
10170 * catgets/test-gencat.c: Use test-skeleton.c.
10171 * catgets/tst-catgets.c: Likewise.
10172 * csu/tst-empty.c: Likewise.
10173 * elf/tst-audit2.c: Likewise.
10174 * elf/tst-global1.c: Likewise.
10175 * elf/tst-pathopt.c: Likewise.
10176 * elf/tst-piemod1.c: Likewise.
10177 * elf/tst-tls10.c: Likewise.
10178 * elf/tst-tls11.c: Likewise.
10179 * elf/tst-tls12.c: Likewise.
10180 * gnulib/tst-gcc.c: Likewise.
10181 * iconvdata/tst-e2big.c: Likewise.
10182 * iconvdata/tst-loading.c: Likewise.
10183 * iconv/tst-iconv1.c: Likewise.
10184 * iconv/tst-iconv2.c: Likewise.
10185 * inet/test-inet6_opt.c: Likewise.
10186 * inet/tst-gethnm.c: Likewise.
10187 * inet/tst-network.c: Likewise.
10188 * inet/tst-ntoa.c: Likewise.
10189 * intl/tst-codeset.c: Likewise.
10190 * intl/tst-gettext2.c: Likewise.
10191 * intl/tst-gettext3.c: Likewise.
10192 * intl/tst-ngettext.c: Likewise.
10193 * intl/tst-translit.c: Likewise.
10194 * io/test-stat.c: Likewise.
10195 * libio/test-fmemopen.c: Likewise.
10196 * libio/tst-freopen.c: Likewise.
10197 * libio/tst-sscanf.c: Likewise.
10198 * libio/tst-ungetwc1.c: Likewise.
10199 * libio/tst-ungetwc2.c: Likewise.
10200 * libio/tst-widetext.c: Likewise.
10201 * localedata/tst-ctype.c: Likewise.
10202 * localedata/tst-digits.c: Likewise.
10203 * localedata/tst-leaks.c: Likewise.
10204 * localedata/tst-mbswcs1.c: Likewise.
10205 * localedata/tst-mbswcs2.c: Likewise.
10206 * localedata/tst-mbswcs3.c: Likewise.
10207 * localedata/tst-mbswcs4.c: Likewise.
10208 * localedata/tst-mbswcs5.c: Likewise.
10209 * localedata/tst-setlocale.c: Likewise.
10210 * localedata/tst-trans.c: Likewise.
10211 * localedata/tst-wctype.c: Likewise.
10212 * localedata/tst-xlocale1.c: Likewise.
10213 * login/tst-grantpt.c: Likewise.
10214 * malloc/tst-calloc.c: Likewise.
10215 * malloc/tst-malloc.c: Likewise.
10216 * malloc/tst-mallocstate.c: Likewise.
10217 * malloc/tst-mcheck.c: Likewise.
10218 * malloc/tst-mtrace.c: Likewise.
10219 * malloc/tst-obstack.c: Likewise.
10220 * math/atest-exp2.c: Likewise.
10221 * math/atest-exp.c: Likewise.
10222 * math/atest-sincos.c: Likewise.
10223 * math/test-matherr.c: Likewise.
10224 * math/test-misc.c: Likewise.
10225 * math/test-powl.c: Likewise.
10226 * math/tst-definitions.c: Likewise.
10227 * misc/tst-dirname.c: Likewise.
10228 * misc/tst-efgcvt.c: Likewise.
10229 * misc/tst-fdset.c: Likewise.
10230 * misc/tst-hsearch.c: Likewise.
10231 * misc/tst-mntent2.c: Likewise.
10232 * nptl/tst-sem7.c: Likewise.
10233 * nptl/tst-sem8.c: Likewise.
10234 * nptl/tst-sem9.c: Likewise.
10235 * nss/test-netdb.c: Likewise.
10236 * posix/tst-fnmatch.c: Likewise.
10237 * posix/tst-getlogin.c: Likewise.
10238 * posix/tst-gnuglob.c: Likewise.
10239 * posix/tst-mmap.c: Likewise.
10240 * pwd/tst-getpw.c: Likewise.
10241 * resolv/tst-inet_ntop.c: Likewise.
10242 * rt/tst-timer.c: Likewise.
10243 * stdio-common/test-fseek.c: Likewise.
10244 * stdio-common/test-popen.c: Likewise.
10245 * stdio-common/test-vfprintf.c: Likewise.
10246 * stdio-common/tst-cookie.c: Likewise.
10247 * stdio-common/tst-fileno.c: Likewise.
10248 * stdio-common/tst-gets.c: Likewise.
10249 * stdio-common/tst-obprintf.c: Likewise.
10250 * stdio-common/tst-perror.c: Likewise.
10251 * stdio-common/tst-sprintf2.c: Likewise.
10252 * stdio-common/tst-sprintf3.c: Likewise.
10253 * stdio-common/tst-sprintf.c: Likewise.
10254 * stdio-common/tst-swprintf.c: Likewise.
10255 * stdio-common/tst-tmpnam.c: Likewise.
10256 * stdio-common/tst-unbputc.c: Likewise.
10257 * stdio-common/tst-wc-printf.c: Likewise.
10258 * stdlib/tst-environ.c: Likewise.
10259 * stdlib/tst-fmtmsg.c: Likewise.
10260 * stdlib/tst-limits.c: Likewise.
10261 * stdlib/tst-rand48-2.c: Likewise.
10262 * stdlib/tst-rand48.c: Likewise.
10263 * stdlib/tst-random2.c: Likewise.
10264 * stdlib/tst-random.c: Likewise.
10265 * stdlib/tst-strtol.c: Likewise.
10266 * stdlib/tst-strtoll.c: Likewise.
10267 * stdlib/tst-tls-atexit.c: Likewise.
10268 * stdlib/tst-xpg-basename.c: Likewise.
10269 * string/test-ffs.c: Likewise.
10270 * string/tst-bswap.c: Likewise.
10271 * string/tst-inlcall.c: Likewise.
10272 * string/tst-strtok.c: Likewise.
10273 * string/tst-strxfrm.c: Likewise.
10274 * sysdeps/x86_64/tst-audit10.c: Likewise.
10275 * sysdeps/x86_64/tst-audit3.c: Likewise.
10276 * sysdeps/x86_64/tst-audit4.c: Likewise.
10277 * sysdeps/x86_64/tst-audit5.c: Likewise.
10278 * time/tst-ftime_l.c: Likewise.
10279 * time/tst-getdate.c: Likewise.
10280 * time/tst-mktime3.c: Likewise.
10281 * time/tst-mktime.c: Likewise.
10282 * time/tst-posixtz.c: Likewise.
10283 * time/tst-strptime2.c: Likewise.
10284 * time/tst-strptime3.c: Likewise.
10285 * wcsmbs/tst-btowc.c: Likewise.
10286 * wcsmbs/tst-mbrtowc.c: Likewise.
10287 * wcsmbs/tst-mbsrtowcs.c: Likewise.
10288 * wcsmbs/tst-wchar-h.c: Likewise.
10289 * wcsmbs/tst-wcpncpy.c: Likewise.
10290 * wcsmbs/tst-wcrtomb.c: Likewise.
10291 * wcsmbs/tst-wcsnlen.c: Likewise.
10292 * wcsmbs/tst-wcstof.c: Likewise.
10293
2004e7fb
JM
102942014-11-04 Joseph Myers <joseph@codesourcery.com>
10295
ab97ee8f
JM
10296 [BZ #14132]
10297 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
10298 INTDEF.
10299 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
10300 declaration.
10301 (_dl_mcount): Use rtld_hidden_proto.
10302 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
10303 _dl_mcount.
10304 * elf/rtld.c (_rtld_global_ro): Likewise.
10305
c5684fdb
JM
10306 [BZ #14132]
10307 * elf/dl-init.c (_dl_init): Don't use INTDEF.
10308 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
10309 of _dl_init_internal.
10310 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
10311 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
10312 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
10313 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
10314 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
10315 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
10316 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
10317 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
10318 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
10319 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
10320 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
10321 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
10322 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10323 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10324 * sysdeps/tile/dl-start.S (_start): Likewise.
10325 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
10326 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
10327
4243cbea
JM
10328 [BZ #14132]
10329 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
10330 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
10331 (rtld_progname): Make macro definition unconditional.
10332 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
10333 INTDEF.
10334 (dlmopen_doit): Do not use INTUSE with _dl_argv.
10335 (dl_main): Likewise.
10336 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10337 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
10338 instead of _dl_argv_internal.
10339 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10340 __GI__dl_argv instead of INTUSE(_dl_argv).
10341 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
10342 __GI__dl_argv instead of _dl_argv_internal.
10343
2004e7fb
JM
10344 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
10345 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
10346 macro.
10347 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
10348 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
10349 New macro.
10350 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
10351 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
10352 macro.
10353 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
10354 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
10355
97827bfc
AS
103562014-11-04 Andreas Schwab <schwab@suse.de>
10357
10358 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
10359
5e4df284
AZ
103602014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10361
10362 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
10363 mtvsrd instruction in binary form.
10364
04b76b5a
AS
103652014-11-03 Andreas Schwab <schwab@suse.de>
10366
10367 [BZ #17522]
10368 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
10369 for less than MB_LEN_MAX use a local buffer of that size.
10370 * libio/tst-fputws.c: New file.
10371 * libio/Makefile (tests): Add tst-fputws.
10372
4c6da7da
JM
103732014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
10374
10375 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
10376 the size of the fpu_fr.fpu_dregs[] array.
10377
1679ba8e
JM
103782014-11-01 Joseph Myers <joseph@codesourcery.com>
10379
10380 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
10381 (__nanosleep): Do not define as alias.
10382 (nanosleep): Define as alias of __nanosleep.
10383 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
10384 __libc_nanosleep name.
10385
2626c183
JM
103862014-10-31 Joseph Myers <joseph@codesourcery.com>
10387
10388 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
10389 install.texi in comment.
10390
7f981fc2
TR
103912014-10-31 Torvald Riegel <triegel@redhat.com>
10392
10393 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
10394 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
10395 ... add here and use lwsync or sync ...
10396 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
10397 ... and add here using lwsync.
10398
d6f373d2
MF
103992014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
10400
10401 * elf/dl-machine-reject-phdr.h: New file.
10402 * elf/dl-load.c: #include that.
10403 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
10404 if that returned true.
10405
67c37987
RM
104062014-10-31 Roland McGrath <roland@hack.frob.com>
10407
10408 [BZ #17496]
10409 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
10410 gen-as-const-headers chunk. Add a big scare comment after the last
10411 safe place to touch before-compile.
10412
94a42455 104132014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 10414
f3f5d895
JM
10415 * manual/install.texi (Tools for Compilation): Update autoconf
10416 version requirements.
10417 * INSTALL: Regenerated.
10418
f62ff286
JM
10419 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
10420 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
10421 (__libc_pselect): Likewise.
94a42455
JM
10422
10423 [BZ #14138]
10424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
10425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10428
ff9dbdc0
TR
104292014-10-31 Torvald Riegel <triegel@redhat.com>
10430
10431 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
10432 correct barrier instruction.
10433 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
10434 Likewise.
10435 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
10436 Likewise.
10437
b4f66884
RM
104382014-10-30 Roland McGrath <roland@hack.frob.com>
10439
10440 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
10441 after defining inlines. Instead, just use parens to defeat macro
10442 expansion of __isctype in its declaration.
10443
e19c95fd
JM
104442014-10-30 Joseph Myers <joseph@codesourcery.com>
10445
10446 * include/sys/uio.h (__libc_readv): Remove declaration.
10447 (__libc_writev): Likewise.
10448 * misc/readv.c (__libc_readv): Rename to __readv.
10449 (__readv): Do not define as alias.
10450 (readv): Define as alias of __readv.
10451 * misc/writev.c (__libc_writev): Rename to __writev.
10452 (__writev): Do not define as alias.
10453 (writev): Define as alias of __writev.
10454 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
10455 (__readv): Do not define as alias.
10456 (readv): Define unconditionally as alias of __readv.
10457 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
10458 (__writev): Do not define as alias.
10459 (writev): Define unconditionally as alias of __writev.
10460 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
10461 name.
10462 (writev): Do not define __libc_writev name.
10463
65b00b6c
RM
104642014-10-30 Roland McGrath <roland@hack.frob.com>
10465
10466 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
10467 (convert_charseq): New function, broken out of ...
10468 (use_from_charmap): ... here. Call it.
10469 (use_to_charmap): Use convert_charseq and free instead of duplicating
10470 its code with a variable-length stack struct.
10471
d4e157aa
JM
104722014-10-30 Joseph Myers <joseph@codesourcery.com>
10473
10474 * include/fcntl.h (__libc_creat): Remove declaration.
10475 * io/creat.c (__libc_creat): Rename to creat.
10476 (creat): Do not define as alias.
10477 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
10478 of creat instead of __libc_creat.
10479 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
10480 to creat.
10481 (creat): Do not define as alias.
10482 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
10483 __libc_creat.
10484 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
10485 __libc_creat name.
10486 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
10487 Likewise.
10488
0c6891a0
CD
104892014-10-29 Carlos O'Donell <carlos@redhat.com>
10490
10491 * manual/llio.texi: Add comments discussing why write() may be
10492 considered MT-unsafe on Linux.
10493
cc00cece
CD
104942014-10-28 Carlos O'Donell <carlos@redhat.com>
10495
10496 * dl-load.c (local_strdup): Remove.
10497 (expand_dynamic_string_token): Use __strdup.
10498 (decompose_rpath): Likewise.
10499 (_dl_map_object): Likewise.
10500
51e623f2
JM
105012014-10-28 Joseph Myers <joseph@codesourcery.com>
10502
10503 [BZ #14132]
10504 * sysdeps/generic/unwind-dw2-fde.c
10505 (__register_frame_info_bases_internal): Do not declare.
10506 (__register_frame_info_table_bases_internal): Likewise.
10507 (__deregister_frame_info_bases_internal): Likewise.
10508 (__register_frame_info_bases): Declare and use hidden_proto before
10509 definition. Use hidden_def instead of INTDEF.
10510 (__register_frame_info_table_bases): Likewise.
10511 (__deregister_frame_info_bases): Likewise.
10512 (__register_frame_info): Do not use INTUSE.
10513 (__register_frame): Likewise.
10514 (__register_frame_info_table): Likewise.
10515 (__register_frame_table): Likewise.
10516 (__deregister_frame_info): Likewise.
10517 (__deregister_frame): Likewise.
10518
03d41216
GC
105192014-10-27 Gratian Crisan <gratian.crisan@ni.com>
10520
10521 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10522 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
10523 not undefine.
10524 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
10525 Likewise.
10526 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
10527 Likewise.
10528
a4b3624d
JM
105292014-10-27 Joseph Myers <joseph@codesourcery.com>
10530
10531 [BZ #14138]
10532 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
10533 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
10534 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
10535 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
10536 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
10537 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
10538 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
10539 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
10540 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
10541 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
10542 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
10543 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
10544 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
10545 syscall.
10546 (setfsuid): Likewise.
10547 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
10548 (setfsuid): Likewise.
10549 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
10550 (setfsuid): Likewise.
10551 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
10552 Likewise.
10553 (setfsuid): Likewise.
10554 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
10555 (setfsuid): Likewise.
10556 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
10557 Likewise.
10558 (setfsuid): Likewise.
10559
3574f2fd
AS
105602014-10-27 Andreas Schwab <schwab@suse.de>
10561
10562 [BZ #17501]
10563 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
10564 check for Slow_SSE4_2 feature bit.
10565 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
10566 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10567 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
10568 Likewise. Fix check for Fast_Unaligned_Load feature bit.
10569
70996a37
RM
105702014-10-24 Roland McGrath <roland@hack.frob.com>
10571
461a7b1e
RM
10572 * configure.ac: Validate compiler version with a empirical test of
10573 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
10574 $CC -v output.
10575 * configure: Regenerated.
10576
70996a37
RM
10577 * inet/htons.c (htons): Prototypify.
10578 * inet/htonl.c (htonl): Likewise.
10579
e80514b5
WD
105802014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10581
10582 * string/strncat.c (strncat): Improve performance by using strlen.
10583
6e46de42
WD
105842014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10585
10586 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
10587
6a9ad2fa
WD
105882014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10589
10590 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
10591 Call libc_fetestexcept_aarch64.
10592
1c8810ed
WD
105932014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10594
10595 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
10596 Call libc_feholdexcept_aarch64.
10597
8b1af712
WD
105982014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10599
10600 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
10601 Call get_rounding_mode.
10602
a7b00c11
WD
106032014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10604
10605 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10606 Simplify logic.
10607
3a84f1a6
WD
106082014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
10609
10610 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
10611 Simplify logic.
10612
48eb7a94
JM
106132014-10-24 Joseph Myers <joseph@codesourcery.com>
10614
c8bc4038
JM
10615 [BZ #14138]
10616 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
10617 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
10618 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
10619 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
10620 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
10621 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
10622 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
10623 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
10624 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
10625 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
10626 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10627 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
10628 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
10629 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
10630 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
10631 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
10632 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
10633 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
10634 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
10635 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
10636 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
10637 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
10638 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
10639 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
10640 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
10641 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
10642 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
10643 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
10644 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
10645 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
10646 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
10647 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
10648 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
10649 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
10650 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
10651 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
10652 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
10653 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
10654 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
10655 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
10656 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
10657 syscall.
10658 (geteuid): Likewise.
10659 (getgid): Likewise.
10660 (getuid): Likewise.
10661 (getresgid): Likewise.
10662 (getresuid): Likewise.
10663 (getgroups): Likewise.
10664 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
10665 (geteuid): Likewise.
10666 (getgid): Likewise.
10667 (getuid): Likewise.
10668 (getresgid): Likewise.
10669 (getresuid): Likewise.
10670 (getgroups): Likewise.
10671 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
10672 (geteuid): Likewise.
10673 (getgid): Likewise.
10674 (getuid): Likewise.
10675 (getresgid): Likewise.
10676 (getresuid): Likewise.
10677 (getgroups): Likewise.
10678 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
10679 Likewise.
10680 (geteuid): Likewise.
10681 (getgid): Likewise.
10682 (getuid): Likewise.
10683 (getresgid): Likewise.
10684 (getresuid): Likewise.
10685 (getgroups): Likewise.
10686 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
10687 (geteuid): Likewise.
10688 (getgid): Likewise.
10689 (getuid): Likewise.
10690 (getresgid): Likewise.
10691 (getresuid): Likewise.
10692 (getgroups): Likewise.
10693 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
10694 Likewise.
10695 (geteuid): Likewise.
10696 (getgid): Likewise.
10697 (getuid): Likewise.
10698 (getgroups): Likewise.
10699
48eb7a94
JM
10700 [BZ #14138]
10701 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
10702 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
10703 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
10704 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10705 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
10706 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
10707 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
10708 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
10709 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
10710 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
10711 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
10712 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
10713 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
10714 __chown.
10715 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
10716 (lchown): Likewise.
10717 (fchown): Likewise.
10718 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
10719 Likewise.
10720 (lchown): Likewise.
10721 (fchown): Likewise.
10722 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
10723 (lchown): Likewise.
10724 (fchown): Likewise.
10725 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
10726 Likewise.
10727 (lchown): Likewise.
10728 (fchown): Likewise.
10729
ea9a7c8b
WD
107302014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10731
10732 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
10733 Simplify logic.
10734
e226de33
WD
107352014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10736
10737 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10738 Cleanup logic.
10739
6e3d8ed3
WD
107402014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10741
10742 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10743 Remove unused include.
10744
eb04247d
WD
107452014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
10746
10747 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
10748 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
10749 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
10750 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
10751
13d84554
CD
107522014-10-23 Carlos O'Donell <carlos@systemhalted.org>
10753 Helge Deller <deller@gmx.de>
10754
10755 [BZ #17508]
10756 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
10757 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
10758 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
10759
15f9c5df
JM
107602014-10-23 Joseph Myers <joseph@codesourcery.com>
10761
10762 [BZ #14132]
10763 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
10764 Remove macro definition.
10765 (__ashrdi3_v_glibc20): Likewise.
10766 (__lshrdi3_v_glibc20): Likewise.
10767 (__cmpdi2_v_glibc20): Likewise.
10768 (__ucmpdi2_v_glibc20): Likewise.
10769 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
10770 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10771 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10772 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10773 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10774 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
10775
c6dfed24
RM
107762014-10-22 Roland McGrath <roland@hack.frob.com>
10777
10778 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
10779 old GNU extension [0] syntax.
10780 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
10781 alloca rather than an array member with variable length.
10782 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
10783 * nscd/nscd.c (invalidate_db): New function, broken out of ...
10784 (parse_opt): ... here. Likewise use alloca there.
10785 Validate the -i argument before checking for rootness.
10786 (send_shutdown): New function, broken out of ...
10787 (parse_opt): ... here.
10788
8c2b1ed8
RM
107892014-10-22 Roland McGrath <roland@hack.frob.com>
10790
10791 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
10792 macro to get at the _rt_local_ro field.
10793 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
10794 ([PIC] case) or _dl_hwcap ([!PIC] case).
10795 * sysdeps/arm/setjmp.S: Likewise.
10796
10797 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
10798 * sysdeps/arm/configure.ac: New check to define it.
10799 * sysdeps/arm/configure: Regenerated.
10800 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
10801 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
10802 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
10803 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
10804 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
10805 Use move/movt pair instead of a load.
10806 (LDST_GLOBAL): Macro removed.
10807 (LDR_GLOBAL): New macro replaces it.
10808 (LDR_HIDDEN): New macro.
10809 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
10810 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
10811
10812 * setjmp/tst-setjmp-static.c: New file.
10813 * setjmp/Makefile (tests): Add it.
10814 (tests-static): New variable.
10815
b5af9297
MR
108162014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
10817
10818 [BZ #17485]
10819 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
10820
a13d0d74
JM
108212014-10-21 Joseph Myers <joseph@codesourcery.com>
10822
10823 [BZ #14132]
10824 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
10825
f05e73f6
RM
108262014-10-21 Roland McGrath <roland@hack.frob.com>
10827
10828 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
10829
6ab1d1ea
RM
108302014-10-20 Roland McGrath <roland@hack.frob.com>
10831
10832 * io/fts.c (dirent_not_directory): New function.
10833 (fts_build): Call it.
10834
ab49e763
RM
108352014-10-20 Roland McGrath <roland@hack.frob.com>
10836
e436eb79
RM
10837 * nptl/version.c (__nptl_main): Use normal __write rather than
10838 INTERNAL_SYSCALL.
10839 (banner): Update copyright years.
10840
6af246cf
RM
10841 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
10842 gettimeofday.
10843 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10844 * nptl/pthread_cond_timedwait.c: Likewise.
10845 * nptl/pthread_mutex_timedlock.c: Likewise.
10846 * nptl/sem_timedwait.c: Likewise.
10847
ab49e763
RM
10848 * sysdeps/nptl/bits/libc-lock.h
10849 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10850 (__libc_lock_init_recursive): Return void, not 0.
10851 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
10852 (__libc_rwlock_init): Likewise.
10853 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
10854
f50277c1
TR
108552014-10-20 Torvald Riegel <triegel@redhat.com>
10856
10857 [BZ #15215]
10858 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
10859 (__pthread_once_slow): ... here.
10860 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
10861 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
10862
63668b70
TR
108632014-10-20 Torvald Riegel <triegel@redhat.com>
10864
10865 [BZ #15215]
10866 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
10867 __PTHREAD_ONCE_FORK_GEN_INCR): New.
10868 * sysdeps/nptl/fork.c (__libc_fork): Use them.
10869 * nptl/pthread_once.c (__pthread_once): Likewise.
10870 Update comments.
10871
42b7f5d4
JM
108722014-10-20 Joseph Myers <joseph@codesourcery.com>
10873
10874 [BZ #14138]
10875 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
10876 name.
10877 (writev): Use __libc_writev as strong name.
10878 * sysdeps/unix/sysv/linux/readv.c: Remove file.
10879 * sysdeps/unix/sysv/linux/writev.c: Likewise.
10880
b0643088
RM
108812014-10-17 Roland McGrath <roland@hack.frob.com>
10882
114c4e09
RM
10883 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
10884
674b8978
RM
10885 * sysdeps/i386/nptl/tls.h
10886 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
10887 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
10888 New macros.
10889 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
10890 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
10891 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
10892 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
10893 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
10894 Call CHECK_THREAD_SYSINFO instead of doing an assert.
10895
184ee940
RM
10896 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10897 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
10898 on [__NR_futex].
10899 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
10900 broken out of ...
10901 (__pthread_mutex_init): ... here. Call it.
10902 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
10903 Conditionalize PI cases on [__NR_futex].
10904 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10905 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
10906 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10907
327ae257
RM
10908 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
10909 conditional on [SIGSETXID].
10910 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
10911 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
10912 is defined. Likewise for SIGSETXID.
10913 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
10914 Conditionalize definitions on [SIGSETXID].
10915 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
10916 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
10917 unblocking on [SIGCANCEL].
10918
b0643088
RM
10919 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
10920 [__NR_set_robust_list].
10921
33cc770b
SP
109222014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10923
10924 * string/strcoll_l.c (get_next_seq): Fix up formatting.
10925 (do_compare): Likewise.
10926
0742aef6
LH
109272014-10-17 Leonhard Holz <leonhard.holz@web.de>
10928
10929 [BZ #15884]
10930 * string/strcoll_l.c: Don't include stdio.h.
10931 (coll_seq): Remove members idxarr and rulearr.
10932 (get_next_seq_cached): Remove function.
10933 (get_next_seq): Likewise.
10934 (get_next_seq_nocache): Rename to get_next_seq.
10935 (do_compare): Remove function.
10936 (do_compare_nocache): Rename to do_compare.
10937 (STRCOLL): Remove weight and rules cache.
10938
ee54ce44
RM
109392014-10-16 Roland McGrath <roland@hack.frob.com>
10940
10941 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
10942 * sysdeps/arm/sfp-machine.h: ... to here.
10943 * sysdeps/arm/Implies: Remove arm/soft-fp.
10944
a75d3b02
JM
109452014-10-14 Joseph Myers <joseph@codesourcery.com>
10946
10947 * conform/data/sys/utsname.h-data (*_t): Allow.
10948 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
10949 [POSIX] (WEXITED): Do not expect constant.
10950 [POSIX] (WSTOPPED): Likewise.
10951 [POSIX] (WNOHANG): Likewise.
10952 [POSIX] (WNOWAIT): Likewise.
10953 [POSIX] (siginfo_t): Do not expect type or elements.
10954 [POSIX] (pid_t): Do not expect type.
10955 [POSIX] (signal.h): Do not allow header.
10956 [POSIX] (sys/resource.h): Likewise.
10957 [POSIX] (si_*): Do not allow pattern.
10958 [POSIX] (W*): Likewise.
10959 [POSIX] (P_*): Likewise.
10960 [POSIX] (BUS_*): Likewise.
10961 [POSIX] (CLD_*): Likewise.
10962 [POSIX] (FPE_*): Likewise.
10963 [POSIX] (ILL_*): Likewise.
10964 [POSIX] (POLL_*): Likewise.
10965 [POSIX] (SEGV_*): Likewise.
10966 [POSIX] (SI_*): Likewise.
10967 [POSIX] (TRAP_*): Likewise.
10968 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
10969 variable.
10970
fda389c8
SP
109712014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
10972
10973 [BZ #12926]
10974 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
10975 infinite loop when __recvmsg returns 0.
10976
6bc6bd3b
JM
109772014-10-10 Joseph Myers <joseph@codesourcery.com>
10978
fcb32af1
JM
10979 * CANCEL-FCT-WAIVE: Remove file.
10980 * CANCEL-FILE-WAIVE: Likewise.
10981
6bc6bd3b
JM
10982 [BZ #14132]
10983 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
10984 instead of INTVARDEF.
10985 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10986 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
10987 rtld_hidden_data_def instead of INTVARDEF.
10988 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10989 * elf/dl-deps.c (expand_dst): Likewise.
10990 * elf/dl-load.c (_dl_dst_count): Likewise.
10991 (_dl_dst_substitute): Likewise.
10992 (decompose_rpath): Likewise.
10993 (_dl_init_paths): Likewise.
10994 (open_path): Likewise.
10995 (_dl_map_object): Likewise.
10996 * elf/rtld.c (dl_main): Likewise.
10997 (process_dl_audit): Likewise.
10998 (process_envvars): Likewise.
10999 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
11000 Remove declaration.
11001 (__libc_enable_secure): Use rtld_hidden_proto.
11002
b8c80a7e
KS
110032014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11004
11005 * elf/dl-load.c
11006 (add_path): New function broken out of _dl_rtld_di_serinfo.
11007 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
11008
ff12c11f
JM
110092014-10-09 Joseph Myers <joseph@codesourcery.com>
11010
5c0508a3
JM
11011 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
11012 parentheses around macro arguments.
11013 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
11014 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
11015 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
11016 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
11017 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
11018 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11019 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11020 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
11021 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
11022 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
11023 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
11024 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
11025 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
11026 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
11027 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
11028 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
11029 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
11030 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
11031 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
11032 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
11033 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
11034 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
11035 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
11036 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11037 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11038 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
11039 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
11040 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
11041 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
11042 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
11043 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
11044 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
11045 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
11046 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
11047 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
11048 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
11049 Likewise.
11050 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
11051 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11052 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11053 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
11054 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
11055 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
11056 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
11057 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
11058 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
11059 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
11060 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
11061 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
11062 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
11063 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
11064 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
11065 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11066 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11067 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
11068 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
11069 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
11070 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
11071 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
11072 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
11073 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
11074 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
11075 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
11076 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
11077 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
11078 (_FP_FRAC_SRS_1): Likewise.
11079 (_FP_FRAC_CLZ_1): Likewise.
11080 (_FP_MUL_MEAT_1_imm): Likewise.
11081 (_FP_MUL_MEAT_1_wide): Likewise.
11082 (_FP_MUL_MEAT_1_hard): Likewise.
11083 (_FP_SQRT_MEAT_1): Likewise.
11084 (_FP_FRAC_ASSEMBLE_1): Likewise.
11085 (_FP_FRAC_DISASSEMBLE_1): Likewise.
11086 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
11087 (__FP_CLZ_2): Likewise.
11088 (_FP_MUL_MEAT_2_wide): Likewise.
11089 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
11090 (_FP_MUL_MEAT_2_gmp): Likewise.
11091 (_FP_MUL_MEAT_2_120_240_double): Likewise.
11092 (_FP_SQRT_MEAT_2): Likewise.
11093 (_FP_FRAC_ASSEMBLE_2): Likewise.
11094 (_FP_FRAC_DISASSEMBLE_2): Likewise.
11095 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
11096 (_FP_FRAC_CLZ_4): Likewise.
11097 (_FP_MUL_MEAT_4_wide): Likewise.
11098 (_FP_MUL_MEAT_4_gmp): Likewise.
11099 (_FP_SQRT_MEAT_4): Likewise.
11100 (_FP_FRAC_ASSEMBLE_4): Likewise.
11101 (_FP_FRAC_DISASSEMBLE_4): Likewise.
11102 * soft-fp/op-common.h (_FP_CMP): Likewise.
11103 (_FP_CMP_EQ): Likewise.
11104 (_FP_CMP_UNORD): Likewise.
11105 (_FP_TO_INT): Likewise.
11106 (_FP_FROM_INT): Likewise.
11107 [!__FP_CLZ] (__FP_CLZ): Likewise.
11108 (_FP_DIV_HELP_imm): Likewise.
11109 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
11110 Likewise.
11111 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
11112 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
11113 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
11114 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
11115 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
11116 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11117 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11118 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
11119 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
11120 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
11121 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
11122 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
11123 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
11124 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
11125 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
11126 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
11127 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
11128 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
11129 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
11130 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
11131 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
11132 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
11133 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
11134 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11135 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11136 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
11137 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
11138 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
11139 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
11140 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
11141 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
11142 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
11143 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
11144 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
11145 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
11146 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
11147 (FP_UNPACK_RAW_SP): Likewise.
11148 (FP_PACK_RAW_S): Likewise.
11149 (FP_PACK_RAW_SP): Likewise.
11150 (FP_UNPACK_S): Likewise.
11151 (FP_UNPACK_SP): Likewise.
11152 (FP_UNPACK_SEMIRAW_S): Likewise.
11153 (FP_UNPACK_SEMIRAW_SP): Likewise.
11154 (FP_PACK_S): Likewise.
11155 (FP_PACK_SP): Likewise.
11156 (FP_PACK_SEMIRAW_S): Likewise.
11157 (FP_PACK_SEMIRAW_SP): Likewise.
11158 (_FP_SQRT_MEAT_S): Likewise.
11159 (FP_CMP_S): Likewise.
11160 (FP_CMP_EQ_S): Likewise.
11161 (FP_CMP_UNORD_S): Likewise.
11162 (FP_TO_INT_S): Likewise.
11163 (FP_FROM_INT_S): Likewise.
11164
a736ec37
JM
11165 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
11166
ff12c11f
JM
11167 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
11168 (FP_EX_INVALID_IMZ): Likewise.
11169 (FP_EX_INVALID_IMZ_FMA): Likewise.
11170 (FP_EX_INVALID_ISI): Likewise.
11171 (FP_EX_INVALID_ZDZ): Likewise.
11172 (FP_EX_INVALID_IDI): Likewise.
11173 (FP_EX_INVALID_SQRT): Likewise.
11174 (FP_EX_INVALID_CVI): Likewise.
11175 (FP_EX_INVALID_VC): Likewise.
11176 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
11177 "invalid" exceptions.
11178 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
11179 (_FP_ADD_INTERNAL): Likewise.
11180 (_FP_MUL): Likewise.
11181 (_FP_FMA): Likewise.
11182 (_FP_DIV): Likewise.
11183 (_FP_CMP_CHECK_NAN): Likewise.
11184 (_FP_SQRT): Likewise.
11185 (_FP_TO_INT): Likewise.
11186 (FP_EXTEND): Likewise.
11187
b6dcfe8c
AM
111882014-10-09 Allan McRae <allan@archlinux.org>
11189
11190 * po/fr.po: Update French translation from translation project.
11191
2d6a47ba
JM
111922014-10-09 Joseph Myers <joseph@codesourcery.com>
11193
cb831245
JM
11194 [BZ #14132]
11195 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
11196 of INTDEF.
11197 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
11198 (__cxa_atexit): Use libc_hidden_proto.
11199 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
11200
5deeb190
JM
11201 [BZ #14132]
11202 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
11203 declaration.
11204 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
11205 [!_ISOMAC] (__iswspace_l_internal): Likewise.
11206 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
11207 [!_ISOMAC] (__iswctype_internal): Likewise.
11208 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
11209 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
11210 alias.
11211 (fcntl): Remove __fcntl_internal alias.
11212 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
11213 __connect_internal alias.
11214 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
11215 Likewise.
11216
454ac701
JM
11217 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
11218 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
11219 FP_DENORM_ZERO.
11220 (_FP_CHECK_FLUSH_ZERO): New macro.
11221 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
11222 (_FP_CMP): Likewise.
11223 (_FP_CMP_EQ): Likewise.
11224 (_FP_TO_INT): Do not set inexact for subnormal arguments if
11225 FP_DENORM_ZERO.
11226 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
11227 (FP_TRUNC): Likewise.
11228
0022e688
JM
11229 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
11230 treated as invalid conversion, not as normal exponent.
11231
73e28d9c
JM
11232 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
11233 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
11234 (_FP_CMP_EQ): Likewise.
11235 (_FP_CMP_UNORD): Likewise.
11236 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
11237 (FP_CMP_EQ_D): Likewise.
11238 (FP_CMP_UNORD_D): Likewise.
11239 * soft-fp/extended.h (FP_CMP_E): Likewise.
11240 (FP_CMP_EQ_E): Likewise.
11241 (FP_CMP_UNORD_E): Likewise.
11242 * soft-fp/quad.h (FP_CMP_Q): Likewise.
11243 (FP_CMP_EQ_Q): Likewise.
11244 (FP_CMP_UNORD_Q): Likewise.
11245 * soft-fp/single.h (FP_CMP_S): Likewise.
11246 (FP_CMP_EQ_S): Likewise.
11247 (FP_CMP_UNORD_S): Likewise.
11248 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
11249 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
11250 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
11251 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
11252 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
11253 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
11254 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
11255 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
11256 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
11257 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
11258 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
11259 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
11260 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
11261 to FP_CMP_Q.
11262 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
11263 FP_CMP_Q.
11264 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
11265 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
11266 FP_CMP_EQ_Q.
11267 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
11268 FP_CMP_Q.
11269 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
11270 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
11271 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
11272 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
11273 FP_CMP_EQ_Q.
11274 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
11275 FP_CMP_Q.
11276 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
11277 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
11278 FP_CMP_EQ_Q.
11279 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
11280 FP_CMP_Q.
11281 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
11282 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
11283 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
11284 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
11285 FP_CMP_EQ_Q.
11286
43059f42
JM
11287 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
11288 a subnormal result, set the underflow exception if trapping on
11289 underflow is enabled.
11290 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
11291 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
11292 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
11293 redefine to 0.
11294 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
11295 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11296 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11297 * soft-fp/extendxftf2.c (__extendxftf2): Use
11298 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
11299
2d6a47ba
JM
11300 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
11301 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
11302 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11303 FP_HANDLE_EXCEPTIONS.
11304 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
11305 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11306 FP_HANDLE_EXCEPTIONS.
11307 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
11308 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11309 FP_HANDLE_EXCEPTIONS.
11310 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
11311 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11312 FP_HANDLE_EXCEPTIONS.
11313
620f462e
JM
113142014-10-08 Joseph Myers <joseph@codesourcery.com>
11315
11316 [BZ #14132]
11317 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
11318 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
11319 use INTUSE.
11320 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
11321 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
11322 Remove alias.
11323 (__adjtimex): Define using libc_hidden_ver.
11324 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
11325 Remove declaration.
11326 (ntp_gettime): Call __adjtimex directly.
11327 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
11328 Remove declaration.
11329 (ntp_gettimex): Call __adjtimex directly.
11330 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
11331 __adjtimex_internal alias.
11332
c763c5d2
RM
113332014-10-08 Roland McGrath <roland@hack.frob.com>
11334
11335 [BZ #17460]
11336 * nscd/nscd.c (more_help): Rewrite list of tables collection
11337 using xstrdup and asprintf.
11338
11339 * nscd/nscd_conf.c: Remove local xstrdup declaration.
11340
7b8fb2b8
RM
113412014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11342 Roland McGrath <roland@hack.frob.com>
11343
11344 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
11345 (do_lookup_unique): ... local function 'enter' here; update callers.
11346
abb280f7
JM
113472014-10-06 Joseph Myers <joseph@codesourcery.com>
11348
f7b42517
JM
11349 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
11350 compat_symbol calls on [SHARED].
11351 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
11352 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
11353 Remove.
11354 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11355 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
11356 (oldsetrlimit): Remove.
11357 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11359 (lchown): New syscall entry.
11360 (oldsetrlimit): Remove.
11361 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11362 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
11363 (oldsetrlimit): Remove.
11364 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11365
abb280f7
JM
11366 [BZ #14138]
11367 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
11368 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
11369 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
11370 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
11371 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11372 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
11373 (fchown): Likewise.
11374 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
11375 (fchown): Likewise.
11376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
11377 Likewise.
11378
47d46237
AZ
113792014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11380
11381 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
11382 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
11383 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
11384 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
11385 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
11386 Likewise.
11387 (__old_sem_post): Likewise.
11388
113892014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 11390
845a7343
CM
11391 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
11392 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
11393 HAVE_CLOCK_GETTIME_VSYSCALL macros.
11394 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
11395 Use INLINE_VSYSCALL macro.
11396 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
11397 __vdso_clock_gettime.
11398 * sysdeps/unix/sysv/linux/tile/init-first.c
11399 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
11400 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
11401 __vdso_clock_gettime.
11402
83d641ef
CM
11403 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
11404 to set up frame more cleanly.
11405
d9cd52e6
CM
11406 * sysdeps/tile/memcmp.c: New file.
11407
4b68ea11
CM
11408 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
11409
c86f7b80
CM
11410 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
11411 * sysdeps/tile/tilegx/strcasestr.c: New file.
11412 * sysdeps/tile/tilegx/strnlen.c: New file.
11413 * sysdeps/tile/tilegx/strstr.c: New file.
11414
1c4c1a6f
CM
11415 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
11416
99d86ea3
AS
114172014-10-06 Arjun Shankar <arjun.is@lostca.se>
11418
11419 * nptl/tst-setuid3.c: Write errors to stdout.
11420
06210a44
KS
114212014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11422
11423 * elf/dl-deps.c
11424 (preload): New functions broken out of _dl_map_object_deps.
11425 (_dl_map_object_deps): Remove a nested function. Update call sites.
11426
6268f532
JM
114272014-10-01 Joseph Myers <joseph@codesourcery.com>
11428
11429 [BZ #14138]
11430 * sysdeps/unix/sysv/linux/execve.c: Remove file.
11431 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
11432
b925285f
SE
114332014-10-01 Steve Ellcey <sellcey@mips.com>
11434
11435 * sysdeps/mips/strcmp.S: New.
11436
754a15c6
JM
114372014-09-30 Joseph Myers <joseph@codesourcery.com>
11438
11439 [BZ #14138]
11440 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
11441 (linkat): Likewise.
11442 (mkdirat): Likewise.
11443 (readlinkat): Likewise.
11444 (renameat): Likewise.
11445 (symlinkat): Likewise.
11446 (unlinkat): Likewise.
11447 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
11448 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
11449 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
11450 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
11451 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11452 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
11453 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
11454
85bb81c9
WN
114552014-09-30 Will Newton <will.newton@linaro.org>
11456
dc6fe23b
WN
11457 * math/math.h: Define long double math functions if
11458 _LIBC_TEST is defined.
11459 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
11460
85bb81c9
WN
11461 * localedata/Makefile: Move assignment to tests-special
11462 into an ifdef testing run-built-tests.
11463 * timezone/Makefile: Likewise.
11464
b7e02da4
JM
114652014-09-29 Joseph Myers <joseph@codesourcery.com>
11466
11467 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
11468 with $(BASH) not $(SHELL).
11469
62058ce6
CD
114702014-09-29 Carlos O'Donell <carlos@redhat.com>
11471 Matthew LeGendre <legendre1@llnl.gov>
11472
11473 [BZ #17411]
11474 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
11475 l_reloc_result.
11476
8e257a29
KS
114772014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11478
11479 * stdio-common/printf_fp.c
11480 (hack_digit): New function, broken out of ...
11481 (__printf_fp): ... local function here. Update call sites.
11482 hack_digit now takes an additional parameter that is a pointer
11483 to a struct of the referenced locals. Those locals moved inside
11484 the struct and references updated.
11485
f4a58f0d
L
114862014-09-29 H.J. Lu <hongjiu.lu@intel.com>
11487
11488 * aclocal.m4: Require autoconf 2.69.
11489 * configure: Regenerated.
11490 * sysdeps/aarch64/configure: Likewise.
11491 * sysdeps/alpha/configure: Likewise.
11492 * sysdeps/arm/armv7/configure: Likewise.
11493 * sysdeps/arm/configure: Likewise.
11494 * sysdeps/ia64/configure: Likewise.
11495 * sysdeps/mach/configure: Likewise.
11496 * sysdeps/mips/configure: Likewise.
11497 * sysdeps/s390/configure: Likewise.
11498 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
11499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
11500
11501 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
11502 file.
11503 * sysdeps/ia64/configure.ac: Likewise.
11504
93ae1eba
JM
115052014-09-26 Joseph Myers <joseph@codesourcery.com>
11506
1810d3ab
JM
11507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
11508 specify symbol version for ld.so. Do not include entry for
11509 libpthread.
11510 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11511 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11512 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11513
93ae1eba
JM
11514 [BZ #14171]
11515 * Makeconfig [$(build-shared) = yes]
11516 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
11517 makefiles.
11518 [$(build-shared) = yes && $(soversions.mk-done) = t]
11519 ($(common-objpfx)gnu/lib-names.h): Remove rule.
11520 [$(build-shared) = yes && $(soversions.mk-done) = t]
11521 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
11522 to Makerules.
11523 [$(build-shared) = yes && $(soversions.mk-done) = t]
11524 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
11525 here.
11526 [$(build-shared) = yes && $(soversions.mk-done) = t]
11527 (common-generated): Don't append gnu/lib-names.h and
11528 gnu/lib-names.stmp here.
11529 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
11530 (lib-names-h-abi): New variable.
11531 [$(build-shared) = yes && $(soversions.mk-done) = t]
11532 (lib-names-stmp-abi): Likewise.
11533 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11534 abi-variants] (before-compile): Append
11535 $(common-objpfx)$(lib-names-h-abi).
11536 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11537 abi-variants] (common-generated): Append gnu/lib-names.h.
11538 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11539 abi-variants] (install-others-nosubdir): Depend on
11540 $(inst_includedir)/$(lib-names-h-abi).
11541 [$(build-shared) = yes && $(soversions.mk-done) = t &&
11542 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
11543 [$(build-shared) = yes && $(soversions.mk-done) = t]
11544 ($(common-objpfx)$(lib-names-h-abi)): New rule.
11545 [$(build-shared) = yes && $(soversions.mk-done) = t]
11546 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
11547 [$(build-shared) = yes && $(soversions.mk-done) = t]
11548 (common-generated): Append $(lib-names-h-abi) and
11549 $(lib-names-stmp-abi).
11550 * scripts/lib-names.awk: Do not handle multi being set.
11551 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
11552 Remove variable.
11553 (abi-lp64_be-ld-soname): Likewise.
11554 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
11555 Likewise.
11556 (abi-hard-ld-soname): Likewise.
11557 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
11558 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
11559 Remove variable.
11560 (abi-o32_hard-ld-soname): Likewise.
11561 (abi-o32_soft_2008-ld-soname): Likewise.
11562 (abi-o32_hard_2008-ld-soname): Likewise.
11563 (abi-n32_soft-ld-soname): Likewise.
11564 (abi-n32_hard-ld-soname): Likewise.
11565 (abi-n32_soft_2008-ld-soname): Likewise.
11566 (abi-n32_hard_2008-ld-soname): Likewise.
11567 (abi-n64_soft-ld-soname): Likewise.
11568 (abi-n64_hard-ld-soname): Likewise.
11569 (abi-n64_soft_2008-ld-soname): Likewise.
11570 (abi-n64_hard_2008-ld-soname): Likewise.
11571 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
11572 Likewise.
11573 (abi-64-v2-ld-soname): Likewise.
11574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
11575 ld.so entries.
11576 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
11577 variable.
11578 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
11579 entry.
11580 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
11581 variable.
11582 (abi-64-ld-soname): Likewise.
11583 (abi-x32-ld-soname): Likewise.
11584 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
11585 entry.
11586 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11587
68870f12
JM
115882014-09-23 Joseph Myers <joseph@codesourcery.com>
11589
11590 [BZ #14138]
11591 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
11592 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
11593 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
11594 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
11595 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
11596 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
11597 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
11598 syscall entry for GLIBC_2.2 symbol version.
11599 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
11600 Likewise.
11601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11602 (setrlimit): Likewise.
11603 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
11604 Likewise.
11605
ea58f202
WN
116062014-09-23 Will Newton <will.newton@linaro.org>
11607
11608 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
11609 _LINUX_ARM_SYSDEP_H include guard too.
11610 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
11611 define.
11612
69eb9a18
RV
116132014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
11614
11615 * sysdeps/unix/sysv/linux/eventfd.c:
11616 Make first argument unsigned.
11617 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
11618 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
11619
20e5a5f7
OB
116202014-09-20 Ondřej Bílka <neleai@seznam.cz>
11621
11622 * socket/recvmmsg.c (recvmmsg): Drop const argument.
11623 * socket/sys/socket.h: Likewise
11624 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
11625
d3c827e7
AK
116262014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11627
11628 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
11629
fe1cc35a
AS
116302014-09-17 Arjun Shankar <arjun.is@lostca.se>
11631
11632 * time/tst-ftime.c: New test.
11633 * time/Makefile (tests): Add tst-ftime.
11634
4e8afe69
JM
116352014-09-17 Joseph Myers <joseph@codesourcery.com>
11636
c4fe3ea7
JM
11637 * soft-fp/extended.h: Fix comment formatting.
11638 * soft-fp/op-1.h: Likewise.
11639 * soft-fp/op-2.h: Likewise.
11640 * soft-fp/op-4.h: Likewise.
11641 * soft-fp/op-8.h: Likewise.
11642 * soft-fp/op-common.h: Likewise.
11643 * soft-fp/soft-fp.h: Likewise.
11644
4e8afe69
JM
11645 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
11646
af296fcd
JM
116472014-09-16 Joseph Myers <joseph@codesourcery.com>
11648
11649 [BZ #6652]
11650 * Makeconfig (soversions-default-setname): Remove variable.
11651 ($(common-objpfx)soversions.i): Don't pass default_setname to
11652 soversions.awk.
11653 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
11654 oldest_abi to abi-versions.awk.
11655 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
11656 * config.make.in (oldest-abi): Remove variable.
11657 * configure.ac (--enable-oldest-abi): Remove configure option.
11658 * configure: Regenerated.
11659 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
11660 text.
11661 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
11662 * scripts/soversions.awk: Do not handle default_setname variable.
11663 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
11664 variable.
11665 * sysdeps/mach/hurd/configure: Regenerated.
11666 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
11667 variable.
11668 * sysdeps/unix/sysv/linux/configure: Regenerated.
11669
545583d6
SP
116702014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11671
d330b980
SP
11672 * elf/Makefile (CFLAGS-interp.c): Remove.
11673 ($(elf-objpfx)runtime-linker.h): Generate header with linker
11674 path string.
11675 * elf/interp.c: Include generated runtime-linker.h
11676
02657da2
SP
11677 * Makerules (lib%.so): Don't include $(+interp) in
11678 prerequisites.
11679 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
11680 * dlfcn/eval.c: Remove file.
11681
653b1080
SP
11682 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
11683 macros.
11684
602f80ec
SP
11685 [BZ #17266]
11686 * misc/sys/cdefs.h: Define __extern_always_inline for clang
11687 4.2 and newer.
11688
545583d6
SP
11689 [BZ #17370]
11690 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
11691
884ddc50
SP
116922014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11693 Jakub Jelinek <jakub@redhat.com>
11694
11695 [BZ #17266]
11696 * libio/stdio.h: Check definition of __fortify_function
11697 instead of __extern_always_inline to include bits/stdio2.h.
11698 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
11699 check if __extern_always_inline is defined.
11700 [__USE_MISC || __USE_XOPEN]: Likewise.
11701 [__USE_ISOC99] Likewise.
11702 * misc/sys/cdefs.h (__fortify_function): Define only if
11703 __extern_always_inline is defined.
11704 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
11705 __extern_always_inline and __extern_inline only for g++-4.3
11706 and newer or a compatible gcc.
11707
a7b87268
AS
117082014-09-15 Andreas Schwab <schwab@linux-m68k.org>
11709
11710 [BZ #17371]
11711 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11712 last change to handle zero prefix length.
11713
3f41521d
SP
117142014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11715
61fe374a
SP
11716 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
11717 _SC_REGEX_VERSION.
11718
3f41521d
SP
11719 * posix/getconf.c (vars): Add _POSIX_IPV6 and
11720 _POSIX_RAW_SOCKETS.
11721
d8f879ee
AM
117222014-09-13 Allan McRae <allan@archlinux.org>
11723
11724 * po/ru.po: Update Russian translation from translation project.
11725
c079afb7
RM
117262014-09-12 Roland McGrath <roland@hack.frob.com>
11727
a62b3c15
RM
11728 * locale/programs/locale.c (show_locale_vars): Inline local function
11729 into its sole call site. Clean up some style nits.
11730 (print_item): New function, broken out of ...
11731 (show_info): ... local function here. Clean up style nits.
11732
d7e49b19
RM
11733 * locale/programs/ld-ctype.c (set_one_default): New function, broken
11734 out of ...
11735 (set_class_defaults): ... local function set_default here.
11736 Define set_default as a macro locally to pass constant parameters.
11737 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
11738 rather than a shared local.
11739
c079afb7
RM
11740 * stdlib/rpmatch.c (try): New function, broken out of ...
11741 (rpmatch): ... local function here. Also, prototypify definition.
11742
0bd72468
JM
117432014-09-12 Joseph Myers <joseph@codesourcery.com>
11744
ba90e050
JM
11745 * scripts/soversions.awk: Do not handle configuration names.
11746 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
11747 vendor and os variables to soversions.awk.
11748 * configure.ac: Do not modify gnu-* host_os.
11749 * configure: Regenerated
11750 * shlib-versions: Remove first column with configuration names.
11751 * nptl/shlib-versions: Likewise.
11752 * nptl_db/shlib-versions: Likewise.
11753 * sysdeps/hppa/shlib-versions: Likewise.
11754 * sysdeps/m68k/shlib-versions: Likewise.
11755 * sysdeps/mach/hurd/shlib-versions: Likewise.
11756 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
11757 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
11758 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
11759 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
11760 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
11761 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
11762 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
11763 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
11764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11765 Likewise.
11766 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11767 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11768 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11769 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11770 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11771 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
11772 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11773 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11774
73a39112
JM
11775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11776 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
11777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
11778 Regenerated.
11779 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
11780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11781 Condition symbol version definitions on [HAVE_ELFV2_ABI].
11782
c729e7c1
JM
11783 * shlib-versions: Remove OS-specific entries. Moved to files in
11784 sysdeps.
11785 * sysdeps/mach/hurd/shlib-versions: New file.
11786 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11787
dc932a24
JM
11788 * nptl/shlib-versions: Remove architecture-specific entries.
11789 Moved to files in sysdeps.
11790 * shlib-versions: Likewise.
11791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
11792 file.
11793 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11794 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11795 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11796 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11797
0bd72468
JM
11798 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
11799 (UDP_NO_CHECK6_RX): Likewise.
11800
920238e0
SP
118012014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11802
11803 * sysdeps/posix/sysconf.c (__sysconf): Spell
11804 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
11805
ba7b4d29
FW
118062014-08-12 Florian Weimer <fweimer@redhat.com>
11807
11808 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
11809 loading.
11810 * iconv/Versions (__gconv_transliterate): Export for use from
11811 gconv modules.
11812 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
11813 (struct __gconv_trans_data, __gconv_trans_fct,
11814 __gconv_trans_context_fct, __gconv_trans_query_fct,
11815 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
11816 definitions.
11817 (struct __gconv_step_data): Remove __trans member.
11818 (__gconv_transliterate): Declaration moved from gconv_int.h. No
11819 longer hidden. Remove unused trans_data argument.
11820 * iconv/gconv_int.h (struct trans_struct): Remove definition.
11821 (__gconv_translit_find): Remove declaration.
11822 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
11823 prototype.
11824 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
11825 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
11826 trans_data argument. Add hidden definition.
11827 (__gconv_translit_find): Remove.
11828 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
11829 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
11830 * iconv/skeleton.c: Remove transliteration initialization.
11831 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
11832 __gconv_step_data initialization.
11833 * libio/iofwide.c (__libio_translit_): Remove.
11834 (_IO_fwide): Adjust struct __gconv_step_data initialization.
11835 * wcsmbs/btowc.c (__btowc): Likewise.
11836 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11837 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11838 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
11839 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
11840 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
11841 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
11842 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
11843 * wcsmbs/wctob.c (wctob): Likewise.
11844
5379aebd
SP
118452014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11846
11847 [BZ #16194]
11848 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
11849 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
11850 register usage.
11851 * sysdeps/x86/Makefile: Adjust.
11852
8c0ab919
RM
118532014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11854 Roland McGrath <roland@hack.frob.com>
11855
11856 * locale/weight.h: Add include guard.
11857 (findidx): Make static rather than auto; take new parameters
11858 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
11859 * locale/weightwc.h: Likewise.
11860 * posix/fnmatch_loop.c
11861 (FCT): Change type of EXTRA from int32_t to wint_t.
11862 Don't include either header inside the function.
11863 Call FINDIDX rather than findidx, and pass new arguments.
11864 #undef FINDIDX at the end of the file.
11865 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
11866 FINDIDX before including fnmatch_loop.c for the non-wide version.
11867 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
11868 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
11869 for the wide version.
11870 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
11871 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
11872 Pass new arguments to findidx.
11873 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
11874 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
11875 Don't #include it inside the function. Pass new arguments to findidx.
11876 * posix/regex_internal.h
11877 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
11878 (re_string_elem_size_at): Don't #include it inside the function.
11879 Pass new arguments to findidx.
11880 * string/strcoll_l.c: #include WEIGHT_H at top level.
11881 (get_next_seq): Don't #include it inside the function.
11882 Pass new arguments to findidx.
11883 (get_next_seq_nocache): Likewise.
11884 * string/strxfrm_l.c: #include WEIGHT_H at top level.
11885 (STRXFRM): Don't #include it inside the function.
11886 Pass new arguments to findidx.
11887
52ffbdf2
FW
118882014-09-11 Florian Weimer <fweimer@redhat.com>
11889
11890 [BZ #17344]
11891 * malloc/malloc.c (unlink): Turn asserts into a call to
11892 malloc_printerr.
11893
984c0ea9
TL
118942014-09-11 Tim Lammens <tim.lammens@gmail.com>
11895
11896 [BZ #17370]
11897 * libio/wfileops (do_ftell_wide): Free OUT.
11898
3daee107
CM
118992014-09-10 Chris Metcalf <cmetcalf@tilera.com>
11900
11901 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
11902
58b930ae
SP
119032014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11904
11905 [BZ #17363]
11906 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
11907 group if the current group is empty.
11908
3b473fec
AZ
119092014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11910
71ae8647
AZ
11911 * benchtests/bench-memset.c (test_main): Add more test from size
11912 from 32 to 512 bytes.
11913 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11914 Add POWER8 memset object.
11915 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11916 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
11917 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
11918 implementation.
11919 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
11920 Likewise.
11921 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
11922 multiarch POWER8 memset optimization.
11923 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
11924 POWER8 memset optimization.
11925
3b473fec
AZ
11926 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11927 Remove bzero multiarch objects.
11928 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
11929 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
11930 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
11931 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
11932 Remove define.
11933 [__bzero]: Redefine to specific name.
11934 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
11935 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
11936 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
11937 define.
11938 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11939 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11940
e6fb9587
FW
119412014-09-10 Florian Weimer <fweimer@redhat.com>
11942
11943 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
11944 warnings into errors.
11945
11946 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
11947 __cxa_thread_atexit_impl prototype.
11948
9d3a350b
SE
119492014-09-09 Steve Ellcey <sellcey@mips.com>
11950
11951 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
11952 Fix capitalization of error message.
11953
0febba23
SE
119542014-09-09 Steve Ellcey <sellcey@mips.com>
11955
11956 * sysdeps/mips/preconfigure: Modify ABI tests.
11957
645a0e9c
CD
119582014-09-07 Carlos O'Donell <carlos@systemhalted.org>
11959
11960 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
11961
d83f0734
CD
119622014-09-07 Roland McGrath <roland@hack.frob.com>
11963 Carlos O'Donell <carlos@systemhalted.org>
11964
11965 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
11966 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
11967 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
11968 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
11969 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
11970 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
11971 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
11972 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
11973 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
11974 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
11975 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
11976 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
11977 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
11978 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
11979 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
11980 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
11981 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
11982 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
11983 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
11984 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
11985 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
11986 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
11987 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
11988 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
11989 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
11990 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
11991 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
11992 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
11993 Deconditionalize the code that was previously under [RESET_PID].
11994 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
11995 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
11996 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
11997 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
11998 include sysdep.h.
11999
21c83793
AM
120002014-09-08 Allan McRae <allan@archlinux.org>
12001
12002 * version.h (RELEASE): Set to "development".
12003 (VERSION): Set to "2.20.90"
12004
1cd9b65c
AM
120052014-09-07 Allan McRae <allan@archlinux.org
12006
b8079dd0
AM
12007 * version.h (RELEASE): Set to "stable".
12008 (VERSION): Set to "2.20"
12009 * include/features.h (__GLIBC_MINOR__): Set to 20.
12010
c46303ef
AM
12011 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
12012 Liebler.
12013
1cd9b65c
AM
12014 * po/ko.po: Update Korean translation from translation project.
12015
8622092d
CM
120162014-09-06 Chris Metcalf <cmetcalf@tilera.com>
12017
12018 [BZ #17354]
12019 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
12020 macro for handling signed relocations.
12021
41488498
FW
120222014-09-03 Florian Weimer <fweimer@redhat.com>
12023
12024 [BZ #17325]
12025 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
12026 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
12027 assert.
12028 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
12029 * iconvdata/ibm935.c (BODY): Likewise.
12030 * iconvdata/ibm937.c (BODY): Likewise.
12031 * iconvdata/ibm939.c (BODY): Likewise.
12032 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
12033 assert.
12034 * iconvdata/Makefile (iconv-test.out): Pass module list to test
12035 script.
12036 * iconvdata/run-iconv-test.sh: New test loop for checking for
12037 decoder crashers.
12038
a78b712d
KR
120392014-09-02 Khem Raj <raj.khem@gmail.com>
12040
12041 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
12042 libm_hidden_ver.
12043
cb08abc6
AM
120442014-09-01 Allan McRae <allan@archlinux.org>
12045
2c31e102
AM
12046 * po/eo.po: Update Esperanto translation from translation project.
12047
cb08abc6
AM
12048 * po/ca.po: Update Catalan translation from translation project.
12049
17a62de1
ST
120502014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
12051
12052 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
12053 __proc_dostop call.
12054
9570bc53
MW
120552014-08-27 Mark Wielaard <mjw@redhat.com>
12056
12057 [BZ #17319]
12058 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
12059 to call set_thread_area instead of hand written asm.
12060 (__NR_set_thread_area): Removed define.
12061 (TLS_FLAG_WRITABLE): Likewise.
12062 (__ASSUME_SET_THREAD_AREA): Remove check.
12063 (TLS_EBX_ARG): Remove define.
12064 (TLS_LOAD_EBX): Likewise.
12065
b0f955c9
ST
120662014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12067
12068 Simplify atomicity of socket creation in bind.
12069
12070 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
12071 looking up the name after linking the file.
12072
529bf515
AM
120732014-08-27 Allan McRae <allan@archlinux.org>
12074
12075 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12076
a1a6a401
FW
120772014-08-26 Florian Weimer <fweimer@redhat.com>
12078
12079 [BZ #17187]
12080 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
12081 trans_compare, open_translit, __gconv_translit_find):
12082 Remove module loading code.
12083
686ab290
AM
120842014-08-26 Allan McRae <allan@archlinux.org>
12085
e4e7cfd2
AM
12086 * po/vi.po: Update Vietnamese translation from translation project.
12087
6aa09f71
AM
12088 * po/uk.po: Update Ukrainian translation from translation project.
12089
edc0660e
AM
12090 * po/fr.po: Update French translation from translation project.
12091
7eea72ac
AM
12092 * po/ru.po: Update Russian translation from translation project.
12093
93c49eff
AM
12094 * po/pl.po: Update Polish translation from translation project.
12095
46acaf63
AM
12096 * po/cs.po: Update Czech translation from translation project.
12097
a9f5ce98
AM
12098 * po/de.po: Update German translation from translation project.
12099
373f2b78
AM
12100 * po/bg.po: Update Bulgarian translation from translation project.
12101
e7548bd8
AM
12102 * po/sv.po: Update Sweedish translation from translation project.
12103
c526bf4d
AM
12104 * po/nl.po: Update Dutch translation from translation project.
12105
686ab290
AM
12106 * po/es.po: Update Spanish translation from translation project.
12107
eb72478a
SP
121082014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12109
dd763fdb
SP
12110 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
12111
318c7a58
SP
12112 * catgets/Makefile (CPPFLAGS-gencat): Remove.
12113 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
12114 (CPPFLAGS-iconvconfig): Likewise.
12115 * timezone/Makefile (CPPFLAGS-zic): Likewise.
12116
eb72478a
SP
12117 * include/libc-symbols.h: Remove unnecessary check for
12118 NOT_IN_libc.
12119 * nptl/pthreadP.h: Likewise.
12120 * sysdeps/aarch64/setjmp.S: Likewise.
12121 * sysdeps/alpha/setjmp.S: Likewise.
12122 * sysdeps/arm/sysdep.h: Likewise.
12123 * sysdeps/i386/setjmp.S: Likewise.
12124 * sysdeps/m68k/setjmp.c: Likewise.
12125 * sysdeps/posix/getcwd.c: Likewise.
12126 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12127 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12128 * sysdeps/s390/s390-32/setjmp.S: Likewise.
12129 * sysdeps/s390/s390-64/setjmp.S: Likewise.
12130 * sysdeps/sh/sh3/setjmp.S: Likewise.
12131 * sysdeps/sh/sh4/setjmp.S: Likewise.
12132 * sysdeps/unix/alpha/sysdep.h: Likewise.
12133 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12134 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12135 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12136 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12139 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12140 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12141 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12142 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12143 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12144 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12145 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12146 * sysdeps/x86_64/setjmp.S: Likewise.
12147
d44a052c
JM
121482014-08-13 Joseph Myers <joseph@codesourcery.com>
12149
12150 [BZ #17263]
12151 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
12152 <stdint.h>.
12153 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
12154 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
12155
508ce3ac
SP
121562014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12157
e44c8b0e
SP
12158 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
12159
508ce3ac
SP
12160 [BZ #17262]
12161 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
12162 and __x86_64__ when disabling x87 inline functions.
12163
b4acef1f
L
121642014-08-12 H.J. Lu <hongjiu.lu@intel.com>
12165
12166 [BZ #17259]
12167 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
12168 asm statement with __cpuid_count.
12169
61b1ef6e
MF
121702014-08-12 Mike Frysinger <vapier@gentoo.org>
12171
12172 * configure.ac: Change __ehdr_start code to dereference the struct.
12173 Run readelf on the output to look for relocations.
12174 * configure: Regenerated.
12175
898c62f4
JM
121762014-08-12 Joseph Myers <joseph@codesourcery.com>
12177
12178 [BZ #17261]
12179 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
12180 value to 0.
12181 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
12182
9a8a5720
RM
121832014-08-12 Roland McGrath <roland@hack.frob.com>
12184
12185 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
12186
4e75751c
BO
121872014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
12188
12189 [BZ #16892]
12190 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
12191 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
12192
bb2ce416
SA
121932014-08-12 Sean Anderson <seanga2@gmail.com>
12194
12195 * malloc/malloc.c: Fix typo in comment.
12196
7950a4ee
AM
121972014-08-09 Allan McRae <allan@archlinux.org>
12198
12199 * Regenerate libc.po.
12200
f469c49f
MF
122012014-08-08 Mike Frysinger <vapier@gentoo.org>
12202
12203 * intl/tst-gettext2.sh: Check every lang file for creation.
12204
656b84c2
WD
122052014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
12206
12207 * sysdeps/aarch64/fpu/math_private.h
12208 (libc_feholdsetround_noex_aarch64_ctx): New function.
12209
538e9e45
W
122102014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
12211
12212 * sysdeps/arm/armv6/strcpy.S (strcpy):
12213 Fix performance issue in misaligned cases.
12214
d4795e4a
AZ
122152014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12216
12217 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
12218 Move definition from termios.h.
12219 (struct termio): Likewise.
12220 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12221 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12222 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12223 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12224 Likewise.
12225 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
12226 Move definition to ioctl-types.h
12227 (struct termio): Likewise.
12228 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12229 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12230 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12231 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12232 Likewise.
12233
64accb62
RH
122342014-08-05 Richard Henderson <rth@redhat.com>
12235
27bb6dc0
RH
12236 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
12237 exceptions.
12238 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
12239 Add fraiseexcpt.
12240 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
12241 Use __feraiseexcept.
12242 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
12243 Protect libm symbols with IS_IN_libm.
12244
64accb62
RH
12245 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
12246
e5292691
BO
122472014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
12248
12249 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
12250
5b4bd2d4
WN
122512014-08-04 Will Newton <will.newton@linaro.org>
12252
12253 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
12254 file.
12255
fcadaeef
MF
122562014-08-04 Mike Frysinger <vapier@gentoo.org>
12257
12258 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
12259 variants for each function.
12260
43a94c64
RM
122612014-08-04 Roland McGrath <roland@hack.frob.com>
12262
12263 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
12264 appended ...
12265 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
12266 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
12267 appended ...
12268 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
12269 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
12270 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
12271 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
12272 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
12273 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
12274 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
12275 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
12276 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
12277 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
12278 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
12279 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
12280 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
12281 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
12282 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
12283 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
12284 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
12285 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
12286 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
12287 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
12288 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
12289 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
12290 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
12291 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
12292 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
12293 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
12294 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
12295 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
12296 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
12297 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
12298 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
12299 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
12300 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
12301 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
12302 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
12303 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
12304 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
12305 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
12306 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
12307 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
12308 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
12309 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
12310 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
12311 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
12312 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
12313 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
12314 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
12315 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
12316 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
12317 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
12318 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
12319 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
12320 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
12321 Update #include.
12322 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
12323 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
12324
8f3c1fa4
RM
123252014-08-04 Roland McGrath <roland@hack.frob.com>
12326
12327 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
12328 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
12329 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
12330 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
12331 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
12332 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
12333
ca08746f
RM
123342014-08-04 Roland McGrath <roland@hack.frob.com>
12335
12336 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
12337 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
12338 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12339 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
12340
9c925ff9
RM
123412014-08-04 Roland McGrath <roland@hack.frob.com>
12342
12343 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
12344 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
12345 (__libc_vfork): Define function under this name.
12346 (__vfork): Define as an alias.
12347 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
12348 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
12349
e641054c
RM
123502014-08-04 Roland McGrath <roland@hack.frob.com>
12351
12352 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
12353 that was previously under [RESET_PID].
12354 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
12355
dacdc867
AS
123562014-08-04 Andreas Schwab <schwab@suse.de>
12357
12358 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
12359
41f725ff
MF
123602014-08-03 Mike Frysinger <vapier@gentoo.org>
12361
12362 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
12363 (main): Likewise.
12364
277cfb31
RM
123652014-08-01 Roland McGrath <roland@hack.frob.com>
12366
12367 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
12368
4896f049
RH
123692014-08-01 Richard Henderon <rth@redhat.com>
12370
12371 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
12372 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
12373 typo in exact zero test.
12374 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12375 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12376 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12377
6f64e7d7
RM
123782014-08-01 Roland McGrath <roland@hack.frob.com>
12379
12380 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
12381 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
12382 * sysdeps/arm/sysdep.h: ... here.
12383 [!__ASSEMBLER__]: Include <stdint.h>.
12384
3f3dd810
SP
123852014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12386
a476ac4b
SP
12387 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
12388 (HAVE_WCTYPE_H): Likewise.
12389 (HAVE_ISWCTYPE): Likewise.
12390 (ENABLE_NLS): Likewise.
12391 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
12392 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
12393
78dd658a
SP
12394 * posix/regex_internal.c: Check if DEBUG is defined and is
12395 set.
12396
3f3dd810
SP
12397 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
12398 (HAVE_MBSRTOWCS): Likewise.
12399 * posix/fnmatch.c: Include string.h unconditionally.
12400
95ee7fb1
SL
124012014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
12402
12403 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
12404 reversal.
12405
23fe486b
RM
124062014-07-31 Roland McGrath <roland@hack.frob.com>
12407
f61a113f
RM
12408 * sysdeps/generic/safe-fatal.h: New file.
12409 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
12410 * nptl/forward.c: Include it.
12411 (__pthread_unwind): Use __safe_fatal as default action, rather
12412 than a bogus use of INTERNAL_SYSCALL that could never work.
12413
9fe7e787
RM
12414 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
12415 * configure.ac (libc_cv_builtin_trap): New test.
12416 * configure: Regenerated.
12417 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
12418 (ABORT_INSTRUCTION): Define using __builtin_trap.
12419
23fe486b
RM
12420 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
12421 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
12422 * sysdeps/nptl/nptl-signals.h: New file.
12423 * nptl/pthreadP.h: Include <nptl-signals.h>.
12424
f349489e
SL
124252014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
12426
12427 * sysdeps/s390/s390-64/utf16-utf32-z9.c
12428 (ONE_DIRECTION): Define.
12429 * sysdeps/s390/s390-64/utf8-utf16-z9.c
12430 (ONE_DIRECTION): Define.
12431 * sysdeps/s390/s390-64/utf8-utf32-z9.c
12432 (ONE_DIRECTION): Define.
12433
2f438e20
SL
124342014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
12435
12436 * sysdeps/s390/Makefile: Delete file.
12437 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
12438 * sysdeps/s390/__longjmp.c: Delete file.
12439 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
12440 Remove fields __flags and __reserved.
12441 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
12442 and add versioning.
12443 * sysdeps/s390/rtld-__longjmp.c: Delete file.
12444 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
12445 * sysdeps/s390/rtld-setjmp.S: Likewise.
12446 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
12447 * sysdeps/s390/s390-32/__longjmp.c: ... here.
12448 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
12449 * sysdeps/s390/s390-32/setjmp.S: ... here.
12450 Add versioning.
12451 (__sigsetjmp): Remove setting __flags field.
12452 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
12453 * sysdeps/s390/s390-64/__longjmp.c: ... here.
12454 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
12455 * sysdeps/s390/s390-64/setjmp.S: ... here.
12456 Add versioning.
12457 (__sigsetjmp): Remove setting __flags field.
12458 * sysdeps/s390/setjmp.S: Delete file.
12459 * sysdeps/s390/sigjmp.c: Likewise.
12460 * sysdeps/s390/v1-longjmp.c: Likewise.
12461 * sysdeps/s390/v1-setjmp.h: Likewise.
12462 * sysdeps/s390/v1-sigjmp.c: Likewise.
12463 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
12464 Remove v1-longjmp_chk.
12465 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
12466 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
12467 Include debug/longjmp_chk.c and add versioning.
12468 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
12469 Include nptl/pt-longjmp.c and add versioning.
12470 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
12471 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
12472 Include __longjmp.c.
12473 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12474 Move to ...
12475 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
12476 (__getcontext): Remove setting __flags field.
12477 Add versioning.
12478 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12479 Don't restore upper high grps.
12480 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
12481 Likewise.
12482 (__swapcontext): Remove setting uc_flags field.
12483 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
12484 Delete file.
12485 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12486 Include __longjmp.c.
12487 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12488 Move to ...
12489 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
12490 (__getcontext): Remove setting __flags field.
12491 Add versioning.
12492 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
12493 (__swapcontext): Remove setting uc_flags field.
12494 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
12495 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
12496 Remove fields uc_high_gprs and __reserved.
12497 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
12498 New file with reverted content.
12499 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
12500 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
12501 Regenerated.
12502 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
12503 Regenerated.
12504
6c9578a2
AS
125052014-07-31 Andreas Schwab <schwab@suse.de>
12506
12507 * config.h.in (HAVE_IFUNC): Define to 0.
12508 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
12509 definedness.
12510
05f3633d
LM
125112014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
12512
12513 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12514 memmove-avx-unaligned, memcpy-avx-unaligned and
12515 mempcpy-avx-unaligned.
12516 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12517 Add tests for AVX memcpy functions.
12518 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
12519 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
12520 memcpy_chk.
12521 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
12522 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
12523 memmove_chk.
12524 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
12525 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
12526 mempcpy_chk.
12527 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
12528 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
12529 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
12530
a53fbd8e
AZ
125312013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12532
12533 [BZ #17213]
12534 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
12535 powerpc64le.
12536
0961f7e1
JL
125372014-07-29 Jeff Layton <jlayton@poochiereds.net>
12538
12539 [BZ #16839]
12540 * manual/llio.texi: Add section about open file description locks.
12541 * manual/examples/ofdlocks.c: Example of open file description
12542 lock usage.
12543 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
12544 F_OFD_SETLK, and F_OFD_SETLKW.
12545
cc5fb300
AM
125462014-07-23 Allan McRae <allan@archlinux.org>
12547
12548 * po/es.po: Update Spanish translation from translation project.
12549
23329dca
AS
125502014-07-18 Andreas Schwab <schwab@linux-m68k.org>
12551
12552 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
12553
9c82da17
MR
125542014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
12555
12556 [BZ #17078]
12557 * sysdeps/arm/dl-machine.h (elf_machine_rela)
12558 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
12559 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
12560
29c4f53e
JM
125612014-07-17 Joseph Myers <joseph@codesourcery.com>
12562
831b9896
JM
12563 [BZ #17088]
12564 * math/fesetenv.c (__fesetenv)
12565 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
12566 * math/feupdateenv.c (__feupdateenv)
12567 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
12568
b21c2d50
JM
12569 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
12570 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12571 (__ASSUME_SOCKETCALL): Do not define.
12572
067764ef
JM
12573 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
12574 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
12575 (__ASSUME_SOCKETCALL): Do not define.
12576 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
12577 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12578 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12579 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12580 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12581 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
12582 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12583 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12584
642530c1
JM
12585 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
12586 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
12587 (__ASSUME_SOCKETCALL): Do not define.
12588 (__ASSUME_IPC64): Define unconditionally.
12589 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12590 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12591 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12592 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12593 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
12594 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12595 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
12596 Likewise.
12597
03f77315
JM
12598 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
12599 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
12600 (__ASSUME_SOCKETCALL): Do not define.
12601 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
12602 (__ASSUME_FUTEX_LOCK_PI): Likewise.
12603 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12604 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12605 (__ASSUME_REQUEUE_PI): Define unconditionally.
12606 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
12607 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12608 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12609 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
12610 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12611 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12612
083b1f7c
JM
12613 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
12614 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
12615 (__ASSUME_SOCKETCALL): Do not define.
12616 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
12617 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12618 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12619 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
12620 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12621 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12622
5be44ea6
JM
12623 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
12624 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
12625 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12626 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
12627 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12628 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
12629 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12630 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
12631 (__ASSUME_GETCPU_SYSCALL): Likewise.
12632
d95ffd4c
JM
12633 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
12634 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
12635 cases for individual architectures.
12636 * sysdeps/gnu/configure: Regenerated.
12637 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
12638 LIBC_SLIBDIR_RTLDDIR.
12639 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
12640 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
12641 LIBC_SLIBDIR_RTLDDIR.
12642 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
12643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
12644 LIBC_SLIBDIR_RTLDDIR.
12645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12646 Regenerated.
12647 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
12648 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
12649 file.
12650 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
12651 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
12652 file.
12653 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
12654 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
12655 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
12656 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
12657
29c4f53e
JM
12658 * sysdeps/aarch64/shlib-versions: Move to ...
12659 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
12660 * sysdeps/alpha/shlib-versions: Move to ...
12661 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
12662 * sysdeps/arm/shlib-versions: Move to ...
12663 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
12664 * sysdeps/hppa/shlib-versions: Move all contents except for
12665 libgcc_s entry to ...
12666 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
12667 entry from ...
12668 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
12669 * sysdeps/ia64/shlib-versions: Move to ...
12670 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
12671 entry from ...
12672 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
12673 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
12674 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
12675 * sysdeps/microblaze/shlib-versions: Move to ...
12676 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
12677 * sysdeps/mips/shlib-versions: Move to ...
12678 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
12679 entry from ...
12680 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
12681 * sysdeps/tile/shlib-versions: Move to ...
12682 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
12683 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
12684 from ...
12685 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
12686 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
12687 entry from ...
12688 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
12689
32bead5b
WN
126902014-07-17 Will Newton <will.newton@linaro.org>
12691
57977c4b
WN
12692 * sysdeps/arm/bits/atomic.h
12693 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
12694 (__arch_compare_and_exchange_bool_16_int): Likewise.
12695 (__arch_compare_and_exchange_bool_64_int): Likewise.
12696
32bead5b
WN
12697 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
12698 into an #else block.
12699
37fccd41
RM
127002014-07-16 Roland McGrath <roland@hack.frob.com>
12701
12702 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
12703 just Linux configurations. Test empirically that the compiler sets
12704 __ARM_EABI__, rather than using the tuple to decide.
12705 * sysdeps/arm/preconfigure: Regenerated.
12706 * sysdeps/unix/sysv/linux/arm/configure: File removed.
12707 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
12708 contents appended ...
12709 * sysdeps/arm/configure.ac: ... here.
12710 * sysdeps/arm/configure: Regenerated.
12711
b365f3ec
RM
127122014-07-15 Roland McGrath <roland@hack.frob.com>
12713
8badf496
RM
12714 * nptl/pthread_kill.c: New file.
12715 * nptl/pthread_sigmask.c: New file.
12716 * nptl/pthread_sigqueue.c: New file.
12717
3df6f22e
RM
12718 * sysdeps/nptl/lowlevellock.h: New file.
12719 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
12720 * sysdeps/nptl/lowlevellock-futex.h: New file.
12721
b365f3ec
RM
12722 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
12723 Remove dead declarations.
12724
f2fef657
L
127252014-07-14 H.J. Lu <hongjiu.lu@intel.com>
12726
12727 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
12728 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
12729 config-cflags-avx2.
12730 * sysdeps/x86_64/configure.ac: Likewise.
12731 * sysdeps/i386/configure: Regenerated.
12732 * sysdeps/x86_64/configure: Likewise.
12733 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12734 memset-avx2 only if config-cflags-avx2 is yes.
12735 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12736 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
12737 defined.
12738 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
12739 only if HAVE_AVX2_SUPPORT is defined.
12740 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12741
f6c44d47
AM
127422014-07-14 Alan Modra <amodra@gmail.com>
12743
12744 [BZ #17153]
12745 * elf/elf.h (DT_PPC64_NUM): Correct value.
12746 * NEWS: Add to fixed bug list.
12747
7ee03f00
JM
127482014-07-13 Jim Meyering <meyering@fb.com>
12749
12750 [BZ 17150]
12751 regex: don't deref NULL upon heap allocation failure
12752 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
12753 failure in one more place.
12754 To trigger the segfault, configure grep -with-included-regex,
12755 build it, and run these commands:
12756 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
12757
9d39d517
AS
127582014-07-13 Andreas Schwab <schwab@linux-m68k.org>
12759
12760 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12761
a75b89b7
RH
127622014-07-11 Richard Henderson <rth@redhat.com>
12763
12764 * sysdeps/aarch64/libm-test-ulps: Update.
12765
771eb141
FW
127662014-07-10 Florian Weimer <fweimer@redhat.com>
12767
12768 [BZ #17135]
12769 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
12770 * nptl/allocatestack.c (__nptl_setxid_error): New function.
12771 (__nptl_setxid): Initialize error member. Call
12772 __nptl_setxid_error.
12773 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
12774 * nptl/descr.h (struct xid_command): Add error member.
12775 * nptl/tst-setuid3.c: New file.
12776 * nptl/Makefile (tests): Add it.
12777
bc1da176
AZ
127782014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12779
12780 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
12781 New define.
12782 (__lll_trylock): Use __lll_base_trylock.
12783 (__lll_cond_trylock): Likewise.
12784
887865fc
RM
127852014-07-10 Roland McGrath <roland@hack.frob.com>
12786
c0c6bac9
RM
12787 * nptl/pthread_create.c (start_thread): Use atomic_or and
12788 lll_futex_wake directly rather than lll_robust_dead.
12789 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12790 (lll_robust_dead): Macro removed.
6a42be57 12791 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
12792 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12793 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12794 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12795 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12796 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12797 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12798 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12799 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12800 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12801 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12802 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12803 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12804 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12805 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12806
887865fc
RM
12807 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
12808 Use atomic_compare_and_exchange_val_acq directly rather than
12809 lll_robust_trylock.
12810 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12811 (__lll_robust_trylock, lll_robust_trylock): Removed.
12812 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12813 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12814 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12815 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12816 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12817 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12818 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12819 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12820 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12821 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12822 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12823 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12824 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12825 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12826
58536726
FW
128272014-07-02 Florian Weimer <fweimer@redhat.com>
12828
12829 * manual/locale.texi (Locale Names): New section documenting
12830 locale name syntax. Adjust menu and node chaining accordingly.
12831 (Choosing Locale): Reference Locale Names, Locale Categories.
12832 Mention setting LC_ALL=C. Reflect that name syntax is now
12833 documented.
12834 (Locale Categories): New section title. Reference Locale Names.
12835 LC_ALL is an environment variable, but not a category.
12836 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
12837 description, now in Locale Name. Reference that section. Locale
12838 name syntax is now documented.
12839
4e8f95a0
FW
128402014-07-02 Florian Weimer <fweimer@redhat.com>
12841
12842 [BZ #17137]
12843 * locale/findlocale.c (name_present, valid_locale_name): New
12844 functions.
12845 (_nl_find_locale): Use the loc_name variable to store name
12846 candidates. Call name_present and valid_locale_name to check and
12847 validate locale names. Return an error if the locale is invalid.
12848
d1836456
FW
128492014-07-02 Florian Weimer <fweimer@redhat.com>
12850
12851 * locale/setlocale.c (setlocale): Use strdup for allocating
12852 composite name copy.
12853
d69b7f5a
SP
128542014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12855
888c679b
SP
12856 Sync up with gnulib.
12857 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
12858 [!_LIBC && ENABLE_NLS]: Include gettext.h.
12859 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
12860 and _GL_ARG_NONNULL.
12861 [USE_UNLOCKED_IO]: Include unlocked-io.h.
12862 [!_LIBC]: Include code for Windows and Cygwin.
12863 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
12864 Include prototype for int strerror_r.
12865 [!_LIBC] (is_open): New function.
12866 (flush_stdout): New function.
12867 (print_errno_message): Use it.
12868 (error): Likewise.
12869 (error_at_line): Likewise.
12870 (error_tail) Add function attribute macros. Use
12871 __builtin_expect.
12872
180e0e4b
SP
12873 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
12874
d22f1fe2
SP
12875 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
12876
12f2254b
SP
12877 * io/ftw.c: Include sys/param.h unconditionally.
12878
c3c7c360
SP
12879 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
12880
d62aa75a
SP
12881 [BZ #17125]
12882 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
12883 libc_freeres_ptr.
12884 (freecache): New function to free CACHE on exit.
12885
d69b7f5a
SP
12886 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
12887 initialization.
12888
5efe06a1
DM
128892014-07-09 David S. Miller <davem@davemloft.net>
12890
12891 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12892
7000d82e
DM
12893 * sysdeps/sparc/nptl/internaltypes.h: Delete.
12894 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
12895 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
12896 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
12897 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
12898 * sysdeps/sparc/nptl/sem_init.c: Likewise.
12899 * sysdeps/sparc/nptl/sem_post.c: Likewise.
12900 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
12901 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
12902 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
12903 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
12904 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
12905 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
12906
c213442d
AS
129072014-07-09 Andreas Schwab <schwab@suse.de>
12908
4a2552c3
AS
12909 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
12910 output.
12911 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
12912 (do_test): Likewise.
12913
c213442d
AS
12914 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12915
82374e65
WN
129162014-07-09 Will Newton <will.newton@linaro.org>
12917
12918 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
12919 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
12920 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
12921 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
12922 * sysdeps/hppa/start.S (_start): Likewise.
12923
6680738a
SP
129242014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
12925
6ee3eab4
SP
12926 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
12927
6680738a
SP
12928 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
12929 defined.
12930
80b5c505
SP
129312014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12932
e35c53e3
SP
12933 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
12934 after checking that it is non-NULL.
12935
80b5c505
SP
12936 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
12937
91f4b564
AZ
129382014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12939
27b75f56
AZ
12940 * sysdeps/powerpc/memmove.c: Remove file.
12941 * sysdeps/powerpc/powerpc32/power4/memcopy.h
12942 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
12943 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
12944 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
12945 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
12946 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
12947 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
12948 string memmove instead of removed powerpc one.
12949
e7f95bb5
AZ
12950 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12951 [weak_alias]: Fix compiler warning due trailing data.
12952 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
12953 [weak_alias]: Likewise.
12954 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
12955 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
12956
91f4b564
AZ
12957 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12958 (__libc_ifunc_impl_list): Add memmove functions.
12959
7c33f1e5
SP
129602014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12961
12962 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
12963 Remove code.
12964 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
12965 Likewise
12966 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
12967 Likewise
12968 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
12969 Likewise
12970 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
12971 Likewise
12972 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
12973 Likewise
12974 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
12975 Likewise
12976 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
12977 Likewise
12978 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
12979 Likewise
12980 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
12981 Likewise
12982 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
12983 Likewise
12984 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
12985 Likewise
12986 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
12987 Likewise
12988 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
12989 Likewise
12990 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
12991 Likewise
12992 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
12993 Likewise
12994 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
12995 Likewise
12996
3f17b03b
AZ
129972014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12998
87868c24
AZ
12999 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
13000 to avoid alignment traps in non-cacheable memory.
13001 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13002
07aedd78
AZ
13003 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
13004 multiarch objects.
13005 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
13006 file: multiarch power7 memmove.
13007 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
13008 multiarch default memmove.
13009 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
13010 multiarch memove for powerpc32/power4.
13011
17762f66
AZ
13012 * string/bcopy.c: Use full path to include memmove.c.
13013 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
13014 multiarch objects.
13015 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
13016 bcopy for powerpc64.
13017 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
13018 bcopy for powerpc64.
13019 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
13020 and memmove implementations.
13021 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
13022 optimized multiarch memmove for POWER7/powerpc64.
13023 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
13024 default multiarch memmove for powerpc64.
13025 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
13026 multiarch for powerpc64.
13027 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
13028 for POWER7/powerpc64.
13029 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
13030 memmove for POWER7/powerpc64.
13031
d6f68bbe
AZ
13032 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
13033 glibc default one.
13034
3f17b03b
AZ
13035 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
13036 __ELF_NATIVE_CLASS equal to 64.
13037
08192659
RM
130382014-07-07 Roland McGrath <roland@hack.frob.com>
13039
f4c4021b
RM
13040 * sysdeps/nptl/lowlevellock.h: File removed.
13041
f083450f
RM
13042 * NEWS: NPTL is no longer an add-on!
13043 * nptl/internaltypes.h: Moved ...
13044 * sysdeps/nptl/internaltypes.h: ... here.
13045 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
13046 * sysdeps/nptl/fork.c: Likewise.
13047 * sysdeps/nptl/gai_misc.h: Likewise.
13048 * sysdeps/nptl/librt-cancellation.c: Likewise.
13049 * sysdeps/nptl/jmp-unwind.c: Likewise.
13050 * sysdeps/nptl/setxid.h: Likewise.
13051 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
13052 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
13053 * sysdeps/unix/sysv/linux/arm/Implies: New file.
13054 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
13055 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
13056 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
13057 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
13058 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
13059 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
13060 * sysdeps/unix/sysv/linux/mips/Implies: New file.
13061 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
13062 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
13063 * sysdeps/unix/sysv/linux/sh/Implies: New file.
13064 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
13065 * sysdeps/unix/sysv/linux/tile/Implies: New file.
13066 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
13067 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
13068 * nptl/Makeconfig: Moved ...
13069 * sysdeps/nptl/Makeconfig: ... here.
13070 * nptl/configure: File removed.
13071 * nptl/ANNOUNCE: File removed.
13072 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
13073 * sysdeps/unix/sysv/linux/configure: Regenerated.
13074
08192659
RM
13075 * nptl/Makefile (routines): Add libc_pthread_init,
13076 libc_multiple_threads, register-atfork and unregister-atfork.
13077 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
13078 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
13079 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
13080 pthread-pi-defines.sym, structsem.sym.
13081 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
13082 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
13083 [$(subdir) = nptl] (tests): Add tst-setgetname.
13084 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
13085 * sysdeps/unix/sysv/linux/sigaction.c: Just include
13086 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
13087 [!LIBC_SIGACTION]: Remove aliases.
13088 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13089 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13090 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13091 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
13092 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13093 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13094 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13095 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13096 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13097 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
13098 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
13099 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
13100 __libc_allocate_rtsig_private.
13101 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
13102 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
13103 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
13104 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
13105 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
13106 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
13107 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
13108 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
13109 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
13110 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
13111 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
13112 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
13113 * nptl/internaltypes.h: ... here.
13114 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
13115 * sysdeps/nptl/jmp-unwind.c: ... here.
13116 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
13117 * nptl/libc-lowlevellock.c: ... here.
13118 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
13119 * nptl/libc_multiple_threads.c: ... here.
13120 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
13121 * nptl/libc_pthread_init.c: ... here.
13122 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
13123 * nptl/lowlevelbarrier.sym: ... here.
13124 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
13125 * nptl/lowlevelcond.sym: ... here.
13126 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
13127 * nptl/lowlevellock.c: ... here.
13128 * nptl/lowlevellock.h: Moved ...
13129 * sysdeps/nptl/lowlevellock.h: ... here.
13130 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
13131 * nptl/lowlevelrobustlock.c: ... here.
13132 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
13133 * nptl/lowlevelrobustlock.sym: ... here.
13134 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
13135 * nptl/lowlevelrwlock.sym: ... here.
13136 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
13137 * nptl/pt-fork.c: ... here.
13138 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
13139 * nptl/pthread-pi-defines.sym: ... here.
13140 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
13141 * nptl/pthread_attr_getaffinity.c: ... here.
13142 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
13143 * nptl/pthread_attr_setaffinity.c: ... here.
13144 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
13145 * nptl/pthread_mutex_cond_lock.c: ... here.
13146 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13147 Update #include.
13148 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
13149 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
13150 * nptl/pthread_once.c: ... here, replacing old file.
13151 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
13152 * nptl/pthread_yield.c: ... here.
13153 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
13154 * nptl/register-atfork.c: ... here.
13155 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
13156 * nptl/sem_post.c: ... here.
13157 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
13158 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
13159 * nptl/sem_timedwait.c: ... here.
13160 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
13161 * nptl/sem_trywait.c: ... here.
13162 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
13163 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
13164 * nptl/sem_wait.c: ... here.
13165 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
13166 * nptl/structsem.sym: ... here.
13167 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
13168 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
13169 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
13170 * nptl/unregister-atfork.c: ... here.
13171 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
13172 * nptl/unwindbuf.sym: ... here.
13173 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
13174 * sysdeps/nptl/fork.c: ... here.
13175 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
13176 * sysdeps/nptl/fork.h: ... here.
13177 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
13178 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
13179 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
13180 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
13181 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
13182 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
13183 * sysdeps/unix/sysv/linux/getpid.c: ... here.
13184 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
13185 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
13186 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
13187 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
13188 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
13189 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
13190 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
13191 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
13192 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
13193 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
13194 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
13195 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
13196 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
13197 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
13198 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
13199 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
13200 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
13201 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
13202 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
13203 * sysdeps/unix/sysv/linux/raise.c: ... here.
13204 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
13205 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
13206 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
13207 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
13208 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
13209 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
13210 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
13211 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
13212 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
13213 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
13214 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
13215 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
13216 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
13217 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
13218 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
13219
96baf6ff
SP
132202014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13221
13222 * sysdeps/generic/memcopy.h: Add comment for
13223 MEMCPY_OK_FOR_FWD_MEMMOVE.
13224
6b7b14b2
WN
132252014-07-04 Will Newton <will.newton@linaro.org>
13226
1570a72b
WN
13227 * string/memchr.c: Merge from gnulib.
13228 [_LIBC]: Remove conditionals.
13229 (__ptr_t): Remove define.
13230 (LONG_MAX_32_BITS): Likewise.
13231 (LONG_MAX): Likewise.
13232 (MEMCHR): Use ANSI prototype and optimize algorithm.
13233
6b7b14b2
WN
13234 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
13235
38851324
SP
132362014-07-03 Roland McGrath <roland@hack.frob.com>
13237
3d9eb57c
RM
13238 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
13239 (lll_futex_timed_wait_bitset): Fix syscall argument count.
13240
78b984ae
RM
13241 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
13242 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
13243 in a bare environment with no <stdlib.h> installed.
13244 * sysdeps/nptl/configure: Regenerated.
13245
2d5976a5
RM
13246 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
13247
c1f5acd4
RM
13248 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
13249 AC_EGREP_CPP for kernel header checks, so they only succeed if
13250 including <linux/version.h> actually works right.
13251 * sysdeps/unix/sysv/linux/configure: Regenerated.
13252
4d614fe5
RM
13253 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
13254 value so it's not diagnosed as unused.
13255
38851324
SP
13256 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
13257 thing) with "ifeq ($(subdir),rt)".
13258
b3ec00e5
RH
132592014-07-03 Richard Henderson <rth@redhat.com>
13260
69862e25
RH
13261 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
13262 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
13263 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
13264
d5e16ade
RH
13265 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
13266 (math_force_eval): New.
13267
ca7b945c
RH
13268 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
13269 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
13270
cd1175a3
RH
13271 * sysdeps/alpha/fpu/s_round.c: Remove file.
13272 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
13273
b3ec00e5
RH
13274 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
13275 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
13276 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
13277 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
13278 (_dl_start, print_statistics): Likewise.
13279 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
13280 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
13281
13282 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13283 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13284 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13285 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13286 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13287 (HP_SMALL_TIMING_AVAIL): Define.
13288 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13289 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13290 (HP_SMALL_TIMING_AVAIL): Define.
13291 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13292 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13293
13294 * sysdeps/aarch64/hp-timing.h: New file.
13295
13296 * sysdeps/generic/hp-timing.h: Remove dead comment.
13297 * sysdeps/generic/hp-timing-common.h: New file.
13298 * sysdeps/alpha/hp-timing.h: Include it.
13299 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
13300 * sysdeps/i386/i686/hp-timing.h: Likewise.
13301 * sysdeps/ia64/hp-timing.h: Likewise.
13302 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13303 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13304 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13305 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13306 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
13307 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
13308 (hp_timing_t): New.
13309
13310 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
13311 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
13312 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
13313 * elf/rtld.c (_dl_start_final): Likewise.
13314 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
13315 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13316 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13317 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13318 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13319 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13320 (HP_TIMING_DIFF_INIT): Remove.
13321 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13322 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13323 (HP_TIMING_DIFF_INIT): Remove.
13324 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13325 * sysdeps/i386/i686/hp-timing.c: Remove file.
13326 * sysdeps/x86_64/hp-timing.c: Remove file.
13327 * sysdeps/ia64/hp-timing.c: Remove file.
13328 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
13329 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
13330 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
13331 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
13332
13333 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
13334 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
13335 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
13336 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13337 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13338 (HP_TIMING_ACCUM): Remove.
13339 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13340 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
13341 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13342
13343 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
13344 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
13345 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
13346 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
13347 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
13348 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13349 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
13350 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13351
13352 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
13353
225f410f
MR
133542014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
13355
13356 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
13357
3247f285
SP
133582014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13359
13360 Sync up with gettext.
13361 * intl/loadmsgcat.c: Define O_BINARY if not defined.
13362 [_MSC_VER]: Include malloc.h
13363 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
13364 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
13365 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
13366 TEMP_FAILURE_RETRY. Cast return of alloca.
13367 [!_LIBC] Call gl_rwlock_init.
13368 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
13369
d12704c7
SP
133702014-07-02 Roland McGrath <roland@hack.frob.com>
13371
13372 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
13373 before checking its value.
13374
99f8dc92
SP
133752014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13376
05fdac77
SP
13377 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
13378
99f8dc92
SP
13379 * debug/memcpy_chk.c: Don't include pagecopy.h.
13380 * debug/mempcpy_chk.c: Likewise.
13381 * string/memcpy.c: Likewise.
13382 * string/memmove.c: Likewise.
13383 * sysdeps/powerpc/memmove.c: Likewise.
13384 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
13385 definition of PAGE_COPY_FWD_MAYBE here...
13386 * sysdeps/generic/pagecopy.h: ... from here.
13387 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
13388
bc8ea385
VR
133892014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13390 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13391
13392 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
13393 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
13394 optimizations.
13395 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13396 (__libc_ifunc_impl_list): Likewise.
13397 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
13398 multiarch strcat for PPC64.
13399 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
13400 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
13401
fe5f34e4
RM
134022014-07-02 Roland McGrath <roland@hack.frob.com>
13403
13404 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
13405
256aa665
SP
134062014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13407
d4eb8195
SP
13408 * intl/loadmsgcat.c: Remove declaration of
13409 get_sysdep_segment_value.
13410 (get_sysdep_segment_value): Use ISO C style.
13411 (_nl_load_domain): Use ISO C style. Get rid of redundant
13412 semicolon. Fix typo and formatting in comment.
13413 (_nl_unload_domain): Use ISO C style.
13414
256aa665
SP
13415 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
13416
b100f9aa
WN
134172014-07-02 Will Newton <will.newton@linaro.org>
13418
13419 * malloc/obstack.c: Merge from gnulib master.
13420 [HAVE_CONFIG_H]: Remove conditional code.
13421 [!_LIBC]: Include config.h.
13422 [!ELIDE_CODE]: Don't include inttypes.h, include
13423 stdint.h unconditionally.
13424 (print_and_abort): Mark as _Noreturn.
13425 (_obstack_allocated_p): Mark as __attribute_pure__.
13426 (obstack_free): Rename to __obstack_free.
13427 [!__attribute__]: Remove conditional code.
13428 * malloc/obstack.h: Merge from gnulib master.
13429 [__cplusplus]: Move conditional down.
13430 [!__attribute_pure__]: Define __attribute_pure__ here
13431 if it is not already defined.
13432 (_obstack_memory_used): Mark as __attribute_pure__.
13433 [!__obstack_free]: Define as obstack_free.
13434 [__GNUC__]: Remove check for ancient NeXT gcc.
13435
c4c41244
PE
134362014-07-02 Will Newton <will.newton@linaro.org>
13437 Paul Eggert <eggert@cs.ucla.edu>
13438
13439 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
13440
e1e041c4
SP
134412014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13442
13443 * resolv/gethnamaddr.c: Add comment warning that the file is
13444 not maintained.
13445
ccf431ff
CD
134462014-07-01 Carlos O'Donell <carlos@redhat.com>
13447
d34570a6
CD
13448 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
13449 entries.
13450
ccf431ff
CD
13451 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
13452 entry for aio_cancel and aio_cancel64.
13453 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
13454 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
13455 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
13456 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
13457 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
13458 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
13459 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
13460 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
13461 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
13462 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
13463 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
13464 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
13465 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
13466
ca06321d
RM
134672014-07-01 Roland McGrath <roland@hack.frob.com>
13468
13469 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
13470 * nptl/pthread_mutex_lock.c: Likewise.
13471 * nptl/pthread_mutex_timedlock.c: Likewise.
13472 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
13473
a1ac3184
RH
134742014-07-01 Richard henderson <rth@redhat.com>
13475
631021e0
RH
13476 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
13477 (__isnan, __isnanl): Remove.
13478 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
13479
a1ac3184
RH
13480 * sysdeps/alpha/fpu/libm-test-ulps: Update.
13481
0c1d731f
SL
134822014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
13483
13484 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13485
76985d3e
SP
134862014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13487
13488 * resolv/nss_dns/dns-host.c (getanswer_r)
13489 [MULTI_PTRS_ARE_ALIASES]: Remove code.
13490
b0cb3096
JM
134912014-07-01 Joseph Myers <joseph@codesourcery.com>
13492
13493 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13494 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
13495 undefine.
13496 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
13497 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
13498
4d76cb39
RM
134992014-07-01 Roland McGrath <roland@hack.frob.com>
13500
13501 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
13502 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
13503
13504 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
13505 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
13506
13507 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
13508 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
13509 ... here.
13510 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
13511 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
13512
13513 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
13514 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
13515 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
13516 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
13517
13518 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
13519 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
13520 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
13521 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
13522 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
13523 Moved ...
13524 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
13525 ... here.
13526 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
13527 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
13528 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
13529 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
13530 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
13531 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
13532 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
13533 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
13534 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
13535 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
13536 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
13537 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
13538 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
13539 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
13540 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
13541 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
13542 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
13543 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
13544 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
13545 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
13546 ... here.
13547 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
13548 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
13549 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
13550 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
13551 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
13552 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
13553 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
13554 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
13555
0cdcad17
DH
135562014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
13557
13558 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
13559 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
13560 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
13561 Add sysdep.
13562
9b71d0e3
AZ
135632014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13564
13565 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13566
665390c2
JM
135672014-06-30 Joseph Myers <joseph@codesourcery.com>
13568
ae05a9d7
JM
13569 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13570 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13571
a7672a2f
JM
13572 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13573
665390c2
JM
13574 * sysdeps/arm/libm-test-ulps: Regenerated.
13575
d7a05d07
MR
135762014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
13577 Roland McGrath <roland@hack.frob.com>
13578
13579 * test-skeleton.c (signal_handler): Kill the whole process group
13580 before killing the child individually.
13581 (main): Report any failure on `setpgid'.
13582
46f1d8a6
RM
135832014-06-30 Roland McGrath <roland@hack.frob.com>
13584
13585 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
13586 from _TLS_H to _ARM_NPTL_TLS_H.
13587 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
13588 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
13589
9c37ec0b
JM
135902014-06-30 Joseph Myers <joseph@codesourcery.com>
13591
ce9c5b3e
JM
13592 [BZ #16539]
13593 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
13594 (__expm1l): Return argument unchanged when small but not
13595 subnormal.
13596
3a6e9887
JM
13597 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
13598 include macro name.
13599 (_FP_UNPACK_RAW_1_P): Likewise.
13600 (_FP_PACK_RAW_1): Likewise.
13601 (_FP_PACK_RAW_1_P): Likewise.
13602 (_FP_MUL_MEAT_1_wide): Likewise.
13603 (_FP_MUL_MEAT_DW_1_hard): Likewise.
13604 (_FP_MUL_MEAT_1_hard): Likewise.
13605 (_FP_DIV_MEAT_1_imm): Likewise.
13606 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
13607 (_FP_DIV_MEAT_1_udiv): Likewise.
13608 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
13609 (_FP_UNPACK_RAW_2): Likewise.
13610 (_FP_UNPACK_RAW_2_P): Likewise.
13611 (_FP_PACK_RAW_2): Likewise.
13612 (_FP_PACK_RAW_2_P): Likewise.
13613 (_FP_MUL_MEAT_DW_2_wide): Likewise.
13614 (_FP_MUL_MEAT_2_wide): Likewise.
13615 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
13616 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13617 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
13618 (_FP_MUL_MEAT_2_gmp): Likewise.
13619 (_FP_DIV_MEAT_2_udiv): Likewise.
13620 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
13621 (_FP_FRAC_SRL_4): Likewise.
13622 (_FP_FRAC_SRST_4): Likewise.
13623 (_FP_FRAC_SRS_4): Likewise.
13624 (_FP_UNPACK_RAW_4): Likewise.
13625 (_FP_UNPACK_RAW_4_P): Likewise.
13626 (_FP_PACK_RAW_4): Likewise.
13627 (_FP_PACK_RAW_4_P): Likewise.
13628 (_FP_MUL_MEAT_DW_4_wide): Likewise.
13629 (_FP_MUL_MEAT_4_wide): Likewise.
13630 (_FP_MUL_MEAT_4_gmp): Likewise.
13631 (umul_ppppmnnn): Likewise.
13632 (_FP_DIV_MEAT_4_udiv): Likewise.
13633 (__FP_FRAC_ADD_4): Likewise.
13634 (__FP_FRAC_SUB_3): Likewise.
13635 (__FP_FRAC_SUB_4): Likewise.
13636 (__FP_FRAC_DEC_3): Likewise.
13637 (__FP_FRAC_DEC_4): Likewise.
13638 (__FP_FRAC_ADDI_4): Likewise.
13639 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
13640 (_FP_FRAC_SRL_8): Likewise.
13641 (_FP_FRAC_SRS_8): Likewise.
13642
9c37ec0b
JM
13643 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
13644 include macro name.
13645 (FP_UNPACK_RAW_EP): Likewise.
13646 (FP_PACK_RAW_E): Likewise.
13647 (FP_PACK_RAW_EP): Likewise.
13648 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
13649 (_FP_ISSIGNAN): Likewise.
13650 (_FP_ADD_INTERNAL): Likewise.
13651 (_FP_FMA): Likewise.
13652 (_FP_CMP): Likewise.
13653 (_FP_SQRT): Likewise.
13654 (_FP_TO_INT): Likewise.
13655 (_FP_FROM_INT): Likewise.
13656 (FP_EXTEND): Likewise.
13657 (_FP_DIV_MEAT_N_loop): Likewise.
13658
2125f674
MR
136592014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
13660
13661 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
13662 throughout.
13663
edea4028
JM
136642014-06-29 Joseph Myers <joseph@codesourcery.com>
13665
13666 [BZ #17097]
13667 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
13668 result with correct sign in case of exponents that produce
13669 overflow except for X very close to 1.
13670
dd0ba018
PE
136712014-06-28 Paul Eggert <eggert@cs.ucla.edu>
13672
13673 mktime: merge #if/#ifdef usage from glibc
13674 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
13675 as that works with both Glibc's and Gnulib's style.
13676 See thread starting at Siddhesh Poyarekar's bug report at:
13677 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
13678
64df73c2
SP
136792014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13680
13681 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
13682 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
13683 * sysdeps/tile/tilegx/memmove.c: Remove file.
13684
f1eafb41
JM
136852014-06-27 Joseph Myers <joseph@codesourcery.com>
13686
13687 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
13688 abi-name definition.
13689 * scripts/soversions.awk: Do not handle or generate ABI lines.
13690 * shlib-versions: Remove ABI entries.
13691 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
13692 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
13693
58eb0862
RM
136942014-06-27 Roland McGrath <roland@hack.frob.com>
13695
37caf178
RM
13696 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
13697 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
13698 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
13699 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
13700 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
13701 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
13702 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
13703 Moved ...
13704 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
13705 ... here.
13706 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
13707 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
13708 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
13709 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
13710 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
13711 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
13712 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
13713 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
13714 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
13715 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
13716 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
13717 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
13718 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
13719 Moved ...
13720 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
13721 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
13722 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
13723 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
13724 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
13725 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
13726 Moved ...
13727 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
13728 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
13729 Moved ...
13730 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
13731 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
13732 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
13733 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
13734 Moved ...
13735 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
13736 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
13737 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
13738 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
13739 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
13740 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
13741 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
13742 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
13743 Moved ...
13744 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
13745 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
13746 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
13747 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
13748 Moved ...
13749 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
13750 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
13751 Moved ...
13752 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
13753 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
13754 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
13755 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
13756 Moved ...
13757 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
13758 ... here.
13759 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
13760 Identical file removed.
13761 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
13762 Moved ...
13763 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
13764 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
13765 Identical file removed.
13766 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
13767 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
13768 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
13769 Moved ...
13770 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
13771 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
13772 Identical file removed.
13773 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
13774 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
13775 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
13776 Identical file removed.
13777 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
13778 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
13779 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
13780 Identical file removed.
13781 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
13782 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
13783 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
13784 Identical file removed.
13785 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
13786 Moved ...
13787 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
13788 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
13789 Identical file removed.
13790 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
13791 Moved ...
13792 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
13793 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
13794 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
13795 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
13796 Identical file removed.
13797 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
13798 Moved ...
13799 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
13800 ... here.
13801 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
13802 Identical file removed.
13803 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
13804 Moved ...
13805 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
13806 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
13807 Identical file removed.
13808 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
13809 Moved ...
13810 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
13811 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
13812 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
13813 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
13814 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
13815 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
13816 Moved ...
13817 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
13818 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
13819 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
13820
58eb0862
RM
13821 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
13822 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
13823 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
13824 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
13825 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
13826
6f12d062
AS
138272014-06-27 Arjun Shankar <arjun.is@lostca.se>
13828
13829 [BZ #17092]
13830 * nscd/nscd.c (monitor_child): Return exit status of child
13831 instead of return value from wait syscall.
13832
be254932
JM
138332014-06-27 Joseph Myers <joseph@codesourcery.com>
13834
cb403c34
JM
13835 * configure.ac (libc_commonpagesize): Remove variable.
13836 (libc_relro_required): Likewise.
13837 (libc_cv_z_relro): Remove configure test.
13838 * configure: Regenerated.
13839 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
13840 variable.
13841 (libc_relro_required): Likewise.
13842 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
13843 (libc_relro_required): Likewise.
13844 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
13845 (libc_relro_required): Likewise.
13846 * sysdeps/arm/preconfigure: Regenerated.
13847 * sysdeps/ia64/preconfigure: Remove file.
13848 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
13849 variable.
13850 (libc_relro_required): Likewise.
13851
be254932
JM
13852 [BZ #16561]
13853 [BZ #16562]
13854 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
13855 (__ieee754_yn): Set FE_TONEAREST mode internally and then
13856 recompute overflowing results in original rounding mode.
13857 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
13858 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
13859 recompute overflowing results in original rounding mode.
13860 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
13861 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13862 recompute overflowing results in original rounding mode.
13863 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
13864 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13865 recompute overflowing results in original rounding mode.
13866 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
13867 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13868 recompute overflowing results in original rounding mode.
13869 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
13870 (libc_feholdsetround_ctx): New macro.
13871 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
13872 * sysdeps/i386/fpu/libm-test-ulps: Update.
13873 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
13874
b351d85a
JM
138752014-06-26 Joseph Myers <joseph@codesourcery.com>
13876
13877 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
13878 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
13879 corresponding .cpsetup call.
13880
3cb4de47
RM
138812014-06-26 Roland McGrath <roland@hack.frob.com>
13882
13883 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
13884 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
13885 * sysdeps/arm/Makefile [$(subdir) = csu]
13886 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
13887 (static-only-routines): Add aeabi_read_tp here.
13888 (shared-only-routines): Add libc-aeabi_read_tp here.
13889 (CFLAGS-libc-start.c): Add -fexceptions here.
13890 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
13891 (sysdep_routines, static-only-routines, shared-only-routines):
13892 Don't add to these here.
13893 (CFLAGS-libc-start.c): Likewise.
13894
13895 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
13896 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13897 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
13898 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13899 * sysdeps/arm/Makefile [$(subdir) = rt]
13900 (librt-sysdep_routines, librt-shared-only-routines):
13901 Append rt-aeabi_unwind_cpp_pr1 here.
13902 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
13903 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
13904 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
13905 (libpthread-sysdep_routines, libpthread-shared-only-routines):
13906 Append nptl-aeabi_unwind_cpp_pr1 here.
13907 (tests): Filter out tst-cleanupx4 here.
13908 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
13909 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
13910 Don't do those here.
13911
354426bb
JM
139122014-06-26 Joseph Myers <joseph@codesourcery.com>
13913
13914 * scripts/list-sources.sh: Do not handle ports specially.
13915
28b0a8c9
RM
139162014-06-26 Roland McGrath <roland@hack.frob.com>
13917
a3dd035d
RM
13918 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
13919 * sysdeps/arm/feupdateenv.c: Likewise.
13920
28b0a8c9
RM
13921 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
13922
e66a8203
JM
139232014-06-26 Joseph Myers <joseph@codesourcery.com>
13924
13925 * manual/texinfo.tex: Update to version 2014-05-05.10 with
13926 trailing whitespace removed.
13927 * scripts/config.guess: Update to version 2014-03-23.
13928 * scripts/config.sub: Update to version 2014-05-01
13929 * scripts/install-sh: Update to version 2013-12-25.23.
13930 * scripts/move-if-change: Update from gnulib.
13931
74171115
SP
139322014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13933
b97c9ce5
SP
13934 * debug/memmove_chk.c: Remove pagecopy.h include.
13935
4000f892
SP
139362014-06-26 Paul Eggert <eggert@cs.ucla.edu>
13937
74171115
SP
13938 * time/mktime.c (leapyear): Remove inline keyword. The code is now
13939 identical to gnulib mktime.
13940
a8779c28
JM
139412014-06-26 Joseph Myers <joseph@codesourcery.com>
13942
e64708de
JM
13943 * configure.ac: Do not test for machine being rs6000. Do not test
13944 for powerpc*-*soft.
13945 * configure: Regenerated.
13946
6a9350c8 13947 [BZ #11505]
a8779c28
JM
13948 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
13949 test.
13950 * configure: Regenerated.
13951 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
13952 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
13953 Remove configure test.
13954 * sysdeps/arm/configure: Regenerated.
13955 * sysdeps/nptl/configure.ac: Do not check
13956 libc_cv_asm_cfi_directives.
13957 * sysdeps/nptl/configure: Regenerated.
13958 * sysdeps/x86_64/nptl/configure.ac: Remove file.
13959 * sysdeps/x86_64/nptl/configure: Remove generated file.
13960 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
13961 unconditional.
13962 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
13963
2aac0a86
SP
139642014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13965
059bf913
SP
13966 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
13967 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
13968 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
13969 it is defined.
13970
4cf5b6d0
SP
13971 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
13972 instead of whether it is defined.
13973 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
13974 * sysdeps/hppa/dl-machine.h: Likewise.
13975 * sysdeps/ia64/dl-machine.h: Likewise.
13976 * sysdeps/m68k/dl-machine.h: Likewise.
13977 * sysdeps/microblaze/dl-machine.h: Likewise.
13978 * sysdeps/mips/dl-machine.: Likewise.
13979 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13980 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13981 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13982 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13983 * sysdeps/sh/dl-machine.h: Likewise.
13984 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13985 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13986 * sysdeps/tile/dl-machine.h: Likewise.
13987 * sysdeps/x86_64/dl-machine.h: Likewise.
13988
2aac0a86
SP
13989 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
13990 code.
13991 (verify_persistent_db): Likewise.
13992
6ad2df0b
RM
139932014-06-26 Roland McGrath <roland@hack.frob.com>
13994
d8a483f3
RM
13995 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
13996 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
13997 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
13998 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
13999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14000 Moved ...
14001 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14002 ... here.
14003 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
14004 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
14005 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
14006 Identical file removed.
14007 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
14008 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
14009 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
14010 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
14011 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
14012 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
14013 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
14014 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
14015 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
14016 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
14017 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14018 Moved ...
14019 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
14020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
14021 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
14022 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
14023 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
14024 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14025 Moved ...
14026 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
14027 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
14028 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
14029 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
14030 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
14031 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14032 Identical file removed.
14033 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
14034 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
14035 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
14036 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
14037 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14038 Moved ...
14039 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14040 ... here.
14041 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
14042 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
14043 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
14044 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
14045 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
14046 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
14047 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
14048 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
14049 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
14050 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
14051 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14052 Moved ...
14053 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
14054 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
14055 Moved ...
14056 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
14057 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
14058 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
14059 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14060 Moved ...
14061 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
14062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
14063 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
14064
52ae23b4
RM
14065 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
14066 folded into ...
14067 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
14068 * sysdeps/unix/sysv/linux/s390/Versions
14069 (libpthread: GLIBC_2.19): New version set.
14070 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
14071 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
14072 (librt: GLIBC_2.3.3): New version set.
14073 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
14074 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
14075 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
14076 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
14077 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
14078 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
14079 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
14080 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
14081 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
14082 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
14083 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
14084 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
14085 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
14086 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
14087 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
14088 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
14089 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
14090 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
14091 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
14092 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
14093 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
14094 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
14095 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
14096 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
14097 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
14098 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
14099 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
14100 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
14101 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
14102 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
14103 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
14104 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
14105 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
14106 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
14107 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
14108 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
14109 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
14110 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
14111 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
14112 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
14113 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
14114 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
14115 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
14116 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
14117 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
14118
39507e4a
RM
14119 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
14120 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
14121 (__libc_vfork): Define the function under this name.
14122 [!NOT_IN_libc] (__vfork): Make this an alias.
14123 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14124 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
14125 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
14126 (__libc_vfork): Define the function under this name.
14127 [!NOT_IN_libc] (__vfork): Make this an alias.
14128 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14129 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
14130 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
14131 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
14132 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
14133 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14134
e549ee56
RM
14135 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
14136 code that was previously under [RESET_PID].
14137 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
14138 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
14139 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
14140
6ad2df0b
RM
14141 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
14142 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
14143 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
14144 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
14145 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
14146 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
14147 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
14148 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
14149 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
14150 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
14151 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
14152 Moved ...
14153 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
14154 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
14155 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
14156 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
14157 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
14158 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
14159 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
14160 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
14161 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
14162 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
14163 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
14164 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
14165 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
14166 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
14167 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
14168 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
14169 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
14170 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
14171 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
14172 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
14173 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
14174 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
14175 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
14176 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
14177 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
14178 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
14179 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
14180 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
14181 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
14182
7c1c1d8e
RM
141832014-06-25 Roland McGrath <roland@hack.frob.com>
14184
14185 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
14186 that was previously under [RESET_PID].
14187 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
14188
3e239be6
JM
141892014-06-25 Joseph Myers <joseph@codesourcery.com>
14190
74385da5
JM
14191 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
14192 not undefine and redefine.
14193 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
14194 [O_CLOEXEC]: Make code unconditional.
14195 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
14196 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
14197 <kernel-features.h>.
14198 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
14199 conditional variable definition.
14200 (shm_open) [O_CLOEXEC]: Make code unconditional.
14201 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
14202 code.
14203
c2570a0b
JM
14204 * configure.ac (USE_REGPARMS): Don't define here.
14205 * configure: Regenerated.
14206 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
14207 * sysdeps/i386/configure: Regenerated.
14208
11b076bb
JM
14209 * nptl/createthread.c: Don't include kernel-features.h.
14210 * nptl/pthread_cancel.c: Likewise.
14211 * nptl/pthread_condattr_setclock.c: Likewise.
14212 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
14213 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
14214 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
14215 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
14216 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
14217 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
14218 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
14219 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
14220 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
14221 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
14222 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
14223 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
14224 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
14225 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
14226 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
14227 * nscd/gai.c: Likewise.
14228 * nss/nss_db/db-open.c: Likewise.
14229 * sysdeps/generic/ldsodefs.h: Likewise.
14230 * sysdeps/sh/nptl/tls.h: Likewise.
14231 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14232 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
14233 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
14234 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
14235 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
14236 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14237 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
14238 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14239 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14240 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
14241 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
14242 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14243 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
14244 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
14245 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
14246 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
14247 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
14248 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
14249 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
14250 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
14251 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
14252 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
14253 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
14254 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
14255 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
14256 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
14257 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
14258 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
14259 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
14260 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
14261 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
14262 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
14263 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
14264 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14265 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14266 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14267 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14268 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
14269 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
14270 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
14271 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14272 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
14273 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
14274 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14275 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
14276 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
14277 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
14278 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
14279 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
14280 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
14281 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
14282 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
14283 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
14284 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14285 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
14286 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14287 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14288 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
14289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
14291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
14292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
14293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
14294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
14295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
14296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
14297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
14300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
14301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
14302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
14303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
14305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
14309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
14310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
14311 * sysdeps/unix/sysv/linux/pread.c: Likewise.
14312 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
14313 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
14314 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
14315 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
14316 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
14317 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
14318 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
14319 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
14320 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
14321 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
14322 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
14323 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
14324 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
14325 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
14326 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
14327 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14328 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
14329 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
14330 * sysdeps/unix/sysv/linux/system.c: Likewise.
14331 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
14332 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
14333 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14334 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14335 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14336 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14337 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14338
92072d57
JM
14339 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
14340 * configure: Regenerated.
14341 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
14342
3e239be6
JM
14343 * configure.ac (base_machine): Do not set specially for particular
14344 machines here.
14345 * configure: Regenerated.
14346 * sysdeps/powerpc/preconfigure: Move machine and base_machine
14347 settings from configure.ac.
14348 * sysdeps/i386/preconfigure: New file.
14349 * sysdeps/s390/preconfigure: Likewise.
14350 * sysdeps/sh/preconfigure: Likewise.
14351 * sysdeps/sparc/preconfigure: Likewise.
14352
06d50baa
RM
143532014-06-25 Roland McGrath <roland@hack.frob.com>
14354
74836003
RM
14355 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
14356 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
14357 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
14358 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
14359 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
14360 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
14361 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
14362 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
14363 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
14364 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
14365 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
14366 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
14367 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
14368 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
14369 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
14370 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
14371 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
14372 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
14373 * sysdeps/sparc/sparc64/Makefile: ... appended here.
14374
14375 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
14376 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
14377 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
14378 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
14379 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
14380 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
14381 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
14382 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
14383 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
14384 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
14385 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
14386 * sysdeps/sparc/sparc32/sem_post.c: ... here.
14387 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
14388 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
14389 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
14390 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
14391 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
14392 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
14393 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
14394 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
14395 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
14396 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
14397 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
14398 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
14399 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
14400 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
14401 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
14402 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
14403 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
14404 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
14405 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
14406 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
14407 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
14408 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
14409 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
14410 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
14411 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
14412 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
14413
06d50baa
RM
14414 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
14415 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
14416 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
14417 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
14418 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14419 Moved ...
14420 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14421 ... here.
14422 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
14423 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
14424 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
14425 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
14426 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
14427 Moved ...
14428 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
14429 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
14430 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
14431 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
14432 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
14433 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
14434 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
14435 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14436 Moved ...
14437 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
14438 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14439 Moved ...
14440 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
14441 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
14442 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
14443 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14444 Moved ...
14445 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
14446 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
14447 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
14448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
14449 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
14450 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
14451 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
14452 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
14453 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
14454 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14455 Moved ...
14456 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14457 ... here.
14458 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
14459 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
14460 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
14461 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
14462 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
14463 Moved ...
14464 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
14465 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
14466 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
14467 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
14468 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
14469 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
14470 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
14471 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14472 Moved ...
14473 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
14474 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14475 Moved ...
14476 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
14477 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
14478 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
14479 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14480 Moved ...
14481 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
14482 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
14483 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
14484 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
14485 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
14486
a4ccbc9b
JM
144872014-06-25 Joseph Myers <joseph@codesourcery.com>
14488
0828edbf
JM
14489 * timezone/checktab.awk: Update from tzcode 2014e.
14490 * timezone/private.h: Likewise.
14491 * timezone/tzfile.h: Likewise.
14492 * timezone/zdump.c: Likewise.
14493 * timezone/zic.c: Likewise.
14494
a4ccbc9b
JM
14495 * sysdeps/unix/sysv/linux/kernel-features.h
14496 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
14497 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
14498 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
14499 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14500 Remove conditional code.
14501
9aea0cb8
WN
145022014-06-25 Will Newton <will.newton@linaro.org>
14503
14504 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
14505 (_dl_arm_cap_flags): Add HWCAP2 values.
14506 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
14507 (_DL_HWCAP_COUNT): Increase to 37.
14508 (_DL_HWCAP_LAST): New define.
14509 (_DL_HWCAP2_LAST): New define.
14510 (_dl_procinfo): Add support for printing
14511 AT_HWCAP2 entries.
14512 (_dl_string_hwcap): Use _dl_hwcap_string.
14513
6eaa65ce
AZ
145142014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14515
14516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14517
0f5b7185
JM
145182014-06-25 Joseph Myers <joseph@codesourcery.com>
14519
cfd2ea50
JM
14520 * README: Do not mention ports directory.
14521
cecf2ed4
JM
14522 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
14523 Remove macro.
14524 * sysdeps/unix/sysv/linux/futimes.c: Do not include
14525 <kernel-features.h>.
14526 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
14527 conditional variable definition.
14528 (__futimes): Update comment.
14529 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
14530 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
14531
a638de82
JM
14532 [BZ #16560]
14533 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
14534 arguments close to 0.
14535 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
14536 Likewise.
14537 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
14538 Likewise.
14539 * math/auto-libm-test-in: Add more tests of exp10.
14540 * math/auto-libm-test-out: Regenerated.
14541 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14542
0f5b7185
JM
14543 * sysdeps/unix/sysv/linux/kernel-features.h
14544 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
14545 * sysdeps/unix/sysv/linux/readv.c: Do not include
14546 <kernel-features.h>.
14547 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14548 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14549 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14550 unconditional.
14551 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14552 conditional code.
14553 * sysdeps/unix/sysv/linux/writev.c: Do not include
14554 <kernel-features.h>.
14555 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14556 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14557 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14558 unconditional.
14559 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14560 conditional code.
14561
c7aec4be
WN
145622014-06-25 Will Newton <will.newton@linaro.org>
14563
14564 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
14565 comment changes throughout the file. Remove checks
14566 for HAVE_*_H definitions that are not required.
14567 (__gen_tempname): Call abort if an unknown kind value is
14568 passed.
14569
c5241f95
AS
145702014-06-25 Andreas Schwab <schwab@suse.de>
14571
14572 [BZ #17086]
14573 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
14574 scalbln, scalblnf, scalblnl in libc.
14575
911422da
SP
145762014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14577
14578 [BZ #17086]
14579 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
14580 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
14581 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
14582
0d749bbe
RM
145832014-06-24 Roland McGrath <roland@hack.frob.com>
14584
14585 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
14586 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
14587 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
14588 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
14589 Update #include.
14590 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
14591 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
14592 Update #include.
14593 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
14594 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
14595 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
14596 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
14597 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
14598 * sysdeps/x86/bits/pthreadtypes.h: ... here.
14599 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
14600 * sysdeps/x86/bits/semaphore.h: ... here.
14601 * sysdeps/x86/nptl/elide.h: Moved ...
14602 * sysdeps/x86/elide.h: ... here.
14603 * sysdeps/x86_64/nptl/Implies: File removed.
14604 * sysdeps/i386/nptl/Implies: File removed.
14605
0ea5d373
JM
146062014-06-24 Joseph Myers <joseph@codesourcery.com>
14607
4060283d
JM
14608 [BZ #16539]
14609 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
14610 return the argument for normal arguments with exponent below -64.
14611 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14612 Likewise.
14613 * math/auto-libm-test-in: Add another test of expm1.
14614 * math/auto-libm-test-out: Regenerated.
14615
e7dd3c8c
JM
14616 [BZ #16287]
14617 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
14618 calling __erfcl for arguments at least 16.
14619 * math/auto-libm-test-in: Add more tests of erf.
14620 * math/auto-libm-test-out: Regenerated.
14621
0ea5d373
JM
14622 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
14623 individual architectures.
14624 * sysdeps/unix/sysv/linux/configure: Regenerated.
14625 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
14626 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
14627 * sysdeps/unix/sysv/linux/powerpc/configure.ac
14628 (ldd_rewrite_script): Define variable.
14629 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
14631 file.
14632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
14633 generated file.
14634 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
14635 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
14636 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
14637 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
14638 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
14639 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
14640 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
14641 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
14642
2307e126
SP
146432014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14644
14645 [BZ #17084]
14646 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
14647 Rename member __data.d to __data.__elision_data.
14648
c0a4ed77
W
146492014-06-24 Wilco <wdijkstr@arm.com>
14650
14651 * NEWS: Add 16918 to fixed bug list.
14652
b8c00573
W
146532014-06-24 Wilco <wdijkstr@arm.com>
14654
14655 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
14656
b5570d92
W
146572014-06-24 Wilco <wdijkstr@arm.com>
14658
14659 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
14660 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
14661 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
14662 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
14663 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
14664 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
14665 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
14666 Use _FPU_MASK_RM.
14667
947bdca2
W
146682014-06-24 Wilco <wdijkstr@arm.com>
14669
14670 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
14671
00f669ed
W
146722014-06-24 Wilco <wdijkstr@arm.com>
14673
14674 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
14675 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
14676 * sysdeps/arm/fesetround.c (fesetround): Remove space.
14677 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
14678
db59bad3
W
146792014-06-24 Wilco <wdijkstr@arm.com>
14680
14681 [BZ #16918]
14682 * sysdeps/arm/feupdateenv.c (feupdateenv):
14683 Rewrite to reduce FPSCR accesses and fix return value.
14684
001f7b77
W
146852014-06-24 Wilco <wdijkstr@arm.com>
14686
14687 * sysdeps/arm/fclrexcpt.c (feclearexcept):
14688 Optimize to avoid unnecessary FPSCR writes.
14689 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
14690 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
14691 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
14692 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
14693
4841e6a6
W
146942014-06-24 Wilco <wdijkstr@arm.com>
14695
14696 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
14697 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
14698 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
14699 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
14700 Call libc_fetestexcept_vfp.
14701 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
14702 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
14703 __SOFTFP__ ifdef so that they can be built for softfp.
14704
0813022c
SP
147052014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14706
08e5862f
SP
14707 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
14708 argument type signed char.
14709
0813022c
SP
14710 * Makerules (check-abi): Dump diff of symlist if the test
14711 fails.
14712
3fc7236a
RM
147132014-06-23 Roland McGrath <roland@hack.frob.com>
14714
aba8ef95
RM
14715 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
14716 using abort.
14717
3fc7236a
RM
14718 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
14719 Remove unused variable ST.
14720
4da6db51
JM
147212014-06-23 Joseph Myers <joseph@codesourcery.com>
14722
4648909d
JM
14723 [BZ #16354]
14724 [BZ #17061]
14725 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
14726 small arguments before calling __expm1.
14727 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
14728 small arguments before calling __expm1f.
14729 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
14730 small arguments before calling __expm1l.
14731 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14732 Likewise.
14733 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
14734 * math/auto-libm-test-in: Add more cosh tests. Do not allow
14735 spurious underflow for some cosh tests.
14736 * math/auto-libm-test-out: Regenerated.
14737 * sysdeps/i386/fpu/libm-test-ulps: Update.
14738
46a3d3c7
JM
14739 [BZ #17050]
14740 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
14741 (__ieee754_y1): Set errno if return value overflows.
14742 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
14743 (__ieee754_y1f): Set errno if return value overflows.
14744 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
14745 (__ieee754_y1l): Set errno if return value overflows.
14746 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
14747 (__ieee754_y1l): Set errno if return value overflows.
14748 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
14749 * math/auto-libm-test-out: Regenerated.
14750
863893ec
JM
14751 * math/gen-auto-libm-tests.c: Document use of
14752 ignore-zero-inf-sign.
14753 (input_flag_type): Add value flag_ignore_zero_inf_sign.
14754 (input_flags): Add ignore-zero-inf-sign.
14755 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
14756 * math/gen-libm-test.pl (generate_testfile): Handle
14757 ignore-zero-inf-sign.
14758 * math/auto-libm-test-in: Mark some cpow tests with
14759 ignore-zero-inf-sign and some with xfail-rounding.
14760 * math/auto-libm-test-out: Regenerated.
14761 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
14762 * sysdeps/i386/fpu/libm-test-ulps: Update.
14763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14764
4da6db51
JM
14765 [BZ #16315]
14766 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
14767 overflowing or underflowing operations take place with sign of
14768 result.
14769 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14770 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14771 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
14772 (__ieee754_pow): Recompute overflowing and underflowing results in
14773 original rounding mode.
14774 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
14775 (__powl_helper): Allow negative argument X and scale negated value
14776 as needed. Avoid passing value outside [-1, 1] to f2xm1.
14777 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
14778 overflowing or underflowing operations take place with sign of
14779 result.
14780 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
14781 Include <math.h>.
14782 * math/auto-libm-test-in: Add more tests of pow.
14783 * math/auto-libm-test-out: Regenerated.
14784 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
14785 (pow_tonearest_test_data): Remove.
14786 (pow_test_tonearest): Likewise.
14787 (pow_towardzero_test_data): Likewise.
14788 (pow_test_towardzero): Likewise.
14789 (pow_downward_test_data): Likewise.
14790 (pow_test_downward): Likewise.
14791 (pow_upward_test_data): Likewise.
14792 (pow_test_upward): Likewise.
14793 (main): Don't call removed functions.
14794 * sysdeps/i386/fpu/libm-test-ulps: Update.
14795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14796
5686b236
RM
147972014-06-23 Roland McGrath <roland@hack.frob.com>
14798
14799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
14800 Moved ...
14801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
14802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14803 Moved ...
14804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
14805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14806 Moved ...
14807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
14808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14809 Moved ...
14810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
14811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14812 File removed.
14813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14814 File removed.
14815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
14816 File removed.
14817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
14818 File removed.
14819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
14820 File removed.
14821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
14822 File removed.
14823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
14824 File removed.
14825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14826 File removed.
14827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
14828 File removed.
14829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14830 File removed.
14831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
14832 File removed.
14833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
14834 File removed.
14835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
14836 Moved ...
14837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
14838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
14839 Moved ...
14840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14841 ... here.
14842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
14843 Moved ...
14844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
14845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
14846 Moved ...
14847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
14848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
14849 Moved ...
14850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
14851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
14852 Moved ...
14853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
14854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
14855 Moved ...
14856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
14857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
14858 Moved ...
14859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
14860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
14861 Moved ...
14862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
14863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
14864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14865 ... here.
14866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
14867 Moved ...
14868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
14869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14870 Moved ...
14871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14872 ... here.
14873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
14874 Moved ...
14875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14876 ... here.
14877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14878 Moved ...
14879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
14880 ... here.
14881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14882 Moved ...
14883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
14884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14885 Moved ...
14886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
14887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
14888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
14889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14890 Moved ...
14891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14892 ... here.
14893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14894 Moved ...
14895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14896 ... here.
14897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14898 Moved ...
14899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
14900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14901 Moved ...
14902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
14903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14904 Moved ...
14905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
14906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14907 Moved ...
14908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
14909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14910 Moved ...
14911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14912 ... here.
14913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14914 Moved ...
14915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
14916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14917 Moved ...
14918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
14919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14920 Moved ...
14921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
14922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14923 Moved ...
14924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
14925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
14926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
14927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14928 Moved ...
14929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
14930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14931 Moved ...
14932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
14933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14934 Moved ...
14935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14936 ... here.
14937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14938 Moved ...
14939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14940 ... here.
14941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14942 Moved ...
14943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14944 ... here.
14945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14946 Moved ...
14947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
14948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14949 Moved ...
14950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
14951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14952 Moved ...
14953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
14954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14955 Moved ...
14956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14957 ... here.
14958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14959 Moved ...
14960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14961 ... here.
14962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14963 Moved ...
14964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14965 ... here.
14966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14967 Moved ...
14968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
14969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14970 Moved ...
14971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
14972
e6d90d67
WD
149732014-06-23 Will Newton <will.newton@linaro.org>
14974 Wilco <wdijkstr@arm.com>
14975
14976 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
14977 implementation. Include get-rounding-mode.h.
14978 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
14979 [!libc_feholdsetround_noex_ctx]: Define
14980 libc_feholdsetround_noex_ctx.
14981 [!libc_feholdsetround_noexf_ctx]: Define
14982 libc_feholdsetround_noexf_ctx.
14983 [!libc_feholdsetround_noexl_ctx]: Define
14984 libc_feholdsetround_noexl_ctx.
14985 (libc_feholdsetround_ctx): New function.
14986 (libc_feresetround_ctx): New function.
14987 (libc_feholdsetround_noex_ctx): New function.
14988 (libc_feresetround_noex_ctx): New function.
14989
d42df555
RM
149902014-06-23 Roland McGrath <roland@hack.frob.com>
14991
88a46474
RM
14992 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
14993 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
14994 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
14995 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
14996 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
14997 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
14998
15bed472
RM
14999 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
15000 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
15001 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
15002 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
15003 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
15004 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
15005 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
15006 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
15007 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
15008 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
15009 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
15010 Moved ...
15011 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
15012 ... here.
15013 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
15014 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
15015 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
15016 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
15017 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
15018 Moved ...
15019 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
15020 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
15021 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
15022 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
15023 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
15024 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
15025 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
15026 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
15027 Moved ...
15028 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
15029 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
15030 Moved ...
15031 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
15032 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
15033 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
15034 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
15035 Moved ...
15036 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
15037 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
15038 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
15039 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
15040 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
15041 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
15042 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
15043 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
15044 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
15045 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
15046 Moved ...
15047 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
15048 ... here.
15049 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
15050 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
15051 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
15052 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
15053 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
15054 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
15055 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
15056 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
15057 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
15058 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
15059 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
15060 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
15061 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
15062 Moved ...
15063 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
15064 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
15065 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
15066 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
15067 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
15068 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
15069 Moved ...
15070 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
15071 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
15072 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
15073 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
15074 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
15075
d42df555
RM
15076 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
15077 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
15078 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
15079 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
15080 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
15081 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
15082 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
15083 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
15084 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
15085 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
15086 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
15087 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
15088 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
15089 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
15090 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
15091 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
15092 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
15093 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
15094 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
15095 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
15096 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
15097 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
15098 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
15099 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
15100 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
15101 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
15102 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
15103 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
15104
76e5216e
JM
151052014-06-23 Joseph Myers <joseph@codesourcery.com>
15106
15107 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
15108 (FALLOC_FL_COLLAPSE_RANGE): New macro.
15109 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
15110 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
15111 (IPV6_PMTUDISC_INTERFACE): Likewise.
15112 (IPV6_PMTUDISC_OMIT): Likewise.
15113
7a81cbcc
AS
151142014-06-23 Andreas Schwab <schwab@suse.de>
15115
15116 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
15117 Remove unused errout label.
15118
db224009
AZ
151192014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15120
15121 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
15122 macro: hardware supports Vector Crypto instructions.
15123
f393b4aa
WN
151242014-06-23 Will Newton <will.newton@linaro.org>
15125
cc7d0447
WN
15126 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
15127 rather than __builtin_expect.
15128
d6d06225
WN
15129 * elf/dl-lookup.c (undefined_msg): Remove variable.
15130 (_dl_lookup_symbol_x): Replace undefined_msg with string
15131 literal.
15132
f393b4aa
WN
15133 * elf/dl-lookup.c (do_lookup_unique): New function.
15134 (do_lookup_x): Move STB_GNU_UNIQUE handling code
15135 to a separate function.
15136
ac60763e
AS
151372014-06-23 Andreas Schwab <schwab@suse.de>
15138
15139 [BZ #17079]
15140 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
15141 before reading the next line.
15142
c5c13355
WN
151432014-06-23 Will Newton <will.newton@linaro.org>
15144
15145 * test-skeleton.c (signal_handler): Use printf and %m
15146 rather than perror. Use printf rather than fprintf to
15147 stderr. Use puts rather than fputs to stderr.
15148 (main): Likewise.
15149
bd3675f9
LC
151502014-06-22 Ludovic Courtès <ludo@gnu.org>
15151
15152 * nscd/nscd.c (thread_info_t): Remove typedef.
15153 (thread_info): Remove variable.
15154
d03efb2f
AM
151552014-06-21 Allan McRae <allan@archlinux.org>
15156
15157 * NEWS: Mention CVE-2014-4043.
15158
bc4a86fa
RM
151592014-06-20 Roland McGrath <roland@hack.frob.com>
15160
dc9a54f8
RM
15161 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
15162 * nptl/smp.h: ... here.
15163
bd7022c4
RM
15164 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
15165
26ffd5e6
RM
15166 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
15167 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
15168 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
15169 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
15170
93a6d082
RM
15171 * nptl/allocatestack.c: Include <stack-aliasing.h>.
15172 * nptl/stack-aliasing.h: New file.
15173 * sysdeps/i386/i686/stack-aliasing.h: New file.
15174 * sysdeps/i386/i686/nptl/Makefile: File removed.
15175 * sysdeps/x86_64/stack-aliasing.h: New file.
15176 * sysdeps/x86_64/nptl/Makefile
15177 (CFLAGS-pthread_create.c): Variable removed.
15178
bc4a86fa
RM
15179 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
15180 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
15181 old file.
15182 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
15183 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
15184 old file.
15185
2272ffc1
JM
151862014-06-21 Joseph Myers <joseph@codesourcery.com>
15187
15188 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15189 (__ASSUME_SIGFRAME_V2): Remove macro.
15190 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
15191 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
15192 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
15193 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
15194 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
15195 Declare as function. Remove conditional macro definitions.
15196 (__default_rt_sa_restorer): Likewise.
15197 (__default_sa_restorer_v1): Remove declaration.
15198 (__default_sa_restorer_v2): Likewise.
15199 (__default_rt_sa_restorer_v1): Likewise.
15200 (__default_rt_sa_restorer_v2): Likewise.
15201 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
15202 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
15203 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
15204
4b88139b
RM
152052014-06-20 Roland McGrath <roland@hack.frob.com>
15206
15207 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
15208 (libpthread-routines): Add sysdep.
15209 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
15210 * sysdeps/unix/sysv/linux/sparc/Versions
15211 (libpthread: GLIBC_2.3.3): New version set.
15212 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
15213 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
15214 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
15215 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
15216 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
15217 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
15218 Moved ...
15219 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
15220 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
15221 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
15222 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
15223 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
15224 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
15225 * sysdeps/sparc/nptl/sem_init.c: ... here.
15226 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
15227 * sysdeps/sparc/nptl/sem_post.c: ... here.
15228 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
15229 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
15230 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
15231 * sysdeps/sparc/nptl/sem_wait.c: ... here.
15232 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
15233 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
15234 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
15235 (libpthread-routines): Add cpu_relax.
15236 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
15237 File removed.
15238 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
15239 (librt: GLIBC_2.3.3): New version set.
15240 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
15241 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
15242 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
15243 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
15244 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
15245 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
15246 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
15247 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
15248 Moved ...
15249 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
15250 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
15251 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
15252 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
15253 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
15254 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
15255 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
15256 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
15257 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
15258 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
15259 Moved ...
15260 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
15261 Update #include.
15262 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
15263 Moved ...
15264 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
15265 Update #include.
15266 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
15267 Moved ...
15268 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
15269 Update #include.
15270 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
15271 Moved ...
15272 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
15273 Update #include.
15274 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
15275 Moved ...
15276 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
15277 Update #include.
15278 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
15279 Moved ...
15280 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
15281 Update #include.
15282 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
15283 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
15284 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
15285 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
15286 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
15287 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
15288 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
15289 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
15290 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
15291 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
15292 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
15293 Moved ...
15294 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
15295 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
15296 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
15297 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
15298 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
15299
d7109027
JM
153002014-06-20 Joseph Myers <joseph@codesourcery.com>
15301
9bc6103d
JM
15302 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
15303 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
15304 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
15305 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
15306 * nscd/nscd.c: Likewise.
15307 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
15308 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
15309 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
15310 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
15311
d7109027
JM
15312 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
15313 <kernel-features.h>.
15314 (init_mq_netlink): Remove conditional have_sock_cloexec
15315 definitions. Remove code conditional on have_sock_cloexec < 0.
15316 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
15317 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
15318 * sysdeps/unix/sysv/linux/opensock.c: Do not include
15319 <kernel-features.h>.
15320 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
15321 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
15322
d92d8f8a
L
153232014-06-20 H.J. Lu <hongjiu.lu@intel.com>
15324
15325 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15326 Add tests for memset_chk and memset.
15327
15328 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
15329 with AVX2_Usable.
15330
4e6d2347
MR
153312014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
15332
257ce712
MR
15333 [BZ #16046]
15334 * elf/tst-dl-iter-static.c: New file.
15335 * elf/Makefile (tests-static): Add tst-dl-iter-static.
15336
4e6d2347
MR
15337 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
15338 error.
15339
a2a76afe
JM
153402014-06-20 Joseph Myers <joseph@codesourcery.com>
15341
7fd00f99
JM
15342 * sysdeps/unix/sysv/linux/kernel-features.h
15343 (__ASSUME_F_GETOWN_EX): Remove macro.
15344 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
15345 <kernel-features.h>.
15346 (miss_F_GETOWN_EX): Remove variable or macro.
15347 (do_fcntl): Do not check miss_F_GETOWN_EX.
15348 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
15349
4a103975
JM
15350 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
15351 Remove macro.
15352 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
15353 [!__ASSUME_AT_RANDOM]: Remove conditional code.
15354 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
15355
a2a76afe
JM
15356 * sysdeps/unix/sysv/linux/kernel-features.h
15357 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
15358 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
15359 [ADJ_OFFSET_SS_READ]: Make code unconditional.
15360 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
15361
90e5dd48
MR
153622014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
15363
15364 [BZ #17075]
15365 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
15366 Fix calculation of the symbol's value.
15367 * sysdeps/arm/tst-armtlsdescloc.c: New file.
15368 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
15369 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
15370 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
15371 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
15372 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
15373 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
15374 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
15375 (modules-names): Add `tst-armtlsdescmod',
15376 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
15377 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
15378 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15379 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
15380 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
15381 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15382 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
15383 ($(objpfx)tst-armtlsdescloc): New dependency.
15384 ($(objpfx)tst-armtlsdescextnow): Likewise.
15385 ($(objpfx)tst-armtlsdescextlazy): Likewise.
15386 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
15387 TLS scheme support.
15388 * sysdeps/arm/configure: Regenerate.
15389
809fdf0d
JM
153902014-06-20 Joseph Myers <joseph@codesourcery.com>
15391
15392 * include/fcntl.h (__atfct_seterrno): Remove prototype.
15393 (__atfct_seterrno_2): Likewise.
15394 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
15395 <kernel-features.h>.
15396 (__ASSUME_ATFCTS): Do not undefine and redefine.
15397 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
15398 (__have_atfcts): Remove conditional definition.
15399 (__fxstatat([__NR_fstatat64]: Make code unconditional.
15400 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
15401 unreachable if [__ASSUME_ATFCTS].
15402 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
15403 not undefine and redefine.
15404 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
15405 <kernel-features.h>.
15406 (faccessat) [__NR_faccessat]: Make code unconditional.
15407 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
15408 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
15409 <kernel-features.h>.
15410 (fchmodat) [__NR_fchmodat]: Make code unconditional.
15411 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15412 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
15413 <kernel-features.h>.
15414 (fchownat) [__NR_fchownat]: Make code unconditional.
15415 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
15416 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
15417 <kernel-features.h>.
15418 (futimesat) [__NR_futimesat]: Make code unconditional.
15419 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
15420 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15421 <kernel-features.h>.
15422 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15423 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15424 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15425 <kernel-features.h>.
15426 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
15427 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15428 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
15429 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15430 <kernel-features.h>.
15431 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
15432 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15433 * sysdeps/unix/sysv/linux/linkat.c: Do not include
15434 <kernel-features.h>.
15435 (linkat) [__NR_linkat]: Make code unconditional.
15436 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15437 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
15438 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
15439 <kernel-features.h>.
15440 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
15441 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15442 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
15443 <kernel-features.h>.
15444 (mkdirat) [__NR_mkdirat]: Make code unconditional.
15445 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
15446 * sysdeps/unix/sysv/linux/openat.c: Do not include
15447 <kernel-features.h>.
15448 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
15449 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
15450 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
15451 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
15452 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
15453 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
15454 <kernel-features.h>.
15455 (readlinkat) [__NR_readlinkat]: Make code unconditional.
15456 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
15457 result of INLINE_SYSCALL directly, not via int variable.
15458 * sysdeps/unix/sysv/linux/renameat.c: Do not include
15459 <kernel-features.h>.
15460 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
15461 (renameat) [__NR_renameat]: Make code unconditional.
15462 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
15463 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
15464 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
15465 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
15466 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
15467 (__ASSUME_ATFCTS): Do not undefine and redefine.
15468 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
15469 <kernel-features.h>.
15470 (symlinkat) [__NR_symlinkat]: Make code unconditional.
15471 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15472 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
15473 <kernel-features.h>.
15474 (unlinkat) [__NR_unlinkat]: Make code unconditional.
15475 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15476 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
15477 (__ASSUME_ATFCTS): Do not undefine and redefine.
15478 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15479 <kernel-features.h>.
15480 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15481 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15482 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15483 <kernel-features.h>.
15484 (__xmknodat) [__NR_mknodat]: Make code unconditional.
15485 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15486
224c6c51
L
154872014-06-20 H.J. Lu <hongjiu.lu@intel.com>
15488
15489 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
15490
aa6ec754
AS
154912014-06-20 Andreas Schwab <schwab@linux-m68k.org>
15492
15493 [BZ #17069]
15494 * posix/regcomp.c (parse_reg_exp): Deallocate partially
15495 constructed tree before returning error.
15496 * posix/bug-regexp36.c: Expand test case.
15497
d8c2869d
SL
154982014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
15499
3ef6b850
SL
15500 [BZ #6803]
15501 * math/libm-test.inc (scalbln_test_date):
15502 Add errno expectations.
15503 * math/w_scalblnf.c: New File.
15504 Add wrapper which checks for setting errno to ERANGE.
15505 Add weak_alias for corresponding scalbln function.
15506 * math/w_scalbln.c: Likewise.
15507 * math/w_scalblnl.c: Likewise.
15508 * math/Makefile (libm-calls): Add w_scalbln.
15509 * sysdeps/ieee754/flt-32/s_scalblnf.c:
15510 Remove weak_alias for corresponding scalbln function.
15511 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15512 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15513 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15514 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15515 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
15516 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15517 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
15518 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15519 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
15520 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
15521 Remove long_double_symbol for scalblnl function in libm, libc.
15522 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
15523 Add wrapper which checks for setting errno to ERANGE.
15524 Add long_double_symbol for scalblnl function in libm, libc.
15525 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
15526 Remove long_double_symbol for scalblnl in libm.
15527 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
15528 Add wrapper which checks for setting errno to ERANGE.
15529 Add long_double_symbol for scalblnl function in libm.
15530 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
15531 Do not use wrapper because of own implementation.
15532
c8daec5c
L
155332014-06-19 H.J. Lu <hongjiu.lu@intel.com>
15534
15535 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
15536 3 bytes for __pad1 for x32.
15537 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
15538
5c74e47c
LM
155392014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
15540 H.J. Lu <hongjiu.lu@intel.com>
15541
15542 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
15543 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
15544 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15545 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15546 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
15547
4d43ef1e
AS
155482014-06-19 Andreas Schwab <schwab@linux-m68k.org>
15549
15550 [BZ #17069]
15551 * posix/regcomp.c (parse_expression): Deallocate partially
15552 constructed tree before returning error.
15553 * posix/Makefile.c (tests): Add bug-regex36.
15554 (generated): Add bug-regex36.mtrace.
15555 (tests-special): Add $(objpfx)bug-regex36-mem.out
15556 (bug-regex36-ENV): New variable.
15557 ($(objpfx)bug-regex36-mem.out): New rule.
15558 * posix/bug-regex36.c: New file.
15559
51a7380b
WN
155602014-06-19 Will Newton <will.newton@linaro.org>
15561
15562 * malloc/malloc.c (systrim): If extra is zero then return
15563 early.
15564
91b84fe5
SP
155652014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15566
15567 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
15568
f940b965
RE
155692014-06-19 Richard Earnshaw <rearnsha@arm.com>
15570
15571 * sysdeps/aarch64/strchr.S: New file.
15572
4ba7a00f
JM
155732014-06-18 Joseph Myers <joseph@codesourcery.com>
15574
15575 [BZ #17022]
15576 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
15577 from arguments -2 or below.
15578 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15579 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
15580
b3a9f56b
AS
155812014-06-18 Andreas Schwab <schwab@suse.de>
15582
15583 [BZ #17062]
15584 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
15585 of a bracket expr not to run off the end of the string.
15586 * posix/Makefile (tests): Add tst-fnmatch3.
15587 * posix/tst-fnmatch3.c: New file.
15588
85d89278
JM
155892014-06-18 Joseph Myers <joseph@codesourcery.com>
15590
15591 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
15592 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15593 [$(cross-compiling) = no]: Likewise.
15594 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15595 [$(cross-compiling) = no]: Likewise.
15596
754c5a08
RS
155972014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15598
15599 [BZ #17031]
15600 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
15601 double, adjusted for any remainder from the high double.
15602 * math/libm-test.inc (nearbyint): Add tests.
15603 (rint): Likewise.
15604
556f529d
AZ
156052014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15606
15607 * nptl/sysdeps/powerpc/Makefile: Moved ...
15608 * sysdeps/powerpc/nptl/Makefile: ... here.
15609 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
15610 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
15611 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
15612 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
15613 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
15614 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
15615 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
15616 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
15617 * nptl/sysdeps/powerpc/tls.h: Moved ...
15618 * sysdeps/powerpc/nptl/tls.h: ... here.
15619
91c03c53
JM
156202014-06-16 Joseph Myers <joseph@codesourcery.com>
15621
15622 [BZ #16681]
15623 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
15624 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
15625 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
15626 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
15627 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
15628 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
15629 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
15630 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
15631 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
15632
a76e63c5
AS
156332014-06-17 Andreas Schwab <schwab@linux-m68k.org>
15634
15635 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15636
f2f6d82f
AS
156372014-06-16 Andreas Schwab <schwab@linux-m68k.org>
15638
ea8a15f6
AS
15639 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
15640 defined operator.
15641
f2f6d82f
AS
15642 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
15643 $TIMEOUTFACTOR.
15644
a7291117
FW
156452014-06-16 Florian Weimer <fweimer@redhat.com>
15646
15647 [BZ #17058]
15648 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
15649 non-executed part of the test.
15650
3d7c00e3
AS
156512014-06-16 Andreas Schwab <schwab@suse.de>
15652
15653 * string/bits/string2.h (strdup, strndup): Update feature guard.
15654
6957fb31
DM
156552014-06-14 David S. Miller <davem@davemloft.net>
15656
15657 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15658
11b9e55b
AS
156592014-06-14 Andreas Schwab <schwab@linux-m68k.org>
15660
1d2a0492
AS
15661 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
15662 that was previously under [RESET_PID].
15663 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
15664
11b9e55b
AS
15665 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
15666 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
15667 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
15668 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15669 (__libc_vfork): New strong alias.
15670 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
15671
0f6901d0
AK
156722014-06-14 Andi Kleen <ak@linux.intel.com>
15673
15674 * sysdeps/generic/elide.h: New file.
15675
38bbbb9f
SL
156762014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
15677
15678 * Makefile (installed-headers): Adjust path of pthread.h header.
15679
45193bb8
RM
156802014-06-13 Roland McGrath <roland@hack.frob.com>
15681
9a25fd1e
RM
15682 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
15683 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
15684 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
15685 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
15686
4004f7e4
RM
15687 * nptl/sysdeps/s390/Makefile: Moved ...
15688 * sysdeps/s390/nptl/Makefile: ... here.
15689 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
15690 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
15691 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
15692 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
15693 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
15694 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
15695 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
15696 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
15697 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
15698 * sysdeps/s390/nptl/pthreaddef.h: ... here.
15699 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
15700 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
15701 * nptl/sysdeps/s390/tls.h: Moved ...
15702 * sysdeps/s390/nptl/tls.h: ... here.
15703
45193bb8
RM
15704 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
15705 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
15706
f6fdf533
DM
157072014-06-13 David S. Miller <davem@davemloft.net>
15708
15709 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
15710 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
15711 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
15712 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
15713 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
15714 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
15715 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
15716 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
15717 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
15718 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
15719 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
15720 Remove RESET_PID cpp guards.
15721 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
15722 Remove RESET_PID cpp guards.
15723 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
15724
f5d71e14
AS
157252014-06-13 Andreas Schwab <schwab@linux-m68k.org>
15726
15727 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
15728 __sp to uintptr_t.
15729
b7aa8caa
AK
157302014-06-13 Andi Kleen <ak@linux.intel.com>
15731
4b266200
AZ
15732 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
15733 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
15734 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
15735 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
15736 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
15737 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
15738 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
15739 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
15740 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
15741 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
15742 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
15743 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
15744 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
15745 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
15746 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
15747 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
15748 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
15749 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
15750 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
15751 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
15752
15753 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
15754 (pthread_rwlock_rdlock): Add elision.
15755 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
15756 (pthread_rwlock_wrlock): Add elision.
15757 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
15758 (pthread_rwlock_trywrlock): Add elision.
15759 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
15760 (pthread_rwlock_tryrdlock): Add elision.
15761 * nptl/pthread_rwlock_unlock.c: Include elide.h.
15762 (pthread_rwlock_tryrdlock): Add elision unlock.
15763 * nptl/sysdeps/pthread/pthread.h:
15764 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
15765 (PTHREAD_RWLOCK_INITIALIZER,
15766 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
15767 Handle new elision field.
15768 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
15769 * sysdeps/arm/nptl/bits/pthreadtypes.h
15770 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15771 * sysdeps/sh/nptl/bits/pthreadtypes.h
15772 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15773 * sysdeps/tile/nptl/bits/pthreadtypes.h
15774 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15775 * sysdeps/a/nptl/bits/pthreadtypes.h
15776 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15777 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15778 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15779 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15780 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15781 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
15782 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15783 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15784 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15785 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15786 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15787 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15788 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15789 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15790 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15791 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
15792 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15793 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
15794 (elision_init): Set try_xbegin to zero when no RTM.
15795 * sysdeps/x86/nptl/bits/pthreadtypes.h
15796 (pthread_rwlock_t): Change __pad1 to __rwelision.
15797 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 15798
a832bdd3
AK
157992014-06-13 Andi Kleen <ak@linux.intel.com>
15800
15801 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
15802 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
15803 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
15804 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
15805
995a46bb
MI
158062014-06-13 Meador Inge <meadori@codesourcery.com>
15807
15808 [BZ #16996]
03ed7738 15809 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
15810 that the cached result has been set before returning it.
15811
45262aee
RM
158122014-06-12 Roland McGrath <roland@hack.frob.com>
15813
febf6cc5
RM
15814 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
15815 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
15816 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
15817 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
15818 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
15819 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
15820
e2682246
RM
15821 * nptl/sysdeps/sparc/Makefile: Moved ...
15822 * sysdeps/sparc/nptl/Makefile: ... here.
15823 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
15824 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
15825 * nptl/sysdeps/sparc/tls.h: Moved ...
15826 * sysdeps/sparc/nptl/tls.h: ... here.
15827 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
15828 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
15829 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
15830 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
15831 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
15832 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
15833 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
15834 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
15835 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
15836 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
15837 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
15838 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
15839 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
15840 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
15841 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
15842 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
15843 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
15844 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
15845 Update #include.
15846 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
15847 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
15848 Update #include.
15849 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
15850 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
15851 Update #include.
15852 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
15853 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
15854 Update #include.
15855
b0725f43
RM
15856 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15857
b14368b8
RM
15858 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
15859 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
15860
c5620eb3
RM
15861 * sysdeps/pthread/posix-timer.h: Include <list.h>.
15862 (struct list_links): Type removed.
15863 (struct thread_node, struct timer_node): Replace struct list_links
15864 with struct list_head.
15865 (list_unlink_ip): Likewise.
15866 * sysdeps/pthread/timer_routines.c
15867 (timer_free_list, thread_free_list, thread_active_list): Likewise.
15868 (list_append, list_insbefore): Likewise.
15869 (list_init): Function removed.
15870 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
15871 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
15872 * sysdeps/pthread/Makefile: ... here, new file.
15873
15874 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
15875 * sysdeps/nptl/Implies: ... here.
15876 * sysdeps/unix/sysv/linux/Implies: Add nptl.
15877 * nptl/sysdeps/pthread/list.h: Moved ...
15878 * include/list.h: ... here.
15879 * nptl/sysdeps/pthread/createthread.c: Moved ...
15880 * nptl/createthread.c: ... here.
15881 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
15882 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
15883 * nptl/pt-longjmp.c: ... here.
15884 * nptl/sysdeps/pthread/Makefile: Moved ...
15885 * sysdeps/nptl/Makefile: ... here.
15886 * nptl/sysdeps/pthread/Subdirs: Moved ...
15887 * sysdeps/nptl/Subdirs: ... here.
15888 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
15889 * sysdeps/nptl/aio_misc.h: ... here.
15890 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
15891 * sysdeps/nptl/bits/libc-lock.h: ... here.
15892 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
15893 * sysdeps/nptl/bits/libc-lockP.h: ... here.
15894 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
15895 * sysdeps/nptl/bits/stdio-lock.h: ... here.
15896 * nptl/sysdeps/pthread/configure: Moved ...
15897 * sysdeps/nptl/configure: ... here.
15898 * nptl/sysdeps/pthread/configure.ac: Moved ...
15899 * sysdeps/nptl/configure.ac: ... here.
15900 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
15901 * sysdeps/nptl/gai_misc.h: ... here.
15902 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
15903 * sysdeps/nptl/librt-cancellation.c: ... here.
15904 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
15905 * sysdeps/nptl/malloc-machine.h: ... here.
15906 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
15907 * sysdeps/nptl/pthread-functions.h: ... here.
15908 * nptl/sysdeps/pthread/pthread.h: Moved ...
15909 * sysdeps/nptl/pthread.h: ... here.
15910 * nptl/sysdeps/pthread/setxid.h: Moved ...
15911 * sysdeps/nptl/setxid.h: ... here.
15912 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
15913 * sysdeps/nptl/sigfillset.c: ... here.
15914 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
15915 * sysdeps/nptl/tcb-offsets.h: ... here.
15916 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
15917 * sysdeps/nptl/tst-mqueue8x.c: ... here.
15918 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
15919 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
15920 * nptl/sysdeps/pthread/allocalim.h: Moved ...
15921 * sysdeps/pthread/allocalim.h: ... here.
15922 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
15923 * sysdeps/pthread/bits/sigthread.h: ... here.
15924 * nptl/sysdeps/pthread/flockfile.c: Moved ...
15925 * sysdeps/pthread/flockfile.c: ... here.
15926 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
15927 * sysdeps/pthread/ftrylockfile.c: ... here.
15928 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
15929 * sysdeps/pthread/funlockfile.c: ... here.
15930 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
15931 * sysdeps/pthread/posix-timer.h: ... here.
15932 * nptl/sysdeps/pthread/timer_create.c: Moved ...
15933 * sysdeps/pthread/timer_create.c: ... here.
15934 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
15935 * sysdeps/pthread/timer_delete.c: ... here.
15936 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
15937 * sysdeps/pthread/timer_getoverr.c: ... here.
15938 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
15939 * sysdeps/pthread/timer_gettime.c: ... here.
15940 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
15941 * sysdeps/pthread/timer_routines.c: ... here.
15942 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
15943 * sysdeps/pthread/timer_settime.c: ... here.
15944 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
15945 * sysdeps/pthread/tst-timer.c: ... here.
15946 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
15947 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
15948
e876b090
RM
15949 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
15950 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
15951
f6b07b3d
RM
15952 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
15953 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
15954 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
15955 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
15956 Update #include target.
15957 * nptl/sysdeps/i386/i686/Makefile: Moved ...
15958 * sysdeps/i386/i686/nptl/Makefile: ... here.
15959 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
15960 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
15961 Update #include target.
15962 * nptl/sysdeps/i386/i686/tls.h: Moved ...
15963 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
15964 * nptl/sysdeps/i386/Makefile: Moved ...
15965 * sysdeps/i386/nptl/Makefile: ... here.
15966 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
15967 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
15968 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
15969 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
15970 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
15971 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
15972 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
15973 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
15974 * sysdeps/i386/nptl/pthreaddef.h: ... here.
15975 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
15976 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
15977 * nptl/sysdeps/i386/tls.h: Moved ...
15978 * sysdeps/i386/nptl/tls.h: ... here.
15979
45262aee
RM
15980 * sysdeps/sh/Makefile [$(subdir) = csu]
15981 (gen-as-const-headers): Add tcb-offsets.sym.
15982 * nptl/sysdeps/sh/Makefile: File removed.
15983 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
15984 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
15985 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
15986 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
15987 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
15988 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
15989 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
15990 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
15991 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
15992 * sysdeps/sh/nptl/pthreaddef.h: ... here.
15993 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
15994 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
15995 * nptl/sysdeps/sh/tls.h: Moved ...
15996 * sysdeps/sh/nptl/tls.h: ... here.
15997 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
15998 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
15999 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
16000 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
16001 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
16002 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
16003 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
16004 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
16005 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
16006 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
16007 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
16008 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
16009 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
16010 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
16011 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
16012 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
16013 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
16014 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
16015 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
16016 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
16017 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
16018 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
16019 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
16020 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
16021 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
16022 Moved ...
16023 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
16024 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
16025 Moved ...
16026 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
16027 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
16028 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
16029 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
16030 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
16031 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
16032 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
16033 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
16034 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
16035 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
16036 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
16037 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
16038 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
16039 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
16040 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
16041 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
16042 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
16043 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
16044 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
16045
35a5e3e3
SL
160462014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
16047
16048 * posix/spawn_faction_addopen.c: Include string.h.
16049
14642b85
RM
160502014-06-11 Roland McGrath <roland@hack.frob.com>
16051
16052 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
16053 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
16054 * nptl/sysdeps/x86_64/Makefile: Moved ...
16055 * sysdeps/x86_64/nptl/Makefile: ... here.
16056 * nptl/sysdeps/x86_64/configure: Moved ...
16057 * sysdeps/x86_64/nptl/configure: ... here.
16058 * nptl/sysdeps/x86_64/configure.ac: Moved ...
16059 * sysdeps/x86_64/nptl/configure.ac: ... here.
16060 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
16061 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
16062 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
16063 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
16064 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
16065 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
16066 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
16067 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
16068 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
16069 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
16070 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
16071 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
16072 * nptl/sysdeps/x86_64/tls.h: Moved ...
16073 * sysdeps/x86_64/nptl/tls.h: ... here.
16074 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
16075 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
16076 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
16077 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
16078
16079 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
16080
31c44fea
AZ
160812014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16082
16083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16084
e81a4f9a
JM
160852014-06-11 Joseph Myers <joseph@codesourcery.com>
16086
16087 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
16088 type.
16089 [POSIX] (off_t): Likewise.
16090 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
16091 [POSIX] (S_ISBLK): Require macro.
16092 [POSIX] (S_ISCHR): Likewise.
16093 [POSIX] (S_ISDIR): Likewise.
16094 [POSIX] (S_ISFIFO): Likewise.
16095 [POSIX] (S_ISREG): Likewise.
16096 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
16097 optional-macro.
16098 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
16099 type.
16100 [POSIX] (time_t): Likewise.
16101 [POSIX] (timer_t): Likewise.
16102
89e435f3
FW
161032014-06-11 Florian Weimer <fweimer@redhat.com>
16104
16105 [BZ #17048]
16106 * posix/spawn_int.h (struct __spawn_action): Make the path string
16107 non-const to support deallocation.
16108 * posix/spawn_faction_addopen.c
16109 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
16110 * posix/spawn_faction_destroy.c
16111 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
16112 path in all spawn_do_open actions.
16113 * posix/tst-spawn.c (do_test): Exercise the copy operation in
16114 posix_spawn_file_actions_addopen.
16115
c3a2ebe1
CM
161162014-06-11 Chris Metcalf <cmetcalf@tilera.com>
16117
16118 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
16119 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
16120 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
16121 conditional code always true.
16122 (__libc_vfork): New alias.
16123
9503784a
RM
161242014-06-11 Roland McGrath <roland@hack.frob.com>
16125
c9cab3d2
RM
16126 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16127 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
16128
d3996c79
RM
16129 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
16130
ba5ec611
RM
16131 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16132 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
16133
f12b4814
RM
16134 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16135 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
16136
9503784a
RM
16137 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16138 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
16139
e23d3d26
VR
161402014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16141
16142 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
16143 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
16144 multiarch strcmp for PPC64.
16145 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
16146 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
16147 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
16148 multiarch optimizations.
16149 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16150 (__libc_ifunc_impl_list): Likewise.
16151
42b1161e
SP
161522014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16153
16154 * benchtests/scripts/validate_benchout.py: New script.
16155 * benchtests/Makefile (bench-func): Call it.
16156 * benchtests/scripts/benchout.schema.json: New file.
16157
2d0fc4dc
CM
161582014-06-10 Chris Metcalf <cmetcalf@tilera.com>
16159
4a594c34
AZ
16160 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
16161 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
16162 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
16163 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
16164 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
16165 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
16166 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
16167 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
16168 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
16169 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
16170 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
16171 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
16172 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
16173 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
16174 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
16175 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
16176 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 16177 Moved ...
4a594c34 16178 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 16179 ... here.
4a594c34 16180 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 16181 Moved ...
4a594c34
AZ
16182 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
16183 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 16184 Moved ...
4a594c34 16185 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 16186 ... here.
4a594c34 16187 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 16188 Moved ...
4a594c34 16189 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 16190 ... here.
4a594c34 16191 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 16192 Moved ...
4a594c34
AZ
16193 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
16194 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 16195 Moved ...
4a594c34 16196 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 16197 ... here.
4a594c34 16198 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 16199 Moved ...
4a594c34 16200 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 16201 ... here.
4a594c34 16202 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 16203 Moved ...
4a594c34
AZ
16204 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
16205 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 16206 Moved ...
4a594c34 16207 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 16208 ... here.
4a594c34 16209 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 16210 Moved ...
4a594c34 16211 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 16212 ... here.
4a594c34 16213 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 16214 Moved ...
4a594c34 16215 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 16216 ... here.
4a594c34 16217 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 16218 Moved ...
4a594c34
AZ
16219 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
16220 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 16221 Moved ...
4a594c34 16222 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 16223 ... here.
4a594c34 16224 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 16225 Moved ...
4a594c34 16226 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 16227 ... here.
4a594c34 16228 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 16229 Moved ...
4a594c34 16230 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 16231 ... here.
4a594c34 16232 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 16233 Moved ...
4a594c34
AZ
16234 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
16235 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 16236 Moved ...
4a594c34 16237 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 16238 ... here.
4a594c34 16239 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 16240 Moved ...
4a594c34 16241 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 16242 ... here.
4a594c34 16243 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 16244 Moved ...
4a594c34
AZ
16245 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
16246 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 16247 Moved ...
4a594c34 16248 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 16249 ... here.
4a594c34 16250 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 16251 Moved ...
4a594c34
AZ
16252 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
16253 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 16254 Moved ...
4a594c34
AZ
16255 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
16256 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 16257 Moved ...
4a594c34 16258 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 16259 ... here.
4a594c34 16260 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 16261 Moved ...
4a594c34 16262 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 16263 ... here.
4a594c34 16264 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 16265 Moved ...
4a594c34 16266 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 16267 ... here.
4a594c34 16268 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 16269 Moved ...
4a594c34
AZ
16270 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
16271 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 16272 Moved ...
4a594c34 16273 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 16274 ... here.
4a594c34 16275 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 16276 Moved ...
4a594c34 16277 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 16278 ... here.
4a594c34
AZ
16279 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
16280 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
16281 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
16282 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
16283 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 16284 Moved ...
4a594c34 16285 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 16286 ... here.
4a594c34
AZ
16287 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
16288 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
16289 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
16290 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
16291 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
16292 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
16293 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
16294 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
16295 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
16296 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
16297 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
16298 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
16299 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 16300 Moved ...
4a594c34
AZ
16301 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
16302 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 16303 Moved ...
4a594c34
AZ
16304 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
16305 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
16306 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
16307 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 16308 Moved ...
4a594c34
AZ
16309 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
16310 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
16311 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
16312 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
16313 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
16314 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
16315 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 16316
0570cfed
W
163172014-06-10 Wilco <wdijkstr@arm.com>
16318
16319 * math/test-fenv-return.c: New file.
16320 * math/Makefile: Add new test test-fenv-return.
16321
f8ba1b56
JM
163222014-06-10 Joseph Myers <joseph@codesourcery.com>
16323
16324 [BZ #17042]
16325 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
16326 when x - 1 is zero.
16327 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
16328 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
16329 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
16330 0.0L for an argument of 1.0L.
16331 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
16332 Likewise.
16333 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
16334 value when x - 1 is zero.
16335 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
16336 * sysdeps/i386/fpu/libm-test-ulps: Update.
16337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16338
2c3520d9
BO
163392014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
16340
16341 [BZ #15119]
16342 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
16343
acaa4d24
RM
163442014-06-09 Roland McGrath <roland@hack.frob.com>
16345
16346 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
16347 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
16348
962b744d
RM
163492014-06-09 Roland McGrath <roland@hack.frob.com>
16350
d752f0cc
RM
16351 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16352 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
16353
34eda6d1
RM
16354 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16355 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
16356
50f0a637
RM
16357 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16358 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
16359
08f41f04
RM
16360 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16361 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
16362
962b744d
RM
16363 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
16364 if not already defined.
16365 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
16366 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
16367 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
16368 (TLS_INIT_TP): Use it.
16369 (TLS_DEFINE_INIT_TP): New macro.
16370 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
16371
09f19b05
JM
163722014-06-09 Joseph Myers <joseph@codesourcery.com>
16373
16374 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
16375 constant.
16376 [POSIX] (IXANY): Likewise.
16377 [POSIX] (OLCUC): Likewise.
16378 [POSIX || POSIX2008] (CBAUD): Do not allow.
16379 [POSIX || POSIX2008] (DEFECHO): Likewise.
16380 [POSIX || POSIX2008] (ECHOCTL): Likewise.
16381 [POSIX || POSIX2008] (ECHOKE): Likewise.
16382 [POSIX || POSIX2008] (ECHOPRT): Likewise.
16383 [POSIX || POSIX2008] (EXTA): Likewise.
16384 [POSIX || POSIX2008] (EXTB): Likewise.
16385 [POSIX || POSIX2008] (FLUSHO): Likewise.
16386 [POSIX || POSIX2008] (LOBLK): Likewise.
16387 [POSIX || POSIX2008] (PENDIN): Likewise.
16388 [POSIX || POSIX2008] (SWTCH): Likewise.
16389 [POSIX || POSIX2008] (VDISCARD): Likewise.
16390 [POSIX || POSIX2008] (VDSUSP): Likewise.
16391 [POSIX || POSIX2008] (VLNEXT): Likewise.
16392 [POSIX || POSIX2008] (VREPRINT): Likewise.
16393 [POSIX || POSIX2008] (VSTATUS): Likewise.
16394 [POSIX || POSIX2008] (VWERASE): Likewise.
16395 (B*): Change to B[0123456789]*.
16396 * conform/data/time.h-data [POSIX || UNIX98]
16397 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
16398 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16399 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
16400 [POSIX] (tm_*): Do not allow.
16401
686554bf
JM
164022014-06-07 Joseph Myers <joseph@codesourcery.com>
16403
16404 * Makefile (install): Don't set LANGUAGE.
16405 * Makefile.in (install): Likewise.
16406 * assert/Makefile (test-assert-ENV): Remove variable.
16407 (test-assert-perr-ENV): Likewise.
16408 * elf/Makefile (neededtest4-ENV): Likewise.
16409 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16410 [$(cross-compiling) = no]: Don't set LANGUAGE.
16411 * io/ftwtest-sh (LANG): Remove variable.
16412 * libio/Makefile (tst-widetext-ENV): Likewise.
16413 * manual/install.texi (Running make install): Don't refer to
16414 environment settings for make install.
16415 * INSTALL: Regenerated.
16416 * nptl/tst-tls6.sh: Don't set LANG.
16417 * posix/globtest.sh (LANG): Remove variable.
16418 * string/Makefile (tester-ENV): Likewise.
16419 (inl-tester-ENV): Likewise.
16420 (noinl-tester-ENV): Likewise.
16421 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16422 [$(cross-compiling) = no]: Don't set LANGUAGE.
16423 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
16424 without explicit environment settings.
16425
68e6b6b1
RM
164262014-06-06 Roland McGrath <roland@hack.frob.com>
16427
16428 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
16429 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
16430 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
16431 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
16432
4d3ae034
CM
164332014-06-06 Chris Metcalf <cmetcalf@tilera.com>
16434
16435 * crypt/crypt-private.h [DOS]: Add some includes taken from the
16436 other files in the crypt directory.
16437 * crypt/crypt.c: Remove duplicate includes.
16438 * crypt/crypt-entry.c: Likewise.
16439 * crypt/crypt_util.c: Likewise.
16440
8540f6d2
JM
164412014-06-06 Joseph Myers <joseph@codesourcery.com>
16442
16443 * Makeconfig (run-program-env): New variable.
16444 (run-program-prefix-before-env): Likewise.
16445 (run-program-prefix-after-env): Likewise.
16446 (run-program-prefix): Define in terms of new variables.
16447 (built-program-cmd-before-env): New variable.
16448 (built-program-cmd-after-env): Likewise.
16449 (built-program-cmd): Define in terms of new variables.
16450 (test-program-prefix-before-env): New variable.
16451 (test-program-prefix-after-env): Likewise.
16452 (test-program-prefix): Define in terms of new variables.
16453 (test-program-cmd-before-env): New variable.
16454 (test-program-cmd-after-env): Likewise.
16455 (test-program-cmd): Define in terms of new variables.
16456 * Rules (make-test-out): Use $(run-program-env).
16457 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
16458 (help): Do not mention environment variables. Mention
16459 --timeoutfactor option.
16460 (timeoutfactor): New variable.
16461 (blacklist_exports): Remove function.
16462 (exports): Remove variable.
16463 (command): Do not include ${exports}.
16464 * manual/install.texi (Configuring and compiling): Do not mention
16465 test wrappers preserving environment variables. Mention that last
16466 assignment to a variable must take precedence.
16467 * INSTALL: Regenerated.
16468 * benchtests/Makefile (run-bench): Use $(run-program-env).
16469 * catgets/Makefile ($(objpfx)test1.cat): Use
16470 $(built-program-cmd-before-env), $(run-program-env) and
16471 $(built-program-cmd-after-env).
16472 ($(objpfx)test2.cat): Do not specify environment variables
16473 explicitly.
16474 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
16475 $(run-program-env) and $(built-program-cmd-after-env).
16476 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
16477 $(run-program-env) and $(test-program-cmd-after-env).
16478 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
16479 explicitly.
16480 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
16481 run_program_env and test_program_cmd_after_env arguments.
16482 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
16483 * elf/tst-pathopt.sh: Use run_program_env argument.
16484 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
16485 $(test-wrapper-env) and $(run-program-env).
16486 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
16487 run_program_env arguments.
16488 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
16489 * intl/Makefile ($(objpfx)tst-gettext.out): Use
16490 $(test-program-prefix-before-env), $(run-program-env) and
16491 $(test-program-prefix-after-env).
16492 ($(objpfx)tst-gettext2.out): Likewise.
16493 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
16494 run_program_env and test_program_prefix_after_env arguments.
16495 * intl/tst-gettext2.sh: Likewise.
16496 * intl/tst-gettext4.sh: Do not set environment variables
16497 explicitly.
16498 * intl/tst-gettext6.sh: Likewise.
16499 * intl/tst-translit.sh: Likewise.
16500 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
16501 $(test-program-prefix-before-env), $(run-program-env) and
16502 $(test-program-prefix-after-env).
16503 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
16504 run_program_env and test_program_prefix_after_env arguments.
16505 * math/Makefile (run-regen-ulps): Use $(run-program-env).
16506 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
16507 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
16508 explicitly with each use of ${test_wrapper_env}.
16509 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
16510 $(test-program-prefix-before-env), $(run-program-env) and
16511 $(test-program-prefix-after-env).
16512 * posix/tst-getconf.sh: Do not set environment variables
16513 explicitly.
16514 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
16515 run_program_env and test_program_prefix_after_env arguments.
16516 * stdio-common/tst-printf.sh: Do not set environment variables
16517 explicitly.
16518 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
16519 $(test-program-prefix-before-env), $(run-program-env) and
16520 $(test-program-prefix-after-env).
16521 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
16522 run_program_env and test_program_prefix_after_env arguments.
16523 Split $test calls into $test_pre and $test.
16524 * timezone/Makefile (build-testdata): Use
16525 $(built-program-cmd-before-env), $(run-program-env) and
16526 $(built-program-cmd-after-env).
16527
ed36bfa1
AZ
165282014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16529
16530 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
16531 strlen for non SHARED builds.
16532
fc75bf46
SP
165332014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16534
16535 * nptl/allocatestack.c (check_list): Inlined function...
16536 (__reclaim_stacks): ... here.
16537
d89b3d80
OB
165382014-06-05 Ondřej Bílka <neleai@seznam.cz>
16539
16540 [BZ #15698]
16541 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
16542 memory overrun.
16543
2bf18041
JM
165442014-06-05 Joseph Myers <joseph@codesourcery.com>
16545
16546 * Rules (make-test-out): Include
16547 LOCPATH=$(common-objpfx)localedata in default environment.
16548 * debug/Makefile (tst-chk1-ENV): Remove variable.
16549 (tst-chk2-ENV): Likewise.
16550 (tst-chk3-ENV): Likewise.
16551 (tst-chk4-ENV): Likewise.
16552 (tst-chk5-ENV): Likewise.
16553 (tst-chk6-ENV): Likewise.
16554 (tst-lfschk1-ENV): Likewise.
16555 (tst-lfschk2-ENV): Likewise.
16556 (tst-lfschk3-ENV): Likewise.
16557 (tst-lfschk4-ENV): Likewise.
16558 (tst-lfschk5-ENV): Likewise.
16559 (tst-lfschk6-ENV): Likewise.
16560 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
16561 (tst-iconv7-ENV): Likewise.
16562 * intl/Makefile (LOCPATH-ENV): Likewise.
16563 (tst-codeset-ENV): Likewise.
16564 (tst-gettext3-ENV): Likewise.
16565 (tst-gettext5-ENV): Likewise.
16566 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
16567 (tst-fopenloc-ENV): Likewise.
16568 (tst-fgetws-ENV): Remove variable.
16569 (tst-ungetwc1-ENV): Likewise.
16570 (tst-ungetwc2-ENV): Likewise.
16571 (bug-ungetwc2-ENV): Likewise.
16572 (tst-swscanf-ENV): Likewise.
16573 (bug-ftell-ENV): Likewise.
16574 (tst-fgetwc-ENV): Likewise.
16575 (tst-fseek-ENV): Likewise.
16576 (tst-ftell-partial-wide-ENV): Likewise.
16577 (tst-ftell-active-handler-ENV): Likewise.
16578 (tst-ftell-append-ENV): Likewise.
16579 * posix/Makefile (tst-fnmatch-ENV): Likewise.
16580 (tst-regexloc-ENV): Likewise.
16581 (bug-regex1-ENV): Likewise.
16582 (tst-regex-ENV): Likewise.
16583 (tst-regex2-ENV): Likewise.
16584 (bug-regex5-ENV): Likewise.
16585 (bug-regex6-ENV): Likewise.
16586 (bug-regex17-ENV): Likewise.
16587 (bug-regex18-ENV): Likewise.
16588 (bug-regex19-ENV): Likewise.
16589 (bug-regex20-ENV): Likewise.
16590 (bug-regex22-ENV): Likewise.
16591 (bug-regex23-ENV): Likewise.
16592 (bug-regex25-ENV): Likewise.
16593 (bug-regex26-ENV): Likewise.
16594 (bug-regex30-ENV): Likewise.
16595 (bug-regex32-ENV): Likewise.
16596 (bug-regex33-ENV): Likewise.
16597 (bug-regex34-ENV): Likewise.
16598 (bug-regex35-ENV): Likewise.
16599 (tst-rxspencer-ENV): Likewise.
16600 (tst-rxspencer-no-utf8-ENV): Likewise.
16601 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
16602 (tst-sscanf-ENV): Likewise.
16603 (tst-swprintf-ENV): Likewise.
16604 (tst-swscanf-ENV): Likewise.
16605 (test-vfprintf-ENV): Likewise.
16606 (scanf13-ENV): Likewise.
16607 (bug14-ENV): Likewise.
16608 (tst-grouping-ENV): Likewise.
16609 * stdlib/Makefile (tst-strtod-ENV): Likewise.
16610 (tst-strtod3-ENV): Likewise.
16611 (tst-strtod4-ENV): Likewise.
16612 (tst-strtod5-ENV): Likewise.
16613 (testmb2-ENV): Likewise./
16614 * string/Makefile (tst-strxfrm-ENV): Likewise.
16615 (tst-strxfrm2-ENV): Likewise.
16616 (bug-strcoll1-ENV): Likewise.
16617 (test-strcasecmp-ENV): Likewise.
16618 (test-strncasecmp-ENV): Likewise.
16619 * time/Makefile (tst-strptime-ENV): Likewise.
16620 (tst-ftime_l-ENV): Likewise.
16621 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
16622 (tst-mbrtowc-ENV): Likewise.
16623 (tst-wcrtomb-ENV): Likewise.
16624 (tst-mbrtowc2-ENV): Likewise.
16625 (tst-c16c32-1-ENV): Likewise.
16626 (tst-mbsnrtowcs-ENV): Likewise.
16627
cd1fb604
OB
166282014-06-05 Ondřej Bílka <neleai@seznam.cz>
16629
16630 * manual/resource.texi (How to get information about the memory
16631 subsystem?): Fix typo.
16632 Reported by Peon de la Parra Ivan <peon@keba.com>
16633
b42eca7d
GY
166342014-06-03 Guo Yixuan <culu.gyx@gmail.com>
16635
16636 [BZ #16882]
16637 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
16638 (pthread_spin_lock): Branch out of spin loop to proper location.
16639 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
16640 (pthread_spin_lock): Likewise.
16641
902b71f9
DM
16642 * nptl/tst-spin4.c: New test.
16643 * nptl/Makefile (tests): Add tst-spin4.
16644
f9d2d032
AS
166452014-06-03 Andreas Schwab <schwab@suse.de>
16646
16647 [BZ #15946]
16648 * resolv/res_send.c (send_dg): Reload file descriptor after
16649 calling reopen.
16650
cf7bfd28
SL
166512014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
16652
16653 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16654
111cc714
RH
166552014-06-03 Richard Henderson <rth@redhat.com>
16656
89b4bd6b
RH
16657 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
16658 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
16659 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
16660 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
16661 in the SAVE_PID block.
16662 (__libc_vfork): New alias.
71840409 16663 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 16664
111cc714
RH
16665 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
16666 child in registers, not on the stack. Remove RESET_PID conditionals.
16667 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
16668
ccc39911
MS
166692014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
16670
16671 * sysdeps/aarch64/libm-test-ulps: Regenerate.
16672
693096cc
W
166732014-06-03 Wilco <wdijkstr@arm.com>
16674
16675 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
16676 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
16677 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16678 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
16679 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
16680 Likewise.
16681
0b4366bc
W
166822014-06-03 Wilco <wdijkstr@arm.com>
16683
16684 * sysdeps/aarch64/fpu/math_private.h
16685 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
16686 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
16687 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
16688 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16689 Fix declarations.
16690
8747cd03
KS
166912014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16692
16693 * crypt/crypt-private.h: Include ufc-crypt.h.
16694 (__b64_from_24bit): Declare extern.
16695 * crypt/crypt_util.c(__b64_from_24bit): New function.
16696 (b64t): New static const variable.
16697 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
16698 (b64t): Remove variable.
16699 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
16700 * crypt/sha256-crypt.c: Include crypt-private.h.
16701 (b64t): Remove variable.
16702 (__sha256_crypt_r): Remove b64_from_24bit and replace
16703 with __b64_from_24bit.
16704 * crypt/sha512-crypt.c: Likewise.
16705
d936d379
RM
167062014-06-02 Roland McGrath <roland@hack.frob.com>
16707
16708 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
16709 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
16710 Label the code __libc_vfork rather than __vfork.
16711 [!NOT_IN_libc] (vfork): Define as weak alias.
16712 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
16713 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
16714 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
16715
9fa76613
SP
167162014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16717
16718 * malloc/malloc.c (malloc_info): Fix format specifier for
16719 n_mmaps.
16720
a88dadbe
W
167212014-06-02 Wilco <wdijkstr@arm.com>
16722
16723 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
16724 FPCR write.
16725
c95b3011
W
167262014-06-02 Wilco <wdijkstr@arm.com>
16727
16728 [BZ #17009]
16729 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
16730 Rewrite to reduce FPCR/FPSR accesses.
16731
6b4d7a90
DM
167322014-06-01 David S. Miller <davem@davemloft.net>
16733
16734 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16735
30f3d07c
DM
167362014-05-31 David S. Miller <davem@davemloft.net>
16737
16738 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
16739 to occur in round to nearest mode when |x| >= 2.0
16740
74f31c18
RH
167412014-05-30 Richard Henderson <rth@twiddle.net>
16742
f0712b54
RH
16743 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
16744 (PSEUDO_RET_NOERRNO): Remove.
16745 (ret): Don't redefine.
16746 (ret_NOERRNO): Define in terms of ret.
16747 (ret_ERRVAL): Likewise.
16748
74f31c18
RH
16749 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
16750 use of PSEUDO_RET; perform the error check directly.
16751
30477995
MM
167522014-05-30 Marko Myllynen <myllynen@redhat.com>
16753
16754 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
16755 with __int128_t.
16756
62a58816
SP
167572014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16758
16759 * malloc/malloc (malloc_info): Fix formatting.
16760
4d653a59
SP
167612014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16762 Roland McGrath <roland@hack.frob.com>
16763
16764 * malloc/malloc (malloc_info): Also print mmapped statistics.
16765
5190c17f
RM
167662014-05-30 Roland McGrath <roland@hack.frob.com>
16767
16768 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
16769 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
16770
987c0269
OB
167712014-05-30 Ondřej Bílka <neleai@seznam.cz>
16772
16773 * malloc/malloc.c (malloc_info): Inline mi_arena.
16774
af4e8ef9
RH
167752014-05-29 Richard Henderson <rth@twiddle.net>
16776
1670e207
RH
16777 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
16778 Remove comma before expanding ASM_ARGS_##nr.
16779 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
16780 Make _x0 a strict output; make _x8 a strict input; adjust expansion
16781 of ASM_ARGS_##nr.
16782 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
16783 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
16784 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
16785 (ASM_ARGS_1): Add leading comma.
16786
11a28aee
RH
16787 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
16788 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
16789 to __errno_location.
16790 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
16791 Remove the expected plt for __errno_location.
16792
a17e5ffb 16793 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 16794 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
16795 call to __read_tp.
16796
b5be4597
RH
16797 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16798 Always allocate 64 bytes of stack frame. Use ldp/stp to create
16799 it and break it down.
16800 (DOCARGS_0, DOCARGS_1): Do nothing.
16801 (DOCARGS_2): Update to store into the new stack frame.
16802 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
16803 (UNDOCARGS_1): Update to restore from the new stack frame.
16804 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
16805 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
16806
645d44ab
RH
16807 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16808 (SINGLE_THREAD_P): New parameter for result regno.
16809 (PSEUDO): Update to match; use cbz instead of beq.
16810
a8b4f04a
RH
16811 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16812 Use ENTRY to define the _nocancel entry point. Share the syscall
16813 and syscall error check paths with the cancel path.
16814 (PSEUDO_END): New.
16815
af4e8ef9
RH
16816 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
16817 whitespace; tabs before and after asm mnemonics.
16818
26b0d2e1
EW
168192014-05-29 Eric Wong <normalperson@yhbt.net>
16820
16821 [BZ #15132]
16822 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16823 Call fstat64 or stat64 internally, depending on arguments passed.
16824 Replace stat buffer argument with file descriptor argument.
16825 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
16826 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
16827 Pass fd to __internal_statvfs instead of calling fstat64.
16828 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
16829 Pass fd to __internal_statvfs64 instead of calling fstat64.
16830 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
16831 Pass -1 to __internal_statvfs instead of calling stat64.
16832 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
16833 Pass -1 to __internal_statvfs64 instead of calling stat64.
16834
1efe2bd9
RM
168352014-05-28 Roland McGrath <roland@hack.frob.com>
16836
0d3b7a19
RM
16837 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
16838 that was previously under [RESET_PID].
16839 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
16840
1efe2bd9
RM
16841 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
16842 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
16843
a6bea3ca
RM
168442014-05-27 Roland McGrath <roland@hack.frob.com>
16845
30b6629e
RM
16846 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
16847
a6bea3ca
RM
16848 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
16849 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
16850
3dfb9a5c
OB
168512014-05-27 Ondřej Bílka <neleai@seznam.cz>
16852
16853 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
16854
774f9285
AS
168552014-05-27 Andreas Schwab <schwab@suse.de>
16856
16857 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
16858 TLS_INIT_TP macro.
16859 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
16860 * elf/rtld.c (init_tls, dl_main): Likewise.
16861 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
16862 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
16863 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
16864 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
16865 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
16866 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
16867 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
16868 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
16869 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
16870 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
16871 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
16872 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
16873 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
16874 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
16875 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
16876 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
16877 * sysdeps/generic/tls.h: Update description.
16878
36ffe739
WN
168792014-05-27 Will Newton <will.newton@linaro.org>
16880
16881 [BZ #16990]
16882 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
16883 and restore r2 rather than just restoring.
16884
2482ae43
SP
168852014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16886
16887 [BZ #16724]
16888 * libio/tst-ftell-append.c: New test case.
16889 * libio/Makefile (tests): Add test case.
16890 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
16891 append mode.
16892 * libio/wfileops.c (do_ftell_wide): Likewise.
16893
3d1024e8
AZ
168942014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16895
bab90016
AZ
16896 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16897
c7a8d667
AZ
16898 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
16899 ...
16900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
16901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16902 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
16903 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
16904 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
16905 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
16906 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
16907 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
16908 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
16909 Moved ...
16910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
16911 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
16912 Moved ...
16913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
16914 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
16915 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
16916 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
16917 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
16918 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
16919 ...
16920 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
16921 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
16922 Moved ...
16923 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
16924 here.
16925 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
16926 ...
16927 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
16928 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
16929 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
16930
daee7851
AZ
16931 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
16932 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
16933 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
16934 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
16935
50a40819
AZ
16936 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
16937 merge into ...
16938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
16939 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
16940 ...
16941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
16942 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
16943 ...
16944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
16945 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
16946 Moved ...
16947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
16948 here.
16949 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
16950 Moved ...
16951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
16952 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
16953 Moved ...
16954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
16955
8464c2a1
AZ
16956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
16957 conditional [RESET_PID].
16958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
16959 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
16960 removed.
16961 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
16962 removed.
16963
3d1024e8
AZ
16964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
16965 <tcb-offsets.h>.
16966 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16967 (__libc_vfork): New strong alias.
16968 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
16969 removed.
16970 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
16971 Removed.
16972
16973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
16974 <tcb-offsets.h>.
16975 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
16976 (__libc_vfork): New strong alias.
16977 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
16978 removed.
16979 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
16980 removed.
16981
fdfd175d
CD
169822014-05-26 Carlos O'Donell <carlos@redhat.com>
16983
16984 * malloc/malloc.c (mi_arena): New function.
16985 (malloc_info): Remove nested function mi_arena. Call non-nosted
16986 function mi_arena.
16987
d298c416
AZ
169882014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16989
16990 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
16991 by insrwi.
16992 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
16993 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
16994 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
16995 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
16996 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
16997 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
16998 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
16999
b60ea6ff
AS
170002014-05-26 Andreas Schwab <schwab@suse.de>
17001
17002 [BZ #16984]
17003 * locale/programs/repertoire.c (repertoire_read): Add slash
17004 between I18NPATH element and file name.
17005 * locale/programs/locfile.c (locfile_read): Likewise.
17006
67365926
SL
170072014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
17008
17009 * nptl/pthread_mutexattr_settype.c
17010 (__pthread_mutexattr_settype):
17011 Disable lock elision for PTHREAD_MUTEX_NORMAL.
17012
f8bdf1f0
SL
170132014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
17014
17015 * nptl/tst-mutex5 (do_test):
17016 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
17017
15eaf6ff
SP
170182014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17019
17020 * benchtests/README: Document 'init' directive.
17021 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
17022 BENCH_INIT.
17023 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
17024 (parse_file): Recognize 'init' directive.
17025
75f11331
KM
170262014-05-26 Kyle McMartin <kyle@redhat.com>
17027
17028 [BZ #16796]
17029 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
17030 alignment of struct pthread.
17031
c3ec475c
SP
170322014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17033
17034 [BZ #16878]
17035 * nscd/netgroupcache.c (addgetnetgrentX): Look for
17036 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17037 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
17038 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17039
82aab97c
RH
170402014-05-25 Richard Henderson <rth@twiddle.net>
17041
aa2f176d
RH
17042 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17043 (SINGLE_THREAD_P_PIC): Remove.
17044 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
17045 (SINGLE_THREAD_P_PIC): Remove.
17046
ca3cfa40
RH
17047 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
17048 branch to syscall error ...
17049 (PSEUDO): ... here.
17050 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
17051 from __local_syscall_error to .Lsyscall_error.
17052 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
17053 (SYSCALL_ERROR): Update label name.
17054
6e6c2d01
RH
17055 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17056 Do not use DOARGS/UNDOARGS.
17057 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
17058 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
17059 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
17060 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
17061 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
17062
c69abcee
RH
17063 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
17064 block comment.
17065
82aab97c
RH
17066 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
17067 define if !NOT_IN_libc.
17068 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
17069 define with non-default symbol versions.
17070
8820e3ac
RH
170712014-05-23 Richard Henderson <rth@twiddle.net>
17072
900e445f
RH
17073 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
17074 (vfork, __vfork): Define via compat_symbol.
17075
8820e3ac
RH
17076 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
17077 [!HAVE_IFUNC] (vfork_compat): Remove.
17078 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
17079
e59252a5
JM
170802014-05-23 Joseph Myers <joseph@codesourcery.com>
17081
17082 [BZ #16978]
17083 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
17084 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
17085 variable.
17086
132c7f5f
RH
170872014-05-23 Richard Henderson <rth@twiddle.net>
17088
bc89e962
RH
17089 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
17090 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
17091 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
17092 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
17093
17094 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
17095 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
17096 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
17097 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
17098 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
17099 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
17100 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
17101 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
17102 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
17103 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
17104 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
17105 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
17106 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
17107 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
17108 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
17109 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
17110 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
17111 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
17112 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
17113 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
17114 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
17115 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
17116 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
17117 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
17118 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
17119 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
17120 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
17121 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
17122 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
17123 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
17124 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
17125 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
17126 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
17127 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
17128 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
17129 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
17130 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
17131 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
17132 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
17133 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
17134 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
17135 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
17136 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
17137 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
17138 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
17139 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
17140 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
17141 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
17142 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
17143 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
17144 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
17145 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
17146 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
17147 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
17148 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
17149 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
17150
e2fa4bc2
RH
17151 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
17152 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
17153 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
17154 before exiting on error.
17155 (__libc_vfork): New strong alias.
17156 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
17157 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
17158
279b24e2
RH
17159 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
17160 that was previously under [RESET_PID].
17161 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
17162
132c7f5f
RH
17163 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
17164
b72592e7
JM
171652014-05-23 Joseph Myers <joseph@codesourcery.com>
17166
17167 [BZ #16977]
17168 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
17169 value when x - 1 is zero.
17170 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
17171 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
17172 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
17173 0.0L for an argument of 1.0L.
17174 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
17175 Likewise.
17176 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
17177 value when x - 1 is zero.
17178 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
17179 * sysdeps/i386/fpu/libm-test-ulps: Update.
17180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17181
2302d679
RV
171822014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
17183
17184 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
17185 alphasort and versionsort.
17186
32999d63
AZ
171872014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17188
17189 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
17190 macro.
17191 [copysignf]: Likewise.
17192
019324d0
SP
171932014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17194
17195 * crypt/md5-crypt.c: Fix formatting.
17196
34fff5c2
KS
171972014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
17198
17199 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
17200 (b64_from_24bit): New function.
17201
3d2badac
AZ
172022014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17203
17204 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
17205 libc_hidden_builtin_def to ifunc.
17206 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
17207 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
17208
f7bb179f 172092014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
17210
17211 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
17212 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
17213
4134b50d
JM
172142014-05-21 Joseph Myers <joseph@codesourcery.com>
17215
bb7d0337
JM
17216 * nscd/Depend (linuxthreads): Remove.
17217 (nptl): Add.
17218 * resolv/Depend (linuxthreads): Remove.
17219 * rt/Depend (linuxthreads): Remove.
17220
4134b50d
JM
17221 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
17222 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
17223 $(common-objpfx)elf/.
17224 (link-libc-before-gnulib): Likewise.
17225 (elfobjdir): Remove variable.
17226 * Makefile (install): Use $(elf-objpfx) instead of
17227 $(common-objpfx)elf/.
17228 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
17229 $(elfobjdir)/.
17230 (link-libc-deps): Likewise.
17231 ($(common-objpfx)libc.so): Likewise.
17232 ($(common-objpfx)linkobj/libc.so): Likewise.
17233 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
17234 instead of $(common-objpfx)elf/.
17235 (symbolic-link-list): Likewise.
17236 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17237 [$(cross-compiling) = no]: Likewise.
17238 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
17239 $(elfobjdir)/.
17240 (static-gnulib-arch): Likewise.
17241 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17242 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
17243 $(common-objpfx)elf/.
17244
3612eb8f
RH
172452014-05-21 Richard Henderson <rth@redhat.com>
17246
a6b3657b
RH
17247 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17248 (SINGLE_THREAD_P): Use the correct width load. Fold
17249 into the ldr offset.
17250
3612eb8f
RH
17251 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
17252 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
17253
175cef41
JM
172542014-05-20 Joseph Myers <joseph@codesourcery.com>
17255
17256 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
17257 (libgcc_s_resume): Use __attribute_used__.
17258 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
17259 Likewise.
17260
e13bccd3
AZ
172612014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17262
17263 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
17264 optimization when used with float constants.
17265
7c112a38
AZ
17266 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17267
ae75a883
AJ
172682014-05-20 Aurelien Jarno <aurelien@aurel32.net>
17269
17270 [BZ #16915]
17271 * locale/nl_langinfo_l.c: Make direct reference to every
17272 _nl_current_CATEGORY symbol.
17273 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
17274 (tests-static): Add tst-langinfo-static.
17275 (tests-special): Add tst-langinfo-static.out.
17276 ($(objpfx)tst-langinfo.out): Redirect output.
17277 ($(objpfx)tst-langinfo-static.out): New.
17278 * localedata/tst-langinfo.sh: Send output to stdout.
17279 * localedata/tst-langinfo-static.c: New file.
17280
4406c41c
AJ
17281 [BZ #16965]
17282 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
17283 when the shift amount is modulo the limb size.
17284
4c0a1e63
RH
172852014-05-20 Richard Henderson <rth@redhat.com>
17286
de9d8f20
RH
17287 [BZ #16967]
17288 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
17289 Change type of sa_flags from unsigned int to int.
17290
4c0a1e63
RH
17291 [BZ #16966]
17292 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
17293
17294 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
17295
a60339aa
WN
172962014-05-20 Will Newton <will.newton@linaro.org>
17297
17298 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17299 Test the return value of the system call in the nocancel case.
17300
7d05a816
YR
173012014-05-20 Will Newton <will.newton@linaro.org>
17302 Yvan Roux <yvan.roux@linaro.org>
17303
17304 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
17305 #include of asm/ptrace.h.
17306 (PTRACE_GET_THREAD_AREA): Remove #undef.
17307 (PTRACE_GETHBPREGS): Likewise.
17308 (PTRACE_SETHBPREGS): Likewise.
17309 (struct user_regs_struct): New structure.
17310 (struct user_fpsimd_struct): New structure.
17311 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
17312 #include of asm/ptrace.h and second #include of sys/user.h.
17313 (PTRACE_GET_THREAD_AREA): Remove #undef.
17314 (PTRACE_GETHBPREGS): Likewise.
17315 (PTRACE_SETHBPREGS): Likewise.
17316 (ELF_NGREG): Use new struct user_regs_struct.
17317 (elf_fpregset_t): Use new struct user_fpsimd_struct.
17318
af121e37
AZ
173192014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17320
17321 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
17322 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
17323
834caf06
JM
173242014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
17325
17326 [BZ #16958]
17327 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
17328 membar to avoid block loads/stores to overlap previous stores.
17329
e184a918
RH
173302014-05-17 Richard Henderson <rth@redhat.com>
17331
17332 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
17333 Create the __##syscall_name##_nocancel entry point.
17334 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
17335 Remove; let the sysdep-cancel.h code create it.
17336
f56c7a6a
DM
173372014-05-17 David S. Miller <davem@davemloft.net>
17338
17339 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
17340 Protect with __USE_GNU.
17341 (TIOCSET_TEMPT): Likewise.
17342 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
17343 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
17344 these are already provided in bits/ioctl-types.h
17345
f75616b2
RM
173462014-05-16 Roland McGrath <roland@hack.frob.com>
17347
3edeca86
RM
17348 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
17349 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
17350
f75616b2
RM
17351 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
17352 Use wait4 regardless of [__NR_waitpid].
17353
deb0f7f6
MR
173542014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17355
17356 PR libgcc/60166
17357 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17358 (_FP_NANSIGN_Q): Set the quiet bit.
17359
79520f4b
JM
173602014-05-16 Joseph Myers <joseph@codesourcery.com>
17361
17362 * benchtests/Makefile
17363 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
17364 not $(common-objpfx)math/libm.so.
17365 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
17366 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
17367 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
17368 $(common-objpfx)dlfcn/libdl.so.
17369 ($(objpfx)tst-audit8): Depend on $(libm), not
17370 $(common-objpfx)math/libm.so.
17371 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
17372 not $(common-objpfx)dlfcn/libdl.so.
17373 * math/Makefile
17374 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17375 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
17376 [$(build-shared) = yes].
17377 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
17378 $(common-objpfx)nptl/libpthread.so.
17379 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
17380 $(common-objpfx)math/libm.so$(libm.so-version) or
17381 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
17382 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
17383 $(common-objpfx)dlfcn/libdl.so.
17384 * setjmp/Makefile (link-libm): Remove variable.
17385 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
17386 * stdio-common/Makefile (link-libm): Remove variable.
17387 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
17388 * stdlib/Makefile (link-libm): Remove variable.
17389 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
17390 ($(objpfx)tst-strtod-round): Likewise.
17391 ($(objpfx)tst-tininess): Likewise.
17392 ($(objpfx)tst-strtod-underflow): Likewise.
17393 ($(objpfx)tst-strtod6): Likewise.
17394 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
17395 $(libdl), not $(common-objpfx)nptl/libpthread.so and
17396 $(common-objpfx)dlfcn/libdl.so.
17397
026b0fe4
AZ
173982014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17399
17400 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
17401 BSD terminal modes definitions.
17402
def4bcb2
RM
174032014-05-16 Roland McGrath <roland@hack.frob.com>
17404
fe39b021
RM
17405 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
17406 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
17407
1d1fc46e 17408 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
17409 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
17410 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
17411 Don't do #include_next.
17412 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
17413 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
17414 Don't do #include_next.
17415 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
17416 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
17417 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
17418 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
17419
c72399fb
AM
174202014-05-16 Allan McRae <allan@archlinux.org>
17421
d51d659d
AM
17422 * po/sv.po: Update Swedish translation from translation project.
17423
c72399fb
AM
17424 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
17425 in sed expression.
17426
d0583c40
AJ
174272014-05-16 Aurelien Jarno <aurelien@aurel32.net>
17428
17429 [BZ #16917]
17430 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
17431 errno if the TIOCGPTN ioctl fails with an error different than
17432 EINVAL.
17433 * login/tst-ptsname.c: New file.
17434 * login/Makefile (tests): Add tst-ptsname.
17435
d16e6ec7
AJ
17436 [BZ #16943]
17437 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
17438 and prlimit64.
17439
cf26a0cb
SP
174402014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17441
17442 [BZ #16849]
17443 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
17444 herrno to return EAI_AGAIN.
17445
5675da1e
RM
174462014-05-14 Roland McGrath <roland@hack.frob.com>
17447
a5d87b3d
RM
17448 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
17449 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
17450 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
17451 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
17452 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
17453 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
17454 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
17455 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
17456 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
17457 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
17458 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
17459 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
17460 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
17461 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
17462 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
17463 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
17464 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
17465 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
17466 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
17467 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
17468 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
17469 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
17470 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
17471 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
17472 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
17473 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
17474 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
17475 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
17476 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
17477 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
17478 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
17479 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
17480 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
17481 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
17482 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
17483 Moved ...
17484 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
17485 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
17486 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
17487 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
17488 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
17489 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
17490 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
17491 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
17492 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
17493 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
17494 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
17495 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
17496 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
17497 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
17498 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
17499 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
17500 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
17501 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
17502 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
17503 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
17504 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
17505 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
17506 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
17507 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
17508 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
17509 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
17510 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
17511 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17512 Moved ...
17513 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
17514 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
17515 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
17516 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
17517 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
17518 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
17519 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
17520 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
17521 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
17522 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
17523 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
17524 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
17525 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
17526 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
17527 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
17528 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
17529 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
17530 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
17531 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
17532 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17533 Moved ...
17534 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
17535 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
17536 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
17537
039890a6
RM
17538 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
17539 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
17540 (libpthread-sysdep_routines): Add elision-related stuff here instead.
17541 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
17542 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
17543 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
17544 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
17545 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
17546 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
17547 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
17548 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
17549 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
17550 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
17551 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
17552 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
17553 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
17554 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
17555 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
17556 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
17557 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
17558 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
17559 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
17560 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
17561 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
17562 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
17563 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
17564 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
17565 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
17566 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
17567 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
17568 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
17569
65c89320
RM
17570 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
17571 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
17572
348f8e8c
RM
17573 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
17574 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
17575 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
17576 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
17577 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
17578 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
17579 Moved ...
17580 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
17581 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
17582 Moved ...
17583 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
17584 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
17585 Moved ...
17586 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
17587 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
17588 Moved ...
17589 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
17590 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
17591 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
17592 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
17593 Moved ...
17594 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
17595 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
17596 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
17597 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
17598 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
17599 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
17600 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
17601 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
17602 Moved ...
17603 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
17604 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17605 Moved ...
17606 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17607 ... here.
17608 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
17609 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
17610 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
17611 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
17612 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17613 Moved ...
17614 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17615 ... here.
17616 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
17617 Moved ...
17618 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
17619 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
17620 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
17621 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
17622 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
17623 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
17624 Moved ...
17625 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
17626 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
17627 Moved ...
17628 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
17629 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
17630 Moved ...
17631 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
17632 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
17633 Moved ...
17634 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
17635 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
17636 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
17637 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
17638 Moved ...
17639 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
17640 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
17641 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
17642 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
17643 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
17644 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
17645 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
17646 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
17647 Moved ...
17648 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
17649 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17650 Moved ...
17651 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17652 ... here.
17653 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
17654 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
17655 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
17656 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
17657 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17658 Moved ...
17659 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17660 ... here.
17661 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
17662 Moved ...
17663 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
17664 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
17665 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
17666 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
17667 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
17668 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
17669 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
17670 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
17671 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
17672 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
17673 Moved ...
17674 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
17675 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
17676 Moved ...
17677 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
17678 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
17679 Moved ...
17680 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
17681 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
17682 Moved ...
17683 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
17684 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
17685 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
17686 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
17687 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
17688 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
17689 Moved ...
17690 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
17691 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
17692 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
17693 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
17694 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
17695 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
17696 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
17697 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
17698 Moved ...
17699 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
17700 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17701 Moved ...
17702 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17703 ... here.
17704 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
17705 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
17706 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
17707 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
17708 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17709 Moved ...
17710 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17711 ... here.
17712 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
17713 Moved ...
17714 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
17715 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
17716 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
17717 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
17718 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
17719 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
17720 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
17721 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
17722 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
17723 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
17724 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
17725
5085af05
RM
17726 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
17727 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
17728
708f0813
RM
17729 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
17730 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
17731
c96067bc
RM
17732 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
17733 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
17734 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
17735 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
17736 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
17737 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
17738 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
17739 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
17740 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
17741 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
17742 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
17743 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
17744 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
17745 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
17746 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
17747 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
17748 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
17749 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
17750 Moved ...
17751 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
17752 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
17753 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
17754 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
17755 Moved ...
17756 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
17757 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
17758 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
17759 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
17760 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
17761 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
17762 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
17763 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
17764 Moved ...
17765 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
17766 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
17767 Moved ...
17768 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
17769 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
17770 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
17771 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
17772 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
17773 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
17774 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
17775 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
17776 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
17777 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
17778 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
17779 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
17780 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
17781 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
17782 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
17783 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
17784 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
17785
ec136444
RM
17786 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
17787 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
17788 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
17789 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
17790 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
17791
2fbdf533
RM
17792 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
17793 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
17794 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
17795 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
17796 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
17797 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
17798 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
17799 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
17800 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
17801 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
17802
4c68138b
RM
17803 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
17804 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
17805
4eaae765
RM
17806 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
17807 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
17808 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
17809 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
17810 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
17811 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
17812 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
17813 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
17814 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
17815 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
17816 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
17817 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
17818 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
17819 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
17820 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
17821 Update #include.
17822 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
17823 Likewise.
17824 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17825 Likewise.
17826 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17827 Likewise.
17828 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17829 Likewise.
17830 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
17831 Likewise.
17832 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
17833 Likewise.
17834 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17835 Likewise.
17836 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
17837 Likewise.
17838 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
17839 Likewise.
4ef6befa
RM
17840 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
17841 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
17842 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
17843 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
17844 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
17845 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
17846 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
17847 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
17848 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
17849 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
17850 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
17851 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
17852 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
17853 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
17854 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 17855
941d7dfd
RM
17856 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
17857 that was previously under [RESET_PID].
17858 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17859 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
17860 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
17861
1b731c35
RM
17862 * sysdeps/i386/nptl/Implies: New file.
17863 * sysdeps/x86_64/nptl/Implies: New file.
17864 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
17865 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
17866 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
17867 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
17868
e2787137
RM
17869 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
17870 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17871 (__libc_vfork): New strong alias.
17872 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
17873 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
17874
17875 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
17876 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17877 (__libc_vfork): New strong alias.
17878 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
17879 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
17880
5675da1e
RM
17881 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
17882 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17883 (__libc_vfork): New strong alias.
17884 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
17885 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
17886 * nptl/pt-vfork.c: New file.
17887 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
17888 (libpthread: GLIBC_2.20): New version set (empty).
17889
4f02e2b8
WN
178902014-05-14 Will Newton <will.newton@linaro.org>
17891
17892 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
17893 rather than #if.
17894
0bf061d3
JM
178952014-05-14 Joseph Myers <joseph@codesourcery.com>
17896
1a84c3d6
JM
17897 [BZ #16564]
17898 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
17899 arguments with exponent 65 or above.
17900 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
17901 arguments 0x1p113L or above.
17902 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
17903 to arguments 0x1p107L or above.
17904 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
17905 positive arguments with exponent 65 or above.
17906 * math/auto-libm-test-in: Add more tests of log1p.
17907 * math/auto-libm-test-out: Regenerated.
17908
01dbacd2
JM
17909 [BZ #16928]
17910 * math/s_cacos.c (__cacos): Ensure zero real part of result from
17911 non-finite arguments is +0.
17912 * math/s_cacosf.c (__cacosf): Likewise.
17913 * math/s_cacosl.c (__cacosl): Likewise.
17914 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
17915 * sysdeps/i386/fpu/libm-test-ulps: Update.
17916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17917
913d03c8
JM
17918 [BZ #16927]
17919 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
17920 value.
17921 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
17922 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
17923 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
17924 for explicit high bit of mantissa when testing for argument equal
17925 to 1.
17926 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
17927 * sysdeps/i386/fpu/libm-test-ulps: Update.
17928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17929
0bf061d3
JM
17930 [BZ #16516]
17931 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
17932 (__erf): Scale by 16 instead of 8 in potentially underflowing
17933 case. Ensure exception if result actually underflows.
17934 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
17935 (__erff): Scale by 16 instead of 8 in potentially underflowing
17936 case. Ensure exception if result actually underflows.
17937 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
17938 (efx8): Remove variable.
17939 (__erfl): Scale by 16 instead of 8 in potentially underflowing
17940 case. Ensure exception if result actually underflows.
17941 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
17942 (efx8): Remove variable.
17943 (__erfl): Scale by 16 instead of 8 in potentially underflowing
17944 case. Ensure exception if result actually underflows.
17945 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
17946 (efx8): Remove variable.
17947 (__erfl): Scale by 16 instead of 8 in potentially underflowing
17948 case. Ensure exception if result actually underflows.
17949 * math/auto-libm-test-in: Add more tests of erf.
17950 * math/auto-libm-test-out: Regenerated.
17951
73ba67cb
AS
179522014-05-14 Andreas Schwab <schwab@suse.de>
17953
3d8c8bff
AS
17954 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
17955 Remove code conditionalized on USE___THREAD.
17956
73ba67cb
AS
17957 * config.h.in (HAVE_PT_CHOWN): Define as 0.
17958 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
17959 not definedness.
17960
5c521ecd
JM
179612014-05-14 Joseph Myers <joseph@codesourcery.com>
17962
5e7698c6
JM
17963 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
17964 Define unconditionally.
17965 (__ASSUME_O_CLOEXEC): Likewise.
17966 (__ASSUME_SOCK_CLOEXEC): Likewise.
17967 (__ASSUME_IN_NONBLOCK): Likewise.
17968 (__ASSUME_PIPE2): Likewise.
17969 (__ASSUME_EVENTFD2): Likewise.
17970 (__ASSUME_SIGNALFD4): Likewise.
17971 (__ASSUME_DUP3): Likewise.
17972 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17973 (__ASSUME_DUP3): Do not define.
17974 (__ASSUME_EVENTFD2): Likewise.
17975 (__ASSUME_IN_NONBLOCK): Likewise.
17976 (__ASSUME_O_CLOEXEC): Likewise.
17977 (__ASSUME_PIPE2): Likewise.
17978 (__ASSUME_SIGNALFD4): Likewise.
17979 (__ASSUME_SOCK_CLOEXEC): Likewise.
17980 (__ASSUME_UTIMES): Undefine.
17981 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17982 (__ASSUME_UTIMES): Do not define.
17983 (__ASSUME_O_CLOEXEC): Likewise.
17984 (__ASSUME_SOCK_CLOEXEC): Likewise.
17985 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
17986 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
17987 0x020621].
17988 (__ASSUME_PIPE2): Likewise.
17989 (__ASSUME_EVENTFD2): Likewise.
17990 (__ASSUME_SIGNALFD4): Likewise.
17991 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
17992 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
17993 Do not define.
17994 (__ASSUME_EVENTFD2): Likewise.
17995 (__ASSUME_SIGNALFD4): Likewise.
17996 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17997 (__ASSUME_32BITUIDS): Likewise.
17998 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17999 (__ASSUME_IPC64): Likewise.
18000 (__ASSUME_ST_INO_64_BIT): Likewise.
18001 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
18002 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
18003 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18004 (__ASSUME_UTIMES): Do not define.
18005 (__ASSUME_PSELECT): Likewise.
18006 (__ASSUME_PPOLL): Likewise.
18007 (__ASSUME_O_CLOEXEC): Likewise.
18008 (__ASSUME_SOCK_CLOEXEC): Likewise.
18009 (__ASSUME_IN_NONBLOCK): Likewise.
18010 (__ASSUME_PIPE2): Likewise.
18011 (__ASSUME_EVENTFD2): Likewise.
18012 (__ASSUME_SIGNALFD4): Likewise.
18013 (__ASSUME_DUP3): Likewise.
18014 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18015 (__ASSUME_UTIMES): Likewise.
18016 (__ASSUME_O_CLOEXEC): Likewise.
18017 (__ASSUME_SOCK_CLOEXEC): Likewise.
18018 (__ASSUME_IN_NONBLOCK): Likewise.
18019 (__ASSUME_PIPE2): Likewise.
18020 (__ASSUME_EVENTFD2): Likewise.
18021 (__ASSUME_SIGNALFD4): Likewise.
18022 (__ASSUME_DUP3): Likewise.
18023 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18024 (__ASSUME_UTIMES): Likewise.
18025 (__ASSUME_O_CLOEXEC): Likewise.
18026 (__ASSUME_SOCK_CLOEXEC): Likewise.
18027 (__ASSUME_IN_NONBLOCK): Likewise.
18028 (__ASSUME_PIPE2): Likewise.
18029 (__ASSUME_EVENTFD2): Likewise.
18030 (__ASSUME_SIGNALFD4): Likewise.
18031 (__ASSUME_DUP3): Likewise.
18032 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
18033 Likewise.
18034 (__ASSUME_UTIMES): Likewise.
18035 (__ASSUME_EVENTFD2): Likewise.
18036 (__ASSUME_SIGNALFD4): Likewise.
18037 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18038 (__ASSUME_O_CLOEXEC): Likewise.
18039 (__ASSUME_SOCK_CLOEXEC): Likewise.
18040 (__ASSUME_IN_NONBLOCK): Likewise.
18041 (__ASSUME_PIPE2): Likewise.
18042 (__ASSUME_EVENTFD2): Likewise.
18043 (__ASSUME_SIGNALFD4): Likewise.
18044 (__ASSUME_DUP3): Likewise.
18045 (__ASSUME_UTIMES): Undefine.
18046
5c521ecd
JM
18047 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
18048 feclearexcept. Remove symbol versioning code.
18049 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
18050 symbol versioning code.
18051 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
18052 symbol versioning code.
18053 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
18054 feupdateenv. Remove symbol versioning code.
18055 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
18056 fegetexceptflag. Remove symbol versioning code.
18057 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
18058 fesetexceptflag. Remove symbol versioning code.
18059 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
18060 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
18061 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
18062 (__posix_fadvise64_l32): Remove prototype.
18063 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
18064 code.
18065
5da9dfad
RM
180662014-05-13 Roland McGrath <roland@hack.frob.com>
18067
18068 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
18069 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
18070 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
18071 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
18072
893b4f37
SK
180732014-05-13 Sami Kerola <kerolasa@iki.fi>
18074
18075 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
18076 current working directory
18077
e0db6517
RM
180782014-05-13 Roland McGrath <roland@hack.frob.com>
18079
58aa195d
RM
18080 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
18081 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
18082 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
18083 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
18084 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
18085 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
18086 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
18087 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
18088 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
18089 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
18090 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
18091 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
18092 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
18093 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
18094 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
18095 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
18096 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
18097 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
18098 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
18099 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
18100 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
18101 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
18102 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
18103 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
18104 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
18105 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
18106 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
18107 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
18108 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
18109 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
18110 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
18111 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
18112 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
18113 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
18114 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
18115 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
18116 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
18117 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
18118 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
18119 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
18120 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
18121 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
18122
8c6d01f0
RM
18123 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
18124 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
18125
18126 * sysdeps/unix/sysv/linux/arm/Makefile
18127 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
18128 Add rt-aeabi_unwind_cpp_pr1.
18129 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
18130 Add nptl-aeabi_unwind_cpp_pr1.
18131 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
18132 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
18133 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
18134 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
18135 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
18136 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
18137
18138 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
18139 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
18140 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
18141 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
18142
bba6da4e
RM
18143 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
18144 Deconditionalize the code that was previously under [RESET_PID].
18145 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
18146
e0db6517
RM
18147 * sysdeps/generic/exit-thread.h: New file.
18148 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
18149 * include/unistd.h (__exit_thread): Remove declaration.
18150 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
18151 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
18152 * csu/libc-start.c: Include <exit-thread.h>.
18153 (LIBC_START_MAIN): Pass no argument to __exit_thread.
18154 * nptl/pthread_create.c: Include <exit-thread.h>.
18155 (start_thread): Call __exit_thread in place of __exit_thread_inline.
18156 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
18157 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
18158 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
18159 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
18160 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
18161 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
18162 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
18163 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
18164 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
18165 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
18166 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
18167 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
18168 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
18169 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
18170 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
18171 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
18172
01eb16fd
AS
181732014-05-13 Andreas Schwab <schwab@suse.de>
18174
18175 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
18176
637461d9
JM
181772014-05-12 Joseph Myers <joseph@codesourcery.com>
18178
18179 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
18180 (__ASSUME_UTIMES): Do not condition on kernel version.
18181 (__ASSUME_PSELECT): Define unconditionally.
18182 (__ASSUME_PPOLL): Likewise.
18183 (__ASSUME_ATFCTS): Likewise.
18184 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
18185 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
18186 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
18187 (__ASSUME_UTIMENSAT): Define unconditionally.
18188 (__ASSUME_PRIVATE_FUTEX): Likewise.
18189 (__ASSUME_FALLOCATE): Likewise.
18190 (__ASSUME_O_CLOEXEC): Likewise.
18191 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
18192 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
18193 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
18194 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
18195 (__ASSUME_IN_NONBLOCK): Likewise.
18196 (__ASSUME_PIPE2): Likewise.
18197 (__ASSUME_EVENTFD2): Likewise.
18198 (__ASSUME_SIGNALFD4): Likewise.
18199 (__ASSUME_DUP3): Likewise.
18200 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18201 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
18202 (__ASSUME_AT_RANDOM): Likewise.
18203 (__ASSUME_PREADV): Likewise.
18204 (__ASSUME_PWRITEV): Likewise.
18205 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
18206 (__ASSUME_F_GETOWN_EX): Define unconditionally.
18207 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
18208 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18209 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
18210 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18211 (__ASSUME_O_CLOEXEC): Define unconditionally.
18212 (__ASSUME_PSELECT): Do not undefine conditionally.
18213 (__ASSUME_PPOLL): Likewise.
18214 (__ASSUME_ATFCTS): Likewise.
18215 (__ASSUME_SET_ROBUST_LIST): Likewise.
18216 (__ASSUME_UTIMENSAT): Likewise.
18217 (__ASSUME_FDATASYNC): Define unconditionally.
18218 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18219 (__ASSUME_SIGFRAME_V2): Likewise.
18220 )__ASSUME_EVENTFD2): Likewise.
18221 (__ASSUME_SIGNALFD4): Likewise.
18222 (__ASSUME_PSELECT): Do not undefine conditionally.
18223 (__ASSUME_PPOLL): Likewise.
18224 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18225 (__ASSUME_PSELECT): Define unconditionally.
18226 (__ASSUME_PPOLL): Likewise.
18227 (__ASSUME_O_CLOEXEC): Likewise.
18228 (__ASSUME_SOCK_CLOEXEC): Likewise.
18229 (__ASSUME_IN_NONBLOCK): Likewise.
18230 (__ASSUME_PIPE2): Likewise.
18231 (__ASSUME_EVENTFD2): Likewise.
18232 (__ASSUME_SIGNALFD4): Likewise.
18233 (__ASSUME_DUP3): Likewise.
18234 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18235 (__ASSUME_O_CLOEXEC): Likewise.
18236 (__ASSUME_SOCK_CLOEXEC): Likewise.
18237 (__ASSUME_IN_NONBLOCK): Likewise.
18238 (__ASSUME_PIPE2): Likewise.
18239 (__ASSUME_EVENTFD2): Likewise.
18240 (__ASSUME_SIGNALFD4): Likewise.
18241 (__ASSUME_DUP3): Likewise.
18242 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18243 (__ASSUME_EVENTFD2): Likewise.
18244 (__ASSUME_SIGNALFD4): Likewise.
18245 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18246
315eb1d8
AS
182472014-05-12 Andreas Schwab <schwab@suse.de>
18248
18249 [BZ #16932]
18250 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
18251 (_nss_nis_gethostbyname4_r): Return error if item length is larger
18252 than maximum RPC packet size.
18253 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
18254 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
18255 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
18256 (_nss_nis_getservbyport_r): Likewise.
18257
91df99f7
WN
182582014-05-12 Will Newton <will.newton@linaro.org>
18259
18260 * malloc/Makefile (tests): Add tst-mallopt.
18261 * malloc/tst-mallopt.c: New file.
18262
0a982a29
RM
182632014-05-09 Roland McGrath <roland@hack.frob.com>
18264
18265 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
18266 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
18267
0ded08a5
AZ
182682014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18269
18270 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
18271 (tst-tlsmod6.so): Likewise.
18272
55d4d550
RM
182732014-05-09 Roland McGrath <roland@hack.frob.com>
18274
18275 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
18276
77d08aca
JM
182772014-05-09 Joseph Myers <joseph@codesourcery.com>
18278
18279 [BZ #16064]
18280 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
18281 and <dl-procinfo.h>.
18282 (__fegetenv): Save SSE state in envp->__eip if supported.
18283 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
18284 envp->__eip if supported.
18285 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
18286 and <dl-procinfo.h>.
18287 (__fesetenv): Always set __eip, __cs_selector, __opcode,
18288 __data_offset and __data_selector in environment to 0. Set SSE
18289 state if supported.
18290 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
18291 test-fenv-sse.
18292 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
18293 -mfpmath=sse.
18294 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
18295
28162f4d
WN
182962014-05-09 Will Newton <will.newton@linaro.org>
18297
18298 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
18299 and libc_relro_required for ARM.
18300 * sysdeps/arm/preconfigure: Regenerate.
18301
5a414ff7
DV
183022014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
18303 Stefan Liebler <stli@linux.vnet.ibm.com>
18304
18305 * config.make.in (enable-lock-elision): New Makefile variable.
18306 * configure.ac: Likewise.
18307 * configure: Regenerate.
18308 * sysdeps/s390/configure.ac:
18309 Add check for gcc transactions support.
18310 * sysdeps/s390/configure: Regenerate.
18311 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
18312 Build elision files if enabled.
18313 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
18314 Add lock elision support for s390.
18315 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18316 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
18317 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
18318 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
18319 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
18320 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18321 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
18322 Likewise.
18323 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
18324 Likewise.
18325 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
18326 Likewise.
18327 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
18328 Likewise.
18329 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
18330 (__lll_timedlock_elision, __lll_lock_elision)
18331 (__lll_unlock_elision, __lll_trylock_elision)
18332 (lll_timedlock_elision, lll_lock_elision)
18333 (lll_unlock_elision, lll_trylock_elision): Add.
18334 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18335 (pthread_mutex_t): Add lock elision support for s390.
18336
1a2f40e5
W
183372014-05-14 Wilco <wdijkstr@arm.com>
18338
18339 * sysdeps/arm/fclrexcpt.c: Cleanup.
18340 * sysdeps/arm/fedisblxcpt.c: Cleanup.
18341 * sysdeps/arm/feenablxcpt.c: Cleanup.
18342 * sysdeps/arm/fegetenv.c: Cleanup.
18343 * sysdeps/arm/fegetexcept.c: Cleanup.
18344 * sysdeps/arm/fegetround.c: Cleanup.
18345 * sysdeps/arm/feholdexcpt.c: Cleanup.
18346 * sysdeps/arm/fesetenv.c: Cleanup.
18347 * sysdeps/arm/fesetround.c: Cleanup.
18348 * sysdeps/arm/feupdateenv.c: Cleanup.
18349 * sysdeps/arm/fgetexcptflg.c: Cleanup.
18350 * sysdeps/arm/fraiseexcpt.c: Cleanup.
18351 * sysdeps/arm/fsetexcptflg.c: Cleanup.
18352 * sysdeps/arm/ftestexcept.c: Cleanup.
18353 * sysdeps/arm/get-rounding-mode.h: Cleanup.
18354 * sysdeps/arm/setfpucw.c: Cleanup.
18355
f63c86fe
WN
183562014-05-09 Will Newton <will.newton@linaro.org>
18357
18358 * sysdeps/arm/armv7/strcmp.S: New file.
18359 * NEWS: Mention addition of ARMv7 optimized strcmp.
18360
7a1a51b5
RM
183612014-05-08 Roland McGrath <roland@hack.frob.com>
18362
95afbbe5
RM
18363 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
18364 look for %.ac rather than %.in.
18365
18366 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
18367 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
18368 * sysdeps/mach/hurd/configure: Regenerated.
18369 * sysdeps/unix/sysv/linux/configure: Regenerated.
18370
7a1a51b5
RM
18371 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
18372
5057ad3b
SE
183732014-05-07 Steve Ellcey <sellcey@mips.com>
18374
18375 [BZ# 16922]
18376 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
18377 (LONG_SUB): Ditto.
18378 (PTR_SUB): Ditto.
18379
8dc97517
AS
183802014-05-07 Andreas Schwab <schwab@suse.de>
18381
18382 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
18383 when skipping over non-matching result from nscd.
18384
ce0c5b8f
OB
183852014-05-07 Ondřej Bílka <neleai@seznam.cz>
18386
18387 [BZ #16876]
18388 * nptl/sockperf.c (client): Check socket return value.
8dc97517 18389
a1189263
OB
18390 [BZ #16877]
18391 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
18392 nscd security class.
ce0c5b8f 18393
0f58d252
RM
183942014-05-06 Roland McGrath <roland@hack.frob.com>
18395
18396 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
18397 * sysdeps/arm/unwind.h: ... here.
18398
83df9ad0
AJ
183992014-05-06 Aurelien Jarno <aurelien@aurel32.net>
18400
ce0c5b8f
OB
18401 [BZ# 16916]
18402 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
18403 Define.
83df9ad0 18404
f360f94a
VR
184052014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18406
18407 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
18408 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
18409 multiarch strncpy for PPC64.
18410 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
18411 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
18412 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
18413 multiarch optimizations.
18414 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18415 (__libc_ifunc_impl_list): Likewise.
18416 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
18417 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
18418 multiarch stpncpy for PPC64.
18419 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
18420 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
18421
978a41c3
AS
184222014-05-06 Andreas Schwab <schwab@suse.de>
18423
18424 [BZ #16912]
18425 * gmon/mcount.c (_MCOUNT_DECL): Use
18426 atomic_compare_and_exchange_bool_acq instead of
18427 catomic_compare_and_exchange_bool_acq.
18428
eb1ed03d
RM
184292014-05-05 Roland McGrath <roland@hack.frob.com>
18430
fe658845
RM
18431 * elf/Makefile (others, install-bin): Remove pldd.
18432 (pldd-modules): Variable removed.
18433 ($(objpfx)pldd): Target removed.
18434 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
18435 (others, install-bin): Append pldd here.
18436 ($(objpfx)pldd): New target.
18437
eb1ed03d
RM
18438 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
18439 to 0, so the first #if test emitted later doesn't see it undefined.
18440 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
18441 * sysdeps/gnu/errlist.c: Regenerated.
18442
19c4bec0
AZ
184432014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18444
18445 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18446 [libc_hidden_builtin_def]: Define to empty value.
18447 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
18448 [libc_hidden_builtin_def]: Likewise.
18449 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
18450 [libc_hidden_builtin_def]: Likewise.
18451 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
18452 [libc_hidden_builtin_def]: Likewise.
18453 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
18454 __redirect_memcpy and define ifunc as default hidden symbol.
18455 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
18456 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
18457
7776e669
AC
184582014-05-04 Adam Conrad <adconrad@0c3.net>
18459
18460 * locale/iso-4217.def: Reintroduce XDR currency.
18461
d69aeb12
AM
184622014-05-04 Allan McRae <allan@archlinux.org>
18463
18464 * po/eo.po: Update Esperanto translation from translation project.
18465
8f1df5cf
CD
184662014-05-02 Carlos O'Donell <carlos@redhat.com>
18467
18468 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
18469 and FEATURE_INDEX_MAX to 1.
18470 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
18471
13e402e7
SE
184722014-05-01 Steve Ellcey <sellcey@mips.com>
18473
18474 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
18475 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
18476 * iconvdata/big5.c (ONE_DIRECTION): Define.
18477 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
18478 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
18479 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
18480 * iconvdata/cp932.c (ONE_DIRECTION): Define.
18481 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
18482 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
18483 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
18484 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
18485 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
18486 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
18487 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
18488 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
18489 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
18490 * iconvdata/gbk.c (ONE_DIRECTION): Define.
18491 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
18492 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
18493 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
18494 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
18495 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
18496 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
18497 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
18498 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
18499 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
18500 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
18501 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
18502 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
18503 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
18504 * iconvdata/iso646.c (ONE_DIRECTION): Define.
18505 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
18506 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
18507 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
18508 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
18509 * iconvdata/johab.c (ONE_DIRECTION): Define.
18510 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
18511 * iconvdata/sjis.c (ONE_DIRECTION): Define.
18512 * iconvdata/t.61.c (ONE_DIRECTION): Define.
18513 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
18514 * iconvdata/tscii.c (ONE_DIRECTION): Define.
18515 * iconvdata/uhc.c (ONE_DIRECTION): Define.
18516 * iconvdata/unicode.c (ONE_DIRECTION): Define.
18517 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
18518 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
18519 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
18520
c727f032
RM
185212014-05-01 Roland McGrath <roland@hack.frob.com>
18522
8f2f08d0
RM
18523 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
18524 (_IO_JUMPS_OFFSET): Define to 0.
18525
c727f032
RM
18526 * nptl/sysdeps/pthread/bits/libc-lock.h
18527 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
18528 (__libc_lock_define_initialized_recursive): Always define using
18529 initializer. Modern compilers treat uninitialized (implicit zero) and
18530 explicit zero initializers the same (i.e. put the datum in bss).
18531
a849e800
AS
185322014-05-01 Andreas Schwab <schwab@linux-m68k.org>
18533
18534 * nscd/nscd-client.h: Include <string.h>.
18535
5331255b
DM
185362014-05-01 David S. Miller <davem@davemloft.net>
18537
18538 [BZ #16885]
18539 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
18540 multiple zero bytes exist at the end of a string.
18541 Reported by Aurelien Jarno <aurelien@aurel32.net>
18542
18543 * string/test-strcmp.c (check): Add explicit test for situations where
18544 there are multiple zero bytes after the first.
18545
4fdfe821
AS
185462014-05-01 Andreas Schwab <schwab@linux-m68k.org>
18547
18548 [BZ #16890]
18549 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
18550 when compiling wprintf.
18551 * stdio-common/tstdiomisc.c (t3): New function.
18552 (main): Call it.
18553
0cdddc25
SE
185542014-05-01 Steve Ellcey <sellcey@mips.com>
18555
18556 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
18557 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
18558 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
18559 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
18560
6426d77e
SE
185612014-05-01 Steve Ellcey <sellcey@mips.com>
18562
18563 * stdlib/longlong.h: Updated from GCC.
18564
6d96f5e4
WN
185652014-05-01 Will Newton <will.newton@linaro.org>
18566 Bernard Ogden <bernie.ogden@linaro.org>
18567
7470db0c
WN
18568 * NEWS: Update fixed bug list.
18569
6d96f5e4
WN
18570 [BZ #15119]
18571 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
18572
211d653c
DM
185732014-04-30 David S. Miller <davem@davemloft.net>
18574
4fa262fa
DM
18575 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
18576 (libc_feholdexcept_setround_sparc_ctx): New function.
18577 (libc_fesetenv_sparc_ctx): Likewise.
18578 (libc_feupdateenv_sparc_ctx): Likewise.
18579 (libc_feholdsetround_sparc_ctx): Likewise.
18580 (libc_feholdexcept_setround_ctx): Define.
18581 (libc_feholdexcept_setroundf_ctx): Likewise.
18582 (libc_feholdexcept_setroundl_ctx): Likewise.
18583 (libc_fesetenv_ctx): Likewise.
18584 (libc_fesetenvf_ctx): Likewise.
18585 (libc_fesetenvl_ctx): Likewise.
18586 (libc_feupdateenv_ctx): Likewise.
18587 (libc_feupdateenvf_ctx): Likewise.
18588 (libc_feupdateenvl_ctx): Likewise.
18589 (libc_feresetround_ctx): Likewise.
18590 (libc_feresetroundf_ctx): Likewise.
18591 (libc_feresetroundl_ctx): Likewise.
18592 (libc_feholdsetround_ctx): Likewise.
18593 (libc_feholdsetroundf_ctx): Likewise.
18594 (libc_feholdsetroundl_ctx): Likewise.
18595
1d3d93ef
DM
18596 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18597 with __USE_GNU instead of XOPEN cpp guards.
18598
8aa583c3
DM
18599 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
18600 0.
18601
211d653c
DM
18602 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18603 with XOPEN cpp guards.
18604
60c8f1f6
JB
186052014-04-30 Julian Brown <julian@codesourcery.com>
18606
18607 [BZ #16888]
18608 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
18609 handling.
18610
9a461d46
JM
186112014-04-30 Joseph Myers <joseph@codesourcery.com>
18612
d0f5b3f8
JM
18613 [BZ #9894]
18614 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
18615 Change to 2.6.32.
18616 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
18617 * sysdeps/unix/sysv/linux/configure: Regenerated.
18618 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
18619 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
18620 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
18621 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
18622 * README: Update reference to required Linux kernel version.
18623 * manual/install.texi (Linux): Update reference to required Linux
18624 kernel headers version.
18625 * INSTALL: Regenerated.
18626
9a461d46
JM
18627 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
18628 header inclusion.
18629 [POSIX] (limits.h): Likewise.
18630 [POSIX] (math.h): Likewise.
18631 [POSIX] (sys/wait.h): Likewise.
18632 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
18633 function.
18634 [POSIX] (stddef.h): Do not allow header inclusion.
18635
1775babf
AZ
186362014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18637
57f41c40 18638 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 18639
8f630cca
YY
186402014-04-30 Yang Yingliang <yangyingliang@huawei.com>
18641
18642 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
18643 Return immediately after lll_futex_wake.
18644
1cdeb237
SP
186452014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18646
bc8f194c
SP
18647 [BZ #16791]
18648 * nscd/nscd-client.h (datahead_init_common): Initialize entire
18649 structure.
18650 (datahead_init_pos): Call datahead_init_common early.
18651 (datahead_init_neg): Likewise.
18652
1cdeb237
SP
18653 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
18654 datahead_init_neg): New functions.
18655 * nscd/aicache.c (addhstaiX): Use them.
18656 * nscd/grpcache.c (cache_addgr): Likewise.
18657 * nscd/hstcache.c (cache_addhst): Likewise.
18658 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18659 * nscd/netgroupcache.c (do_notfound): Likewise.
18660 (addgetnetgrentX): Likewise.
18661 (addinnetgrX): Likewise.
18662 * nscd/pwdcache.c (cache_addpw): Likewise.
18663 * nscd/servicescache.c (cache_addserv): Likewise.
18664
16b293a7
SP
186652014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18666 Atsushi Onoe <atsushi@onoe.org>
18667
18668 [BZ #14308]
18669 [BZ #12994]
18670 [BZ #13651]
18671 * resolv/res_query.c (__libc_res_nsearch): Return if at least
18672 one response is valid.
18673 * resolv/res_send.c (send_dg): Check for validity of other
18674 response if the current response is a referral.
18675
a28a9b94
SE
186762014-04-29 Steve Ellcey <sellcey@mips.com>
18677
18678 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
18679
2ca180e9
SL
186802014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
18681
18682 [BZ #16823]
18683 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
18684 Always divide by positive zero when computing -Inf result.
18685 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18686 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
18687
18f2945a
AZ
186882014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18689
18690 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
18691 FPSCR if value do not change.
18692 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18693 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
18694 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18695 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18696 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
18697 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
18698 function.
18699
5abebba4
CD
187002014-05-29 Carlos O'Donell <carlos@systemhalted.org>
18701
18702 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
18703 * sysdeps/unix/sysv/linux/hppa: Move directory from
18704 ports/systeps/unix/sysv/linux/hppa.
18705 * README: Update listing for hppa-*-linux-gnu.
18706
f7ed60c2
OB
187072014-04-28 Ondřej Bílka <neleai@seznam.cz>
18708
fff763a5
OB
18709 [BZ #16754]
18710 * manual/stdio.texi (Hook functions): Fix types of stream hook
18711 functions.
f7ed60c2
OB
18712 [BZ #16854]
18713 * socket/sys/socket.h: Fix typo in comment.
18714
df639d73
WD
187152014-04-28 Wilco <wdijkstr@arm.com>
18716
f7ed60c2 18717 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
18718 * sysdeps/arm/math_private.h: New file.
18719 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
18720
48332d82
L
187212014-04-25 H.J. Lu <hongjiu.lu@intel.com>
18722
18723 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
18724 with __int128_t.
18725 (La_x86_64_retval): Likewise.
18726
e5e0d9a4
IB
187272014-04-24 Ian Bolton <ian.bolton@arm.com>
18728
18729 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
18730 fpsr if value didn't change.
18731 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
18732 to fpcr if value didn't change.
18733 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
18734 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
18735 fpsr or fpcr if value didn't change.
18736 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
18737 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
18738 fpcr if value didn't change.
18739 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
18740 to fpsr if value didn't change.
18741
bacc75f7
SP
187422014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18743
18744 * nptl/tst-sem3.c: Use test-skeleton.c
18745 (main): Rename to do_test. Use return instead of
18746 exit.
18747 * nptl/tst-sem4.c: Use test-skeleton.c
18748 (main): Rename to do_test.
18749
a059d359
DM
187502014-04-22 David S. Miller <davem@davemloft.net>
18751
18752 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
18753 (struct sigaction): New struct member __glibc_reserved0, change
18754 type of sa_flags to int.
18755
ea6c92f3
YZ
187562014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
18757
18758 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
18759 (COUNT_LEADING_ZEROS_0): Define for AArch64.
18760
766c4a36
SP
187612014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18762
18763 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
18764 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
18765
140cc7ab
VK
187662014-04-22 Will Newton <will.newton@linaro.org>
18767 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
18768
18769 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
18770 (__longjmp): Add longjmp and longjmp_target SystemTap
18771 probes.
18772 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
18773 (__sigsetjmp): Add setjmp SystemTap probe.
18774
c54e5cf7
CD
187752014-04-17 Carlos O'Donell <carlos@redhat.com>
18776
18777 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
18778 match manual order.
18779
75ffb047
AZ
187802014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18781
18782 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
18783
2cd925f7
AZ
18784 * sysdeps/powerpc/fpu/fenv_private.h
18785 (libc_feholdexcept_setroundl_ctx): Define to
18786 libc_feholdexcept_setround_ppc_ctx.
18787 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
18788 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
18789 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
18790 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
18791
39e6cd8d
IB
187922014-04-17 Ian Bolton <ian.bolton@arm.com>
18793
18794 * sysdeps/aarch64/math-tests.h: New file.
18795
f9281df9
SY
187962014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
18797
18798 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
18799 New.
18800 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18801 Check and set bit_AVX2_Usable.
18802 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
18803 macro.
18804 (bit_AVX2): Likewise.
18805 (index_AVX2_Usable): Likewise.
18806 (CPUID_AVX2): Likewise.
18807 (HAS_AVX2): Likewise.
18808
37d35007
WN
188092014-04-17 Will Newton <will.newton@linaro.org>
18810
7c677662
WN
18811 * manual/setjmp.texi (System V contexts): Add note that
18812 calling setcontext on a context created by a call to a
18813 signal handler is undefined. Update text to note that
18814 setcontext from a signal handler is possible but not
18815 recommended.
18816
37d35007 18817 [BZ #16629]
e04a4e9d
WN
18818 * stdlib/tst-setcontext.c: Include signal.h.
18819 (main): Check that the signal stack before and
18820 after swapcontext is the same.
18821
37d35007
WN
18822 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
18823 Re-implement to restore registers in user code and avoid
18824 rt_sigreturn system call.
18825
423a7160
W
188262014-04-17 Wilco <wdijkstr@arm.com>
18827
18828 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
18829 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
18830 * math/test-fenv.c: Skip exception trap tests on targets which only
18831 support non-stop mode.
18832
bc93ab29
IB
188332014-04-17 Ian Bolton <ian.bolton@arm.com>
18834 Wilco Dijkstra <wilco.dijkstra@arm.com>
18835
18836 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
18837 (libc_feholdsetround_aarch64_ctx)
18838 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
18839 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
18840 (libc_feresetround_ctx, libc_feresetroundf_ctx)
18841 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
18842 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
18843 (libc_feresetround_noexl_ctx): Define.
18844
95fc5fa3
RH
188452014-04-16 Richard Henderson <rth@redhat.com>
18846
ddb04724
RH
18847 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
18848
d77c0899
RH
18849 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
18850 unwind tables.
18851
a3df56fc
RH
18852 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
18853 const from the non-libc, non-ldso copy.
18854
95fc5fa3
RH
18855 * sysdeps/alpha/libm-test-ulps: Regenerate.
18856
7e0b6763
IB
188572014-04-16 Ian Bolton <ian.bolton@arm.com>
18858 Wilco Dijkstra <wilco.dijkstra@arm.com>
18859
18860 * sysdeps/aarch64/fpu/math_private.h: New file.
18861
a9ea2e0c
MS
188622014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
18863
18864 * sysdeps/aarch64/libm-test-ulps: Regenerate.
18865
ea8ba7cd
IZ
188662014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
18867
7e54fd04 18868 [BZ #16275]
ea8ba7cd
IZ
18869 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
18870 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
18871 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
18872 Intel MPX bound registers before _dl_profile_fixup.
18873 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
18874 registers after _dl_profile_fixup. Save and restore bound
18875 registers bnd0/bnd1 when calling _dl_call_pltexit.
18876 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
18877 (LR_BND_OFFSET): Likewise.
18878 (LRV_BND0_OFFSET): Likewise.
18879 (LRV_BND1_OFFSET): Likewise.
18880
9f2a4fbc
ST
188812014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18882
18883 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
18884 to...
18885 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
18886 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
18887 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
18888 fields.
9f2a4fbc 18889
fd15a59b
ST
188902014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18891
18892 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
18893
f19dfa0a
SL
188942014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18895
18896 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18897
4fa8bc3b
SL
188982014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18899
18900 [BZ #14770]
18901 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
18902 * sysdeps/s390/configure: Regenerate.
18903
8ea587db
SL
18904 [BZ #16824]
18905 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
18906 Set round-to-nearest internally to reduce error accumulation.
18907
aa5f0ff1
AM
189082014-04-16 Alan Modra <amodra@gmail.com>
18909
18910 [BZ #16740]
18911 [BZ #16619]
18912 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
18913 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 18914 * NEWS: Update fixed bug list.
aa5f0ff1 18915
bb9c256f
SP
189162014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18917
18918 * benchtests/Makefile: Depend on libraries in build directory.
18919 (bench-math): Separate out math tests.
18920 (bench-pthread): Separate out pthread tests.
18921 (bench): Include math and pthread tests.
18922
f737dfd0
CD
189232014-04-14 Carlos O'Donell <carlos@redhat.com>
18924
18925 [BZ #16831]
18926 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
18927 _dl_debug_initialize.
18928
0699f766
CD
18929 * configure.ac: Remove SELinux header check.
18930 * configure: Regenerate.
18931 * nscd/selinux.c (perms): Array of const char* to permission names.
18932 (nscd_request_avc_has_perm): Call security_deny_unknown to find
18933 default policy. Call string_to_security_class and string_to_av_perm to
18934 translate strings. Enforce default policy and call avs_has_perm with
18935 results of translated strings.
18936
809bd45f
DM
189372014-04-13 David S. Miller <davem@davemloft.net>
18938
18939 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18940
89e691f2
AM
189412014-04-12 Allan McRae <allan@archlinux.org>
18942
18943 [BZ #16838]
18944 * manual/string.texi (Collation Functions): Fix qsort argument
18945 order in example.
18946 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18947
9c9daaeb
CM
189482014-04-11 Chris Metcalf <cmetcalf@tilera.com>
18949
18950 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
18951 Make the test a no-op if there are no exceptions defined.
18952
95561fb9
PP
189532014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
18954
fe8d072c 18955 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
18956 enable-hardcoded-path-in-tests
18957
970c602a
WN
189582014-04-11 Will Newton <will.newton@linaro.org>
18959
18960 * benchtests/Makefile (extra-objs): Add json-lib.o.
18961 (bench-func): Tidy up JSON output.
18962 * benchtests/bench-skeleton.c: Include json-lib.h.
18963 (main): Use JSON library functions to do output of
18964 benchmark results.
18965 * benchtests/bench-timing-type.c (main): Output the
18966 timing type simply, leaving formatting to the user.
18967 * benchtests/json-lib.c: New file.
18968 * benchtests/json-lib.h: Likewise.
18969
36875b06
TR
189702014-04-11 Torvald Riegel <triegel@redhat.com>
18971
18972 [BZ #15215]
18973 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
18974 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
18975 memory barriers. Add comments.
18976 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
18977 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
18978 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
18979 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
18980 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
18981 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
18982
579db35a
SL
189832014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18984
18985 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
18986 * sysdeps/s390/s390-64/configure.ac: ... this ...
18987 * sysdeps/s390/configure.ac: ... to here.
18988 * sysdeps/s390/s390-32/configure: Delete file.
18989 * sysdeps/s390/s390-64/configure: Delete file.
18990 * sysdeps/s390/configure: Regenerate.
18991
c12e9f37
JAPH
189922014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
18993
18994 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
18995
439bda32
WN
189962014-04-11 Will Newton <will.newton@linaro.org>
18997
18998 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
18999 to zero if it is not defined elsewhere. (mtrim): Test
19000 the value of MALLOC_DEBUG with #if rather than #ifdef.
19001
6a5d6ea1
TR
190022014-04-10 Torvald Riegel <triegel@redhat.com>
19003
19004 * benchtests/pthread_once-inputs: New file.
19005 * benchtests/pthread_once-source.c: New file.
19006 * benchtests/README: Update documentation.
19007
a4c75cfd
IZ
190082014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
19009 H.J. Lu <hongjiu.lu@intel.com>
19010
7e54fd04 19011 [BZ #16275]
a4c75cfd
IZ
19012 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
19013 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
19014 * sysdeps/x86_64/configure: Regenerated.
19015 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
19016 macro.
19017 (REGISTER_SAVE_RAX): Likewise.
19018 (REGISTER_SAVE_RCX): Likewise.
19019 (REGISTER_SAVE_RDX): Likewise.
19020 (REGISTER_SAVE_RSI): Likewise.
19021 (REGISTER_SAVE_RDI): Likewise.
19022 (REGISTER_SAVE_R8): Likewise.
19023 (REGISTER_SAVE_R9): Likewise.
19024 (REGISTER_SAVE_BND0): Likewise.
19025 (REGISTER_SAVE_BND1): Likewise.
19026 (REGISTER_SAVE_BND2): Likewise.
19027 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
19028 bound registers when calling _dl_fixup.
19029
27822ce6
AZ
190302014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19031
19032 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
19033 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
19034 of its definition.
27822ce6
AZ
19035 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
19036 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
19037 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
19038 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
19039 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
19040 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
19041 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
19042
a88ddc90
PTB
190432014-04-09 Peter Brett <peter@peter-b.co.uk>
19044
19045 [BZ #15514]
19046 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
19047 pathconf(_PC_NAME_MAX).
19048
01f8eac2
AZ
190492014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19050
19051 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
19052 Remove macro usage.
19053 (__PTHREAD_SPINS): Move definition to ...
19054 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19055 (__PTHREAD_SPINS): ... here.
19056 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19057 (__PTHREAD_SPIN): Likewise.
19058 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
19059 (__PTHREAD_SPIN): Likewise.
19060 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
19061 (__PTHREAD_SPIN): Likewise.
19062 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
19063 (__PTHREAD_SPIN): Likewise.
19064 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19065 (__PTHREAD_SPIN): Likewise.
19066 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19067 (__PTHREAD_SPIN): Likewise.
19068 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
19069 (__PTHREAD_SPIN): Likewise.
19070 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19071 (__PTHREAD_SPIN): Likewise.
19072 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19073 (__PTHREAD_SPIN): Likewise.
19074 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19075 (__PTHREAD_SPIN): Likewise.
19076 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19077 (__PTHREAD_SPIN): Likewise.
19078 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
19079 (__PTHREAD_SPIN): Likewise.
19080
de21c33c
AZ
19081 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
19082 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
19083 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
19084 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
19085 imply folder.
19086 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
19087 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
19088 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
19089 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
19090 correct imply path.
19091 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
19092 strlen symbol for non multi-arch builds.
19093 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
19094 missing hidden_def and weak_alias.
19095
862c472e
CD
190962014-04-08 Carlos O'Donell <carlos@redhat.com>
19097
19098 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
19099
8667f90e
WN
191002014-04-07 Will Newton <will.newton@linaro.org>
19101
19102 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
19103 and contents. [!_LIBC] Remove #ifndef and contents.
19104 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
19105 * string/memccpy.c (__memccpy): Use ANSI prototype.
19106 * string/memfrob.c (memfrob): Likewise.
19107 * string/strcoll.c (STRCOLL): Likewise.
19108 * string/strlen.c (strlen): Likewise.
19109 * string/strtok.c (STRTOK): Likewise.
19110 * string/strcat.c: Remove unused #include of memcopy.h.
19111 (strcat): Use ANSI prototype.
19112 * string/strchr.c: Remove unused #include of memcopy.h.
19113 (strchr): Use ANSI prototype.
19114 * string/strcmp.c: Remove unused #include of memcopy.h.
19115 (strcmp): Use ANSI prototype.
19116 * string/strcpy.c: Remove unused #include of memcopy.h.
19117 (strcpy): Use ANSI prototype.
19118
7ffa9423
AZ
191192014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19120
19121 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
19122 * config.make.in (config-extra-cppflags): Set it from
19123 libc_extra_cppflags.
19124 * configure.ac (libc_extra_cflags): Make it accumulate over
19125 configure fragments.
19126 (libc_extra_cppflags): New flag.
19127 * configure. Regenerate.
19128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
19129 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
19130 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
19131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19132
8bd70862
AZ
19133 [BZ #16815]
19134 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
19135 result for FE_DOWNWARD rounding mode.
19136 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19137 Likewise.
19138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19139
d42f3448
CM
191402014-04-04 Chris Metcalf <cmetcalf@tilera.com>
19141
19142 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
19143 in function argument name.
19144
1c21d115
DS
191452014-04-03 David Svoboda <svoboda@cert.org>
19146
19147 [BZ #5666]
19148 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
19149 explicitly.
19150
fcccd512
RM
191512014-04-03 Roland McGrath <roland@hack.frob.com>
19152
19153 * elf/dl-unmap-segments.h: New file.
19154 * sysdeps/generic/ldsodefs.h
19155 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
19156 * elf/dl-close.c: Include <dl-unmap-segments.h>.
19157 * elf/dl-fptr.c: Likewise.
19158 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
19159 * sysdeps/aarch64/tlsdesc.c: Likewise.
19160 * sysdeps/arm/tlsdesc.c: Likewise.
19161 * sysdeps/i386/tlsdesc.c: Likewise.
19162 * sysdeps/tile/dl-runtime.c: Likewise.
19163 * sysdeps/x86_64/tlsdesc.c: Likewise.
19164 * elf/dl-load.h: New file.
19165 * elf/dl-load.c: Include it.
19166 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
19167 Macros moved to dl-load.h.
19168 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
19169 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
19170 Use _dl_unmap_segments in place of __munmap.
19171 Break out segment-mapping loop into ...
19172 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
19173
f6488e2b
WN
191742014-04-03 Will Newton <will.newton@linaro.org>
19175
19176 * elf/dl-lookup.c (do_lookup_x): Remove comment
19177 referring to nested function and move variable
19178 declarations down to before first use.
19179
6f05bafe
JM
191802014-04-02 Joseph Myers <joseph@codesourcery.com>
19181
a84e78c8
JM
19182 [BZ #16799]
19183 [BZ #16800]
19184 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
19185 with 0 numerator.
19186 * math/s_catanf.c (__catanf): Likewise.
19187 * math/s_catanh.c (__catanh): Likewise.
19188 * math/s_catanhf.c (__catanhf): Likewise.
19189 * math/s_catanhl.c (__catanhl): Likewise.
19190 * math/s_catanl.c (__catanl): Likewise.
19191 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
19192 by positive zero when computing -Inf result.
19193 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
19194 (catanh_test): Likewise.
19195 * sysdeps/i386/fpu/libm-test-ulps: Update.
19196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19197
6f05bafe
JM
19198 [BZ #16789]
19199 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
19200 instead of using underflowing value in computing result.
19201 * math/s_clog10.c (__clog10): Likewise.
19202 * math/s_clog10f.c (__clog10f): Likewise.
19203 * math/s_clog10l.c (__clog10l): Likewise.
19204 * math/s_clogf.c (__clogf): Likewise.
19205 * math/s_clogl.c (__clogl): Likewise.
19206 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
19207 (clog10_test): Likewise.
19208 * sysdeps/i386/fpu/libm-test-ulps: Update.
19209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19210
b0abbc21
AM
192112014-04-02 Alan Modra <amodra@gmail.com>
19212
19213 [BZ #16739]
19214 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
19215 output when value is near a power of two. Use int64_t for lx and
19216 remove casts. Use decimal rather than hex exponent constants.
19217 Don't use long double multiplication when double will suffice.
19218 * math/libm-test.inc (nextafter_test_data): Add tests.
19219 * NEWS: Add 16739 and 16786 to bug list.
19220
af6b1797
AM
19221 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
19222
483818d7
AM
19223 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
19224
f6c55796
WN
192252014-04-01 Will Newton <will.newton@linaro.org>
19226
19227 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
19228 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
19229
13f7fe35
FW
192302014-04-01 Florian Weimer <fweimer@redhat.com>
19231
19232 [BZ #13347]
19233 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
19234 * nptl/tst-setuid2.c: New file.
19235 * nptl/Makefile (xtests): Add tst-setuid2.
19236
c859b32e
AM
192372014-04-01 Alan Modra <amodra@gmail.com>
19238
19239 [BZ #16786]
19240 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
19241
54fa2475
JM
192422014-03-31 Joseph Myers <joseph@codesourcery.com>
19243
8795b4a4
JM
19244 [BZ #6803]
19245 [BZ #6804]
19246 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
19247 set errno as appropriate.
19248 * math/w_scalbf.c (__scalbf): Likewise.
19249 * math/w_scalbl.c (__scalbl): Likewise.
19250 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
19251 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
19252 * math/libm-test.inc (scalb_test_data): Add errno expectations.
19253 Add more NaN tests.
19254
54fa2475
JM
19255 [BZ #16349]
19256 * math/w_atan2.c: Include <errno.h>.
19257 (__atan2): Set errno for result underflowing to zero.
19258 * math/w_atan2f.c: Include <errno.h>.
19259 (__atan2f): Set errno for result underflowing to zero.
19260 * math/w_atan2l.c: Include <errno.h>.
19261 (__atan2l): Set errno for result underflowing to zero.
19262 * math/auto-libm-test-in: Don't allow missing errno for some atan2
19263 tests.
19264 * math/auto-libm-test-out: Regenerated.
19265
757d9dd5
AZ
192662014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19267
19268 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
19269 Encode instruction correctly in little endian.
19270 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
19271 Likewise.
19272 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
19273 Likewise.
19274 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
19275 Likewise.
19276 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
19277 Likewise.
19278
d7a68734
JM
192792014-03-31 Joseph Myers <joseph@codesourcery.com>
19280
47c5adeb
JM
19281 [BZ #9894]
19282 * sysdeps/unix/sysv/linux/kernel-features.h
19283 [__sparc__ && !__arch64__ && !__sparc_v9__]
19284 (__ASSUME_SET_ROBUST_LIST): Do not define.
19285 [__sparc__ && !__arch64__ && !__sparc_v9__]
19286 (__ASSUME_FUTEX_LOCK_PI): Likewise.
19287 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
19288 Likewise.
19289 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19290 (__ASSUME_FUTEX_LOCK_PI): Undefine.
19291 (__ASSUME_REQUEUE_PI): Likewise.
19292 (__ASSUME_SET_ROBUST_LIST): Likewise.
19293 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19294 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
19295 Undefine.
19296 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19297 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
19298 Likewise.
19299 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
19300 Likewise.
19301 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
19302 Likewise.
19303 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19304 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
19305 Undefine.
19306 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
19307 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
19308 Likewise.
19309
d7a68734
JM
19310 [BZ #16648]
19311 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19312 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
19313 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
19314
c760f5c2
WN
193152014-03-31 Will Newton <will.newton@linaro.org>
19316
19317 * benchtests/Makefile (bench): Add ffs and ffsll to list
19318 of tests.
19319 * benchtests/ffs-inputs: New file.
19320 * benchtests/ffsll-inputs: Likewise.
19321
ea6029b1
JM
193222014-03-29 Joseph Myers <joseph@codesourcery.com>
19323
19324 [BZ #16770]
19325 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
19326 too large before casting to int.
19327 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
19328 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
19329 * math/libm-test.inc (scalb_test_data): Add more tests.
19330
cf806aff
SP
193312014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19332
56737508
SP
19333 * benchtests/Makefile (DETAILED_OPT): New make option.
19334 (bench-func): Run benchmark program with -d if DETAILED_OPT is
19335 set.
19336 * benchtests/bench-skeleton.c: Include stdbool.h.
19337 (main): Store and print timings per input.
19338 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
19339 member to each argument value.
19340 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
19341 (_print_arg_data): Initialize per-input timing to 0.
19342
cb5e4aad
SP
19343 * benchtests/Makefile (timing-type): New binary.
19344 (bench-clean): Also remove bench-timing-type.
19345 (bench): New target for timing-type.
19346 (bench-func): Print output in JSON format.
19347 * benchtests/bench-skeleton.c (main): Print output in JSON
19348 format.
19349 * benchtests/bench-timing-type.c: New file.
19350 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
19351 (TIMING_PRINT_STATS): Remove.
19352 * benchtests/scripts/bench.py (_print_arg_data): Store variant
19353 name separately.
19354
cf806aff
SP
19355 * benchtests/bench-modf.c: Remove.
19356 * benchtests/modf-inputs: New inputs file.
19357
289e0779
JM
193582014-03-28 Joseph Myers <joseph@codesourcery.com>
19359
19360 [BZ #16362]
19361 * math/s_clog10.c (M_PI_LOG10E): New macro.
19362 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
19363 imaginary parts are 0.
19364 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
19365 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
19366 imaginary parts are 0.
19367 * math/s_clog10l.c (M_PI_LOG10El): New macro.
19368 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
19369 imaginary parts are 0.
19370 * math/libm-test.inc (clog10_test_data): Update expected results
19371 for when real and imaginary parts are 0.
19372
277ae3f1
PP
193732014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
19374
19375 * elf/dl-load.c: Finish conversion of __builtin_expect into
19376 __glibc_{un}likely.
19377
03a7091f
JM
193782014-03-27 Joseph Myers <joseph@codesourcery.com>
19379
19380 [BZ #16348]
19381 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
19382 1+x for argument with exponent below -67.
19383 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
19384 Likewise.
19385 * math/auto-libm-test-in: Add more tests of exp.
19386 * math/auto-libm-test-out: Regenerated.
19387
ea7d8b95
SP
193882014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19389
dd3022d7
SP
19390 [BZ #16759]
19391 * inet/getnetgrent_r.c (get_nonempty_val): New function.
19392 (nscd_getnetgrent): Use it.
19393
ea7d8b95
SP
19394 [BZ #16760]
19395 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
19396 of stpcpy.
19397
df5b85da
AK
193982014-03-27 Andi Kleen <ak@linux.intel.com>
19399
57f41c40
AS
19400 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
19401 (lll_robust_lock, lll_cond_lock, lll_timedlock)
19402 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19403 (lll_robust_unlock): Remove out of line section. Use cfi
19404 intrinsics.
df5b85da 19405 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
19406 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
19407 (lll_robust_lock, lll_cond_lock, lll_timedlock)
19408 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19409 (lll_robust_unlock): Remove out of line section. Use cfi
19410 intrinsics.
df5b85da
AK
19411 (LLL_STUB_UNWIND_INFO*): Remove.
19412
fbd6b5a4
SP
194132014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19414
19415 [BZ #16758]
19416 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
19417 blank values.
19418
1b26b855
PP
194192014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
19420
19421 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
19422
9be36fb8
JM
194232014-03-26 Joseph Myers <joseph@codesourcery.com>
19424
19425 [BZ #16198]
19426 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
19427 fnstenv.
19428 * math/test-fenv-preserve.c: New file.
19429 * math/Makefile (tests): Add test-fenv-preserve.
19430
60a2f3c1
WN
194312014-03-26 Will Newton <will.newton@linaro.org>
19432
19433 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
19434
a5e5f1e2
RM
194352014-03-25 Roland McGrath <roland@hack.frob.com>
19436
19437 * scripts/versionlist.awk: Partition the version sets and emit all
19438 GLIBC_* (sorted) before all others (sorted).
19439
00f4012a
JM
194402014-03-25 Joseph Myers <joseph@codesourcery.com>
19441
19442 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
19443 GLIBC_2.2.5 version.
19444
7bc5a741
AZ
194452014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19446
19447 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
19448 calls.
19449
7578473b
AZ
19450 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
19451 previous change.
19452
f3f1dab3
AZ
19453 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19454
6da36183
AS
194552014-03-25 Andreas Schwab <schwab@suse.de>
19456
19457 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
19458 label to be used after in6ailist is initialized.
19459
f3f1dab3 194602014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 19461
7578473b 19462 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
19463 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19464
046651c1
JM
194652014-03-25 Joseph Myers <joseph@codesourcery.com>
19466
19467 [BZ #16357]
19468 [BZ #16599]
19469 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
19470 min_plus_half.
19471 (fp_formats): Update initializers.
19472 (init_fp_formats): Initialize new field.
19473 (output_for_one_input_case): Allow underflow for results up to
19474 min_plus_half.
19475 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
19476 * math/auto-libm-test-in: Don't mark some underflows from asin and
19477 atanh as spurious.
19478 * math/auto-libm-test-out: Regenerated.
19479 * sysdeps/i386/fpu/libm-test-ulps: Update.
19480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19481
003e49ed
AS
194822014-03-25 Andreas Schwab <schwab@suse.de>
19483
19484 * libio/Makefile (tst-ftell-partial-wide-ENV)
19485 (tst-ftell-active-handler-ENV): Define.
19486
de031874
SL
194872014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
19488
19489 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
19490
55a81e3b
PP
194912014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
19492
19493 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
19494
f3426898
JM
194952014-03-24 Joseph Myers <joseph@codesourcery.com>
19496
19497 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
19498 * sysdeps/x86_64/fpu/multiarch/e_exp.c
19499 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19500
a42faf59
PP
195012014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
19502
19503 [BZ #16634]
a42faf59 19504 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
19505 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
19506 (open_path): Change from boolean 'secure' to complete flag 'mode'
19507 (_dl_map_object): Adjust.
a42faf59
PP
19508 * elf/Makefile (tests): Add tst-dlopen-aout.
19509 * elf/tst-dlopen-aout.c: New test.
19510
50936127
SL
195112014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
19512
19513 [BZ #16714]
19514 * sysdeps/unix/sysv/linux/s390/bits/stat.h
19515 (struct stat): Rename member pad0 to __glibc_reserved0.
19516
26011b5c
SL
19517 [BZ #16712]
19518 * sysdeps/s390/s390-32/bits/wordsize.h
19519 (__WORDSIZE32_SIZE_ULONG): New define.
19520 * sysdeps/s390/s390-64/bits/wordsize.h
19521 (__WORDSIZE32_SIZE_ULONG): Likewise.
19522 * sysdeps/generic/stdint.h (SIZE_MAX):
19523 Define as UL if __WORDSIZE32_SIZE_ULONG.
19524
a2d86bf1
SL
19525 [BZ #16713]
19526 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
19527 (__glibc_reserved0): New variable.
19528 (sa_flags): Change type to int.
19529
78b6eebc
SL
19530 * posix/Makefile (before-compile): Use += before-compile instead
19531 of a :=.
19532
f1399b5a
SL
19533 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19534 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19535
a071766e
AS
195362014-03-20 Andreas Schwab <schwab@suse.de>
19537
19538 [BZ #16743]
19539 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
19540 non-matching result from nscd.
19541
27c673b8
SP
195422014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19543
19544 * scripts/bench.py: Moved to ...
19545 * benchtests/scripts/bench.py: ... here.
19546 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
19547
44152e4b
AS
195482014-03-24 Andreas Schwab <schwab@suse.de>
19549
19550 [BZ #16002]
19551 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
19552 alloca_account and account alloca use for struct in6ailist.
19553
b376a11a
JM
195542014-03-24 Joseph Myers <joseph@codesourcery.com>
19555
19556 [BZ #16284]
19557 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
19558 rounding mode to recompute results that overflow to infinity or
19559 underflow to zero.
19560 * math/auto-libm-test-in: Don't mark tests as expected to fail for
19561 bug 16284.
19562 * math/auto-libm-test-out: Regenerated.
19563 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
19564 (ccosh_test): Likewise.
19565 (csin_test_data): Use plus_oflow.
19566 (csin_test): Use ALL_RM_TEST.
19567 (csinh_test_data): Use plus_oflow.
19568 (csinh_test): Use ALL_RM_TEST.
19569 * sysdeps/i386/fpu/libm-test-ulps: Update.
19570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19571
f7be7376
JM
195722014-03-21 Joseph Myers <joseph@codesourcery.com>
19573
1ca2d03e
JM
19574 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
19575 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
19576 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
19577
f7be7376
JM
19578 [BZ #16731]
19579 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
19580 when x - 1 is zero.
19581 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
19582 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
19583 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19584 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
19585 argument is 1.
19586 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
19587 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
19588 zero.
19589 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
19590 * sysdeps/i386/fpu/libm-test-ulps: Update.
19591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19592
fdf4534d
SP
195932014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19594
df26ea53
SP
19595 * scripts/bench.pl: Remove file.
19596 * scripts/bench.py: New benchmark script.
19597 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
19598 * benchtests/README: Mention python dependency.
19599 * scripts/pylintrc: New file.
19600 * scripts/pylint: New file.
19601
fdf4534d
SP
19602 * bits/mathdef.h: Use #ifdef instead of #if.
19603 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
19604 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19605 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
19606 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19607 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
19608 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19609
6f23d093
AZ
196102014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19611 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19612
19613 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
19614 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
19615 and strpbrk-ppc64 objects.
19616 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19617 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
19618 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
19619 multiarch strpbrk for POWER7.
19620 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
19621 multiarch strpbrk for PPC64.
19622 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
19623 ifunc selector.
19624 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
19625 strpbrk for POWER7.
19626
8c92dfff
JM
196272014-03-20 Joseph Myers <joseph@codesourcery.com>
19628
19629 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
19630 (atan_test): Likewise.
19631 (atanh_test_data): Use NO_TEST_INLINE for two tests.
19632 (atanh_test): Use ALL_RM_TEST.
19633 (atan2_test_data): Likewise.
19634 (cabs_test): Likewise.
19635 (cacosh_test): Likewise.
19636 (carg_test): Likewise.
19637 (casin_test): Likewise.
19638 (casinh_test): Likewise.
19639 (cbrt_test): Likewise.
19640 (csqrt_test): Likewise.
19641 (erf_test): Likewise.
19642 (erfc_test): Likewise.
19643 (pow10_test): Likewise.
19644 (exp2_test): Likewise.
19645 (hypot_test): Likewise.
19646 (j0_test): Likewise.
19647 (j1_test): Likewise.
19648 (lgamma_test): Likewise.
19649 (gamma_test): Likewise.
19650 (sincos_test): Likewise.
19651 (tanh_test): Likewise.
19652 (y0_test): Likewise.
19653 (y1_test): Likewise.
19654 * sysdeps/i386/fpu/libm-test-ulps: Update.
19655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19656
6eaf95cb
AZ
196572014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19658
a387428c
SP
19659 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
19660 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
19661 and strcspn-ppc64 objects.
19662 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19663 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
19664 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
19665 multiarch strcspn for POWER7.
19666 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
19667 multiarch strcspn for PPC64.
19668 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
19669 ifunc selector.
19670 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
19671 strcspn for POWER7.
19672
ae3a5dff
JM
196732014-03-20 Joseph Myers <joseph@codesourcery.com>
19674
19675 * math/gen-libm-test.pl (generate_testfile): Expect only function
19676 name as argument to AUTO_TESTS_* and pass results for all rounding
19677 modes to parse_args.
19678 (parse_auto_input): Separate inputs of automatic tests from
19679 outputs before storing in %auto_tests.
19680 * math/libm-test.inc (acos_test_data): Update call to
19681 AUTO_TESTS_f_f.
19682 (acos_test): Use ALL_RM_TEST.
19683 (acos_tonearest_test_data): Remove.
19684 (acos_test_tonearest): Likewise.
19685 (acos_towardzero_test_data): Likewise.
19686 (acos_test_towardzero): Likewise.
19687 (acos_downward_test_data): Likewise.
19688 (acos_test_downward): Likewise.
19689 (acos_upward_test_data): Likewise.
19690 (acos_test_upward): Likewise.
19691 (acosh_test_data): Update call to AUTO_TESTS_f_f.
19692 (asin_test_data): Likewise.
19693 (asin_test): Use ALL_RM_TEST.
19694 (asin_tonearest_test_data): Remove.
19695 (asin_test_tonearest): Likewise.
19696 (asin_towardzero_test_data): Likewise.
19697 (asin_test_towardzero): Likewise.
19698 (asin_downward_test_data): Likewise.
19699 (asin_test_downward): Likewise.
19700 (asin_upward_test_data): Likewise.
19701 (asin_test_upward): Likewise.
19702 (asinh_test_data): Update call to AUTO_TESTS_f_f.
19703 (atan_test_data): Likewise.
19704 (atanh_test_data): Likewise.
19705 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
19706 (cabs_test_data): Update call to AUTO_TESTS_c_f.
19707 (carg_test_data): Likewise.
19708 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
19709 (ccos_test_data): Update call to AUTO_TESTS_c_c.
19710 (ccosh_test_data): Likewise.
19711 (cexp_test_data): Likewise.
19712 (clog_test_data): Likewise.
19713 (clog10_test_data): Likewise.
19714 (cos_test_data): Update call to AUTO_TESTS_f_f.
19715 (cos_test): Use ALL_RM_TEST.
19716 (cos_tonearest_test_data): Remove.
19717 (cos_test_tonearest): Likewise.
19718 (cos_towardzero_test_data): Likewise.
19719 (cos_test_towardzero): Likewise.
19720 (cos_downward_test_data): Likewise.
19721 (cos_test_downward): Likewise.
19722 (cos_upward_test_data): Likewise.
19723 (cos_test_upward): Likewise.
19724 (cosh_test_data): Update call to AUTO_TESTS_f_f.
19725 (cosh_test): Use ALL_RM_TEST.
19726 (cosh_tonearest_test_data): Remove.
19727 (cosh_test_tonearest): Likewise.
19728 (cosh_towardzero_test_data): Likewise.
19729 (cosh_test_towardzero): Likewise.
19730 (cosh_downward_test_data): Likewise.
19731 (cosh_test_downward): Likewise.
19732 (cosh_upward_test_data): Likewise.
19733 (cosh_test_upward): Likewise.
19734 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
19735 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
19736 (ctan_test_data): Likewise.
19737 (ctan_test): Use ALL_RM_TEST.
19738 (ctan_tonearest_test_data): Remove.
19739 (ctan_test_tonearest): Likewise.
19740 (ctan_towardzero_test_data): Likewise.
19741 (ctan_test_towardzero): Likewise.
19742 (ctan_downward_test_data): Likewise.
19743 (ctan_test_downward): Likewise.
19744 (ctan_upward_test_data): Likewise.
19745 (ctan_test_upward): Likewise.
19746 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
19747 (ctanh_test): Use ALL_RM_TEST.
19748 (ctanh_tonearest_test_data): Remove.
19749 (ctanh_test_tonearest): Likewise.
19750 (ctanh_towardzero_test_data): Likewise.
19751 (ctanh_test_towardzero): Likewise.
19752 (ctanh_downward_test_data): Likewise.
19753 (ctanh_test_downward): Likewise.
19754 (ctanh_upward_test_data): Likewise.
19755 (ctanh_test_upward): Likewise.
19756 (erf_test_data): Update call to AUTO_TESTS_f_f.
19757 (erfc_test_data): Likewise.
19758 (exp_test_data): Likewise.
19759 (exp_test): Use ALL_RM_TEST.
19760 (exp_tonearest_test_data): Remove.
19761 (exp_test_tonearest): Likewise.
19762 (exp_towardzero_test_data): Likewise.
19763 (exp_test_towardzero): Likewise.
19764 (exp_downward_test_data): Likewise.
19765 (exp_test_downward): Likewise.
19766 (exp_upward_test_data): Likewise.
19767 (exp_test_upward): Likewise.
19768 (exp10_test_data): Update call to AUTO_TESTS_f_f.
19769 (exp10_test): Use ALL_RM_TEST.
19770 (exp10_tonearest_test_data): Remove.
19771 (exp10_test_tonearest): Likewise.
19772 (exp10_towardzero_test_data): Likewise.
19773 (exp10_test_towardzero): Likewise.
19774 (exp10_downward_test_data): Likewise.
19775 (exp10_test_downward): Likewise.
19776 (exp10_upward_test_data): Likewise.
19777 (exp10_test_upward): Likewise.
19778 (exp2_test_data): Update call to AUTO_TESTS_f_f.
19779 (expm1_test_data): Likewise.
19780 (expm1_test): Use ALL_RM_TEST.
19781 (expm1_tonearest_test_data): Remove.
19782 (expm1_test_tonearest): Likewise.
19783 (expm1_towardzero_test_data): Likewise.
19784 (expm1_test_towardzero): Likewise.
19785 (expm1_downward_test_data): Likewise.
19786 (expm1_test_downward): Likewise.
19787 (expm1_upward_test_data): Likewise.
19788 (expm1_test_upward): Likewise.
19789 (fma_test_data): Update call to AUTO_TESTS_fff_f.
19790 (fma_test): Use ALL_RM_TEST.
19791 (fma_towardzero_test_data): Remove.
19792 (fma_test_towardzero): Likewise.
19793 (fma_downward_test_data): Likewise.
19794 (fma_test_downward): Likewise.
19795 (fma_upward_test_data): Likewise.
19796 (fma_test_upward): Likewise.
19797 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
19798 (j0_test_data): Update call to AUTO_TESTS_f_f.
19799 (j1_test_data): Likewise.
19800 (jn_test_data): Update call to AUTO_TESTS_if_f.
19801 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
19802 (log_test_data): Update call to AUTO_TESTS_f_f.
19803 (log10_test_data): Likewise.
19804 (log1p_test_data): Likewise.
19805 (log2_test_data): Likewise.
19806 (pow_test_data): Update call to AUTO_TESTS_ff_f.
19807 (pow_tonearest_test_data): Likewise.
19808 (sin_test_data): Update call to AUTO_TESTS_f_f.
19809 (sin_test): Use ALL_RM_TEST.
19810 (sin_tonearest_test_data): Remove.
19811 (sin_test_tonearest): Likewise.
19812 (sin_towardzero_test_data): Likewise.
19813 (sin_test_towardzero): Likewise.
19814 (sin_downward_test_data): Likewise.
19815 (sin_test_downward): Likewise.
19816 (sin_upward_test_data): Likewise.
19817 (sin_test_upward): Likewise.
19818 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
19819 (sinh_test_data): Update call to AUTO_TESTS_f_f.
19820 (sinh_test): Use ALL_RM_TEST.
19821 (sinh_tonearest_test_data): Remove.
19822 (sinh_test_tonearest): Likewise.
19823 (sinh_towardzero_test_data): Likewise.
19824 (sinh_test_towardzero): Likewise.
19825 (sinh_downward_test_data): Likewise.
19826 (sinh_test_downward): Likewise.
19827 (sinh_upward_test_data): Likewise.
19828 (sinh_test_upward): Likewise.
19829 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
19830 (sqrt_test): Use ALL_RM_TEST.
19831 (sqrt_tonearest_test_data): Remove.
19832 (sqrt_test_tonearest): Likewise.
19833 (sqrt_towardzero_test_data): Likewise.
19834 (sqrt_test_towardzero): Likewise.
19835 (sqrt_downward_test_data): Likewise.
19836 (sqrt_test_downward): Likewise.
19837 (sqrt_upward_test_data): Likewise.
19838 (sqrt_test_upward): Likewise.
19839 (tan_test_data): Update call to AUTO_TESTS_f_f.
19840 (tan_test): Use ALL_RM_TEST.
19841 (tan_tonearest_test_data): Remove.
19842 (tan_test_tonearest): Likewise.
19843 (tan_towardzero_test_data): Likewise.
19844 (tan_test_towardzero): Likewise.
19845 (tan_downward_test_data): Likewise.
19846 (tan_test_downward): Likewise.
19847 (tan_upward_test_data): Likewise.
19848 (tan_test_upward): Likewise.
19849 (tanh_test_data): Update call to AUTO_TESTS_f_f.
19850 (tgamma_test_data): Likewise.
19851 (y0_test_data): Likewise.
19852 (y1_test_data): Likewise.
19853 (yn_test_data): Update call to AUTO_TESTS_if_f.
19854 (main): Do not call removed functions.
19855
d71aeee8
JM
198562014-03-19 Joseph Myers <joseph@codesourcery.com>
19857
19858 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
19859 (ldexp_test_data): Remove.
19860 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
19861 scalbn_test_data.
19862 (scalb_test): Use ALL_RM_TEST.
19863
baaf1ded
AS
198642014-03-19 Andreas Schwab <schwab@suse.de>
19865
19866 * nscd/nscd.service: Also invalidate netgroup cache on reload.
19867
b1115e91
JM
198682014-03-19 Joseph Myers <joseph@codesourcery.com>
19869
19870 [BZ #16649]
19871 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19872 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
19873 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
19874 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19875 (__ASSUME_PREADV): Undefine.
19876 (__ASSUME_PWRITEV): Likewise.
19877
0283ecca
RM
198782014-03-18 Roland McGrath <roland@hack.frob.com>
19879
7d375303
RM
19880 * bits/mman-linux.h: Add comment about non-Linux use.
19881 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
19882 bits/mman-linux.h resting place.
19883
0283ecca
RM
19884 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
19885 * bits/mman-linux.h: ... here.
19886
aebe1003
AZ
198872014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19888
19889 * conform/conformtest.pl: Add standard definition when calling C
19890 preprocessor on data files.
19891 (checknamespace): Remove unused variable.
19892
b29b6bb8
JM
198932014-03-18 Joseph Myers <joseph@codesourcery.com>
19894
19895 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
19896 minus_oflow, plus_uflow and minus_uflow in expected results.
19897 * math/libm-test.inc (scalbn_test_data): Add more tests of
19898 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
19899 minus_uflow.
19900 (scalbn_test): Use ALL_RM_TEST.
19901 (scalbln_test_data): Add more tests of negative arguments. Use
19902 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
19903 (scalbln_test): Use ALL_RM_TEST.
19904
c8f8fa15
RM
199052014-03-18 Roland McGrath <roland@hack.frob.com>
19906
19907 * scripts/abilist.awk: Ignore symbols marked with .hidden.
19908
fede7a5f
WN
199092014-03-18 Will Newton <will.newton@linaro.org>
19910
19911 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
19912 inaccurate comment.
19913
80cf0a58
JM
199142014-03-18 Joseph Myers <joseph@codesourcery.com>
19915
19916 * Makerules [!subdir] (check-abi): Exit with error status if a
19917 test failed.
19918
b3620862
JM
199192014-03-17 Joseph Myers <joseph@codesourcery.com>
19920
19921 * math/libm-test.inc (nearbyint_test_data): Include all tests used
19922 for rint. Include results for all rounding modes.
19923 (nearbyint_test): Use ALL_RM_TEST.
19924 (rint_test_data): Include all tests used for nearbyint.
19925
788bba36
WN
199262014-03-17 Will Newton <will.newton@linaro.org>
19927
04ec140a
WN
19928 * nptl/sysdeps/pthread/pthread.h: Revert previous
19929 change.
19930
7579d8d5
WN
19931 * sysdeps/generic/ldsodefs.h: Revert previous
19932 change.
19933
c15cf13a
WN
19934 * libio/genops.c: Revert previous change.
19935 * libio/libioP.h: Likewise.
19936 * stdio-common/vfprintf.c: Likewise.
19937
d0ac1324
WN
19938 * sysdeps/generic/math_private.h: Revert previous
19939 change.
19940
9290130a
WN
19941 * sysdeps/generic/math_private.h: Check whether
19942 HAVE_RM_CTX is defined with #ifdef rather
19943 than #if.
19944
afb466fc
WN
19945 * argp/argp-fmtstream.h: Check whether
19946 __STRICT_ANSI__ is defined with #ifdef rather
19947 than #if.
19948 * argp/argp.h: Likewise.
19949
f7efd7c3
WN
19950 * libio/genops.c: Check whether
19951 _IO_JUMPS_OFFSET is defined with #ifdef rather
19952 than #if.
19953 * libio/libioP.h: Likewise.
19954 * stdio-common/vfprintf.c: Likewise.
19955
53f1bed3
WN
19956 * sysdeps/generic/ldsodefs.h: Check whether
19957 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
19958 than #if.
19959
788bba36
WN
19960 * nptl/sysdeps/pthread/pthread.h: Check
19961 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
19962 its value.
19963
fcd89ebe
SP
199642014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19965
ae42bbc5
SP
19966 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
19967 setting O_APPEND.
19968 * libio/tst-ftell-active-handler.c (do_append_test): Add a
19969 test case.
19970
ea33158c
SP
19971 [BZ #16680]
19972 * libio/fileops.c (_IO_file_open): Seek to end of file but
19973 don't cache the offset.
19974 (get_file_offset): Remove function.
19975 (do_ftell): Use cached offset when available.
19976 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
19977 don't cache the offset.
19978 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
19979 case.
19980 (do_one_test): Call it.
19981 (do_ftell_test): Fix up expected old offset for a+ mode.
19982 * libio/wfileops.c (do_ftell_wide): Used cached offset when
19983 available.
19984
b1dbb426
SP
19985 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
19986 up test status with function return status.
19987 (do_write_test): Likewise.
19988 (do_append_test): Likewise.
19989
fcd89ebe
SP
19990 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
19991 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
19992 Remove.
19993
9962a2d3
JM
199942014-03-17 Joseph Myers <joseph@codesourcery.com>
19995
19996 * math/gen-libm-test.pl (parse_args): Handle results specified for
19997 each rounding mode separately.
19998 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
19999 tests and results from lrint_tonearest_test_data,
20000 lrint_towardzero_test_data, lrint_downward_test_data and
20001 lrint_upward_test_data.
20002 (lrint_test): Use ALL_RM_TEST.
20003 (lrint_tonearest_test_data): Remove.
20004 (lrint_test_tonearest): Likewise.
20005 (lrint_towardzero_test_data): Likewise.
20006 (lrint_test_towardzero): Likewise.
20007 (lrint_downward_test_data): Likewise.
20008 (lrint_test_downward): Likewise.
20009 (lrint_upward_test_data): Likewise.
20010 (lrint_test_upward): Likewise.
20011 (llrint_test_data): Merge in per-rounding-mode tests and results
20012 from llrint_tonearest_test_data, llrint_towardzero_test_data,
20013 llrint_downward_test_data and llrint_upward_test_data.
20014 (llrint_test): Use ALL_RM_TEST.
20015 (llrint_tonearest_test_data): Remove.
20016 (llrint_test_tonearest): Likewise.
20017 (llrint_towardzero_test_data): Likewise.
20018 (llrint_test_towardzero): Likewise.
20019 (llrint_downward_test_data): Likewise.
20020 (llrint_test_downward): Likewise.
20021 (llrint_upward_test_data): Likewise.
20022 (llrint_test_upward): Likewise.
20023 (rint_test_data): Merge in per-rounding-mode tests and results
20024 from rint_tonearest_test_data, rint_towardzero_test_data,
20025 rint_downward_test_data and rint_upward_test_data. Add
20026 per-rounding-mode results for tests not in those arrays.
20027 (rint_test): Use ALL_RM_TEST.
20028 (rint_tonearest_test_data): Remove.
20029 (rint_test_tonearest): Likewise.
20030 (rint_towardzero_test_data): Likewise.
20031 (rint_test_towardzero): Likewise.
20032 (rint_downward_test_data): Likewise.
20033 (rint_test_downward): Likewise.
20034 (rint_upward_test_data): Likewise.
20035 (rint_test_upward): Likewise.
20036 (main): Don't call removed functions.
20037
5006148e
RM
200382014-03-14 Roland McGrath <roland@hack.frob.com>
20039
20040 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
20041 "Compiled on ..." crapola. It is anti-useful.
20042
d6fe5e58
JM
200432014-03-14 Joseph Myers <joseph@codesourcery.com>
20044
20045 * scripts/evaluate-test.sh: Handle fourth argument to determine
20046 whether test run should stop on failure.
20047 * Makeconfig (stop-on-test-failure): New variable.
20048 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
20049 $(stop-on-test-failure).
20050 * Makefile (tests): Give a summary of results from testing and
20051 exit with failure status if they include an ERROR or FAIL.
20052 (xtests): Likewise.
20053 * manual/install.texi (Configuring and compiling): Mention
20054 stop-on-test-failure=y.
20055 * INSTALL: Regenerated.
20056
498a2233
RM
200572014-03-14 Roland McGrath <roland@hack.frob.com>
20058
22dbc19d
RM
20059 * scripts/versionlist.awk: New file.
20060 * Makerules [$(build-shared) = yes]
20061 (postclean-generated): Add Versions.def, not Versions.def.v and
20062 Versions.def.v.i.
20063 ($(common-objpfx)Versions.def.v.i): Target removed.
20064 ($(common-objpfx)Versions.def): New target.
20065 ($(common-objpfx)Versions.all): Depend on that rather that
20066 $(common-objpfx)Versions.def.v.
20067 * Versions.def: File removed.
20068
498a2233
RM
20069 * Makeconfig (+gccwarn): Add -Wundef.
20070 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
20071 a dl-sysdep.h breaking its contract.
20072 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
20073 * include/stackinfo.h: New file.
20074 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
20075 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
20076 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
20077 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
20078 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
20079 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
20080 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20081 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20082 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20083 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20084 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20085 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
20086 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20087 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20088 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20089
c7de5025
AZ
200902014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20091
20092 [BZ #16707]
20093 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
20094 implementation.
20095 * math/libm-test.inc (round_test_data): Add more tests.
20096
98fb27a3
AZ
20097 [BZ #16706]
20098 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
20099 implementation.
20100 * math/libm-test.inc (nearbyint_test_data): Add more tests.
20101
374f7f61
AZ
20102 [BZ #16701]
20103 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
20104 implementation.
20105 * math/libm-test.inc (ceil_test_data): Add more tests.
20106
4655c291
AZ
20107 * math/libm-test.inc (trunc_test_data): Add more tests related to
20108 BZ#16414.
20109
d7329d4b
RM
201102014-03-14 Roland McGrath <roland@hack.frob.com>
20111
20112 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
20113 with #if rather than #ifdef.
20114 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
20115
aa4de9ce
L
201162014-03-14 H.J. Lu <hongjiu.lu@intel.com>
20117
20118 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
20119 first. Disable AVX-512 GCC support if assembler doesn't support
20120 it.
20121 * sysdeps/x86_64/configure: Regenerated.
20122
2e03fae7
CD
201232014-03-13 Carlos O'Donell <carlos@redhat.com>
20124
20125 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
20126 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
20127 (__old_pthread_attr_setstack): Likewise.
20128 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
20129 [!_STACK_GROWS_DOWN]: Likewise.
20130
43ca83ec
MF
201312014-03-13 Mike Frysinger <vapier@gentoo.org>
20132
20133 * config.make.in (have-bash2): Delete.
20134 * configure.ac (libc_cv_have_bash2): Delete.
20135 * configure: Regenerate.
20136 * elf/Makefile (common-ldd-rewrite): Rename to ...
20137 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
20138 (sh-ldd-rewrite): Delete.
20139 (bash-ldd-rewrite): Delete.
20140 (have-bash2): Delete checks.
57f41c40
AS
20141 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
20142 ldd-rewrite.
c66e48b4
MF
20143
20144 * config.make.in (have-ksh): Delete.
20145 (KSH): Delete.
20146 * configure.ac (libc_cv_have_ksh): Delete.
20147 * configure: Regenerate.
20148
b93834ef
MF
20149 * elf/Makefile: Delete $(have-ksh) check.
20150 ($(objpfx)sotruss): Change KSH to BASH.
20151 * elf/sotruss.ksh: Rename to ...
20152 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
20153 function style to match POSIX. Drop ksh vim mode setting.
20154
f3a4632a
MF
20155 * manual/time.texi (Specifying the Time Zone with TZ): Change
20156 Tuesday to Thursday.
20157
5896c8bd
MF
20158 * debug/tst-longjmp_chk2.c: Update header comment.
20159 (stackoverflow_handler): Add comment. Call assert on pass value.
20160
2d63a517
IZ
201612014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
20162
7e54fd04 20163 [BZ #16194]
2d63a517
IZ
20164 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
20165 (HAVE_AVX512_ASM_SUPPORT): Likewise.
20166 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
20167 (La_x86_64_vector): Add zmm.
20168 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
20169 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
20170 ($(objpfx)tst-audit10): New target.
20171 ($(objpfx)tst-audit10.out): Likewise.
20172 (tst-audit10-ENV): New.
20173 (AVX512-CFLAGS): Likewise.
20174 (CFLAGS-tst-audit10.c): Likewise.
20175 (CFLAGS-tst-auditmod10a.c): Likewise.
20176 (CFLAGS-tst-auditmod10b.c): Likewise.
20177 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
20178 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
20179 * sysdeps/x86_64/configure: Regenerated.
20180 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
20181 AVX-512 zmm register support.
20182 (_dl_x86_64_save_sse): Likewise.
20183 (_dl_x86_64_restore_sse): Likewise.
20184 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
20185 size vector registers.
20186 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
20187 (ZMM_SIZE): Likewise.
20188 * sysdeps/x86_64/tst-audit10.c: New file.
20189 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
20190 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
20191
44c4e5d5
RM
201922014-03-13 Roland McGrath <roland@hack.frob.com>
20193
20194 * configure.ac (HAVE_EHDR_START): New check.
20195 * configure: Regenerated.
20196 * config.h.in (HAVE_EHDR_START): New #undef.
20197 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
20198 assuming the lowest-addressed segment maps the start of the file.
20199
acd6e389
JM
202002014-03-13 Joseph Myers <joseph@codesourcery.com>
20201
20202 * INSTALL: Regenerated.
20203
6f918f36
WN
202042014-03-13 Will Newton <will.newton@linaro.org>
20205
20206 * manual/setjmp.texi (System V contexts): Improve
20207 clarity and grammar of documentation.
20208
798212a0
PP
202092014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
20210
20211 [BZ #16381]
798212a0 20212 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 20213 (tests-pie): Add tst-pie2.
798212a0
PP
20214 * elf/tst-pie2.c: New file.
20215 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
20216 for ET_EXEC.
20217 * elf/rtld.c (map_doit): Load executable as lt_executable.
20218 (dl_main): Likewise.
20219
abe6d90c
JM
202202014-03-12 Joseph Myers <joseph@codesourcery.com>
20221
20222 [BZ #16642]
20223 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20224 (__ASSUME_PSELECT): Undefine.
20225
dd3946c6
AZ
202262014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20227
20228 [BZ #16689]
20229 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
20230 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
20231 static build.
20232 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
20233 selector for static builds.
20234
c44496df
SP
202352014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20236
20237 [BZ #16695]
20238 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
20239 key in the buffer.
20240
27c7220a
AZ
202412014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20242
57f41c40
AS
20243 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
20244 IFUNC selector for static builds.
27c7220a 20245
600fa361
JM
202462014-03-11 Joseph Myers <joseph@codesourcery.com>
20247
76c96cf7
JM
20248 * sysdeps/mips/math_private.h [__mips_hard_float]
20249 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
20250 libc_feresetround_mips_ctx.
20251 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
20252 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
20253 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
20254
600fa361
JM
20255 [BZ #16677]
20256 * math/s_nextafter.c (__nextafter): Do not return value from
20257 overflowing computation.
20258 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
20259 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
20260 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
20261 Likewise.
20262 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
20263 Likewise.
20264 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
20265 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
20266
d7706c32
RM
202672014-03-11 Roland McGrath <roland@hack.frob.com>
20268
20269 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
20270 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
20271 Move sfi_sp use from the load-multiple (that no longer sets sp) to
20272 the new mov targetting sp.
20273
4facea47
AZ
202742014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20275
20276 [BZ #16683]
20277 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
20278 Define it for static builds as well.
20279 (NO_BZERO_IMPL): Likewise.
20280
e65caf1f
VR
202812014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20282
20283 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
20284 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
20285 multiarch strspn for PPC64.
20286 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
20287 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
20288 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20289 (__libc_ifunc_impl_list): Likewise.
20290 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
20291 multiarch optimizations
20292 * string/strspn.c (strspn): Using macro to redefine symbol name.
20293
ba9cc071
AZ
202942014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20295 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20296
20297 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
20298 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
20299 multiarch strncat for PPC64.
20300 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
20301 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
20302 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20303 (__libc_ifunc_impl_list): Likewise.
20304 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
20305 multiarch optimizations
20306
8b4ff974
SP
203072014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20308
20309 [BZ #16639]
20310 * nscd/nscd.service: Make service type forking.
20311
54b46a4b
AZ
203122014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20313
20314 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
20315 sign in non default rounding modes.
20316 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
20317
e9996ef7
JM
203182014-03-08 Joseph Myers <joseph@codesourcery.com>
20319
20320 * math/libm-test.inc (ALL_RM_TEST): New macro.
20321 (ceil_test): Use ALL_RM_TEST.
20322 (cimag_test): Likewise.
20323 (conj_test): Likewise.
20324 (copysign_test): Likewise.
20325 (cproj_test): Likewise.
20326 (creal_test): Likewise.
20327 (fabs_test): Likewise.
20328 (floor_test): Likewise.
20329 (fmax_test): Likewise.
20330 (fmin_test): Likewise.
20331 (fmod_test): Likewise.
20332 (fpclassify_test): Likewise.
20333 (frexp_test): Likewise.
20334 (ilogb_test): Likewise.
20335 (isfinite_test): Likewise.
20336 (finite_test): Likewise.
20337 (isgreater_test): Likewise.
20338 (isgreaterequal_test): Likewise.
20339 (isinf_test): Likewise.
20340 (isless_test): Likewise.
20341 (islessequal_test): Likewise.
20342 (islessgreater_test): Likewise.
20343 (isnan_test): Likewise.
20344 (isnormal_test): Likewise.
20345 (issignaling_test): Likewise.
20346 (isunordered_test): Likewise.
20347 (logb_test): Likewise.
20348 (logb_downward_test_data): Remove.
20349 (logb_test_downward): Likewise.
20350 (lround_test): Use ALL_RM_TEST.
20351 (llround_test): Likewise.
20352 (modf_test): Likewise.
20353 (nexttoward_test): Likewise.
20354 (remainder_test): Likewise.
20355 (drem_test): Likewise.
20356 (remainder_tonearest_test_data): Likewise.
20357 (remainder_test_tonearest): Likewise.
20358 (drem_test_tonearest): Likewise.
20359 (remainder_towardzero_test_data): Likewise.
20360 (remainder_test_towardzero): Likewise.
20361 (drem_test_towardzero): Likewise.
20362 (remainder_downward_test_data): Likewise.
20363 (remainder_test_downward): Likewise.
20364 (drem_test_downward): Likewise.
20365 (remainder_upward_test_data): Likewise.
20366 (remainder_test_upward): Likewise.
20367 (drem_test_upward): Likewise.
20368 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
20369 (round_test): Use ALL_RM_TEST.
20370 (signbit_test): Likewise.
20371 (trunc_test): Likewise.
20372 (significand_test): Likewise.
20373 (main): Don't call removed functions.
20374
bc61d27c
JM
203752014-03-07 Joseph Myers <joseph@codesourcery.com>
20376
5c780849
JM
20377 [BZ #16674]
20378 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
20379 || __USE_XOPEN2K8].
20380 (ILL_ILLOPN): Likewise.
20381 (ILL_ILLADR): Likewise.
20382 (ILL_ILLTRP): Likewise.
20383 (ILL_PRVOPC): Likewise.
20384 (ILL_PRVREG): Likewise.
20385 (ILL_COPROC): Likewise.
20386 (ILL_BADSTK): Likewise.
20387 (FPE_INTDIV): Likewise.
20388 (FPE_INTOVF): Likewise.
20389 (FPE_FLTDIV): Likewise.
20390 (FPE_FLTOVF): Likewise.
20391 (FPE_FLTUND): Likewise.
20392 (FPE_FLTRES): Likewise.
20393 (FPE_FLTINV): Likewise.
20394 (FPE_FLTSUB): Likewise.
20395 (SEGV_MAPERR): Likewise.
20396 (SEGV_ACCERR): Likewise.
20397 (BUS_ADRALN): Likewise.
20398 (BUS_ADRERR): Likewise.
20399 (BUS_OBJERR): Likewise.
20400 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20401 (TRAP_TRACE): Likewise.
20402 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20403 __USE_XOPEN2K8].
20404 (CLD_KILLED): Likewise.
20405 (CLD_DUMPED): Likewise.
20406 (CLD_TRAPPED): Likewise.
20407 (CLD_STOPPED): Likewise.
20408 (CLD_CONTINUED): Likewise.
20409 (POLL_IN): Likewise.
20410 (POLL_OUT): Likewise.
20411 (POLL_MSG): Likewise.
20412 (POLL_ERR): Likewise.
20413 (POLL_PRI): Likewise.
20414 (POLL_HUP): Likewise.
20415 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
20416 Likewise.
20417 (ILL_ILLOPN): Likewise.
20418 (ILL_ILLADR): Likewise.
20419 (ILL_ILLTRP): Likewise.
20420 (ILL_PRVOPC): Likewise.
20421 (ILL_PRVREG): Likewise.
20422 (ILL_COPROC): Likewise.
20423 (ILL_BADSTK): Likewise.
20424 (FPE_INTDIV): Likewise.
20425 (FPE_INTOVF): Likewise.
20426 (FPE_FLTDIV): Likewise.
20427 (FPE_FLTOVF): Likewise.
20428 (FPE_FLTUND): Likewise.
20429 (FPE_FLTRES): Likewise.
20430 (FPE_FLTINV): Likewise.
20431 (FPE_FLTSUB): Likewise.
20432 (SEGV_MAPERR): Likewise.
20433 (SEGV_ACCERR): Likewise.
20434 (BUS_ADRALN): Likewise.
20435 (BUS_ADRERR): Likewise.
20436 (BUS_OBJERR): Likewise.
20437 (BUS_MCEERR_AR): Likewise.
20438 (BUS_MCEERR_AO): Likewise.
20439 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20440 (TRAP_TRACE): Likewise.
20441 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20442 __USE_XOPEN2K8].
20443 (CLD_KILLED): Likewise.
20444 (CLD_DUMPED): Likewise.
20445 (CLD_TRAPPED): Likewise.
20446 (CLD_STOPPED): Likewise.
20447 (CLD_CONTINUED): Likewise.
20448 (POLL_IN): Likewise.
20449 (POLL_OUT): Likewise.
20450 (POLL_MSG): Likewise.
20451 (POLL_ERR): Likewise.
20452 (POLL_PRI): Likewise.
20453 (POLL_HUP): Likewise.
20454 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
20455 (ILL_ILLOPN): Likewise.
20456 (ILL_ILLADR): Likewise.
20457 (ILL_ILLTRP): Likewise.
20458 (ILL_PRVOPC): Likewise.
20459 (ILL_PRVREG): Likewise.
20460 (ILL_COPROC): Likewise.
20461 (ILL_BADSTK): Likewise.
20462 (FPE_INTDIV): Likewise.
20463 (FPE_INTOVF): Likewise.
20464 (FPE_FLTDIV): Likewise.
20465 (FPE_FLTOVF): Likewise.
20466 (FPE_FLTUND): Likewise.
20467 (FPE_FLTRES): Likewise.
20468 (FPE_FLTINV): Likewise.
20469 (FPE_FLTSUB): Likewise.
20470 (SEGV_MAPERR): Likewise.
20471 (SEGV_ACCERR): Likewise.
20472 (BUS_ADRALN): Likewise.
20473 (BUS_ADRERR): Likewise.
20474 (BUS_OBJERR): Likewise.
20475 (BUS_MCEERR_AR): Likewise.
20476 (BUS_MCEERR_AO): Likewise.
20477 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20478 (TRAP_TRACE): Likewise.
20479 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20480 __USE_XOPEN2K8].
20481 (CLD_KILLED): Likewise.
20482 (CLD_DUMPED): Likewise.
20483 (CLD_TRAPPED): Likewise.
20484 (CLD_STOPPED): Likewise.
20485 (CLD_CONTINUED): Likewise.
20486 (POLL_IN): Likewise.
20487 (POLL_OUT): Likewise.
20488 (POLL_MSG): Likewise.
20489 (POLL_ERR): Likewise.
20490 (POLL_PRI): Likewise.
20491 (POLL_HUP): Likewise.
20492 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
20493 Likewise.
20494 (ILL_ILLOPN): Likewise.
20495 (ILL_ILLADR): Likewise.
20496 (ILL_ILLTRP): Likewise.
20497 (ILL_PRVOPC): Likewise.
20498 (ILL_PRVREG): Likewise.
20499 (ILL_COPROC): Likewise.
20500 (ILL_BADSTK): Likewise.
20501 (ILL_BADIADDR): Likewise.
20502 (ILL_BREAK): Likewise.
20503 (FPE_INTDIV): Likewise.
20504 (FPE_INTOVF): Likewise.
20505 (FPE_FLTDIV): Likewise.
20506 (FPE_FLTOVF): Likewise.
20507 (FPE_FLTUND): Likewise.
20508 (FPE_FLTRES): Likewise.
20509 (FPE_FLTINV): Likewise.
20510 (FPE_FLTSUB): Likewise.
20511 (FPE_DECOVF): Likewise.
20512 (FPE_DECDIV): Likewise.
20513 (FPE_DECERR): Likewise.
20514 (FPE_INVASC): Likewise.
20515 (FPE_INVDEC): Likewise.
20516 (SEGV_MAPERR): Likewise.
20517 (SEGV_ACCERR): Likewise.
20518 (SEGV_PSTKOVF): Likewise.
20519 (BUS_ADRALN): Likewise.
20520 (BUS_ADRERR): Likewise.
20521 (BUS_OBJERR): Likewise.
20522 (BUS_MCEERR_AR): Likewise.
20523 (BUS_MCEERR_AO): Likewise.
20524 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20525 (TRAP_TRACE): Likewise.
20526 (TRAP_BRANCH): Likewise.
20527 (TRAP_HWBKPT): Likewise.
20528 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20529 __USE_XOPEN2K8].
20530 (CLD_KILLED): Likewise.
20531 (CLD_DUMPED): Likewise.
20532 (CLD_TRAPPED): Likewise.
20533 (CLD_STOPPED): Likewise.
20534 (CLD_CONTINUED): Likewise.
20535 (POLL_IN): Likewise.
20536 (POLL_OUT): Likewise.
20537 (POLL_MSG): Likewise.
20538 (POLL_ERR): Likewise.
20539 (POLL_PRI): Likewise.
20540 (POLL_HUP): Likewise.
20541 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
20542 (ILL_ILLOPN): Likewise.
20543 (ILL_ILLADR): Likewise.
20544 (ILL_ILLTRP): Likewise.
20545 (ILL_PRVOPC): Likewise.
20546 (ILL_PRVREG): Likewise.
20547 (ILL_COPROC): Likewise.
20548 (ILL_BADSTK): Likewise.
20549 (FPE_INTDIV): Likewise.
20550 (FPE_INTOVF): Likewise.
20551 (FPE_FLTDIV): Likewise.
20552 (FPE_FLTOVF): Likewise.
20553 (FPE_FLTUND): Likewise.
20554 (FPE_FLTRES): Likewise.
20555 (FPE_FLTINV): Likewise.
20556 (FPE_FLTSUB): Likewise.
20557 (SEGV_MAPERR): Likewise.
20558 (SEGV_ACCERR): Likewise.
20559 (BUS_ADRALN): Likewise.
20560 (BUS_ADRERR): Likewise.
20561 (BUS_OBJERR): Likewise.
20562 (BUS_MCEERR_AR): Likewise.
20563 (BUS_MCEERR_AO): Likewise.
20564 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20565 (TRAP_TRACE): Likewise.
20566 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20567 __USE_XOPEN2K8].
20568 (CLD_KILLED): Likewise.
20569 (CLD_DUMPED): Likewise.
20570 (CLD_TRAPPED): Likewise.
20571 (CLD_STOPPED): Likewise.
20572 (CLD_CONTINUED): Likewise.
20573 (POLL_IN): Likewise.
20574 (POLL_OUT): Likewise.
20575 (POLL_MSG): Likewise.
20576 (POLL_ERR): Likewise.
20577 (POLL_PRI): Likewise.
20578 (POLL_HUP): Likewise.
20579 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
20580 (ILL_ILLOPN): Likewise.
20581 (ILL_ILLADR): Likewise.
20582 (ILL_ILLTRP): Likewise.
20583 (ILL_PRVOPC): Likewise.
20584 (ILL_PRVREG): Likewise.
20585 (ILL_COPROC): Likewise.
20586 (ILL_BADSTK): Likewise.
20587 (FPE_INTDIV): Likewise.
20588 (FPE_INTOVF): Likewise.
20589 (FPE_FLTDIV): Likewise.
20590 (FPE_FLTOVF): Likewise.
20591 (FPE_FLTUND): Likewise.
20592 (FPE_FLTRES): Likewise.
20593 (FPE_FLTINV): Likewise.
20594 (FPE_FLTSUB): Likewise.
20595 (SEGV_MAPERR): Likewise.
20596 (SEGV_ACCERR): Likewise.
20597 (BUS_ADRALN): Likewise.
20598 (BUS_ADRERR): Likewise.
20599 (BUS_OBJERR): Likewise.
20600 (BUS_MCEERR_AR): Likewise.
20601 (BUS_MCEERR_AO): Likewise.
20602 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20603 (TRAP_TRACE): Likewise.
20604 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20605 __USE_XOPEN2K8].
20606 (CLD_KILLED): Likewise.
20607 (CLD_DUMPED): Likewise.
20608 (CLD_TRAPPED): Likewise.
20609 (CLD_STOPPED): Likewise.
20610 (CLD_CONTINUED): Likewise.
20611 (POLL_IN): Likewise.
20612 (POLL_OUT): Likewise.
20613 (POLL_MSG): Likewise.
20614 (POLL_ERR): Likewise.
20615 (POLL_PRI): Likewise.
20616 (POLL_HUP): Likewise.
20617 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
20618 (ILL_ILLOPN): Likewise.
20619 (ILL_ILLADR): Likewise.
20620 (ILL_ILLTRP): Likewise.
20621 (ILL_PRVOPC): Likewise.
20622 (ILL_PRVREG): Likewise.
20623 (ILL_COPROC): Likewise.
20624 (ILL_BADSTK): Likewise.
20625 (FPE_INTDIV): Likewise.
20626 (FPE_INTOVF): Likewise.
20627 (FPE_FLTDIV): Likewise.
20628 (FPE_FLTOVF): Likewise.
20629 (FPE_FLTUND): Likewise.
20630 (FPE_FLTRES): Likewise.
20631 (FPE_FLTINV): Likewise.
20632 (FPE_FLTSUB): Likewise.
20633 (SEGV_MAPERR): Likewise.
20634 (SEGV_ACCERR): Likewise.
20635 (BUS_ADRALN): Likewise.
20636 (BUS_ADRERR): Likewise.
20637 (BUS_OBJERR): Likewise.
20638 (BUS_MCEERR_AR): Likewise.
20639 (BUS_MCEERR_AO): Likewise.
20640 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20641 (TRAP_TRACE): Likewise.
20642 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20643 __USE_XOPEN2K8].
20644 (CLD_KILLED): Likewise.
20645 (CLD_DUMPED): Likewise.
20646 (CLD_TRAPPED): Likewise.
20647 (CLD_STOPPED): Likewise.
20648 (CLD_CONTINUED): Likewise.
20649 (POLL_IN): Likewise.
20650 (POLL_OUT): Likewise.
20651 (POLL_MSG): Likewise.
20652 (POLL_ERR): Likewise.
20653 (POLL_PRI): Likewise.
20654 (POLL_HUP): Likewise.
20655 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
20656 (ILL_ILLOPN): Likewise.
20657 (ILL_ILLADR): Likewise.
20658 (ILL_ILLTRP): Likewise.
20659 (ILL_PRVOPC): Likewise.
20660 (ILL_PRVREG): Likewise.
20661 (ILL_COPROC): Likewise.
20662 (ILL_BADSTK): Likewise.
20663 (ILL_DBLFLT): Likewise.
20664 (ILL_HARDWALL): Likewise.
20665 (FPE_INTDIV): Likewise.
20666 (FPE_INTOVF): Likewise.
20667 (FPE_FLTDIV): Likewise.
20668 (FPE_FLTOVF): Likewise.
20669 (FPE_FLTUND): Likewise.
20670 (FPE_FLTRES): Likewise.
20671 (FPE_FLTINV): Likewise.
20672 (FPE_FLTSUB): Likewise.
20673 (SEGV_MAPERR): Likewise.
20674 (SEGV_ACCERR): Likewise.
20675 (BUS_ADRALN): Likewise.
20676 (BUS_ADRERR): Likewise.
20677 (BUS_OBJERR): Likewise.
20678 (BUS_MCEERR_AR): Likewise.
20679 (BUS_MCEERR_AO): Likewise.
20680 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20681 (TRAP_TRACE): Likewise.
20682 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20683 __USE_XOPEN2K8].
20684 (CLD_KILLED): Likewise.
20685 (CLD_DUMPED): Likewise.
20686 (CLD_TRAPPED): Likewise.
20687 (CLD_STOPPED): Likewise.
20688 (CLD_CONTINUED): Likewise.
20689 (POLL_IN): Likewise.
20690 (POLL_OUT): Likewise.
20691 (POLL_MSG): Likewise.
20692 (POLL_ERR): Likewise.
20693 (POLL_PRI): Likewise.
20694 (POLL_HUP): Likewise.
20695 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
20696 (ILL_ILLOPN): Likewise.
20697 (ILL_ILLADR): Likewise.
20698 (ILL_ILLTRP): Likewise.
20699 (ILL_PRVOPC): Likewise.
20700 (ILL_PRVREG): Likewise.
20701 (ILL_COPROC): Likewise.
20702 (ILL_BADSTK): Likewise.
20703 (FPE_INTDIV): Likewise.
20704 (FPE_INTOVF): Likewise.
20705 (FPE_FLTDIV): Likewise.
20706 (FPE_FLTOVF): Likewise.
20707 (FPE_FLTUND): Likewise.
20708 (FPE_FLTRES): Likewise.
20709 (FPE_FLTINV): Likewise.
20710 (FPE_FLTSUB): Likewise.
20711 (SEGV_MAPERR): Likewise.
20712 (SEGV_ACCERR): Likewise.
20713 (BUS_ADRALN): Likewise.
20714 (BUS_ADRERR): Likewise.
20715 (BUS_OBJERR): Likewise.
20716 (BUS_MCEERR_AR): Likewise.
20717 (BUS_MCEERR_AO): Likewise.
20718 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20719 (TRAP_TRACE): Likewise.
20720 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20721 __USE_XOPEN2K8].
20722 (CLD_KILLED): Likewise.
20723 (CLD_DUMPED): Likewise.
20724 (CLD_TRAPPED): Likewise.
20725 (CLD_STOPPED): Likewise.
20726 (CLD_CONTINUED): Likewise.
20727 (POLL_IN): Likewise.
20728 (POLL_OUT): Likewise.
20729 (POLL_MSG): Likewise.
20730 (POLL_ERR): Likewise.
20731 (POLL_PRI): Likewise.
20732 (POLL_HUP): Likewise.
20733 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
20734 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20735
bc61d27c
JM
20736 [BZ #16670]
20737 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
20738 before #include of <time.h>.
20739 [!__USE_XOPEN2K] (__need_timespec): Likewise.
20740 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
20741 (test-xfail-UNIX98/sched.h/conform): Likewise.
20742
302949e2
MS
207432014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
20744
20745 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
20746 error absence of trapping exception support.
20747 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
20748
a00f522a
JM
207492014-03-07 Joseph Myers <joseph@codesourcery.com>
20750
6f99f280
JM
20751 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
20752 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
20753 * timezone/Makefile (testdata): Move definition above include of
20754 Rules.
20755 (test-zones): New variable.
20756 (tests-special): Add zone files.
20757 (build-testdata): Use $(evaluate-test).
20758
0b20a9e8
JM
20759 * elf/Makefile (tests-special): Rename tests to end with .out.
20760 ($(objpfx)noload-mem): Likewise.
20761 ($(objpfx)tst-leaks1-mem): Likewise.
20762 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
20763 * iconv/Makefile (xtests-special): Change test-iconvconfig to
20764 $(objpfx)test-iconvconfig.out.
20765 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
20766 set -e inside subshell and redirect output to file.
20767 * iconvdata/Makefile (generated): Rename tests to end with .out.
20768 Correct type.
20769 (tests-special): Rename tests to end with .out.
20770 ($(objpfx)mtrace-tst-loading): Likewise.
20771 * intl/Makefile (generated): Likewise.
20772 (tests-special): Likewise.
20773 ($(objpfx)mtrace-tst-gettext): Likewise.
20774 * misc/Makefile (generated): Likewise.
20775 (tests-special): Likewise.
20776 ($(objpfx)tst-error1-mem): Likewise.
20777 * nptl/Makefile (tests-special): Likewise.
20778 ($(objpfx)tst-stack3-mem): Likewise.
20779 (generated): Likewise.
20780 * posix/Makefile (generated): Likewise.
20781 (tests-special): Likewise.
20782 (xtests-special): Likewise.
20783 ($(objpfx)tst-fnmatch-mem): Likewise.
20784 ($(objpfx)bug-regex2-mem): Likewise.
20785 ($(objpfx)bug-regex14-mem): Likewise.
20786 ($(objpfx)bug-regex21-mem): Likewise.
20787 ($(objpfx)bug-regex31-mem): Likewise.
20788 ($(objpfx)tst-vfork3-mem): Likewise.
20789 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
20790 ($(objpfx)tst-pcre-mem): Likewise.
20791 ($(objpfx)tst-boost-mem): Likewise.
20792 ($(objpfx)bug-ga2-mem): Likewise.
20793 ($(objpfx)bug-glob2-mem): Likewise.
20794 * resolv/Makefile (generate): Likewise.
20795 (tests-special): Likewise.
20796 (xtests-special): Likewise.
20797 (generated): Likewise.
20798 ($(objpfx)mtrace-tst-leaks): Likewise.
20799 ($(objpfx)mtrace-tst-leaks2): Likewise.
20800
265d52ab
JM
20801 * scripts/merge-test-results.sh: New file.
20802 * Makefile (tests-special-notdir): New variable.
20803 (tests): Run merge-test-results.sh.
20804 (xtests): Likewise.
20805 * Rules (tests-special-notdir): New variable.
20806 (xtests-special-notdir): Likewise.
20807 (tests): Run merge-test-results.sh
20808 (xtests): Likewise.
20809
54ee292d
JM
20810 * Makeconfig (test-xfail-name): New variable.
20811 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
20812 compute variable name for expected failures.
20813 * conform/Makefile (conformtest-headers-data): New variable.
20814 (conformtest-standards): Likewise.
20815 (conformtest-headers-ISO): Likewise.
20816 (conformtest-headers-ISO99): Likewise.
20817 (conformtest-headers-ISO11): Likewise.
20818 (conformtest-headers-POSIX): Likewise.
20819 (conformtest-headers-XPG3): Likewise.
20820 (conformtest-headers-XPG4): Likewise.
20821 (conformtest-headers-UNIX98): Likewise.
20822 (conformtest-headers-XOPEN2K): Likewise.
20823 (conformtest-headers-POSIX2008): Likewise.
20824 (conformtest-headers-XOPEN2K8): Likewise.
20825 (conformtest-header-list-base): Likewise.
20826 (conformtest-header-list-tests): Likewise.
20827 (conformtest-header-base): Likewise.
20828 (conformtest-header-tests): Likewise.
20829 (tests-special): Add $(conformtest-header-list-tests). If
20830 [$(fast-check) && !$(cross-compiling)], add
20831 $(conformtest-header-tests) instead of
20832 $(objpfx)run-conformtest.out.
20833 (generated): Add $(conformtest-header-list-base). If
20834 [$(fast-check) && !$(cross-compiling)], add
20835 $(conformtest-header-base). Remove previous setting.
20836 ($(conformtest-header-list-tests)): New target.
20837 (test-xfail-run-conformtest): Remove variable.
20838 ($(objpfx)run-conformtest.out): Remove target.
20839 (test-xfail-ISO11/complex.h/conform): New variable.
20840 (test-xfail-ISO11/stdalign.h/conform): Likewise.
20841 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
20842 (test-xfail-XPG3/varargs.h/conform): Likewise.
20843 (test-xfail-XPG4/varargs.h/conform): Likewise.
20844 (test-xfail-UNIX98/varargs.h/conform): Likewise.
20845 (test-xfail-XPG4/ndbm.h/conform): Likewise.
20846 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
20847 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
20848 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
20849 (test-xfail-XPG3/fcntl.h/conform): Likewise.
20850 (test-xfail-XPG3/ftw.h/conform): Likewise.
20851 (test-xfail-XPG3/grp.h/conform): Likewise.
20852 (test-xfail-XPG3/langinfo.h/conform): Likewise.
20853 (test-xfail-XPG3/limits.h/conform): Likewise.
20854 (test-xfail-XPG3/pwd.h/conform): Likewise.
20855 (test-xfail-XPG3/search.h/conform): Likewise.
20856 (test-xfail-XPG3/signal.h/conform): Likewise.
20857 (test-xfail-XPG3/stdio.h/conform): Likewise.
20858 (test-xfail-XPG3/stdlib.h/conform): Likewise.
20859 (test-xfail-XPG3/string.h/conform): Likewise.
20860 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
20861 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
20862 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
20863 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
20864 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
20865 (test-xfail-XPG3/sys/types.h/conform): Likewise.
20866 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
20867 (test-xfail-XPG3/termios.h/conform): Likewise.
20868 (test-xfail-XPG3/time.h/conform): Likewise.
20869 (test-xfail-XPG3/unistd.h/conform): Likewise.
20870 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
20871 (test-xfail-XPG4/fcntl.h/conform): Likewise.
20872 (test-xfail-XPG4/langinfo.h/conform): Likewise.
20873 (test-xfail-XPG4/netdb.h/conform): Likewise.
20874 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
20875 (test-xfail-XPG4/signal.h/conform): Likewise.
20876 (test-xfail-XPG4/stdio.h/conform): Likewise.
20877 (test-xfail-XPG4/stdlib.h/conform): Likewise.
20878 (test-xfail-XPG4/stropts.h/conform): Likewise.
20879 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
20880 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
20881 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
20882 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
20883 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
20884 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
20885 (test-xfail-XPG4/sys/time.h/conform): Likewise.
20886 (test-xfail-XPG4/sys/types.h/conform): Likewise.
20887 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
20888 (test-xfail-XPG4/termios.h/conform): Likewise.
20889 (test-xfail-XPG4/ucontext.h/conform): Likewise.
20890 (test-xfail-XPG4/unistd.h/conform): Likewise.
20891 (test-xfail-XPG4/utmpx.h/conform): Likewise.
20892 (test-xfail-POSIX/sched.h/conform): Likewise.
20893 (test-xfail-POSIX/signal.h/conform): Likewise.
20894 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20895 (test-xfail-POSIX/tar.h/conform): Likewise.
20896 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
20897 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
20898 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
20899 (test-xfail-UNIX98/netdb.h/conform): Likewise.
20900 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
20901 (test-xfail-UNIX98/sched.h/conform): Likewise.
20902 (test-xfail-UNIX98/signal.h/conform): Likewise.
20903 (test-xfail-UNIX98/stdio.h/conform): Likewise.
20904 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
20905 (test-xfail-UNIX98/stropts.h/conform): Likewise.
20906 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
20907 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
20908 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
20909 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
20910 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
20911 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
20912 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
20913 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
20914 (test-xfail-UNIX98/unistd.h/conform): Likewise.
20915 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
20916 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
20917 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
20918 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
20919 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
20920 (test-xfail-XOPEN2K/math.h/conform): Likewise.
20921 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
20922 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
20923 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
20924 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
20925 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
20926 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
20927 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
20928 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
20929 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
20930 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
20931 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
20932 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
20933 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
20934 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
20935 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
20936 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20937 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
20938 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
20939 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
20940 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
20941 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
20942 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
20943 (test-xfail-POSIX2008/signal.h/conform): Likewise.
20944 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
20945 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
20946 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
20947 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
20948 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
20949 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
20950 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20951 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
20952 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
20953 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
20954 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
20955 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
20956 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
20957 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
20958 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
20959 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
20960 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
20961 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
20962 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
20963 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
20964 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
20965 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20966 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
20967 (conformtest-cc-flags): Likewise.
20968 ($(conformtest-header-tests): New target.
20969 * conform/check-header-lists.sh: New file.
20970 * conform/run-conformtest.sh: Remove.
20971
a00f522a
JM
20972 * conform/conformtest.pl: Allow ' and \ in values given for
20973 constants.
20974 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
20975 inclusion.
20976 [POSIX] (sys/types.h): Likewise.
20977 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
20978 inclusion.
20979 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
20980 inclusion.
20981 * conform/data/signal.h-data (SIGIO): Remove expectation.
20982 [XPG3] (SIGBUS): Do not expect.
20983 [POSIX || XPG3] (SIGPOLL): Likewise.
20984 [POSIX || XPG3] (SIGPROF): Likewise.
20985 [POSIX || XPG3] (SIGSYS): Likewise.
20986 [XPG3] (SIGTRAP): Likewise.
20987 [POSIX || XPG3] (SIGURG): Likewise.
20988 [POSIX || XPG3] (SIGVTALRM): Likewise.
20989 [POSIX || XPG3] (SIGXCPU): Likewise.
20990 [POSIX || XPG3] (SIGXFSZ): Likewise.
20991 [POSIX] (SA_SIGINFO): Expect.
20992 [XPG3] (siginfo_t): Do not expect type or contents.
20993 [POSIX] (si_pid): Do not expect element.
20994 [POSIX] (si_uid): Likewise.
20995 [POSIX] (si_addr): Likewise.
20996 [POSIX] (si_status): Likewise.
20997 [POSIX] (si_band): Likewise.
20998 [XPG4] (si_value): Likewise.
20999 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
21000 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
21001 [POSIX || XPG3] (ILL_ILLADR): Likewise.
21002 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
21003 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
21004 [POSIX || XPG3] (ILL_PRVREG): Likewise.
21005 [POSIX || XPG3] (ILL_COPROC): Likewise.
21006 [POSIX || XPG3] (ILL_BADSTK): Likewise.
21007 [POSIX || XPG3] (FPE_INTDIV): Likewise.
21008 [POSIX || XPG3] (FPE_INTOVF): Likewise.
21009 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
21010 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
21011 [POSIX || XPG3] (FPE_FLTUND): Likewise.
21012 [POSIX || XPG3] (FPE_FLTRES): Likewise.
21013 [POSIX || XPG3] (FPE_FLTINV): Likewise.
21014 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
21015 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
21016 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
21017 [POSIX || XPG3] (BUS_ADRALN): Likewise.
21018 [POSIX || XPG3] (BUS_ADRERR): Likewise.
21019 [POSIX || XPG3] (BUS_OBJERR): Likewise.
21020 [POSIX || XPG3] (CLD_EXITED): Likewise.
21021 [POSIX || XPG3] (CLD_KILLED): Likewise.
21022 [POSIX || XPG3] (CLD_DUMPED): Likewise.
21023 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
21024 [POSIX || XPG3] (CLD_STOPPED): Likewise.
21025 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
21026 [POSIX || XPG3] (POLL_IN): Likewise.
21027 [POSIX || XPG3] (POLL_OUT): Likewise.
21028 [POSIX || XPG3] (POLL_MSG): Likewise.
21029 [POSIX || XPG3] (POLL_ERR): Likewise.
21030 [POSIX || XPG3] (POLL_PRI): Likewise.
21031 [POSIX || XPG3] (POLL_HUP): Likewise.
21032 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
21033 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
21034 (SIG*): Do not allow.
21035 [XPG3] (si_*): Likewise.
21036 [XPG3] (SI_*): Likewise.
21037 [XPG3 || XPG4] (sigev_*): Likewise.
21038 [XPG3 || XPG4] (SIGEV_*): Likewise.
21039 [XPG3 || XPG4] (sival_*): Likewise.
21040 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
21041 [POSIX || XPG3] (BUS_*): Likewise.
21042 [POSIX || XPG3] (CLD_*): Likewise.
21043 [POSIX || XPG3] (FPE_*): Likewise.
21044 [POSIX || XPG3] (ILL_*): Likewise.
21045 [POSIX || XPG3] (POLL_*): Likewise.
21046 [POSIX || XPG3] (SEGV_*): Likewise.
21047 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
21048 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
21049 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
21050 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
21051 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
21052 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
21053 Specify type and value.
21054 (TVERSLEN): Likewise.
21055 (REGTYPE): Likewise.
21056 (AREGTYPE): Likewise.
21057 (LNKTYPE): Likewise.
21058 (SYMTYPE): Likewise.
21059 (CHRTYPE): Likewise.
21060 (BLKTYPE): Likewise.
21061 (DIRTYPE): Likewise.
21062 (FIFOTYPE): Likewise.
21063 (CONTTYPE): Likewise.
21064 (TSUID): Likewise.
21065 (TSGID): Likewise.
21066 (TSVTX): Likewise.
21067 (TUREAD): Likewise.
21068 (TUWRITE): Likewise.
21069 (TUEXEC): Likewise.
21070 (TGREAD): Likewise.
21071 (TGWRITE): Likewise.
21072 (TGEXEC): Likewise.
21073 (TOREAD): Likewise.
21074 (TOWRITE): Likewise.
21075 (TOEXEC): Likewise.
21076 [POSIX] (TSVTX): Expect constant.
21077
aa97dee1
JM
210782014-03-06 Joseph Myers <joseph@codesourcery.com>
21079
f214606a
JM
21080 * Makefile (tests): Change dependencies to ....
21081 (tests-special): ... additions to this variable.
21082 (tests): Depend on $(tests-special).
21083 * Makerules (check-abi-list): New variable.
21084 (check-abi): Depend on $(check-abi-list).
21085 [$(subdir) = elf] (tests-special): Add
21086 $(objpfx)check-abi-libc.out.
21087 [$(build-shared) = yes && subdir] (tests-special): Add
21088 $(check-abi-list).
21089 [$(build-shared) = yes && subdir] (tests): Do not depend on
21090 check-abi.
21091 * Rules (tests): Depend on $(tests-special).
21092 (xtests): Depend on $(xtests-special).
21093 * catgets/Makefile (tests): Change dependencies to ....
21094 (tests-special): ... additions to this variable.
21095 * conform/Makefile (tests): Change dependencies to ....
21096 (tests-special): ... additions to this variable.
21097 * elf/Makefile (tests): Change dependencies to ....
21098 (tests-special): ... additions to this variable.
21099 * grp/Makefile (tests): Change dependencies to ....
21100 (tests-special): ... additions to this variable.
21101 * iconv/Makefile (xtests): Change dependencies to ....
21102 (xtests-special): ... additions to this variable.
21103 * iconvdata/Makefile (tests): Change dependencies to ....
21104 (tests-special): ... additions to this variable.
21105 * intl/Makefile (tests): Change dependencies to ....
21106 (tests-special): ... additions to this variable. Also add
21107 $(objpfx)tst-gettext.out.
21108 * io/Makefile (tests): Change dependencies to ....
21109 (tests-special): ... additions to this variable.
21110 * libio/Makefile (tests): Change dependencies to ....
21111 (tests-special): ... additions to this variable.
21112 * malloc/Makefile (tests): Change dependencies to ....
21113 (tests-special): ... additions to this variable.
21114 * misc/Makefile (tests): Change dependencies to ....
21115 (tests-special): ... additions to this variable.
21116 * nptl/Makefile (tests): Change dependencies to ....
21117 (tests-special): ... additions to this variable.
21118 * nptl_db/Makefile (tests): Change dependencies to ....
21119 (tests-special): ... additions to this variable.
21120 * posix/Makefile (tests): Change dependencies to ....
21121 (tests-special): ... additions to this variable.
21122 (xtests): Change dependencies to ....
21123 (xtests-special): ... additions to this variable.
21124 * resolv/Makefile (tests): Change dependencies to ....
21125 (tests-special): ... additions to this variable.
21126 (xtests): Change dependencies to ....
21127 (xtests-special): ... additions to this variable.
21128 * stdio-common/Makefile (tests): Change dependencies to ....
21129 (tests-special): ... additions to this variable.
21130 (do-tst-unbputc): Remove target.
21131 (do-tst-printf): Likewise.
21132 * stdlib/Makefile (tests): Change dependencies to ....
21133 (tests-special): ... additions to this variable.
21134 * string/Makefile (tests): Change dependencies to ....
21135 (tests-special): ... additions to this variable.
21136 * sysdeps/x86/Makefile (tests): Change dependencies to ....
21137 (tests-special): ... additions to this variable.
21138
81700b53
JM
21139 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
21140 whole file.
21141 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
21142 whole file.
21143 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
21144 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
21145
2ea18461
JM
21146 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
21147 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
21148 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
21149 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
21150 * conform/data/libgen.h-data [XPG3]: Likewise.
21151 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
21152 * conform/data/ndbm.h-data [XPG3]: Likewise.
21153 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21154 * conform/data/netdb.h-data [XPG3]: Likewise.
21155 * conform/data/netinet/in.h-data [XPG3]: Likewise.
21156 * conform/data/poll.h-data [XPG3]: Likewise.
21157 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21158 * conform/data/strings.h-data [XPG3]: Likewise.
21159 * conform/data/stropts.h-data [XPG3]: Likewise.
21160 * conform/data/sys/mman.h-data [XPG3]: Likewise.
21161 * conform/data/sys/resource.h-data [XPG3]: Likewise.
21162 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
21163 Likewise.
21164 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
21165 * conform/data/sys/time.h-data [XPG3]: Likewise.
21166 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
21167 * conform/data/sys/uio.h-data [XPG3]: Likewise.
21168 * conform/data/sys/un.h-data [XPG3]: Likewise.
21169 * conform/data/syslog.h-data [XPG3]: Likewise.
21170 * conform/data/ucontext.h-data [XPG3]: Likewise.
21171 * conform/data/utmpx.h-data [XPG3]: Likewise.
21172 * conform/data/varargs.h-data [UNIX98]: Enable file.
21173
355bc986
JM
21174 * manual/Makefile (INSTALL_INFO): Remove variable setting.
21175
215db402
JM
21176 * math/libm-test.inc (struct test_f_f_data): Move expected results
21177 into structure for each rounding mode.
21178 (struct test_ff_f_data): Likewise.
21179 (struct test_ff_f_data_nexttoward): Likewise.
21180 (struct test_fi_f_data): Likewise.
21181 (struct test_fl_f_data): Likewise.
21182 (struct test_if_f_data): Likewise.
21183 (struct test_fff_f_data): Likewise.
21184 (struct test_c_f_data): Likewise.
21185 (struct test_f_f1_data): Likewise.
21186 (struct test_fF_f1_data): Likewise.
21187 (struct test_ffI_f1_data): Likewise.
21188 (struct test_c_c_data): Likewise.
21189 (struct test_cc_c_data): Likewise.
21190 (struct test_f_i_data): Likewise.
21191 (struct test_ff_i_data): Likewise.
21192 (struct test_f_l_data): Likewise.
21193 (struct test_f_L_data): Likewise.
21194 (struct test_fFF_11_data): Likewise.
21195 (RM_): New macro.
21196 (RM_FE_DOWNWARD): Likewise.
21197 (RM_FE_TONEAREST): Likewise.
21198 (RM_FE_TOWARDZERO): Likewise.
21199 (RM_FE_UPWARD): Likewise.
21200 (RUN_TEST_LOOP_f_f): Update references to expected results.
21201 (RUN_TEST_LOOP_2_f): Likewise.
21202 (RUN_TEST_LOOP_fff_f): Likewise.
21203 (RUN_TEST_LOOP_c_f): Likewise.
21204 (RUN_TEST_LOOP_f_f1): Likewise.
21205 (RUN_TEST_LOOP_fF_f1): Likewise.
21206 (RUN_TEST_LOOP_fI_f1): Likewise.
21207 (RUN_TEST_LOOP_ffI_f1): Likewise.
21208 (RUN_TEST_LOOP_c_c): Likewise.
21209 (RUN_TEST_LOOP_cc_c): Likewise.
21210 (RUN_TEST_LOOP_f_i): Likewise.
21211 (RUN_TEST_LOOP_f_i_tg): Likewise.
21212 (RUN_TEST_LOOP_ff_i_tg): Likewise.
21213 (RUN_TEST_LOOP_f_b): Likewise.
21214 (RUN_TEST_LOOP_f_b_tg): Likewise.
21215 (RUN_TEST_LOOP_f_l): Likewise.
21216 (RUN_TEST_LOOP_f_L): Likewise.
21217 (RUN_TEST_LOOP_fFF_11): Likewise.
21218 * math/gen-libm-test.pl (parse_args): Output four copies of
21219 expected results for each test.
21220
67737b8f
JM
21221 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21222 (__ASSUME_UTIMES): Remove.
21223 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21224 (__ASSUME_UTIMES): Likewise.
21225
aa97dee1
JM
21226 * math/gen-auto-libm-tests.c: Update comment on output format.
21227 (output_for_one_input_case): Generate before-rounding and
21228 after-rounding information as conditions on output flags not
21229 floating-point format.
21230 * math/auto-libm-test-out: Regenerated.
21231 * math/gen-libm-test.pl (cond_value): New function.
21232 (or_cond_value): Use cond_value.
21233 (generate_testfile): Handle conditional exceptions.
21234
e6b6a857
JM
212352014-03-05 Joseph Myers <joseph@codesourcery.com>
21236
2f0a0f44
JM
21237 * math/libm-test.inc (max_valid_error): New variable.
21238 (init_max_error): Take new argument specifying whether function
21239 results are exactly determined. Set max_valid_error and bound
21240 other variables for errors based on this argument.
21241 (set_max_error): Do not record results above max_valid_error.
21242 (check_float_internal): Only accept errors of up to 0.5ulps if
21243 also at most max_valid_error.
21244 (START): Take new argument EXACT and pass it to init_max_error.
21245 (acos_test): Update call to START.
21246 (acos_test_tonearest): Likewise.
21247 (acos_test_towardzero): Likewise.
21248 (acos_test_downward): Likewise.
21249 (acos_test_upward): Likewise.
21250 (acosh_test): Likewise.
21251 (asin_test): Likewise.
21252 (asin_test_tonearest): Likewise.
21253 (asin_test_towardzero): Likewise.
21254 (asin_test_downward): Likewise.
21255 (asin_test_upward): Likewise.
21256 (asinh_test): Likewise.
21257 (atan_test): Likewise.
21258 (atanh_test): Likewise.
21259 (atan2_test): Likewise.
21260 (cabs_test): Likewise.
21261 (cacos_test): Likewise.
21262 (cacosh_test): Likewise.
21263 (carg_test): Likewise.
21264 (casin_test): Likewise.
21265 (casinh_test): Likewise.
21266 (catan_test): Likewise.
21267 (catanh_test): Likewise.
21268 (cbrt_test): Likewise.
21269 (ccos_test): Likewise.
21270 (ccosh_test): Likewise.
21271 (ceil_test): Likewise.
21272 (cexp_test): Likewise.
21273 (cimag_test): Likewise.
21274 (clog_test): Likewise.
21275 (clog10_test): Likewise.
21276 (conj_test): Likewise.
21277 (copysign_test): Likewise.
21278 (cos_test): Likewise.
21279 (cos_test_tonearest): Likewise.
21280 (cos_test_towardzero): Likewise.
21281 (cos_test_downward): Likewise.
21282 (cos_test_upward): Likewise.
21283 (cosh_test): Likewise.
21284 (cosh_test_tonearest): Likewise.
21285 (cosh_test_towardzero): Likewise.
21286 (cosh_test_downward): Likewise.
21287 (cosh_test_upward): Likewise.
21288 (cpow_test): Likewise.
21289 (cproj_test): Likewise.
21290 (creal_test): Likewise.
21291 (csin_test): Likewise.
21292 (csinh_test): Likewise.
21293 (csqrt_test): Likewise.
21294 (ctan_test): Likewise.
21295 (ctan_test_tonearest): Likewise.
21296 (ctan_test_towardzero): Likewise.
21297 (ctan_test_downward): Likewise.
21298 (ctan_test_upward): Likewise.
21299 (ctanh_test): Likewise.
21300 (ctanh_test_tonearest): Likewise.
21301 (ctanh_test_towardzero): Likewise.
21302 (ctanh_test_downward): Likewise.
21303 (ctanh_test_upward): Likewise.
21304 (erf_test): Likewise.
21305 (erfc_test): Likewise.
21306 (exp_test): Likewise.
21307 (exp_test_tonearest): Likewise.
21308 (exp_test_towardzero): Likewise.
21309 (exp_test_downward): Likewise.
21310 (exp_test_upward): Likewise.
21311 (exp10_test): Likewise.
21312 (exp10_test_tonearest): Likewise.
21313 (exp10_test_towardzero): Likewise.
21314 (exp10_test_downward): Likewise.
21315 (exp10_test_upward): Likewise.
21316 (pow10_test): Likewise.
21317 (exp2_test): Likewise.
21318 (expm1_test): Likewise.
21319 (expm1_test_tonearest): Likewise.
21320 (expm1_test_towardzero): Likewise.
21321 (expm1_test_downward): Likewise.
21322 (expm1_test_upward): Likewise.
21323 (fabs_test): Likewise.
21324 (fdim_test): Likewise.
21325 (floor_test): Likewise.
21326 (fma_test): Likewise.
21327 (fma_test_towardzero): Likewise.
21328 (fma_test_downward): Likewise.
21329 (fma_test_upward): Likewise.
21330 (fmax_test): Likewise.
21331 (fmin_test): Likewise.
21332 (fmod_test): Likewise.
21333 (fpclassify_test): Likewise.
21334 (frexp_test): Likewise.
21335 (hypot_test): Likewise.
21336 (ilogb_test): Likewise.
21337 (isfinite_test): Likewise.
21338 (finite_test): Likewise.
21339 (isgreater_test): Likewise.
21340 (isgreaterequal_test): Likewise.
21341 (isinf_test): Likewise.
21342 (isless_test): Likewise.
21343 (islessequal_test): Likewise.
21344 (islessgreater_test): Likewise.
21345 (isnan_test): Likewise.
21346 (isnormal_test): Likewise.
21347 (issignaling_test): Likewise.
21348 (isunordered_test): Likewise.
21349 (j0_test): Likewise.
21350 (j1_test): Likewise.
21351 (jn_test): Likewise.
21352 (ldexp_test): Likewise.
21353 (lgamma_test): Likewise.
21354 (gamma_test): Likewise.
21355 (lrint_test): Likewise.
21356 (lrint_test_tonearest): Likewise.
21357 (lrint_test_towardzero): Likewise.
21358 (lrint_test_downward): Likewise.
21359 (lrint_test_upward): Likewise.
21360 (llrint_test): Likewise.
21361 (llrint_test_tonearest): Likewise.
21362 (llrint_test_towardzero): Likewise.
21363 (llrint_test_downward): Likewise.
21364 (llrint_test_upward): Likewise.
21365 (log_test): Likewise.
21366 (log10_test): Likewise.
21367 (log1p_test): Likewise.
21368 (log2_test): Likewise.
21369 (logb_test): Likewise.
21370 (logb_test_downward): Likewise.
21371 (lround_test): Likewise.
21372 (llround_test): Likewise.
21373 (modf_test): Likewise.
21374 (nearbyint_test): Likewise.
21375 (nextafter_test): Likewise.
21376 (nexttoward_test): Likewise.
21377 (pow_test): Likewise.
21378 (pow_test_tonearest): Likewise.
21379 (pow_test_towardzero): Likewise.
21380 (pow_test_downward): Likewise.
21381 (pow_test_upward): Likewise.
21382 (remainder_test): Likewise.
21383 (drem_test): Likewise.
21384 (remainder_test_tonearest): Likewise.
21385 (drem_test_tonearest): Likewise.
21386 (remainder_test_towardzero): Likewise.
21387 (drem_test_towardzero): Likewise.
21388 (remainder_test_downward): Likewise.
21389 (drem_test_downward): Likewise.
21390 (remainder_test_upward): Likewise.
21391 (drem_test_upward): Likewise.
21392 (remquo_test): Likewise.
21393 (rint_test): Likewise.
21394 (rint_test_tonearest): Likewise.
21395 (rint_test_towardzero): Likewise.
21396 (rint_test_downward): Likewise.
21397 (rint_test_upward): Likewise.
21398 (round_test): Likewise.
21399 (scalb_test): Likewise.
21400 (scalbn_test): Likewise.
21401 (scalbln_test): Likewise.
21402 (signbit_test): Likewise.
21403 (sin_test): Likewise.
21404 (sin_test_tonearest): Likewise.
21405 (sin_test_towardzero): Likewise.
21406 (sin_test_downward): Likewise.
21407 (sin_test_upward): Likewise.
21408 (sincos_test): Likewise.
21409 (sinh_test): Likewise.
21410 (sinh_test_tonearest): Likewise.
21411 (sinh_test_towardzero): Likewise.
21412 (sinh_test_downward): Likewise.
21413 (sinh_test_upward): Likewise.
21414 (sqrt_test): Likewise.
21415 (sqrt_test_tonearest): Likewise.
21416 (sqrt_test_towardzero): Likewise.
21417 (sqrt_test_downward): Likewise.
21418 (sqrt_test_upward): Likewise.
21419 (tan_test): Likewise.
21420 (tan_test_tonearest): Likewise.
21421 (tan_test_towardzero): Likewise.
21422 (tan_test_downward): Likewise.
21423 (tan_test_upward): Likewise.
21424 (tanh_test): Likewise.
21425 (tgamma_test): Likewise.
21426 (trunc_test): Likewise.
21427 (y0_test): Likewise.
21428 (y1_test): Likewise.
21429 (yn_test): Likewise.
21430 (significand_test): Likewise.
21431
e6b6a857
JM
21432 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
21433 individual tests in comment.
21434 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
21435 (prev_max_error): New variable.
21436 (prev_real_max_error): Likewise.
21437 (prev_imag_max_error): Likewise.
21438 (compare_ulp_data): Don't refer to test names in comment.
21439 (find_test_ulps): Remove function.
21440 (find_function_ulps): Likewise.
21441 (find_complex_function_ulps): Likewise.
21442 (init_max_error): Take function name as argument. Look up ulps
21443 for that function.
21444 (print_ulps): Remove function.
21445 (print_max_error): Use prev_max_error instead of calling
21446 find_function_ulps.
21447 (print_complex_max_error): Use prev_real_max_error and
21448 prev_imag_max_error instead of calling find_complex_function_ulps.
21449 (check_float_internal): Take max_ulp parameter instead of calling
21450 find_test_ulps. Don't call print_ulps.
21451 (check_float): Update call to check_float_internal.
21452 (check_complex): Update calls to check_float_internal.
21453 (START): Pass argument to init_max_error.
21454 * math/gen-libm-test.pl (%results): Don't include "kind"
21455 information.
21456 (parse_ulps): Don't handle ulps of individual tests.
21457 (print_ulps_file): Likewise.
21458 (output_ulps): Likewise.
21459 * math/README.libm-test: Update.
21460 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
21461 individual tests.
21462 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
21463 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
21464 * sysdeps/arm/libm-test-ulps: Likewise.
21465 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21466 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
21467 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
21468 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
21469 * sysdeps/microblaze/libm-test-ulps: Likewise.
21470 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
21471 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21472 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21473 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
21474 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21475 * sysdeps/sh/libm-test-ulps: Likewise.
21476 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21477 * sysdeps/tile/libm-test-ulps: Likewise.
21478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21479
45adef3c
JM
214802014-03-04 Joseph Myers <joseph@codesourcery.com>
21481
21482 * math/libm-test.inc (print_complex_max_error): Check separately
21483 whether real and imaginary errors are within allowed range and
21484 pass 0 to print_complex_function_ulps instead of value within
21485 allowed range.
21486
000232b9
SP
214872014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21488
d4b17258
SP
21489 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
21490 formatting.
21491 (get_handles_fopen): Likewise.
21492 (do_write_test): Likewise.
21493
091eff71
SP
21494 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
21495
fa3cd248
SP
21496 * libio/fileops.c (do_ftell): Use cached offset when
21497 available.
21498 * libio/iofwide.c (do_ftell_wide): Likewise.
21499 * libio/iofdopen.c (_IO_new_fdopen): Don't use
21500 _IO_file_attach.
21501 * libio/wfileops.c (_IO_fwide): Don't cache offset.
21502
000232b9
SP
21503 [BZ #16532]
21504 * libio/libioP.h (get_file_offset): New function.
21505 * libio/fileops.c (get_file_offset): Likewise.
21506 (do_ftell): Likewise.
21507 (_IO_new_file_seekoff): Split out ftell logic.
21508 * libio/wfileops.c (do_ftell_wide): Likewise.
21509 (_IO_wfile_seekoff): Split out ftell logic.
21510 * libio/tst-ftell-active-handler.c: New test case.
21511 * libio/Makefile (tests): Add it.
21512
116f4d1a
RM
215132014-03-03 Roland McGrath <roland@hack.frob.com>
21514
21515 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
21516 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
21517
532a6035
SP
215182014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21519
21520 [BZ #16639]
21521 * nscd/connections.c (nscd_init): Call do_exit.
21522 (start_threads): Call do_exit and notify_parent.
21523 (begin_drop_privileges): Call do_exit.
21524 (finish_drop_privileges): Likewise.
21525 * nscd/selinux.c (preserve_capabilities): Likewise.
21526 (install_real_capabilities): Likewise.
21527 (nscd_selinux_enabled): Likewise.
21528 (avc_create_thread): Likewise.
21529 (avc_alloc_lock): Likewise.
21530 (nscd_avc_init): Likewise.
21531 * nscd/nscd.c (parent_fd): New static variable.
21532 (main): Create a pipe between parent and child processes.
21533 Skip closing parent_fd.
21534 (monitor_child): New function.
21535 (do_exit): Likewise.
21536 (notify_parent): Likewise.
21537 * nscd/nscd.h (notify_parent): Likewise.
21538 (do_exit): Likewise.
21539
d6285c9f
CD
215402014-03-03 Carlos O'Donell <carlos@redhat.com>
21541
21542 * malloc/malloc.c (__libc_calloc): Revert last change.
21543
2b85d2a0
AZ
215442014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21545
21546 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21547
c7debbdf
RS
215482014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21549
21550 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
21551 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
21552 implementation.
21553 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21554 (__libc_ifunc_impl_list): Likewise.
21555 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
21556 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
21557 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
21558 * string/strrchr.c: Define STRRCHR.
21559
235eed86
OB
215602014-02-28 Ondřej Bílka <neleai@seznam.cz>
21561
21562 * benchtest/bench-strtok.c (simple_strtok): Delete.
21563 (strtok_string): Use as benchmark.
21564 * string/strtok (STRTOK): New macro.
21565
8e25d1e7
CD
215662014-02-28 Carlos O'Donell <carlos@redhat.com>
21567
ef563f92
CD
21568 * manual/threads.texi: Add header and standard comments to all
21569 functions.
21570
8e25d1e7
CD
21571 * elf/dl-lookup.c (check_match): New function.
21572 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
21573 (do_lookup_x): Remove nested function check_match. Use non-nested
21574 function check_match.
21575
ff71cc37
RM
215762014-02-28 Roland McGrath <roland@hack.frob.com>
21577
f08e9a26
RM
21578 * csu/Makefile (generated, before-compile): Use += rather than =.
21579 * catgets/Makefile (generated, generated-dirs): Likewise.
21580 * debug/Makefile (generated): Likewise.
21581 * dlfcn/Makefile (generated): Likewise.
21582 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
21583 * iconvdata/Makefile (before-compile, generated): Likewise.
21584 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
21585 * libio/Makefile (generated): Likewise.
21586 * malloc/Makefile (generated): Likewise.
21587 * manual/Makefile (generated, generated-dirs): Likewise.
21588 * misc/Makefile (generated): Likewise.
21589 * posix/Makefile (generated): Likewise.
21590 * resolv/Makefile (generated): Likewise.
21591 * sunrpc/Makefile (generated, generated-dirs): Likewise.
21592 * timezone/Makefile (generated, generated-dirs): Likewise.
21593
ff71cc37
RM
21594 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
21595
fe13a20c
AZ
215962014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21597
57f41c40
AS
21598 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
21599 power8 implementation.
21600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
21601 file: POWER8 llround ifunc implementation.
21602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21603 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
21604 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
21605 POWER8 llround implementation.
21606
57f41c40
AS
21607 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
21608 power8 implementation.
21609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
21610 file: POWER8 llrint ifunc implementation.
21611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
21612 Add POWER8 implementation.
1ad8950a
AZ
21613 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
21614 POWER8 llrint implementation.
21615
57f41c40
AS
21616 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
21617 power8 implementation.
21618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
21619 file: POWER8 finite ifunc implementation.
21620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
21621 Add POWER8 implementation.
cac626d6
AZ
21622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
21623 Likewise.
21624 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
21625 POWER8 finite implementation.
21626 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
21627
57f41c40
AS
21628 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
21629 power8 implementation.
21630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
21631 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
21632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
21633 POWER8 implementation.
21634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
21635 Likewise.
57f41c40
AS
21636 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
21637 isinf implementation.
4393fc11
AZ
21638 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
21639
57f41c40
AS
21640 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21641 (INIT_ARCH): Add hwcap2 initialization.
21642 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21643 power8 implementation.
21644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
21645 file: POWER8 isnan ifunc implementation.
487972ae
AZ
21646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
21647 POWER8 implementation.
21648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
21649 Likewise.
57f41c40
AS
21650 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
21651 isnan implementation.
487972ae
AZ
21652 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
21653
7d92b787
JY
216542014-02-27 Joey Ye <joey.ye@arm.com>
21655
21656 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
21657 (_FP_NANFRAC_Q): Set to zero.
21658
1cadc858
SP
216592014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21660
21661 [BZ #16623]
21662 * math/auto-libm-test-in: New test inputs.
21663 * math/auto-libm-test-out: Regenerate.
21664 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
21665 and DA.
21666 (__cos): Likewise.
21667 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21668
f8c17e79
JM
216692014-02-27 Joseph Myers <joseph@codesourcery.com>
21670
21671 * scripts/evaluate-test.sh: Take new argument indicating whether
21672 failure is expected.
21673 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
21674 indicating whether failure is expected.
21675 * conform/Makefile (test-xfail-run-conformtest): New variable.
21676 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
21677 level.
21678 * posix/Makefile (test-xfail-annexc): New variable.
21679 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
21680
a5f891ac
JM
216812014-02-26 Joseph Myers <joseph@codesourcery.com>
21682
21683 * argp/Makefile: Include Makeconfig immediately after defining
21684 subdir.
21685 * assert/Makefile: Likewise.
21686 * benchtests/Makefile: Likewise.
21687 * catgets/Makefile: Likewise.
21688 * conform/Makefile: Likewise.
21689 * crypt/Makefile: Likewise.
21690 * csu/Makefile: Likewise.
21691 (all): Remove target.
21692 * ctype/Makefile: Include Makeconfig immediately after defining
21693 subdir.
21694 * debug/Makefile: Likewise.
21695 * dirent/Makefile: Likewise.
21696 * dlfcn/Makefile: Likewise.
21697 * gmon/Makefile: Likewise.
21698 * gnulib/Makefile: Likewise.
21699 * grp/Makefile: Likewise.
21700 * gshadow/Makefile: Likewise.
21701 * hesiod/Makefile: Likewise.
21702 * hurd/Makefile: Likewise.
21703 (all): Remove target.
21704 * iconvdata/Makefile: Include Makeconfig immediately after
21705 defining subdir.
21706 * inet/Makefile: Likewise.
21707 * intl/Makefile: Likewise.
21708 * io/Makefile: Likewise.
21709 * libio/Makefile: Likewise.
21710 (all): Remove target.
21711 * locale/Makefile: Include Makeconfig immediately after defining
21712 subdir.
21713 * login/Makefile: Likewise.
21714 * mach/Makefile: Likewise.
21715 (all): Remove target.
21716 * malloc/Makefile: Include Makeconfig immediately after defining
21717 subdir.
21718 (all): Remove target.
21719 * manual/Makefile: Include Makeconfig immediately after defining
21720 subdir.
21721 * math/Makefile: Likewise.
21722 * misc/Makefile: Likewise.
21723 * nis/Makefile: Likewise.
21724 * nss/Makefile: Likewise.
21725 * po/Makefile: Likewise.
21726 (all): Remove target.
21727 * posix/Makefile: Include Makeconfig immediately after defining
21728 subdir.
21729 * pwd/Makefile: Likewise.
21730 * resolv/Makefile: Likewise.
21731 * resource/Makefile: Likewise.
21732 * rt/Makefile: Likewise.
21733 * setjmp/Makefile: Likewise.
21734 * shadow/Makefile: Likewise.
21735 * signal/Makefile: Likewise.
21736 * socket/Makefile: Likewise.
21737 * soft-fp/Makefile: Likewise.
21738 * stdio-common/Makefile: Likewise.
21739 * stdlib/Makefile: Likewise.
21740 * streams/Makefile: Likewise.
21741 * string/Makefile: Likewise.
21742 * sunrpc/Makefile: Likewise.
21743 (all): Remove target.
21744 * sysvipc/Makefile: Include Makeconfig immediately after defining
21745 subdir.
21746 * termios/Makefile: Likewise.
21747 * time/Makefile: Likewise.
21748 * timezone/Makefile: Likewise.
21749 (all): Remove target.
21750 * wcsmbs/Makefile: Include Makeconfig immediately after defining
21751 subdir.
21752 * wctype/Makefile: Likewise.
21753
5b456e9d
SE
217542014-02-26 Steve Ellcey <sellcey@mips.com>
21755
21756 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
21757 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
21758 (libc_feholdexcept_setround_mips): Ditto.
21759 (libc_feholdsetround): New.
21760 (libc_feholdsetroundf): New.
21761 (libc_feholdsetroundl): New.
21762 (libc_feupdateenv_test_mips): New.
21763 (libc_feupdateenv_test): New.
21764 (libc_feupdateenv_testf): New.
21765 (libc_feupdateenv_testl): New.
21766 (libc_feresetround): New.
21767 (libc_feresetroundf): New.
21768 (libc_feresetroundl): New.
21769 (libc_fetestexcept_mips): New.
21770 (libc_fetestexcept): New.
21771 (libc_fetestexceptf): New.
21772 (libc_fetestexceptl): New.
21773 (HAVE_RM_CTX): New.
21774 (libc_feholdexcept_setround_mips_ctx): New.
21775 (libc_feholdexcept_setround_ctx): New.
21776 (libc_feholdexcept_setroundf_ctx): New.
21777 (libc_feholdexcept_setroundl_ctx): New.
21778 (libc_fesetenv_mips_ctx): New.
21779 (libc_fesetenv_ctx): New.
21780 (libc_fesetenv_ctxf): New.
21781 (libc_fesetenv_ctxl): New.
21782 (libc_feupdateenv_mips_ctx): New.
21783 (libc_feupdateenv_ctx): New.
21784 (libc_feupdateenvf_ctx): New.
21785 (libc_feupdateenvl_ctx): New.
21786 (libc_feholdsetround_mips_ctx): New.
21787 (libc_feholdsetround_ctx): New.
21788 (libc_feholdsetroundf_ctx): New.
21789 (libc_feholdsetroundl_ctx): New.
21790 (libc_feresetround_mips_ctx): New.
21791 (libc_feresetround_ctx): New.
21792 (libc_feresetroundf_ctx): New.
21793 (libc_feresetroundl_ctx): New.
21794
085d0e35
CD
217952014-02-26 Carlos O'Donell <carlos@redhat.com>
21796
f067bf1f
CD
21797 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
21798
085d0e35
CD
21799 * manual/ipc.texi: New file.
21800 * manual/Makefile (chapters): Add ipc.
21801 * manual/job.texi: Add "Inter-Process Communication" to next.
21802 * manual/process.texi: Add "Inter-Process Communication" to prev.
21803
86e58c08
AZ
218042014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21805
21806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21807
4248f0da
OB
218082014-02-26 Ondřej Bílka <neleai@seznam.cz>
21809
21810 * malloc/malloc.c (__libc_calloc): Simplify implementation.
21811
cf822e3c
OB
21812 * manual/arith.texi: Fix spaces after sentences.
21813 * manual/charset.texi: Likewise.
21814 * manual/errno.texi: Likewise.
21815 * manual/install.texi: Likewise.
21816 * manual/llio.texi: Likewise.
21817 * manual/locale.texi: Likewise.
21818 * manual/maint.texi: Likewise.
21819 * manual/math.texi: Likewise.
21820 * manual/memory.texi: Likewise.
21821 * manual/message.texi: Likewise.
21822 * manual/probes.texi: Likewise.
21823 * manual/resource.texi: Likewise.
21824 * manual/signal.texi: Likewise.
21825 * manual/socket.texi: Likewise.
21826 * manual/stdio.texi: Likewise.
21827 * manual/string.texi: Likewise.
21828 * manual/time.texi: Likewise.
21829 * manual/users.texi: Likewise.
21830
ade40b10
CD
218312014-02-25 Carlos O'Donell <carlos@redhat.com>
21832
21833 [BZ #16632]
21834 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
21835 _DEFAULT_SOURCE is defined.
21836
d0503676
CD
218372014-02-25 Ulrich Drepper <drepper@gmail.com>
21838 Carlos O'Donell <carlos@redhat.com>
21839
21840 [BZ #16613]
21841 * elf/dl-tls.c (_dl_count_modids): New function.
21842 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
21843 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
21844 audit library and increment generation counter.
21845 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
21846 * elf/tst-audit9.c: New file.
21847 * elf/tst-auditmod9a.c: New file.
21848 * elf/tst-auditmod9b.c: New file.
21849 * elf/Makefile: Add rules to build and run tst-audit9.
21850
4cbf380c
FW
218512014-02-25 Florian Weimer <fweimer@redhat.com>
21852
21853 [BZ #15347]
21854 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
21855
80a56cc3
WN
218562014-02-25 Will Newton <will.newton@linaro.org>
21857
21858 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
21859 (__longjmp): Restore sp and lr before restoring callee
21860 saved registers. Add longjmp and longjmp_target
21861 SystemTap probe point.
21862 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
21863 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
21864 Define to zero to match jmpbuf layout.
21865 * sysdeps/arm/setjmp.S: Include stap-probe.h.
21866 (__sigsetjmp): Save sp and lr before saving callee
21867 saved registers. Add setjmp SystemTap probe point.
21868
3ea0f74e
SL
218692014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21870
21871 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21872
b04acb26
AS
218732014-02-24 Andreas Schwab <schwab@suse.de>
21874
21875 [BZ #15804]
21876 * elf/pldd.c (wait_for_ptrace_stop): New function.
21877 (main): Call it after attaching.
21878
098ad55c
RM
218792014-02-22 Roland McGrath <roland@hack.frob.com>
21880
d4ec6ae1
RM
21881 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
21882 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
21883 Versions files is now verboten.
21884 * hurd/Versions (libc: GLIBC_2.0):
21885 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
21886 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
21887 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
21888 * mach/Versions: Likewise.
21889
098ad55c
RM
21890 * csu/Versions: Remove unused %include.
21891 * resolv/Versions: Likewise.
21892
acd7f096
JM
218932014-02-21 Joseph Myers <joseph@codesourcery.com>
21894
f0881698
JM
21895 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
21896 ($(objpfx)check-local-headers.out): Likewise.
21897 ($(objpfx)begin-end-check.out): Likewise.
21898 * Makerules (check-abi-%.out): Likewise.
21899 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
21900 ($(objpfx)test2.cat): Likewise.
21901 ($(objpfx)de/libc.cat): Likewise.
21902 ($(objpfx)test-gencat.out): Likewise.
21903 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
21904 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
21905 ($(objpfx)noload-mem): Likewise.
21906 ($(objpfx)tst-pathopt.out): Likewise.
21907 ($(objpfx)tst-rtld-load-self.out): Likewise.
21908 ($(objpfx)tst-array1-cmp.out): Likewise.
21909 ($(objpfx)tst-array1-static-cmp.out): Likewise.
21910 ($(objpfx)tst-array2-cmp.out): Likewise.
21911 ($(objpfx)tst-array3-cmp.out): Likewise.
21912 ($(objpfx)tst-array4-cmp.out): Likewise.
21913 ($(objpfx)tst-array5-cmp.out): Likewise.
21914 ($(objpfx)tst-array5-static-cmp.out): Likewise.
21915 ($(objpfx)check-textrel.out): Likewise.
21916 ($(objpfx)check-execstack.out): Likewise.
21917 ($(objpfx)check-localplt.out): Likewise.
21918 ($(objpfx)order2-cmp.out): Likewise.
21919 ($(objpfx)tst-leaks1-mem): Likewise.
21920 ($(objpfx)tst-leaks1-static-mem): Likewise.
21921 ($(objpfx)tst-initorder-cmp.out): Likewise.
21922 ($(objpfx)tst-initorder2-cmp.out): Likewise.
21923 ($(objpfx)tst-unused-dep.out): Likewise.
21924 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
21925 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
21926 * iconv/Makefile (test-iconvconfig): Likewise.
21927 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
21928 ($(objpfx)iconv-test.out): Likewise.
21929 ($(objpfx)tst-tables.out): Likewise.
21930 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
21931 ($(objpfx)tst-gettext.out): Likewise.
21932 ($(objpfx)tst-translit.out): Likewise.
21933 ($(objpfx)tst-gettext2.out): Likewise.
21934 ($(objpfx)tst-gettext4.out): Likewise.
21935 ($(objpfx)tst-gettext6.out): Likewise.
21936 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
21937 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
21938 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
21939 ($(objpfx)tst-fopenloc-mem.out): Likewise.
21940 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
21941 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
21942 * posix/Makefile ($(objpfx)globtest.out): Likewise.
21943 ($(objpfx)wordexp-tst.out): Likewise.
21944 ($(objpfx)annexc.out): Likewise.
21945 ($(objpfx)tst-fnmatch-mem): Likewise.
21946 ($(objpfx)bug-regex2-mem): Likewise.
21947 ($(objpfx)bug-regex14-mem): Likewise.
21948 ($(objpfx)bug-regex21-mem): Likewise.
21949 ($(objpfx)bug-regex31-mem): Likewise.
21950 ($(objpfx)tst-vfork3-mem): Likewise.
21951 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21952 ($(objpfx)tst-pcre-mem): Likewise.
21953 ($(objpfx)tst-boost-mem): Likewise.
21954 ($(objpfx)tst-getconf.out): Likewise.
21955 ($(objpfx)bug-ga2-mem): Likewise.
21956 ($(objpfx)bug-glob2-mem): Likewise.
21957 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
21958 ($(objpfx)mtrace-tst-leaks2): Likewise.
21959 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
21960 ($(objpfx)tst-printf.out): Likewise.
21961 ($(objpfx)tst-setvbuf1.out): Likewise.
21962 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
21963 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
21964 ($(objpfx)tst-fmtmsg.out): Likewise.
21965 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
21966 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
21967
acd7f096
JM
21968 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
21969 * bits/sigaction.h [__USE_MISC]: Likewise.
21970 * bits/waitstatus.h: Update #endif comments.
21971 * ctype/ctype.h: Likewise.
21972 * dirent/dirent.h: Likewise.
21973 [__USE_MISC]: Remove redundant conditionals.
21974 * grp/grp.h: Update #endif comments.
21975 [__USE_GNU]: Remove redundant conditionals.
21976 [__USE_MISC]: Likewise.
21977 * inet/netinet/in.h [__USE_GNU]: Likewise.
21978 * io/sys/stat.h [__USE_MISC]: Likewise.
21979 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
21980 * libio/bits/stdio.h: Update #endif comments.
21981 [__USE_MISC]: Remove redundant conditionals.
21982 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
21983 * libio/stdio.h: Update #endif comments.
21984 [__USE_MISC]: Remove redundant conditionals.
21985 * math/bits/math-finite.h [__USE_MISC]: Likewise.
21986 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
21987 * math/math.h: Update #else and #endif comments.
21988 [__USE_MISC]: Remove redundant conditionals.
21989 * misc/sys/uio.h: Update #endif comments.
21990 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
21991 * posix/glob.h [__USE_MISC]: Likewise.
21992 * posix/sys/types.h: Update #endif comments.
21993 [__USE_MISC]: Remove redundant conditionals.
21994 * posix/sys/wait.h: Update #endif comments.
21995 [__USE_MISC]: Remove redundant conditionals.
21996 * posix/unistd.h: Update #endif comments.
21997 [__USE_MISC]: Remove redundant conditionals.
21998 * pwd/pwd.h [__USE_GNU]: Likewise.
21999 [__USE_MISC]: Likewise.
22000 * resolv/netdb.h [__USE_GNU]: Likewise.
22001 * signal/signal.h: Update #endif comments.
22002 [__USE_MISC]: Remove redundant conditionals.
22003 * stdlib/stdlib.h: Update #else and #endif comments.
22004 [__USE_MISC]: Remove redundant conditionals.
22005 [__USE_GNU]: Likewise.
22006 * string/bits/string2.h [__USE_MISC]: Likewise.
22007 * string/string.h: Update #endif comments.
22008 [__USE_MISC]: Remove redundant conditionals.
22009 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
22010 Likewise.
22011 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
22012 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
22013 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
22014 Likewise.
22015 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
22016 Likewise.
22017 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
22018 comments.
22019 [__USE_MISC]: Remove redundant conditionals.
22020 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
22021 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
22022 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
22023 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
22024 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
22025 Likewise.
22026 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
22027 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
22028 Likewise.
22029 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
22030 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
22031 Likewise.
22032 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
22033 Likewise.
22034 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
22035 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
22036 Likewise.
22037 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
22038 Likewise.
22039 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
22040 * sysdeps/x86/bits/string.h: Update #endif comments.
22041 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
22042 conditionals.
22043 * time/sys/time.h: Update #endif comments.
22044 * time/time.h: Likewise.
22045 [__USE_MISC]: Remove redundant conditionals.
22046
a5d82e4e
YG
220472014-02-21 Yury Gribov <y.gribov@samsung.com>
22048
22049 [BZ #16600]
22050 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
22051
9a80491d
AS
220522014-02-21 Andreas Schwab <schwab@linux-m68k.org>
22053
22054 * Versions.def (librt): Add GLIBC_2.17.
22055
105fa381
AC
220562014-02-21 Adam Conrad <adconrad@0c3.net>
22057
22058 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
22059 synonym for _SYS_AUXV_H to allow direct inclusion.
22060 * sysdeps/sparc/bits/hwcap.h: Likewise.
22061 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
22062 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
22063 * sysdeps/sparc/sysdep.h: Likewise.
22064
b8cd1c4e
SP
220652014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22066
22067 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
22068
bd939d23
RS
220692014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22070
22071 * benchtests/bench-strrchr.c: Print length instead of position.
22072
5d7b57ca
JM
220732014-02-20 Joseph Myers <joseph@codesourcery.com>
22074
bc688c10
JM
22075 [BZ #16611]
22076 * sysdeps/unix/sysv/linux/kernel-features.h
22077 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
22078 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
22079 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
22080 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
22081 Likewise.
22082 [__i386__ || __powerpc__ || __sh__ || __sparc__]
22083 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22084 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
22085 (__ASSUME_SENDMMSG): Define instead of using previous
22086 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
22087 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22088 (__ASSUME_SENDMMSG_SYSCALL): Define.
22089 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22090 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
22091 Likewise.
22092 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22093 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22094 Likewise.
22095 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22096 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22097 Likewise.
22098 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
22099 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22100 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22101 [__ASSUME_SENDMMSG]: Change conditionals to
22102 [__ASSUME_SENDMMSG_SOCKETCALL].
22103 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22104 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
22105 Define.
22106 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22107 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
22108 Likewise.
22109 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
22110 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22111 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22112 [!__ASSUME_SENDMMSG]: Change conditional to
22113 [!__ASSUME_SENDMMSG_SOCKETCALL].
22114 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22115 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22116 Define.
22117
0e31b18c
JM
22118 [BZ #16610]
22119 * sysdeps/unix/sysv/linux/kernel-features.h
22120 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
22121 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
22122 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
22123 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
22124 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22125 [__i386__ || __sparc__]
22126 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22127 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
22128 (__ASSUME_RECVMMSG): Define instead of using previous
22129 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
22130 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22131 (__ASSUME_RECVMMSG_SYSCALL): Define.
22132 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22133 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22134 Likewise.
22135 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22136 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22137 Likewise.
22138 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22139 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22140 Likewise.
22141 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
22142 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22143 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22144 [__ASSUME_RECVMMSG]: Change condition to
22145 [__ASSUME_RECVMMSG_SOCKETCALL].
22146 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22147 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22148 Define.
22149 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22150 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22151 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22152 Likewise.
22153 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
22154 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22155 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22156 [!__ASSUME_RECVMMSG]: Change condition to
22157 [!__ASSUME_RECVMMSG_SOCKETCALL].
22158 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22159 (__ASSUME_RECVMMSG_SYSCALL): Define.
22160
dd481ccf
JM
22161 [BZ #16609]
22162 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
22163 __powerpc__ || __s390__ || __sh__ || __sparc__]
22164 (__ASSUME_SOCKETCALL): Define.
22165 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
22166 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
22167 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
22168 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
22169 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22170 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
22171 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
22172 (__ASSUME_ACCEPT4): Define instead of using previous
22173 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
22174 __powerpc__ || __sparc__ || __s390__)] condition.
22175 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22176 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22177 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
22178 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22179 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22180 [!__ASSUME_ACCEPT4]: Change condition to
22181 [!__ASSUME_ACCEPT4_SOCKETCALL].
22182 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22183 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
22184 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
22185 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22186 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
22187 __ASSUME_ACCEPT4_SYSCALL.
22188 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
22189 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
22190 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22191 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
22192 __ASSUME_ACCEPT4_SYSCALL.
22193 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
22194 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22195 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22196 [__ASSUME_ACCEPT4]: Change condition to
22197 [__ASSUME_ACCEPT4_SOCKETCALL].
22198 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22199 (__ASSUME_SOCKETCALL): Define.
22200 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
22201 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22202 (__ASSUME_SOCKETCALL): Define.
22203 (__ASSUME_ACCEPT4): Remove.
22204 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
22205 Define.
22206 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22207 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
22208 Likewise.
22209 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22210 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22211
5d7b57ca
JM
22212 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
22213 macro.
22214 (HWCAP_ARM_LPAE): Likewise.
22215 (HWCAP_ARM_EVTSTRM): Likewise.
22216 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
22217 Add vpfd32, lpae and evtstrm.
22218 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
22219 Increase to 22.
22220
63689d61
JM
222212014-02-19 Joseph Myers <joseph@codesourcery.com>
22222
22223 * math/auto-libm-test-in: Add tests of clog10.
22224 * math/auto-libm-test-out: Regenerated.
22225 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
22226 * sysdeps/i386/fpu/libm-test-ulps: Update.
22227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22228
ab09bf61
AS
222292014-02-18 Andreas Schwab <schwab@suse.de>
22230
22231 [BZ #16574]
22232 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
22233 Store non-zero if the second buffer was newly allocated.
22234 (send_dg): Likewise.
22235 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
22236 to send_vc and send_dg.
22237 (res_nsend): Pass NULL for ansp2_malloced.
22238 * resolv/res_query.c (__libc_res_nquery): Add parameter
22239 answerp2_malloced and pass it down to __libc_res_nsend.
22240 (res_nquery): Pass additional NULL to __libc_res_nquery.
22241 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
22242 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
22243 second answer buffer if answerp2_malloced was set.
22244 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
22245 (__libc_res_nquerydomain): Add parameter
22246 answerp2_malloced and pass it down to __libc_res_nquery.
22247 (res_nquerydomain): Pass additional NULL to
22248 __libc_res_nquerydomain.
22249 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
22250 additional NULL to __libc_res_nsend and __libc_res_nquery.
22251 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
22252 additional NULL to __libc_res_nsearch.
22253 (_nss_dns_gethostbyname4_r): Revert last change. Use new
22254 parameter of __libc_res_nsearch to check for separately allocated
22255 second buffer.
22256 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
22257 __libc_res_nquery.
22258 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
22259 additional NULL to __libc_res_nquery.
22260 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
22261 __libc_res_nsearch.
22262 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
22263 * include/resolv.h: Update prototypes of __libc_res_nquery,
22264 __libc_res_nsearch, __libc_res_nsend.
22265
a4fb7861
JM
222662014-02-18 Joseph Myers <joseph@codesourcery.com>
22267
c6af2d89
JM
22268 * math/auto-libm-test-in: Add tests of fma.
22269 * math/auto-libm-test-out: Regenerated.
22270 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
22271 (fma_towardzero_test_data): Likewise.
22272 (fma_downward_test_data): Likewise.
22273 (fma_upward_test_data): Likewise.
22274 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
22275 mpc_mode.
22276 (rounding_modes): Add values for new field.
22277 (func_calc_method): Add value mpfr_fff_f.
22278 (func_calc_desc): Add mpfr_fff_f union field.
22279 (test_function): Add field exact_args.
22280 (FUNC): Add macro argument EXACT_ARGS.
22281 (FUNC_mpfr_f_f): Update call to FUNC.
22282 (FUNC_mpfr_f_f): Likewise.
22283 (FUNC_mpfr_ff_f): Likewise.
22284 (FUNC_mpfr_if_f): Likewise.
22285 (FUNC_mpc_c_f): Likewise.
22286 (FUNC_mpc_c_c): Likewise.
22287 (test_functions): Add fma. Update calls to FUNC.
22288 (handle_input_arg): Add argument exact_args.
22289 (add_test): Update call to handle_input_arg.
22290 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
22291 (output_for_one_input_case): Update call to calc_generic_results.
22292 Recalculate exact zero results in each rounding mode.
22293
a4fb7861
JM
22294 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
22295 non-negative before setting low bit.
22296 * math/auto-libm-test-in: Mark one asin test possibly having
22297 spurious underflow.
22298 * math/auto-libm-test-out: Regenerated.
22299 * sysdeps/i386/fpu/libm-test-ulps: Update.
22300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22301
ef114eaf
DH
223022014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
22303
2b7f4f2c
SP
22304 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
22305 * sysdeps/unix/sysv/linux/microblaze: Move directory from
22306 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
22307 * README: Add missing listing for microblaze*-*-linux-gnu.
22308
8125aedc
AM
223092014-02-16 Ondřej Bílka <neleai@seznam.cz>
22310
22311 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
22312 duplicate code
22313
c70a4b1d
MF
223142014-02-16 Mike Frysinger <vapier@gentoo.org>
22315
22316 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
22317 * sysdeps/unix/sysv/linux/ia64: Move directory from
22318 ports/sysdeps/unix/sysv/linux/ia64.
22319 * README: Update listing for ia64-*-linux-gnu.
22320
591aeaf7
TD
223212014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
22322 Joseph Myers <joseph@codesourcery.com>
22323
22324 * Makeconfig (test-name): New variable.
22325 (evaluate-test): Likewise.
22326 * Makerules (do-test-clean): Remove .test-result files.
22327 (common-mostlyclean): Likewise.
22328 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
22329 * scripts/evaluate-test.sh: New file.
22330
6e89caf1
JM
223312014-02-14 Joseph Myers <joseph@codesourcery.com>
22332
7f98f180
JM
22333 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
22334 separate $(objpfx)tst-fopenloc-cmp.out and
22335 $(objpfx)tst-fopenloc-mem.out targets.
22336 (tests): Update dependencies.
22337 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
22338 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
22339 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
22340 (tst-rxspencer-no-utf8-ARGS): New variable.
22341 (tst-rxspencer-no-utf8-ENV): Likewise.
22342 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
22343 instead of $(objpfx)tst-rxspencer-mem.
22344 ($(objpfx)tst-rxspencer-mem): Change target to
22345 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
22346 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
22347 * posix/tst-rxspencer-no-utf8.c: New file.
22348
6e89caf1
JM
22349 * elf/Makefile ($(objpfx)order.out): Remove rule.
22350 [$(run-built-tests) = yes] (tests): Depend on
22351 $(objpfx)order-cmp.out.
22352 ($(objpfx)order-cmp.out): New rule.
22353 [$(run-built-tests) = yes] (tests): Depend on
22354 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
22355 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
22356 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
22357 $(objpfx)tst-array5-static-cmp.out.
22358 ($(objpfx)tst-array1.out): Remove rule.
22359 ($(objpfx)tst-array1-cmp.out): New rule.
22360 ($(objpfx)tst-array1-static.out): Remove rule.
22361 ($(objpfx)tst-array1-static-cmp.out): New rule.
22362 ($(objpfx)tst-array2.out): Remove rule.
22363 ($(objpfx)tst-array2-cmp.out): New rule.
22364 ($(objpfx)tst-array3.out): Remove rule.
22365 ($(objpfx)tst-array3-cmp.out): New rule.
22366 ($(objpfx)tst-array4.out): Remove rule.
22367 ($(objpfx)tst-array4-cmp.out): New rule.
22368 ($(objpfx)tst-array5.out): Remove rule.
22369 ($(objpfx)tst-array5-cmp.out): New rule.
22370 ($(objpfx)tst-array5-static.out): Remove rule.
22371 ($(objpfx)tst-array5-static-cmp.out): New rule.
22372 [$(run-built-tests) = yes] (tests): Depend on
22373 $(objpfx)order2-cmp.out.
22374 ($(objpfx)order2.out): Remove rule.
22375 ($(objpfx)order2-cmp.out): New rule.
22376 ($(objpfx)tst-initorder.out): Remove rule.
22377 [$(run-built-tests) = yes] (tests): Depend on
22378 $(objpfx)tst-initorder-cmp.out.
22379 ($(objpfx)tst-initorder-cmp.out): New rule.
22380 ($(objpfx)tst-initorder2.out): Remove rule.
22381 [$(run-built-tests) = yes] (tests): Depend on
22382 $(objpfx)tst-initorder2-cmp.out.
22383 ($(objpfx)tst-initorder2-cmp.out): New rule.
22384 [$(run-built-tests) = yes] (tests): Depend on
22385 $(objpfx)tst-unused-dep-cmp.out.
22386 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
22387 ($(objpfx)tst-unused-dep-cmp.out): New rule.
22388 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
22389 on $(objpfx)tst-setvbuf1-cmp.out.
22390 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
22391 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
22392 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
22393 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
22394 ($(objpfx)tst-svc.out): Remove rule.
22395 ($(objpfx)tst-svc-cmp.out): New rule.
22396
ed9a38e2
JM
223972014-02-13 Joseph Myers <joseph@codesourcery.com>
22398
22399 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
22400 * ctype/ctype.h [__USE_MISC]: Likewise.
22401 * dirent/dirent.h [__USE_MISC]: Likewise.
22402 * grp/grp.h [__USE_MISC]: Likewise.
22403 * io/fcntl.h [__USE_MISC]: Likewise.
22404 * io/sys/stat.h [__USE_MISC]: Likewise.
22405 * libio/stdio.h [__USE_MISC]: Likewise.
22406 * posix/unistd.h [__USE_MISC]: Likewise.
22407 * pwd/pwd.h [__USE_MISC]: Likewise.
22408 * stdlib.h [__USE_MISC]: Likewise.
22409 * string/bits/string2.h [__USE_MISC]: Likewise.
22410 * string/string.h [__USE_MISC]: Likewise.
22411 * time/time.h [__USE_MISC]: Likewise.
22412
d6680619
AS
224132014-02-13 Andreas Schwab <schwab@suse.de>
22414
22415 [BZ #16574]
22416 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
22417 second answer buffer if it was separately allocated.
22418
ace614b8
JM
224192014-02-12 Joseph Myers <joseph@codesourcery.com>
22420
743151ae
JM
22421 * sysdeps/mips/math-tests.h: Include <features.h>.
22422 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22423 (ROUNDING_TESTS_long_double): Do not define.
22424 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22425 (EXCEPTION_TESTS_long_double): Likewise.
22426 * sysdeps/mips/mips64/libm-test-ulps: Update.
22427
498afc54
JM
22428 * include/features.h (__USE_BSD): Remove macro definitions.
22429 (__USE_SVID): Likewise.
22430 (_BSD_SOURCE): Likewise.
22431 (_SVID_SOURCE): Likewise.
22432 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
22433 from definition of _DEFAULT_SOURCE.
22434 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
22435 [_DEFAULT_SOURCE].
22436 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
22437 * bits/mman.h [__USE_BSD]: Likewise.
22438 * bits/termios.h [__USE_BSD]: Likewise.
22439 * bits/waitstatus.h [__USE_BSD]: Likewise.
22440 * ctype/ctype.h [__USE_SVID]: Likewise.
22441 * dirent/dirent.h [__USE_BSD]: Likewise.
22442 * grp/grp.h [__USE_SVID]: Likewise.
22443 [__USE_BSD]: Likewise.
22444 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
22445 * io/fcntl.h [__USE_BSD]: Likewise.
22446 * io/ftw.h [__USE_BSD]: Likewise.
22447 * io/sys/stat.h [__USE_BSD]: Likewise.
22448 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
22449 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
22450 * libio/stdio.h [__USE_SVID]: Likewise.
22451 [__USE_BSD]: Likewise.
22452 * math/math.h [__USE_SVID]: Likewise.
22453 [__USE_BSD]: Likewise.
22454 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
22455 * misc/bits/syslog.h [__USE_BSD]: Likewise.
22456 * misc/search.h [__USE_SVID]: Likewise.
22457 * misc/sys/mman.h [__USE_BSD]: Likewise.
22458 * misc/sys/syslog.h [__USE_BSD]: Likewise.
22459 * misc/sys/uio.h [__USE_BSD]: Likewise.
22460 * posix/bits/unistd.h [__USE_BSD]: Likewise.
22461 * posix/glob.h [__USE_BSD]: Likewise.
22462 * posix/regex.h [__USE_BSD]: Likewise.
22463 * posix/sys/types.h [__USE_BSD]: Likewise.
22464 [__USE_SVID]: Likewise.
22465 * posix/sys/utsname.h [__USE_SVID]: Likewise.
22466 * posix/sys/wait.h [__USE_BSD]: Likewise.
22467 [__USE_SVID]: Likewise.
22468 * posix/unistd.h [__USE_BSD]: Likewise.
22469 [__USE_SVID]: Likewise.
22470 * pwd/pwd.h [__USE_SVID]: Likewise.
22471 * resolv/netdb.h [__USE_BSD]: Likewise.
22472 * setjmp/setjmp.h [__USE_BSD]: Likewise.
22473 * signal/signal.h [__USE_BSD]: Likewise.
22474 [__USE_SVID]: Likewise.
22475 * socket/sys/socket.h [__USE_BSD]: Likewise.
22476 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
22477 * stdlib/stdlib.h [__USE_BSD]: Likewise.
22478 [__USE_SVID]: Likewise.
22479 * string/bits/string2.h [__USE_BSD]: Likewise.
22480 [__USE_SVID]: Likewise.
22481 * string/bits/string3.h [__USE_BSD]: Likewise.
22482 * string/endian.h [__USE_BSD]: Likewise.
22483 * string/string.h [__USE_SVID]: Likewise.
22484 [__USE_BSD]: Likewise.
22485 * string/strings.h [__USE_BSD]: Likewise.
22486 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
22487 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
22488 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
22489 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
22490 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
22491 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
22492 Likewise.
22493 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
22494 Likewise.
22495 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
22496 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
22497 Likewise.
22498 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
22499 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
22500 Likewise.
22501 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
22502 Likewise.
22503 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
22504 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
22505 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
22506 Likewise.
22507 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
22508 Likewise.
22509 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
22510 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
22511 * termios/termios.h [__USE_BSD]: Likewise.
22512 * time/sys/time.h [__USE_BSD]: Likewise.
22513 * time/time.h [__USE_BSD]: Likewise.
22514 [__USE_SVID]: Likewise.
22515
dd7b064c
JM
22516 * Makefile (subdir_targets): Remove subdir_lint.out.
22517
a2c4c199
JM
22518 * stdio-common/Makefile (do-tst-unbputc): Remove target.
22519 (do-tst-printf): Likewise.
22520 (tests): Depend directly on $(objpfx)tst-unbputc.out and
22521 $(objpfx)tst-printf.out.
22522
8756f740
JM
22523 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
22524
1b6dd3f1
JM
22525 * Makerules (check-abi-%): Change target to
22526 $(objpfx)check-abi-%.out.
22527 (check-abi target): Update dependencies.
22528 (check-abi-pattern variable): Redirect output of diff to $@.
22529 (check-abi variable): Likewise.
22530 * elf/Makefile (check-abi): Update dependencies.
22531
ace614b8
JM
22532 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
22533 unused.
22534 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
22535 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
22536 subnormal range.
22537 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
22538 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
22539 value has largest subnormal exponent.
22540 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
22541 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
22542 * sysdeps/aarch64/soft-fp/sfp-machine.h
22543 (_FP_TININESS_AFTER_ROUNDING): New macro.
22544 * sysdeps/alpha/soft-fp/sfp-machine.h
22545 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22546 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22547 Likewise.
22548 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
22549 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22550 * sysdeps/mips/soft-fp/sfp-machine.h
22551 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22552 * sysdeps/powerpc/soft-fp/sfp-machine.h
22553 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22554 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22555 Likewise.
22556 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22557 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22558 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22559 (_FP_TININESS_AFTER_ROUNDING): Likewise.
22560 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22561 Likewise.
22562
fbfdf9cb
DAS
225632014-02-12 Dylan Alex Simon <dylan@dylex.net>
22564
22565 [BZ #16545]
22566 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
22567 model 1.
22568
68b7efaa
RH
225692014-02-12 Richard Henderson <rth@redhat.com>
22570
c70a4b1d 22571 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
22572 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
22573 * sysdeps/unix/sysv/linux/alpha: Move directory from
22574 ports/sysdeps/unix/sysv/linux/alpha.
22575 * README: Update listing for alpha-*-linux-gnu.
22576
cb4a2928
JM
225772014-02-11 Joseph Myers <joseph@codesourcery.com>
22578
c941736c
JM
22579 * include/features.h: Update comment documenting feature test
22580 macros.
22581 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
22582 _DEFAULT_SOURCE.
22583 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
22584 (_SVID_SOURCE): Likewise.
22585 (_DEFAULT_SOURCE): Update description of default features.
22586 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
22587 with _GNU_SOURCE.
22588 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
22589 (S_ISVTX): Likewise.
22590 * manual/math.texi (Mathematical Constants): Likewise.
22591 * manual/signal.texi (Interrupted Primitives): Likewise.
22592 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
22593 * math/test-matherr.c (_SVID_SOURCE): Do not define.
22594 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
22595 Don't refer to _SVID_SOURCE in warning text.
22596
e8d8d7ec
JM
22597 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22598
cb4a2928
JM
22599 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
22600 already defined.
22601 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
22602 * sysdeps/mips/dl-lookup.c: Remove.
22603 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
22604
7e6424e3
AK
226052014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22606
22607 [BZ #16447]
22608 * math/auto-libm-test-in: Add testcase for expl.
22609 * math/auto-libm-test-out: Regenerate.
22610 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
22611 calculation of unsafe.
22612 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
22613
75eff3fe
MS
226142014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
22615
22616 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
22617 * sysdeps/unix/sysv/linux/aarch64: Move directory from
22618 ports/sysdeps/unix/sysv/linux/aarch64.
22619 * README: Update listing for aarch64*-*-linux-gnu.
22620
d35f1e80
WN
226212014-02-11 Will Newton <will.newton@linaro.org>
22622
22623 * manual/probes.texi (Mathematical Function Probes): Use
22624 "triggered" instead of "hit".
22625
7b3436d4
WN
22626 * manual/probes.texi (Internal Probes): Add documentation
22627 of setjmp, longjmp and longjmp_target probes.
22628
b4f12ca3
WN
22629 * include/stap-probe.h: Add comment about probe argument
22630 format.
22631
c13a72b7
WN
22632 * malloc/mtrace.c (attribute_hidden): Remove unused macro
22633 definition. (tr_where, tr_freehook, tr_mallochook,
22634 tr_reallochook, tr_memalignhook): Use ANSI protoype.
22635
195b8165
DM
226362014-02-11 David S. Miller <davem@davemloft.net>
22637
22638 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
22639 processing int_tests.
22640
2ad7600b
JM
226412014-02-10 Joseph Myers <joseph@codesourcery.com>
22642
22643 * sysdeps/mips: Move directory from ports/sysdeps/mips.
22644 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
22645 * sysdeps/unix/sysv/linux/mips: Move directory from
22646 ports/sysdeps/unix/sysv/linux/mips.
22647 * README: Update listing for mips-*-linux-gnu and
22648 mips64-*-linux-gnu.
22649
73588a72
AS
226502014-02-10 Andreas Schwab <schwab@linux-m68k.org>
22651
22652 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
22653 * sysdeps/unix/sysv/linux/m68k: Move directory from
22654 ports/sysdeps/unix/sysv/linux/m68k.
22655 * README: Update listing for m68k-*-linux-gnu.
22656
4372980f
CM
226572014-02-10 Chris Metcalf <cmetcalf@tilera.com>
22658
22659 * sysdeps/tile: Move directory from ports/sysdeps/tile.
22660 * sysdeps/unix/sysv/linux/generic: Move directory from
22661 ports/sysdeps/unix/sysv/linux/generic.
22662 * sysdeps/unix/sysv/linux/tile: Move directory from
22663 ports/sysdeps/unix/sysv/linux/tile.
22664 * README: Update listing for tile*-*-linux-gnu.
22665
a1ffb40e
OB
226662014-02-10 Ondřej Bílka <neleai@seznam.cz>
22667
57f41c40
AS
22668 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
22669 __builtin_expect.
a1ffb40e
OB
22670 * benchtests/bench-memmem.c (simple_memmem): Likewise.
22671 * catgets/open_catalog.c (__open_catalog): Likewise.
22672 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
22673 * debug/confstr_chk.c: Likewise.
22674 * debug/fread_chk.c (__fread_chk): Likewise.
22675 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
22676 * debug/getgroups_chk.c: Likewise.
22677 * debug/mbsnrtowcs_chk.c: Likewise.
22678 * debug/mbsrtowcs_chk.c: Likewise.
22679 * debug/mbstowcs_chk.c: Likewise.
22680 * debug/memcpy_chk.c: Likewise.
22681 * debug/memmove_chk.c: Likewise.
22682 * debug/mempcpy_chk.c: Likewise.
22683 * debug/memset_chk.c: Likewise.
22684 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22685 * debug/strcat_chk.c (__strcat_chk): Likewise.
22686 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
22687 * debug/strncat_chk.c (__strncat_chk): Likewise.
22688 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
22689 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
22690 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
22691 * debug/wcpncpy_chk.c: Likewise.
22692 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22693 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
22694 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
22695 * debug/wcsncpy_chk.c: Likewise.
22696 * debug/wcsnrtombs_chk.c: Likewise.
22697 * debug/wcsrtombs_chk.c: Likewise.
22698 * debug/wcstombs_chk.c: Likewise.
22699 * debug/wmemcpy_chk.c: Likewise.
22700 * debug/wmemmove_chk.c: Likewise.
22701 * debug/wmempcpy_chk.c: Likewise.
22702 * debug/wmemset_chk.c: Likewise.
22703 * dirent/scandirat.c (SCANDIRAT): Likewise.
22704 * dlfcn/dladdr1.c (dladdr1): Likewise.
22705 * dlfcn/dladdr.c (dladdr): Likewise.
22706 * dlfcn/dlclose.c (dlclose_doit): Likewise.
22707 * dlfcn/dlerror.c (__dlerror): Likewise.
22708 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
22709 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
22710 * dlfcn/dlopen.c (dlopen_doit): Likewise.
22711 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
22712 * dlfcn/dlsym.c (dlsym_doit): Likewise.
22713 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
22714 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
22715 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
22716 Likewise.
22717 * elf/dl-conflict.c: Likewise.
22718 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
22719 * elf/dl-dst.h: Likewise.
22720 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
22721 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
22722 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
22723 * elf/dl-init.c (call_init, _dl_init): Likewise.
22724 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
22725 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
22726 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
22727 Likewise.
a1ffb40e
OB
22728 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
22729 Likewise.
22730 * elf/dl-minimal.c (__libc_memalign): Likewise.
22731 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
22732 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22733 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
22734 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
22735 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
22736 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
22737 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
22738 * elf/dl-writev.h (_dl_writev): Likewise.
22739 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
22740 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
22741 (dl_main): Likewise.
a1ffb40e
OB
22742 * elf/setup-vdso.h (setup_vdso): Likewise.
22743 * grp/compat-initgroups.c (compat_call): Likewise.
22744 * grp/fgetgrent.c (fgetgrent): Likewise.
22745 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
22746 * grp/putgrent.c (putgrent): Likewise.
22747 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22748 Likewise.
22749 * hurd/hurdinit.c: Likewise.
22750 * iconvdata/8bit-gap.c (struct): Likewise.
22751 * iconvdata/ansi_x3.110.c : Likewise.
22752 * iconvdata/big5.c : Likewise.
22753 * iconvdata/big5hkscs.c : Likewise.
22754 * iconvdata/cp1255.c: Likewise.
22755 * iconvdata/cp1258.c : Likewise.
22756 * iconvdata/cp932.c : Likewise.
22757 * iconvdata/euc-cn.c: Likewise.
22758 * iconvdata/euc-jisx0213.c : Likewise.
22759 * iconvdata/euc-jp.c: Likewise.
22760 * iconvdata/euc-jp-ms.c : Likewise.
22761 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
22762 * iconvdata/gb18030.c : Likewise.
22763 * iconvdata/gbbig5.c (const): Likewise.
22764 * iconvdata/gbgbk.c: Likewise.
22765 * iconvdata/gbk.c : Likewise.
22766 * iconvdata/ibm1364.c : Likewise.
22767 * iconvdata/ibm930.c : Likewise.
22768 * iconvdata/ibm932.c: Likewise.
22769 * iconvdata/ibm933.c : Likewise.
22770 * iconvdata/ibm935.c : Likewise.
22771 * iconvdata/ibm937.c : Likewise.
22772 * iconvdata/ibm939.c : Likewise.
22773 * iconvdata/ibm943.c: Likewise.
22774 * iconvdata/iso_11548-1.c: Likewise.
22775 * iconvdata/iso-2022-cn.c : Likewise.
22776 * iconvdata/iso-2022-cn-ext.c : Likewise.
22777 * iconvdata/iso-2022-jp-3.c: Likewise.
22778 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
22779 * iconvdata/iso-2022-kr.c : Likewise.
22780 * iconvdata/iso646.c (gconv_end): Likewise.
22781 * iconvdata/iso_6937-2.c : Likewise.
22782 * iconvdata/iso_6937.c : Likewise.
22783 * iconvdata/iso8859-1.c: Likewise.
22784 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
22785 * iconvdata/shift_jisx0213.c : Likewise.
22786 * iconvdata/sjis.c : Likewise.
22787 * iconvdata/t.61.c : Likewise.
22788 * iconvdata/tcvn5712-1.c : Likewise.
22789 * iconvdata/tscii.c: Likewise.
22790 * iconvdata/uhc.c : Likewise.
22791 * iconvdata/unicode.c (gconv_end): Likewise.
22792 * iconvdata/utf-16.c (gconv_end): Likewise.
22793 * iconvdata/utf-32.c (gconv_end): Likewise.
22794 * iconvdata/utf-7.c (base64): Likewise.
22795 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
22796 * iconv/gconv_close.c (__gconv_close): Likewise.
22797 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
22798 * iconv/gconv_simple.c (internal_ucs4_loop_single)
22799 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
22800 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
22801 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
22802 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
22803 * iconv/iconv.c (iconv): Likewise.
22804 * iconv/iconv_close.c: Likewise.
22805 * iconv/loop.c (SINGLE): Likewise.
22806 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
22807 * include/atomic.h: Likewise.
22808 * inet/inet6_option.c (option_alloc): Likewise.
22809 * intl/bindtextdom.c (set_binding_values): Likewise.
22810 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
22811 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
22812 * intl/localealias.c (read_alias_file): Likewise.
22813 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
22814 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
22815 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
22816 * libio/fmemopen.c (fmemopen): Likewise.
22817 * libio/iofgets.c (_IO_fgets): Likewise.
22818 * libio/iofgets_u.c (fgets_unlocked): Likewise.
22819 * libio/iofgetws.c (fgetws): Likewise.
22820 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
22821 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
22822 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
22823 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
22824 * locale/findlocale.c (_nl_find_locale): Likewise.
22825 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
22826 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
22827 Likewise.
22828 * locale/setlocale.c (setlocale): Likewise.
22829 * login/programs/pt_chown.c (main): Likewise.
22830 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
22831 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
22832 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
22833 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
22834 * math/e_exp2l.c: Likewise.
22835 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
22836 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
22837 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
22838 * math/s_catan.c (__catan): Likewise.
22839 * math/s_catanf.c (__catanf): Likewise.
22840 * math/s_catanh.c (__catanh): Likewise.
22841 * math/s_catanhf.c (__catanhf): Likewise.
22842 * math/s_catanhl.c (__catanhl): Likewise.
22843 * math/s_catanl.c (__catanl): Likewise.
22844 * math/s_ccosh.c (__ccosh): Likewise.
22845 * math/s_ccoshf.c (__ccoshf): Likewise.
22846 * math/s_ccoshl.c (__ccoshl): Likewise.
22847 * math/s_cexp.c (__cexp): Likewise.
22848 * math/s_cexpf.c (__cexpf): Likewise.
22849 * math/s_cexpl.c (__cexpl): Likewise.
22850 * math/s_clog10.c (__clog10): Likewise.
22851 * math/s_clog10f.c (__clog10f): Likewise.
22852 * math/s_clog10l.c (__clog10l): Likewise.
22853 * math/s_clog.c (__clog): Likewise.
22854 * math/s_clogf.c (__clogf): Likewise.
22855 * math/s_clogl.c (__clogl): Likewise.
22856 * math/s_csin.c (__csin): Likewise.
22857 * math/s_csinf.c (__csinf): Likewise.
22858 * math/s_csinh.c (__csinh): Likewise.
22859 * math/s_csinhf.c (__csinhf): Likewise.
22860 * math/s_csinhl.c (__csinhl): Likewise.
22861 * math/s_csinl.c (__csinl): Likewise.
22862 * math/s_csqrt.c (__csqrt): Likewise.
22863 * math/s_csqrtf.c (__csqrtf): Likewise.
22864 * math/s_csqrtl.c (__csqrtl): Likewise.
22865 * math/s_ctan.c (__ctan): Likewise.
22866 * math/s_ctanf.c (__ctanf): Likewise.
22867 * math/s_ctanh.c (__ctanh): Likewise.
22868 * math/s_ctanhf.c (__ctanhf): Likewise.
22869 * math/s_ctanhl.c (__ctanhl): Likewise.
22870 * math/s_ctanl.c (__ctanl): Likewise.
22871 * math/w_pow.c: Likewise.
22872 * math/w_powf.c: Likewise.
22873 * math/w_powl.c: Likewise.
22874 * math/w_scalb.c (sysv_scalb): Likewise.
22875 * math/w_scalbf.c (sysv_scalbf): Likewise.
22876 * math/w_scalbl.c (sysv_scalbl): Likewise.
22877 * misc/error.c (error_tail): Likewise.
22878 * misc/pselect.c (__pselect): Likewise.
22879 * nis/nis_callback.c (__nis_create_callback): Likewise.
22880 * nis/nis_call.c (__nisfind_server): Likewise.
22881 * nis/nis_creategroup.c (nis_creategroup): Likewise.
22882 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
22883 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
22884 * nis/nis_getservlist.c (nis_getservlist): Likewise.
22885 * nis/nis_lookup.c (nis_lookup): Likewise.
22886 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
22887 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
22888 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 22889 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
22890 * nis/nss_compat/compat-grp.c (getgrent_next_file)
22891 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
22892 * nis/nss_compat/compat-initgroups.c (add_group)
22893 (internal_getgrent_r): Likewise.
22894 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
22895 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
22896 * nis/nss_compat/compat-spwd.c (getspent_next_file)
22897 (internal_getspnam_r): Likewise.
22898 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
22899 (_nss_nis_getaliasbyname_r): Likewise.
22900 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
22901 (_nss_nis_getntohost_r): Likewise.
22902 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
22903 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
22904 (_nss_nis_getgrgid_r): Likewise.
22905 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
22906 (internal_nis_gethostent_r, internal_gethostbyname2_r)
22907 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
22908 (_nss_nis_gethostbyname4_r): Likewise.
22909 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
22910 (initgroups_netid): Likewise.
a1ffb40e 22911 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
22912 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
22913 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
22914 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
22915 (_nss_nis_getprotobynumber_r): Likewise.
22916 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
22917 (_nss_nis_getsecretkey): Likewise.
22918 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
22919 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
22920 (_nss_nis_getpwuid_r): Likewise.
22921 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
22922 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
22923 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
22924 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
22925 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
22926 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
22927 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
22928 Likewise.
57f41c40
AS
22929 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
22930 (_nss_nisplus_getntohost_r): Likewise.
22931 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
22932 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
22933 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
22934 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 22935 Likewise.
57f41c40
AS
22936 * nis/nss_nisplus/nisplus-initgroups.c
22937 (_nss_nisplus_initgroups_dyn): Likewise.
22938 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
22939 (_nss_nisplus_getnetbyaddr_r): Likewise.
22940 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
22941 (_nss_nisplus_getprotobynumber_r): Likewise.
22942 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
22943 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
22944 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
22945 Likewise.
57f41c40
AS
22946 * nis/nss_nisplus/nisplus-service.c
22947 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
22948 (_nss_nisplus_getservbyport_r): Likewise.
22949 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
22950 (_nss_nisplus_getspnam_r): Likewise.
22951 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
22952 Likewise.
a1ffb40e
OB
22953 * nscd/aicache.c (addhstaiX): Likewise.
22954 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
22955 * nscd/connections.c (register_traced_file, send_ro_fd)
22956 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
22957 (main_loop_epoll): Likewise.
a1ffb40e
OB
22958 * nscd/grpcache.c (addgrbyX): Likewise.
22959 * nscd/hstcache.c (addhstbyX): Likewise.
22960 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22961 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
22962 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
22963 (addinnetgrX): Likewise.
22964 * nscd/nscd-client.h (__nscd_acquire_maplock)
22965 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
22966 * nscd/nscd_getai.c (__nscd_getai): Likewise.
22967 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22968 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
22969 Likewise.
22970 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
22971 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
22972 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
22973 (__nscd_get_map_ref): Likewise.
a1ffb40e 22974 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
22975 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
22976 Likewise.
a1ffb40e
OB
22977 * nscd/pwdcache.c (addpwbyX): Likewise.
22978 * nscd/selinux.c (preserve_capabilities): Likewise.
22979 * nscd/servicescache.c (addservbyX): Likewise.
22980 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
22981 * posix/fnmatch.c (fnmatch): Likewise.
22982 * posix/getopt.c (_getopt_internal_r): Likewise.
22983 * posix/glob.c (glob, glob_in_dir): Likewise.
22984 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
22985 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
22986 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
22987 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
22988 * resolv/res_init.c: Likewise.
22989 * resolv/res_mkquery.c (res_nmkquery): Likewise.
22990 * resolv/res_query.c (__libc_res_nquery): Likewise.
22991 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
22992 Likewise.
22993 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
22994 * stdio-common/perror.c (perror): Likewise.
22995 * stdio-common/printf_fp.c (___printf_fp): Likewise.
22996 * stdio-common/tmpnam.c (tmpnam): Likewise.
22997 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22998 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
22999 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23000 Likewise.
a1ffb40e
OB
23001 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
23002 * stdlib/putenv.c (putenv): Likewise.
23003 * stdlib/setenv.c (__add_to_environ): Likewise.
23004 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23005 * stdlib/strtol_l.c (INTERNAL): Likewise.
23006 * string/memmem.c (memmem): Likewise.
23007 * string/strerror.c (strerror): Likewise.
23008 * string/strnlen.c (__strnlen): Likewise.
23009 * string/test-memmem.c (simple_memmem): Likewise.
23010 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
23011 * sunrpc/pm_getport.c (__get_socket): Likewise.
23012 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
23013 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
23014 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
23015 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
23016 Likewise.
23017 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
23018 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23019 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
23020 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
23021 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
23022 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
23023 Likewise.
23024 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
23025 Likewise.
a1ffb40e
OB
23026 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
23027 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
23028 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23029 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23030 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
23031 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
23032 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
23033 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
23034 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
23035 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
23036 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23037 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
23038 Likewise.
23039 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
23040 Likewise.
23041 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
23042 Likewise.
23043 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
23044 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23045 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
23046 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
23047 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
23048 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
23049 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23050 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
23051 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
23052 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
23053 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
23054 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23055 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
23056 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
23057 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
23058 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
23059 Likewise.
a1ffb40e
OB
23060 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
23061 Likewise.
23062 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
23063 Likewise.
23064 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
23065 Likewise.
23066 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23067 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23068 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
23069 Likewise.
23070 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
23071 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
23072 * sysdeps/posix/opendir.c (__opendirat): Likewise.
23073 * sysdeps/posix/sleep.c: Likewise.
23074 * sysdeps/posix/tempname.c: Likewise.
23075 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
23076 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23077 Likewise.
57f41c40
AS
23078 * sysdeps/powerpc/powerpc32/dl-machine.h
23079 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
23080 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
23081 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23082 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
23083 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
23084 Likewise.
23085 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
23086 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
23087 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23088 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
23089 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
23090 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
23091 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
23092 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
23093 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23094 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
23095 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
23096 (elf_machine_lazy_rel): Likewise.
a1ffb40e 23097 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
23098 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
23099 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
23100 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
23101 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
23102 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
23103 * sysdeps/unix/grantpt.c (grantpt): Likewise.
23104 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
23105 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
23106 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
23107 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23108 Likewise.
23109 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
23110 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
23111 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
23112 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
23113 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23114 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23115 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
23116 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
23117 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
23118 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23119 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23120 Likewise.
23121 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
23122 (__posix_fallocate64_l64): Likewise.
23123 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
23124 (posix_fallocate): Likewise.
57f41c40
AS
23125 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
23126 Likewise.
a1ffb40e 23127 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
23128 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
23129 (getifaddrs_internal): Likewise.
a1ffb40e
OB
23130 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
23131 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
23132 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
23133 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
23134 * sysdeps/unix/sysv/linux/posix_fallocate64.c
23135 (__posix_fallocate64_l64): Likewise.
23136 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
23137 Likewise.
23138 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
23139 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
23140 (__get_clockfreq): Likewise.
a1ffb40e
OB
23141 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
23142 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
23143 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
23144 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23145 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23146 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
23147 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
23148 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
23149 Likewise.
23150 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
23151 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
23152 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
23153 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
23154 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23155 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
23156 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
23157 Likewise.
23158 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23159 (posix_fallocate): Likewise.
23160 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23161 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
23162 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
23163 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
23164 (elf_machine_rela, elf_machine_rela_relative)
23165 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
23166 * time/asctime.c (asctime_internal): Likewise.
23167 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
23168 * time/tzset.c (__tzset_parse_tz): Likewise.
23169 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23170 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
23171 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
23172 * wcsmbs/wcsmbsload.h: Likewise.
23173
f3d338c9
OB
23174 [BZ #15894]
23175 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
23176
57f41c40
AS
23177 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
23178 (arena_get2): Remove THREAD_STATS conditionals.
23179 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
23180 (__malloc_stats, int): Likewise.
bdfe308a 23181
d674667c
MF
231822014-02-08 Mike Frysinger <vapier@gentoo.org>
23183
23184 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
23185 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
23186
6349768c
MF
23187 * manual/setjmp.texi: Fix typos/grammar errors.
23188
0b7c7473
MF
23189 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
23190 Only return early when n is <= 0. Delete unused return statement.
23191
ac8cc9e3
MF
23192 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
23193 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
23194 * debug/tst-longjmp_chk3.c: New file.
23195
c5bb8e23
MF
23196 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
23197 (test_main): Replace code with set_fortify_handler call.
23198 * debug/test-strcpy_chk.c: Likewise.
23199 * debug/tst-chk1.c: Likewise.
23200 * debug/tst-longjmp_chk.c: Likewise.
23201 * test-skeleton.c: Include fcntl.h & paths.h
23202 (set_fortify_handler): Define.
23203
10444e42
MF
23204 * debug/tst-longjmp_chk.c: Add header comment and include
23205 ../test-skeleton.c.
23206 (do_test): Mark static.
23207 (TEST_FUNCTION): Define.
23208
1e805e8d
MF
23209 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
23210 (IP_PMTUDISC_INTERFACE): Likewise.
23211 (IP_MULTICAST_IF): Likewise.
23212 (IP_MULTICAST_TTL): Likewise.
23213 (IP_MULTICAST_LOOP): Likewise.
23214 (IP_ADD_MEMBERSHIP): Likewise.
23215 (IP_DROP_MEMBERSHIP): Likewise.
23216 (IP_UNBLOCK_SOURCE): Likewise.
23217 (IP_BLOCK_SOURCE): Likewise.
23218 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
23219 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
23220 (IP_MSFILTER): Likewise.
23221 (MCAST_JOIN_GROUP): Likewise.
23222 (MCAST_BLOCK_SOURCE): Likewise.
23223 (MCAST_UNBLOCK_SOURCE): Likewise.
23224 (MCAST_LEAVE_GROUP): Likewise.
23225 (MCAST_JOIN_SOURCE_GROUP): Likewise.
23226 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
23227 (MCAST_MSFILTER): Likewise.
23228 (IP_MULTICAST_ALL): Likewise.
23229 (IP_UNICAST_IF): Likewise.
23230
73f79bb7
MF
23231 * timezone/Makefile: Delete $(have-ksh) check.
23232 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
23233 * timezone/tzselect.ksh: Add +x mode bits.
23234
8da79b60
MF
23235 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
23236 (ANON_INODE_FS_MAGIC): Likewise.
23237 (BDEVFS_MAGIC): Likewise.
23238 (BINFMTFS_MAGIC): Likewise.
23239 (BTRFS_TEST_MAGIC): Likewise.
23240 (CRAMFS_MAGIC_WEND): Likewise.
23241 (DEBUGFS_MAGIC): Likewise.
23242 (ECRYPTFS_SUPER_MAGIC): Likewise.
23243 (EXT3_SUPER_MAGIC): Likewise.
23244 (EXT4_SUPER_MAGIC): Likewise.
23245 (FUTEXFS_SUPER_MAGIC): Likewise.
23246 (HOSTFS_SUPER_MAGIC): Likewise.
23247 (HUGETLBFS_MAGIC): Likewise.
23248 (MINIX3_SUPER_MAGIC): Likewise.
23249 (MTD_INODE_FS_MAGIC): Likewise.
23250 (NILFS_SUPER_MAGIC): Likewise.
23251 (OPENPROM_SUPER_MAGIC): Likewise.
23252 (PIPEFS_MAGIC): Likewise.
23253 (PSTOREFS_MAGIC): Likewise.
23254 (QNX6_SUPER_MAGIC): Likewise.
23255 (RAMFS_MAGIC): Likewise.
23256 (REISERFS_SUPER_MAGIC_STRING): Likewise.
23257 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
23258 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
23259 (SECURITYFS_MAGIC): Likewise.
23260 (SELINUX_MAGIC): Likewise.
23261 (SMACK_MAGIC): Likewise.
23262 (SOCKFS_MAGIC): Likewise.
23263 (SQUASHFS_MAGIC): Likewise.
23264 (STACK_END_MAGIC): Likewise.
23265 (TMPFS_MAGIC): Likewise.
23266 (USBDEVICE_SUPER_MAGIC): Likewise.
23267 (V9FS_MAGIC): Likewise.
23268 (XENFS_SUPER_MAGIC): Likewise.
23269 (CRAMFS_MAGIC): Fix typo in comment.
23270 (EXT2_SUPER_MAGIC): Update comment.
23271 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
23272
464263cc
JM
232732014-02-08 Joseph Myers <joseph@codesourcery.com>
23274
c6bfe5c4
JM
23275 * sysdeps/arm: Move directory from ports/sysdeps/arm.
23276 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
23277 * sysdeps/unix/sysv/linux/arm: Move directory from
23278 ports/sysdeps/unix/sysv/linux/arm.
23279 * README: Update listing for arm-*-linux-gnueabi.
23280
464263cc
JM
23281 * README: Remove mention of am33.
23282
32749f6c
RM
232832014-02-07 Roland McGrath <roland@hack.frob.com>
23284
23285 * bits/sigset.h (__sigemptyset): Use a statement expression rather
23286 than the comma operator, to avoid "rhs of comma has no effect"
23287 compiler warnings.
23288 (__sigfillset, __sigandset, __sigorset): Likewise.
23289 * include/signal.h (__sigemptyset): Likewise.
23290 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
23291
d5b396c1
AM
232922014-02-07 Allan McRae <allan@archlinux.org>
23293
23294 * version.h (RELEASE): Set to "development".
23295 (VERSION): Set to "2.19.90"
23296 * NEWS: Add 2.20 section.
23297
3bfff2ed
CD
232982014-02-06 Carlos O'Donell <carlos@redhat.com>
23299
23300 [BZ #16529]
23301 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
23302
ee7cc385
SP
233032014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23304
23305 * manual/contrib.texi: Update entry for Carlos O'Donell,
23306 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
23307
f877c4f2
CD
233082014-02-05 Carlos O'Donell <carlos@rehdat.com>
23309
27e839f6
CD
23310 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
23311
f877c4f2
CD
23312 * sysdeps/unix/sysv/linux/kernel-features.h
23313 [__LINUX_KERNEL_VERSION >= 0x020621]
23314 (__ASSUME_PROC_PID_TASK_COMM): Define.
23315
68159946
SP
233162014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23317
ba17cdbd
SP
23318 [BZ #16398]
23319 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
23320 conversion when destination buffer does not have enough space.
23321 * libio/tst-ftell-partial-wide.c: New test case.
23322 * libio/Makefile (tests): Add tst-ftell-partial-wide.
23323
68159946
SP
23324 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
23325 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
23326 Leonard and Allan McRae.
23327
2b528732
DM
233282014-02-04 David S. Miller <davem@davemloft.net>
23329
23330 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
23331 32-bit.
23332
0ff82463
AZ
233332014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23334
57f41c40
AS
23335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
23336 New file
c01603f7
AZ
23337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
23338 New file
57f41c40
AS
23339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
23340 New file.
23341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
23342 New file.
c01603f7
AZ
23343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
23344 New file.
57f41c40
AS
23345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
23346 New file.
23347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
23348 New file.
c01603f7
AZ
23349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
23350 New file.
23351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
23352 New file.
23353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
23354 New file.
23355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
23356 New file.
23357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
23358 New file.
23359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
23360 New file.
23361
233622014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23363
0ff82463
AZ
23364 * nptl/shlib-versions: Change powerpc*le start to 2.17.
23365 * shlib-versions: Likewise.
23366
1695c773
AZ
233672014-02-04 Roland McGrath <roland@hack.frob.com>
23368 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23369
23370 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
23371 (abilist-pattern): New variable, set to %-le.abilist.
23372
23373 * Makerules (abilist-pattern): New variable.
23374 (vpath): Use $(abilist-pattern) in place of %.abilist.
23375 (check-abi-% pattern rule): Likewise.
23376 (check-abi, update-abi): Likewise.
23377
6c0ce4b4
EW
233782014-02-04 Eric Wong <normalperson@yhbt.net>
23379
23380 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23381
481e3524
CD
233822014-02-03 Carlos O'Donell <carlos@redhat.com>
23383
23384 * manual/startup.texi: Add next, previous, and top entries for
23385 the `Program Arguments' and `Environment Variables' nodes.
23386
375592d3
AO
233872014-02-03 Alexandre Oliva <aoliva@redhat.com>
23388
23389 * manual/macros.texi: Add comments before MTASC-safety macros.
23390
f54838ba
AO
23391 * manual/users.texi: Document MTASC-safety properties.
23392
57f41c40
AS
23393 * manual/threads.texi (pthread_key_create, pthread_key_delete)
23394 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
23395 @deftypefun, and add @safety note.
23396 * manual/signal.texi: Move comments that analyze the above
23397 functions to their home place.
23398
fd3daba4
AM
233992014-02-03 Allan McRae <allan@archlinux.org>
23400
23401 * po/sl.po: Update Slovenian translation from translation project.
23402
597636d7
AO
234032014-02-02 Alexandre Oliva <aoliva@redhat.com>
23404
23405 * manual/time.texi (timegm): Add missing blank after @c.
23406 Reported by Joseph Myers <joseph@codesourcery.com>.
23407
ee196e3c
AO
234082014-02-01 Alexandre Oliva <aoliva@redhat.com>
23409
23410 * manual/check-safety.sh: New.
23411 * manual/Makefile ($(objpfx)stamp-summary): Run it.
23412
f8d529d5
AO
23413 * manual/terminal.texi: Document MTASC-safety properties.
23414
de55fdf4
AO
23415 * manual/filesys.texi: Document MTASC-safety properties.
23416
c3299c08
AO
23417 * manual/errno.texi: Document MTASC-safety properties.
23418
06e90b14
AO
23419 * manual/intro.texi: Document safety identifiers and
23420 conditionals.
23421
1acd4371
AO
23422 * manual/string.texi (wcstok): Fix prototype.
23423 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
23424
23e5b8cb
AO
23425 * manual/time.texi: Document MTASC-safety properties.
23426
11087373
AO
23427 * manual/string.texi: Document MTASC-safety properties.
23428
5da2c93d
AO
23429 * manual/threads.texi: Document MTASC-safety properties.
23430
171e9210
AO
23431 * manual/stdio.texi: Document MTASC-safety properties.
23432
d9e02532
AO
23433 * manual/syslog.texi: Document MTASC-safety properties.
23434
6af8bab7
AO
23435 * manual/sysinfo.texi: Document MTASC-safety properties.
23436
663b02d7
AO
23437 * manual/startup.texi: Document MTASC-safety properties.
23438
973f180b
AO
23439 * manual/socket.texi: Document MTASC-safety properties.
23440
8f3c25c8
AO
23441 * manual/signal.texi: Document MTASC-safety properties.
23442
542210fb
AO
234432014-01-31 Alexandre Oliva <aoliva@redhat.com>
23444
23445 * manual/setjmp.texi: Document MTASC-safety properties.
23446
433c45a2
AO
23447 * manual/search.texi: Document MTASC-safety properties.
23448
c8ce789c
AO
23449 * manual/resource.texi: Document MTASC-safety properties.
23450
19f5d29c
AO
23451 * manual/process.texi: Document MTASC-safety properties.
23452
e2dfb7f4
AO
23453 * manual/platform.texi: Document MTASC-safety properties.
23454
8c1413f5
AO
23455 * manual/pipe.texi: Document MTASC-safety properties.
23456
03483ada
AO
23457 * manual/pattern.texi: Document MTASC-safety properties.
23458
29e7e2df
AO
23459 * manual/message.texi: Document MTASC-safety properties.
23460
9f529d7c
AO
23461 [BZ #12751]
23462 * manual/memory.texi: Document MTASC-safety properties.
23463
27aaa791
AO
23464 * manual/math.texi: Document MTASC-safety properties.
23465
f2d58726
AO
23466 * manual/locale.texi: Document MTASC-safety properties.
23467
2cc3615c
AO
23468 * manual/llio.texi: Document MTASC-safety properties.
23469
d9f0ec97
AO
23470 * manual/libdl.texi: New.
23471
e7c4409a
AO
23472 * manual/lang.texi: Document MTASC-safety properties.
23473
27bdc63c
AO
23474 * manual/job.texi: Document MTASC-safety properties.
23475
a7b90ea9
AO
23476 * manual/getopt.texi: Document MTASC-safety properties.
23477
c49130e3
AO
23478 * manual/ctype.texi: Document MTASC-safety properties.
23479
0d23a5c1
MR
234802014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
23481
23482 [BZ #16046]
23483 * csu/libc-tls.c (static_map): Remove variable.
23484 (__libc_setup_tls): Use main executable's link map for TLS data.
23485 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
23486 casing for LM_ID_BASE and GL(dl_nns).
23487 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
23488 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
23489 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
23490 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
23491 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
23492 member.
23493 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
23494 l_phnum members.
23495
0037bb60
AO
234962014-01-30 Alexandre Oliva <aoliva@redhat.com>
23497
23498 * manual/debug.texi: Document MTASC-safety properties.
23499
409e00bd
L
235002014-01-29 H.J. Lu <hongjiu.lu@intel.com>
23501
23502 [BZ #16510]
23503 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
23504 of __x86_64__ when disabling x87 inline functions.
23505
86e60666
AO
235062014-01-29 Alexandre Oliva <aoliva@redhat.com>
23507
23508 * manual/charset.texi: Document MTASC-safety properties.
23509
76167637
AO
23510 * manual/crypt.texi: Document MTASC-safety properties.
23511
e567f2a0
AO
23512 * manual/conf.texi: Document MTASC-safety properties.
23513
b719dafd
AO
23514 * manual/arith.texi: Document MTASC-safety properties.
23515
4a16c662
AO
23516 * manual/argp.texi: Document MTASC-safety properties.
23517
0a57b83e
AO
23518 * manual/macros.texi: Introduce macros to document multi
23519 thread, asynchronous signal and asynchronous cancellation
23520 safety properties.
23521 * manual/intro.texi: Introduce the properties themselves.
23522
feab2397
KK
235232014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23524
23525 * sysdeps/sh/sh4/Makefile: New file.
23526
1c0d11bc
AS
235272014-01-27 Andreas Schwab <schwab@linux-m68k.org>
23528
23529 * math/gen-libm-test.pl ($srcdir): New variable.
23530 ($auto_input): Use it.
23531
af37a8a3
SP
235322014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23533
d7b00f98
SP
23534 [BZ #16506]
23535 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
23536 access beyond array bounds when parsing netgroups file.
23537
af37a8a3
SP
23538 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
23539 the old buffer before realloc.
23540
0c00f062
AM
235412014-01-27 Allan McRae <allan@archlinux.org>
23542
23543 * po/fr.po: Update French translation from translation project.
23544
7d69a1b0
KK
235452014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23546
23547 * sysdeps/sh/libm-test-ulps: Regenerate.
23548
6e697ff7
DM
235492014-01-24 David S. Miller <davem@davemloft.net>
23550
23551 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
23552
9cadb35c
KK
235532014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23554
23555 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
23556 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
23557
5d41dadf
SP
235582013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23559
23560 [BZ #16474]
23561 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
23562 string pointers after reallocation.
23563
0bad441c
KK
235642014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23565
23566 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
23567 __SH4A__ instead of __SH_FPU_ANY__.
23568
7007c661
KK
235692014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23570
23571 * sysdeps/sh/fpu_control.h: New file.
23572 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
23573 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
23574 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
23575 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
23576 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
23577 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
23578 * sysdeps/sh/sys/ucontext.h: Remove.
23579 * sysdeps/sh/sys: Remove directory.
23580
0f0c35e4
AK
235812014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23582
23583 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
23584 s390/sys/ucontext.h.
23585 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
23586 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
23587
4959e284
L
235882014-01-20 H.J. Lu <hongjiu.lu@intel.com>
23589
23590 [BZ #15605]
23591 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
23592
d98720e0
AZ
235932014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23594
23595 [BZ#16431]
23596 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23597 Adjust the vDSO correctly for internal calls.
23598 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
23599
91cbd0bc
AM
236002014-01-20 Allan McRae <allan@archlinux.org>
23601
23602 * po/ca.po: Update Catalan translation from translation project.
23603
7a02cfad
MF
236042014-01-16 Mike Frysinger <vapier@gentoo.org>
23605
23606 * sysdeps/s390/sotruss-lib.c: New file.
23607
736c304a
AZ
236082014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23609
23610 [BZ#16430]
6e077ee5 23611 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
23612 (__GI___gettimeofday): Alias for a different internal symbol to avoid
23613 local calls issues by not having a PLT stub required for IFUNC calls.
23614 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
23615
94d0cea0
JM
236162014-01-16 Joseph Myers <joseph@codesourcery.com>
23617
23618 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
23619 * math/test-fpucw-static.c: Likewise.
23620
980cb518
SP
236212013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23622
23623 [BZ #16453]
23624 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
23625
2393fc01
AZ
236262014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23627
23628 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
23629 implementation for powerpc.
23630
d359bcc2
OB
236312014-01-15 Ondřej Bílka <neleai@seznam.cz>
23632
23633 [BZ #14782]
23634 * sysdeps/posix/system.c (__libc_system): Do not enable
23635 asynchronous cancellation.
23636
7beb48cb
AK
236372014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23638
23639 [BZ #16427]
23640 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
23641 handling only for numbers special also in the IEEE case.
23642
c20d5bf5
AK
236432014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23644
23645 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23646
e83bd4ee
AM
236472014-01-11 Allan McRae <allan@archlinux.org>
23648
76d0ea69
AM
23649 * po/bg.po: Update Bulgarian translation from translation project.
23650
e83bd4ee
AM
23651 * po/de.po: Update German translation from translation project.
23652
bc2ba20a
RM
236532014-01-10 Roland McGrath <roland@hack.frob.com>
23654
23655 * sysdeps/generic/gcc-compat.h: New file.
23656
649ecea2
SP
236572014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23658
23659 * benchtests/asin-inputs: Correct slow inputs.
23660 * benchtests/acos-inputs: Likewise.
23661
1b19c006
AM
236622014-01-10 Allan McRae <allan@archlinux.org>
23663
a46dab08
AM
23664 * po:sv.po: Update Swedish translation from translation project.
23665
421df74a
AM
23666 * po/vi.po: Update Vietnamese translation from translation project.
23667
d61c51a7
AM
23668 * po/eo.po: Update Esperanto translation from translation project.
23669
0339a319
AM
23670 * po/cs.po: Update Czech translation from translation project.
23671
94ad3e99
AM
23672 * po/nl.po: Update Dutch translation from translation project.
23673
e349ca71
AM
23674 * po/pl.po: Update Polish translation from translation project.
23675
ddf930c1
AM
23676 * po/ru.po: Update Russian translation from translation project.
23677
1b19c006
AM
23678 * po/uk.po: Update Ukrainian translation from translation project.
23679
9f236c49
BM
236802014-01-08 Brooks Moses <bmoses@google.com>
23681
23682 * elf/dl-load.c: Fix comment typo.
23683
cd6701cf
CD
236842014-01-08 Carlos O'Donell <carlos@redhat.com>
23685
23686 * po/header.pot: Rename to...
23687 * po/pot.header: ... this.
23688 * po/Makefile: Use pot.header.
23689
66671c84
YK
236902014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
23691 Maxim Kuvyrkov <maxim@kugelworks.com>
23692
23693 [BZ #16394]
cd6701cf
CD
23694 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
23695 SRC and DEST against LEN.
66671c84 23696
38f34581
AZ
236972014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23698
23699 [BZ #16414]
23700 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
23701 implementation.
23702 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
23703
237042014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
23705
23706 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23707
4c327f2a
JM
237082014-01-08 Joseph Myers <joseph@codesourcery.com>
23709
23710 [BZ #16408]
23711 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
23712 for large positive arguments.
23713
b821f414
JM
237142014-01-07 Joseph Myers <joseph@codesourcery.com>
23715
1f0f2067
JM
23716 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23717
a5a326f6
JM
23718 * math/auto-libm-test-in: Mark various tests with
23719 xfail-rounding:ldbl-128ibm.
23720 * math/auto-libm-test-out: Regenerated.
23721
b821f414
JM
23722 [BZ #16407]
23723 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
23724 Increase overflow threshold.
23725
94c8a4bc
OB
237262014-01-07 Ondřej Bílka <neleai@seznam.cz>
23727
23728 [BZ #14286]
23729 * stdio-common/vfprintf.c: Check for integer overflow.
23730
87ded0c3
AK
237312014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23732
23733 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
23734 the first argument and return value of __tls_get_addr_internal.
23735
c5eebdd0
AK
237362014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23737
23738 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
23739 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
23740
05d138ef
AK
237412014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23742
23743 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
23744 * sysdeps/s390/rtld-global-offsets.sym: New file.
23745 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
23746 GLIBC_2.19 symbol.
23747 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
23748 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
23749 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
23750 ... this.
23751 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
23752 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
23753 ... this.
23754 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23755 Regenerate.
23756 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23757 Regenerate.
23758 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
23759 halfs of GPRs for high_gprs contexts.
23760 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
23761 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
23762 field.
23763 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
23764 uc_flags field.
23765 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
23766 64 bit versions:
23767 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
23768 for high GPRs (uc_high_gprs) and for future extensions
23769 (__reserved).
23770 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
23771 for future extensions (__reserved).
23772 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
23773 64 bit versions:
23774 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
23775 SC_HIGHGPRS offset definition.
23776 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
23777 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
23778
93a45ff1
AK
23779 * Versions.def: Add GLIBC_2.19 for libpthread.
23780 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
23781 siglongjmp for libpthread with GLIBC_2.19 symver.
23782 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
23783 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
23784 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
23785 * sysdeps/s390/__longjmp.c: New file.
23786 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
23787 * sysdeps/s390/longjmp.c: New file.
23788 * sysdeps/s390/setjmp.S: New file.
23789 * sysdeps/s390/sigjmp.S: New file.
23790 * sysdeps/s390/v1-longjmp.c: New file.
23791 * sysdeps/s390/v1-setjmp.h: New file.
23792 * sysdeps/s390/v1-sigjmp.c: New file.
23793 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
23794 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
23795 GLIBC_2.19 version.
23796 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
23797 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
23798 versioned symbols for ____longjmp_chk.
23799 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
23800 Likewise.
23801 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23802 Regenerate.
23803 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23804 Regenerate.
23805 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23806 Regenerate.
23807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23808 Regenerate.
23809 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
23810 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
23811 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
23812 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
23813 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
23814 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
23815 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
23816 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
23817 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
23818 * sysdeps/s390/rtld-__longjmp.c: New file.
23819 * sysdeps/s390/rtld-setjmp.S: New file.
23820
eb3fc44b
JM
238212014-01-06 Joseph Myers <joseph@codesourcery.com>
23822
23823 [BZ #16400]
23824 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23825 Return -__logl (x) for small positive arguments without evaluating
23826 a polynomial.
23827
9341dde4
MF
238282014-01-06 Mike Frysinger <vapier@gentoo.org>
23829
23830 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
23831 Rename to ...
23832 (__ptrace_peeksiginfo_args): ... this.
23833 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23834 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23835 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23836
4cff0293
AM
238372014-01-06 Allan McRae <allan@archlinux.org>
23838
23839 * inet/netinet/in.h: Fix typo in comment.
23840
75595dcf
AJ
238412014-01-05 Andreas Jaeger <aj@suse.de>
23842
23843 * sysdeps/i386/fpu/libm-test-ulps: Update.
23844
79c1e109
AM
238452014-01-05 Allan McRae <allan@archlinux.org>
23846
dd804818
AM
23847 * po/libc.pot: Regenerated.
23848
79c1e109
AM
23849 * malloc/memusagestat.c: Fix gettext call formatting.
23850
0c813d1f
SK
238512014-01-04 Sami Kerola <kerolasa@iki.fi>
23852
23853 * nscd/nscd.c: Improve usage() output.
23854
20f4a8d9
MF
238552014-01-04 Mike Frysinger <vapier@gentoo.org>
23856
23857 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
23858 * sysdeps/unix/sysv/linux/configure: Regenerated.
23859 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
23860 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
23861
22562bb2
JM
238622014-01-03 Joseph Myers <joseph@codesourcery.com>
23863
23864 [BZ #16390]
23865 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23866 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
23867
d7ad2d9b
AZ
238682014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23869
23870 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
23871 extra tokens at end of #undef directive.
23872 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23873 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
23874 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
23875
7dd009d8
JM
238762014-01-03 Joseph Myers <joseph@codesourcery.com>
23877
24db925a
JM
23878 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23879
7dd009d8
JM
23880 * math/auto-libm-test-in: Mark various tests with
23881 xfail-rounding:ldbl-128ibm.
23882 * math/auto-libm-test-out: Regenerated.
23883
396e3ecf
JM
238842014-01-02 Joseph Myers <joseph@codesourcery.com>
23885
819e5d50
JM
23886 [BZ #16386]
23887 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
23888 numbers with subnormal high part when calculating exponent.
23889
90b6a1e5
JM
23890 [BZ #16385]
23891 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
23892 fabs.
23893
396e3ecf
JM
23894 [BZ #16384]
23895 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
23896 M_LN2l.
23897 (__ieee754_acoshl): Use __log1pl not __log1p.
23898
6c8dbf00
OB
238992013-01-02 Ondřej Bílka <neleai@seznam.cz>
23900
57f41c40
AS
23901 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
23902 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
23903 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
23904 (grow_heap, heap_trim, _int_new_arena, get_free_list)
23905 (reused_arena, arena_get2): Convert to GNU style.
23906 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
23907 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
23908 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 23909 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
23910 * malloc/malloc.c (__malloc_assert, malloc_init_state)
23911 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
23912 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
23913 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
23914 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
23915 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 23916 * malloc/malloc.h: Likewise.
57f41c40
AS
23917 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
23918 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 23919 * malloc/mcheck.h: Likewise.
57f41c40
AS
23920 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
23921 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
23922 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
23923 * malloc/morecore.c (__default_morecore): Likewise.
23924 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
23925 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
23926 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
23927 (print_and_abort): Likewise.
6c8dbf00
OB
23928 * malloc/obstack.h: Likewise.
23929 * malloc/set-freeres.c (__libc_freeres): Likewise.
23930 * malloc/tst-mallocstate.c (main): Likewise.
23931 * malloc/tst-mtrace.c (main): Likewise.
23932 * malloc/tst-realloc.c (do_test): Likewise.
23933
d4124212
SP
239342013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23935
9a3c6a6f
SP
23936 [BZ #16366]
23937 * nscd/netgroupcache.c (do_notfound): New function.
23938 (addgetnetgrentX): Use it.
23939
d4124212
SP
23940 [BZ # 16365]
23941 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
23942 NSS_STATUS_NOTFOUND.
23943
97b9a009
JM
239442014-01-01 Joseph Myers <joseph@codesourcery.com>
23945
23946 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23948
d4697bc9
AM
239492014-01-01 Allan McRae <allan@archlinux.org>
23950
ddb3687f
AM
23951 * scripts/update-copyrights: Update configure input file suffix.
23952
88726d48
AM
23953 * NEWS: Update copyright year.
23954 * catgets/gencat.c: Likewise.
23955 * csu/version.c: Likewise.
23956 * debug/catchsegv.sh: Likewise.
23957 * debug/pcprofiledump.c: Likewise.
23958 * debug/xtrace.sh: Likewise.
23959 * elf/ldconfig.c: Likewise.
23960 * elf/ldd.bash.in: Likewise.
23961 * elf/pldd.c: Likewise.
23962 * elf/sotruss.ksh: Likewise.
23963 * elf/sprof.c: Likewise.
23964 * iconv/iconv_prog.c: Likewise.
23965 * iconv/iconvconfig.c: Likewise.
23966 * locale/programs/locale.c: Likewise.
23967 * locale/programs/localedef.c: Likewise.
23968 * login/programs/pt_chown.c: Likewise.
23969 * malloc/memusage.sh: Likewise.
23970 * malloc/memusagestat.c: Likewise.
23971 * malloc/mtrace.pl: Likewise.
23972 * manual/libc.texinfo: Likewise.
23973 * nscd/nscd.c: Likewise.
23974 * nss/getent.c: Likewise.
23975 * nss/makedb.c: Likewise.
23976 * posix/getconf.c: Likewise.
23977 * scripts/test-installation.pl: Likewise.
23978
d4697bc9
AM
23979 * All files with FSF copyright notices: Update copyright dates
23980 using scripts/update-copyrights.
23981 * intl/plural.c: Regenerated.
23982 * locale/programs/charmap-kw.h: Likewise.
23983 * locale/programs/locfile-kw.h: Likewise.
23984
c8590f9d
MF
239852013-12-31 Mike Frysinger <vapier@gentoo.org>
23986
23987 * sysdeps/unix/sysv/linux/configure: Regenerated.
23988 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
23989 the linux/fanotify.h header.
23990 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
23991 HAVE_LINUX_FANOTIFY_H is defined.
23992
b19221b9
SP
239932013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23994
dd1d85e5
SP
23995 * benchtests/cos-inputs: New inputs.
23996 * benchtests/sin-inputs: Likewise.
23997
1acbb90f
SP
23998 * benchtests/atan-inputs: New inputs. Fix name of multiple
23999 precision fallback inputs.
24000
4c012ed3
SP
24001 * benchtests/atanh-inputs: New inputs.
24002 * benchtests/tanh-inputs: Likewise.
24003
eff98324
SP
24004 * benchtests/acosh-inputs: New inputs.
24005 * benchtests/asinh-inputs: Likewise.
24006
ce641152
SP
24007 * benchtests/cosh-inputs: New inputs.
24008 * benchtests/sinh-inputs: Likewise.
24009
b19221b9
SP
24010 * benchtests/acos-inputs: Add more inputs.
24011 * benchtests/asin-inputs: Likewise.
24012
030a4976 240132013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 24014
030a4976 24015 [BZ #16375]
9dcc8f11
VS
24016 * manual/arith.texi: Fix spelling.
24017 * manual/charset.texi: Likewise.
24018 * manual/errno.texi: Likewise.
24019 * manual/filesys.texi: Likewise.
24020 * manual/lang.texi: Likewise.
24021 * manual/llio.texi: Likewise.
24022 * manual/locale.texi: Likewise.
24023 * manual/message.texi: Likewise.
24024 * manual/resource.texi: Likewise.
24025 * manual/search.texi: Likewise.
24026 * manual/setjmp.texi: Likewise.
24027 * manual/stdio.texi: Likewise.
24028 * manual/string.texi: Likewise.
24029 * manual/sysinfo.texi: Likewise.
24030 * manual/time.texi: Likewise.
24031
11520a57
CD
240322013-12-27 Carlos O'Donell <carlos@redhat.com>
24033
24034 * po/sl.po: New file.
24035
471103ae
MF
240362013-12-27 Mike Frysinger <vapier@gentoo.org>
24037
24038 * .gitignore: Add core/.gdbinit/.gdb_history.
24039
6c9642ed
AM
240402013-12-27 Allan McRae <allan@archlinux.org>
24041
24042 [BZ #16369]
24043 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
24044 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
24045
3f637079
BM
240462013-12-24 Brooks Moses <bmoses@google.com>
24047
24048 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
24049 all compilers that claim C++98 compliance, not just GCC.
24050 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
24051 Likewise.
24052
abc26e99
MK
240532013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
24054
24055 * NEWS: Restore accidentally deleted bug-fix entries.
24056
362b47fe
MK
240572013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
24058 Ondřej Bílka <neleai@seznam.cz>
24059
24060 [BZ #15073]
24061 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 24062 have_lock.
362b47fe 24063
b9bcbbcb
OB
240642013-12-23 Ondřej Bílka <neleai@seznam.cz>
24065
24066 [BZ #12986]
24067 * manual/stdio.texi (String Input Conversions): Clarify that character
24068 classes are not supported.
24069
fb55fcd2
AZ
240702013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24071
24072 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24073
ef7344f0
JM
240742013-12-22 Joseph Myers <joseph@codesourcery.com>
24075
4f40e4b3
JM
24076 [BZ #16337]
24077 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24078 Calculate results for small negative arguments directly rather
24079 than using reflection formula with special underflow handling.
24080
ef7344f0
JM
24081 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
24082 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
24083 sysdeps/unix/bsd/bsd4.4/syscalls.list.
24084 (fchflags): Likewise.
24085 (revoke): Likewise.
24086 (setlogin): Likewise.
24087 (sigaltstack): Likewise.
24088 (wait4): Likewise.
24089 (sigblock): Remove.
24090 (sigsetmask): Likewise.
24091 (wait3): Likewise.
24092 (waitpid): Likewise.
24093 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
24094 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
24095 file.
24096 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
24097 * sysdeps/unix/bsd/Makefile: ... here.
24098 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
24099 * sysdeps/unix/bsd/Versions: ... here.
24100 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
24101 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
24102 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
24103 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
24104 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
24105 * sysdeps/unix/bsd/sigblock.c: ... here.
24106 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
24107 * sysdeps/unix/bsd/sigsetmask.c: ... here.
24108 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
24109 * sysdeps/unix/bsd/sigvec.c: ... here.
24110 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
24111 * sysdeps/unix/bsd/tcdrain.c: ... here.
24112 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
24113 * sysdeps/unix/bsd/tcgetattr.c: ... here.
24114 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
24115 * sysdeps/unix/bsd/tcsetattr.c: ... here.
24116 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
24117 * sysdeps/unix/bsd/wait.c: ... here.
24118 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
24119 * sysdeps/unix/bsd/wait3.c: ... here.
24120 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
24121 * sysdeps/unix/bsd/waitpid.c: ... here.
24122
5b0626b9
JM
241232013-12-21 Joseph Myers <joseph@codesourcery.com>
24124
24125 [BZ #16356]
24126 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
24127 round-to-nearest for [!USE_AS_EXPM1L].
24128 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
24129 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
24130 more tests of exp and exp10. Expect some exp10 tests to miss
24131 exceptions or fail in directed rounding modes.
24132 * math/auto-libm-test-out: Regenerated.
24133 * math/libm-test.inc (exp10_tonearest_test_data): New array.
24134 (exp10_test_tonearest): New function.
24135 (exp10_towardzero_test_data): New array.
24136 (exp10_test_towardzero): New function.
24137 (exp10_downward_test_data): New array.
24138 (exp10_test_downward): New function.
24139 (exp10_upward_test_data): New array.
24140 (exp10_test_upward): New function.
24141 (main): Call the new functions.
24142 * sysdeps/i386/fpu/libm-test-ulps: Update.
24143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24144
7fda5682
JM
241452013-12-20 Joseph Myers <joseph@codesourcery.com>
24146
31e3a405
JM
24147 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24148 asinh, atan, atan2, atanh, cbrt, cos and cosh.
24149 * math/auto-libm-test-out: Regenerated.
24150 * math/libm-test.inc (acosh_test_data): Add more tests.
24151 (atanh_test_data): Likewise.
24152 (ceil_test_data): Likewise.
24153 (copysign_test_data): Likewise.
24154 * sysdeps/i386/fpu/libm-test-ulps: Update.
24155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24156
85bff96a
JM
24157 * timezone/checktab.awk: Update from tzcode 2013i.
24158 * timezone/private.h: Likewise.
24159 * timezone/scheck.c: Likewise.
24160 * timezone/tzfile.h: Likewise.
24161 * timezone/tzselect.ksh: Likewise.
24162 * timezone/zdump.c: Likewise.
24163 * timezone/zic.c: Likewise.
24164
b7867a3b
JM
24165 * math/auto-libm-test-in: Add tests of cpow.
24166 * math/auto-libm-test-out: Regenerated.
24167 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 24168 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
24169 mpc_cc_c.
24170 (func_calc_desc): Add mpc_cc_c union field.
24171 (test_functions): Add cpow.
24172 (special_fill_2pi): New function.
24173 (special_real_inputs): Add 2pi.
24174 (calc_generic_results): Handle mpc_cc_c.
24175 * sysdeps/i386/fpu/libm-test-ulps: Update.
24176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24177
7fda5682
JM
24178 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
24179 csqrt, ctan and ctanh.
24180 * math/auto-libm-test-out: Regenerated.
24181 * math/libm-test.inc (TEST_COND_x86_64): New macro.
24182 (TEST_COND_x86): Likewise.
24183 (ccos_test_data): Use AUTO_TESTS_c_c.
24184 (ccosh_test_data): Likewise.
24185 (cexp_test_data): Likewise.
24186 (clog_test_data): Likewise.
24187 (csqrt_test_data): Likewise.
24188 (ctan_test_data): Likewise.
24189 (ctan_tonearest_test_data): Likewise.
24190 (ctan_towardzero_test_data): Likewise.
24191 (ctan_downward_test_data): Likewise.
24192 (ctan_upward_test_data): Likewise.
24193 (ctanh_test_data): Likewise.
24194 (ctanh_tonearest_test_data): Likewise.
24195 (ctanh_towardzero_test_data): Likewise.
24196 (ctanh_downward_test_data): Likewise.
24197 (ctanh_upward_test_data): Likewise.
24198 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24199 mpc_c_c.
24200 (func_calc_desc): Add mpc_c_c union field.
24201 (FUNC_mpc_c_c): New macro.
24202 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
24203 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
24204 ctanh.
24205 (special_fill_min_subnorm_p120): New function.
24206 (special_real_inputs): Add min_subnorm_p120.
24207 (calc_generic_results): Handle mpc_c_c.
24208 * sysdeps/i386/fpu/libm-test-ulps: Update.
24209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24210
5ff8d60e
SP
242112013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24212
57f41c40
AS
24213 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
24214 (do_sin_slow): New functions.
24215 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
24216 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 24217
84ba214c
SP
24218 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
24219 Use M to change sign of result instead of X. Assume X is
24220 positive.
24221 (csloww1): Likewise.
24222 (__sin): Adjust.
24223 (__cos): Adjust.
24224
975195e4
SP
24225 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
24226 arguments A and DA.
24227 (__sin): Adjust.
24228 (__cos): Likewise.
24229
5ff8d60e
SP
24230 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
24231 (__cos): Likewise.
24232 (sloww1): Don't adjust sign of DX.
24233 (csloww1): Likewise.
24234 (sloww2): Use X directly and don't adjust sign of DX.
24235 (csloww2): Likewise.
24236
eb983568
JM
242372013-12-19 Joseph Myers <joseph@codesourcery.com>
24238
64a17f1a
JM
24239 * math/auto-libm-test-in: Add tests of cabs and carg.
24240 * math/auto-libm-test-out: Regenerated.
24241 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
24242 (carg_test_data): Likewise.
24243 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24244 mpc_c_f.
24245 (func_calc_desc): Add mpc_c_f union field.
24246 (test_functions): Add cabs and carg.
24247 (calc_generic_results): Handle mpc_c_f.
24248
eb983568
JM
24249 * sysdeps/powerpc/powerpc32/libgcc-compat.S
24250 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
24251 as a macro and a compat symbol.
24252 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
24253 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
24254 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
24255 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
24256 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
24257 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
24258 not use .hidden.
24259 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
24260 Likewise.
24261 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
24262 Likewise.
24263 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
24264 Likewise.
24265 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
24266 Likewise.
24267 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
24268 Likewise.
24269 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
24270 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
24271 from GLIBC_2.3.2.
24272
6eeb678a
AZ
242732013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24274
24275 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24276
6f6fc482
JM
242772013-12-19 Joseph Myers <joseph@codesourcery.com>
24278
21fea2e2
JM
24279 * manual/texinfo.tex: Update to version 2013-11-26.10 with
24280 trailing whitespace removed.
24281 * scripts/config.guess: Update to version 2013-11-29.
24282 * scripts/config.sub: Update to version 2013-10-01.
24283
6f6fc482
JM
24284 * math/auto-libm-test-in: Add tests of sincos.
24285 * math/auto-libm-test-out: Regenerated.
24286 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
24287 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24288 mpfr_f_11.
24289 (func_calc_desc): Add mpfr_f_11 union field.
24290 (test_functions): Add sincos.
24291 (calc_generic_results): Handle mpfr_f_11.
24292 * sysdeps/i386/fpu/libm-test-ulps: Update.
24293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24294
83f5c32d
AS
242952013-12-19 Andreas Schwab <schwab@suse.de>
24296
24297 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
24298 CALL_MCOUNT.
24299 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24300 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
24301 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
24302
c688b419
JM
243032013-12-19 Joseph Myers <joseph@codesourcery.com>
24304
335ee092
JM
24305 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
24306 * sysdeps/i386/fpu/libm-test-ulps: Update.
24307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24308
f88acd39
JM
24309 [BZ #16293]
24310 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
24311 round-to-nearest mode when using frndint.
24312 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
24313 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
24314 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24315 Likewise.
24316 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
24317 sinh test to fail.
24318 * math/auto-libm-test-out: Regenerated.
24319 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
24320 (TEST_COND_x86): Likewise.
24321 (expm1_tonearest_test_data): New array.
24322 (expm1_test_tonearest): New function.
24323 (expm1_towardzero_test_data): New array.
24324 (expm1_test_towardzero): New function.
24325 (expm1_downward_test_data): New array.
24326 (expm1_test_downward): New function.
24327 (expm1_upward_test_data): New array.
24328 (expm1_test_upward): New function.
24329 (main): Run the new test functions.
24330 * sysdeps/i386/fpu/libm-test-ulps: Update.
24331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24332
c688b419
JM
24333 * include/features.h: Update comment documenting feature test
24334 macros. Mention _DEFAULT_SOURCE in comment.
24335 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
24336 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
24337 _BSD_SOURCE and _SVID_SOURCE.
24338 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
24339 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
24340 !_SVID_SOURCE]: Likewise.
24341 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24342 (__USE_POSIX_IMPLICITLY): Define.
24343 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24344 (_POSIX_SOURCE): Undefine and redefine.
24345 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24346 (_POSIX_C_SOURCE): Likewise.
24347 * manual/creature.texi (_DEFAULT_SOURCE): Document.
24348 (Feature Test Macros): Update documentation of default features.
24349
9f6e964c
RS
243502013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24351
24352 * benchtests/Makefile: Add bench-strtok.
24353 * benchtests/bench-strtok.c: New file: strtok benchtest.
24354
ee0a148a
AM
243552013-12-19 Allan McRae <allan@archlinux.org>
24356
24357 * manual/install.texi: Suppress menu for plain text output.
24358 * INSTALL: Regenerated.
24359
b9ab448f
BM
243602013-12-18 Brooks Moses <bmoses@google.com>
24361
24362 [BZ #15846]
24363 * misc/getauxval.c: Include errno.h.
24364 (__getauxval): Set errno to ENOENT if the requested type is not
24365 found.
24366 * misc/sys/auxv.h (getauxval): Document that it may set errno;
24367 don't declare with __attribute_const__.
24368 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
24369 * manual/startup.texi: Document that getauxval sets errno.
24370
23776487
JM
243712013-12-18 Joseph Myers <joseph@codesourcery.com>
24372
f889953b
JM
24373 * math/auto-libm-test-in: Add tests of jn and yn.
24374 * math/auto-libm-test-out: Regenerated.
24375 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
24376 (yn_test_data): Likewise.
24377 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24378 mpfr_if_f.
24379 (func_calc_desc): Add mpfr_if_f union field.
24380 (FUNC_mpfr_if_f): New macro.
24381 (test_functions): Add jn and yn.
24382 (calc_generic_results): Assert type of second input for
24383 mpfr_ff_f. Handle mpfr_if_f.
24384 (output_for_one_input_case): Disable all checking for arguments
24385 fitting floating-point types in case of an integer argument.
24386 * sysdeps/i386/fpu/libm-test-ulps: Update.
24387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24388
23776487
JM
24389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24390 Don't expect fegetround reference in libm.so.
24391
cb756c6d
MS
243922013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24393
24394 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
24395 $(config-cflags-nofma).
24396
2dec468f
JM
243972013-12-18 Joseph Myers <joseph@codesourcery.com>
24398
5953eb3a
JM
24399 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
24400 * math/auto-libm-test-out: Regenerated.
24401
2dec468f
JM
24402 [BZ #16338]
24403 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
24404 to determine exponent and adjust argument to have exponent of -1.
24405 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
24406 log2.
24407 * math/auto-libm-test-out: Regenerated.
24408 * sysdeps/i386/fpu/libm-test-ulps: Update.
24409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24410
4d84e6ad
OB
244112013-12-18 Ondřej Bílka <neleai@seznam.cz>
24412
24413 * manual/probes.texi: Remove cases when per-thread arenas are
24414 disabled.
24415
1818483b
AS
244162013-12-18 Andreas Schwab <schwab@suse.de>
24417
24418 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
24419 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
24420 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
24421 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
24422 * sysdeps/i386/i686/multiarch/Makefile: Update.
24423 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
24424
25de95bf
JM
244252013-12-17 Joseph Myers <joseph@codesourcery.com>
24426
24427 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
24428 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
24429
674762d9
PE
244302013-12-17 Paul Eggert <eggert@cs.ucla.edu>
24431
ed27ed83 24432 [BZ #15968]
0748546f
PE
24433 Support TZ transition times < 00:00:00.
24434 This is needed for version-3 tz-format files; it supports time
24435 stamps past 2037 for America/Godthab (the only entry in the tz
24436 database for which this change is relevant).
24437 * manual/time.texi (TZ Variable): Document transition times
24438 from -167:59:59 through -00:00:01.
24439 * time/tzset.c (tz_rule): Time of day is now signed.
24440 (__tzset_parse_tz): Parse negative time of day.
24441
4480e934
PE
24442 Document TZ transition times >= 25:00:00.
24443 * manual/time.texi (TZ Variable): Document transition times from
24444 25:00:00 through 167:59:59. These are already supported, and this
24445 support will help with version-3 tz-format files.
24446
69947401
PE
24447 * manual/time.texi (TZ Variable): Modernize North America example
24448 to reflect current (i.e., 2007-and-later) daylight saving rules.
24449
674762d9
PE
24450 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
24451
7011c262
JM
244522013-12-17 Joseph Myers <joseph@codesourcery.com>
24453
2fc6557e
JM
24454 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
24455 * sysdeps/unix/bsd/bits/stat.h: Likewise.
24456 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
24457 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24458 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
24459 * sysdeps/unix/bsd/bsdstat.h: Likewise.
24460 * sysdeps/unix/bsd/clock.c: Likewise.
24461 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
24462 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
24463 * sysdeps/unix/bsd/init-posix.c: Likewise.
24464 * sysdeps/unix/bsd/poll.c: Likewise.
24465 * sysdeps/unix/bsd/ptsname.c: Likewise.
24466 * sysdeps/unix/bsd/seekdir.c: Likewise.
24467 * sysdeps/unix/bsd/setegid.c: Likewise.
24468 * sysdeps/unix/bsd/seteuid.c: Likewise.
24469 * sysdeps/unix/bsd/setgid.c: Likewise.
24470 * sysdeps/unix/bsd/setrgid.c: Likewise.
24471 * sysdeps/unix/bsd/setruid.c: Likewise.
24472 * sysdeps/unix/bsd/setsid.c: Likewise.
24473 * sysdeps/unix/bsd/setuid.c: Likewise.
24474 * sysdeps/unix/bsd/sigaction.c: Likewise.
24475 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
24476 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
24477 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
24478 * sysdeps/unix/bsd/telldir.c: Likewise.
24479 * sysdeps/unix/bsd/times.c: Likewise.
24480 * sysdeps/unix/bsd/usleep.c: Likewise.
24481
029c7b25
JM
24482 * misc/Makefile (install-lib): Remove libbsd-compat.a.
24483 ($(objpfx)libbsd-compat.a): Remove rule.
24484
7011c262
JM
24485 * include/features.h (__FAVOR_BSD): Do not define.
24486 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
24487 features conflicting with POSIX.
24488 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
24489 (_BSD_SOURCE): Remove description of not being a subset of other
24490 feature test macros.
24491 * manual/job.texi (getpgrp): Do not document BSD version.
24492 (getpgid): Do not document by reference to BSD getpgrp.
24493 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
24494 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
24495 * signal/signal.h [__FAVOR_BSD]: Likewise.
24496 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
24497 instead of making contents conditional on [__FAVOR_BSD].
24498 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
24499
affb6f78
AZ
245002013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24501
24502 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24503
c88769dd
JM
245042013-12-17 Joseph Myers <joseph@codesourcery.com>
24505
6432a540
JM
24506 [BZ #16314]
24507 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
24508 values below 2**-450, not 2**-500.
24509 * math/auto-libm-test-in: Don't allow spurious underflow from
24510 hypot.
24511 * math/auto-libm-test-out: Regenerated.
24512
c88769dd
JM
24513 [BZ #16316]
24514 [BZ #16330]
24515 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
24516 values of ha and hb and sort them after adjusting subnormal
24517 arguments.
24518 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
24519 Likewise.
24520 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
24521 values of ea and eb and sort them after adjusting subnormal
24522 arguments.
24523 * math/auto-libm-test-in: Do not expect some hypot tests of
24524 subnormals to fail. Add more hypot tests.
24525 * math/auto-libm-test-out: Regenerated.
24526
29618f6b
KK
245272013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24528
24529 [BZ #13304]
24530 * sysdeps/sh/s_fma.c: New file.
24531 * sysdeps/sh/s_fmaf.c: New file.
24532 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
24533 version.
24534 * sysdeps/sh/Implies: Add sh/soft-fp.
24535
eacfdfbf
RM
245362013-12-16 Roland McGrath <roland@hack.frob.com>
24537
24538 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
24539 level of indirection to members `objname', `errstring', `malloced'.
24540 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
24541 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
24542 it as the __longjmp argument (just pass 1 instead).
24543 (_dl_catch_error): Initialize C with argument pointers and address of
24544 volatile local ERRCODE rather than copying values out of C at return.
24545
ff362e5b
JM
245462013-12-16 Joseph Myers <joseph@codesourcery.com>
24547
24548 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
24549 * math/auto-libm-test-out: Regenerated.
24550 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
24551 (hypot_test_data): Likewise.
24552 (pow_test_data): Likewise.
24553 (pow_tonearest_test_data): Likewise.
24554 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24555 mpfr_ff_f.
24556 (func_calc_desc): Add mpfr_ff_f union field.
24557 (FUNC_mpfr_ff_f): New macro.
24558 (test_functions): Add atan2, hypot and pow.
24559 (special_fill_min): New function.
24560 (special_fill_minus_min): Likewise.
24561 (special_fill_min_subnorm): Likewise.
24562 (special_fill_minus_min_subnorm): Likewise.
24563 (special_real_inputs): Add min, -min, min_subnorm and
24564 -min_subnorm.
24565 (calc_generic_results): Handle mpfr_ff_f.
24566 * sysdeps/i386/fpu/libm-test-ulps: Update.
24567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24568
5764c27f
WN
245692013-12-16 Will Newton <will.newton@linaro.org>
24570
24571 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
24572 (Aligned Memory Blocks): Add documentation for aligned_alloc
24573 and suggest it as an alternative to posix_memalign.
24574 (Hooks for Malloc): Document __memalign_hook is also called
24575 for aligned_alloc. (Summary of Malloc): Add summary for
24576 aligned alloc. Document __memalign_hook is also called
24577 for aligned_alloc.
24578
0a096e44
WN
245792013-12-16 Will Newton <will.newton@linaro.org>
24580
24581 * manual/memory.texi (Malloc Examples): Clarify default
24582 alignment documentation. Suggest posix_memalign rather
24583 than memalign or valloc.
24584 (Aligned Memory Blocks): Remove suggestion to use memalign
24585 or valloc. Remove obsolete comment about BSD.
24586 Document memalign errno values and mark the function obsolete.
24587 Document posix_memalign returned error codes. Mark valloc
24588 as obsolete. (Hooks for Malloc): __memalign_hook is also
24589 called for posix_memalign and valloc.
24590 (Summary of Malloc): Add posix_memalign to function summary.
24591 __memalign_hook is also called for posix_memalign and valloc.
24592
8d561986
SP
245932013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24594
24595 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
24596 TAYLOR_SIN.
24597 (__sin): Adjust.
24598 (__cos): Likewise.
24599 (sloww): Use mynumber union. Expand ternary operator into
24600 if-else statements.
24601 (cslow): use mynumber union.
24602
73616a74
AM
246032013-12-16 Allan McRae <allan@archlinux.org>
24604
9e8ac24b
AM
24605 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
24606 * configure: Regenerated.
24607
6f8e37eb
AM
24608 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
24609
8894bad3
AM
24610 [BZ #14120]
24611 * configure.ac: Added --enable-maintainer-mode. Check for
24612 autoconf when enabled.
24613 * configure: Regenerated.
24614
73616a74
AM
24615 * nscd/nscd.service: New file.
24616 * nscd/nscd.tmpfiles: New file.
24617
584b18eb
OB
246182013-12-14 Ondřej Bílka <neleai@seznam.cz>
24619
24620 [BZ #12100]
24621 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
24622 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
24623 * sysdeps/x86_64/multiarch/strstr.c: ... here.
24624 (strstr): Add __strstr_sse2_unaligned ifunc.
24625 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
24626 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
24627 (strcasestr): Remove __strcasestr_sse42 ifunc.
24628 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
24629 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24630 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24631
8a5c7897
KK
246322013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24633
24634 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
24635 * sysdeps/sh/bits/fenv.h: ... here.
24636 * sysdeps/sh/sh4/fpu/bits: Remove directory.
24637
fd712ef3
AZ
246382013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24639
24640 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
24641
42fcb46c
AZ
24642 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
24643 hypotf multiarch implementations.
24644 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
24645 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
24646 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
24647 multiarch hypot for PPC64.
24648 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
24649 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
24650 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
24651 multiarch hypotf for PPC64.
24652
83efded4
AZ
24653 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
24654 modff multiarch implementations.
24655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
24656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
24657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
24658 multiarch modf for PPC64.
24659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
24660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
24661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
24662 multiarch modff for PPC64.
24663
43e246d2
AZ
24664 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
24665 and logl multiarch implementations.
24666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
24667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
24668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
24669 multiarch logb for PPC64.
24670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
24671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
24672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
24673 multiarch logb for PPC64.
24674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
24675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
24676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
24677 multiarch logb for PPC64.
24678
8fdad123
AZ
24679 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
24680 isinff multiarch implementation.
24681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
24682 file.
24683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
24684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
24685 multiarch isinf for PPC64.
24686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
24687 file.
24688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
24689 multiarch isinff for PPC64.
24690
1481d706
AZ
24691 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
24692 finitef multiarch implementation.
24693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
24694 file.
24695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
24696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
24697 multiarch finite for PPC64.
24698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
24699 file.
24700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
24701 multiarch finitef for PPC64.
24702
5ccd5fc8
AZ
24703 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
24704 lrint multiarch implementation.
24705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
24706 file.
24707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
24708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
24709 multiarch llrint for PPC64.
24710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
24711 multiarch lrint for PPC64.
24712
2568f3fa
AZ
24713 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
24714 copysignf multiarch implementation.
24715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
24716 file.
24717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
24718 file.
24719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
24720 multiarch copysign for PPC64.
24721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
24722 multiarch copysignf for PPC64.
24723
1cb341fd
AZ
24724 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
24725 multiarch implementation.
24726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
24727 file.
24728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
24729 file.
24730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
24731 file.
24732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
24733 file.
24734 multiarch llround for PPC64.
24735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
24736 multiarch trunc for PPC64.
24737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
24738 multiarch truncf for PPC64.
24739
59a3e194
AZ
24740 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
24741 multiarch implementation.
24742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
24743 file.
24744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
24745 file.
24746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
24747 file.
24748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
24749 file.
24750 multiarch llround for PPC64.
24751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
24752 multiarch round for PPC64.
24753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
24754 multiarch roundf for PPC64.
24755
357fd3b4
AZ
24756 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
24757 multiarch implementation.
24758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
24759 file.
24760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
24761 file.
24762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
24763 file.
24764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
24765 file.
24766 multiarch llround for PPC64.
24767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
24768 multiarch floor for PPC64.
24769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
24770 multiarch floorf for PPC64.
24771
96770f12
AZ
24772 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
24773 multiarch implementation.
24774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
24775 file.
24776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
24777 file.
24778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
24779 file.
24780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
24781 file.
24782 multiarch llround for PPC64.
24783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
24784 multiarch ceil for PPC64.
24785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
24786 multiarch ceilf for PPC64.
24787
c3627f6e
AZ
24788 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
24789 multiarch implementation.
24790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
24791 file.
24792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
24793 file.
24794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
24795 file.
24796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
24797 multiarch llround for PPC64.
24798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
24799 multiarch lround for PPC64.
24800
b2284ad7
AZ
24801 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24802 multiarch implementation.
24803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
24804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
24805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
24806 file.
24807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
24808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
24809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
24810 multiarch isnan for PPC64.
24811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
24812 multiarch isnanf for PPC64.
24813
69bbc63d
AZ
24814 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
24815 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
24816 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
24817 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
24818 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
24819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
24820
c24517c9
AZ
24821 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
24822 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24823 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24824 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24825
a52374e8
AZ
24826 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
24827 multiarch implementations.
24828 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24829 (__libc_ifunc_impl_list): Likewise.
24830 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
24831 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
24832 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
24833 multiarch stpcpy for PPC64.
24834
7f5ec113
AZ
24835 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
24836 multiarch implementations.
24837 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24838 (__libc_ifunc_impl_list): Likewise.
24839 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
24840 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
24841 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
24842 multiarch strcpy for PPC64.
24843
e28bcd42
AZ
24844 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
24845 redefine function name.
24846 (_wordcopy_fwd_dest_aligned): Likewise.
24847 (_wordcopy_bwd_aligned): Likewise.
24848 (_wordcopy_bwd_dest_aligned): Likewise.
24849 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
24850 multiarch implementations.
24851 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24852 (__libc_ifunc_impl_list): Likewise.
24853 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
24854 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
24855 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
24856 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
24857 multiarch wcscpy for PPC64.
24858
92cacfce
AZ
24859 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
24860 multiarch implementations.
24861 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24862 (__libc_ifunc_impl_list): Likewise.
24863 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
24864 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
24865 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
24866 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
24867 multiarch wcscpy for PPC64.
24868
7b714620
AZ
24869 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
24870 multiarch implementations.
24871 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24872 (__libc_ifunc_impl_list): Likewise.
24873 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
24874 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
24875 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
24876 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
24877 multiarch wcsrchr for PPC64.
24878
16fd2ae3
AZ
24879 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
24880 multiarch implementations.
24881 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24882 (__libc_ifunc_impl_list): Likewise.
24883 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
24884 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
24885 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
24886 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
24887 multiarch wcschr for PPC64.
24888
9ee2969b
AZ
24889 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
24890 multiarch implementations.
24891 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24892 (__libc_ifunc_impl_list): Likewise.
24893 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
24894 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
24895 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
24896 multiarch strchrnul for PPC64.
24897
372dc060
AZ
24898 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
24899 implementations.
24900 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24901 (__libc_ifunc_impl_list): Likewise.
24902 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
24903 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
24904 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
24905 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
24906 strchr for PPC64.
24907
24c2c3b9
AZ
24908 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
24909 implementations.
24910 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24911 (__libc_ifunc_impl_list): Likewise.
24912 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
24913 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
24914 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
24915 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
24916 strncmp for PPC64.
24917
1c92d9a0
AZ
24918 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
24919 multiarch implementations.
24920 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24921 (__libc_ifunc_impl_list): Likewise.
24922 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
24923 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
24924 strncasecmp for PPC64.
24925 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
24926 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
24927 multiarch strncasecmp_l for PPC64.
24928
17de3ee3
AZ
24929 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
24930 multiarch implementations.
24931 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24932 (__libc_ifunc_impl_list): Likewise.
24933 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
24934 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
24935 multiarch strcasecmp for PPC64.
24936 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
24937 file.
24938 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
24939 multiarch strcasecmp_l for PPC64.
24940
62982bf9
AZ
24941 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
24942 implementations.
24943 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24944 (__libc_ifunc_impl_list): Likewise.
24945 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
24946 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
24947 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
24948 strnlen for PPC64.
24949
a65f4904
AZ
24950 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
24951 implementations.
24952 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24953 (__libc_ifunc_impl_list): Likewise.
24954 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
24955 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
24956 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
24957 strlen for PPC64.
24958
1fd005ad
AZ
24959 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
24960 implementations.
24961 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24962 (__libc_ifunc_impl_list): Likewise.
24963 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
24964 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
24965 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
24966 rawmemrchr for PPC64.
24967
cd05ba91
AZ
24968 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
24969 implementation.
24970 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24971 (__libc_ifunc_impl_list): Likewise.
24972 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
24973 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
24974 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
24975 memrchr for PPC64.
24976
870f8676
AZ
24977 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
24978 implementation.
24979 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24980 (__libc_ifunc_impl_list): Likewise.
24981 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
24982 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
24983 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
24984 memchr for PPC64.
24985
f00be62b
AZ
24986 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
24987 implementation.
24988 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24989 (__libc_ifunc_impl_list): Likewise.
24990 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
24991 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
24992 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
24993 mempcpy for PPC64.
24994
8a29a3d0
AZ
24995 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
24996 avoid cretion of __bzero symbol.
24997 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
24998 Likewise.
24999 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
25000 Likewise.
25001 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
25002 Likewise.
25003 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
25004 multiarch implementations.
25005 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25006 (__libc_ifunc_impl_list): Likewise.
25007 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
25008 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
25009 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
25010 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
25011 bzero for PPC32.
25012 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
25013 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
25014 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
25015 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
25016 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
25017 memset for PPC64.
25018 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
25019
07253fcf
AZ
25020 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
25021 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
25022 implementations.
25023 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25024 (__libc_ifunc_impl_list): Likewise.
25025 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
25026 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
25027 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
25028 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
25029 memcmp for PPC64.
25030
b5beafbc
AZ
25031 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
25032 multiarch for POWER/PPC64.
25033 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
25034 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
25035 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
25036 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
25037 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
25038 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
25039 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
25040 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
25041 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
25042 memcpy for PPC64.
25043
5e6a4d4b
AZ
25044 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
25045 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
25046 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
25047 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
25048 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
25049 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
25050 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
25051 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
25052 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
25053 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
25054 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
25055 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
25056 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
25057 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
25058 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
25059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
25060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
25061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
25062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
25063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
25064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
25065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
25066
ddfab6dc
KK
250672013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25068
25069 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
25070
19b5525e
SP
250712013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25072
25073 * benchtests/Makefile (bench): Add exp2 and log2.
25074 (LDLIBS-bench-exp2): Add -lm.
25075 (LDLIBS-bench-log2): Likewise.
25076 * benchtests/exp2-inputs: New inputs file.
25077 * benchtests/log2-inputs: New inputs file.
25078 * benchtests/log-inputs: Add new inputs.
25079 * benchtests/tan-inputs: Likewise.
25080
196f7f5d
SP
250812013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25082
7a74607f
SP
25083 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
25084 definition...
57f41c40
AS
25085 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
25086 (csloww2): ... from here.
7a74607f 25087
196f7f5d
SP
25088 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
25089 instead of structures.
25090 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
25091 (POLYNOMIAL): Likewise.
25092 (TAYLOR_SLOW): Likewise.
25093 (__sin): Likewise.
25094 (__cos): Likewise.
25095 (slow1): Likewise.
25096 (slow2): Likewise.
25097 (sloww): Likewise.
25098 (sloww1); Likewise.
25099 (sloww2): Likewise.
25100 (bsloww1): Likewise.
25101 (bsloww2): Likewise.
25102 (cslow2): Likewise.
25103 (csloww): Likewise.
25104 (csloww1): Likewise.
25105 (csloww2): Likewise.
25106
0dfa665c
OB
251072013-12-10 Ondřej Bílka <neleai@seznam.cz>
25108
25109 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
25110 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
25111 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
25112 * malloc/hooks.c (realloc_check): Likewise.
25113
5782a80f
OB
25114 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
25115 * malloc/arena.c: Remove PER_THREAD conditional.
25116 [!PER_THREAD]: Remove code.
25117 (ptmalloc_unlock_all2): Likewise.
25118 (ptmalloc_init): Likewise.
25119 (_int_new_arena): Likewise.
25120 (arena_get2): Likewise.
25121 * malloc/hooks.c (__malloc_get_state): Likewise.
25122 (__malloc_set_state): Likewise.
25123 * malloc/malloc.c: Likewise.
25124 (struct malloc_state): Likewise.
25125 (struct malloc_par): Likewise.
25126 (__libc_realloc): Likewise.
25127 (__libc_mallopt): Likewise.
25128
aeb95445
AZ
251292013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25130
25131 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
25132
e8349efd
OB
251332013-12-09 Ondřej Bílka <neleai@seznam.cz>
25134
25135 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
25136 macro to a function. Check for zero perturb_byte.
25137 (_int_malloc, _int_free): Remove zero perturb_byte checks.
25138
f3eeb3fc 25139 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
25140 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
25141 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
25142 force_reg by atomic_forced_read.
25143 * malloc/arena.c (ptmalloc_init): Likewise.
25144 * malloc/hooks.c (top_check): Likewise.
25145
be2f9009
AZ
251462013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25147
25148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25149
e7b914bd
MT
251502013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
25151
25152 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25153
9f0be4f8
JM
251542013-12-08 Joseph Myers <joseph@codesourcery.com>
25155
25156 * math/auto-libm-test-in: Add tests of lgamma.
25157 * math/auto-libm-test-out: Regenerated.
25158 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
25159 (M_LOG_2_SQRT_PIl): Likewise.
25160 (lgamma_test_data): Use AUTO_TESTS_f_f1.
25161 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25162 mpfr_f_f1.
25163 (func_calc_desc): Add mpfr_f_f1 union field.
25164 (ARGS1): New macro.
25165 (ARGS2): Likewise.
25166 (ARGS3): Likewise.
25167 (ARGS4): Likewise.
25168 (RET1): Likewise.
25169 (RET2): Likewise.
25170 (CALC): Likewise.
25171 (FUNC): Likewise.
25172 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
25173 (test_functions): Add lgamma.
25174 (calc_generic_results): Handle mpfr_f_f1.
25175 * sysdeps/i386/fpu/libm-test-ulps: Update.
25176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25177
24eeafdb
AZ
251782013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25179
25180 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
25181 __mpn_add_n for PowerPC64/POWER7.
25182 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
25183 __mpn_sub_n for PowerPC64/POWER7.
25184
4a2c0fd4
AZ
25185 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
25186 __mpn_addmul_1 for PowerPC64.
25187 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
25188 __mpn_submul_1 for PowerPC64.
25189 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
25190 for PowerPC64.
25191 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
25192 for PowerPC64.
25193
4b5b548c
FS
251942013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
25195
25196 [BZ #15089]
25197 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
25198
0a3ac0aa
AZ
251992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25200
25201 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
25202
ccdc8438
AZ
25203 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
25204 add multiarch folders.
25205 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
25206 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
25207 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
25208 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
25209 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
25210 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
25211 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
25212 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
25213 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
25214 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
25215 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
25216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
25217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
25218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
25219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
25220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
25221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
25222
2e973d99
AZ
25223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25224 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
25225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
25226 New file.
25227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
25228 New file.
25229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
25230 multiarch __ieee754_hypot for PowerPC32.
25231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
25232 New file.
25233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
25234 New file.
25235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
25236 multiarch __ieee754_hypotf for PowerPC32.
25237
2d9470b2
AZ
25238 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
25239 long_double_symbol only if __logbl is defined.
25240 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
25241 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
25242 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
25243 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
25244 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
25245 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
25246 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
25247 path for implementation.
25248 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
25249 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
25250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
25251 logb, and logbl multiarch implementations for PowerPC32.
25252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
25253 file.
25254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
25255 file.
25256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
25257 multiarch logb for PowerPC32.
25258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
25259 file.
25260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
25261 file.
25262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
25263 multiarch logbf for PowerPC32.
25264 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
25265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
25266 file.
25267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
25268 multiarch logbl implementation for PowerPC32.
25269
5212ffce
AZ
25270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
25271 and modff multiarch implementations.
25272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
25273 New file.
25274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
25275 New file.
25276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
25277 multiarch modf for PowerPC32.
25278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
25279 New file.
25280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
25281 New file.
25282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
25283 multiarch modff for PowerPC32.
25284
79dccf31
AZ
25285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
25286 and lrintf multiarch implementations.
25287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
25288 New file.
25289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
25290 New file.
25291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
25292 multiarch lrint for PowerPC32.
25293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
25294 file: multiarch lrintf for PowerPC32.
25295
deb66480
AZ
25296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
25297 and lroundf multiarch implementations.
25298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
25299 New file.
25300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
25301 New file.
25302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
25303 New file.
25304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
25305 multiarch lround for PowerPC32.
25306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
25307 file: multiarch lroundf for PowerPC32.
25308
264b036b
AZ
25309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25310 copysign and copysignf multiarch implementations.
25311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
25312 New file.
25313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
25314 New file.
25315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
25316 file: multiarch copysign for PowerPC32.
25317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
25318 file: multiarch copysignf for PowerPC32.
25319
d47db6c9
AZ
25320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
25321 and truncf multiarch implementations.
25322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
25323 New file.
25324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
25325 file.
25326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
25327 multiarch trunc for PowerPC32.
25328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
25329 New file.
25330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
25331 New file.
25332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
25333 multiarch truncf for PowerPC32.
25334
ddb60b5a
AZ
25335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
25336 and roundf multiarch implementations.
25337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
25338 New file.
25339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
25340 file.
25341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
25342 multiarch round for PowerPC32.
25343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
25344 New file.
25345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
25346 New file.
25347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
25348 multiarch roundf for PowerPC32.
25349
bedcf49b
AZ
25350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
25351 and floorf multiarch implementations.
25352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
25353 New file.
25354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
25355 file.
25356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
25357 multiarch floor for PowerPC32.
25358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
25359 New file.
25360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
25361 New file.
25362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
25363 multiarch floorf for PowerPC32.
25364
35ae5b40
AZ
25365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
25366 and ceilf multiarch implementations.
25367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
25368 New file.
25369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
25370 file.
25371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
25372 multiarch ceil for PowerPC32.
25373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
25374 New file.
25375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
25376 file.
25377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
25378 multiarch ceilf for PowerPC32.
25379
ae1a4cd9
AZ
25380 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
25381 is defined.
25382 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
25383 FINITEF is defined.
25384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
25385 and finitef multiarch implementations.
25386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
25387 New file.
25388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
25389 file.
25390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
25391 multiarch finite for PowerPC32.
25392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
25393 New file.
25394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
25395 file: multiarch finitef for PowerPC32.
25396
64fffd65
AZ
25397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
25398 and isinff multiarch implementations.
25399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
25400 file.
25401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
25402 file.
25403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
25404 multiarch isinf for PowerPC32.
25405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
25406 New file.
25407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
25408 multiarch isinff for PowerPC32.
25409
8e4e7ba2
AZ
25410 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
25411 alias when __isnan is defined.
25412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
25413 and isnanf multiarch implementations.
25414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
25415 file.
25416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
25417 file.
25418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
25419 file.
25420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
25421 file.
25422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
25423 multiarch isnan for PowerPC32.
25424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
25425 New file.
25426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
25427 New file.
25428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
25429 multiarch isnanf for PowerPC32.
25430
ddba588e
AZ
25431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
25432 and sqrtf multiarch implementations.
25433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
25434 file.
25435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
25436 file.
25437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
25438 multiarch sqrt for PowerPC32.
25439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
25440 file.
25441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
25442 file.
25443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
25444 multiarch sqrtf for PowerPC32.
25445
0f96a2f0
AZ
25446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
25447 and llroundf multiarch implementations.
25448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
25449 New file.
25450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
25451 New file.
25452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
25453 New file.
25454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
25455 file: multiarch llround for PowerPC32.
25456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
25457 file: multiarch llroundf for PowerPC32.
25458
c9b5d79e
AZ
25459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
25460 multiarch PowerPC32 fpu implementations.
25461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
25462 New file.
25463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
25464 New file.
25465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
25466 multiarch llrint for PowerPC32.
25467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
25468 New file.
25469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
25470 New file.
25471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
25472 file.
25473
9cbb3aab
AZ
25474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
25475
ea5a72f8
AZ
25476 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
25477 file.
25478 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
25479 file.
25480 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
25481 file.
25482 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
25483 multiarch wordcopy for PPC32.
25484 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25485 wordcopy objects.
25486 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25487 (__libc_ifunc_impl_list): Likewise.
25488 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
25489 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
25490 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
25491 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
25492 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
25493 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
25494
93be09e7
AZ
25495 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
25496 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
25497 file.
25498 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
25499 file.
25500 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
25501 file.
25502 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
25503 multiarch wcscpy for PPC32.
25504 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25505 multiarch objects.
25506 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25507 (__libc_ifunc_impl_list): Likewise.
25508 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25509 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25510 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
25511 sysdeps/powerpc/power6/wcscpy.c.
25512
bb04e529
AZ
25513 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
25514 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
25515 file.
25516 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
25517 file.
25518 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
25519 file.
25520 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
25521 multiarch wcsrchr for PPC32.
25522 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25523 multiarch objects.
25524 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25525 (__libc_ifunc_impl_list): Likewise.
25526 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25527 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25528 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
25529 sysdeps/powerpc/power6/wcsrchr.c.
25530
05b5cd1c
AZ
25531 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
25532 file.
25533 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
25534 file.
25535 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
25536 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
25537 multiarch wcschr for PPc32.
25538 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25539 multiarch objects.
25540 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25541 (__libc_ifunc_impl_list): Likewise.
25542 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
25543 * sysdeps/powerpc/power6/wcschr.c: ... to here.
25544 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
25545 sysdeps/powerpc/power6/wcschr.c.
25546
ba964147
AZ
25547 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
25548 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
25549 file.
25550 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
25551 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
25552 file: multiarch strchr for PPC32.
25553 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
25554 multiarch objects.
25555 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25556 (__libc_ifunc_impl_list): Likewise.
25557
31c81aaa
AZ
25558 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
25559 name.
25560 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
25561 file.
25562 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
25563 file.
25564 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
25565 multiarch strchrnul for PPC32.
25566 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
25567 multiarch objects.
25568 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25569 (__libc_ifunc_impl_list): Likewise.
25570
0d0607d9
AZ
25571 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
25572 file.
25573 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
25574 multiarch strncasecmp for PPC32.
25575 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
25576 file.
25577 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
25578 multiarch strncasecmp_l for PPC32.
25579 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
25580 strncasecmp multiarch objects.
25581 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25582 (__libc_ifunc_impl_list): Likewise.
25583
4dfd5c86
AZ
25584 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
25585 file.
25586 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
25587 multiarch strncasecmp for PPC32.
25588 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
25589 New file.
25590 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
25591 multiarch strcasecmp_l for PPC32.
25592 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
25593 multiarch objects.
25594 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25595 (__libc_ifunc_impl_list): Likewise.
25596
a19e01a3
AZ
25597 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
25598 file.
25599 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
25600 file.
25601 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
25602 multiarch strncmp for PPC32.
25603 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
25604 multiarch objects.
25605 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25606 (__libc_ifunc_impl_list): Likewise.
25607
ae9cf7a2
AZ
25608 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
25609 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
25610 file.
25611 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
25612 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
25613 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
25614 multiarch objects.
25615 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25616 (__libc_ifunc_impl_list): Likewise.
25617
3148bb7d
AZ
25618 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
25619 file.
25620 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
25621 file.
25622 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
25623 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
25624 multiarch objects.
25625 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25626 (__libc_ifunc_impl_list): Likewise.
25627
7af8b946
AZ
25628 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
25629 file.
25630 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
25631 file.
25632 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
25633 multiarch rawmemchr for PPC32.
25634 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
25635 multiarch objects.
25636 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25637 (__libc_ifunc_impl_list): Likewise.
25638
03a6aa6a
AZ
25639 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
25640 file.
25641 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
25642 file.
25643 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
25644 file: memrchr multiarch for PPC32.
25645 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
25646 multiarch objects.
25647 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25648 (__libc_ifunc_impl_list): Likewise.
25649
1c62e6d9
AZ
25650 * string/memchr.c (__memchr): Using macro to redefine symbol name.
25651 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
25652 file.
25653 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
25654 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
25655 multiarch memchr for PPC32.
25656 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
25657 multiarch objects.
25658 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25659 (__libc_ifunc_impl_list): Likewise.
25660
87da8bdb
AZ
25661 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
25662 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
25663 file.
25664 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
25665 file.
25666 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
25667 file: multiarch mempcpy for PPC32.
25668 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
25669 multiarch objects.
25670 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25671 (__libc_ifunc_impl_list): Likewise.
25672
20ed4714
AZ
25673 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
25674 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
25675 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
25676 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
25677 multiarch bzero for PPC32.
25678 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
25679 file.
25680 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
25681 file.
25682 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
25683 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
25684 file: multiarch memset for PPC32.
25685 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
25686 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
25687 memset multiarch objects.
25688 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25689 (__libc_ifunc_impl_list): Likewise.
25690
ab3e3a46
AZ
25691 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
25692 file.
25693 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
25694 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
25695 memcmp for PPC32.
25696 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
25697 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
25698 multiarch objects.
25699 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25700 (__libc_ifunc_impl_list): Likewise.
25701
930de6f0
AZ
25702 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
25703 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
25704 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
25705 file.
25706 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
25707 file.
25708 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
25709 file.
25710 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
25711 multiarch memcpy for PPC32.
25712 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
25713 multiarch objects.
25714 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25715 (__libc_ifunc_impl_list): Likewise.
25716
4c628e00
AZ
25717 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
25718 support multiarch for POWER/PPC32.
25719 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
25720 Likewise.
25721 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
25722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
25723 Implies file to make multiarch folder appers before the fpu and
25724 default folder for power4 configuration.
25725
f4479220
SP
257262013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25727
25728 * scripts/bench.pl: Append volatile keyword to type.
25729
8517800f
KK
257302013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25731
25732 * sysdeps/sh/sotruss-lib.c: New file.
25733 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
25734
180138f1
AZ
257352013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25736
25737 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25738
bbf37bdc
JM
257392013-12-05 Joseph Myers <joseph@codesourcery.com>
25740
e47cc4e0
JM
25741 [BZ #6810]
25742 * math/w_tgamma.c: Include <errno.h>.
25743 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
25744 * math/w_tgammaf.c: Include <errno.h>.
25745 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
25746 * math/w_tgammal.c: Include <errno.h>.
25747 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
25748 * math/auto-libm-test-in: Do not allow missing errno on tgamma
25749 underflow. Add more tgamma tests.
25750 * math/auto-libm-test-out: Regenerated.
25751 * sysdeps/i386/fpu/libm-test-ulps: Update.
25752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25753
bbf37bdc
JM
25754 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
25755 sin, sinh, tan, tanh, tgamma, y0 and y1.
25756 * math/auto-libm-test-out: Regenerated.
25757 * math/libm-test.inc (TEST_COND_x86_64): New macro.
25758 (TEST_COND_x86): Likewise.
25759 (M_E2l): Remove macro.
25760 (M_E3l): Likewise.
25761 (M_2_SQRT_PIl): Likewise.
25762 (M_SQRT_PIl): Likewise.
25763 (M_1_DIV_El): Likewise.
25764 (log_test_data): Use AUTO_TESTS_f_f.
25765 (log10_test_data): Likewise.
25766 (log1p_test_data): Likewise.
25767 (log2_test_data): Likewise.
25768 (sin_test_data): Likewise.
25769 (sin_tonearest_test_data): Likewise.
25770 (sin_towardzero_test_data): Likewise.
25771 (sin_downward_test_data): Likewise.
25772 (sin_upward_test_data): Likewise.
25773 (sinh_test_data): Likewise.
25774 (sinh_tonearest_test_data): Likewise.
25775 (sinh_towardzero_test_data): Likewise.
25776 (sinh_downward_test_data): Likewise.
25777 (sinh_upward_test_data): Likewise.
25778 (tan_test_data): Likewise.
25779 (tan_tonearest_test_data): Likewise.
25780 (tan_towardzero_test_data): Likewise.
25781 (tan_downward_test_data): Likewise.
25782 (tan_upward_test_data): Likewise.
25783 (tanh_test_data): Likewise.
25784 (tgamma_test_data): Likewise.
25785 (y0_test_data): Likewise.
25786 (y1_test_data): Likewise.
25787 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
25788 (special_real_inputs): Add pi/4.
25789 * sysdeps/i386/fpu/libm-test-ulps: Update.
25790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25791
eb5ad6b9
AZ
257922013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25793
25794 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
25795 "longjmp_target" static probes.
25796 (__longjmp): Rename to __longjmp_symbol.
25797 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25798 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
25799 on which longjmp to generate.
25800 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25801 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
25802 probe.
25803 (__sigsetjmp): Rename to __sigsetjmp_symbol.
25804 (__sigjmp_save): Rename to __sigjmp_save_symbol.
25805 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25806 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
25807 and __sigjmp_save_symbol based on which sigsetjmp to generated.
25808 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
25809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
25810 __longjmp_symbol based on which __longjmp to generate.
25811 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
25812 probe.
25813 (setjmp): Rename to setjmp_symbol.
25814 (__sigsetjmp): Rename to __sigsetjmp_symbol.
25815 (_setjmp): Rename to _setjmp_symbol.
25816 (__sigsetjmp): Rename to __sigsetjmp_symbol.
25817 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
25818 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
25819 which setjmp to generate.
25820 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
25821 "longjmp_target" static probes.
25822
d136c6dc
SP
258232013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25824
9298ecba
SP
25825 * benchtests/README: Add note about output arguments.
25826 * benchtests/bench-sincos.c: Remove file.
25827 * benchtests/sincos-inputs: New file.
25828 * scripts/bench.pl: Identify output arguments and define
25829 static variables for them.
25830
232983e9
SP
25831 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
25832
d136c6dc
SP
25833 [BZ #15941]
25834 * Makefile (INSTALL): Add install-plain.texi as the primary
25835 dependency.
25836 * manual/install-plain.texi: New file.
25837 * manual/install.texi: Include node directive only for
25838 non-plaintext output.
25839
699ff837
JM
258402013-12-04 Joseph Myers <joseph@codesourcery.com>
25841
ab07cea8
JM
25842 * stdlib/longlong.h: Update from GCC.
25843
699ff837
JM
25844 [BZ #6807]
25845 [BZ #15901]
25846 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
25847 * math/w_j0f.c (y0f): Likewise.
25848 * math/w_j0l.c (__y0l): Likewise.
25849 * math/w_j1.c (y1): Likewise.
25850 * math/w_j1f.c (y1f): Likewise.
25851 * math/w_j1l.c (__y1l): Likewise
25852 * math/w_jn.c (yn): Likewise.
25853 * math/w_jnf.c (ynf): Likewise.
25854 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
25855 Bessel function pole errors in _POSIX_ mode. Use NAN as return
25856 value for Bessel function domain errors outside _SVID_ mode.
25857 Adjust sign of return value for yn (negative integer, 0).
25858 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
25859 by zero in return for negative x and set sign appropriately for
25860 negative n.
25861 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
25862 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25863 * math/libm-test.inc (y0_test_data): Add more tests and adjust
25864 expectations in error cases.
25865 (y1_test_data): Likewise.
25866 (yn_test_data): Likewise.
25867 * sysdeps/i386/fpu/libm-test-ulps: Update.
25868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25869
5b118558
UW
258702013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25871
25872 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
25873 "64" to "64-v1". Add "64-v2".
25874 (abi-64-options): Rename to ...
25875 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
25876 (abi-64-condition): Rename to ...
25877 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
25878 (abi-64-ld-soname): Rename to ...
25879 (abi-64-v1-ld-soname): ... this.
25880 (abi-64-v2-options): Define.
25881 (abi-64-v2-condition): Likewise.
25882 (abi-64-v2-ld-soname): Likewise.
25883 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
25884 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
25885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
25886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
25887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
25888
61cd8fe4
UW
258892013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25890 Alan Modra <amodra@gmail.com>
25891
25892 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
25893 New versions for use with the ELFv2 ABI.
25894 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
25895 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
25896 declaration.
25897 (struct La_ppc64v2_retval): Likewise.
25898 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
25899 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
25900 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
25901 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
25902 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
25903 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25904 Do not save or restore CR.
25905 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
25906 (_dl_profile_resolve): Do no save or restore CR. Support extended
25907 return values for ELFv2 ABI. Fix location of FPR return registers.
25908 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
25909 updated values for _CALL_ELF == 2.
25910 (La_regs, La_retval, int_retval): Likewise.
25911
8b8a692c
UW
259122013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25913
25914 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
25915 (FRAME_MIN_SIZE_PARM): Likewise.
25916 (FRAME_BACKCHAIN): Likewise.
25917 (FRAME_CR_SAVE): Likewise.
25918 (FRAME_LR_SAVE): Likewise.
25919 (FRAME_TOC_SAVE): Likewise.
25920 (FRAME_PARM_SAVE): Likewise.
25921 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
25922 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
25923 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25924 (call_mcount_parm_offset): New macro.
25925 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
25926 (PROF): Use symbolic stack frame offsets.
25927 (TAIL_CALL_SYSCALL_ERROR): Likewise.
25928 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
25929 Redefine in terms of FRAME_MIN_SIZE.
25930 (_dl_runtime_resolve): Use symbolic stack frame offsets.
25931 (_dl_profile_resolve): Likewise. Update comment.
25932 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
25933 symbols stack frame offsets.
25934 (__sigsetjmp): Likewise.
25935 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
25936 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
25937 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
25938 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
25939
25940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
25941 (FRAME_BACKCHAIN): Remove.
25942 (FRAME_CR_SAVE): Likewise.
25943 (FRAME_LR_SAVE): Likewise.
25944 (FRAME_COMPILER_DW): Likewise.
25945 (FRAME_LINKER_DW): Likewise.
25946 (FRAME_TOC_SAVE): Likewise.
25947 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
25948 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
25949 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
25950 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
25951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
25952 (CHECK_SP): Use symbolic stack frame offsets.
25953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
25954 zone" instead of caller's parameter save area for temp storage.
25955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25956 Likewise. Also, use symbolic stack frame offsets.
25957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
25958 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
25959 our own stack frame instead of the caller's.
25960 (__socket): Use symbolic stack frame offsets.
25961
122b66de
UW
259622013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25963 Alan Modra <amodra@gmail.com>
25964
25965 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
25966 Define.
57f41c40
AS
25967 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
25968 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
25969 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
25970 New function.
25971 (elf_machine_fixup_plt): Call it.
25972 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
25973 reloc arguments.
25974 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
25975 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25976 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
25977 r2 before calling target.
25978
696caf1d
UW
259792013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
25980 Alan Modra <amodra@gmail.com>
25981
25982 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
25983 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
25984 versions of macros to support ELFv2 ABI.
25985 (LOCALENTRY): New macro.
25986 (ENTRY, EALIGN): Use it.
25987 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
25988 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
25989 fall through into ENTRY entry point.
25990 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
25991 Only define if _CALL_ELF != 2.
25992
25993 (elf_machine_matches_host): Verify ABI version matches.
25994 (RTLD_START): Use LOCALENTRY.
25995 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
25996 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
25997 (PLT_ENTRY_WORDS): New macro.
25998 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
25999 (elf_machine_runtime_setup): Support ELFv2 ABI.
26000 (elf_machine_fixup_plt): Likewise.
26001 (elf_machine_plt_conflict): Likewise.
26002 (resolve_ifunc): Likewise.
26003 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
26004 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26005 Likewise.
26006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
26007 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
26008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26009 (makecontext): Support ELFv2 ABI.
26010 * elf/elf.h (EF_PPC64_ABI): Define.
26011
d31beafa
UW
260122013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26013
57f41c40
AS
26014 * sysdeps/powerpc/powerpc64/sysdep.h
26015 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
26016 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
26017 (ENTRY) [ASSEMBLER]: ... but instead here ...
26018 (EALIGN) [ASSEMBLER]: ... and here.
26019 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
26020 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
26021 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
26022 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
26023 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
26024 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26025 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
26026 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
26027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
26028 Use PPC64_LOAD_FUNCPTR.
26029
b525166b
UW
26030 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
26031
7ec07d9a
AM
260322013-12-04 Alan Modra <amodra@gmail.com>
26033
26034 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
26035 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
26036 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
26037 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
26038
26039 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
26040 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
26041 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
26042 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
26043 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
26044 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
26045
5162e7dd
UW
260462013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26047
26048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26049 (__makecontext): Fix incorrect CFI when backtracing out of
26050 context created via makecontext.
26051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
26052 (__setcontext): Fix incorrect CFI during switch to new context.
26053 (__novec_setcontext): Likewise.
26054
19e3372b
OB
260552013-12-04 Ondřej Bílka <neleai@seznam.cz>
26056
26057 [BZ #4772]
26058 * time/strptime_l.c (__strptime_internal): Allow modifiers
26059 in strptime.
26060 * time/tst-strptime.c (day_tests): Add testcase.
26061
ecaf142d
SP
260622013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26063
26064 * scripts/bench.pl: Skip over blank lines.
26065
fbf964ae
PE
260662013-12-04 Paul Eggert <eggert@cs.ucla.edu>
26067
26068 [BZ #926]
26069 * manual/time.texi (Calendar Time): Clarify what timezone functions
26070 use.
26071
fa60a674
AZ
260722013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26073
26074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26075
d674f0ef
OB
260762013-12-04 Ondřej Bílka <neleai@seznam.cz>
26077
26078 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
26079 implementation.
26080 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
26081 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
26082 * debug/memset_chk.c (__memset_chk): Likewise.
26083 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
26084 * debug/strncpy_chk.c: Likewise.
26085
17dea188
JM
260862013-12-03 Joseph Myers <joseph@codesourcery.com>
26087
749008ff
JM
26088 [BZ #15268]
26089 [BZ #15425]
26090 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
26091 (__ieee754_exp): For possibly underflowing results, check size of
26092 result and force underflow exception if required.
26093 * math/auto-libm-test-in: Add more tests of exp.
26094 * math/auto-libm-test-out: Regenerated.
26095 * sysdeps/i386/fpu/libm-test-ulps: Update.
26096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26097
17dea188
JM
26098 [BZ #16283]
26099 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
26100 * math/w_exp2f.c (__exp2f): Likewise.
26101 * math/w_exp2l.c (__exp2l): Likewise.
26102 * math/auto-libm-test-in: Do not allow missing errno on exp2
26103 underflow.
26104 * math/auto-libm-test-out: Regenerated.
26105
b20de2c3
OB
261062013-12-03 Ondřej Bílka <neleai@seznam.cz>
26107
26108 [BZ #16274]
26109 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
26110 handle filename validation.
26111 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
26112 (do_open): Delete.
26113
d8e2dbe3
JM
261142013-12-03 Joseph Myers <joseph@codesourcery.com>
26115
34e16df5
JM
26116 [BZ #6786]
26117 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
26118 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
26119 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
26120 <float.h>.
26121 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
26122 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
26123 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26124 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
26125 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26126 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
26127 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26128 * math/auto-libm-test-in: Don't allow missing errno from erfc.
26129 Add more erfc tests.
26130 * math/auto-libm-test-out: Regenerated.
26131 * sysdeps/i386/fpu/libm-test-ulps: Update.
26132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26133
d8e2dbe3
JM
26134 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
26135 exp2, expm1, j0 and j1.
26136 * math/auto-libm-test-out: Regenerated.
26137 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
26138 (erfc_test_data): Likewise.
26139 (exp_test_data): Likewise.
26140 (exp_tonearest_test_data): Likewise.
26141 (exp_towardzero_test_data): Likewise.
26142 (exp_downward_test_data): Likewise.
26143 (exp_upward_test_data): Likewise.
26144 (exp10_test_data): Likewise.
26145 (exp2_test_data): Likewise.
26146 (expm1_test_data): Likewise.
26147 (j0_test_data): Likewise.
26148 (j1_test_data): Likewise.
26149 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
26150 (input_flag_type): Add flag_xfail_rounding.
26151 (input_flags): Add xfail-rounding.
26152 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
26153 (output_for_one_input_case): Handle flag_xfail_rounding.
26154 * sysdeps/i386/fpu/libm-test-ulps: Update.
26155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26156
18d14251
AJ
261572013-12-03 Aurelien Jarno <aurelien@aurel32.net>
26158
3d2e6075 26159 [BZ #16289]
18d14251
AJ
26160 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
26161 division by 0.
26162
520d437b
SP
261632013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26164
26165 [BZ #16195]
26166 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
26167 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
26168 (STAP_PROBE0): New macro.
26169 (STAP_PROBE1): Likewise.
26170 (STAP_PROBE2): Likewise.
26171 (STAP_PROBE3): Likewise.
26172 (STAP_PROBE4): Likewise.
26173
416e0145
OB
261742013-12-02 Ondřej Bílka <neleai@seznam.cz>
26175
26176 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
26177
9d17796a
SE
261782013-12-02 Steve Ellcey <sellcey@mips.com>
26179
26180 * benchtests/Makefile (bench): Add sqrt.
26181 (LDLIBS-bench-sqrt): New.
26182 * benchtests/sqrt-input: New.
26183
f524d6a8
PS
261842013-12-02 Pavel Simerda <psimerda@redhat.com>
26185
639a0ef8
PS
26186 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
26187 (GAIH_EAI): Likewise.
26188 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
26189 (gaih_inet): Likewise.
26190 (getaddrinfo): Don't use GAIH_EAI.
26191
f524d6a8
PS
26192 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
26193 (struct gaih): Remove definition.
26194
df3aedaf
SP
261952013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26196
26197 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
26198 Use HERRNOP directly.
26199
1ab19dec
AZ
262002013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26201
b42ad38d 26202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 26203
176b0c79
JM
262042013-11-30 Joseph Myers <joseph@codesourcery.com>
26205
26206 * math/gen-auto-libm-tests.c (test_functions): Add more
26207 single-argument functions.
26208 (special_fill_pi_2): New function.
26209 (special_fill_minus_pi_2): Likewise.
26210 (special_fill_pi_6): Likewise.
26211 (special_fill_minus_pi_6): Likewise.
26212 (special_fill_pi_3): Likewise.
26213 (special_fill_2pi_3): Likewise.
26214 (special_fill_e): Likewise.
26215 (special_fill_1_e): Likewise.
26216 (special_fill_e_minus_1): Likewise.
26217 (special_real_inputs): Add more special inputs.
26218 (output_for_one_input_case): Do not require ERANGE on underflow to
26219 zero if round-to-nearest result does not underflow to zero, unless
26220 exact results required.
26221 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
26222 atan, atanh, cbrt, cos and cosh.
26223 * math/auto-libm-test-out: Regenerated.
26224 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
26225 (acos_tonearest_test_data): Likewise.
26226 (acos_towardzero_test_data): Likewise.
26227 (acos_downward_test_data): Likewise.
26228 (acos_upward_test_data): Likewise.
26229 (acosh_test_data): Likewise.
26230 (asin_test_data): Likewise.
26231 (asin_tonearest_test_data): Likewise.
26232 (asin_towardzero_test_data): Likewise.
26233 (asin_upward_test_data): Likewise.
26234 (asinh_test_data): Likewise.
26235 (atan_test_data): Likewise.
26236 (atanh_test_data): Likewise.
26237 (cbrt_test_data): Likewise.
26238 (cos_test_data): Likewise.
26239 (cos_tonearest_test_data): Likewise.
26240 (cos_towardzero_test_data): Likewise.
26241 (cos_downward_test_data): Likewise.
26242 (cos_upward_test_data): Likewise.
26243 (cosh_test_data): Likewise.
26244 (cosh_tonearest_test_data): Likewise.
26245 (cosh_towardzero_test_data): Likewise.
26246 (cosh_downward_test_data): Likewise.
26247 (cosh_upward_test_data): Likewise.
26248 * sysdeps/i386/fpu/libm-test-ulps: Update.
26249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26250
ffb536d0
JM
262512013-11-29 Joseph Myers <joseph@codesourcery.com>
26252
2a77a467
JM
26253 [BZ #6787]
26254 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
26255 * math/w_exp10f.c (__exp10f): Likewise.
26256 * math/w_exp10l.c (__exp10l): Likewise.
26257 * math/libm-test.inc (exp10_test_data): Add more tests and expect
26258 errno settings in existing tests.
26259
ea3bc4e8
JM
26260 [BZ #14032]
26261 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
26262 precision control set to double precision.
26263 * sysdeps/i386/fpu/w_sqrt.c: New file.
26264 * math/auto-libm-test-in: Add more tests.
26265 * math/auto-libm-test-out: Update.
26266
0712c9d8
JM
26267 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
26268 (sqrt_test_tonearest): New function.
26269 (sqrt_towardzero_test_data): New variable.
26270 (sqrt_test_towardzero): New function.
26271 (sqrt_downward_test_data): New variable.
26272 (sqrt_test_downward): New function.
26273 (sqrt_upward_test_data): New variable.
26274 (sqrt_test_upward): New function.
26275 (main): Call the new functions.
26276
ffb536d0
JM
26277 * math/gen-auto-libm-tests.c: New file.
26278 * math/auto-libm-test-in: Likewise.
26279 * math/auto-libm-test-out: New generated file.
26280 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
26281 variables.
26282 (%beautify): Add generated representations of zero.
26283 (top level): Set $auto_input and call parse_auto_input.
26284 (beautify): Remove trailing "f" from hex float constants.
26285 (parse_args): Handle XFAIL_TEST.
26286 (convert_condition): New function.
26287 (or_value): Likewise.
26288 (or_cond_value): Likewise.
26289 (generate_testfile): Handle AUTO_TESTS_* lines.
26290 (parse_auto_input): New function.
26291 * math/libm-test.inc (XFAIL_TEST): New macro.
26292 (ERRNO_UNCHANGED): Update value.
26293 (ERRNO_EDOM): Likewise.
26294 (ERRNO_ERANGE): Likewise.
26295 (IGNORE_RESULT): Likewise.
26296 (TEST_COND_flt_32): New macro.
26297 (TEST_COND_dbl_64): Likewise.
26298 (TEST_COND_ldbl_96_intel): Likewise.
26299 (TEST_COND_ldbl_96_m68k): Likewise.
26300 (TEST_COND_ldbl_128): Likewise.
26301 (TEST_COND_ldbl_128ibm): Likewise.
26302 (TEST_COND_long32): Likewise.
26303 (TEST_COND_long64): Likewise.
26304 (TEST_COND_before_rounding): Likewise.
26305 (TEST_COND_after_rounding): Likewise.
26306 (enable_test): Handle XFAIL_TEST flag.
26307 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
26308 with finite results.
26309 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
26310 auto-libm-test-out.
26311
acd98a8e
AK
263122013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26313 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26314
26315 [BZ #16214]
26316 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
26317 __tls_get_addr_internal instead of __tls_get_offset in order to
26318 avoid GOT pointer dependency. Make rtld export
26319 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
26320 __tls_get_addr since we are a __tls_get_offset platform.
26321 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
26322 GOT pointer being set up before.
26323 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
26324
3c1c46a6
JM
263252013-11-28 Joseph Myers <joseph@codesourcery.com>
26326
7475aef5
JM
26327 * manual/math.texi (Errors in Math Functions): Document accuracy
26328 goals.
26329
8bca7cd8
JM
26330 [BZ #15004]
26331 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
26332 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
26333 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26334 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26335 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26336 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26337 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26338 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26339 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26340 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26341 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26342 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26343 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26344 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26345 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26346 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26347
91a1f3fe
JM
26348 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
26349 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
26350 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
26351 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
26352 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
26353 Likewise.
26354 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
26355 Likewise.
26356 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
26357 Likewise.
26358 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
26359 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
26360 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
26361 atomic-feupdateenv and flt-rounds.
26362 * sysdeps/powerpc/nofpu/Versions (libc): Add
26363 __atomic_feholdexcept, __atomic_feclearexcept,
26364 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
26365 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
26366 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
26367 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
26368 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
26369 here.
26370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
26371 Update.
26372
c5df7609
JM
26373 * manual/arith.texi (FP Exceptions): Document that exceptions may
26374 not be raised when matherr is used.
26375 (Math Error Reporting): Document overflow in directed rounding
26376 modes. Document that errno may not be set when finite values are
26377 returned on overflow. Document intent to set errno on underflow
26378 only for underflow to zero.
26379
3c1c46a6
JM
26380 [BZ #16271]
26381 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
26382 round-to-nearest then adjust result for other rounding modes.
26383 * include/fenv.h (fegetround): Use libm_hidden_proto.
26384 * math/fegetround.c (fegetround): Use libm_hidden_def.
26385 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
26386 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
26387 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26388 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
26389 Likewise.
26390 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
26391 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26392 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
26393 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
26394
5a4c6d53
SP
263952013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26396
26397 [BZ #16077]
26398 * nss/Versions (libnss_files): Add
26399 _nss_files_gethostbyname3_r.
26400 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
26401 New function.
26402 (HOST_DB_LOOKUP): Remove macro.
26403 (_nss_files_gethostbyname_r): Implement function without the
26404 HOST_DB_LOOKUP macro.
26405 (_nss_files_gethostbyname2_r): Likewise.
26406
897b98ba
OB
264072013-11-28 Ondřej Bílka <neleai@seznam.cz>
26408
26409 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
26410
6f476861
UB
264112013-11-26 Uros Bizjak <ubizjak@gmail.com>
26412
26413 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
26414 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
26415 warning.
26416
bd12ab55
AZ
264172013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26418
26419 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
26420 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
26421 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
26422 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26423 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
26424 __fe_nomask_env_priv and attribute_hidden.
26425 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
26426 (libc_feupdateenv_test_ppc): Likewise.
26427 (libc_feresetround_ppc): Likewise.
26428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26429 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
26430 compat_symbol macro.
26431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26432 (__fe_nomask_env): Likewise.
26433 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
26434
52bb6543
OB
264352013-11-26 Ondřej Bílka <neleai@seznam.cz>
26436
26437 * string/Makefile: Remove ifunc tests.
26438 * string/test-string.h: Define TEST_IFUNC.
26439 * string/test-bcopy-ifunc.c: Remove.
26440 * string/test-bzero-ifunc.c: Likewise.
26441 * string/test-memccpy-ifunc.c: Likewise.
26442 * string/test-memchr-ifunc.c: Likewise.
26443 * string/test-memcmp-ifunc.c: Likewise.
26444 * string/test-memcpy-ifunc.c: Likewise.
26445 * string/test-memmem-ifunc.c: Likewise.
26446 * string/test-memmove-ifunc.c: Likewise.
26447 * string/test-mempcpy-ifunc.c: Likewise.
26448 * string/test-memrchr-ifunc.c: Likewise.
26449 * string/test-memset-ifunc.c: Likewise.
26450 * string/test-rawmemchr-ifunc.c: Likewise.
26451 * string/test-stpcpy-ifunc.c: Likewise.
26452 * string/test-stpncpy-ifunc.c: Likewise.
26453 * string/test-strcasecmp-ifunc.c: Likewise.
26454 * string/test-strcasestr-ifunc.c: Likewise.
26455 * string/test-strcat-ifunc.c: Likewise.
26456 * string/test-strchr-ifunc.c: Likewise.
26457 * string/test-strchrnul-ifunc.c: Likewise.
26458 * string/test-strcmp-ifunc.c: Likewise.
26459 * string/test-strcpy-ifunc.c: Likewise.
26460 * string/test-strcspn-ifunc.c: Likewise.
26461 * string/test-strlen-ifunc.c: Likewise.
26462 * string/test-strncasecmp-ifunc.c: Likewise.
26463 * string/test-strncat-ifunc.c: Likewise.
26464 * string/test-strncmp-ifunc.c: Likewise.
26465 * string/test-strncpy-ifunc.c: Likewise.
26466 * string/test-strnlen-ifunc.c: Likewise.
26467 * string/test-strpbrk-ifunc.c: Likewise.
26468 * string/test-strrchr-ifunc.c: Likewise.
26469 * string/test-strspn-ifunc.c: Likewise.
26470 * string/test-strstr-ifunc.c: Likewise.
26471
ab260039 264722013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
26473
26474 * benchtests/Makefile: Remove ifunc tests.
26475 * benchtests/bench-string.h: Define TEST_IFUNC.
26476 * benchtests/bench-bcopy-ifunc.c: Remove.
26477 * benchtests/bench-bzero-ifunc.c: Likewise.
26478 * benchtests/bench-memccpy-ifunc.c: Likewise.
26479 * benchtests/bench-memchr-ifunc.c: Likewise.
26480 * benchtests/bench-memcmp-ifunc.c: Likewise.
26481 * benchtests/bench-memcpy-ifunc.c: Likewise.
26482 * benchtests/bench-memmem-ifunc.c: Likewise.
26483 * benchtests/bench-memmove-ifunc.c: Likewise.
26484 * benchtests/bench-mempcpy-ifunc.c: Likewise.
26485 * benchtests/bench-memrchr-ifunc.c: Likewise.
26486 * benchtests/bench-memset-ifunc.c: Likewise.
26487 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
26488 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
26489 * benchtests/bench-stpcpy-ifunc.c: Likewise.
26490 * benchtests/bench-stpncpy-ifunc.c: Likewise.
26491 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
26492 * benchtests/bench-strcasestr-ifunc.c: Likewise.
26493 * benchtests/bench-strcat-ifunc.c: Likewise.
26494 * benchtests/bench-strchr-ifunc.c: Likewise.
26495 * benchtests/bench-strchrnul-ifunc.c: Likewise.
26496 * benchtests/bench-strcmp-ifunc.c: Likewise.
26497 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
26498 * benchtests/bench-strcpy-ifunc.c: Likewise.
26499 * benchtests/bench-strcspn-ifunc.c: Likewise.
26500 * benchtests/bench-strlen-ifunc.c: Likewise.
26501 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
26502 * benchtests/bench-strncat-ifunc.c: Likewise.
26503 * benchtests/bench-strncmp-ifunc.c: Likewise.
26504 * benchtests/bench-strncpy-ifunc.c: Likewise.
26505 * benchtests/bench-strnlen-ifunc.c: Likewise.
26506 * benchtests/bench-strpbrk-ifunc.c: Likewise.
26507 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 26508 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
26509 * benchtests/bench-strspn-ifunc.c: Likewise.
26510 * benchtests/bench-strstr-ifunc.c: Likewise.
26511
265122013-11-26 Ondřej Bílka <neleai@seznam.cz>
26513
ab260039
OB
26514 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
26515
d1d9eaf4 265162013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 26517
d1d9eaf4
OB
26518 * resolv/netdb.h: Use __glibc_reserved instead __unused.
26519 * rt/aio.h: Likewise.
26520 * sysdeps/gnu/bits/utmp.h: Likewise.
26521 * sysdeps/gnu/bits/utmpx.h: Likewise.
26522 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26523 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
26524 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
26525 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
26526 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
26527 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
26528 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
26529 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
26530 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
26531 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
26532 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
26533 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
26534 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
26535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
26536 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26537 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
26538 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
26539 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
26540 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
26541 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
26542 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
26543 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
26544 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
26545 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26546 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
26547 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26548 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
26549 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
26550 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
26551 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
26552 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
26553 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
26554 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
26555 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
26556 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
26557 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
26558 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
26559 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
26560 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
26561 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
26562 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
26563 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26564
a7624ed9
CD
265652013-11-25 Carlos O'Donell <carlos@redhat.com>
26566
26567 [BZ #16245]
26568 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
26569 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
26570
63cfe52b
JM
265712013-11-25 Joseph Myers <joseph@codesourcery.com>
26572
26573 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
26574 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
26575 Likewise.
26576
41e8926a
AZ
265772013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26578
26579 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
26580 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
26581 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
26582 (__fesetround): Remove define.
26583 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
26584 rounding and exceptions handling.
26585 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
26586 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
26587 (__fe_nomask_env): Likewise.
26588 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
26589 __fegetround instead of fegetround.
26590 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
26591 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
26592
6851bd4d
RM
265932013-11-21 Roland McGrath <roland@hack.frob.com>
26594
070906ff
RM
26595 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
26596 it's there.
26597
6851bd4d
RM
26598 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
26599
84ae135d
MI
266002013-11-21 Meador Inge <meadori@codesourcery.com>
26601
26602 [BZ #11157]
26603 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
26604 (encrypt_r): Likewise.
26605 * malloc/obstack.h (obstack_free): Likewise.
26606 * posix/unistd.h (encrypt): Likewise.
26607
daf75146
GM
266082013-11-21 Guy Martin <gmsoft@tuxicoman.be>
26609
26610 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
26611 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
26612 DL_CALL_DT_FINI() that call the functions directly.
26613 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
26614 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
26615 * elf/dl-fini.c: Likewise.
26616
10ad46bc
OB
266172013-11-20 Ondřej Bílka <neleai@seznam.cz>
26618
26619 * malloc/hooks.c (memalign_check): Add alignment rounding.
26620 * malloc/malloc.c (_mid_memalign): New function.
26621 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
26622 Implement by calling _mid_memalign.
26623 * manual/probes.texi (Memory Allocation Probes): Remove
26624 memory_valloc_retry and memory_pvalloc_retry.
26625
f3fd2628
SP
266262013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26627
4712799f
SP
26628 * locale/programs/locarchive.c (open_archive): Add const
26629 qualifier to ARCHIVEFNAME and copy default fname to
26630 DEFAULT_FNAME.
26631
0417b20f
SP
26632 [BZ #15601]
26633 * libio/tst-widetext.input: Rename Oriya to Odia.
26634 * locale/iso-639.def: Likewise.
26635
f3fd2628
SP
26636 * manual/probes.texi (Mathematical Function Probes): Add
26637 documentation for sin, cos, asin and acos probes.
26638 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
26639 (__sin32): Add slowasin probe.
26640 (__cos32): Add slowacos probe.
26641 (__mpsin): Add slowsin probe.
26642 (__mpcos): Add slowcos probe.
26643
73c1ce4f
JM
266442013-11-19 Joseph Myers <joseph@codesourcery.com>
26645
26646 [BZ #15483]
26647 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
26648 thread-local __sim_exceptions_thread and global
26649 __sim_exceptions_global.
26650 (__sim_disabled_exceptions): Change to thread-local
26651 __sim_disabled_exceptions_thread and global
26652 __sim_disabled_exceptions_global.
26653 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26654 and global __sim_round_mode_global.
26655 (__simulate_exceptions): Use thread-local floating-point state and
26656 set global state from it as needed.
26657 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
26658 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
26659 __sim_round_mode_thread.
26660 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
26661 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
26662 and global __sim_exceptions_global.
26663 (__sim_disabled_exceptions): Change to thread-local
26664 __sim_disabled_exceptions_thread and global
26665 __sim_disabled_exceptions_global.
26666 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26667 and global __sim_round_mode_global.
26668 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
26669 (SIM_SET_GLOBAL): Likewise.
26670 * sysdeps/powerpc/soft-fp/sfp-machine.h
26671 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
26672 __sim_round_mode_thread.
26673 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
26674 __sim_disabled_exceptions_thread.
26675 (__sim_exceptions): Change to __sim_exceptions_thread.
26676 (__sim_disabled_exceptions): Change to
26677 __sim_disabled_exceptions_thread.
26678 (__sim_round_mode): Change to __sim_round_mode_thread.
26679 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
26680 thread-local floating-point state and set global state from it as
26681 needed.
26682 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
26683 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
26684 (__sim_disabled_exceptions): Remove extern declaration.
26685 (feenableexcept): Use thread-local floating-point state and set
26686 global state from it as needed.
26687 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
26688 extern declaration.
26689 (__sim_disabled_exceptions): Likewise.
26690 (__sim_round_mode): Likewise.
26691 (__fegetenv): Use thread-local floating-point state.
26692 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
26693 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26694 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
26695 floating-point state and set global state from it as needed.
26696 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
26697 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26698 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
26699 Likewise.
26700 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
26701 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
26702 Likewise.
26703 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
26704 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
26705 Use __sim_round_mode_thread.
26706 * math/test-fenv-tls.c: New file.
26707 * math/Makefile (tests): Add test-fenv-tls.
26708 ($(objpfx)test-fenv-tls): Depend on
26709 $(common-objpfx)nptl/libpthread.so.
26710
b5449b12
AS
267112013-11-19 Andreas Schwab <schwab@suse.de>
26712
26713 * locale/programs/locale.c (show_info): Decode wordarray elements.
26714 * locale/categories.def (LC_MONETARY): Add element for
26715 _NL_MONETARY_CRNCYSTR.
26716 * locale/C-monetary.c (conversion_rate): New variable.
26717 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
26718 element.
26719
e186536b
CM
267202013-11-18 Chris Metcalf <cmetcalf@tilera.com>
26721
26722 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
26723 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
26724
5c349950
PP
267252013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
26726
26727 * elf/Makefile (tst-auxv): New test.
26728 * elf/tst-auxv.c: New
26729 * elf/rtld.c (dl_main): Adjust AT_EXECFN
26730
699df45b
JM
267312013-11-18 Joseph Myers <joseph@codesourcery.com>
26732
26733 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
26734 (hidden_proto): Caller changed.
26735 (hidden_tls_proto): New macro.
26736 (libc_hidden_tls_proto): Likewise.
26737 (rtld_hidden_tls_proto): Likewise.
26738 (libm_hidden_tls_proto): Likewise.
26739 (libresolv_hidden_tls_proto): Likewise.
26740 (librt_hidden_tls_proto): Likewise.
26741 (libdl_hidden_tls_proto): Likewise.
26742 (libnss_files_hidden_tls_proto): Likewise.
26743 (libnsl_hidden_tls_proto): Likewise.
26744 (libnss_nisplus_hidden_tls_proto): Likewise.
26745 (libutil_hidden_tls_proto): Likewise.
26746
b7589107
OB
267472013-11-18 Ondřej Bílka <neleai@seznam.cz>
26748
26749 [BZ #10253]
26750 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
26751 (decompose_rpath): Defer expansion to fillin_rpath.
26752 (_dl_init_paths): Pass linkmap to fillin_rpath.
26753
250c23bd
RS
267542013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26755
26756 * benchtests/Makefile: Add strsep.
26757 * benchtests/bench-strsep.c: New file: strsep benchtest.
26758 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
26759
a7931fcf
AS
267602013-11-18 Andreas Schwab <schwab@suse.de>
26761
26762 * locale/programs/locale.c (show_info) [case byte]: Check for
26763 '\377' instead of '\177'.
26764 * locale/C-monetary.c (not_available): Always use "\377".
26765 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
26766 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
26767 detect unavailable sign_posn locale elements.
26768 * locale/localeconv.c (__localeconv): For grouping and
26769 mon_grouping handle "\177" and "\377" like no grouping.
26770 (INT_ELEM): New macro. Use it to set all numeric members.
26771 * locale/programs/ld-monetary.c (monetary_read)
26772 <tok_mon_grouping>: Normalize single -1 to the empty string.
26773 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
26774 Likewise.
26775
728dab0e
OB
267762013-11-07 Ondřej Bílka <neleai@seznam.cz>
26777
26778 [BZ #16055]
26779 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
26780 when we match (nil).
26781 * stdio-common/tst-sscanf.c (struct test): Add testcase.
26782
66294491
JM
267832013-11-16 Joseph Myers <joseph@codesourcery.com>
26784
ce665817
JM
26785 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
26786 (NO_TEST_INLINE): Update value.
26787 (ERRNO_UNCHANGED): Likewise.
26788 (ERRNO_EDOM): Likewise.
26789 (ERRNO_ERANGE): Likewise.
26790 (IGNORE_RESULT): Likewise.
26791 (check_float_internal): Check signs of NaN results if
26792 TEST_NAN_SIGN used.
26793 (check_complex): Pass TEST_NAN_SIGN flag through to second
26794 check_float_internal call.
26795 (copysign_test_data): Add tests with quiet NaNs as second
26796 argument. Use TEST_NAN_SIGN.
26797 (fabs_test_data): Add test of negative quiet NaN argument. Use
26798 TEST_NAN_SIGN.
26799 (signbit_test_data): Add tests of quiet NaN argument.
26800 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
26801
ee1466a9
JM
26802 * math/gen-libm-test.pl (show_exceptions): Take extra argument
26803 $ignore_result.
26804 (parse_args): Handle function results specified as IGNORE.
26805 * math/libm-test.inc (IGNORE_RESULT): New macro.
26806 (check_float_internal): Do not check numerical result if flag
26807 IGNORE_RESULT set.
26808 (check_complex): Pass through IGNORE_RESULT to second
26809 check_float_internal call.
26810 (check_int): Do not check numerical result if flag IGNORE_RESULT
26811 set.
26812 (check_long): Likewise.
26813 (check_bool): Likewise.
26814 (check_longlong): Likewise.
26815 (lrint_test_data): Add tests of infinite and NaN arguments.
26816 (lrint_tonearest_test_data): Likewise.
26817 (lrint_towardzero_test_data): Likewise.
26818 (lrint_downward_test_data): Likewise.
26819 (lrint_upward_test_data): Likewise.
26820 (llrint_test_data): Likewise.
26821 (llrint_tonearest_test_data): Likewise.
26822 (llrint_towardzero_test_data): Likewise.
26823 (llrint_downward_test_data): Likewise.
26824 (llrint_upward_test_data): Likewise.
26825 (lround_test_data): Likewise.
26826 (llround_test_data): Likewise.
26827
14407b7e
JM
26828 * math/libm-test.inc (NO_TEST_INLINE): New macro.
26829 (ERRNO_UNCHANGED): Update value.
26830 (ERRNO_EDOM): Likewise.
26831 (ERRNO_ERANGE): Likewise.
26832 (NO_TEST_INLINE_FLOAT): New macro.
26833 (NO_TEST_INLINE_DOUBLE): Likewise.
26834 (enable_test): New function.
26835 (RUN_TEST_f_f): Check enable_test before running test.
26836 (RUN_TEST_2_f): Likewise.
26837 (RUN_TEST_fff_f): Likewise.
26838 (RUN_TEST_c_f): Likewise.
26839 (RUN_TEST_f_f1): Likewise.
26840 (RUN_TEST_fF_f1): Likewise.
26841 (RUN_TEST_fI_f1): Likewise.
26842 (RUN_TEST_ffI_f1): Likewise.
26843 (RUN_TEST_c_c): Likewise.
26844 (RUN_TEST_cc_c): Likewise.
26845 (RUN_TEST_f_i): Likewise.
26846 (RUN_TEST_f_i_tg): Likewise.
26847 (RUN_TEST_ff_i_tg): Likewise.
26848 (RUN_TEST_f_b): Likewise.
26849 (RUN_TEST_f_b_tg): Likewise.
26850 (RUN_TEST_f_l): Likewise.
26851 (RUN_TEST_f_L): Likewise.
26852 (RUN_TEST_fFF_11): Likewise.
26853 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
26854 conditionals.
26855 (cosh_test_data): Likewise.
26856 (exp_test_data): Likewise.
26857 (expm1_test_data): Likewise.
26858 (hypot_test_data): Likewise.
26859 (pow_test_data): Likewise.
26860 (sinh_test_data): Likewise.
26861 (tanh_test_data): Likewise.
26862 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
26863 flags argument.
26864
ca07f197
JM
26865 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
26866 tests with quiet NaN input and output.
26867 (acosh_test_data): Likewise.
26868 (asin_test_data): Likewise.
26869 (asinh_test_data): Likewise.
26870 (atan_test_data): Likewise.
26871 (atanh_test_data): Likewise.
26872 (atan2_test_data): Likewise.
26873 (cbrt_test_data): Likewise.
26874 (cos_test_data): Likewise.
26875 (cosh_test_data): Likewise.
26876 (erf_test_data): Likewise.
26877 (erfc_test_data): Likewise.
26878 (exp_test_data): Likewise.
26879 (exp10_test_data): Likewise.
26880 (exp2_test_data): Likewise.
26881 (expm1_test_data): Likewise.
26882 (hypot_test_data): Likewise.
26883 (j0_test_data): Likewise.
26884 (j1_test_data): Likewise.
26885 (jn_test_data): Likewise.
26886 (lgamma_test_data): Likewise.
26887 (log_test_data): Likewise.
26888 (log10_test_data): Likewise.
26889 (log1p_test_data): Likewise.
26890 (log2_test_data): Likewise.
26891 (pow_test_data): Likewise.
26892 (scalb_test_data): Likewise.
26893 (sin_test_data): Likewise.
26894 (sincos_test_data): Likewise.
26895 (sinh_test_data): Likewise.
26896 (tan_test_data): Likewise.
26897 (tanh_test_data): Likewise.
26898 (tgamma_test_data): Likewise.
26899 (y0_test_data): Likewise.
26900 (y1_test_data): Likewise.
26901 (yn_test_data): Likewise.
26902
66294491
JM
26903 [BZ #16167]
26904 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
26905 argument being NaN and avoid computations with second argument in
26906 that case.
26907 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26908 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
26909 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26910
1820b143
CL
269112013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
26912
26913 * locale/iso-639.def: Add Chitwani Tharu (the).
26914
714bd261
AS
269152013-11-14 Andreas Schwab <schwab@suse.de>
26916
26917 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
26918 word instead of empty string.
26919
7ab44563
AZ
269202013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26921
26922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26923 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
26924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26925 (__fe_nomask_env): Likewise.
26926
e8470ea2
SE
269272013-11-13 Steve Ellcey <sellcey@mips.com>
26928
26929 * benchtests/bench-timing.h: Include time.h.
26930
17c1d9f0
L
269312013-11-13 H.J. Lu <hongjiu.lu@intel.com>
26932
26933 [BZ #15997]
26934 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
26935 to 3.4.0 for x32.
26936 * sysdeps/unix/sysv/linux/configure: Regenerated.
26937
9310c284
JM
269382013-11-13 Joseph Myers <joseph@codesourcery.com>
26939
26940 [BZ #16151]
26941 * stdlib/strtod_l.c (round_and_return): Do not consider
26942 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
26943 exponent one less than half the least subnormal exponent.
26944 * stdlib/test-strtod-round-data: Add more tests.
26945 * stdlib/tst-strtod-round.c (tests): Regenerated.
26946
7a2ad8cf
AZ
269472013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26948
26949 [BZ #14143]
26950 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
26951 (__fe_mask_env): Likewise.
26952 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
26953 libm_hidden_proto and add function prototype.
26954 (__fe_mask_env): Add function prototype.
26955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26956 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
26957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26958 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
26959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26960 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
26961
50727aa7
MS
269622013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26963
b2f386c1 26964 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
26965 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
26966
a615be46
MS
269672013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26968
26969 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
26970 of htab_find_slot().
26971
7ddace62
DM
269722013-11-11 David S. Miller <davem@davemloft.net>
26973
26974 [BZ #16150]
26975 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
26976 symbol in the non-vis3 case in static builds.
26977 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
26978 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
26979 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
26980 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
26981
9182aa67
JK
269822013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
26983
26984 [BZ #387]
26985 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
26986 it is empty.
26987
450a2e2d
AZ
269882013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26989
b2f386c1
SP
26990 * benchtests/Makefile: Add bench-strtod.
26991 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 26992
8ec3f656
AS
269932013-11-11 Andreas Schwab <schwab@suse.de>
26994
26995 [BZ #16153]
26996 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
26997 terminating NUL in key length.
26998
76a9b998
AZ
269992013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27000
27001 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27002 Add artificial ODP entry for vDSO symbol for PPC64.
27003 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
27004 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
27005
e4368156
OB
270062013-11-07 Ondřej Bílka <neleai@seznam.cz>
27007
27008 [BZ #15374]
27009 * nss/getent.c (services_keys): Recognize services starting with digit.
27010
8d6bb57c
DM
270112013-11-06 David S. Miller <davem@davemloft.net>
27012
27013 [BZ #15985]
27014 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
27015 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
27016
e256c421
WN
270172013-11-06 Will Newton <will.newton@linaro.org>
27018
27019 * manual/memory.texi (Malloc Examples): Remove register
27020 keyword from examples.
27021
f6e12daa 270222013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 27023
f6e12daa 27024 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 27025
9d880655
AS
270262013-11-04 Joseph Myers <joseph@codesourcery.com>
27027
fd2f9486 27028 [BZ #6981]
9d880655
AS
27029 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
27030 depending on [__GCC_IEC_559 > 0].
27031 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
27032 depending on [__GCC_IEC_559_COMPLEX > 0].
27033
ae129d3c
CL
270342013-11-03 Chris Leonard <cjl@sugarlabs.org>
27035
27036 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
27037 to iso-639.def.
27038
4a15c2a4 270392013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
27040
27041 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
27042
8b35e35d
OB
270432013-11-01 Ondřej Bílka <neleai@seznam.cz>
27044
27045 [BZ #16112]
27046 * malloc/malloc (malloc_info): Do not handle first bin as
27047 special case.
27048
1d70fd6c
CL
270492013-11-01 Chris Leonard <cjl@sugarlabs.org>
27050
27051 * locale/iso-639.def: Add Central Nahuatl (nhn).
27052
8c5c2600
BH
270532013-11-01 Bruno Haible <bruno@clisp.org>
27054
27055 [BZ #7003]
27056 * manual/math.texi (BSD Random): Specify range upper bound as
27057 in POSIX.
27058
da5579c2
CL
270592013-10-31 Chris Leonard <cjl@sugarlabs.org>
27060
27061 * locale/iso-639.def: Add Meadow Mari (mhr).
27062
5d30d853
OB
270632013-10-31 Ondřej Bílka <neleai@seznam.cz>
27064
27065 [BZ #14752], [BZ #15763]
27066 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
27067 Validate name.
27068 * rt/tst_shm.c: Add test for escaping directory.
27069
a4966c61
AS
270702013-10-31 Andreas Schwab <schwab@suse.de>
27071
8a43e768 27072 [BZ #15917]
a4966c61
AS
27073 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
27074 followed by 'x' as part of digit sequence.
27075 * stdio-common/tst-sscanf.c (double_tests2): New tests.
27076
28d708c4
MAP
270772013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
27078
27079 [BZ #16037]
27080 * configure.ac: allow GNU Make 4.0 and greater.
27081 * configure: Regenerated.
27082
a56ee40b
WN
270832013-10-30 Will Newton <will.newton@linaro.org>
27084
27085 [BZ #16038]
27086 * malloc/hooks.c (memalign_check): Limit alignment to the
27087 maximum representable power of two.
27088 * malloc/malloc.c (__libc_memalign): Likewise.
27089 * malloc/tst-memalign.c (do_test): Add test for very
27090 large alignment values.
27091 * malloc/tst-posix_memalign.c (do_test): Likewise.
27092
c6e4925d
OB
270932013-10-30 Ondřej Bílka <neleai@seznam.cz>
27094
27095 [BZ #11087]
27096 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
27097 (munmap_chunk): Likewise.
27098 (mremap_chunk): Likewise.
27099
271002013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 27101
8a43e768 27102 [BZ #15799]
bbea82f7
OB
27103 * stdlib/div.c (div): Remove obsolete code.
27104 * stdlib/ldiv.c (ldiv): Likewise.
27105 * stdlib/lldiv.c (lldiv): Likewise.
27106
977f4b31
SP
271072013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27108
27109 [BZ #16071]
27110 * nss/nss_files/files-XXX.c (get_contents_ret): New
27111 enumerator.
27112 (get_contents): New function.
27113 (internal_getent): Use it. Expand size of LINEBUFLEN.
27114
cb8a6dbd
MF
271152013-10-30 Mike Frysinger <vapier@gentoo.org>
27116
27117 * configure.in: Moved to ...
27118 * configure.ac: ... here. Change reference to configure.in
27119 to configure.ac.
27120 * sysdeps/arm/preconfigure.ac: ... here.
27121 configure.in to configure.ac.
27122 * sysdeps/gnu/configure.in: Moved to ...
27123 * sysdeps/gnu/configure.ac: ... here.
27124 * sysdeps/i386/configure.in: Moved to ...
27125 * sysdeps/i386/configure.ac: ... here.
27126 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
27127 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
27128 * sysdeps/mach/configure.in: Moved to ...
27129 * sysdeps/mach/configure.ac: ... here.
27130 * sysdeps/mach/hurd/configure.in: Moved to ...
27131 * sysdeps/mach/hurd/configure.ac: ... here.
27132 * sysdeps/powerpc/configure.in: Moved to ...
27133 * sysdeps/powerpc/configure.ac: ... here.
27134 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
27135 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
27136 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
27137 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
27138 * sysdeps/s390/s390-32/configure.in: Moved to ...
27139 * sysdeps/s390/s390-32/configure.ac: ... here.
27140 * sysdeps/s390/s390-64/configure.in: Moved to ...
27141 * sysdeps/s390/s390-64/configure.ac: ... here.
27142 * sysdeps/sh/configure.in: Moved to ...
27143 * sysdeps/sh/configure.ac: ... here.
27144 * sysdeps/sparc/configure.in: Moved to ...
27145 * sysdeps/sparc/configure.ac: ... here.
27146 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
27147 * sysdeps/unix/sysv/linux/configure.ac: ... here.
27148 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
27149 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
27150 * sysdeps/x86_64/configure.in: Moved to ...
27151 * sysdeps/x86_64/configure.ac: ... here.
27152 * sysdeps/x86_64/preconfigure.in: Moved to ...
27153 * sysdeps/x86_64/preconfigure.ac: ... here.
27154 * aclocal.m4: Change reference to configure.in to configure.ac.
27155 * config.h.in: Likewise.
27156 * manual/install.texi: Likewise.
27157 * manual/maint.texi: Likewise.
27158 * Makefile: Likewise.
27159 * malloc/Makefile: Likewise.
27160 * nscd/Makefile: Likewise.
27161 * Makeconfig: Change reference to configure.in and
27162 preconfigure.in to configure.ac and preconfigure.ac
27163 respectively.
27164 * INSTALL: Regenerated.
27165 * configure: Likewise.
27166 * sysdeps/gnu/configure: Likewise.
27167 * sysdeps/i386/configure: Likewise.
27168 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
27169 * sysdeps/mach/configure: Likewise.
27170 * sysdeps/mach/hurd/configure: Likewise.
27171 * sysdeps/powerpc/configure: Likewise.
27172 * sysdeps/powerpc/powerpc32/configure: Likewise.
27173 * sysdeps/powerpc/powerpc64/configure: Likewise.
27174 * sysdeps/s390/s390-32/configure: Likewise.
27175 * sysdeps/s390/s390-64/configure: Likewise.
27176 * sysdeps/sh/configure: Likewise.
27177 * sysdeps/sparc/configure: Likewise.
27178 * sysdeps/unix/sysv/linux/configure: Likewise.
27179 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
27180 * sysdeps/x86_64/configure: Likewise.
27181 * sysdeps/x86_64/preconfigure: Likewise.
27182
36a4953a
AS
271832013-10-29 Andreas Schwab <schwab@suse.de>
27184
27185 * stdio-common/Makefile (tst-swscanf-ENV): Define.
27186
c79a1204
SP
271872013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27188
dfa1b402
SP
27189 * benchtests/pow-inputs: Add new inputs.
27190
54f73d9c
SP
27191 * benchtests/exp-inputs: Add new inputs.
27192
c79a1204
SP
27193 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
27194 conditional check for return value.
27195 (__cos32): Likewise.
27196
67beb545 271972013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
27198
27199 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
27200 to provide a boost for large inputs with word alignment.
27201 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
27202 implementation based on optimized PPC64 strcpy.
27203 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
27204 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
27205 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
27206 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
27207
151659f6
OB
272082013-10-25 Ondřej Bílka <neleai@seznam.cz>
27209
482a077e 27210 [BZ #2801]
151659f6
OB
27211 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
27212
10b0f26b
OB
272132013-10-25 Ondřej Bílka <neleai@seznam.cz>
27214
27215 [BZ #14876]
27216 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
27217 * time/tst-strptime.c (day_tests): Add testcase.
27218
ca42d35e
OB
272192013-10-25 Ondřej Bílka <neleai@seznam.cz>
27220
482a077e 27221 [BZ #14029]
ca42d35e
OB
27222 * manual/pattern.texi: Acknowledge that fnmatch can fail.
27223
52e6d801
FB
272242013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
27225
27226 [BZ #16074]
27227 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
27228 MAP_FAILED on error.
27229
7cbcdb36
SP
272302013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27231
27232 [BZ #16072]
27233 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
27234 heap for large requests.
27235
894f3f10
AM
272362013-10-25 Aurelien Jarno <aurelien@aurel32.net>
27237
27238 [BZ #9954]
27239 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
27240 result if the result has no associated interface.
27241 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
27242 interface for all 127.X.Y.Z addresses.
27243
b85545a6
CL
272442013-10-24 Chris Leonard <cjl@sugarlabs.org>
27245
27246 * locale/iso-639.def: Add Ligurian (lij)
27247
d1f23d46
OB
272482013-10-21 Ondřej Bílka <neleai@seznam.cz>
27249
27250 [BZ #15825]
27251 * sunrpc/rpc_main.c: Document rpcgen -5.
27252
4db5b08f
MS
272532013-10-19 Michael Stahl <mstahl@redhat.com>
27254
27255 * elf/rtld.c (do_preload): Print the reason why preloading failed.
27256
a471e96a
OB
272572013-10-19 Ondřej Bílka <neleai@seznam.cz>
27258
d1f23d46 27259 [BZ #10278]
a471e96a
OB
27260 * posix/glob.c: Match only directories when trailing slash is present.
27261 * posix/tst-gnuglob.c (my_opendir): Do not open files.
27262 (main): Add testcase.
27263
45c30c61
OB
272642013-10-19 Ondřej Bílka <neleai@seznam.cz>
27265
27266 [BZ #15670]
27267 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
27268
484c12fb
CD
272692013-10-18 Carlos O'Donell <carlos@redhat.com>
27270
3d7dc513
CD
27271 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
27272 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
27273 AUTH_DES and cindex for FIPS 140-2.
27274 (DES Encryption): Add cindex FIPS 46-3.
27275
484c12fb
CD
27276 * locale/locarchive.h (struct locarhandle): Add fname.
27277 * locale/programs/localedef.c (main): Pass ARGV[remaining]
27278 if an optional argument was specified to --list-archive,
27279 otherwise NULL.
27280 * locale/programs/locarchive.c (show_archive_content): Take new
27281 argument fname and pass it via ah.fname to open_archive.
27282 * locale/programs/localedef.h: Update decl.
27283 (open_archive): If AH->fname is non-null, open that file
27284 rather than the default file name, and don't ignore ENOENT.
27285 (create_archive): Set AH.fname to NULL.
27286 (delete_locales_from_archive): Likewise.
27287 (add_locales_to_archive): Likewise.
27288 * locale/programs/locfile.c (write_all_categories): Likewise.
27289
3c8325fb
JM
272902013-10-18 Joseph Myers <joseph@codesourcery.com>
27291 Aldy Hernandez <aldyh@redhat.com>
27292
27293 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
27294 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
27295 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
27296 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
27297 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
27298 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
27299 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
27300 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
27301 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
27302 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
27303 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
27304 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
27305 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
27306 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
27307 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
27308 Likewise.
27309 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
27310 Likewise.
27311 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
27312 Likewise.
27313 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
27314 Likewise.
27315 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
27316 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
27317 Likewise.
27318 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
27319 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
27320 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
27321 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
27322 Likewise.
27323 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
27324 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
27325 * sysdeps/powerpc/preconfigure: Likewise.
27326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
27327 Likewise.
27328 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
27329 Replace contents of file by #include of <fenv_libc.h>.
27330 * sysdeps/powerpc/soft-fp/sfp-machine.h
27331 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
27332 and <sys/prctl.h>.
27333 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
27334 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
27335 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
27336 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
27337 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
27338 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
27339 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
27340 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
27341 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
27342 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
27343 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
27344 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
27345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27346 Allow copysignl PLT reference to be missing.
27347
5abe0682
RS
273482013-10-18 Richard Sandiford <richard@codesourcery.com>
27349 Joseph Myers <joseph@codesourcery.com
27350
27351 [BZ #15948]
27352 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
27353 single character.
27354 (add_to_tablewc): Assert sequence of wide characters is nonempty.
27355
c7738d08
SP
273562013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27357
27358 * elf/tst-tls-dlinfo.c: Don't include tls.h.
27359 * elf/tst-tls1.c: Likewise.
27360 * elf/tst-tls10.h: Likewise.
27361 * elf/tst-tls14.c: Likewise.
27362 * elf/tst-tls2.c: Likewise.
27363 * elf/tst-tls3.c: Likewise.
27364 * elf/tst-tls4.c: Likewise.
27365 * elf/tst-tls5.c: Likewise.
27366 * elf/tst-tls6.c: Likewise.
27367 * elf/tst-tls7.c: Likewise.
27368 * elf/tst-tls8.c: Likewise.
27369 * elf/tst-tls9.c: Likewise.
27370 * elf/tst-tlsmod1.c: Likewise.
27371 * elf/tst-tlsmod13.c: Likewise.
27372 * elf/tst-tlsmod13a.c: Likewise.
27373 * elf/tst-tlsmod14a.c: Likewise.
27374 * elf/tst-tlsmod16a.c: Likewise.
27375 * elf/tst-tlsmod16b.c: Likewise.
27376 * elf/tst-tlsmod2.c: Likewise.
27377 * elf/tst-tlsmod3.c: Likewise.
27378 * elf/tst-tlsmod4.c: Likewise.
27379 * elf/tst-tlsmod5.c: Likewise.
27380 * elf/tst-tlsmod6.c: Likewise.
27381
0bfcf2c7
OB
273822013-10-18 Ondřej Bílka <neleai@seznam.cz>
27383
27384 [BZ #12486]
27385 * malloc/malloc.c: remove checks for statistics.
27386
264aad1e
OB
273872013-10-17 Ondřej Bílka <neleai@seznam.cz>
27388
27389 [BZ #15277]
27390 * inet/inet_net.c (inet_network): Detect additional invalid strings.
27391 * inet/tst-network.c: Add testcase.
27392
b957ced8
AS
273932013-10-17 Andreas Schwab <schwab@suse.de>
27394
27395 [BZ #15218]
27396 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
27397 to determine canonical name.
27398
c5d5d574
OB
273992013-10-17 Ondřej Bílka <neleai@seznam.cz>
27400
27401 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
27402 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
27403 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27404 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27405 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27406 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27407 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27408 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27409 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27410 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27411 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27412 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27413 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27414 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27415 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27416 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27417 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27418 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27419 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27420 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27421 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27422 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27423 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27424 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
27425 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
27426 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27427 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27428 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
27429 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27430 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
27431 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27432 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27433 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27434 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27435 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27436 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27437 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27438 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27439 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27440 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27441 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27442 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27443 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27444 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27445 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27446 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27447 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27448 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27449 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27450 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27451 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27452 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27453 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27454 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27455 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27456 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27457 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27458 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27459
e5c2c2d0
JM
274602013-10-17 Joseph Myers <joseph@codesourcery.com>
27461
27462 [BZ #16041]
27463 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
27464 make result into a quiet NaN.
27465
51ca9e29
JM
274662013-10-16 Joseph Myers <joseph@codesourcery.com>
27467
27468 * soft-fp/adddf3.c: Fix horizontal whitespace.
27469 * soft-fp/addsf3.c: Likewise.
27470 * soft-fp/addtf3.c: Likewise.
27471 * soft-fp/divdf3.c: Likewise.
27472 * soft-fp/divsf3.c: Likewise.
27473 * soft-fp/divtf3.c: Likewise.
27474 * soft-fp/double.h: Likewise.
27475 * soft-fp/eqdf2.c: Likewise.
27476 * soft-fp/eqsf2.c: Likewise.
27477 * soft-fp/eqtf2.c: Likewise.
27478 * soft-fp/extenddftf2.c: Likewise.
27479 * soft-fp/extended.h: Likewise.
27480 * soft-fp/extendsfdf2.c: Likewise.
27481 * soft-fp/extendsftf2.c: Likewise.
27482 * soft-fp/extendxftf2.c: Likewise.
27483 * soft-fp/fixdfdi.c: Likewise.
27484 * soft-fp/fixdfsi.c: Likewise.
27485 * soft-fp/fixdfti.c: Likewise.
27486 * soft-fp/fixsfdi.c: Likewise.
27487 * soft-fp/fixsfsi.c: Likewise.
27488 * soft-fp/fixsfti.c: Likewise.
27489 * soft-fp/fixtfdi.c: Likewise.
27490 * soft-fp/fixtfsi.c: Likewise.
27491 * soft-fp/fixtfti.c: Likewise.
27492 * soft-fp/fixunsdfdi.c: Likewise.
27493 * soft-fp/fixunsdfsi.c: Likewise.
27494 * soft-fp/fixunsdfti.c: Likewise.
27495 * soft-fp/fixunssfdi.c: Likewise.
27496 * soft-fp/fixunssfsi.c: Likewise.
27497 * soft-fp/fixunssfti.c: Likewise.
27498 * soft-fp/fixunstfdi.c: Likewise.
27499 * soft-fp/fixunstfsi.c: Likewise.
27500 * soft-fp/fixunstfti.c: Likewise.
27501 * soft-fp/floatdidf.c: Likewise.
27502 * soft-fp/floatdisf.c: Likewise.
27503 * soft-fp/floatditf.c: Likewise.
27504 * soft-fp/floatsidf.c: Likewise.
27505 * soft-fp/floatsisf.c: Likewise.
27506 * soft-fp/floatsitf.c: Likewise.
27507 * soft-fp/floattidf.c: Likewise.
27508 * soft-fp/floattisf.c: Likewise.
27509 * soft-fp/floattitf.c: Likewise.
27510 * soft-fp/floatundidf.c: Likewise.
27511 * soft-fp/floatundisf.c: Likewise.
27512 * soft-fp/floatunditf.c: Likewise.
27513 * soft-fp/floatunsidf.c: Likewise.
27514 * soft-fp/floatunsisf.c: Likewise.
27515 * soft-fp/floatunsitf.c: Likewise.
27516 * soft-fp/floatuntidf.c: Likewise.
27517 * soft-fp/floatuntisf.c: Likewise.
27518 * soft-fp/floatuntitf.c: Likewise.
27519 * soft-fp/fmadf4.c: Likewise.
27520 * soft-fp/fmasf4.c: Likewise.
27521 * soft-fp/fmatf4.c: Likewise.
27522 * soft-fp/gedf2.c: Likewise.
27523 * soft-fp/gesf2.c: Likewise.
27524 * soft-fp/getf2.c: Likewise.
27525 * soft-fp/ledf2.c: Likewise.
27526 * soft-fp/lesf2.c: Likewise.
27527 * soft-fp/letf2.c: Likewise.
27528 * soft-fp/muldf3.c: Likewise.
27529 * soft-fp/mulsf3.c: Likewise.
27530 * soft-fp/multf3.c: Likewise.
27531 * soft-fp/negdf2.c: Likewise.
27532 * soft-fp/negsf2.c: Likewise.
27533 * soft-fp/negtf2.c: Likewise.
27534 * soft-fp/op-1.h: Likewise.
27535 * soft-fp/op-2.h: Likewise.
27536 * soft-fp/op-4.h: Likewise.
27537 * soft-fp/op-8.h: Likewise.
27538 * soft-fp/op-common.h: Likewise.
27539 * soft-fp/quad.h: Likewise.
27540 * soft-fp/single.h: Likewise.
27541 * soft-fp/soft-fp.h: Likewise.
27542 * soft-fp/sqrtdf2.c: Likewise.
27543 * soft-fp/sqrtsf2.c: Likewise.
27544 * soft-fp/sqrttf2.c: Likewise.
27545 * soft-fp/subdf3.c: Likewise.
27546 * soft-fp/subsf3.c: Likewise.
27547 * soft-fp/subtf3.c: Likewise.
27548 * soft-fp/truncdfsf2.c: Likewise.
27549 * soft-fp/trunctfdf2.c: Likewise.
27550 * soft-fp/trunctfsf2.c: Likewise.
27551 * soft-fp/trunctfxf2.c: Likewise.
27552 * soft-fp/unorddf2.c: Likewise.
27553 * soft-fp/unordsf2.c: Likewise.
27554 * soft-fp/unordtf2.c: Likewise.
27555
9ebb0332
JM
275562013-10-15 Joseph Myers <joseph@codesourcery.com>
27557
27558 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
27559 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
27560
4b1a6d8b
OB
275612013-10-15 Ondřej Bílka <neleai@seznam.cz>
27562
27563 * elf/dl-libc.c: Clear initfini list after freeing.
27564
1e145589
JM
275652013-10-14 Joseph Myers <joseph@codesourcery.com>
27566
27567 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
27568 * soft-fp/addsf3.c: Likewise.
27569 * soft-fp/addtf3.c: Likewise.
27570 * soft-fp/divdf3.c: Likewise.
27571 * soft-fp/divsf3.c: Likewise.
27572 * soft-fp/divtf3.c: Likewise.
27573 * soft-fp/double.h: Likewise.
27574 * soft-fp/eqdf2.c: Likewise.
27575 * soft-fp/eqsf2.c: Likewise.
27576 * soft-fp/eqtf2.c: Likewise.
27577 * soft-fp/extenddftf2.c: Likewise.
27578 * soft-fp/extended.h: Likewise.
27579 * soft-fp/extendsfdf2.c: Likewise.
27580 * soft-fp/extendsftf2.c: Likewise.
27581 * soft-fp/extendxftf2.c: Likewise.
27582 * soft-fp/fixdfdi.c: Likewise.
27583 * soft-fp/fixdfsi.c: Likewise.
27584 * soft-fp/fixdfti.c: Likewise.
27585 * soft-fp/fixsfdi.c: Likewise.
27586 * soft-fp/fixsfsi.c: Likewise.
27587 * soft-fp/fixsfti.c: Likewise.
27588 * soft-fp/fixtfdi.c: Likewise.
27589 * soft-fp/fixtfsi.c: Likewise.
27590 * soft-fp/fixtfti.c: Likewise.
27591 * soft-fp/fixunsdfdi.c: Likewise.
27592 * soft-fp/fixunsdfsi.c: Likewise.
27593 * soft-fp/fixunsdfti.c: Likewise.
27594 * soft-fp/fixunssfdi.c: Likewise.
27595 * soft-fp/fixunssfsi.c: Likewise.
27596 * soft-fp/fixunssfti.c: Likewise.
27597 * soft-fp/fixunstfdi.c: Likewise.
27598 * soft-fp/fixunstfsi.c: Likewise.
27599 * soft-fp/fixunstfti.c: Likewise.
27600 * soft-fp/floatdidf.c: Likewise.
27601 * soft-fp/floatdisf.c: Likewise.
27602 * soft-fp/floatditf.c: Likewise.
27603 * soft-fp/floatsidf.c: Likewise.
27604 * soft-fp/floatsisf.c: Likewise.
27605 * soft-fp/floatsitf.c: Likewise.
27606 * soft-fp/floattidf.c: Likewise.
27607 * soft-fp/floattisf.c: Likewise.
27608 * soft-fp/floattitf.c: Likewise.
27609 * soft-fp/floatundidf.c: Likewise.
27610 * soft-fp/floatundisf.c: Likewise.
27611 * soft-fp/floatunsidf.c: Likewise.
27612 * soft-fp/floatunsisf.c: Likewise.
27613 * soft-fp/floatuntidf.c: Likewise.
27614 * soft-fp/floatuntisf.c: Likewise.
27615 * soft-fp/floatuntitf.c: Likewise.
27616 * soft-fp/fmadf4.c: Likewise.
27617 * soft-fp/fmasf4.c: Likewise.
27618 * soft-fp/fmatf4.c: Likewise.
27619 * soft-fp/gedf2.c: Likewise.
27620 * soft-fp/gesf2.c: Likewise.
27621 * soft-fp/getf2.c: Likewise.
27622 * soft-fp/ledf2.c: Likewise.
27623 * soft-fp/lesf2.c: Likewise.
27624 * soft-fp/letf2.c: Likewise.
27625 * soft-fp/muldf3.c: Likewise.
27626 * soft-fp/mulsf3.c: Likewise.
27627 * soft-fp/multf3.c: Likewise.
27628 * soft-fp/negdf2.c: Likewise.
27629 * soft-fp/negsf2.c: Likewise.
27630 * soft-fp/negtf2.c: Likewise.
27631 * soft-fp/op-1.h: Likewise.
27632 * soft-fp/op-2.h: Likewise.
27633 * soft-fp/op-4.h: Likewise.
27634 * soft-fp/op-8.h: Likewise.
27635 * soft-fp/op-common.h: Likewise.
27636 * soft-fp/quad.h: Likewise.
27637 * soft-fp/single.h: Likewise.
27638 * soft-fp/soft-fp.h: Likewise.
27639 * soft-fp/sqrtdf2.c: Likewise.
27640 * soft-fp/sqrtsf2.c: Likewise.
27641 * soft-fp/sqrttf2.c: Likewise.
27642 * soft-fp/subdf3.c: Likewise.
27643 * soft-fp/subsf3.c: Likewise.
27644 * soft-fp/subtf3.c: Likewise.
27645 * soft-fp/truncdfsf2.c: Likewise.
27646 * soft-fp/trunctfdf2.c: Likewise.
27647 * soft-fp/trunctfsf2.c: Likewise.
27648 * soft-fp/trunctfxf2.c: Likewise.
27649 * soft-fp/unorddf2.c: Likewise.
27650 * soft-fp/unordsf2.c: Likewise.
27651 * soft-fp/unordtf2.c: Likewise.
27652
17c48a60
OB
276532013-10-14 Ondřej Bílka <neleai@seznam.cz>
27654
27655 [BZ #15672]
27656 * misc/error.c (error_tail): Fix possible buffer overflow.
27657
cabba934
OB
276582013-10-14 Aurelien Jarno <aurelien@aurel32.net>
27659
27660 [BZ #13028]
27661 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
27662 address.
27663
94bf958a
PM
276642013-10-14 P. J. McDermott <pj@pehjota.net>
27665
27666 [BZ #832]
27667 * elf/ldd.bash.in (try_trace): New function. Delete previous code
27668 testing pipefail option.
27669
71b4dea7
JM
276702013-10-12 Joseph Myers <joseph@codesourcery.com>
27671
27672 * soft-fp/double.h: Indent preprocessor directives inside #if.
27673 * soft-fp/extended.h: Likewise.
27674 * soft-fp/op-2.h: Likewise.
27675 * soft-fp/op-4.h: Likewise.
27676 * soft-fp/op-common.h: Likewise.
27677 * soft-fp/quad.h: Likewise.
27678 * soft-fp/single.h: Likewise.
27679 * soft-fp/soft-fp.h: Likewise.
27680
55602758
YC
276812013-10-12 Yuri Chornoivan <yurchor@ukr.net>
27682
27683 * iconv/iconv_prog.c: Fix typos.
27684 * stdio-common/psiginfo-data.h: Likewise.
27685
9cd83302
RT
276862013-10-12 Reuben Thomas <rrt@sc3d.org>
27687
27688 [BZ #15764]
27689 * locale/setlocale.c: Fix typo.
27690
99fd9f47
JM
276912013-10-12 Joseph Myers <joseph@codesourcery.com>
27692
b7ea74f0
JM
27693 [BZ #16036]
27694 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
27695 signaling NaN arguments.
27696 * soft-fp/unordsf2.c (__unordsf2): Likewise.
27697 * soft-fp/unordtf2.c (__unordtf2): Likewise.
27698
8a509447
JM
27699 [BZ #14910]
27700 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
27701 unordered operands.
27702 * soft-fp/gesf2.c (__gesf2): Likewise.
27703 * soft-fp/getf2.c (__getf2): Likewise.
27704 * soft-fp/ledf2.c (__ledf2): Likewise.
27705 * soft-fp/lesf2.c (__lesf2): Likewise.
27706 * soft-fp/letf2.c (__letf2): Likewise.
27707
98998e9f
JM
27708 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
27709 * soft-fp/eqsf2.c (__eqsf2): Likewise.
27710 * soft-fp/eqtf2.c (__eqtf2): Likewise.
27711 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
27712 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
27713 * soft-fp/fixdfti.c (__fixdfti): Likewise.
27714 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
27715 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
27716 * soft-fp/fixsfti.c (__fixsfti): Likewise.
27717 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
27718 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
27719 * soft-fp/fixtfti.c (__fixtfti): Likewise.
27720 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
27721 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
27722 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
27723 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
27724 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
27725 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
27726 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
27727 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
27728 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
27729 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
27730 * soft-fp/floatdisf.c (__floatdisf): Likewise.
27731 * soft-fp/floatsisf.c (__floatsisf): Likewise.
27732 * soft-fp/floattidf.c (__floattidf): Likewise.
27733 * soft-fp/floattisf.c (__floattisf): Likewise.
27734 * soft-fp/floattitf.c (__floattitf): Likewise.
27735 * soft-fp/floatundidf.c (__floatundidf): Likewise.
27736 * soft-fp/floatundisf.c (__floatundisf): Likewise.
27737 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
27738 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
27739 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
27740 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
27741 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
27742 * soft-fp/gesf2.c (__gesf2): Likewise.
27743 * soft-fp/getf2.c (__getf2): Likewise.
27744 * soft-fp/ledf2.c (__ledf2): Likewise.
27745 * soft-fp/lesf2.c (__lesf2): Likewise.
27746 * soft-fp/letf2.c (__letf2): Likewise.
27747
8edc4a11
JM
27748 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
27749 Undefine and redefine.
27750 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
27751 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
27752 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
27753 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
27754 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27755 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
27756 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27757 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
27758 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27759 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
27760 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27761 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
27762 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27763 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
27764 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27765
8399acaf
JM
27766 [BZ #16032]
27767 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
27768 without decrementing exponent if mantissa >= that for the
27769 denominator, not >.
27770 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
27771 denominator, not >. Decrement exponent in < case instead of
27772 incrementing in >= case.
27773 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
27774 without decrementing exponent if mantissa >= that for the
27775 denominator, not >.
27776
99fd9f47
JM
27777 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
27778 computing saturated result for unsigned overflow.
27779
10e1cf6b
SP
277802013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27781 Jeff Law <law@redhat.com>
27782
27783 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
27784 (atan2Mp): Add systemtap probe marker.
27785 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
27786 (__ieee754_log): Add systemtap probe marker.
27787 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
27788 (atanMp): Add systemtap probe marker.
27789 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
27790 (tanMp): Add systemtap probe marker.
27791 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
27792 (__slowexp): Add systemtap probe marker.
27793 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
27794 (__slowpow): Add systemtap probe marker.
27795 * manual/probes.texi: Document probes.
27796
3d110c7c
EB
277972013-10-11 Eric Biggers <ebiggers3@gmail.com>
27798
27799 [BZ #15362]
27800 * libio/fileops.c (_IO_new_file_write): Return count of bytes
27801 written.
27802 (_IO_new_file_xsputn): Don't return EOF if nothing has been
27803 written.
27804 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
27805 written to buffer but not flushed.
27806 * libio/iofwrite_u.c: Likewise.
27807 * libio/iopadn.c: Return bytes returned even if EOF was
27808 encountered.
27809 * libio/iowpadn.c: Likewise.
27810 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
27811 if _IO_padn does not write the whole buffer.
27812 [!COMPILE_WPRINTF] (PAD): Likewise.
27813
75b4202a
DM
278142013-10-10 David S. Miller <davem@davemloft.net>
27815
27816 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
27817 directory block.
27818
6c6352e6
JM
278192013-10-10 Joseph Myers <joseph@codesourcery.com>
27820
33b853c3
JM
27821 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
27822 instead of FSF address.
27823 * soft-fp/fixdfti.c: Likewise.
27824 * soft-fp/fixsfti.c: Likewise.
27825 * soft-fp/fixtfti.c: Likewise.
27826 * soft-fp/fixunsdfti.c: Likewise.
27827 * soft-fp/fixunssfti.c: Likewise.
27828 * soft-fp/fixunstfti.c: Likewise.
27829 * soft-fp/floattidf.c: Likewise.
27830 * soft-fp/floattisf.c: Likewise.
27831 * soft-fp/floattitf.c: Likewise.
27832 * soft-fp/floatuntidf.c: Likewise.
27833 * soft-fp/floatuntisf.c: Likewise.
27834 * soft-fp/floatuntitf.c: Likewise.
27835 * soft-fp/trunctfxf2.c: Likewise.
27836
6c6352e6
JM
27837 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
27838 * soft-fp/fixdfti.c: Likewise.
27839 * soft-fp/fixsfti.c: Likewise.
27840 * soft-fp/fixtfti.c: Likewise.
27841 * soft-fp/fixunsdfti.c: Likewise.
27842 * soft-fp/fixunssfti.c: Likewise.
27843 * soft-fp/fixunstfti.c: Likewise.
27844 * soft-fp/floattidf.c: Likewise.
27845 * soft-fp/floattisf.c: Likewise.
27846 * soft-fp/floattitf.c: Likewise.
27847 * soft-fp/floatuntidf.c: Likewise.
27848 * soft-fp/floatuntisf.c: Likewise.
27849 * soft-fp/floatuntitf.c: Likewise.
27850 * soft-fp/trunctfxf2.c: Likewise.
27851
3bf78b71
DM
278522013-10-10 David S. Miller <davem@davemloft.net>
27853
27854 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27855
6f10289e
JM
278562013-10-10 Joseph Myers <joseph@codsourcery.com>
27857
bd878fc0
JM
27858 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
27859 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
27860 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
27861 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
27862 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
27863 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
27864 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
27865
6f10289e
JM
27866 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
27867 for NaNs before doing comparisons on argument.
27868 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
27869 Likewise.
27870
321e2684
WN
278712013-10-10 Will Newton <will.newton@linaro.org>
27872
27873 * malloc/hooks.c (memalign_check): Ensure the value of bytes
27874 passed to _int_memalign does not overflow.
27875
40fefba1
TR
278762013-10-10 Torvald Riegel <triegel@redhat.com>
27877
27878 * scripts/bench.pl: Add include-sources directive.
27879 * benchtests/README: Update documentation.
27880
2ae21ed2
JM
278812013-10-10 Joseph Myers <joseph@codesourcery.com>
27882
dcc2dd3f
JM
27883 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
27884 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
27885 instead of FP_INIT_ROUNDMODE.
27886 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
27887 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
27888
2ae21ed2
JM
27889 [BZ #16034]
27890 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
27891 copy class of input value.
27892 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
27893 not handle exceptions.
27894 * soft-fp/negsf2.c (__negsf2): Likewise.
27895 * soft-fp/negtf2.c (__negtf2): Likewise.
27896 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
27897
cb8f9562
JM
278982013-10-09 Joseph Myers <joseph@codesourcery.com>
27899
27900 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
27901 semicolon. From Linux kernel.
27902
5b60c59d
AB
279032013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
27904
27905 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
27906
b86835ca
YC
279072013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
27908
27909 [BZ #156]
27910 * manual/socket.texi: Added statement about buffer
27911 for gethostbyname2_r.
27912
e7044ea7
OB
279132013-10-08 Ondřej Bílka <neleai@seznam.cz>
27914
27915 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
27916 Use .p2align directive instead, throughout.
27917 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27918 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27919 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
27920 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27921 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27922 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
27923 * sysdeps/x86_64/strchr.S: Likewise.
27924 * sysdeps/x86_64/strrchr.S: Likewise.
27925
09544cbc
SP
279262013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27927
88576635
SP
27928 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
27929
e7b2d1dd
SP
27930 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
27931
09544cbc
SP
27932 * sysdeps/generic/math_private.h (__mpsin1): Remove
27933 declaration.
27934 (__mpcos1): Likewise.
27935 (__mpsin): New argument __range_reduce.
27936 (__mpcos): Likewise.
27937 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27938 (slow): Use __mpsin and __mpcos.
27939 (slow1): Likewise.
27940 (slow2): Likewise.
27941 (sloww): Likewise.
27942 (sloww1): Likewise.
27943 (sloww2): Likewise.
27944 (bsloww): Likewise.
27945 (bsloww1): Likewise.
27946 (bsloww2): Likewise.
27947 (cslow2): Likewise.
27948 (csloww): Likewise.
27949 (csloww1): Likewise.
27950 (csloww2): Likewise.
27951 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
27952 range_reduce. Merge in __mpsin1.
27953 (__mpcos): Likewise.
27954 (__mpsin1): Remove.
27955 (__mpcos1): Likewise.
27956
7602d070
JM
279572013-10-07 Joseph Myers <joseph@codesourcery.com>
27958
27959 * locale/loadlocale.c (_nl_intern_locale_data): Use
27960 LOCFILE_ALIGNED_P.
27961 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
27962 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
27963 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
27964 obstack data is appropriately aligned.
27965 (obstack_int32_grow_fast): Likewise.
27966 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
27967 * locale/programs/locfile.c (add_locale_uint32): Likewise.
27968 (add_locale_uint32_array): Likewise.
27969
a357259b
SP
279702013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27971
27972 * benchtests/Makefile: Remove ARGLIST and RET variables.
27973 ($(objpfx)bench-%.c): Pass only function name to the script.
27974 * benchtests/README: Update documentation.
27975 * benchtests/acos-inputs: Add new directives.
27976 * benchtests/acosh-inputs: Likewise.
27977 * benchtests/asin-inputs: Likewise.
27978 * benchtests/asinh-inputs: Likewise.
27979 * benchtests/atan-inputs: Likewise.
27980 * benchtests/atanh-inputs: Likewise.
27981 * benchtests/cos-inputs: Likewise.
27982 * benchtests/cosh-inputs: Likewise.
27983 * benchtests/exp-inputs: Likewise.
27984 * benchtests/log-inputs: Likewise.
27985 * benchtests/pow-inputs: Likewise.
27986 * benchtests/rint-inputs: Likewise.
27987 * benchtests/sin-inputs: Likewise.
27988 * benchtests/sinh-inputs: Likewise.
27989 * benchtests/tan-inputs: Likewise.
27990 * benchtests/tanh-inputs: Likewise.
27991 * scripts/bench.pl: Add support for new directives.
27992
9ec1b13d
AM
279932013-10-07 Alan Modra <amodra@gmail.com>
27994
27995 * README: Fix careless merge.
27996
8b7d57cd
AM
279972013-10-05 Alan Modra <amodra@gmail.com>
27998
27999 * NEWS: Mention powerpc64le support and bugs fixed.
28000 * README: Both big-endian and little-endian powerpc64 supported.
28001
7b7bab13
ST
280022013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
28003
57f41c40
AS
28004 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
28005 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
28006 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
28007 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
28008
d39baad1
RA
280092013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
28010
28011 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
28012 match prototype.
28013
cd78f7e7
JM
280142013-10-04 Joseph Myers <joseph@codesourcery.com>
28015
29d73d86
JM
28016 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
28017 Move -mhard-float appending from
28018 ports/sysdeps/powerpc/powerpc32/Makefile.
28019 [$(with-fp) = yes] (ASFLAGS): Likewise.
28020 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
28021 * sysdeps/powerpc/nofpu: Move directory from
28022 ports/sysdeps/powerpc/nofpu.
28023 * sysdeps/powerpc/soft-fp: Move directory from
28024 ports/sysdeps/powerpc/soft-fp.
28025 * sysdeps/powerpc/powerpc32/405: Move directory from
28026 ports/sysdeps/powerpc/powerpc32/405.
28027 * sysdeps/powerpc/powerpc32/440: Move directory from
28028 ports/sysdeps/powerpc/powerpc32/440.
28029 * sysdeps/powerpc/powerpc32/464: Move directory from
28030 ports/sysdeps/powerpc/powerpc32/464.
28031 * sysdeps/powerpc/powerpc32/476: Move directory from
28032 ports/sysdeps/powerpc/powerpc32/476.
28033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
28034 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
28035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
28036 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
28037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
28038 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
28039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
28040 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
28041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
28042 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
28043 * README: Update for powerpc-*-linux-gnu software floating point
28044 support in libc.
28045
e246b347
JM
28046 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
28047 case to powerpc/powerpc32*.
28048 * sysdeps/unix/sysv/linux/configure: Regenerated.
28049
89c2003e
JM
28050 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
28051 (_FPU_MASK_OM): Define as 0x04.
28052 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
28053 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
28054 0x00c10080.
28055 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
28056 0x0000003c.
28057 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
28058
cd78f7e7
JM
28059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
28060 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28061 getcontext_e500.
28062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
28063 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28064 setcontext_e500.
28065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
28066 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
28067 and setcontext_e500.
28068
c755294d
CL
280692013-10-04 Chris Leonard <cjl@sugarlabs,.org>
28070
28071 * locale/iso-3166.def: Update iso-1366.def and related occurrences
28072
e16d221c
SP
280732013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28074
28075 * manual/threads.texi (Default Thread Attributes): Fix typo.
28076
215c7d43
WN
280772013-10-04 Will Newton <will.newton@linaro.org>
28078
28079 * malloc/Makefile: Add tst-memalign.
28080 * malloc/tst-memalign.c: New file.
28081
27d0461b
WN
28082 * malloc/tst-posix_memalign.c: Add comments.
28083 (do_test): Add comments and call free on all potentially
28084 allocated pointers. Add space after cast.
28085
1bc92709
WN
28086 * malloc/tst-pvalloc.c: Add comments.
28087 (do_test): Add comments and call free on all potentially
28088 allocated pointers. Remove duplicate check for NULL pointer.
28089 Add space after cast.
28090
66a9be9d
WN
28091 * malloc/tst-valloc.c: Add comments.
28092 (do_test): Add comments and call free on all potentially
28093 allocated pointers. Remove duplicate check for NULL pointer.
28094 Add space after cast.
28095
4cb81307
AM
280962013-10-04 Alan Modra <amodra@gmail.com>
28097
28098 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28099 Use stdint types in rather than __attribute__((mode())).
28100 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28101
f8e3e9f3
AM
281022013-10-04 Alan Modra <amodra@gmail.com>
28103
28104 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28105 Correct handling of unaligned relocs for little-endian.
28106 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28107
8f9ebb08
AM
281082013-10-04 Alan Modra <amodra@gmail.com>
28109
28110 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
28111 * configure: Regenerate.
28112 * nptl/shlib-versions: Powerpc*le starts at 2.18.
28113 * shlib-versions: Likewise.
28114
0edf96c2
AM
281152013-10-04 Alan Modra <amodra@gmail.com>
28116
28117 * string/tester.c (test_memrchr): Increment reported test cycle.
28118
e0f7a380
AM
281192013-10-04 Alan Modra <amodra@gmail.com>
28120
28121 * string/test-memcpy.c (do_one_test): When reporting errors, print
28122 string address and don't overrun end of string.
28123
466b0393
AM
281242013-10-04 Alan Modra <amodra@gmail.com>
28125
28126 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
28127 insrdi. Make better use of reg selection to speed exit slightly.
28128 Schedule entry path a little better. Remove useless "are we done"
28129 checks on entry to main loop. Handle wrapping around zero address.
28130 Correct main loop count. Handle single left-over word from main
28131 loop inline rather than by using loop_small. Remove extra word
28132 case in loop_small caused by wrong loop count. Add little-endian
28133 support.
28134 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28135 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
28136 cache hint.
28137 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28138 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
28139 support. Avoid rlwimi.
28140 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
28141
3be87c77
AM
281422013-10-04 Alan Modra <amodra@gmail.com>
28143
28144 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 28145 insrdi. Formatting.
3be87c77
AM
28146 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
28147 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28148 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
28149 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
28150 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28151 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
28152
759cfef3
AM
281532013-10-04 Alan Modra <amodra@gmail.com>
28154
28155 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
28156 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28157 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28158 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
28159 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28160 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28161 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28162 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28163 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
28164 use of regs. Use power7 mtocrf. Tidy function tails.
28165
fe6e95d7
AM
281662013-10-04 Alan Modra <amodra@gmail.com>
28167
28168 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
28169 Formatting. Consistently use rXXX register defines or rN defines.
28170 Use early exit labels that avoid restoring unused non-volatile regs.
28171 Make cr field use more consistent with rWORDn compares. Rename
28172 regs used as shift registers for unaligned loop, using rN defines
28173 for short lifetime/multiple use regs.
28174 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28175 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
28176 addi 1,1,64 to pop stack frame. Simplify return value code.
28177 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28178
664318c3
AM
281792013-10-04 Alan Modra <amodra@gmail.com>
28180
28181 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
28182 support. Correct typos, formatting. Optimize tail. Use insrdi
28183 rather than rlwimi.
28184 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
28185 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
28186 little-endian support. Correct typos.
28187 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
28188 rather than rlwimi.
28189 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
28190 in loop and entry code to keep "and." results.
28191 (strchr): Add little-endian support. Comment. Move cntlzd
28192 earlier in tail.
28193 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
28194
43b84013
AM
281952013-10-04 Alan Modra <amodra@gmail.com>
28196
28197 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
28198 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
28199 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
28200 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
28201
8a7413f9
AM
282022013-10-04 Alan Modra <amodra@gmail.com>
28203
28204 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
28205 (rTMP): Define as r11.
28206 (strcmp): Add little-endian support. Optimise tail.
28207 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
28208 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28209 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28210 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28211 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28212 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28213 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28214
33ee81de
AM
282152013-10-04 Alan Modra <amodra@gmail.com>
28216
28217 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
28218 little-endian support. Remove unnecessary "are we done" tests.
28219 Handle "s" wrapping around zero and extremely large "size".
28220 Correct main loop count. Handle single left-over word from main
28221 loop inline rather than by using small_loop. Correct comments.
28222 Delete "zero" tail, use "end_max" instead.
28223 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
28224
db9b4570
AM
282252013-10-04 Alan Modra <amodra@gmail.com>
28226
28227 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
28228 support. Don't branch over align.
28229 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
28230 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
28231 support. Rearrange tmp reg use to suit. Comment.
28232 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
28233
f7c399cf
AM
282342013-10-04 Alan Modra <amodra@gmail.com>
28235
28236 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
28237
0b2c2ace
AM
282382013-10-04 Alan Modra <amodra@gmail.com>
28239
28240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
28241 conditional form of branch and link when obtaining pc.
28242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
28243
02f04a6c
AM
282442013-10-04 Alan Modra <amodra@gmail.com>
28245
28246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
28247 HIWORD/LOWORD.
28248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
28249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
28250
9b874b2f
AM
282512013-10-04 Alan Modra <amodra@gmail.com>
28252
28253 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
28254 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
28255 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
28256 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
28257 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28258 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28259 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
28260 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28261 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
28262 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
28263
be1e5d31
AB
282642013-10-04 Anton Blanchard <anton@au1.ibm.com>
28265 Alistair Popple <alistair@ozlabs.au.ibm.com>
28266 Alan Modra <amodra@gmail.com>
28267
28268 [BZ #15723]
28269 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
28270 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
28271 _dl_hwcap access for little-endian.
28272 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
28273 destroy vmx regs when saving unaligned.
28274 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
28275 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
28276 destroy vmx regs when saving unaligned.
28277
fef13a78
AM
282782013-10-04 Alan Modra <amodra@gmail.com>
28279
28280 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
28281 Don't use a union to pack hi/low value.
28282
76a66d51
AB
282832013-10-04 Anton Blanchard <anton@au1.ibm.com>
28284
28285 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
28286 for little-endian.
28287 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
28288 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
28289 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28290 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
28291 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
28292
6a31fe7f
AM
282932013-10-04 Alan Modra <amodra@gmail.com>
28294
28295 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
28296 constants to usual value for .cst8 section, and remove redundant
28297 high address load.
28298 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
28299 constant for 0x1p52. Load little-endian words of double from
28300 correct stack offsets.
28301
7b88401f
AM
283022013-10-04 Alan Modra <amodra@gmail.com>
28303
28304 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
28305 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
28306 words of double from correct stack offsets.
28307 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
28308 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
28309 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
28310 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
28311 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
28312 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
28313 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
28314 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
28315 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
28316 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
28317 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
28318 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
28319 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28320 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28321 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28322 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
28323 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28324
9c008155
AM
283252013-10-04 Alan Modra <amodra@gmail.com>
28326
28327 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
28328 64-bit int/double union.
28329 (_FPU_SETCW): Likewise.
28330 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
28331 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
28332
da13146d
AM
283332013-10-04 Alan Modra <amodra@gmail.com>
28334
28335 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
28336 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
28337
603e8410
AM
283382013-10-04 Alan Modra <amodra@gmail.com>
28339
28340 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
28341 use vector int constants.
28342 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
28343
4a28b3ca
AB
283442013-10-04 Anton Blanchard <anton@au1.ibm.com>
28345
28346 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
28347 array with long long.
28348 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
28349 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
28350 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
28351 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
28352 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
28353 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
28354 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
28355 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
28356 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
28357 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
28358 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
28359 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
28360 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
28361
2ca85d2b
AB
283622013-10-04 Anton Blanchard <anton@au1.ibm.com>
28363
28364 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
28365 (__signbit): Likewise. Correct for little-endian.
28366 (__signbitl): Call __signbit.
28367 (lrint): Correct for little-endian.
28368 (lrintf): Call lrint.
28369
62a728ae
AM
283702013-10-04 Alan Modra <amodra@gmail.com>
28371
28372 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
28373 union 32-bit int array member with 64-bit int array.
28374 (t515, tm256): Double rather than long double.
28375 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
28376
32c301df
AM
283772013-10-04 Alan Modra <amodra@gmail.com>
28378
28379 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
28380 Delete.
28381 (IEEE854_LONG_DOUBLE_BIAS): Delete.
28382 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
28383 version of math_ldbl.h.
28384
650ef4bd
AM
283852013-10-04 Alan Modra <amodra@gmail.com>
28386
28387 [BZ #15734], [BZ #15735]
28388 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
28389 all uses of ieee875 long double macros and unions. Simplify test
28390 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
28391 ldbl_extract_mantissa value for ix,iy exponents. Properly
28392 normalize after ldbl_extract_mantissa, and don't add hidden bit
28393 already handled. Don't treat low word of ieee854 mantissa like
28394 low word of IBM long double and mask off bit when testing for
28395 zero.
28396 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
28397 all uses of ieee875 long double macros and unions. Simplify tests
28398 for 0.0L and inf. Correct double adjustment of k. Delete dead code
28399 adjusting ha,hb. Simplify code setting kld. Delete two600 and
28400 two1022, instead use their values. Recognise that tests for large
28401 "a" and small "b" are mutually exclusive. Rename vars. Comment.
28402 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
28403 Rewrite all uses of ieee875 long double macros and unions. Simplify
28404 test for 0.0L and nan. Correct negation.
28405 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
28406 ieee875 long double macros and unions. Correct output for large
28407 magnitude x. Correct absolute value calculation.
28408 (__erfcl): Likewise.
28409 * math/libm-test.inc: Add tests for errors discovered in IBM long
28410 double versions of fmodl, remainderl, erfl and erfcl.
28411
765714ca
AM
284122013-10-04 Alan Modra <amodra@gmail.com>
28413
28414 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
28415 all uses of ieee854 long double macros and unions. Simplify tests
28416 for long doubles that are fully specified by the high double.
28417 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
28418 Likewise.
28419 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
28420 Remove dead code too.
28421 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28422 (__ieee754_ynl): Likewise.
28423 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28424 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
28425 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
28426 Remove dead code too.
28427 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
28428 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
28429 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
28430 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
28431 Simplify.
28432 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
28433 Simplify.
28434 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
28435 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
28436 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
28437 Comment on variable precision.
28438 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
28439 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28440 Likewise.
28441 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28442 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28443 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28444 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
28445 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
28446
4ebd120c
AM
284472013-10-04 Alan Modra <amodra@gmail.com>
28448
28449 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
28450 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
28451 all uses of ieee854 long double macros and unions.
28452 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
28453 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
28454 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
28455 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
28456 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28457 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28458 Likewise.
28459 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
28460 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28461 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
28462 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28463 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
28464 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
28465 Simplify sign and nan test too.
28466 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
28467 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
28468 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
28469 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
28470 Likewise.
28471 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28472 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
28473 Likewise.
28474 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28475 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
28476 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
28477 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
28478 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
28479 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
28480
1b6adf88
AM
284812013-10-04 Alan Modra <amodra@gmail.com>
28482
28483 * stdio-common/printf_size.c (__printf_size): Don't use
28484 union ieee854_long_double in fpnum union.
28485 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
28486 signbit macro to retrieve sign from long double.
28487 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
28488 retrieve sign from long double.
28489 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
28490 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
28491 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
28492 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28493 * math/test-misc.c (main): Don't use union ieee854_long_double.
28494
4cf69995
AM
284952013-10-04 Alan Modra <amodra@gmail.com>
28496
28497 [BZ #15680]
28498 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
28499 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
28500 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
28501 calculation. Remove unnecessary test for denormal exponent.
28502 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
28503 Correct handling of denormals. Avoid undefined shift behaviour.
28504 Correct normalisation of low mantissa when low double is denormal.
28505 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
28506 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
28507 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
28508 Correct normalisation of low mantissa. Test for overflow of high
28509 mantissa and normalise.
28510 (ldbl_nearbyint): Use more readable constant for two52.
28511 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
28512 (__mpn_construct_long_double): Fix test for overflow of high
28513 mantissa and correct normalisation. Avoid undefined shift.
28514
9605ca6c
AM
285152013-10-04 Alan Modra <amodra@gmail.com>
28516
28517 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
28518 (union ibm_extended_long_double): Define as an array of ieee754_double.
28519 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
28520 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
28521 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
28522 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28523 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28524 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
28525 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28526 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28527 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28528 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
28529 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28530
975569d0
JM
285312013-10-03 Joseph Myers <joseph@codesourcery.com>
28532
d3d23756
JM
28533 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
28534 page size instead of calling getpagesize.
28535
975569d0
JM
28536 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
28537 (LOCFILE_ALIGN_MASK): Likewise.
28538 (LOCFILE_ALIGN_UP): Likewise.
28539 (LOCFILE_ALIGNED_P): Likewise.
28540 * locale/programs/ld-collate.c (collate_output): Use the new
28541 macros instead of __alignof__ (int32_t).
28542 * locale/weight.h (findidx): Likewise.
28543
b1fe1f2b
OB
285442013-10-03 Ondřej Bílka <neleai@seznam.cz>
28545
28546 [BZ #431]
28547 * manual/string.texi: Fix strncat and wcsncat.
28548
5f855e35
BM
285492013-10-03 Brooks Moses <bmoses@google.com>
28550
28551 [BZ #15915]
28552 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
28553 * Makerules: ...here, and adjust associated comments.
28554
3cef6009
WN
285552013-10-02 Will Newton <will.newton@linaro.org>
28556
28557 * malloc/Makefile: Add tst-pvalloc.
28558 * malloc/tst-pvalloc.c: New file.
28559
7815420b
WN
285602013-10-02 Will Newton <will.newton@linaro.org>
28561
28562 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
28563 improve test coverage.
28564
4868b204
WN
285652013-10-02 Will Newton <will.newton@linaro.org>
28566
28567 * malloc/Makefile: Add tst-posix_memalign.
28568 * malloc/tst-posix_memalign.c: New file.
28569
29c793b3
EB
285702013-10-01 Eric Blake <eblake@redhat.com>
28571
28572 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
28573 Use __THROWNL rather than __THROW on static functions.
28574
fd967522
PM
285752013-09-30 Petr Machata <pmachata@redhat.com>
28576
28577 * elf/elf.h (R_AARCH64_ABS16): New macro.
28578 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
28579 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
28580 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
28581 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
28582 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
28583 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
28584 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
28585 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
28586 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
28587 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
28588 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
28589 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
28590 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
28591 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
28592 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
28593 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
28594 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
28595 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
28596 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
28597 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
28598 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
28599 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
28600 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
28601 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
28602 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
28603 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
28604 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
28605 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
28606 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
28607 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
28608 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
28609 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
28610 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
28611 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
28612 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
28613 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
28614 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
28615 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
28616 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
28617 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
28618 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
28619 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
28620 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
28621 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
28622 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
28623 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
28624 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
28625 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
28626 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
28627 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
28628 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
28629 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
28630 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
28631 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
28632 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
28633 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
28634 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
28635 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
28636 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
28637 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
28638 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
28639 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
28640 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
28641 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
28642 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
28643 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
28644 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
28645 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
28646 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
28647 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
28648 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
28649 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
28650 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
28651 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
28652 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
28653 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
28654 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
28655 (R_AARCH64_TLSDESC_LDR): Likewise.
28656 (R_AARCH64_TLSDESC_ADD): Likewise.
28657 (R_AARCH64_TLSDESC_CALL): Likewise.
28658
b2179107
AS
286592013-09-30 Andreas Schwab <schwab@suse.de>
28660
28661 [BZ #15048]
28662 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
28663 the nss database lookup.
28664 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28665 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28666
47f28d0a
MF
286672013-09-28 Mike Frysinger <vapier@gentoo.org>
28668
28669 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
28670
286712013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
28672
28673 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
28674 ${Bash-specific parameter/pattern/string} parameter expansion.
28675 * sysdeps/unix/make-syscalls.sh: Likewise.
28676
f4518a17
KK
286772013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28678
28679 * sysdeps/sh/stackguard-macros.h: New file.
28680
dc1a95c7
OB
286812013-09-26 Ondřej Bílka <neleai@seznam.cz>
28682
28683 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
28684 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
28685 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
28686 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
28687 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28688 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
28689
5ebbff8f
AZ
286902013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28691
28692 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
28693 Fix thread ID register.
28694
4fd2cf9f
JM
286952013-09-25 Joseph Myers <joseph@codesourcery.com>
28696
28697 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
28698 [POSIX || UNIX98]: Require rather than permitting all symbols from
28699 <time.h>.
28700 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
28701 element of struct sched_param.
28702 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
28703 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
28704 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
28705 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
28706 constant.
28707
12c22bc4
OL
287082013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
28709
28710 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
28711 argument calculation.
28712
a03d8ea7
JM
287132013-09-24 Joseph Myers <joseph@codesourcery.com>
28714
28715 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
28716 Expect macro.
28717 [POSIX] (pthread_attr_t): Do not require type.
28718 [POSIX] (pthread_cond_t): Likewise.
28719 [POSIX] (pthread_condattr_t): Likewise.
28720 [POSIX] (pthread_key_t): Likewise.
28721 [POSIX] (pthread_mutex_t): Likewise.
28722 [POSIX] (pthread_mutexattr_t): Likewise.
28723 [POSIX] (pthread_once_t): Likewise.
28724 [POSIX] (pthread_t): Likewise.
28725 [POSIX-based standards] (pthread_atfork): Expect function.
28726
6055173a
JM
287272013-09-24 Joseph Myers <joseph@codesourcery.com>
28728 Richard Sandiford <richard@codesourcery.com>
28729
28730 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
28731 (swap_endianness_p): New extern variable.
28732 (set_big_endian): New inline function.
28733 (maybe_swap_uint32): Likewise.
28734 (maybe_swap_uint32_array): Likewise.
28735 (maybe_swap_uint32_obstack): Likewise.
28736 * locale/programs/locfile.c: Include <stdbool.h>.
28737 (swap_endianness_p): New variable.
28738 (add_locale_uint32): Call maybe_swap_uint32.
28739 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
28740 (write_locale_data): Call maybe_swap_uint32_array.
28741 * locale/programs/ld-collate.c (obstack_int32_grow): Call
28742 maybe_swap_uint32.
28743 (obstack_int32_grow_fast): Likewise.
28744 (output_weightwc): Call maybe_swap_uint32_obstack.
28745 (collate_output): Likewise.
28746 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
28747 (OPT_LITTLE_ENDIAN): Likewise.
28748 (options): Add --little-endian and --big-endian options.
28749 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
28750 * locale/programs/locarchive.c: Include "locfile.h".
28751 (GET): New macro.
28752 (SET): Likewise.
28753 (INC): Likewise.
28754 (create_archive): Use the new macros to access fields of
28755 structures directly mapped from or written to locale archives.
28756 (oldlocrecentcmp): Likewise.
28757 (enlarge_archive): Likewise.
28758 (insert_name): Likewise.
28759 (add_alias): Likewise.
28760 (add_locale): Likewise.
28761 (delete_locales_from_archive): Likewise.
28762 (show_archive_content): Likewise.
28763 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
28764 locale data.
28765
39bf0bb4
RM
287662013-09-24 Roland McGrath <roland@hack.frob.com>
28767
28768 * manual/freemanuals.texi: Updated from (newly) canonical copy at
28769 http://www.gnu.org/doc/freemanuals.texi.
28770 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
28771
f02eed10
WN
287722013-09-24 Will Newton <will.newton@linaro.org>
28773
28774 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
28775 macro.
28776
a3a6c312
JM
287772013-09-23 Joseph Myers <joseph@codesourcery.com>
28778
28779 * locale/hashval.h (compute_hashval): Interpret bytes of key as
28780 unsigned char.
28781
107375ac
MR
287822013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
28783
28784 * manual/threads.texi (POSIX Threads): Fix a typo.
28785
141f3a77
SP
287862013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
28787
303e567a
SP
28788 [BZ #14547]
28789 * string/tst-strcoll-overflow.c: New test case.
28790 * string/Makefile (xtests): Add tst-strcoll-overflow.
28791 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
28792 cache if string sizes may cause integer overflow.
28793
141f3a77
SP
28794 [BZ #14547]
28795 * string/strcoll_l.c (coll_seq): New members rule, idx,
28796 save_idx and back_us.
28797 (get_next_seq_nocache): New function.
28798 (do_compare_nocache): New function.
28799 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
28800 when malloc fails.
28801
c61b4d41
CD
288022013-09-23 Carlos O'Donell <carlos@redhat.com>
28803
0b1f8e35
CD
28804 [BZ #15754]
28805 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
28806 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
28807 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
28808
c61b4d41
CD
28809 [BZ #15754]
28810 * elf/Makefile (tests): Add tst-ptrguard1.
28811 (tests-static): Add tst-ptrguard1-static.
28812 (tst-ptrguard1-ARGS): Define.
28813 (tst-ptrguard1-static-ARGS): Define.
28814 * elf/tst-ptrguard1.c: New file.
28815 * elf/tst-ptrguard1-static.c: New file.
28816 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
28817 * sysdeps/i386/stackguard-macros.h: Likewise.
28818 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28819 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28820 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28821 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28822 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28823 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28824
288252013-09-23 Hector Marco <hecmargi@upv.es>
28826 Ismael Ripoll <iripoll@disca.upv.es>
28827 Carlos O'Donell <carlos@redhat.com>
28828
28829 [BZ #15754]
28830 * sysdeps/generic/stackguard-macros.h: Define
28831 __pointer_chk_guard_local and POINTER_CHK_GUARD.
28832 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
28833 Define __pointer_chk_guard_local.
28834 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
28835 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
28836
f5f4e7b4
VV
288372013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
28838
28839 [BZ #15859]
28840 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
28841
5bb43a43
AS
288422013-09-20 Andreas Schwab <schwab@linux-m68k.org>
28843
28844 * include/string.h (__ffs): Declare as hidden.
28845 * string/ffs.c (__ffs): Define as hidden.
28846 * sysdeps/i386/ffs.c (__ffs): Likewise.
28847 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
28848 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
28849 * sysdeps/s390/ffs.c (__ffs): Likewise.
28850 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
28851
3ea5be54
AO
288522013-09-20 Alexandre Oliva <aoliva@redhat.com>
28853
ffb89e53
AO
28854 * NEWS: Mention malloc probes.
28855
322dea08
AO
28856 * malloc/arena.c (new_heap): New memory_heap_new probe.
28857 (grow_heap): New memory_heap_more probe.
28858 (shrink_heap): New memory_heap_less probe.
28859 (heap_trim): New memory_heap_free probe.
28860 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
28861 (systrim): New memory_sbrk_less probe.
28862 * manual/probes.texi: Document them.
28863
655673f3
AO
28864 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
28865 * manual/probes.texi: Document it.
28866
35fed6f1
AO
28867 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
28868 (__libc_realloc): Add memory_realloc_retry probe.
28869 (__libc_memalign): Add memory_memalign_retry probe.
28870 (__libc_valloc): Add memory_valloc_retry probe.
28871 (__libc_pvalloc): Add memory_pvalloc_retry probe.
28872 (__libc_calloc): Add memory_calloc_retry probe.
28873 * manual/probes.texi: Document them.
28874
6999d38c
AO
28875 * malloc/arena.c (get_free_list): Add probe
28876 memory_arena_reuse_free_list.
28877 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
28878 and memory_arena_reuse.
28879 (arena_get2) [!PER_THREAD]: Likewise.
28880 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
28881 memory_arena_reuse_realloc.
28882 * manual/probes.texi: Document them.
28883
0653427f
AO
28884 * malloc/malloc.c (__libc_free): Add
28885 memory_mallopt_free_dyn_thresholds probe.
28886 (__libc_mallopt): Add multiple memory_mallopt probes.
28887 * manual/probes.texi: Document them.
28888
3ea5be54
AO
28889 * malloc/malloc.c: Include stap-probe.h.
28890 (__libc_mallopt): Add memory_mallopt probe.
28891 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
28892 * manual/probes.texi: New.
28893 * manual/Makefile (chapters): Add probes.
28894 * manual/threads.texi: Set next node.
28895
e35696c3 288962013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 28897
e35696c3
CL
28898 [BZ #15963, #13985]
28899 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
28900 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
28901 Add `Chinese' to `nan' entry name.
28902
4aafb73c
SP
289032013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28904
28905 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
28906 (POLYNOMIAL): Likewise.
28907 (TAYLOR_SINCOS): Likewise.
28908 (TAYLOR_SLOW): Likewise.
28909 (__sin): Use TAYLOR_SINCOS.
28910 (__cos): Likewise.
28911 (slow): Use TAYLOR_SLOW.
28912 (sloww): Likewise.
28913 (bsloww): Likewise.
28914 (csloww): Likewise.
28915
d84f25c7
LD
289162013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28917
28918 * stdlib/strtod_l.c: Fix buffer overrun.
28919
5eea0404
SP
289202013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28921
7849ff93
SP
28922 * benchtests/Makefile (bench): Add sincos.
28923 * benchtests/bench-sincos.c: New file.
28924
cfa3c886
SP
28925 * math/libm-test.inc (cos_test_data): New test inputs.
28926 (sin_test_data): Likewise.
28927
b348e1e3
SP
28928 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
28929 macro.
28930 (__sin): Use it.
28931 (__cos): Likewise.
28932 (slow1): Likewise.
28933 (slow2): Likewise.
28934 (sloww1): Likewise.
28935 (sloww2): Likewise.
28936 (bsloww1): Likewise.
28937 (bsloww2): Likewise.
28938 (cslow2): Likewise.
28939 (csloww1): Likewise.
28940 (csloww2): Likewise.
28941
6cce25f8
SP
28942 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
28943 function.
28944 (__sin): Use it.
28945 (__cos): Likewise.
28946
5eea0404
SP
28947 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
28948 gotos.
28949 (__cos): Likewise.
28950
9c21573c
MR
289512013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
28952
28953 * config.h.in (HAVE_MIPS_NAN2008): New macro.
28954 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
28955 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
28956 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
28957 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
28958 * elf/cache.c (print_entry): Handle the new cache flags.
28959
24d22e65
JM
289602013-09-18 Joseph Myers <joseph@codesourcery.com>
28961 Aldy Hernandez <aldyh@redhat.com>
28962
28963 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
28964 Change condition to [_SOFT_FLOAT].
28965 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
28966 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
28967 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
28968 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
28969 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
28970 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
28971 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
28972 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
28973 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
28974 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
28975 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
28976 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
28977 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
28978 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
28979 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
28980 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
28981 declaration.
28982
d13ef066
JM
289832013-09-18 Joseph Myers <joseph@codesourcery.com>
28984
2e071de0
JM
28985 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
28986 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28987 (__longjmp): Use LOAD_GP to load saved GPRs.
28988 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
28989 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28990 (__sigsetjmp): Use SAVE_GP to save GPRs.
28991
d13ef066
JM
28992 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
28993 Do not append -msoft-float.
28994 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
28995
97a0650b
SP
289962013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28997
28998 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
28999
11ca09e9
JM
290002013-09-17 Joseph Myers <joseph@codesourcery.com>
29001
29002 [BZ #15966]
29003 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
29004 (_FPU_GETCW): Use initial "__" on variable and field names but not
29005 on macro parameter name.
29006 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
29007 parentheses around reference to macro parameter.
29008
08ffcf34
RS
290092013-09-13 Richard Sandiford <richard@codesourcery.com>
29010
29011 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
29012 prototype.
29013 (ctype_startup): Use uint32_t in cast and sizeof for
29014 ctype->charnames.
29015
ae7080d3
JL
290162013-09-11 Jia Liu <proljc@gmail.com>
29017
29018 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
29019 __daddr_t_defined.
29020 [__FreeBSD__]: Likewise.
29021
5905e7b3
OB
290222013-09-11 Ondřej Bílka <neleai@seznam.cz>
29023
29024 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
29025 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
29026 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
29027 (strchr): Remove __strchr_sse42 ifunc selection.
29028 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
29029 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
29030
b987c776
WN
290312013-09-11 Will Newton <will.newton@linaro.org>
29032
29033 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
29034 parameter to RES. Remove hardcoded 1000 value.
29035 * benchtests/bench-skeleton.c (main): Pass RES parameter
29036 to TIMING_INIT and multiply result by 1000.
29037
ddf985af
AZ
290382013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29039
29040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29041
ffdd3181
AS
290422013-09-11 Andreas Schwab <schwab@suse.de>
29043
29044 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
29045 if not defined.
29046 (O_TMPFILE) [__USE_GNU]: Define.
29047 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
29048 Define.
29049
b73ed247
WN
290502013-09-11 Will Newton <will.newton@linaro.org>
29051
29052 [BZ #15857]
29053 * malloc/malloc.c (__libc_memalign): Check the value of bytes
29054 does not overflow.
29055
55e17aad
WN
290562013-09-11 Will Newton <will.newton@linaro.org>
29057
29058 [BZ #15856]
29059 * malloc/malloc.c (__libc_valloc): Check the value of bytes
29060 does not overflow.
29061
1159a193
WN
290622013-09-11 Will Newton <will.newton@linaro.org>
29063
29064 [BZ #15855]
29065 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
29066 does not overflow.
29067
5905e7b3 290682013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
29069
29070 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
29071 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29072 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29073 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29074 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29075
cdfc721b
AM
290762013-09-10 Allan McRae <allan@archlinux.org>
29077
aa04af00
AM
29078 [BZ #15748]
29079 * manual/arith.texi (Parsing of Floats): Clarify
29080 cross-reference.
29081
cdfc721b
AM
29082 [BZ #15849]
29083 * manual/install.texi (Running make install): Mention
29084 --enable-pt-chown.
29085 * INSTALL: Regenerated.
29086
95e7cf29
MR
290872013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
29088
29089 * csu/init-first.c (_init): Remove the !SHARED condition around
29090 FPU control word initialization.
29091 * elf/dl-support.c (_dl_fpu_control): New variable.
29092 (_dl_aux_init) <AT_FPUCW>: Initialize it.
29093 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
29094 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
29095 * math/test-fpucw-static.c: New file.
29096 * math/test-fpucw-ieee.c: New file.
29097 * math/test-fpucw-ieee-static.c: New file.
29098 * math/Makefile (tests): Add `test-fpucw-ieee' and
29099 `$(tests-static)'.
29100 (tests-static): New variable.
29101 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
29102 dependency to...
29103 [($(build-shared),yes)]
29104 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
29105 ... this.
29106 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
29107 New dependency.
29108
83e43bf0
AM
291092013-09-09 Allan McRae <allan@archlinux.org>
29110
a9f5ce09
AM
29111 [BZ #15939]
29112 * manual/string.texi (Collation Functions): Fix typo in
29113 strcoll example.
29114 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
29115
34829bc2
AM
29116 [BZ #15893]
29117 * stdlib/isomac.c (get_null_defines): Fix memory leak.
29118
3932737d
AM
29119 [BZ #15892]
29120 * libio/memstream.c (open_memstream): Fix memory leak.
29121 * libio/wmemstream.c (open_wmemstream): Likewise.
29122
83e43bf0
AM
29123 [BZ #15895]
29124 * nscd/netgroupcache.c: Fix nesting of ifdefs.
29125
0c66b8e9
WN
291262013-09-09 Will Newton <will.newton@linaro.org>
29127
29128 * malloc/Makefile: Add tst-realloc to tests.
29129 * malloc/tst-realloc.c: New file.
29130
f6b00fd1
AM
291312013-09-09 Allan McRae <allan@archlinux.org>
29132
29133 [BZ #15844]
29134 * COPYING: Update from GNU website to fix FSF address.
29135 * COPYING.LIB: Likewise.
29136
eec55e16
DM
291372013-09-06 David S. Miller <davem@davemloft.net>
29138
29139 * po/zh_TW.po: Update Chinese (traditional) translation from
29140 translation project.
29141
1ecbb381
RS
291422013-09-06 Richard Sandiford <richard@codesourcery.com>
29143 Joseph Myers <joseph@codesourcery.com>
29144
29145 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
29146 "localeinfo.h".
29147 (obstack_chunk_alloc): New macro.
29148 (obstack_chunk_free): Likewise.
29149 (record_offset): New function.
29150 (init_locale_data): Likewise.
29151 (align_locale_data): Likewise.
29152 (add_locale_empty): Likewise.
29153 (add_locale_raw_data): Likewise.
29154 (add_locale_raw_obstack): Likewise.
29155 (add_locale_string): Likewise.
29156 (add_locale_wstring): Likewise.
29157 (add_locale_uint32): Likewise.
29158 (add_locale_uint32_array): Likewise.
29159 (add_locale_char): Likewise.
29160 (start_locale_structure): Likewise.
29161 (end_locale_structure): Likewise.
29162 (start_locale_prelude): Likewise.
29163 (end_locale_prelude): Likewise.
29164 (write_locale_data): Take locale_file structure rather than an
29165 iovec.
29166 * locale/programs/locfile.h: Include "obstack.h".
29167 (struct locale_file): Change to store locale file contents instead
29168 of header.
29169 (init_locale_data): New prototype.
29170 (align_locale_data): Likewise.
29171 (add_locale_empty): Likewise.
29172 (add_locale_raw_data): Likewise.
29173 (add_locale_raw_obstack): Likewise.
29174 (add_locale_string): Likewise.
29175 (add_locale_wstring): Likewise.
29176 (add_locale_uint32): Likewise.
29177 (add_locale_uint32_array): Likewise.
29178 (add_locale_char): Likewise.
29179 (start_locale_structure): Likewise.
29180 (end_locale_structure): Likewise.
29181 (start_locale_prelude): Likewise.
29182 (end_locale_prelude): Likewise.
29183 (write_locale_data): Update prototype.
29184 * locale/programs/3level.h (struct TABLE): Remove result field.
29185 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
29186 Use new locale_file interface.
29187 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
29188 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
29189 * locale/programs/ld-address.c (address_output): Use new
29190 locale_file interface.
29191 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
29192 NO_ADD_LOCALE.
29193 (collate_finish): Don't call collseq_table_finalize.
29194 (collate_output): Use new locale_file interface.
29195 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
29196 in file.
29197 (NO_FINALIZE): Change to NO_ADD_LOCALE.
29198 (TABLE): Move defines earlier in file.
29199 (ELEMENT): Likewise.
29200 (DEFAULT): Likewise.
29201 (wctrans_table_add): Move macro and inline function earlier in
29202 file.
29203 (struct wctype_table): Move type earlier in file.
29204 (add_locale_wctype_table): New static prototype.
29205 (struct locale_ctype_t): Use logical types instead of struct iovec
29206 pointers for members.
29207 (ctype_output): Use new locale_file interface.
29208 (wctype_table_finalize): Change to add_locale_wctype_table. Use
29209 new locale_file interface.
29210 (allocate_arrays): Update for use of new locale_file interface.
29211 * locale/programs/ld-identification.c (identification_output): Use
29212 new locale_file interface.
29213 * locale/programs/ld-measurement.c (measurement_output): Likewise.
29214 * locale/programs/ld-messages.c (messages_output): Likewise.
29215 * locale/programs/ld-monetary.c (monetary_output): Likewise.
29216 * locale/programs/ld-name.c (name_output): Likewise.
29217 * locale/programs/ld-numeric.c (numeric_output): Likewise.
29218 * locale/programs/ld-paper.c (paper_output): Likewise.
29219 * locale/programs/ld-telephone.c (telephone_output): Likewise.
29220 * locale/programs/ld-time.c (time_output): Likewise.
29221
e029e2e5
AZ
292222013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29223
29224 * benchtests/Makefile: Add memrchr benchmark.
29225 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
29226 benchmark as memrchr.
29227 * benchtests/bench-memrchr-ifunc.c: New file.
29228 * benchtests/bench-memrchr.c: New file.
29229
bbf6e8e4
WN
292302013-09-06 Will Newton <will.newton@linaro.org>
29231
29232 * benchtests/Makefile (string-bench): Add memcpy.
29233
6c82a2f8
CD
292342013-09-05 Carlos O'Donell <carlos@redhat.com>
29235 Cong Wang <amwang@redhat.com>
29236
e732c5f0 29237 [BZ #15850]
6c82a2f8
CD
29238 * sysdeps/unix/sysv/linux/bits/in.h
29239 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
29240 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
29241 before __USE_KERNEL_IPV6_DEFS uses.
29242 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
29243 IPPROTO_BEETPH.
29244 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
29245 sockaddr_in6, or ipv6_mreq.
29246
5430fc65
AZ
292472013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29248
29249 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
29250 memory access for final bytes in some large inputs.
29251 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
29252
4660856c
AZ
292532013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29254
29255 * string/test-memrchr.c: New file.
29256 * string/test-memrchr-ifunc.c: New file.
29257 * string/Makefile: Add new memrchr testcase.
29258
bb8ea713
MF
292592013-09-05 Mike Frysinger <vapier@gentoo.org>
29260
29261 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
29262 fanotify_init returns EPERM.
29263
b92a20b5
JM
292642013-09-04 Joseph Myers <joseph@codesourcery.com>
29265
29266 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
29267 errors.
29268 (top level): Treat second token from macro or constant entries for
29269 allowed headers as allowed.
29270 * include/complex.h: Condition internal declarations on
29271 [!_ISOMAC].
29272 * include/fenv.h: Condition include of <stdbool.h> and internal
29273 declarations on [!_ISOMAC].
7447ccd9
CL
29274
292752013-09-04 Chris Leonard <cjl@sugarlabs,.org>
29276
3e181dda 29277 [BZ #15923]
7447ccd9
CL
29278 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
29279
3f2e46a4
JM
292802013-09-04 Joseph Myers <joseph@codesourcery.com>
29281
29282 * configure.in (--enable-versioning): Remove configure option.
29283 (libc_cv_asm_symver_directive): Remove configure test.
29284 (libc_cv_ld_version_script_option): Likewise.
29285 (VERSIONING): Remove variable and AC_SUBST.
29286 (DO_VERSIONING): Remove AC_DEFINE.
29287 * configure: Regenerated.
29288 * config.h.in (DO_VERSIONING): Remove macro.
29289 * Makerules [$(versioning) = yes]: Change conditionals to
29290 [$(build-shared) = yes].
29291 * config.make.in (versioning): Remove variable.
29292 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
29293 [$(build-shared) = yes].
29294 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
29295 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
29296 * elf/Makefile [$(versioning) = yes]: Change conditionals to
29297 [$(build-shared) = yes].
29298 * extra-lib.mk [$(versioning) = yes]: Likewise.
29299 * hurd/Makefile [$(versioning) = yes]: Likewise.
29300 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
29301 [SHARED].
29302 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
29303 [SHARED].
29304 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29305 [SHARED && !NO_HIDDEN].
29306 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
29307 [SHARED].
29308 [SHARED && DO_VERSIONING]: Likewise..
29309 * libio/Makefile [$(versioning) = yes]: Change conditionals to
29310 [$(build-shared) = yes].
29311 * manual/install.texi (--disable-versioning): Remove
29312 documentation.
29313 * INSTALL: Regenerated.
29314 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
29315 to [SHARED].
29316 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
29317 [$(build-shared) = yes].
29318 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
29319 * sysdeps/i386/i686/multiarch/strstr-c.c
29320 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29321 [SHARED && !NO_HIDDEN].
29322 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
29323 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
29324 * sysdeps/powerpc/powerpc32/dl-machine.c
29325 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
29326 * sysdeps/powerpc/powerpc32/sysdep.h
29327 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
29328 to [SHARED && PIC && !NO_HIDDEN].
29329 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
29330 conditional to [SHARED].
29331
44558701
WN
293322013-09-04 Will Newton <will.newton@linaro.org>
29333
29334 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
29335 * benchtests/bench-string.h: Include bench-timing.h instead
29336 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
29337 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
29338 call to HP_TIMING_DIFF_INIT.
29339 * benchtests/bench-memccpy.c: Use bench-timing.h macros
29340 instead of hp-timing.h macros.
29341 * benchtests/bench-memchr.c: Likewise.
29342 * benchtests/bench-memcmp.c: Likewise.
29343 * benchtests/bench-memcpy.c: Likewise.
29344 * benchtests/bench-memmem.c: Likewise.
29345 * benchtests/bench-memmove.c: Likewise.
29346 * benchtests/bench-memset.c: Likewise.
29347 * benchtests/bench-rawmemchr.c: Likewise.
29348 * benchtests/bench-strcasecmp.c: Likewise.
29349 * benchtests/bench-strcasestr.c: Likewise.
29350 * benchtests/bench-strcat.c: Likewise.
29351 * benchtests/bench-strchr.c: Likewise.
29352 * benchtests/bench-strcmp.c: Likewise.
29353 * benchtests/bench-strcpy.c: Likewise.
29354 * benchtests/bench-strcpy_chk.c: Likewise.
29355 * benchtests/bench-strlen.c: Likewise.
29356 * benchtests/bench-strncasecmp.c: Likewise.
29357 * benchtests/bench-strncat.c: Likewise.
29358 * benchtests/bench-strncmp.c: Likewise.
29359 * benchtests/bench-strncpy.c: Likewise.
29360 * benchtests/bench-strnlen.c: Likewise.
29361 * benchtests/bench-strpbrk.c: Likewise.
29362 * benchtests/bench-strrchr.c: Likewise.
29363 * benchtests/bench-strspn.c: Likewise.
29364 * benchtests/bench-strstr.c: Likewise.
29365
cae16d66
WN
293662013-09-04 Will Newton <will.newton@linaro.org>
29367
29368 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
29369
ffa3cd7f
JM
293702013-09-03 Joseph Myers <joseph@codesourcery.com>
29371
29372 [BZ #15427]
29373 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
29374 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
29375 * math/libm-test.inc (lgamma_test_data): Add more tests.
29376 * sysdeps/i386/fpu/libm-test-ulps: Update.
29377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29378
8f02859f
OB
293792013-09-03 Ondřej Bílka <neleai@seznam.cz>
29380
29381 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
29382 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29383 Add ifunc.
29384 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29385 Add strcmp-sse2-unaligned
29386 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
29387
18d43716
MF
293882013-09-02 Mike Frysinger <vapier@gentoo.org>
29389
29390 * Versions.def (libc): Add GLIBC_2.19.
29391
ac444012
MF
293922013-09-02 Mike Frysinger <vapier@gentoo.org>
29393
29394 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
29395 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
29396
b7835e32
JM
293972013-09-02 Joseph Myers <joseph@codesourcery.com>
29398
29399 [BZ #14155]
29400 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
29401 intermediate calculations in recurrence.
29402 (__ieee754_ynf): Likewise.
29403 * math/libm-test.inc (jn_test_data): Do not allow spurious
29404 underflow exception. Add more tests.
29405 (yn_test_data): Add more tests.
29406 * sysdeps/i386/fpu/libm-test-ulps: Update.
29407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29408
8220f4f0
OB
294092013-09-02 Ondřej Bílka <neleai@seznam.cz>
29410
29411 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
29412
f24a6d08
OB
294132013-08-30 Ondřej Bílka <neleai@seznam.cz>
29414
29415 * csu/init-first.c: Fix then/than typos.
29416 * locale/programs/ld-collate.c: Likewise.
29417 * locale/programs/linereader.h: Likewise.
29418 * manual/charset.texi: Likewise.
29419 * manual/filesys.texi: Likewise.
29420 * manual/stdio.texi: Likewise.
29421 * manual/string.texi: Likewise.
29422 * stdlib/fmtmsg.c: Likewise.
29423 * sysdeps/i386/stpncpy.S: Likewise.
29424 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29425 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29426 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29427 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29428
382466e0
OB
294292013-08-30 Ondřej Bílka <neleai@seznam.cz>
29430
29431 * elf/dl-open.c: Fix typos.
29432 * iconvdata/gbbig5.c: Likewise.
29433 * iconvdata/iso-2022-jp.c: Likewise.
29434 * iconv/gconv_int.h: Likewise.
29435 * iconv/loop.c: Likewise.
29436 * nis/rpcsvc/nis.h: Likewise.
29437 * resolv/ns_name.c: Likewise.
29438 * stdio-common/vfscanf.c: Likewise.
29439 * streams/stropts.h: Likewise.
29440 * sunrpc/rpc_thread.c: Likewise.
29441 * sysdeps/i386/strpbrk.S: Likewise.
29442 * sysdeps/ieee754/k_standard.c: Likewise.
29443 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29444 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29445 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
29446 * sysdeps/mach/hurd/profil.c: Likewise.
29447 * sysdeps/s390/dl-procinfo.h: Likewise.
29448 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
29449 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
29450 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
29451 * sysdeps/x86_64/dl-trampoline.S: Likewise.
29452 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29453
0186c6e9
OB
294542013-08-30 Ondřej Bílka <neleai@seznam.cz>
29455
29456 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
29457 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
29458
d4e16af1
OB
294592013-08-29 Ondřej Bílka <neleai@seznam.cz>
29460
29461 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
29462 aix specific files.
29463 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
29464 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
29465 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
29466 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
29467 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
29468 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
29469 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
29470 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
29471
88335980
TS
294722013-08-29 Thomas Schwinge <thomas@codesourcery.com>
29473 Roland McGrath <roland@hack.frob.com>
29474
29475 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
29476 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
29477
ed479b02
ST
294782013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
29479
29480 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
29481 __executable_start symbol instead of _start.
29482
f1cc4c86
TS
294832013-08-29 Thomas Schwinge <thomas@codesourcery.com>
29484
d821f07c
TS
29485 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
29486 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
29487 Move macros to...
29488 * sysdeps/gnu/ldsodefs.h: ... this new file.
29489
c54290cf
TS
29490 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
29491 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
29492 instead of ELFOSABI_LINUX.
29493
0007fc9b 29494 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
29495 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
29496 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
29497 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
29498 Likewise.
29499 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
29500 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
29501 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
29502 Likewise.
29503 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29504 (ibm_extended_long_double): Add ieee_nan member.
29505 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
29506 (do_test): New function.
29507
f1cc4c86
TS
29508 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
29509 TEST_TRUNC.
29510 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
29511 functions, renamed from truncdfsf_test, trunctfsf_test,
29512 trunctfdf_test.
29513 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
29514 functions.
29515 (do_test): Run all these.
29516
6f65e668
OB
295172013-08-29 Ondřej Bílka <neleai@seznam.cz>
29518
29519 * argp/argp-help.c: Fix typos.
29520 * argp/argp-parse.c: Likewise.
29521 * debug/backtracesyms.c: Likewise.
29522 * elf/elf.h: Likewise.
29523 * malloc/malloc.c: Likewise.
29524 * nis/nis_print.c: Likewise.
29525 * resolv/res_comp.c: Likewise.
29526 * stdlib/stdlib.h: Likewise.
29527 * sunrpc/clnt_tcp.c: Likewise.
29528 * sunrpc/clnt_udp.c: Likewise.
29529 * sunrpc/clnt_unix.c: Likewise.
29530 * sysdeps/unix/bsd/ptsname.c: Likewise.
29531 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
29532 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
29533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
29534 Likewise.
29535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
29536 Likewise.
29537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
29538 Likewise.
6f65e668
OB
29539 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29540
3a309239
SP
295412013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29542
29543 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
29544 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29545
3b813b29
MF
295462013-08-27 Mike Frysinger <vapier@gentoo.org>
29547
29548 [BZ #15897]
29549 * dlfcn/Makefile (tests): Add bug-dl-leaf.
29550 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
29551 ($(objpfx)bug-dl-leaf): New rule.
29552 ($(objpfx)bug-dl-leaf.so): Likewise.
29553 ($(objpfx)bug-dl-leaf.out): Likewise.
29554 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
29555 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
29556 * dlfcn/bug-dl-leaf.c: New test.
29557 * dlfcn/bug-dl-leaf-lib.c: Likewise.
29558 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
29559 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
29560 (dlclose): Likewise.
29561 (dlmopen): Likewise.
29562
8cc3269f
RM
295632013-08-27 Roland McGrath <roland@hack.frob.com>
29564
7f9d0034
RM
29565 * include/netdb.h [!_ISOMAC]:
29566 Don't include <tls.h>.
29567 (h_errno, __libc_h_errno): Move declaration and macros out of
29568 [_LIBC_REENTRANT].
29569
fb431262
RM
29570 * include/resolv.h [_RESOLV_H_]:
29571 Don't include <tls.h>.
29572 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
29573 * resolv/res_libc.c: Don't include <tls.h>.
29574 (_res): Use __attribute__ ((nocommon)) in place of
29575 __attribute__ ((section (".bss"))).
29576
bd81123a
RM
29577 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
29578 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
29579
c4e42566
RM
29580 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
29581
f890a59b
RM
29582 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
29583 only under [SIOCGIFCONF && SIOCGIFNETMASK].
29584
29585 * resolv/res_mkquery.c: Include <sys/time.h>.
29586
5d1f0a09
RM
29587 * inet/ifreq.c: Moved to ...
29588 * sysdeps/unix/ifreq.c: ... here.
29589 * inet/ifreq.c: New file, true stub version.
29590
6fcf28b3
RM
29591 * socket/sa_len.c: New file.
29592 * socket/Makefile (aux): Add it.
29593 * sysdeps/unix/sysv/linux/Makefile
29594 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
29595 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
29596 and #include <socket/sa_len.c>.
29597 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
29598 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
29599
e041fb8b
RM
29600 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
29601 * bits/socket.h: ... here.
29602
8cc3269f
RM
29603 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
29604 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
29605 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
29606
5d228a43
AS
296072013-08-27 Andreas Schwab <schwab@suse.de>
29608
45b8accc
AS
29609 [BZ #15736]
29610 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
29611 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
29612 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
29613 * string/test-strcasecmp.c (test_main): Run tests in several
29614 locales.
29615 * string/test-strncasecmp.c (test_main): Likewise.
29616
5d228a43
AS
29617 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
29618 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
29619 to __strcasecmp_nonascii and __strncasecmp_nonascii.
29620 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
29621 (__strncasecmp_ssse3) [PIC]: Likewise.
29622
59d112a4
RM
296232013-08-26 Roland McGrath <roland@hack.frob.com>
29624
53234cc3
RM
29625 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
29626
59d112a4
RM
29627 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
29628 instead of explicitly declaring xdecrypt.
29629 * nis/nss_nis/nis-publickey.c: Likewise.
29630
595aba70
SP
296312013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29632
29633 [BZ #15890]
29634 * nscd/aicache.c: Include res_hconf.h.
29635 (addhstaiX): Initialize res_hconf.
29636
ffabd393
AS
296372013-08-26 Andreas Schwab <schwab@suse.de>
29638
29639 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
29640 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
29641
e0a69f5c
SP
296422013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29643
29644 * nscd/aicache.c (addhstaiX): Fix indentation.
29645
8c12f01d
MF
296462013-08-25 Mike Frysinger <vapier@gentoo.org>
29647
29648 * configure.ac: Quote $build_pt_chown test.
29649 * configure: Regenerated.
29650
8fe89494
JM
296512013-08-23 Joseph Myers <joseph@codesourcery.com>
29652
29653 [BZ #15532]
29654 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
29655 * math/s_cexpf.c (__cexpf): Likewise.
29656 * math/s_cexpl.c (__cexpl): Likewise.
29657 * math/libm-test.inc (cexp_test_data): Correct expected return
29658 value for NaN + i0. Add another test.
29659
75b181d6
DM
296602013-08-22 David S. Miller <davem@davemloft.net>
29661
29662 * po/ca.po: Update Catalan translation from translation project.
936241e4 29663 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 29664
acd06bb1
JM
296652013-08-21 Joseph Myers <joseph@codesourcery.com>
29666
29667 [BZ #15797]
29668 * math/s_fdim.c (__fdim): Check for infinite arguments if result
29669 is infinite, not alongside NaN test.
29670 * math/s_fdimf.c (__fdimf): Likewise.
29671 * math/s_fdiml.c (__fdiml): Likewise.
29672 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
29673 errno is unchanged.
29674
c0c3f78a
OB
296752013-08-21 Ondřej Bílka <neleai@seznam.cz>
29676
29677 * argp/argp-help.c: Fix typos.
29678 * crypt/speeds.c: Likewise.
29679 * csu/check_fds.c: Likewise.
29680 * elf/dl-load.c: Likewise.
29681 * elf/dl-open.c: Likewise.
29682 * elf/reldep3.c: Likewise.
29683 * elf/reldep.c: Likewise.
29684 * elf/sprof.c: Likewise.
29685 * iconv/iconv_charmap.c: Likewise.
29686 * iconv/skeleton.c: Likewise.
29687 * iconv/strtab.c: Likewise.
29688 * io/lockf64.c: Likewise.
29689 * libio/libioP.h: Likewise.
29690 * resolv/gai_notify.c: Likewise.
29691 * resolv/ns_name.c: Likewise.
29692 * resolv/ns_samedomain.c: Likewise.
29693 * resolv/res_send.c: Likewise.
29694 * stdlib/random.c: Likewise.
29695 * sunrpc/rpc/xdr.h: Likewise.
29696 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
29697 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29698 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29699 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29700 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29701 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29702 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29703 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29704 * sysdeps/mach/hurd/check_fds.c: Likewise.
29705 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
29706 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29707 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29708 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
29709 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29710 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29711 * sysdeps/pthread/aio_notify.c: Likewise.
29712 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
29713 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
29714 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
29715 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29716 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29717
46ed1038
LD
297182013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29719
29720 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
29721 version if bit_Slow_SSE4_2 is set.
29722 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29723 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29724
d400dcac
AZ
297252013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29726
29727 [BZ #15867]
29728 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
29729 trampoline stack frame information.
29730 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
29731 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
29732 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
29733 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
29734 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
29735 * sysdeps/unix/sysv/linux/powerpc/init-first.c
29736 (_libc_vdso_platform_setup): Initialize the signal trampolines.
29737 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
29738 sa_flags value.
29739 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
29740 interrupting a syscall and set with option SA_SIGINFO.
29741
42c8fdd8
JM
297422013-08-20 Joseph Myers <joseph@codesourcery.com>
29743
c980f2f4
JM
29744 [BZ #15531]
29745 * math/s_cproj.c (__cproj): Only return an infinity if one part of
29746 argument is infinite.
29747 * math/s_cprojf.c (__cprojf): Likewise.
29748 * math/s_cprojl.c (__cprojl): Likewise.
29749 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
29750 * math/libm-test.inc (cproj_test_data): Add more tests.
29751
0716c4fc
JM
29752 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
29753
42c8fdd8
JM
29754 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
29755 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
29756 size. Use __ffs to determine corresponding shift.
29757
b31469d0
JM
297582013-08-20 Joseph Myers <joseph@codesourcery.com>
29759 Roland McGrath <roland@hack.frob.com>
29760
29761 * Makefile (INSTALL): Remove trailing blank lines from output of
29762 makeinfo.
29763
4e39af6e
AK
297642013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29765
29766 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
29767 Align 32 bit compat elf_greg to 8 bytes.
29768
f315524e
AA
297692013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
29770
29771 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
29772
1326ba1a
SP
297732013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29774
29775 * string/strcoll_l.c (coll_seq): New structure.
29776 (get_next_seq_cached): New function.
29777 (get_next_seq): New function.
29778 (do_compare): New function.
29779 (STRCOLL): Use GNU style definition. Simplify implementation
29780 by using get_next_seq, get_next_seq_cached and do_compare.
29781
91ce4085
FW
297822013-08-16 Florian Weimer <fweimer@redhat.com>
29783
29784 [BZ #14699]
29785 CVE-2013-4237
29786 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
29787 member.
29788 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
29789 member.
29790 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
29791 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
29792 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
29793 conditional.
29794 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
29795 GETDENTS_64BIT_ALIGNED.
29796 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29797 * manual/filesys.texi (Reading/Closing Directory): Document
29798 ENAMETOOLONG return value of readdir_r. Recommend readdir more
29799 strongly.
29800 * manual/conf.texi (Limits for Files): Add portability note to
29801 NAME_MAX, PATH_MAX.
29802 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
29803
ca0a6bc4
AS
298042013-08-13 Andreas Schwab <schwab@suse.de>
29805
29806 [BZ #15749]
29807 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
29808 of fabs.
29809 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
29810 LDBL_MAX_EXP >= 16384]: Add tests for it.
29811
6c1fd795
DM
298122013-08-12 David S. Miller <davem@davemloft.net>
29813
29814 * version.h (RELEASE): Set to "development".
29815 (VERSION): Set to "2.18.90".
29816 * NEWS: Add 2.19 section.
29817
31ad488d
DM
298182013-08-03 David S. Miller <davem@davemloft.net>
29819
29820 * po/ko.po: Update Korean translation from translation project.
29821
db24e684
DM
298222013-08-01 David S. Miller <davem@davemloft.net>
29823
29824 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
29825 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
29826 Bilka.
29827
f723285b
DM
298282013-07-30 David S. Miller <davem@davemloft.net>
29829
29830 * po/fr.po: Update French translation from translation project.
29831
3cbc52db
DM
298322013-07-28 David S. Miller <davem@davemloft.net>
29833
30bbc0cc
DM
29834 * po/cs.po: Update Czech translation from translation project.
29835
3cbc52db
DM
29836 * po/sv.po: Update Swedish translation from translation project.
29837
d492e6d0
DM
298382013-07-27 David S. Miller <davem@davemloft.net>
29839
f1a7f492
DM
29840 * po/eo.po: Update Esperanto translation from translation project.
29841
90e62a4a
DM
29842 * po/vi.po: Update Vietnamese translation from translation project.
29843
d492e6d0
DM
29844 * po/de.po: Update German translation from translation project.
29845
d4baa62d
DM
298462013-07-26 David S. Miller <davem@davemloft.net>
29847
641aa7b4
DM
29848 * po/bg.po: Update Bulgarian translation from translation project.
29849
d4baa62d
DM
29850 * po/nl.po: Update Dutch translation from translation project.
29851 * po/pl.po: Update Polish translation from translation project.
29852 * po/ru.po: Update Russian translation from translation project.
29853
61a9dcb9
DM
298542013-07-24 David S. Miller <davem@davemloft.net>
29855
29856 * po/libc.pot: Update.
29857
7b1f8b58
AZ
298582013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29859
29860 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
29861 variable page size.
29862 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
29863 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
29864 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
29865
a8fc7a03
AK
298662013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29867
29868 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
29869
e4608715
CD
298702013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29871 Andreas Schwab <schwab@suse.de>
29872 Roland McGrath <roland@hack.frob.com>
29873 Joseph Myers <joseph@codesourcery.com>
29874 Carlos O'Donell <carlos@redhat.com>
29875
29876 [BZ #15755]
29877 * config.h.in: Define HAVE_PT_CHOWN.
29878 * config.make.in (build-pt-chown): New variable.
29879 * configure.in (--enable-pt_chown): New configure option.
29880 * configure: Regenerate.
29881 * login/Makefile: Include Makeconfig. Build pt_chown only if
29882 build-pt-chown is enabled.
29883 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
29884 pt_chown to fix pty ownership.
29885 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
29886 CLOSE_ALL_FDS.
29887 * manual/install.texi (Configuring and compiling): Mention
29888 --enable-pt_chown. Add @findex for grantpt.
29889 * INSTALL: Regenerate.
29890
da2d62df
DM
298912013-07-20 David S. Miller <davem@davemloft.net>
29892
29893 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
29894 difference between 32-bit and 64-bit.
29895
d7e06450
CD
298962013-07-15 Carlos O'Donell <carlos@redhat.com>
29897
29898 [BZ #15711]
29899 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
29900 Avoid system header dependency with -ffreestanding.
29901 ($(objpfx)bits/syscall%d): Likewise.
29902
f959cfd7
DM
299032013-07-13 David S. Miller <davem@davemloft.net>
29904
29905 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
29906 underflows from atanl/atan2l due to bug 15319.
29907 (casinh_test_data): Likewise.
29908
c61f8513
DM
299092013-07-07 David S. Miller <davem@davemloft.net>
29910
29911 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
29912
72c90ed0
JA
299132013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
29914
29915 * sysdeps/i386/fpu/libm-test-ulps: Update.
29916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29917
52dfbe13
SP
299182013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29919
29920 * configure.in (--enable-lock-elision): Fix message text.
29921 * INSTALL: Regenerate.
29922 * configure: Regenerate.
29923
3f169543
AZ
299242013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29925
29926 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29927
521c6785
AJ
299282013-07-03 Andreas Jaeger <aj@suse.de>
29929
29930 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
29931 define.
29932 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
29933 (ptrace_peeksiginfo_args): Add.
29934 (__ptrace_peeksiginfo_flags): Add.
29935 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29936 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29937 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29938
d2cc15cb
AM
299392013-07-03 Allan McRae <allan@archlinux.org>
29940
29941 * sysdeps/i386/fpu/libm-test-ulps: Update.
29942
3aaeeca7
DM
299432013-07-02 David S. Miller <davem@davemloft.net>
29944
29945 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29946
5314ed1a
MT
299472013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
29948
29949 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29950
67338156
JM
299512013-07-02 Joseph Myers <joseph@codesourcery.com>
29952
29953 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29955
1717da59
AK
299562013-07-02 Andi Kleen <ak@linux.intel.com>
29957
29958 * config.h.in (ENABLE_LOCK_ELISION): Add.
29959 * configure.in (--enable-lock-elision): Add option.
29960 * manual/install.texi: Document --enable lock elision.
29961 * configure: Regenerate
29962 * INSTALL: Regenerate.
29963
1c81621c
L
299642013-07-02 H.J. Lu <hongjiu.lu@intel.com>
29965
29966 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
29967 SSE4.2 strcasecmp for libc.a.
29968 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
29969
77f01ab5
JM
299702013-07-02 Joseph Myers <joseph@codesourcery.com>
29971
29972 [BZ #13304]
29973 * soft-fp/op-common.h (_FP_FMA): New macro.
29974 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
29975 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
29976 (_FP_MUL_MEAT_1_imm): ... here.
29977 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
29978 (_FP_MUL_MEAT_1_wide): ... here.
29979 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
29980 (_FP_MUL_MEAT_1_hard): ... here.
29981 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
29982 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
29983 (_FP_MUL_MEAT_2_wide): ... here.
29984 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
29985 (_FP_MUL_MEAT_2_wide_3mul): ... here.
29986 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
29987 (_FP_MUL_MEAT_2_gmp): ... here.
29988 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
29989 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
29990 (_FP_MUL_MEAT_4_wide): ... here.
29991 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
29992 (_FP_MUL_MEAT_4_gmp): ... here.
29993 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
29994 (_FP_WFRACBITS_DW_S): Likewise.
29995 (_FP_WFRACXBITS_DW_S): Likewise.
29996 (_FP_HIGHBIT_DW_S): Likewise.
29997 (FP_FMA_S): Likewise.
29998 (_FP_FRAC_HIGH_DW_S): Likewise.
29999 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
30000 (_FP_WFRACBITS_DW_D): Likewise.
30001 (_FP_WFRACXBITS_DW_D): Likewise.
30002 (_FP_HIGHBIT_DW_D): Likewise.
30003 (FP_FMA_D): Likewise.
30004 (_FP_FRAC_HIGH_DW_D): Likewise.
30005 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
30006 (_FP_WFRACBITS_DW_E): Likewise.
30007 (_FP_WFRACXBITS_DW_E): Likewise.
30008 (_FP_HIGHBIT_DW_E): Likewise.
30009 (FP_FMA_E): Likewise.
30010 (_FP_FRAC_HIGH_DW_E): Likewise.
30011 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
30012 (_FP_WFRACBITS_DW_Q): Likewise.
30013 (_FP_WFRACXBITS_DW_Q): Likewise.
30014 (_FP_HIGHBIT_DW_Q): Likewise.
30015 (FP_FMA_Q): Likewise.
30016 (_FP_FRAC_HIGH_DW_Q): Likewise.
30017 * soft-fp/fmasf4.c: New file.
30018 * soft-fp/fmadf4.c: Likewise.
30019 * soft-fp/fmatf4.c: Likewise.
30020
6308fd9a
LD
300212013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30022
30023 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30024 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
30025 Silvermont.
30026 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
30027 macro.
30028 (index_Slow_SSE4_2): Likewise.
30029 (index_Prefer_PMINUB_for_stringop): Likewise.
30030 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
30031 bit_Slow_SSE4_2 is set.
30032 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30033 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30034
89cd9569
RA
300352013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30036
30037 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
30038 rtld_global._dl_hwcap2.
30039 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
30040 POWER8.
30041 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
30042 POWER8 feature descriptions defined in _dl_hwcap2.
30043 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
30044 string handling for POWER8 feature bits.
30045 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
30046 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
30047 _dl_powerpc_cap_flags.
30048 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
30049 * sysdeps/powerpc/rtld-global-offsets.sym
30050 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
30051 _dl_hwcap2 in the rtld_global_ro structure.
30052
1ae8bfe0
RA
300532013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30054
30055 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
30056 hardware capabilities in support of AT_HWCAP2.
30057 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
30058 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
30059 GLRO(dl_hwcap2).
30060 (_dl_show_auxv): Add support for calling _dl_procinfo to display
30061 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
30062 explicitly the unknown a_type display mechanism is used.
30063 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
30064 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
30065 struct member.
30066 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
30067 to macro prototype for AT_HWCAP2 support.
30068 * sysdeps/i386/dl-procinfo.h: Likewise.
30069 * sysdeps/s390/dl-procinfo.h: Likewise.
30070 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
30071 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
30072 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
30073 return -1 for unknown a_type display fallback.
30074 * sysdeps/sparc/dl-procinfo.h: Likewise.
30075 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
30076 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
30077
8fbec010
JM
300782013-06-28 Joseph Myers <joseph@codesourcery.com>
30079
30080 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
30081 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
30082
0432680e
PY
300832013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
30084
30085 [BZ #12492]
30086 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
30087 mprotect making __stack_prot writable.
30088
ce61a2ad
NF
300892013-06-28 Nathan Froyd <froydnj@codesourcery.com>
30090 Joseph Myers <joseph@codesourcery.com>
30091
30092 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
30093 as being properly aligned.
30094
f91f1c0f
MR
300952013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
30096
3d0f5d0c
MR
30097 * dlfcn/modstatic5.c: New file.
30098 * dlfcn/tststatic5.c: New file.
30099 * dlfcn/Makefile (tests): Add tststatic5.
30100 (tests-static): Likewise.
30101 (modules-names): Add modstatic5.
30102 (tststatic5-ENV): New variable.
30103 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
30104
f91f1c0f
MR
30105 [BZ #15022]
30106 * elf/dl-support.c (_dl_main_map): New variable.
30107 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
30108 (_dl_nns, _dl_load_adds): Set to 1.
30109 (_dl_initial_searchlist): Refer to _dl_main_map.
30110 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
30111 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
30112 call to _dl_get_origin.
30113 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
30114 around call_map.
30115 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
30116 * dlfcn/modstatic3.c: New file.
30117 * dlfcn/tststatic3.c: New file.
30118 * dlfcn/tststatic4.c: New file.
30119 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
30120 (tests-static): Likewise.
30121 (modules-names): Add modstatic3.
30122 (tststatic3-ENV, tststatic4-ENV): New variables.
30123 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
30124 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
30125
cbe7d24b
JM
301262013-06-26 Joseph Myers <joseph@codesourcery.com>
30127
30128 * configure.in (CC): Require GCC version 4.4 or later.
30129 * configure: Regenerated.
30130 * manual/install.texi (Tools for Compilation): Update GCC version
30131 requirement.
30132 * INSTALL: Regenerated.
30133
11b8a0e1
LD
301342013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30135
30136 [BZ #15674]
bb5bb87c
L
30137 * string/test-memcmp.c (check2): New.
30138 (main): Call check2.
30139
11b8a0e1
LD
30140 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
30141
b0037103
MR
301422013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
30143
30144 [BZ #15022]
30145 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
30146 over to...
30147 (dl_open_worker) [!SHARED]: ... here.
30148
c18c701d
RA
301492013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30150
30151 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
30152
1d17fa5f
RH
301532013-06-25 Richard Henderson <rth@redhat.com>
30154
30155 * locale/programs/locarchive.c: Include <libc-internal.h>
30156
8fcb833a
JM
301572013-06-25 Joseph Myers <joseph@codesourcery.com>
30158
30159 * manual/texinfo.tex: Update to version 2013-06-21.17, with
30160 trailing whitespace removed.
30161
17db6e8d
MF
301622013-06-24 Mike Frysinger <vapier@gentoo.org>
30163
30164 [BZ #10283]
17db6e8d
MF
30165 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
30166 * locale/programs/locarchive.c: Include libc-mmap.h.
30167 (prepare_address_space): Take two new outputs (the mmap base and len).
30168 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
30169 values.
30170 (create_archive): Declare new mmap base and len values for
30171 prepare_address_space, and store the result in ah.
30172 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
30173 (enlarge_archive): If ah->mmap_base is not NULL, use that and
30174 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30175 Declare new mmap base and len values for
30176 prepare_address_space, and store the result in new_ah.
30177 (open_archive): Declare new mmap base and len values for
30178 prepare_address_space, and store the result in ah.
30179 (close_archive): If ah->mmap_base is not NULL, use that and
30180 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30181 * sysdeps/generic/libc-mmap.h: New file.
30182
d605071e
MF
301832013-06-24 Mike Frysinger <vapier@gentoo.org>
30184
30185 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
30186 (ALIGN_UP): Likewise.
30187 (PTR_ALIGN_DOWN): Likewise.
30188 (PTR_ALIGN_UP): Likewise.
30189
2f063a6e
RA
301902013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30191
30192 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
30193 entry mapped to PPC_PLATFORM_POWER8.
30194 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
30195 POWER8.
30196 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
30197 (_dl_string_platform): Add case for exporting platform position for
30198 POWER8.
30199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
30200 search path to sysdeps/powerpc/powerpc32/power8 directory.
30201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
30202 search path to sysdeps/powerpc/powerpc64/power8 directory.
30203 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
30204 power7 directories.
30205 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
30206 power7 directories.
30207
a31ee4b3
SP
302082013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30209
a74ca98f
SP
30210 * INSTALL: Regenerate.
30211
a31ee4b3
SP
30212 * nscd/connections.c (nscd_init): Fix comment.
30213
695c378f
JM
302142013-06-22 Joseph Myers <joseph@codesourcery.com>
30215
d8412221
JM
30216 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
30217
695c378f
JM
30218 [BZ #15667]
30219 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
30220 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
30221
d1d54715
MR
302222013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
30223
30224 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
30225 DL_DST_REQ_STATIC.
30226 (DL_DST_REQ_STATIC): Remove macro.
30227
8fdda7af
JM
302282013-06-21 Joseph Myers <joseph@codesourcery.com>
30229
30230 [BZ #7006]
30231 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
30232 with a shift of 0 bits.
30233
f3bc5e5a
MR
302342013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
30235
30236 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
30237 $(tststatic-ENV).
30238
be09e8c9
KK
302392013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30240
30241 [BZ #15655]
30242 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
30243
85c2e611
AZ
302442013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30245
30246 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
30247 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
30248 accepts -fno-tree-loop-distribute-patterns.
30249 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
30250 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
30251 recursive call.
30252 * string/memset.c (memset): Likewise.
30253 * string/test-memmove.c (simple_memmove): Disable loop transformation
30254 to library calls.
30255 * string/test-memset.c (simple_memset): Likewise.
30256 * benchtests/bench-memmove.c (simple_memmove): Likewise.
30257 * benchtests/bench-memset.c (simple_memset): Likewise.
30258 * configure: Regenerated.
30259
c91e0825
JM
302602013-06-20 Joseph Myers <joseph@codesourcery.com>
30261
b8c792af
JM
30262 * math/test-misc.c (main): Ignore fesetround failure when failures
30263 of subsequent rounding tests would be ignored.
30264
c91e0825
JM
30265 [BZ #15654]
30266 * math/fedisblxcpt.c (fedisableexcept): Return 0.
30267 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
30268 * math/fegetenv.c (__fegetenv): Return 0.
30269 * math/fegetexcept.c (fegetexcept): Return 0.
30270 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
30271 FE_TONEAREST.
30272 * math/feholdexcpt.c (feholdexcept): Return 0.
30273 * math/fesetenv.c (__fesetenv): Return 0.
30274 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
30275 argument FE_TONEAREST.
30276 * math/feupdateenv.c (__feupdateenv): Return 0.
30277 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
30278
bfcacbde
RM
302792013-06-18 Roland McGrath <roland@hack.frob.com>
30280
30281 * elf/rtld-Rules (rtld-compile-command.S): New variable.
30282 (rtld-compile-command.s, rtld-compile-command.c): New variables.
30283 ($(objpfx)rtld-%.os rules): Use them.
30284
e55a9b25
AZ
302852013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30286
30287 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
30288 fields.
30289
346d65b3
RM
302902013-06-17 Roland McGrath <roland@hack.frob.com>
30291
12086fb4
RM
30292 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
30293 length of target pattern, then descending length of dependency pattern.
30294 * configure.in (AWK): Require gawk 3.1.2 or newer.
30295 * manual/install.texi (Tools for Compilation): Say that we do.
30296 * configure: Regenerated.
30297
346d65b3
RM
30298 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
30299 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
30300 * scripts/sysd-rules.awk: ... this new script.
30301 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
30302 than a glob-style pattern.
30303
1a846317
JM
303042013-06-17 Joseph Myers <joseph@codesourcery.com>
30305
30306 * math/test-misc.c (main): Do not treat incorrectly rounded
30307 conversions as failure unless ROUNDING_TESTS passes.
30308
8fc75e6f
JM
303092013-06-15 Joseph Myers <joseph@codesourcery.com>
30310
3711a167
JM
30311 [BZ #15631]
30312 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
30313 restore exception state around main square root computation, then
30314 check for inexactness explicitly.
30315
8fc75e6f
JM
30316 * math/libm-test.inc (fma_test_data): Add another test.
30317
61dd6208
SP
303182013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30319
adf23d2c
SP
30320 * manual/threads.texi (Non-POSIX Extensions): New document
30321 node. Document pthread_getattr_default_np and
30322 pthread_setattr_default_np.
30323
61dd6208
SP
30324 * Versions.def (libpthread): Add GLIBC_2.18.
30325 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
30326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30327 Likewise.
30328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30329 Likewise.
30330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30331 Likewise.
30332 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30333 Likewise.
30334 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
30335 Likewise.
30336 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30337 Likewise.
30338 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30339 Likewise.
30340 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30341 Likewise.
30342 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30343 Likewise.
30344
d086fc7b
LD
303452013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30346
30347 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30348 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
30349
747ef469
SP
303502013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30351 H.J. Lu <hjl.tools@gmail.com>
30352
30353 [BZ #15627]
30354 * sysdeps/x86_64/rtld-memset.c: Remove file.
30355 * sysdeps/x86_64/rtld-memset.S: New file.
30356
1b2feed2
JM
303572013-06-14 Joseph Myers <joseph@codesourcery.com>
30358
30359 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
30360 (test_in_one_mode): Take arguments for whether the rounding mode
30361 is supported for each floating-point type.
30362 (do_test): Pass new arguments to test_in_one_mode using
30363 ROUNDING_TESTS.
30364
a58ad3f8
RM
303652013-06-13 Roland McGrath <roland@hack.frob.com>
30366
30367 * posix/tst-waitid.c (do_test): Distinguish different instances of
30368 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
30369 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
30370 before entering the kernel for waitpid.
30371
c204ab28
SP
303722013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30373
30374 * NEWS: Fix note on clock function precision. Text by Roland
30375 McGrath.
30376
f4a29fba
RM
303772013-06-13 Roland McGrath <roland@hack.frob.com>
30378
30379 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
30380 it into place only when and if the sanity check passes.
30381
1f24b9ad
JM
303822013-06-13 Joseph Myers <joseph@codesourcery.com>
30383
30384 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
30385 output for whether conversion result is exact. Take argument
30386 indicating whether type is IBM long double.
30387 (round_for_all): Change need_exact field to ibm_ld.
30388 * stdlib/tst-strtod-round.c (struct exactness): New type.
30389 (struct test): Change bool ld_ok field to struct exactness exact.
30390 (TEST): Update all definitions for change to field.
30391 (tests): Regenerate array contents.
30392 (test_in_one_mode): Take pointer to new field instead of old ld_ok
30393 field value. Check for IBM long double here.
30394 (do_test): Update calls to test_in_one_mode.
30395
58206c68
SP
303962013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30397
30398 [BZ #12515]
30399 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
30400 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
30401
2d6f4c5b 304022013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
30403
30404 [BZ #15605]
30405 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
30406 generated by the compiler on loop optimizations.
30407 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
30408 general definitions.
30409
94f2c076
JM
304102013-06-12 Joseph Myers <joseph@codesourcery.com>
30411
30412 * math/bug-nextafter.c: Include <math-tests.h>.
30413 (main): Only test for exceptions if EXCEPTION_TESTS is true for
30414 the relevant type.
30415 * math/bug-nexttoward.c: Include <math-tests.h>.
30416 (main): Only test for exceptions if EXCEPTION_TESTS is true for
30417 the relevant type.
30418 * math/test-misc.c: Include <math-tests.h>.
30419 (main): Only test for exceptions if EXCEPTION_TESTS is true for
30420 the relevant type.
30421
e0e50a0a
AJ
304222013-06-12 Andreas Jaeger <aj@suse.de>
30423
30424 * po/ia.po: Update Interlingua translation from translation
30425 project.
30426
25061094
SP
304272013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
30428
30429 * include/fenv.h: Include stdbool.h.
30430 (struct rm_ctx): New structure.
30431 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
30432 Define macro.
30433 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
30434 (SET_RESTORE_ROUNDF): Likewise.
30435 (SET_RESTORE_ROUNDL): Likewise.
30436 (SET_RESTORE_ROUND_NOEX): Likewise.
30437 (SET_RESTORE_ROUND_NOEXF): Likewise.
30438 (SET_RESTORE_ROUND_NOEXL): Likewise.
30439 (SET_RESTORE_ROUND_53BIT): Likewise.
30440 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
30441 (libc_feresetround_noexf_ctx): Likewise.
30442 (libc_feresetround_noexl_ctx): Likewise.
30443 (libc_feholdsetround_53bit_ctx): Likewise.
30444 (libc_feresetround_53bit_ctx): Likewise.
30445 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
30446 (libc_feholdexcept_setround_sse_ctx): New function.
30447 (libc_fesetenv_sse_ctx): Likewise.
30448 (libc_feupdateenv_sse_ctx): Likewise.
30449 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
30450 (libc_feholdexcept_setround_387_ctx): Likewise.
30451 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
30452 (libc_feholdsetround_387_prec_ctx): Likewise.
30453 (libc_feholdsetround_387_ctx): Likewise.
30454 (libc_feholdsetround_387_53bit_ctx): Likewise.
30455 (libc_feholdsetround_sse_ctx): Likewise.
30456 (libc_feresetround_sse_ctx): Likewise.
30457 (libc_feresetround_387_ctx): Likewise.
30458 (libc_feupdateenv_387_ctx): Likewise.
30459 (libc_feholdexcept_setroundf_ctx): Define macro.
30460 (libc_fesetenvf_ctx): Likewise.
30461 (libc_feupdateenvf_ctx): Likewise.
30462 (libc_feholdsetroundf_ctx): Likewise.
30463 (libc_feresetroundf_ctx): Likewise.
30464 (libc_feholdexcept_setround_ctx): Likewise.
30465 (libc_fesetenv_ctx): Likewise.
30466 (libc_feupdateenv_ctx): Likewise.
30467 (libc_feholdsetround_ctx): Likewise.
30468 (libc_feresetround_ctx): Likewise.
30469 (libc_feholdexcept_setroundl_ctx): Likewise.
30470 (libc_feupdateenvl_ctx): Likewise.
30471 (libc_feholdsetroundl_ctx): Likewise.
30472 (libc_feresetroundl_ctx): Likewise.
30473 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
30474 (libc_feresetround_53bit_ctx): Likewise.
30475
59b30555
SP
304762013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30477
30478 * locale/iso-639.def: Convert to UTF-8.
30479
f1d73d30
JM
304802013-06-11 Joseph Myers <joseph@codesourcery.com>
30481
30482 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
30483 (EXCEPTION_TESTS_double): Likewise.
30484 (EXCEPTION_TESTS_long_double): Likewise.
30485 (EXCEPTION_TESTS): Likewise.
30486 * math/libm-test.inc (test_exceptions): Only test exceptions if
30487 EXCEPTION_TESTS (FLOAT).
30488
94aca5e7
SP
304892013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30490
30491 * benchtests/Makefile (string-bench): Add strcpy_chk and
30492 stpcpy_chk.
30493 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
30494 * benchtests/bench-stpcpy_chk.c: New file.
30495 * benchtests/bench-strcpy_chk-ifunc.c: New file.
30496 * benchtests/bench-strcpy_chk.c: New file.
30497 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
30498 code.
30499 (do_test): Likewise.
30500
fac0c5f2
RA
305012013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30502
30503 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
30504 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
30505 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
30506 with tabs where appropriate.
30507 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
30508 dl-procinfo.h.
30509 [PPC_PLATFORM_PPC440]: Likewise.
30510 [PPC_PLATFORM_PPC464]: Likewise.
30511 [PPC_PLATFORM_PPC476]: Likewise.
30512 (_dl_string_platform): Add support for detecting ppc405, ppc440,
30513 ppc464, and ppc476 platform strings merging from ports/
30514 dl-procinfo.h.
30515
f22bc486
AS
305162013-06-11 Andreas Schwab <schwab@suse.de>
30517
30518 [BZ #14991]
30519 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
30520 (from_ucs4_idx): Regenerate.
30521 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
30522 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
30523 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
30524 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
30525 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
30526 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
30527 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
30528 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
30529 from FROM_LOOP and TO_LOOP specific macros.
30530 (BODY): Handle combining characters.
30531 * iconvdata/BIG5HKSCS.irreversible: Update.
30532 * iconvdata/BIG5HKSCS.precomposed: New file.
30533 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
30534 characters.
30535 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
30536
c1f75dc3
SP
305372013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30538
4eacded2
SP
30539 * include/sys/time.h: Fix indentation and add copyright header.
30540
fec799f8
SP
30541 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
30542 (do_test): Likewise.
30543 * string/test-memchr.c (do_one_test): Likewise.
30544 (do_test): Likewise.
30545 * string/test-memcmp.c (do_one_test): Likewise.
30546 (do_test): Likewise.
30547 * string/test-memcpy.c (do_one_test): Likewise.
30548 (do_test): Likewise.
30549 * string/test-memmem.c (do_one_test): Likewise.
30550 (do_test): Likewise.
30551 (do_random_tests): Likewise.
30552 * string/test-memmove.c (do_one_test): Likewise.
30553 (do_test): Likewise.
30554 * string/test-memset.c (do_one_test): Likewise.
30555 (do_test): Likewise.
30556 * string/test-rawmemchr.c (do_one_test): Likewise.
30557 (do_test): Likewise.
30558 * string/test-strcasecmp.c (do_one_test): Likewise.
30559 (do_test): Likewise.
30560 * string/test-strcasestr.c (do_one_test): Likewise.
30561 (do_test): Likewise.
30562 * string/test-strcat.c (do_one_test): Likewise.
30563 (do_test): Likewise.
30564 * string/test-strchr.c (do_one_test): Likewise.
30565 (do_test): Likewise.
30566 * string/test-strcmp.c (do_one_test): Likewise.
30567 (do_test): Likewise.
30568 * string/test-strcpy.c (do_one_test): Likewise.
30569 (do_test): Likewise.
30570 * string/test-string.h: Likewise.
30571 (test_init): Likewise.
30572 * string/test-strlen.c (do_one_test): Likewise.
30573 (do_test): Likewise.
30574 * string/test-strncasecmp.c (do_one_test): Likewise.
30575 (do_test): Likewise.
30576 * string/test-strncat.c (do_one_test): Likewise.
30577 (do_test): Likewise.
30578 * string/test-strncmp.c (do_one_test): Likewise.
30579 (do_test_limit): Likewise.
30580 (do_test): Likewise.
30581 * string/test-strncpy.c (do_one_test): Likewise.
30582 (do_test): Likewise.
30583 * string/test-strnlen.c (do_one_test): Likewise.
30584 (do_test): Likewise.
30585 * string/test-strpbrk.c (do_one_test): Likewise.
30586 (do_test): Likewise.
30587 * string/test-strrchr.c (do_one_test): Likewise.
30588 (do_test): Likewise.
30589 * string/test-strspn.c (do_one_test): Likewise.
30590 (do_test): Likewise.
30591 * string/test-strstr.c (do_one_test): Likewise.
30592 (do_test): Likewise.
30593
97020474
SP
30594 * benchtests/Makefile (string-bench): Add string benchmarks.
30595 * benchtests/bench-bcopy-ifunc.c: New file.
30596 * benchtests/bench-bcopy.c: New file.
30597 * benchtests/bench-bzero-ifunc.c: New file.
30598 * benchtests/bench-bzero.c: New file.
30599 * benchtests/bench-memccpy-ifunc.c: New file.
30600 * benchtests/bench-memccpy.c: New file.
30601 * benchtests/bench-memchr-ifunc.c: New file.
30602 * benchtests/bench-memchr.c: New file.
30603 * benchtests/bench-memcmp-ifunc.c: New file.
30604 * benchtests/bench-memcmp.c: New file.
30605 * benchtests/bench-memmem-ifunc.c: New file.
30606 * benchtests/bench-memmem.c: New file.
30607 * benchtests/bench-memmove-ifunc.c: New file.
30608 * benchtests/bench-memmove.c: New file.
30609 * benchtests/bench-mempcpy-ifunc.c: New file.
30610 * benchtests/bench-mempcpy.c: New file.
30611 * benchtests/bench-memset-ifunc.c: New file.
30612 * benchtests/bench-memset.c: New file.
30613 * benchtests/bench-rawmemchr-ifunc.c: New file.
30614 * benchtests/bench-rawmemchr.c: New file.
30615 * benchtests/bench-stpcpy-ifunc.c: New file.
30616 * benchtests/bench-stpcpy.c: New file.
30617 * benchtests/bench-stpncpy-ifunc.c: New file.
30618 * benchtests/bench-stpncpy.c: New file.
30619 * benchtests/bench-strcasecmp-ifunc.c: New file.
30620 * benchtests/bench-strcasecmp.c: New file.
30621 * benchtests/bench-strcasestr-ifunc.c: New file.
30622 * benchtests/bench-strcasestr.c: New file.
30623 * benchtests/bench-strcat-ifunc.c: New file.
30624 * benchtests/bench-strcat.c: New file.
30625 * benchtests/bench-strchr-ifunc.c: New file.
30626 * benchtests/bench-strchr.c: New file.
30627 * benchtests/bench-strchrnul-ifunc.c: New file.
30628 * benchtests/bench-strchrnul.c: New file.
30629 * benchtests/bench-strcmp-ifunc.c: New file.
30630 * benchtests/bench-strcmp.c: New file.
30631 * benchtests/bench-strcpy-ifunc.c: New file.
30632 * benchtests/bench-strcpy.c: New file.
30633 * benchtests/bench-strcspn-ifunc.c: New file.
30634 * benchtests/bench-strcspn.c: New file.
30635 * benchtests/bench-strlen-ifunc.c: New file.
30636 * benchtests/bench-strlen.c: New file.
30637 * benchtests/bench-strncasecmp-ifunc.c: New file.
30638 * benchtests/bench-strncasecmp.c: New file.
30639 * benchtests/bench-strncat-ifunc.c: New file.
30640 * benchtests/bench-strncat.c: New file.
30641 * benchtests/bench-strncmp-ifunc.c: New file.
30642 * benchtests/bench-strncmp.c: New file.
30643 * benchtests/bench-strncpy-ifunc.c: New file.
30644 * benchtests/bench-strncpy.c: New file.
30645 * benchtests/bench-strnlen-ifunc.c: New file.
30646 * benchtests/bench-strnlen.c: New file.
30647 * benchtests/bench-strpbrk-ifunc.c: New file.
30648 * benchtests/bench-strpbrk.c: New file.
30649 * benchtests/bench-strrchr-ifunc.c: New file.
30650 * benchtests/bench-strrchr.c: New file.
30651 * benchtests/bench-strspn-ifunc.c: New file.
30652 * benchtests/bench-strspn.c: New file.
30653 * benchtests/bench-strstr-ifunc.c: New file.
30654 * benchtests/bench-strstr.c: New file.
30655
c1f75dc3
SP
30656 * benchtests/Makefile: Disable parallel execution of targets.
30657 (string-bench): Add memcpy.
30658 (benchset): New variable to store a list of benchmark sets.
30659 (bench-func): Renamed from bench.
30660 (bench-set): New target.
30661 (bench): Depend on bench-func and bench-set.
30662 * benchtests/README: Add section on benchmark sets.
30663 * benchtests/bench-memcpy-ifunc.c: New file.
30664 * benchtests/bench-memcpy.c: New file.
30665 * benchtests/bench-string.h: New file.
30666
50fd745b
AS
306672013-06-11 Andreas Schwab <schwab@suse.de>
30668
30669 [BZ #15577]
30670 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
30671 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
30672 values in the triple.
30673 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
30674 terminator in the group key.
30675
3ee7e9fe
AJ
306762013-06-11 Andreas Jaeger <aj@suse.de>
30677
30678 * po/zh_TW.po: Update Chinese (traditional) translation from
30679 translation project.
30680
89fb6835
SP
306812013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30682
30683 * include/time.h (__clock_gettime): Add libc_hidden_proto.
30684 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
30685 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
30686 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30687 (clock_getcpuclockid): Likewise.
30688 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
30689 Add weak_alias and libc_hidden_def.
30690 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
30691 * rt/clock_gettime.c (clock_gettime): Rename to
30692 __clock_gettime. Add weak_alias and libc_hidden_def.
30693 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
30694 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
30695 __clock_nanosleep. Add weak_alias and libc_hidden_def.
30696 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
30697 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
30698 Likewise.
30699 * rt/clock_settime.c (clock_settime): Rename to
30700 __clock_settime. Add weak_alias and libc_hidden_def.
30701 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
30702
0efa6f8b
JM
307032013-06-10 Joseph Myers <joseph@codesourcery.com>
30704
b8c61b4b
JM
30705 * mach/err_boot.sub: Remove trailing whitespace.
30706 * mach/err_ipc.sub: Likewise.
30707 * mach/err_mach.sub: Likewise.
30708
0efa6f8b
JM
30709 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
30710 (ROUNDING_TESTS_double): Likewise.
30711 (ROUNDING_TESTS_long_double): Likewise.
30712 (ROUNDING_TESTS): Likewise.
30713 * math/libm-test.inc: Include <math-tests.h>.
30714 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
30715 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
30716 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
30717 (IF_ROUND_INIT_FE_UPWARD): Likewise.
30718
50b818bf
SP
307192013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30720
30721 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
30722 of assigning.
30723
60d2f8f3
JM
307242013-06-08 Joseph Myers <joseph@codesourcery.com>
30725
4902d2c3
JM
30726 * sysdeps/gnu/errlist.awk: Do not generate space at end of
30727 otherwise empty TRANS lines.
30728 * sysdeps/gnu/errlist.c: Regenerated.
30729
60d2f8f3
JM
30730 * catgets/gencat.c (error_print): Use (void) in function
30731 definition.
30732 * crypt/crypt_util.c (__init_des): Likewise.
30733 * crypt/speeds.c (Stop): Likewise.
30734 (main): Likewise.
30735 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
30736 * inet/ruserpass.c (token): Likewise.
30737 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
30738 * intl/localealias.c (extend_alias_table): Likewise.
30739 * intl/plural-exp.c (init_germanic_plural): Likewise.
30740 * libio/fcloseall.c (__fcloseall): Likewise.
30741 * libio/genops.c (_IO_flush_all): Likewise.
30742 (_IO_flush_all_linebuffered): Likewise.
30743 (_IO_cleanup): Likewise.
30744 (_IO_iter_begin): Likewise.
30745 (_IO_iter_end): Likewise.
30746 (_IO_list_lock): Likewise.
30747 (_IO_list_unlock): Likewise.
30748 (_IO_list_resetlock): Likewise.
30749 * libio/getchar.c (getchar): Likewise.
30750 * libio/getchar_u.c (getchar_unlocked): Likewise.
30751 * libio/getwchar.c (getwchar): Likewise.
30752 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
30753 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
30754 * login/getpt.c (__getpt): Likewise.
30755 * login/tst-utmp.c (main): Likewise.
30756 * malloc/hooks.c (__malloc_check_init): Likewise.
30757 * malloc/malloc.c (__malloc_stats): Likewise.
30758 * malloc/mtrace.c (tr_break): Likewise.
30759 (mtrace): Likewise.
30760 (muntrace): Likewise.
30761 * misc/fstab.c (endfsent): Likewise.
30762 * misc/getclktck.c (__getclktck): Likewise.
30763 * misc/getdtsz.c (__getdtablesize): Likewise.
30764 * misc/gethostid.c (gethostid): Likewise.
30765 * misc/getpagesize.c (__getpagesize): Likewise.
30766 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
30767 (__get_nprocs): Likewise.
30768 (__get_phys_pages): Likewise.
30769 (__get_avphys_pages): Likewise.
30770 * misc/getttyent.c (getttyent): Likewise.
30771 (setttyent): Likewise.
30772 (endttyent): Likewise.
30773 * misc/getusershell.c (getusershell): Likewise.
30774 (endusershell): Likewise.
30775 (setusershell): Likewise.
30776 (initshells): Likewise.
30777 * misc/hsearch.c (__hdestroy): Likewise.
30778 * misc/sync.c (sync): Likewise.
30779 * misc/syslog.c (closelog_internal): Likewise.
30780 (closelog): Likewise.
30781 * misc/ttyslot.c (ttyslot): Likewise.
30782 * misc/vhangup.c (vhangup): Likewise.
30783 * posix/fork.c (__fork): Likewise.
30784 * posix/getegid.c (__getegid): Likewise.
30785 * posix/geteuid.c (__geteuid): Likewise.
30786 * posix/getgid.c (__getgid): Likewise.
30787 * posix/getpid.c (__getpid): Likewise.
30788 * posix/getppid.c (__getppid): Likewise.
30789 * posix/getuid.c (__getuid): Likewise.
30790 * posix/pause.c (pause): Likewise.
30791 * posix/setpgrp.c (setpgrp): Likewise.
30792 * posix/setsid.c (__setsid): Likewise.
30793 * posix/test-vfork.c (noop): Likewise.
30794 * resolv/gethnamaddr.c (_endhtent): Likewise.
30795 (_gethtent): Likewise.
30796 (ht_endhostent): Likewise.
30797 (gethostent): Likewise.
30798 (dns_service): Likewise.
30799 * stdlib/drand48.c (drand48): Likewise.
30800 * stdlib/lrand48.c (lrand48): Likewise.
30801 * stdlib/mrand48.c (mrand48): Likewise.
30802 * stdlib/rand.c (rand): Likewise.
30803 * stdlib/random.c (__random): Likewise.
30804 * stdlib/setenv.c (clearenv): Likewise.
30805 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
30806 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
30807 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
30808 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
30809 (__get_nprocs): Likewise.
30810 (__get_phys_pages): Likewise.
30811 (__get_avphys_pages): Likewise.
30812 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
30813 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
30814 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
30815 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
30816 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
30817 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
30818 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
30819 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
30820 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
30821 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
30822 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
30823 * sysdeps/mach/hurd/sync.c (sync): Likewise.
30824 * sysdeps/posix/clock.c (clock): Likewise.
30825 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
30826 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
30827 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
30828 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
30829 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
30830 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30831 (__get_nprocs_conf): Likewise.
30832 (__get_phys_pages): Likewise.
30833 (__get_avphys_pages): Likewise.
30834 * time/clock.c (clock): Likewise.
30835 * time/tzset.c (__tzname_max): Likewise.
30836
2e09a79a
JM
308372013-06-07 Joseph Myers <joseph@codesourcery.com>
30838
30839 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
30840 (__bswap_32): Do not use "register".
30841 * crypt/crypt.c (_ufc_doit_r): Likewise.
30842 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
30843 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
30844 * gmon/gmon.c (__monstartup): Likewise.
30845 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
30846 * hurd/hurdmalloc.c (more_memory): Likewise.
30847 (malloc): Likewise.
30848 (free): Likewise.
30849 (realloc): Likewise.
30850 (malloc_fork_prepare): Likewise.
30851 (malloc_fork_parent): Likewise.
30852 (malloc_fork_child): Likewise.
30853 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
30854 (_svcauth_des): Likewise.
30855 * inet/inet_lnaof.c (inet_lnaof): Likewise.
30856 * inet/inet_net.c (inet_network): Likewise.
30857 * inet/inet_netof.c (inet_netof): Likewise.
30858 * inet/rcmd.c (__validuser2_sa): Likewise.
30859 * io/fts.c (fts_open): Likewise.
30860 (fts_load): Likewise.
30861 (fts_close): Likewise.
30862 (fts_read): Likewise.
30863 (fts_children): Likewise.
30864 (fts_build): Likewise.
30865 (fts_stat): Likewise.
30866 (fts_sort): Likewise.
30867 (fts_alloc): Likewise.
30868 (fts_lfree): Likewise.
30869 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
30870 (_IO_file_xsgetn): Likewise.
30871 (_IO_file_xsgetn_mmap): Likewise.
30872 * libio/iofopncook.c (_IO_cookie_read): Likewise.
30873 (_IO_cookie_write): Likewise.
30874 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
30875 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
30876 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
30877 * malloc/obstack.c (_obstack_begin): Likewise.
30878 (_obstack_begin_1): Likewise.
30879 (_obstack_newchunk): Likewise.
30880 (_obstack_allocated_p): Likewise.
30881 (obstack_free): Likewise.
30882 (_obstack_memory_used): Likewise.
30883 * misc/getttyent.c (getttynam): Likewise.
30884 (getttyent): Likewise.
30885 (skip): Likewise.
30886 (value): Likewise.
30887 * misc/getusershell.c (initshells): Likewise.
30888 * misc/syslog.c (__vsyslog_chk): Likewise.
30889 * misc/ttyslot.c (ttyslot): Likewise.
30890 * nis/nis_hash.c (__nis_hash): Likewise.
30891 * posix/fnmatch_loop.c (FCT): Likewise.
30892 * posix/getconf.c (print_all): Likewise.
30893 (main): Likewise.
30894 * posix/getopt.c (exchange): Likewise.
30895 * posix/glob.c (globfree): Likewise.
30896 (prefix_array): Likewise.
30897 (__glob_pattern_type): Likewise.
30898 * resolv/arpa/nameser.h (NS_GET16): Likewise.
30899 (NS_GET32): Likewise.
30900 (NS_PUT16): Likewise.
30901 (NS_PUT32): Likewise.
30902 * resolv/gethnamaddr.c (getanswer): Likewise.
30903 (gethostbyname2): Likewise.
30904 (gethostbyaddr): Likewise.
30905 (_gethtent): Likewise.
30906 (_gethtbyname2): Likewise.
30907 (_gethtbyaddr): Likewise.
30908 * resolv/ns_print.c (dst_s_get_int16): Likewise.
30909 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
30910 * resolv/res_init.c (__res_vinit): Likewise.
30911 (net_mask): Likewise.
30912 * resolv/res_mkquery.c (outchar): Likewise.
30913 (PRINT): Likewise.
30914 * stdio-common/printf_fp.c (outchar): Likewise.
30915 (PRINT): Likewise.
30916 * stdio-common/printf_fphex.c (outchar): Likewise.
30917 (PRINT): Likewise.
30918 * stdio-common/printf_size.c (outchar): Likewise.
30919 (PRINT): Likewise.
30920 * stdio-common/test_rdwr.c (main): Likewise.
30921 * stdio-common/tfformat.c (matches): Likewise.
30922 * stdio-common/vfprintf.c (outchar): Likewise.
30923 (printf_unknown): Likewise.
30924 (buffered_vfprintf): Likewise.
30925 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
30926 * stdio-common/xbug.c (AppendToBuffer): Likewise.
30927 (ReadFile): Likewise.
30928 * stdlib/qsort.c (SWAP): Likewise.
30929 (_quicksort): Likewise.
30930 * stdlib/setenv.c (__add_to_environ): Likewise.
30931 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
30932 * stdlib/strtol_l.c (__strtol_l): Likewise.
30933 * stdlib/tst-strtod.c (main): Likewise.
30934 * stdlib/tst-strtol.c (main): Likewise.
30935 * stdlib/tst-strtoll.c (main): Likewise.
30936 * string/bits/string2.h (__strcmp_cc): Likewise.
30937 (__strcmp_cg): Likewise.
30938 (__strcspn_c1): Likewise.
30939 (__strcspn_c2): Likewise.
30940 (__strcspn_c3): Likewise.
30941 (__strspn_c1): Likewise.
30942 (__strspn_c2): Likewise.
30943 (__strspn_c3): Likewise.
30944 (__strsep_1c): Likewise.
30945 (__strsep_2c): Likewise.
30946 (__strsep_3c): Likewise.
30947 * string/memccpy.c (__memccpy): Likewise.
30948 * string/stpcpy.c (__stpcpy): Likewise.
30949 * string/strcmp.c (strcmp): Likewise.
30950 * string/strrchr.c (strrchr): Likewise.
30951 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
30952 Likewise.
30953 * sysdeps/mach/hurd/getcwd.c
30954 (_hurd_canonicalize_directory_name_internal): Likewise.
30955 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
30956 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
30957 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
30958 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
30959 Likewise, in both definitions.
30960 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
30961 definitions.
30962 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
30963 64] (__bswap_64): Likewise.
30964 * time/test_time.c (main): Likewise.
30965 * time/tzfile.c (__tzfile_read): Likewise.
30966 (__tzfile_compute): Likewise.
30967 * time/tzset.c (__tzset_parse_tz): Likewise.
30968 (tzset_internal): Likewise.
30969 (compute_change): Likewise.
30970 * wcsmbs/wcscat.c (__wcscat): Likewise.
30971 * wcsmbs/wcschr.c (wcschr): Likewise.
30972 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
30973 * wcsmbs/wcscspn.c (wcscspn): Likewise.
30974 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
30975 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
30976 * wcsmbs/wcsspn.c (wcsspn): Likewise.
30977 * wcsmbs/wcsstr.c (wcsstr): Likewise.
30978 * wcsmbs/wmemchr.c (wmemchr): Likewise.
30979 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30980 * wcsmbs/wmemset.c (wmemset): Likewise.
30981
9e54314b
JM
309822013-06-06 Joseph Myers <joseph@codesourcery.com>
30983
30984 * scripts/config.guess: Update to version 2013-05-16.
30985 * scripts/config.sub: Update to version 2013-04-24.
30986 * scripts/install-sh: Update to version 2011-11-20.07.
30987 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
30988 * scripts/move-if-change: Update to version 2012-01-06 07:23.
30989
350635a5
OB
309902013-06-06 Ondřej Bílka <neleai@seznam.cz>
30991
30992 * debug/fgetws_u_chk.c: Fix leading whitespaces.
30993 * elf/sln.c: Likewise.
30994 * hurd/hurd/ioctl.h: Likewise.
30995 * hurd/hurdmalloc.c: Likewise.
30996 * hurd/xattr.c: Likewise.
30997 * include/shlib-compat.h: Likewise.
30998 * inet/ruserpass.c: Likewise.
30999 * libio/iofgets_u.c: Likewise.
31000 * libio/iofgetws_u.c: Likewise.
31001 * locale/programs/ld-identification.c: Likewise.
31002 * locale/programs/ld-time.c: Likewise.
31003 * mach/msg-destroy.c: Likewise.
31004 * nss/nss_files/files-netgrp.c: Likewise.
31005 * resolv/res_data.c: Likewise.
31006 * soft-fp/op-1.h: Likewise.
31007 * soft-fp/op-2.h: Likewise.
31008 * soft-fp/op-4.h: Likewise.
31009 * soft-fp/op-common.h: Likewise.
31010 * stdio-common/printf_fphex.c: Likewise.
31011 * stdlib/strtod_l.c: Likewise.
31012 * sunrpc/rpc/clnt.h: Likewise.
31013 * sysdeps/generic/framestate.c: Likewise.
31014 * sysdeps/i386/bsd-_setjmp.S: Likewise.
31015 * sysdeps/i386/bsd-setjmp.S: Likewise.
31016 * sysdeps/i386/__longjmp.S: Likewise.
31017 * sysdeps/i386/setjmp.S: Likewise.
31018 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31019 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31020 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31021 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31022 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31023 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
31024 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31025 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31026 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31027 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31028 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
31029 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
31030 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
31031 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
31032 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
31033 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31034 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
31035 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
31036 * sysdeps/ieee754/support.c: Likewise.
31037 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31038 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
31039 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
31040 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
31041 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
31042 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
31043 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
31044 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
31045 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
31046 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
31047 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
31048 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
31049 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
31050 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
31051 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
31052 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
31053 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
31055
44a988af
OB
310562013-06-05 Ondřej Bílka <neleai@seznam.cz>
31057
25506f09 31058 * posix/transbug.c: Remove executable mode.
44a988af 31059
9c84384c
JM
310602013-06-05 Joseph Myers <joseph@codesourcery.com>
31061
31062 * crypt/speeds.c: Remove trailing whitespace.
31063 * dlfcn/default.c: Likewise.
31064 * elf/ifuncdep2.c: Likewise.
31065 * elf/ifuncmain1.c: Likewise.
31066 * elf/ifuncmain1vis.c: Likewise.
31067 * elf/testobj.h: Likewise.
31068 * elf/tst-stackguard1.c: Likewise.
31069 * gmon/sys/gmon.h: Likewise.
31070 * hurd/hurdmsg.c: Likewise.
31071 * hurd/new-fd.c: Likewise.
31072 * hurd/ports-get.c: Likewise.
31073 * iconvdata/ibm1008_420.c: Likewise.
31074 * inet/tst-getni1.c: Likewise.
31075 * inet/tst-getni2.c: Likewise.
31076 * libio/ioungetc.c: Likewise.
31077 * libio/wfiledoalloc.c: Likewise.
31078 * manual/libm-err-tab.pl: Likewise.
31079 * math/w_dremf.c: Likewise.
31080 * misc/ftruncate.c: Likewise.
31081 * posix/bug-glob2.c: Likewise.
31082 * posix/tst-pcre.c: Likewise.
31083 * posix/wait4.c: Likewise.
31084 * resolv/README: Likewise.
31085 * resolv/res_debug.h: Likewise.
31086 * resolv/tst-inet_ntop.c: Likewise.
31087 * setjmp/bug269-setjmp.c: Likewise.
31088 * soft-fp/extended.h: Likewise.
31089 * soft-fp/op-1.h: Likewise.
31090 * soft-fp/op-2.h: Likewise.
31091 * soft-fp/op-4.h: Likewise.
31092 * soft-fp/op-8.h: Likewise.
31093 * soft-fp/testit.c: Likewise.
31094 * stdio-common/bug16.c: Likewise.
31095 * stdlib/random.c: Likewise.
31096 * sunrpc/rpcsvc/rquota.x: Likewise.
31097 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
31098 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31099 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31100 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31101 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31102 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31103 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31104 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31105 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31106 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31107 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31108 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
31109 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31110 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
31111 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31112 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
31113 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
31114 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31115 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
31116 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31117 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31118 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31119 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
31120 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
31121 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
31122 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
31123 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31124 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31125 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31126 * sysdeps/ieee754/s_lib_version.c: Likewise.
31127 * sysdeps/mach/hurd/check_fds.c: Likewise.
31128 * sysdeps/mach/hurd/getsockname.c: Likewise.
31129 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
31130 * sysdeps/mach/hurd/recvfrom.c: Likewise.
31131 * sysdeps/powerpc/bits/link.h: Likewise.
31132 * sysdeps/powerpc/dl-procinfo.c: Likewise.
31133 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
31134 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
31135 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
31136 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31137 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
31138 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
31139 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31140 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
31141 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31142 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
31143 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31144 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
31145 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31146 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31147 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31148 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31149 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31150 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31151 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31152 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31153 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
31154 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31155 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31156 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
31157 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31158 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31159 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31160 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31161 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31162 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31163 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31164 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31165 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31166 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
31167 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31168 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
31169 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31170 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
31171 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
31172 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
31173 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
31174 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
31175 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
31176 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31177 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
31178 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
31179 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31180 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
31181 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
31182 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31183 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31184 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31185 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31186 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
31187 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
31188 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
31189 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31190 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
31191 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
31192 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
31193 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
31194 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
31195 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31196 * sysdeps/powerpc/sysdep.h: Likewise.
31197 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31198 * sysdeps/s390/s390-64/sub_n.S: Likewise.
31199 * sysdeps/sh/dl-trampoline.S: Likewise.
31200 * sysdeps/sh/memset.S: Likewise.
31201 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
31202 * sysdeps/sh/strlen.S: Likewise.
31203 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
31204 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
31205 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
31206 * sysdeps/sparc/sparc32/rem.S: Likewise.
31207 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
31208 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
31209 * sysdeps/sparc/sparc32/strchr.S: Likewise.
31210 * sysdeps/sparc/sparc32/udiv.S: Likewise.
31211 * sysdeps/sparc/sparc32/urem.S: Likewise.
31212 * sysdeps/sparc/sparc64/add_n.S: Likewise.
31213 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31214 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
31215 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
31216 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
31217 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
31218 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
31219 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
31220 * sysdeps/unix/bsd/times.c: Likewise.
31221 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
31222 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
31223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
31224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
31225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
31226 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
31227 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
31228 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
31229 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
31230 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
31231 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
31232 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31233 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
31234 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31235 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31236 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
31237 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31238 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
31239 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
31240 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
31241 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
31242 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
31243 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31244 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
31245 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
31246 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
31247 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
31248 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31249 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
31250 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
31251 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
31252 * sysdeps/x86_64/strcspn.S: Likewise.
31253
869378a5
RA
312542013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31255
31256 * locale/C-translit.h: Revert #include <stdint.h> because this is a
31257 generated file. Regenerate properly from gen-translit.pl.
31258 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
31259 locale/C-translit.h.
31260
840e2943
AS
312612013-06-05 Andreas Schwab <schwab@suse.de>
31262
31263 [BZ #15100]
31264 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
31265 week as 6 instead of -1.
31266 * time/tst-strptime.c (day_tests): Add test case.
31267
4c60cb0c
SP
312682013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31269
31270 * sysdeps/generic/math_private.h
31271 (libc_feholdexcept_setround_53bit): Replace with
31272 libc_feholdsetround_53bit.
31273 (libc_feupdateenv_53bit): Replace with
31274 libc_feresetround_53bit.
31275 (SET_RESTORE_ROUND_53BIT): Adjust.
31276
d180203e
SP
312772013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
31278
96df079a
SP
31279 * string/test-strchrnul.c: Add copyright header.
31280
d180203e
SP
31281 * posix/tst-getaddrinfo4.c: Increase test timeout.
31282
8b0ccb2d
CD
312832013-06-03 Carlos O'Donell <carlos@redhat.com>
31284
31285 [BZ #15536]
31286 * math/libm-test.inc (MAX_EXP): Remove
31287 (MIN_EXP): Define.
31288 (ulp): Use MIN_EXP - MANT_DIG.
31289 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
31290
3b3c4d40
CD
312912013-05-31 Carlos O'Donell <carlos@redhat.com>
31292
31293 * po/be.po: Revert last change.
31294 * po/zh_CN.po: Likewise.
31295 * po/header.pot: Likewise.
31296
fab7ce3f
JM
312972013-05-31 Joseph Myers <joseph@codesourcery.com>
31298
31299 * Makefile ($(common-objpfx)linkobj/libc.so): Define
31300 link-libc-deps to empty as target-specific variable.
31301 * Makerules (link-libc-args): New variable.
31302 (libc-for-link): Likewise.
31303 (link-libc-deps): Likewise.
31304 (lib%.so): Depend on $(link-libc-deps). Link with
31305 $(link-libc-args).
31306 (build-module): Link with $(link-libc-args).
31307 (build-module-asneeded): Likewise.
31308 (build-module-helper-objlist): Filter out $(link-libc-deps) from
31309 list of objects.
31310 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
31311 target-specific variable.
31312 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
31313 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
31314 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
31315 libc.
31316 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
31317 libc and ld.so.
31318 ($(objpfx)libpcprofile.so): Likewise.
31319 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
31320 libc_nonshared.a.
31321 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
31322 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
31323 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
31324 $(link-libc-deps).
31325 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
31326 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
31327 * login/Makefile ($(objpfx)libutil.so): Likewise.
31328 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
31329 * math/Makefile ($(objpfx)libm.so): Likewise.
31330 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
31331 $(objpfx)libnsl.so): Define libc-for-link as target-specific
31332 variable instead of depending directly on libc.
31333 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
31334 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
31335 $(link-libc-deps).
31336 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
31337 libc.
31338 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
31339 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
31340 ($(objpfx)libanl.so): Likewise.
31341 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
31342 ld.so.
31343 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
31344 $(link-libc-deps).
31345 * sysdeps/i386/fpu/Makefile: Remove file.
31346 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
31347 ($(objpfx)libm.so): Remove dependency on ld.so.
31348
eca5920c
PF
313492013-05-30 Patsy Franklin <pfrankli@redhat.com>
31350
31351 [BZ # 15553]
31352 * nis/yp_xdr.c (XDRMAXNAME): Define.
31353 (XDRMAXRECORD): Define.
31354 (xdr_domainname): Use XDRMAXNAME.
31355 (xdr_mapname): Likewise.
31356 (xdr_peername): Likewise.
31357 (xdr_keydat): Use XDRMAXRECORD.
31358 (xdr_valdat): Likewise.
31359
313602013-05-30 Jeff Law <law@redhat.com>
96945714
JL
31361
31362 [BZ #14256]
31363 * manual/errno.texi (ESTALE): Update to account for more than
31364 just NFS file systems.
31365 * sysdeps/gnu/errlist.c: Regenerated.
31366
b9375348
SP
313672013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31368
31369 [BZ #15465]
31370 * elf/Makefile (tests): Add tst-null-argv.
31371 (modules-names): Add tst-null-argv-lib.
31372 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
31373 (tst-null-argv-ENV): Set environment for tst-null-argv.
31374 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
31375 (RTLD_PROGNAME): New macro.
31376 * elf/tst-null-argv.c: New test case.
31377 * elf/tst-null-argv-lib.c: Library for test case.
31378 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
31379 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
31380 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
31381 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
31382 * elf/dl-init.c (call_init): Likewise.
31383 (_dl_init): Likewise.
31384 * elf/dl-load.c (print_search_path): Likewise.
31385 (_dl_map_object): Likewise.
31386 * elf/dl-lookup.c (do_lookup_x): Likewise.
31387 (add_dependency): Likewise.
31388 (_dl_lookup_symbol_x): Likewise.
31389 (_dl_debug_bindings): Likewise.
31390 * elf/dl-open.c (_dl_show_scope): Likewise.
31391 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
31392 * elf/dl-version.c (match_symbol): Likewise.
31393 (_dl_check_map_versions): Likewise.
31394 * elf/rtld.c (dl_main): Likewise.
31395 (print_unresolved): Use RTLD_PROGNAME.
31396 (print_missing_version): Likewise.
31397 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
31398 (elf_machine_rela): Likewise.
31399 * sysdeps/powerpc/powerpc32/dl-machine.c
31400 (__process_machine_rela): Likewise.
31401 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31402 Likewise.
31403 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31404 Likewise.
31405 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
31406 Likewise.
31407 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31408 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
31409 Likewise.
31410 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
31411 Likewise.
31412 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31413
8a9f20c8
CD
314142013-05-28 Carlos O'Donell <carlos@redhat.com>
31415
31416 * po/be.po: Add descriptive title.
31417 * po/zh_CN.po: Likewise.
31418 * po/header.pot: Likewise.
31419
0e60d68e
MF
314202013-05-28 Mike Frysinger <vapier@gentoo.org>
31421
31422 * locale/programs/locarchive.c (create_archive): Inlucde fname in
31423 error message.
31424 (enlarge_archive): Likewise.
31425
56b672e9
BN
314262013-05-28 Ben North <ben@redfrontdoor.org>
31427
31428 * manual/arith.texi (frexp): It is the magnitude of the return
31429 value which lies in [0.5, 1), not the return value itself.
31430
5e056687
AZ
314312013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31432
31433 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31434
2b66ef5d
TS
314352013-05-26 Thomas Schwinge <thomas@codesourcery.com>
31436
528c2405
TS
31437 * stdio-common/bug26.c (main): Correct fscanf template.
31438
07b4c13d
TS
31439 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
31440 declare _dl_skip_args.
31441
ec9dd97c
TS
31442 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
31443 Don't declare.
31444
2b66ef5d
TS
31445 * manual/platform.texi: Add missing @end deftypefun.
31446
4f8dfe27
JM
314472013-05-24 Joseph Myers <joseph@codesourcery.com>
31448
0323d086
JM
31449 [BZ #15529]
31450 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
31451 bit of mantissa of 2^16382.
31452 * math/libm-test.inc (hypot_test_data): Add more tests.
31453
dd4259b9
JM
31454 * math/libm-test.inc: Add drem and pow10 to list of tested
31455 functions.
31456 (pow10_test): New function.
31457 (drem_test): Likewise.
31458 (drem_test_tonearest): Likewise.
31459 (drem_test_towardzero): Likewise.
31460 (drem_test_downward): Likewise.
31461 (drem_test_upward): Likewise.
31462 (main): Call the new functions.
31463
4f8dfe27
JM
31464 * math/libm-test.inc (finite_test_data): Remove.
31465 (finite_test): Run tests from isfinite_test_data.
31466 (gamma_test_data): Remove.
31467 (gamma_test): Run tests from lgamma_test_data.
31468 * sysdeps/i386/fpu/libm-test-ulps: Update.
31469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31470
d116b7c4
AZ
314712013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31472
31473 * manual/platform.texi: Add PowerPC PPR function set documentation.
31474 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
31475 implementation.
31476
e96e3767
CD
314772013-05-24 Carlos O'Donell <carlos@redhat.com>
31478
31479 * math/libm-test.inc (MAX_EXP): Define.
31480 (ULPDIFF): Define.
31481 (ulp): New function.
31482 (check_float_internal): Use ULPDIFF.
31483 (cpow_test): Disable failing test.
31484 (check_ulp): Test ulp() implemetnation.
31485 (main): Call check_ulp before starting tests.
31486
b679a606
JM
314872013-05-24 Joseph Myers <joseph@codesourcery.com>
31488
e8bdba36
JM
31489 * math/gen-libm-test.pl (generate_testfile): Do not handle
31490 START_DATA and END_DATA.
31491 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
31492 END_DATA.
31493 (acos_tonearest_test_data): Likewise.
31494 (acos_towardzero_test_data): Likewise.
31495 (acos_downward_test_data): Likewise.
31496 (acos_upward_test_data): Likewise.
31497 (acosh_test_data): Likewise.
31498 (asin_test_data): Likewise.
31499 (asin_tonearest_test_data): Likewise.
31500 (asin_towardzero_test_data): Likewise.
31501 (asin_downward_test_data): Likewise.
31502 (asin_upward_test_data): Likewise.
31503 (asinh_test_data): Likewise.
31504 (atan_test_data): Likewise.
31505 (atanh_test_data): Likewise.
31506 (atan2_test_data): Likewise.
31507 (cabs_test_data): Likewise.
31508 (cacos_test_data): Likewise.
31509 (cacosh_test_data): Likewise.
31510 (carg_test_data): Likewise.
31511 (casin_test_data): Likewise.
31512 (casinh_test_data): Likewise.
31513 (catan_test_data): Likewise.
31514 (catanh_test_data): Likewise.
31515 (cbrt_test_data): Likewise.
31516 (ccos_test_data): Likewise.
31517 (ccosh_test_data): Likewise.
31518 (ceil_test_data): Likewise.
31519 (cexp_test_data): Likewise.
31520 (cimag_test_data): Likewise.
31521 (clog_test_data): Likewise.
31522 (clog10_test_data): Likewise.
31523 (conj_test_data): Likewise.
31524 (copysign_test_data): Likewise.
31525 (cos_test_data): Likewise.
31526 (cos_tonearest_test_data): Likewise.
31527 (cos_towardzero_test_data): Likewise.
31528 (cos_downward_test_data): Likewise.
31529 (cos_upward_test_data): Likewise.
31530 (cosh_test_data): Likewise.
31531 (cosh_tonearest_test_data): Likewise.
31532 (cosh_towardzero_test_data): Likewise.
31533 (cosh_downward_test_data): Likewise.
31534 (cosh_upward_test_data): Likewise.
31535 (cpow_test_data): Likewise.
31536 (cproj_test_data): Likewise.
31537 (creal_test_data): Likewise.
31538 (csin_test_data): Likewise.
31539 (csinh_test_data): Likewise.
31540 (csqrt_test_data): Likewise.
31541 (ctan_test_data): Likewise.
31542 (ctan_tonearest_test_data): Likewise.
31543 (ctan_towardzero_test_data): Likewise.
31544 (ctan_downward_test_data): Likewise.
31545 (ctan_upward_test_data): Likewise.
31546 (ctanh_test_data): Likewise.
31547 (ctanh_tonearest_test_data): Likewise.
31548 (ctanh_towardzero_test_data): Likewise.
31549 (ctanh_downward_test_data): Likewise.
31550 (ctanh_upward_test_data): Likewise.
31551 (erf_test_data): Likewise.
31552 (erfc_test_data): Likewise.
31553 (exp_test_data): Likewise.
31554 (exp_tonearest_test_data): Likewise.
31555 (exp_towardzero_test_data): Likewise.
31556 (exp_downward_test_data): Likewise.
31557 (exp_upward_test_data): Likewise.
31558 (exp10_test_data): Likewise.
31559 (exp2_test_data): Likewise.
31560 (expm1_test_data): Likewise.
31561 (fabs_test_data): Likewise.
31562 (fdim_test_data): Likewise.
31563 (finite_test_data): Likewise.
31564 (floor_test_data): Likewise.
31565 (fma_test_data): Likewise.
31566 (fma_towardzero_test_data): Likewise.
31567 (fma_downward_test_data): Likewise.
31568 (fma_upward_test_data): Likewise.
31569 (fmax_test_data): Likewise.
31570 (fmin_test_data): Likewise.
31571 (fmod_test_data): Likewise.
31572 (fpclassify_test_data): Likewise.
31573 (frexp_test_data): Likewise.
31574 (gamma_test_data): Likewise.
31575 (hypot_test_data): Likewise.
31576 (ilogb_test_data): Likewise.
31577 (isfinite_test_data): Likewise.
31578 (isgreater_test_data): Likewise.
31579 (isgreaterequal_test_data): Likewise.
31580 (isinf_test_data): Likewise.
31581 (isless_test_data): Likewise.
31582 (islessequal_test_data): Likewise.
31583 (islessgreater_test_data): Likewise.
31584 (isnan_test_data): Likewise.
31585 (isnormal_test_data): Likewise.
31586 (issignaling_test_data): Likewise.
31587 (isunordered_test_data): Likewise.
31588 (j0_test_data): Likewise.
31589 (j1_test_data): Likewise.
31590 (jn_test_data): Likewise.
31591 (ldexp_test_data): Likewise.
31592 (lgamma_test_data): Likewise.
31593 (lrint_test_data): Likewise.
31594 (lrint_tonearest_test_data): Likewise.
31595 (lrint_towardzero_test_data): Likewise.
31596 (lrint_downward_test_data): Likewise.
31597 (lrint_upward_test_data): Likewise.
31598 (llrint_test_data): Likewise.
31599 (llrint_tonearest_test_data): Likewise.
31600 (llrint_towardzero_test_data): Likewise.
31601 (llrint_downward_test_data): Likewise.
31602 (llrint_upward_test_data): Likewise.
31603 (log_test_data): Likewise.
31604 (log10_test_data): Likewise.
31605 (log1p_test_data): Likewise.
31606 (log2_test_data): Likewise.
31607 (logb_test_data): Likewise.
31608 (logb_downward_test_data): Likewise.
31609 (lround_test_data): Likewise.
31610 (llround_test_data): Likewise.
31611 (modf_test_data): Likewise.
31612 (nearbyint_test_data): Likewise.
31613 (nextafter_test_data): Likewise.
31614 (nexttoward_test_data): Likewise.
31615 (pow_test_data): Likewise.
31616 (pow_tonearest_test_data): Likewise.
31617 (pow_towardzero_test_data): Likewise.
31618 (pow_downward_test_data): Likewise.
31619 (pow_upward_test_data): Likewise.
31620 (remainder_test_data): Likewise.
31621 (remainder_tonearest_test_data): Likewise.
31622 (remainder_towardzero_test_data): Likewise.
31623 (remainder_downward_test_data): Likewise.
31624 (remainder_upward_test_data): Likewise.
31625 (remquo_test_data): Likewise.
31626 (rint_test_data): Likewise.
31627 (rint_tonearest_test_data): Likewise.
31628 (rint_towardzero_test_data): Likewise.
31629 (rint_downward_test_data): Likewise.
31630 (rint_upward_test_data): Likewise.
31631 (round_test_data): Likewise.
31632 (scalb_test_data): Likewise.
31633 (scalbn_test_data): Likewise.
31634 (scalbln_test_data): Likewise.
31635 (signbit_test_data): Likewise.
31636 (sin_test_data): Likewise.
31637 (sin_tonearest_test_data): Likewise.
31638 (sin_towardzero_test_data): Likewise.
31639 (sin_downward_test_data): Likewise.
31640 (sin_upward_test_data): Likewise.
31641 (sincos_test_data): Likewise.
31642 (sinh_test_data): Likewise.
31643 (sinh_tonearest_test_data): Likewise.
31644 (sinh_towardzero_test_data): Likewise.
31645 (sinh_downward_test_data): Likewise.
31646 (sinh_upward_test_data): Likewise.
31647 (sqrt_test_data): Likewise.
31648 (tan_test_data): Likewise.
31649 (tan_tonearest_test_data): Likewise.
31650 (tan_towardzero_test_data): Likewise.
31651 (tan_downward_test_data): Likewise.
31652 (tan_upward_test_data): Likewise.
31653 (tanh_test_data): Likewise.
31654 (tgamma_test_data): Likewise.
31655 (trunc_test_data): Likewise.
31656 (y0_test_data): Likewise.
31657 (y1_test_data): Likewise.
31658 (yn_test_data): Likewise.
31659 (significand_test_data): Likewise.
31660
b679a606
JM
31661 * math/gen-libm-test.pl (@functions): Remove variable.
31662 (generate_testfile): Don't handle START and END lines.
31663 * math/libm-test.inc (START): New macro.
31664 (END): Likewise.
31665 (END_COMPLEX): Likewise.
31666 (acos_test): Use END macro without arguments.
31667 (acos_test_tonearest): Likewise.
31668 (acos_test_towardzero): Likewise.
31669 (acos_test_downward): Likewise.
31670 (acos_test_upward): Likewise.
31671 (acosh_test): Likewise.
31672 (asin_test): Likewise.
31673 (asin_test_tonearest): Likewise.
31674 (asin_test_towardzero): Likewise.
31675 (asin_test_downward): Likewise.
31676 (asin_test_upward): Likewise.
31677 (asinh_test): Likewise.
31678 (atan_test): Likewise.
31679 (atanh_test): Likewise.
31680 (atan2_test): Likewise.
31681 (cabs_test): Likewise.
31682 (cacos_test): Use END_COMPLEX macro without arguments.
31683 (cacosh_test): Likewise.
31684 (carg_test): Use END macro without arguments.
31685 (casin_test): Use END_COMPLEX macro without arguments.
31686 (casinh_test): Likewise.
31687 (catan_test): Likewise.
31688 (catanh_test): Likewise.
31689 (cbrt_test): Use END macro without arguments.
31690 (ccos_test): Use END_COMPLEX macro without arguments.
31691 (ccosh_test): Likewise.
31692 (ceil_test): Use END macro without arguments.
31693 (cexp_test): Use END_COMPLEX macro without arguments.
31694 (cimag_test): Use END macro without arguments.
31695 (clog_test): Use END_COMPLEX macro without arguments.
31696 (clog10_test): Likewise.
31697 (conj_test): Likewise.
31698 (copysign_test): Use END macro without arguments.
31699 (cos_test): Likewise.
31700 (cos_test_tonearest): Likewise.
31701 (cos_test_towardzero): Likewise.
31702 (cos_test_downward): Likewise.
31703 (cos_test_upward): Likewise.
31704 (cosh_test): Likewise.
31705 (cosh_test_tonearest): Likewise.
31706 (cosh_test_towardzero): Likewise.
31707 (cosh_test_downward): Likewise.
31708 (cosh_test_upward): Likewise.
31709 (cpow_test): Use END_COMPLEX macro without arguments.
31710 (cproj_test): Likewise.
31711 (creal_test): Use END macro without arguments.
31712 (csin_test): Use END_COMPLEX macro without arguments.
31713 (csinh_test): Likewise.
31714 (csqrt_test): Likewise.
31715 (ctan_test): Likewise.
31716 (ctan_test_tonearest): Likewise.
31717 (ctan_test_towardzero): Likewise.
31718 (ctan_test_downward): Likewise.
31719 (ctan_test_upward): Likewise.
31720 (ctanh_test): Likewise.
31721 (ctanh_test_tonearest): Likewise.
31722 (ctanh_test_towardzero): Likewise.
31723 (ctanh_test_downward): Likewise.
31724 (ctanh_test_upward): Likewise.
31725 (erf_test): Use END macro without arguments.
31726 (erfc_test): Likewise.
31727 (exp_test): Likewise.
31728 (exp_test_tonearest): Likewise.
31729 (exp_test_towardzero): Likewise.
31730 (exp_test_downward): Likewise.
31731 (exp_test_upward): Likewise.
31732 (exp10_test): Likewise.
31733 (exp2_test): Likewise.
31734 (expm1_test): Likewise.
31735 (fabs_test): Likewise.
31736 (fdim_test): Likewise.
31737 (finite_test): Likewise.
31738 (floor_test): Likewise.
31739 (fma_test): Likewise.
31740 (fma_test_towardzero): Likewise.
31741 (fma_test_downward): Likewise.
31742 (fma_test_upward): Likewise.
31743 (fmax_test): Likewise.
31744 (fmin_test): Likewise.
31745 (fmod_test): Likewise.
31746 (fpclassify_test): Likewise.
31747 (frexp_test): Likewise.
31748 (gamma_test): Likewise.
31749 (hypot_test): Likewise.
31750 (ilogb_test): Likewise.
31751 (isfinite_test): Likewise.
31752 (isgreater_test): Likewise.
31753 (isgreaterequal_test): Likewise.
31754 (isinf_test): Likewise.
31755 (isless_test): Likewise.
31756 (islessequal_test): Likewise.
31757 (islessgreater_test): Likewise.
31758 (isnan_test): Likewise.
31759 (isnormal_test): Likewise.
31760 (issignaling_test): Likewise.
31761 (isunordered_test): Likewise.
31762 (j0_test): Likewise.
31763 (j1_test): Likewise.
31764 (jn_test): Likewise.
31765 (ldexp_test): Likewise.
31766 (lgamma_test): Likewise.
31767 (lrint_test): Likewise.
31768 (lrint_test_tonearest): Likewise.
31769 (lrint_test_towardzero): Likewise.
31770 (lrint_test_downward): Likewise.
31771 (lrint_test_upward): Likewise.
31772 (llrint_test): Likewise.
31773 (llrint_test_tonearest): Likewise.
31774 (llrint_test_towardzero): Likewise.
31775 (llrint_test_downward): Likewise.
31776 (llrint_test_upward): Likewise.
31777 (log_test): Likewise.
31778 (log10_test): Likewise.
31779 (log1p_test): Likewise.
31780 (log2_test): Likewise.
31781 (logb_test): Likewise.
31782 (logb_test_downward): Likewise.
31783 (lround_test): Likewise.
31784 (llround_test): Likewise.
31785 (modf_test): Likewise.
31786 (nearbyint_test): Likewise.
31787 (nextafter_test): Likewise.
31788 (nexttoward_test): Likewise.
31789 (pow_test): Likewise.
31790 (pow_test_tonearest): Likewise.
31791 (pow_test_towardzero): Likewise.
31792 (pow_test_downward): Likewise.
31793 (pow_test_upward): Likewise.
31794 (remainder_test): Likewise.
31795 (remainder_test_tonearest): Likewise.
31796 (remainder_test_towardzero): Likewise.
31797 (remainder_test_downward): Likewise.
31798 (remainder_test_upward): Likewise.
31799 (remquo_test): Likewise.
31800 (rint_test): Likewise.
31801 (rint_test_tonearest): Likewise.
31802 (rint_test_towardzero): Likewise.
31803 (rint_test_downward): Likewise.
31804 (rint_test_upward): Likewise.
31805 (round_test): Likewise.
31806 (scalb_test): Likewise.
31807 (scalbn_test): Likewise.
31808 (scalbln_test): Likewise.
31809 (signbit_test): Likewise.
31810 (sin_test): Likewise.
31811 (sin_test_tonearest): Likewise.
31812 (sin_test_towardzero): Likewise.
31813 (sin_test_downward): Likewise.
31814 (sin_test_upward): Likewise.
31815 (sincos_test): Likewise.
31816 (sinh_test): Likewise.
31817 (sinh_test_tonearest): Likewise.
31818 (sinh_test_towardzero): Likewise.
31819 (sinh_test_downward): Likewise.
31820 (sinh_test_upward): Likewise.
31821 (sqrt_test): Likewise.
31822 (tan_test): Likewise.
31823 (tan_test_tonearest): Likewise.
31824 (tan_test_towardzero): Likewise.
31825 (tan_test_downward): Likewise.
31826 (tan_test_upward): Likewise.
31827 (tanh_test): Likewise.
31828 (tgamma_test): Likewise.
31829 (trunc_test): Likewise.
31830 (y0_test): Likewise.
31831 (y1_test): Likewise.
31832 (yn_test): Likewise.
31833 (significand_test): Likewise.
31834
bae143d2
OB
318352013-05-24 Ondřej Bílka <neleai@seznam.cz>
31836
31837 [BZ #15381]
31838 * libio/genops.c (_IO_no_init): Initialize wide struct info.
31839
9323d39b
EM
318402013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
31841
d4ea44a0 31842 [BZ #14894]
9323d39b
EM
31843 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
31844 __ppc_mdoio and __ppc_mdoom.
31845 * manual/platform.texi: Document new functions __ppc_yield,
31846 __ppc_mdoio and __ppc_mdoom.
31847
13e23af7
CD
318482013-05-22 Carlos O'Donell <carlos@redhat.com>
31849
31850 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
31851 (main): Mention "tls" pseudo-hwcap is legacy.
31852 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
31853
351fe550
JM
318542013-05-22 Joseph Myers <joseph@codesourcery.com>
31855
31856 * math/gen-libm-test.pl (parse_args): Output only string of
31857 arguments as text for test name, not full call or descriptions of
31858 tests for extra outputs.
31859 (generate_testfile): Do not pass function name to parse_args.
31860 Generate this_func variable from START.
31861 * math/libm-test.inc (struct test_f_f_data): Rename test_name
31862 field to arg_str.
31863 (struct test_ff_f_data): Likewise.
31864 (test_ff_f_data_nexttoward): Likewise.
31865 (struct test_fi_f_data): Likewise.
31866 (struct test_fl_f_data): Likewise.
31867 (struct test_if_f_data): Likewise.
31868 (struct test_fff_f_data): Likewise.
31869 (struct test_c_f_data): Likewise.
31870 (struct test_f_f1_data): Likewise. Remove field extra_name.
31871 (struct test_fF_f1_data): Likewise.
31872 (struct test_ffI_f1_data): Likewise.
31873 (struct test_c_c_data): Rename test_name field to arg_str.
31874 (struct test_cc_c_data): Likewise.
31875 (struct test_f_i_data): Likewise.
31876 (struct test_ff_i_data): Likewise.
31877 (struct test_f_l_data): Likewise.
31878 (struct test_f_L_data): Likewise.
31879 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
31880 and extra2_name.
31881 (COMMON_TEST_SETUP): New macro.
31882 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
31883 (COMMON_TEST_CLEANUP): Likewise.
31884 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
31885 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
31886 macros.
31887 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
31888 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
31889 macros.
31890 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
31891 (RUN_TEST_fff_f): Take argument string. Call new setup and
31892 cleanup macros.
31893 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
31894 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
31895 macros.
31896 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
31897 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
31898 macros.
31899 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
31900 (RUN_TEST_fF_f1): Take argument string. Call new setup and
31901 cleanup macros.
31902 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
31903 (RUN_TEST_fI_f1): Take argument string. Call new setup and
31904 cleanup macros.
31905 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
31906 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
31907 cleanup macros.
31908 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
31909 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
31910 macros.
31911 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
31912 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
31913 macros.
31914 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
31915 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
31916 macros.
31917 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
31918 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
31919 cleanup macros.
31920 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
31921 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
31922 cleanup macros.
31923 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
31924 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
31925 macros.
31926 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
31927 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
31928 cleanup macros.
31929 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
31930 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
31931 macros.
31932 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
31933 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
31934 macros.
31935 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
31936 (RUN_TEST_fFF_11): Take argument string. Call new setup and
31937 cleanup macros.
31938 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
31939
85118d4d
EBM
319402013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
31941
31942 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
31943 to _sifields.sigfault.
31944 (si_addr_lsb): Define new macro.
31945 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31946 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31947 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
31948
7a44c18f
CD
319492013-05-03 Carlos O'Donell <carlos at redhat.com>
31950
31951 [BZ #15441]
31952 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
31953 returns -1.
31954 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
31955 null return -1.
31956 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
31957 loading the domain.
31958
b50a7181
JM
319592013-05-22 Joseph Myers <joseph@codesourcery.com>
31960
31961 * math/gen-libm-test.pl (parse_args): Do not include expected
31962 result in test name.
31963 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
31964 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31965 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31966 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31967 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31969
051063c8
SP
319702013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31971
3ce9e010
SP
31972 * benchtests/Makefile: Sort function entries.
31973
051063c8
SP
31974 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
31975 tanh, asinh, acosh, atanh.
31976 * benchtests/acos-inputs: New file.
31977 * benchtests/acosh-inputs: New file.
31978 * benchtests/asin-inputs: New file.
31979 * benchtests/asinh-inputs: New file.
31980 * benchtests/atanh-inputs: New file.
31981 * benchtests/cosh-inputs: New file.
31982 * benchtests/log-inputs: New file.
31983 * benchtests/sinh-inputs: New file.
31984 * benchtests/tanh-inputs: New file.
31985
47c22455
DL
319862013-05-21 Dmitry V. Levin <ldv@altlinux.org>
31987
31988 [BZ #15339]
31989 * posix/tst-getaddrinfo4.c: New test.
31990 * posix/Makefile (tests): Add it.
31991
3d04f5db
SP
319922013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31993
31994 [BZ #15339]
31995 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
31996 when no services were used.
31997 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
31998 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
31999
d5dd6189
AS
320002013-05-21 Andreas Schwab <schwab@suse.de>
32001
32002 [BZ #15014]
32003 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
32004 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
32005 successful.
32006 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
32007 redundant variable declarations and reallocation of buffer when
32008 parsing as IPv6 address. Always set NSS status when called from
32009 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
32010 buffer too small. Correct computation of needed size.
32011 * nss/Makefile (tests): Add test-digits-dots.
32012 * nss/test-digits-dots.c: New test.
32013
fef94eab
SP
320142013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32015
32016 * benchtests/Makefile: Remove instructions for adding
32017 benchmark tests.
32018 * benchtests/README: New file to explain how to execute and
32019 enhance the benchmark tests.
32020
e39adf43
AS
320212013-05-21 Andreas Schwab <schwab@suse.de>
32022
32023 [BZ #15493]
32024 * setjmp/Makefile (tests): Add tst-sigsetjmp.
32025 * setjmp/tst-sigsetjmp.c: New test.
32026
b2b671b6
OB
320272013-05-20 Ondřej Bílka <neleai@seznam.cz>
32028
32029 * sysdeps/x86_64/memset.S (memset): New implementation.
32030 (__bzero): Likewise.
32031 (__memset_tail): New function.
32032
2d48b41c
OB
320332013-05-20 Ondřej Bílka <neleai@seznam.cz>
32034
32035 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
32036 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
32037 __memcpy_sse2_unaligned ifunc selection.
32038 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32039 Add memcpy-sse2-unaligned.S.
32040 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32041 Add: __memcpy_sse2_unaligned.
32042
f16cc3eb
JM
320432013-05-19 Joseph Myers <joseph@codesourcery.com>
32044
3e694268
JM
32045 [BZ #15490]
32046 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32047 math_force_eval before restoring floating-point envrionment.
32048 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
32049 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32050 Likewise.
32051 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
32052 <math_private.h>.
32053 (__nearbyintl): Use math_force_eval before restoring
32054 floating-point environment.
32055 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
32056
db62a907
JM
32057 * math/gen-libm-test.pl (special_functions): Remove.
32058 (parse_args): Don't handle TEST_extra. Handle functions with no
32059 return value.
32060 * math/libm-test.inc (struct test_sincos_data): Replace with
32061 struct test_fFF_11_data.
32062 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
32063 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
32064 (sincos_test_data): Change element type to struct
32065 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
32066 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
32067 RUN_TEST_LOOP_sincos.
32068 * math/README.libm-test: Don't mention special handling of
32069 individual functions.
32070 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
32071 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32072 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32073 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32074 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32076
f16cc3eb
JM
32077 * math/gen-libm-test.pl (get_variable): Remove function.
32078 (parse_args): Don't show pointer parameters to call in test
32079 names. Use "extra output N" in test names for extra outputs
32080 rather than naming variables.
32081
3779b5b6
JM
320822013-05-18 Joseph Myers <joseph@codesourcery.com>
32083
2ee094ff
JM
32084 [BZ #15488]
32085 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
32086 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
32087 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
32088 double tests.
32089 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
32090 disable.
32091 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
32092 check_long_double.
32093
3779b5b6
JM
32094 * math/gen-libm-test.pl (@tests): Remove variable.
32095 ($count): Likewise.
32096 (new_test): Remove function.
32097 (show_exceptions): New function.
32098 (special_functions): Use show_exceptions instead of new_test.
32099 (parse_args): Likewise.
32100 (generate_testfile): Pass only function name in generated call to
32101 print_max_error or print_complex_max_error.
32102 (get_ulps): Do not handle complex tests specially.
32103 (output_test): Rename to ...
32104 (get_all_ulps_for_test): ... this. Return a string rather than
32105 printing to a file. Require ulps to be present.
32106 (output_ulps): Generate arrays rather than #defines.
32107 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
32108 (struct ulp_data): New type.
32109 (BUILD_COMPLEX_ULP): Remove macro.
32110 (compare_ulp_data): New function.
32111 (find_ulps): Likewise.
32112 (find_test_ulps): Likewise.
32113 (find_function_ulps): Likewise.
32114 (find_complex_function_ulps): Likewise.
32115 (print_max_error): Determine allowed ulps using
32116 find_function_ulps.
32117 (print_complex_max_error): Determine allowed ulps using
32118 find_complex_function_ulps.
32119 (check_float_internal): Determine max ulps using find_test_ulps.
32120 (check_float): Do not take max_ulp parameter. Update call to
32121 check_float_internal.
32122 (check_complex): Likewise.
32123 (check_int): Do not take max_ulp parameter.
32124 (check_long): Likewise.
32125 (check_bool): Likewise.
32126 (check_longlong): Likewise.
32127 (struct test_f_f_data): Remove max_ulp field.
32128 (struct test_ff_f_data): Likewise.
32129 (struct test_ff_f_data_nexttoward): Likewise.
32130 (struct test_fi_f_data): Likewise.
32131 (struct test_fl_f_data): Likewise.
32132 (struct test_if_f_data): Likewise.
32133 (struct test_fff_f_data): Likewise.
32134 (struct test_c_f_data): Likewise.
32135 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
32136 (struct test_fF_f1_data): Likewise.
32137 (struct test_ffI_f1_data): Likewise.
32138 (struct test_c_c_data): Remove max_ulp field.
32139 (struct test_cc_c_data): Likewise.
32140 (struct test_f_i_data): Likewise.
32141 (struct test_ff_i_data): Likewise.
32142 (struct test_f_l_data): Likewise.
32143 (struct test_f_L_data): Likewise.
32144 (struct test_sincos_data): Likewise.
32145 (RUN_TEST_f_f): Do not handle ulps.
32146 (RUN_TEST_LOOP_f_f): Likewise.
32147 (RUN_TEST_2_f): Likewise.
32148 (RUN_TEST_LOOP_2_f): Likewise.
32149 (RUN_TEST_fff_f): Likewise.
32150 (RUN_TEST_LOOP_fff_f): Likewise.
32151 (RUN_TEST_c_f): Likewise.
32152 (RUN_TEST_LOOP_c_f): Likewise.
32153 (RUN_TEST_f_f1): Likewise.
32154 (RUN_TEST_LOOP_f_f1): Likewise.
32155 (RUN_TEST_fF_f1): Likewise.
32156 (RUN_TEST_LOOP_fF_f1): Likewise.
32157 (RUN_TEST_fI_f1): Likewise.
32158 (RUN_TEST_LOOP_fI_f1): Likewise.
32159 (RUN_TEST_ffI_f1): Likewise.
32160 (RUN_TEST_LOOP_ffI_f1): Likewise.
32161 (RUN_TEST_c_c): Likewise.
32162 (RUN_TEST_LOOP_c_c): Likewise.
32163 (RUN_TEST_cc_c): Likewise.
32164 (RUN_TEST_LOOP_cc_c): Likewise.
32165 (RUN_TEST_f_i): Likewise.
32166 (RUN_TEST_LOOP_f_i): Likewise.
32167 (RUN_TEST_f_i_tg): Likewise.
32168 (RUN_TEST_LOOP_f_i_tg): Likewise.
32169 (RUN_TEST_ff_i_tg): Likewise.
32170 (RUN_TEST_LOOP_ff_i_tg): Likewise.
32171 (RUN_TEST_f_b): Likewise.
32172 (RUN_TEST_LOOP_f_b): Likewise.
32173 (RUN_TEST_f_b_tg): Likewise.
32174 (RUN_TEST_LOOP_f_b_tg): Likewise.
32175 (RUN_TEST_f_l): Likewise.
32176 (RUN_TEST_LOOP_f_l): Likewise.
32177 (RUN_TEST_f_L): Likewise.
32178 (RUN_TEST_LOOP_f_L): Likewise.
32179 (RUN_TEST_sincos): Likewise.
32180 (RUN_TEST_LOOP_sincos): Likewise.
32181
8269107f
JM
321822013-05-17 Joseph Myers <joseph@codesourcery.com>
32183
bb38759d
JM
32184 [BZ #15480]
32185 [BZ #15485]
32186 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
32187 main case of finite arguments, set rounding mode to FE_TONEAREST
32188 and discard exceptions.
32189 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
32190 exceptions.
32191 (remainder_tonearest_test_data): New variable.
32192 (remainder_test_tonearest): New function.
32193 (remainder_towardzero_test_data): New variable.
32194 (remainder_test_towardzero): New function.
32195 (remainder_downward_test_data): New variable.
32196 (remainder_test_downward): New function.
32197 (remainder_upward_test_data): New variable.
32198 (remainder_test_upward): New function.
32199 (main): Call the new test functions.
32200
a00bdcf0
JM
32201 * math/libm-test.inc (struct test_f_f1_data): Remove field
32202 extra_init.
32203 (struct test_fF_f1_data): Likewise.
32204 (struct test_ffI_f1_data): Likewise.
32205 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
32206 based on value of EXTRA_EXPECTED.
32207 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32208 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
32209 EXTRA_VAR based on value of EXTRA_EXPECTED.
32210 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32211 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
32212 EXTRA_VAR based on value of EXTRA_EXPECTED.
32213 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32214 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
32215 EXTRA_VAR based on value of EXTRA_EXPECTED.
32216 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32217 * math/gen-libm-test.pl (parse_args): Don't output initializers
32218 for extra output values.
32219
de407f79
JM
32220 * math/libm-test.inc (check_int): Expect result to be exactly
32221 equal to expected value and do not handle ulps.
32222 (check_long): Likewise.
32223 (check_longlong): Likewise.
32224
8269107f
JM
32225 * math/libm-test.inc (ceil_test_data): Test for "inexact"
32226 exceptions.
32227 (cimag_test_data): Likewise.
32228 (conj_test_data): Likewise.
32229 (copysign_test_data): Likewise.
32230 (cproj_test_data): Likewise.
32231 (creal_test_data): Likewise.
32232 (fabs_test_data): Likewise.
32233 (fdim_test_data): Likewise.
32234 (finite_test_data): Likewise.
32235 (floor_test_data): Likewise.
32236 (fmax_test_data): Likewise.
32237 (fmin_test_data): Likewise.
32238 (fmod_test_data): Likewise.
32239 (fpclassify_test_data): Likewise.
32240 (frexp_test_data): Likewise.
32241 (ilogb_test_data): Likewise.
32242 (isfinite_test_data): Likewise.
32243 (isgreater_test_data): Likewise.
32244 (isgreaterequal_test_data): Likewise.
32245 (isinf_test_data): Likewise.
32246 (isless_test_data): Likewise.
32247 (islessequal_test_data): Likewise.
32248 (islessgreater_test_data): Likewise.
32249 (isnan_test_data): Likewise.
32250 (isnormal_test_data): Likewise.
32251 (issignaling_test_data): Likewise.
32252 (isunordered_test_data): Likewise.
32253 (ldexp_test_data): Likewise.
32254 (lrint_test_data): Likewise.
32255 (lrint_test_data) [TEST_FLOAT]: Disable one test.
32256 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
32257 (lrint_tonearest_test_data): Test for "inexact" exceptions.
32258 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32259 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
32260 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32261 test input.
32262 (lrint_towardzero_test_data): Test for "inexact" exceptions.
32263 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32264 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
32265 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
32266 that test input.
32267 (lrint_downward_test_data): Test for "inexact" exceptions.
32268 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32269 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
32270 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32271 test input.
32272 (lrint_upward_test_data): Test for "inexact" exceptions.
32273 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
32274 test input.
32275 (llrint_test_data): Test for "inexact" exceptions.
32276 (llrint_test_data) [TEST_FLOAT]: Disable one test.
32277 (llrint_tonearest_test_data): Test for "inexact" exceptions.
32278 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32279 (llrint_towardzero_test_data): Test for "inexact" exceptions.
32280 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32281 (llrint_downward_test_data): Test for "inexact" exceptions.
32282 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32283 (llrint_upward_test_data): Test for "inexact" exceptions.
32284 (logb_test_data): Likewise.
32285 (logb_downward_test_data): Likewise.
32286 (nextafter_test_data): Likewise.
32287 (nexttoward_test_data): Likewise.
32288 (remainder_test_data): Likewise.
32289 (remquo_test_data): Likewise.
32290 (scalbn_test_data): Likewise.
32291 (scalbln_test_data): Likewise.
32292 (signbit_test_data): Likewise.
32293 (sqrt_test_data): Likewise.
32294 (significand_test_data): Likewise.
32295
48a18de1
SP
322962013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32297
32298 [BZ #15424]
32299 * benchtests/bench-modf.c (struct args): Mark arg0 as
32300 volatile.
32301 * scripts/bench.pl: Mark members of struct args as volatile.
32302
13d3b41a
AZ
323032013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32304
68191c1d 32305 [BZ # 15497]
13d3b41a
AZ
32306 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
32307 negative infinity on POWER6 or lower.
32308 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
32309
2848b105
MR
323102013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
32311
32312 [BZ #15442]
32313 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
32314 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
32315 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
32316 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
32317 (_FP_SETQNAN): New macro.
32318 (_FP_SETQNAN_SEMIRAW): Likewise.
32319 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
32320 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
32321 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
32322 (FP_EXTEND): Use _FP_FRAC_SNANP.
32323 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
32324 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
32325 into account.
32326 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32327 New macro.
32328 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32329 Likewise.
32330
323e5cb7
JM
323312013-05-16 Joseph Myers <joseph@codesourcery.com>
32332
c58b274f
JM
32333 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
32334 with DIVIDE_BY_ZERO_EXCEPTION.
32335 (gamma_test_data): Likewise.
32336 (lgamma_test_data): Likewise.
32337 (log_test_data): Likewise.
32338 (log10_test_data): Likewise.
32339 (log2_test_data): Likewise.
32340 (tgamma_test_data): Likewise.
32341
0ab34904
JM
32342 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
32343 (acos_test_tonearest): Likewise.
32344 (acos_test_towardzero): Likewise.
32345 (acos_test_downward): Likewise.
32346 (acos_test_upward): Likewise.
32347 (acosh_test): Likewise.
32348 (asin_test): Likewise.
32349 (asin_test_tonearest): Likewise.
32350 (asin_test_towardzero): Likewise.
32351 (asin_test_downward): Likewise.
32352 (asin_test_upward): Likewise.
32353 (asinh_test): Likewise.
32354 (atan_test): Likewise.
32355 (atanh_test): Likewise.
32356 (atan2_test): Likewise.
32357 (cabs_test): Likewise.
32358 (cacos_test): Likewise.
32359 (cacosh_test): Likewise.
32360 (casin_test): Likewise.
32361 (casinh_test): Likewise.
32362 (catan_test): Likewise.
32363 (catanh_test): Likewise.
32364 (cbrt_test): Likewise.
32365 (ccos_test): Likewise.
32366 (ccosh_test): Likewise.
32367 (cexp_test): Likewise.
32368 (clog_test): Likewise.
32369 (clog10_test): Likewise.
32370 (cos_test): Likewise.
32371 (cos_test_tonearest): Likewise.
32372 (cos_test_towardzero): Likewise.
32373 (cos_test_downward): Likewise.
32374 (cos_test_upward): Likewise.
32375 (cosh_test): Likewise.
32376 (cosh_test_tonearest): Likewise.
32377 (cosh_test_towardzero): Likewise.
32378 (cosh_test_downward): Likewise.
32379 (cosh_test_upward): Likewise.
32380 (cpow_test): Likewise.
32381 (csin_test): Likewise.
32382 (csinh_test): Likewise.
32383 (csqrt_test): Likewise.
32384 (ctan_test): Likewise.
32385 (ctan_test_tonearest): Likewise.
32386 (ctan_test_towardzero): Likewise.
32387 (ctan_test_downward): Likewise.
32388 (ctan_test_upward): Likewise.
32389 (ctanh_test): Likewise.
32390 (ctanh_test_tonearest): Likewise.
32391 (ctanh_test_towardzero): Likewise.
32392 (ctanh_test_downward): Likewise.
32393 (ctanh_test_upward): Likewise.
32394 (erf_test): Likewise.
32395 (erfc_test): Likewise.
32396 (exp_test): Likewise.
32397 (exp_test_tonearest): Likewise.
32398 (exp_test_towardzero): Likewise.
32399 (exp_test_downward): Likewise.
32400 (exp_test_upward): Likewise.
32401 (exp10_test): Likewise.
32402 (exp2_test): Likewise.
32403 (expm1_test): Likewise.
32404 (fmod_test): Likewise.
32405 (gamma_test): Likewise.
32406 (hypot_test): Likewise.
32407 (j0_test): Likewise.
32408 (j1_test): Likewise.
32409 (jn_test): Likewise.
32410 (lgamma_test): Likewise.
32411 (log_test): Likewise.
32412 (log10_test): Likewise.
32413 (log1p_test): Likewise.
32414 (log2_test): Likewise.
32415 (logb_test_downward): Likewise.
32416 (pow_test): Likewise.
32417 (pow_test_tonearest): Likewise.
32418 (pow_test_towardzero): Likewise.
32419 (pow_test_downward): Likewise.
32420 (pow_test_upward): Likewise.
32421 (remainder_test): Likewise.
32422 (remquo_test): Likewise.
32423 (sin_test): Likewise.
32424 (sin_test_tonearest): Likewise.
32425 (sin_test_towardzero): Likewise.
32426 (sin_test_downward): Likewise.
32427 (sin_test_upward): Likewise.
32428 (sincos_test): Likewise.
32429 (sinh_test): Likewise.
32430 (sinh_test_tonearest): Likewise.
32431 (sinh_test_towardzero): Likewise.
32432 (sinh_test_downward): Likewise.
32433 (sinh_test_upward): Likewise.
32434 (sqrt_test): Likewise.
32435 (tan_test): Likewise.
32436 (tan_test_tonearest): Likewise.
32437 (tan_test_towardzero): Likewise.
32438 (tan_test_downward): Likewise.
32439 (tan_test_upward): Likewise.
32440 (tanh_test): Likewise.
32441 (tgamma_test): Likewise.
32442 (y0_test): Likewise.
32443 (y1_test): Likewise.
32444 (yn_test): Likewise.
32445
323e5cb7
JM
32446 * math/gen-libm-test.pl (adjust_arg): Remove function.
32447 (special_function): Remove argument $in_func. Only handle
32448 generating output for tables of tests, not inside functions.
32449 (parse_args): Likewise.
32450 (generate_testfile): Remove variable $in_func. Update call to
32451 parse_args.
32452 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
32453 (MINUS_ZERO_INIT): Rename macro to minus_zero.
32454 (PLUS_INFTY_INIT): Rename macro to plus_infty.
32455 (MINUS_INFTY_INIT): Rename macro to minus_infty.
32456 (QNAN_VALUE_INIT): Rename macro to qnan_value.
32457 (MAX_VALUE_INIT): Rename macro to max_value.
32458 (MIN_VALUE_INIT): Rename macro to min_value.
32459 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
32460 (plus_zero): Remove variable.
32461 (minus_zero): Likewise.
32462 (plus_infty): Likewise.
32463 (minus_infty): Likewise.
32464 (qnan_value): Likewise.
32465 (max_value): Likewise.
32466 (min_value): Likewise.
32467 (min_subnorm_value): Likewise.
32468
e054f494
RA
324692013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32470
32471 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
32472 uint64_t or uint32_t usage.
32473 * crypt/sha256-block.c: Likewise.
32474 * crypt/sha256-crypt.c: Likewise.
32475 * crypt/sha256.c: Likewise.
32476 * crypt/sha512-block.c: Likewise.
32477 * crypt/sha512-crypt.c: Likewise.
32478 * crypt/sha512.c: Likewise.
32479 * debug/backtrace-tst.c: Likewise.
32480 * debug/pcprofiledump.c: Likewise.
32481 * elf/cache.c: Likewise.
32482 * elf/dl-cache.c: Likewise.
32483 * elf/dl-misc.c: Likewise.
32484 * elf/dl-profile.c: Likewise.
32485 * elf/dl-support.c: Likewise.
32486 * elf/ldconfig.c: Likewise.
32487 * elf/sprof.c: Likewise.
32488 * iconv/dummy-repertoire.c: Likewise.
32489 * iconv/iconv_charmap.c: Likewise.
32490 * iconv/skeleton.c: Likewise.
32491 * iconvdata/8bit-generic.c: Likewise.
32492 * iconvdata/cp737.h: Likewise.
32493 * iconvdata/cp775.h: Likewise.
32494 * iconvdata/ibm1008.h: Likewise.
32495 * iconvdata/ibm1025.h: Likewise.
32496 * iconvdata/ibm1046.h: Likewise.
32497 * iconvdata/ibm1097.h: Likewise.
32498 * iconvdata/ibm1112.h: Likewise.
32499 * iconvdata/ibm1122.h: Likewise.
32500 * iconvdata/ibm1123.h: Likewise.
32501 * iconvdata/ibm1124.h: Likewise.
32502 * iconvdata/ibm1129.h: Likewise.
32503 * iconvdata/ibm1130.h: Likewise.
32504 * iconvdata/ibm1132.h: Likewise.
32505 * iconvdata/ibm1133.h: Likewise.
32506 * iconvdata/ibm1137.h: Likewise.
32507 * iconvdata/ibm1140.h: Likewise.
32508 * iconvdata/ibm1141.h: Likewise.
32509 * iconvdata/ibm1142.h: Likewise.
32510 * iconvdata/ibm1143.h: Likewise.
32511 * iconvdata/ibm1144.h: Likewise.
32512 * iconvdata/ibm1145.h: Likewise.
32513 * iconvdata/ibm1146.h: Likewise.
32514 * iconvdata/ibm1147.h: Likewise.
32515 * iconvdata/ibm1148.h: Likewise.
32516 * iconvdata/ibm1149.h: Likewise.
32517 * iconvdata/ibm1153.h: Likewise.
32518 * iconvdata/ibm1154.h: Likewise.
32519 * iconvdata/ibm1155.h: Likewise.
32520 * iconvdata/ibm1156.h: Likewise.
32521 * iconvdata/ibm1157.h: Likewise.
32522 * iconvdata/ibm1158.h: Likewise.
32523 * iconvdata/ibm1160.h: Likewise.
32524 * iconvdata/ibm1161.h: Likewise.
32525 * iconvdata/ibm1162.h: Likewise.
32526 * iconvdata/ibm1163.h: Likewise.
32527 * iconvdata/ibm1164.h: Likewise.
32528 * iconvdata/ibm1166.h: Likewise.
32529 * iconvdata/ibm1167.h: Likewise.
32530 * iconvdata/ibm12712.h: Likewise.
32531 * iconvdata/ibm1390.h: Likewise.
32532 * iconvdata/ibm1399.h: Likewise.
32533 * iconvdata/ibm16804.h: Likewise.
32534 * iconvdata/ibm4517.h: Likewise.
32535 * iconvdata/ibm4899.h: Likewise.
32536 * iconvdata/ibm4909.h: Likewise.
32537 * iconvdata/ibm4971.h: Likewise.
32538 * iconvdata/ibm5347.h: Likewise.
32539 * iconvdata/ibm803.h: Likewise.
32540 * iconvdata/ibm856.h: Likewise.
32541 * iconvdata/ibm901.h: Likewise.
32542 * iconvdata/ibm902.h: Likewise.
32543 * iconvdata/ibm9030.h: Likewise.
32544 * iconvdata/ibm9066.h: Likewise.
32545 * iconvdata/ibm921.h: Likewise.
32546 * iconvdata/ibm922.h: Likewise.
32547 * iconvdata/ibm9448.h: Likewise.
32548 * iconvdata/isiri-3342.h: Likewise.
32549 * iconvdata/jis0201.h: Likewise.
32550 * include/link.h: Likewise.
32551 * include/netdb.h: Likewise.
32552 * inet/check_native.c: Likewise.
32553 * inet/check_pf.c: Likewise.
32554 * inet/getipv4sourcefilter.c: Likewise.
32555 * inet/getnameinfo.c: Likewise.
32556 * inet/getsourcefilter.c: Likewise.
32557 * inet/htonl.c: Likewise.
32558 * inet/setipv4sourcefilter.c: Likewise.
32559 * inet/setsourcefilter.c: Likewise.
32560 * inet/test-inet6_opt.c: Likewise.
32561 * inet/tst-network.c: Likewise.
32562 * locale/C-collate.c: Likewise.
32563 * locale/C-ctype.c: Likewise.
32564 * locale/C-time.c: Likewise.
32565 * locale/C-translit.h: Likewise.
32566 * locale/loadarchive.c: Likewise.
32567 * locale/programs/3level.h: Likewise.
32568 * locale/programs/charmap.c: Likewise.
32569 * locale/programs/charmap.h: Likewise.
32570 * locale/programs/ld-address.c: Likewise.
32571 * locale/programs/ld-collate.c: Likewise.
32572 * locale/programs/ld-ctype.c: Likewise.
32573 * locale/programs/ld-identification.c: Likewise.
32574 * locale/programs/ld-measurement.c: Likewise.
32575 * locale/programs/ld-messages.c: Likewise.
32576 * locale/programs/ld-monetary.c: Likewise.
32577 * locale/programs/ld-name.c: Likewise.
32578 * locale/programs/ld-numeric.c: Likewise.
32579 * locale/programs/ld-paper.c: Likewise.
32580 * locale/programs/ld-telephone.c: Likewise.
32581 * locale/programs/ld-time.c: Likewise.
32582 * locale/programs/linereader.c: Likewise.
32583 * locale/programs/locale.c: Likewise.
32584 * locale/programs/locarchive.c: Likewise.
32585 * locale/programs/locfile.h: Likewise.
32586 * locale/programs/repertoire.c: Likewise.
32587 * locale/programs/simple-hash.c: Likewise.
32588 * locale/programs/simple-hash.h: Likewise.
32589 * malloc/memusage.c: Likewise.
32590 * malloc/memusagestat.c: Likewise.
32591 * nis/nis_defaults.c: Likewise.
32592 * nis/nis_hash.c: Likewise.
32593 * nis/nis_print.c: Likewise.
32594 * nis/nis_xdr.c: Likewise.
32595 * nscd/connections.c: Likewise.
32596 * nscd/hstcache.c: Likewise.
32597 * nscd/nscd_gethst_r.c: Likewise.
32598 * nscd/nscd_getserv_r.c: Likewise.
32599 * nscd/nscd_helper.c: Likewise.
32600 * nscd/servicescache.c: Likewise.
32601 * nss/makedb.c: Likewise.
32602 * nss/nss_db/db-XXX.c: Likewise.
32603 * nss/nss_db/db-initgroups.c: Likewise.
32604 * nss/nss_db/db-netgrp.c: Likewise.
32605 * nss/nss_files/files-network.c: Likewise.
32606 * nss/nss_files/files-parse.c: Likewise.
32607 * posix/bug-regex5.c: Likewise.
32608 * posix/fnmatch_loop.c: Likewise.
32609 * posix/regcomp.c: Likewise.
32610 * posix/regexec.c: Likewise.
32611 * posix/tst-rfc3484-2.c: Likewise.
32612 * posix/tst-rfc3484-3.c: Likewise.
32613 * posix/tst-rfc3484.c: Likewise.
32614 * resolv/nss_dns/dns-canon.c: Likewise.
32615 * resolv/nss_dns/dns-network.c: Likewise.
32616 * resolv/res_init.c: Likewise.
32617 * resolv/res_mkquery.c: Likewise.
32618 * resolv/tst-aton.c: Likewise.
32619 * stdlib/cxa_atexit.c: Likewise.
32620 * stdlib/cxa_finalize.c: Likewise.
32621 * stdlib/gen-fpioconst.c: Likewise.
32622 * stdlib/strtol_l.c: Likewise.
32623 * string/tst-endian.c: Likewise.
32624 * sunrpc/auth_des.c: Likewise.
32625 * sunrpc/clnt_udp.c: Likewise.
32626 * sunrpc/rtime.c: Likewise.
32627 * sunrpc/svcauth_des.c: Likewise.
32628 * sunrpc/xdr.c: Likewise.
32629 * sunrpc/xdr_intXX_t.c: Likewise.
32630 * sunrpc/xdr_rec.c: Likewise.
32631 * sysdeps/generic/ldconfig.h: Likewise.
32632 * sysdeps/generic/ldsodefs.h: Likewise.
32633 * sysdeps/generic/memusage.h: Likewise.
32634 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32635 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
32636 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
32637 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32638 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32639 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32640 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32641 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32642 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32643 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32644 * sysdeps/posix/getaddrinfo.c: Likewise.
32645 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32646 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32647 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32648 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32649 * sysdeps/powerpc/test-gettimebase.c: Likewise.
32650 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32651 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
32652 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
32653 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
32654 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
32655 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32656 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32657 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
32658 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
32659 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
32660 * sysdeps/x86_64/dl-tls.h: Likewise.
32661 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
32662 * time/alt_digit.c: Likewise.
32663 * time/era.c: Likewise.
32664 * wcsmbs/tst-c16c32-1.c: Likewise.
32665
8c75f674
JM
326662013-05-16 Joseph Myers <joseph@codesourcery.com>
32667
32668 * math/libm-test.inc (struct test_sincos_data): New type.
32669 (RUN_TEST_LOOP_sincos): New macro.
32670 (sincos_test_data): New variable.
32671 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
32672
e6e49e59
RH
326732013-05-16 Richard Henderson <rth@redhat.com>
32674
32675 * math/atest-exp2.c (LIMB64): New macro.
32676 (CONSTSZ): New macro.
32677 (mp_exp1, mp_exp_m1, mp_log2): New variables.
32678 (hexdig): Move ...
32679 (print_mpn_fp): ... to function scope.
32680 (read_mpn_hex): Remove.
32681 (get_log2): Remove.
32682 (exp2_mpn): Use mp_log2.
32683 (main): Use mp_exp1.
32684
15c7c18d
JM
326852013-05-16 Joseph Myers <joseph@codesourcery.com>
32686
105a07df
JM
32687 * math/libm-test.inc: Remove comment about not testing "inexact"
32688 exceptions.
32689 (INEXACT_EXCEPTION): New macro.
32690 (NO_INEXACT_EXCEPTION): Likewise.
32691 (INVALID_EXCEPTION_OK): Update value.
32692 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32693 (OVERFLOW_EXCEPTION_OK): Likewise.
32694 (UNDERFLOW_EXCEPTION_OK): Likewise.
32695 (IGNORE_ZERO_INF_SIGN): Likewise.
32696 (ERRNO_UNCHANGED): Likewise.
32697 (ERRNO_EDOM): Likewise.
32698 (ERRNO_ERANGE): Likewise.
32699 (test_exceptions): Handle testing "inexact" exceptions.
32700 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
32701 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
32702 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
32703 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
32704 INEXACT_EXCEPTION.
32705 (rint_towardzero_test_data): Likewise.
32706 (rint_downward_test_data): Likewise.
32707 (rint_upward_test_data): Likewise.
32708
e9eee333
JM
32709 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
32710 with OVERFLOW_EXCEPTION.
32711 (exp10_test_data): Likewise.
32712 (exp2_test_data): Likewise.
32713 (expm1_test_data): Likewise.
32714 (lgamma_test_data): Likewise.
32715 (pow_test_data): Likewise.
32716 (tgamma_test_data): Likewise.
32717 (yn_test_data): Remove duplicate test of overflow.
32718
1c38ff73
JM
32719 * math/libm-test.inc (struct test_cc_c_data): New type.
32720 (RUN_TEST_LOOP_cc_c): New macro.
32721 (cpow_test_data): New variable.
32722 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
32723
15c7c18d
JM
32724 * math/libm-test.inc (struct test_f_L_data): New type.
32725 (RUN_TEST_LOOP_f_L): New macro.
32726 (llrint_test_data): New variable.
32727 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
32728 (llrint_tonearest_test_data): New variable.
32729 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
32730 (llrint_towardzero_test_data): New variable.
32731 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
32732 (llrint_downward_test_data): New variable.
32733 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
32734 (llrint_upward_test_data): New variable.
32735 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
32736 (llround_test_data): New variable.
32737 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
32738
f137ff13
PC
327392013-05-13 Peter Collingbourne <pcc@google.com>
32740
32741 * math/atest-exp2.c (get_log2): Remove const attribute.
32742
3608cb24
JM
327432013-05-15 Joseph Myers <joseph@codesourcery.com>
32744
32745 * math/libm-test.inc (struct test_f_l_data): New type.
32746 (RUN_TEST_LOOP_f_l): New macro.
32747 (lrint_test_data): New variable.
32748 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
32749 (lrint_tonearest_test_data): New variable.
32750 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
32751 (lrint_towardzero_test_data): New variable.
32752 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
32753 (lrint_downward_test_data): New variable.
32754 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
32755 (lrint_upward_test_data): New variable.
32756 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
32757 (lround_test_data): New variable.
32758 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
32759
39b1f617
PC
327602013-05-15 Peter Collingbourne <pcc@google.com>
32761
1deff3dc
PC
32762 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
32763 (EXTRACT_WORDS64) Use where appropriate.
32764 (INSERT_WORDS64) Likewise.
32765
791f3ba0
PC
32766 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
32767 constraints with x constraints.
32768 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
32769
39b1f617
PC
32770 * malloc/obstack.c (_obstack_compat): Add initializer.
32771
12fba011
EM
327722013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
32773
32774 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
32775 si_trapno and add si_addr_lsb to _sifields.sigfault.
32776 (si_trapno): Remove macro.
32777 (si_addr_lsb): Define new macro.
32778 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32779
d369f531
JM
327802013-05-15 Joseph Myers <joseph@codesourcery.com>
32781
b861c6c4
JM
32782 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
32783 instead of TEST_f_l.
32784 (llrint_test_tonearest): Likewise.
32785 (llrint_test_towardzero): Likewise.
32786 (llrint_test_downward): Likewise.
32787 (llrint_test_upward): Likewise.
32788 (llround_test): Likewise.
32789
7abeee12
JM
32790 * math/libm-test.inc (struct test_f_i_data): Add comment.
32791 (RUN_TEST_LOOP_f_b): New macro.
32792 (RUN_TEST_LOOP_f_b_tg): Likewise.
32793 (finite_test_data): New variable.
32794 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
32795 (isfinite_test_data): New variable.
32796 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32797 (isinf_test_data): New variable.
32798 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32799 (isnan_test_data): New variable.
32800 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32801 (isnormal_test_data): New variable.
32802 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32803 (issignaling_test_data): New variable.
32804 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32805 (signbit_test_data): New variable.
32806 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32807
cbe8c4d3
JM
32808 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
32809 with INVALID_EXCEPTION.
32810 (acosh_test_data): Likewise.
32811 (asin_test_data): Likewise.
32812 (atanh_test_data): Likewise.
32813 (fmod_test_data): Likewise.
32814 (log_test_data): Likewise.
32815 (log10_test_data): Likewise.
32816 (log2_test_data): Likewise.
32817 (pow_test_data): Likewise.
32818 (sqrt_test_data): Likewise.
32819 (y0_test_data): Likewise.
32820 (y1_test_data): Likewise.
32821 (yn_test_data): Likewise.
32822
5575c0e5
JM
32823 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
32824 function contents.
32825
d369f531
JM
32826 * math/libm-test.inc (struct test_ff_i_data): New type.
32827 (RUN_TEST_LOOP_ff_i_tg): New macro.
32828 (isgreater_test_data): New variable.
32829 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32830 (isgreaterequal_test_data): New variable.
32831 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32832 (isless_test_data): New variable.
32833 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32834 (islessequal_test_data): New variable.
32835 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32836 (islessgreater_test_data): New variable.
32837 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32838 (isunordered_test_data): New variable.
32839 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32840
781fd748
DM
328412013-05-14 David S. Miller <davem@davemloft.net>
32842
32843 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32844
87aa21df
JM
328452013-05-14 Joseph Myers <joseph@codesourcery.com>
32846
5e908270
JM
32847 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
32848
f71172e5
JM
32849 * math/libm-test.inc (struct test_fF_f1_data): Change type of
32850 extra_test to int.
32851 (struct test_f_i_data): Change type of max_ulp to int.
32852
8cfa635a
JM
32853 * math/libm-test.inc (test_ffI_f1_data): New type.
32854 (RUN_TEST_LOOP_ffI_f1): New macro.
32855 (remquo_test_data): New variable.
32856 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
32857
2bcb36b2
JM
32858 * setjmp/tst-setjmp-fp.c: New file.
32859 * setjmp/Makefile (tests): Add tst-setjmp-fp.
32860 (link-libm): New variable.
32861 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
32862
acbd839a
JM
32863 * math/libm-test.inc (struct test_f_i_data): New type.
32864 (RUN_TEST_LOOP_f_i): New macro.
32865 (RUN_TEST_LOOP_f_i_tg): Likewise.
32866 (fpclassify_test_data): New variable.
32867 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
32868 (ilogb_test_data): New variable.
32869 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
32870
e414d745
JM
32871 * math/libm-test.inc (scalbln_test): Correct function name in END
32872 call.
32873
d9c2a0fd
JM
32874 * math/libm-test.inc (struct test_f_f1_data): Add comment.
32875 (RUN_TEST_LOOP_fI_f1): New macro.
32876 (frexp_test_data): New variable.
32877 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
32878
9dc9095d
JM
32879 * math/libm-test.inc (struct test_fF_f1_data): New type.
32880 (RUN_TEST_LOOP_fF_f1): New macro.
32881 (modf_test_data): New variable.
32882 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
32883
87aa21df
JM
32884 * math/libm-test.inc (struct test_f_f1_data): New type.
32885 (RUN_TEST_LOOP_f_f1): New macro.
32886 (gamma_test_data): New variable.
32887 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32888 (lgamma_test_data): New variable.
32889 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32890
141af660
CD
328912013-05-13 Carlos O'Donell <carlos@redhat.com>
32892
32893 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
32894 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
32895 (main): Comment "tls" pseudo-hwcap.
32896
6d33265c
JM
328972013-05-13 Joseph Myers <joseph@codesourcery.com>
32898
68fc074c
JM
32899 * math/libm-test.inc (struct test_fl_f_data): New type.
32900 (RUN_TEST_LOOP_fl_f): New variable.
32901 (scalbln_test_data): New variable.
32902 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
32903
243216e1
JM
32904 * math/libm-test.inc (struct test_fi_f_data): New type.
32905 (RUN_TEST_LOOP_fi_f): New macro.
32906 (ldexp_test_data): New variable.
32907 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
32908 (scalbn_test_data): New variable.
32909 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
32910
6a1992e2
JM
32911 * math/libm-test.inc (struct test_c_f_data): New type.
32912 (RUN_TEST_LOOP_c_f): New macro.
32913 (cabs_test_data): New variable.
32914 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
32915 (carg_test_data): New variable.
32916 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
32917 (cimag_test_data): New variable.
32918 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
32919 (creal_test_data): New variable.
32920 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
32921
0e400df5
JM
32922 * math/libm-test.inc (struct test_if_f_data): New type.
32923 (RUN_TEST_LOOP_if_f): New macro.
32924 (jn_test_data): New variable.
32925 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
32926 (yn_test_data): New variable.
32927 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
32928
6d33265c
JM
32929 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
32930
f98ece5f
AZ
329312013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32932
32933 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
32934 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
32935
0f7d347b
SP
329362013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32937
43fe811b
SP
32938 * benchtests/Makefile (CPPFLAGS-nonlib): Add
32939 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
32940 (bench-deps): Add bench-timing.h.
32941 * benchtests-bench-skeleton.c: Include bench-timing.h.
32942 (main): Use TIMING_* macros instead of clock_gettime.
32943 * benchtests/bench-timing.h: New file.
32944
0f7d347b
SP
32945 [BZ #14582]
32946 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
32947 Renamed from _LIB_VERSION.
32948 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
32949
601a3a5f
JM
329502013-05-12 Joseph Myers <joseph@codesourcery.com>
32951
4f184d30
JM
32952 * math/libm-test.inc (struct test_fff_f_data): New type.
32953 (RUN_TEST_LOOP_fff_f): New macro.
32954 (fma_test_data): New variable.
32955 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
32956 (fma_towardzero_test_data): New variable.
32957 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
32958 (fma_downward_test_data): New variable.
32959 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
32960 (fma_upward_test_data): New variable.
32961 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
32962
08198877
JM
32963 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
32964 (struct test_c_c_data): New type.
32965 (RUN_TEST_LOOP_c_c): New macro.
32966 (cacos_test_data): New variable.
32967 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
32968 (cacosh_test_data): New variable.
32969 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
32970 (casin_test_data): New variable.
32971 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
32972 (casinh_test_data): New variable.
32973 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
32974 (catan_test_data): New variable.
32975 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
32976 (catanh_test_data): New variable.
32977 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
32978 (ccos_test_data): New variable.
32979 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
32980 (ccosh_test_data): New variable.
32981 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
32982 (cexp_test_data): New variable.
32983 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
32984 (clog_test_data): New variable.
32985 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
32986 (clog10_test_data): New variable.
32987 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
32988 (conj_test_data): New variable.
32989 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
32990 (cproj_test_data): New variable.
32991 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
32992 (csin_test_data): New variable.
32993 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
32994 (csinh_test_data): New variable.
32995 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
32996 (csqrt_test_data): New variable.
32997 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
32998 (ctan_test_data): New variable.
32999 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
33000 (ctan_tonearest_test_data): New variable.
33001 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33002 (ctan_towardzero_test_data): New variable.
33003 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33004 (ctan_downward_test_data): New variable.
33005 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33006 (ctan_upward_test_data): New variable.
33007 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33008 (ctanh_test_data): New variable.
33009 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
33010 (ctanh_tonearest_test_data): New variable.
33011 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33012 (ctanh_towardzero_test_data): New variable.
33013 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33014 (ctanh_downward_test_data): New variable.
33015 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33016 (ctanh_upward_test_data): New variable.
33017 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33018 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
33019 of BUILD_COMPLEX.
33020
601a3a5f
JM
33021 * math/libm-test.inc (struct test_ff_f_data): New type.
33022 (struct test_ff_f_data_nexttoward): Likewise.
33023 (RUN_TEST_LOOP_2_f): New macro.
33024 (RUN_TEST_LOOP_ff_f): Likewise.
33025 (atan2_test_data): New variable.
33026 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
33027 (copysign_test_data): New variable.
33028 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
33029 (fdim_test_data): New variable.
33030 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
33031 (fmax_test_data): New variable.
33032 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
33033 (fmin_test_data): New variable.
33034 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
33035 (fmod_test_data): New variable.
33036 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
33037 (hypot_test_data): New variable.
33038 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
33039 (nextafter_test_data): New variable.
33040 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
33041 (nexttoward_test_data): New variable.
33042 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
33043 (pow_test_data): New variable.
33044 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
33045 (pow_tonearest_test_data): New variable.
33046 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
33047 (pow_towardzero_test_data): New variable.
33048 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
33049 (pow_downward_test_data): New variable.
33050 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
33051 (pow_upward_test_data): New variable.
33052 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
33053 (remainder_test_data): New variable.
33054 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
33055 (scalb_test_data): New variable.
33056 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
33057 * sysdeps/i386/fpu/libm-test-ulps: Update.
33058
74c57478
JM
330592013-05-11 Joseph Myers <joseph@codesourcery.com>
33060
8329e4da
JM
33061 * math/libm-test.inc (fma_test): Use max_value instead of local
33062 variable fltmax.
33063 (nextafter_test): Likewise.
33064
74c57478
JM
33065 * math/libm-test.inc (acos_towardzero_test_data): New variable.
33066 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33067 (acos_downward_test_data): New variable.
33068 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33069 (acos_upward_test_data): New variable.
33070 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33071 (acosh_test_data): New variable.
33072 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
33073 (asin_test_data): New variable.
33074 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
33075 (asin_tonearest_test_data): New variable.
33076 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33077 (asin_towardzero_test_data): New variable.
33078 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33079 (asin_downward_test_data): New variable.
33080 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33081 (asin_upward_test_data): New variable.
33082 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33083 (asinh_test_data): New variable.
33084 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
33085 (atan_test_data): New variable.
33086 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
33087 (atanh_test_data): New variable.
33088 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
33089 (cbrt_test_data): New variable.
33090 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
33091 (ceil_test_data): New variable.
33092 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
33093 (cos_test_data): New variable.
33094 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
33095 (cos_tonearest_test_data): New variable.
33096 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33097 (cos_towardzero_test_data): New variable.
33098 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33099 (cos_downward_test_data): New variable.
33100 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33101 (cos_upward_test_data): New variable.
33102 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33103 (cosh_test_data): New variable.
33104 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
33105 (cosh_tonearest_test_data): New variable.
33106 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33107 (cosh_towardzero_test_data): New variable.
33108 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33109 (cosh_downward_test_data): New variable.
33110 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33111 (cosh_upward_test_data): New variable.
33112 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33113 (erf_test_data): New variable.
33114 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
33115 (erfc_test_data): New variable.
33116 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
33117 (exp_test_data): New variable.
33118 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
33119 (exp_tonearest_test_data): New variable.
33120 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33121 (exp_towardzero_test_data): New variable.
33122 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33123 (exp_downward_test_data): New variable.
33124 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33125 (exp_upward_test_data): New variable.
33126 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33127 (exp10_test_data): New variable.
33128 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
33129 (exp2_test_data): New variable.
33130 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
33131 (expm1_test_data): New variable.
33132 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
33133 (fabs_test_data): New variable.
33134 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
33135 (floor_test_data): New variable.
33136 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
33137 (j0_test_data): New variable.
33138 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
33139 (j1_test_data): New variable.
33140 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
33141 (log_test_data): New variable.
33142 (log_test): Run tests with RUN_TEST_LOOP_f_f.
33143 (log10_test_data): New variable.
33144 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
33145 (log1p_test_data): New variable.
33146 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
33147 (log2_test_data): New variable.
33148 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
33149 (logb_test_data): New variable.
33150 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
33151 (logb_downward_test_data): New variable.
33152 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33153 (nearbyint_test_data): New variable.
33154 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
33155 (rint_test_data): New variable.
33156 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
33157 (rint_tonearest_test_data): New variable.
33158 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33159 (rint_towardzero_test_data): New variable.
33160 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33161 (rint_downward_test_data): New variable.
33162 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33163 (rint_upward_test_data): New variable.
33164 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33165 (round_test_data): New variable.
33166 (round_test): Run tests with RUN_TEST_LOOP_f_f.
33167 (sin_test_data): New variable.
33168 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
33169 (sin_tonearest_test_data): New variable.
33170 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33171 (sin_towardzero_test_data): New variable.
33172 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33173 (sin_downward_test_data): New variable.
33174 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33175 (sin_upward_test_data): New variable.
33176 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33177 (sinh_test_data): New variable.
33178 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
33179 (sinh_tonearest_test_data): New variable.
33180 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33181 (sinh_towardzero_test_data): New variable.
33182 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33183 (sinh_downward_test_data): New variable.
33184 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33185 (sinh_upward_test_data): New variable.
33186 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33187 (sqrt_test_data): New variable.
33188 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
33189 (tan_test_data): New variable.
33190 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
33191 (tan_tonearest_test_data): New variable.
33192 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33193 (tan_towardzero_test_data): New variable.
33194 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33195 (tan_downward_test_data): New variable.
33196 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33197 (tan_upward_test_data): New variable.
33198 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33199 (tanh_test_data): New variable.
33200 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
33201 (tgamma_test_data): New variable.
33202 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
33203 (trunc_test_data): New variable.
33204 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
33205 (y0_test_data): New variable.
33206 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
33207 (y1_test_data): New variable.
33208 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
33209 (significand_test_data): New variable.
33210 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
33211
7187d844
CG
332122013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
33213
33214 [BZ #12387]
33215 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
33216
f63fae73
PT
332172013-05-10 Pino Toscano <toscano.pino@tiscali.it>
33218
33219 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
33220
8a67a4b3
AJ
332212013-05-10 Andreas Jaeger <aj@suse.de>
33222
33223 [BZ #15448]
33224 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
33225 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
33226
51df539d
JM
332272013-05-10 Joseph Myers <joseph@codesourcery.com>
33228
33229 * math/gen-libm-test.pl (adjust_arg): New function.
33230 (special_functions): Handle generating output in both functions
33231 and arrays.
33232 (parse_args): Likewise.
33233 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
33234 $in_func argument to parse_args.
33235 * math/libm-test.inc (struct test_f_f_data): New type.
33236 (IF_ROUND_INIT_): New macro.
33237 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
33238 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33239 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33240 (IF_ROUND_INIT_FE_UPWARD): Likewise.
33241 (ROUND_RESTORE_): Likewise.
33242 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
33243 (ROUND_RESTORE_FE_TONEAREST): Likewise.
33244 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
33245 (ROUND_RESTORE_FE_UPWARD): Likewise.
33246 (RUN_TEST_LOOP_f_f): New macro.
33247 (acos_test_data): New variable.
33248 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
33249 (acos_tonearest_test_data): New variable.
33250 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33251
5c637fe5
SP
332522013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33253
33254 * benchtests/bench-skeleton.c (startup): Fix coding style.
33255
ab2b9461
JM
332562013-05-10 Joseph Myers <joseph@codesourcery.com>
33257
33258 [BZ #6809]
33259 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
33260 negative infinity argument.
33261 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
33262 negative infinity argument.
33263 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
33264 negative infinity argument.
33265 * math/libm-test.inc (tgamma_test): Expect errno to be set for
33266 domain errors.
33267
4c0fe6fe
FW
332682013-05-10 Florian Weimer <fweimer@redhat.com>
33269
33270 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
33271 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
33272 * iconv/iconv_prog.c (main): Likewise.
33273 * locale/programs/charmap-dir.c (charmap_readdir)
33274 (fopen_uncompressed): Likewise.
33275 * locale/programs/locfile.c (siblings_uncached)
33276 (write_locale_data): Use lstat64 instead of lstat.
33277 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
33278 stat.
33279
a3375d29
AJ
332802013-05-10 Andreas Jaeger <aj@suse.de>
33281
33282 [BZ #15395]
33283 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
33284 localization.
33285 Include <locale.h>.
33286
36129722
CD
332872013-05-09 Carlos O'Donell <carlos@redhat.com>
33288
33289 * elf/dl-close.c (_dl_close_worker): Add comments.
33290
faa7f811
JM
332912013-05-09 Joseph Myers <joseph@codesourcery.com>
33292
ed41ffef
JM
33293 [BZ #15359]
33294 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
33295 high part of pi/2.
33296 (__ieee754_rem_pio2l): Update comments.
33297
d0213cd0
JM
33298 [BZ #15429]
33299 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
33300 high part of pi/2.
33301 (__ieee754_rem_pio2l): Update comments.
33302
0d3e777a
JM
33303 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
33304 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
33305
24f56066
JM
33306 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
33307 M_PI_4l.
33308
faa7f811
JM
33309 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
33310 (M_PI_34_LOG10El): Likewise.
33311 (M_PI2_LOG10El): Likewise.
33312 (M_PI4_LOG10El): Likewise.
33313 (M_PI_LOG10El): Likewise.
33314
e9a5e0fd
AZ
333152013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33316
33317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33318
d8cd06db
JM
333192013-05-08 Joseph Myers <joseph@codesourcery.com>
33320
a0d9f9d7
JM
33321 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
33322 (MINUS_ZERO_INIT): Likewise.
33323 (PLUS_INFTY_INIT): Likewise.
33324 (MINUS_INFTY_INIT): Likewise.
33325 (QNAN_VALUE_INIT): Likewise.
33326 (MAX_VALUE_INIT): Likewise.
33327 (MIN_VALUE_INIT): Likewise.
33328 (MIN_SUBNORM_VALUE_INIT): Likewise.
33329 (plus_zero): Initialize with PLUS_ZERO_INIT.
33330 (minus_zero): Initialize with MINUS_ZERO_INIT.
33331 (plus_infty): Initialize with PLUS_INFTY_INIT.
33332 (minus_infty): Initialize with MINUS_INFTY_INIT.
33333 (qnan_value): Initialize with QNAN_VALUE_INIT.
33334 (max_value): Initialize with MAX_VALUE_INIT.
33335 (min_value): Initialize with MIN_VALUE_INIT.
33336 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
33337
ae08db3b
JM
33338 * math/libm-test.inc (RUN_TEST_if_f): New macro.
33339 (jn_test): Use TEST_if_f instead of TEST_ff_f.
33340 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
33341 (yn_test): Use TEST_if_f instead of TEST_ff_f.
33342
f44bf14a
JM
33343 * math/libm-test.inc (RUN_TEST_f_f): New macro.
33344 (RUN_TEST_2_f): Likewise.
33345 (RUN_TEST_ff_f): Likewise.
33346 (RUN_TEST_fi_f): Likewise.
33347 (RUN_TEST_fl_f): Likewise.
33348 (RUN_TEST_fff_f): Likewise.
33349 (RUN_TEST_c_f): Likewise.
33350 (RUN_TEST_f_f1): Likewise.
33351 (RUN_TEST_fF_f1): Likewise.
33352 (RUN_TEST_fI_f1): Likewise.
33353 (RUN_TEST_ffI_f1): Likewise.
33354 (RUN_TEST_c_c): Likewise.
33355 (RUN_TEST_cc_c): Likewise.
33356 (RUN_TEST_f_i): Likewise.
33357 (RUN_TEST_f_i_tg): Likewise.
33358 (RUN_TEST_ff_i_tg): Likewise.
33359 (RUN_TEST_f_b): Likewise.
33360 (RUN_TEST_f_b_tg): Likewise.
33361 (RUN_TEST_f_l): Likewise.
33362 (RUN_TEST_f_L): Likewise.
33363 (RUN_TEST_sincos): Likewise.
33364 * math/gen-libm-test.pl (new_test): Take new argument to indicate
33365 whether to show exceptions. Do not include ");\n" in return
33366 value.
33367 (special_functions): Output call to RUN_TEST_sincos instead of
33368 check_float calls. Update calls to new_test.
33369 (parse_args): Output call to single RUN_TEST_* macro instead of
33370 check_* calls and other assignments. Update calls to new_test.
33371
d8cd06db
JM
33372 [BZ #2546]
33373 [BZ #2560]
33374 [BZ #5159]
33375 [BZ #15426]
33376 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
33377 input to result for tgamma overflow.
33378 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
33379 (gamma_coeff): New variable.
33380 (NCOEFF): New macro.
33381 (gamma_positive): New function.
33382 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
33383 underflow here. Use gamma_positive instead of exp (lgamma) for
33384 other arguments.
33385 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
33386 (gamma_coeff): New variable.
33387 (NCOEFF): New macro.
33388 (gammaf_positive): New function.
33389 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
33390 underflow here. Use gamma_positive instead of exp (lgamma) for
33391 other arguments.
33392 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
33393 (gamma_coeff): New variable.
33394 (NCOEFF): New macro.
33395 (gammal_positive): New function.
33396 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
33397 underflow here. Use gamma_positive instead of exp (lgamma) for
33398 other arguments.
33399 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
33400 (gamma_coeff): New variable.
33401 (NCOEFF): New macro.
33402 (gammal_positive): New function.
33403 (__ieee754_gammal_r): Handle positive infinity, overflow and
33404 underflow here. Handle NaN the same as positive infinity. Remove
33405 check x < 0xffffffff for negative integers. Use gamma_positive
33406 instead of exp (lgamma) for other arguments.
33407 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
33408 (gamma_coeff): New variable.
33409 (NCOEFF): New macro.
33410 (gammal_positive): New function.
33411 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
33412 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
33413 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
33414 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
33415 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
33416 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
33417 * sysdeps/generic/math_private.h (__gamma_productf): New
33418 prototype.
33419 (__gamma_product): Likewise.
33420 (__gamma_productl): Likewise.
33421 * math/Makefile (libm-calls): Add gamma_product.
33422 * math/libm-test.inc (tgamma_test): Add more tests.
33423 * sysdeps/i386/fpu/libm-test-ulps: Update.
33424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33425
bb7cf681
OB
334262013-05-08 Ondřej Bílka <neleai@seznam.cz>
33427
33428 * benchtests/bench-skeleton.c (main): Preheat CPU.
33429
ba853947
AJ
334302013-05-07 Aurelien Jarno <aurelien@aurel32.net>
33431
33432 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
33433
8347c74c
RM
334342013-05-07 Roland McGrath <roland@hack.frob.com>
33435
33436 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
33437 and _dl_skip_args_internal.
33438
e8dd4791
CD
334392013-05-07 Carlos O'Donell <carlos@redhat.com>
33440
33441 * manual/message.texi (Message Translation): Talk about users.
33442 Message to key mapping impacts design.
33443
c7405830
RM
334442013-05-06 Roland McGrath <roland@hack.frob.com>
33445
a9173057
RM
33446 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
33447
976e2f03
RM
33448 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
33449
9723ffc5
RM
33450 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
33451 * sysdeps/wordsize-64/glob64.c: ... here.
33452
962e6658
RM
33453 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
33454 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
33455 New macros.
33456
ee586a6d
RM
33457 * debug/getlogin_r_chk.c: Moved to ...
33458 * login/getlogin_r_chk.c: ... here.
33459 * debug/Makefile (routines): Move getlogin_r_chk to ...
33460 * login/Makefile (routines): ... here.
33461 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
33462 * login/Versions (libc: GLIBC_2.4): ... here.
33463
355f9165
RM
33464 * io/poll.c (__poll): Renamed from poll.
33465 Add libc_hidden_def.
33466 (poll): Define as weak alias.
33467
bd9ffde6
RM
33468 * debug/ptsname_r_chk.c: Moved to ...
33469 * login/ptsname_r_chk.c: ... here.
33470 * debug/Makefile (routines): Move ptsname_r_chk to ...
33471 * login/Makefile (routines): ... here.
33472 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
33473 * login/Versions (libc: GLIBC_2.4): ... here.
33474
8fb16a04
RM
33475 * posix/getlogin.c: Moved to ...
33476 * login/getlogin.c: ... here.
33477 * posix/getlogin_r.c: Moved to ...
33478 * login/getlogin_r.c: ... here.
33479 * posix/getlogin_r.c: Moved to ...
33480 * login/getlogin_r.c: ... here.
33481 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
33482 * login/Makefile (routines): ... here.
33483 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
33484 * login/Versions (libc: GLIBC_2.0): ... here.
33485
b99b892f
RM
33486 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
33487 (setrlimit): Define as weak alias.
33488
c7405830
RM
33489 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
33490 Call __ names for open, ftruncate, and close.
33491 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
33492 (truncate): Define as weak alias.
33493
5bf96de5
JM
334942013-05-06 Joseph Myers <joseph@codesourcery.com>
33495
9ea3513c
JM
33496 * math/gen-libm-test.pl (parse_args): Initialize x before each
33497 test of frexp, modf and remquo.
33498
5bf96de5
JM
33499 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
33500 test signgam value.
33501
16e616a7
AZ
335022013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33503
33504 [BZ #15418]
33505 [BZ #15419]
33506 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
33507 internal tests.
33508 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33509
d5e82754
RM
335102013-05-06 Roland McGrath <roland@hack.frob.com>
33511
33512 * elf/dl-writev.h: New file.
33513 * elf/dl-misc.c: Include it.
33514 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
33515 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
33516
a7548d41
JM
335172013-05-04 Joseph Myers <joseph@codesourcery.com>
33518
b7dab1e4
JM
33519 * math/libm-test.inc (noXFails): Remove variable.
33520 (noXPasses): Likewise.
33521 (BUILD_COMPLEX_INT): Remove macro.
33522 (print_screen): Remove xfail argument.
33523 (print_screen_max_error): Likewise.
33524 (update_stats): Likewise.
33525 (print_max_error): Likewise. Update calls to other affected
33526 functions.
33527 (print_complex_max_error): Likewise.
33528 (test_single_exception): Update calls to print_screen.
33529 (test_single_errno): Likewise.
33530 (check_float_internal): Remove xfail argument. Update calls to
33531 other affected functions.
33532 (check_float): Likewise.
33533 (check_complex): Likewise.
33534 (check_int): Likewise.
33535 (check_long): Likewise.
33536 (check_bool): Likewise.
33537 (check_longlong): Likewise.
33538 (main): Don't print noXFails and noXPasses.
33539 * math/gen-libm-test.pl (top level): Don't mention expected
33540 failure handling in comment.
33541 (new_test): Don't handle expected failures.
33542 (parse_args): Don't mention expected failure handling in comment.
33543 (generate_testfile): Don't handle expected failures.
33544 (parse_ulps): Likewise.
33545 (print_ulps_file): Likewise.
33546 (get_failure): Remove function.
33547 (output_test): Don't handle expected failures.
33548 * make/README.libm-test: Don't mention expected failure handling.
33549
a7548d41
JM
33550 * math/libm-test.inc (plus_zero): Make const. Add initializer.
33551 (minus_zero): Likewise.
33552 (plus_infty): Likewise.
33553 (minus_infty): Likewise.
33554 (qnan_value): Likewise.
33555 (max_value): Likewise.
33556 (min_value): Likewise.
33557 (min_subnorm_value): Likewise.
33558 (initialize): Do not initialize those variables dynamically.
33559
60bfd54c
RM
335602013-05-03 Roland McGrath <roland@hack.frob.com>
33561
cc0e6ed8
RM
33562 * io/open.c (__open_2): Moved to ...
33563 * io/open_2.c: ... this new file.
33564 * io/open64.c (__open64_2): Moved to ...
33565 * io/open64_2.c: ... this new file.
33566 * io/openat.c (__openat_2): Moved to ...
33567 * io/openat_2.c: ... this new file.
33568 * io/openat64.c (__openat64_2): Moved to ...
33569 * io/openat64_2.c: ... this new file.
33570 * io/Makefile (routines): Add them.
33571 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
33572 * sysdeps/unix/sysv/linux/open_2.c: File removed.
33573 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
33574 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
33575 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
33576 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
33577 (__openat64): Add hidden_ver.
33578 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
33579 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
33580
60bfd54c
RM
33581 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
33582 Separately conditionalize setting of GLRO(dl_sysinfo) so
33583 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
33584 as well, but the actual setting is only under [NEED_DL_SYSINFO].
33585
83e7640f
AZ
335862013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33587
33588 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
33589 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
33590 definition.
33591 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
33592 * sysdeps/unix/sysv/linux/powerpc/init-first.c
33593 (_libc_vdso_platform_setup): Add __vdso_time initialization.
33594 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
33595 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
33596
d5dc2af3
JM
335972013-05-03 Joseph Myers <joseph@codesourcery.com>
33598
c31a5b1e
JM
33599 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
33600 test signgam value.
33601
d5dc2af3
JM
33602 * math/libm-test.inc (hypot_test): Do not use
33603 IGNORE_ZERO_INF_SIGN.
33604
164fd39d
AJ
336052013-05-03 Andreas Jaeger <aj@suse.de>
33606
33607 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
33608 Linux 3.9.
33609 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
33610 (PF_MAX): Adjust for VSOCK change.
33611
8237f48c
AZ
336122013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33613
33614 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33615
9df02941
CD
336162013-05-02 Carlos O'Donell <carlos@redhat.com>
33617
33618 [BZ #15264]
33619 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
33620 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
33621 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
33622
d422395e
DM
336232013-05-02 David S. Miller <davem@davemloft.net>
33624
33625 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33626
a07c5731
OB
336272013-05-01 Ondřej Bílka <neleai@seznam.cz>
33628
33629 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
33630
1324e37f
RM
336312013-05-01 Roland McGrath <roland@hack.frob.com>
33632
33633 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
33634
0695940b
RS
336352013-05-01 Richard Smith <richard@metafoo.co.uk>
33636
bb5f27ad 33637 [BZ #14952]
0695940b
RS
33638 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
33639 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33640 Use __attribute__ ((__gnu_inline__)).
33641 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33642 Don't use __attribute__ ((__gnu_inline__)).
33643
10de07f5
JM
336442013-05-01 Joseph Myers <joseph@codesourcery.com>
33645
33646 [BZ #15423]
33647 * math/s_catan.c (__catan): Handle small real or imaginary part of
33648 input specially to avoid spurious underflow.
33649 * math/s_catanf.c (__catanf): Likewise.
33650 * math/s_catanh.c (__catanh): Likewise.
33651 * math/s_catanhf.c (__catanhf): Likewise.
33652 * math/s_catanhl.c (__catanhl): Likewise.
33653 * math/s_catanl.c (__catanl): Likewise.
33654 * math/libm-test.inc (catan_test): Add more tests.
33655 (catanh_test): Likewise.
33656 * sysdeps/i386/fpu/libm-test-ulps: Update.
33657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33658
cb4d5414
AZ
336592013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33660
33661 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33662
caf84319
JM
336632013-04-30 Joseph Myers <joseph@codesourcery.com>
33664
33665 [BZ #15416]
33666 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
33667 accurately for denominator in atan2.
33668 * math/s_catanf.c (__catanf): Likewise.
33669 * math/s_catanh.c (__catanh): Likewise.
33670 * math/s_catanhf.c (__catanhf): Likewise.
33671 * math/s_catanhl.c (__catanhl): Likewise.
33672 * math/s_catanl.c (__catanl): Likewise.
33673 * math/libm-test.inc (catan_test): Add more tests.
33674 (catanh_test): Likewise.
33675 * sysdeps/i386/fpu/libm-test-ulps: Update.
33676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33677
d569c6ee
SP
336782013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33679
6dbe713d
SP
33680 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
33681
f0ee064b
SP
33682 * benchtests/Makefile (bench): Remove slow benchmarks.
33683 * benchtests/atan-inputs: Add slow benchmark inputs.
33684 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
33685 (BENCH_FUNC): Accept variant offset.
33686 (VARIANT): Define.
33687 * benchtests/bench-skeleton.c (main): Run benchmark for each
33688 variant.
33689 * benchtests/cos-inputs: Add slow benchmark inputs.
33690 * benchtests/exp-inputs: Likewise.
33691 * benchtests/pow-inputs: Likewise.
33692 * benchtests/sin-inputs: Likewise.
33693 * benchtests/slowatan-inputs: Remove.
33694 * benchtests/slowatan.c: Remove.
33695 * benchtests/slowcos-inputs: Remove.
33696 * benchtests/slowcos.c: Remove.
33697 * benchtests/slowexp-inputs: Remove.
33698 * benchtests/slowexp.c: Remove.
33699 * benchtests/slowpow-inputs: Remove.
33700 * benchtests/slowpow.c: Remove.
33701 * benchtests/slowsin-inputs: Remove.
33702 * benchtests/slowsin.c: Remove.
33703 * benchtests/slowtan-inputs: Remove.
33704 * benchtests/slowtan.c: Remove.
33705 * benchtests/tan-inputs: Add slow benchmark inputs.
33706 * scripts/bench.pl: Parse comments and directives.
33707
d569c6ee
SP
33708 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
33709 in CPPFLAGS.
33710 ($(objpfx)bench-%.c): Remove *-ITER.
33711 * benchtests/bench-modf.c: Remove definition of ITER.
33712 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
33713 (main): Loop for DURATION seconds instead of fixed number of
33714 iterations.
33715 * scripts/bench.pl: Don't expect iterations in parameters.
33716
a6a242fe
RM
337172013-04-29 Roland McGrath <roland@hack.frob.com>
33718
33719 * io/fchdir.c (__fchdir): Renamed from fchdir.
33720 (fchdir): Define as weak alias.
33721
f2da7793
JM
337222013-04-29 Joseph Myers <joseph@codesourcery.com>
33723
33724 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
33725 (ERRNO_EDOM): Likewise.
33726 (ERRNO_ERANGE): Likewise.
33727 (noErrnoTests): New variable.
33728 (init_max_error): Set errno to 0.
33729 (test_single_errno): New function.
33730 (test_errno): Likewise.
33731 (check_float_internal): Call test_errno. Set errno to 0.
33732 (check_complex): Refer to errno tests in comment.
33733 (check_int): Call test_errno. Set errno to 0.
33734 (check_long): Likewise.
33735 (check_bool): Likewise.
33736 (check_longlong): Likewise.
33737 (cos_test): Use ERRNO_* flags for errno tests instead of
33738 check_int.
33739 (expm1_test): Likewise.
33740 (fmod_test): Likewise.
33741 (ilogb_test): Likewise.
33742 (lgamma_test): Likewise.
33743 (pow_test): Likewise.
33744 (remainder_test): Likewise.
33745 (sin_test): Likewise.
33746 (tan_test): Likewise.
33747 (yn_test): Likewise.
33748 (initialize): Set errno to 0.
33749 (main): Print number of errno tests.
33750 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
33751
b1a36ceb
AJ
337522013-04-29 Andreas Jaeger <aj@suse.de>
33753
c3ed8088
AJ
33754 [BZ #15084]
33755 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
33756 and RES_USEVC.
33757
f1a24198
AJ
33758 [BZ #15085]
33759 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
33760 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
33761 unimplemented.
33762
9ce3b2cb
AJ
33763 [BZ #15380]
33764 * stdlib/random.c (__initstate): Return NULL if
33765 __initstate fails.
33766
f1a24198 33767 [BZ #15086]
b1a36ceb
AJ
33768 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
33769 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
33770 RES_SNGLKUPREOP.
33771
7e7b6f36
AZ
337722013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33773
33774 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33775
4d14f449
JM
337762013-04-29 Joseph Myers <joseph@codesourcery.com>
33777
33778 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
33779 of individual tests.
33780 (casin_test): Likewise.
33781 (casinh_test): Likewise.
33782
5b4217d7
JM
337832013-04-27 Joseph Myers <joseph@codesourcery.com>
33784
33785 [BZ #15409]
33786 * math/s_catan.c (__catan): Handle arguments with large real or
33787 imaginary part separately without squaring.
33788 * math/s_catanf.c (__catanf): Likewise.
33789 * math/s_catanh.c (__catanh): Likewise.
33790 * math/s_catanhf.c (__catanhf): Likewise.
33791 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33792 and redefine.
33793 (__catanhl): Handle arguments with large real or imaginary part
33794 separately without squaring.
33795 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33796 and redefine.
33797 (__catanl): Handle arguments with large real or imaginary part
33798 separately without squaring.
33799 * math/libm-test.inc (catan_test): Add more tests.
33800 (catanh_test): Likewise.
33801 * sysdeps/i386/fpu/libm-test-ulps: Update.
33802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33803
4220c3ef
AJ
338042013-04-27 Andreas Jaeger <aj@suse.de>
33805
33806 [BZ #15007]
33807 * stdlib/stdlib.h: Update guards for qecvt.
33808 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
33809 <stdlib.h>.
33810
4721b2d1
AM
338112013-04-27 Allan McRae <allan@archlinux.org>
33812
33813 * sysdeps/i386/fpu/libm-test-ulps: Update.
33814
f0302940
JM
338152013-04-26 Joseph Myers <joseph@codesourcery.com>
33816
9457fd95
JM
33817 [BZ #15406]
33818 * math/s_catan.c: Include <float.h>.
33819 (__catan): Ensure underflow exception occurs for underflowed
33820 result.
33821 * math/s_catanf.c: Include <float.h>.
33822 (__catanf): Ensure underflow exception occurs for underflowed
33823 result.
33824 * math/s_catanh.c: Include <float.h>.
33825 (__catanh): Ensure underflow exception occurs for underflowed
33826 result.
33827 * math/s_catanhf.c: Include <float.h>.
33828 (__catanhf): Ensure underflow exception occurs for underflowed
33829 result.
33830 * math/s_catanhl.c: Include <float.h>.
33831 (__catanhl): Ensure underflow exception occurs for underflowed
33832 result.
33833 * math/s_catanl.c: Include <float.h>.
33834 (__catanl): Ensure underflow exception occurs for underflowed
33835 result.
33836 * math/libm-test.inc (catan_test): Add more tests.
33837 (catanh_test): Likewise.
33838
f0302940
JM
33839 [BZ #15405]
33840 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
33841 underflowed result.
33842 * math/s_ccoshf.c (__ccoshf): Likewise.
33843 * math/s_ccoshl.c (__ccoshl): Likewise.
33844 * math/s_csin.c (__csin): Likewise.
33845 * math/s_csinf.c (__csinf): Likewise.
33846 * math/s_csinh.c (__csinh): Likewise.
33847 * math/s_csinhf.c (__csinhf): Likewise.
33848 * math/s_csinhl.c (__csinhl): Likewise.
33849 * math/s_csinl.c (__csinl): Likewise.
33850 * math/libm-test.inc (ccos_test): Add more tests.
33851 (ccosh_test): Likewise.
33852 (csin_test): Likewise.
33853 (csinh_test): Likewise.
33854
aa630f59
AZ
338552013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33856
33857 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
33858 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
33859 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
33860 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
33861 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
33862 powerpc/power5+/fpu folders.
33863 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
33864
33865
1b835983
MT
338662013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
33867
33868 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33869
73709b26
JM
338702013-04-25 Joseph Myers <joseph@codesourcery.com>
33871
33872 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
33873 additions to variable.
33874 [$(config-machine) = x86_64] (modules-names): Likewise.
33875 ($(objpfx)tst-audit3): Remove dependency.
33876 ($(objpfx)tst-audit3.out): Likewise.
33877 ($(objpfx)tst-audit4): Likewise.
33878 ($(objpfx)tst-audit4.out): Likewise.
33879 ($(objpfx)tst-audit5): Likewise.
33880 ($(objpfx)tst-audit5.out): Likewise.
33881 ($(objpfx)tst-audit6): Likewise.
33882 ($(objpfx)tst-audit6.out): Likewise.
33883 ($(objpfx)tst-audit7): Likewise.
33884 ($(objpfx)tst-audit7.out): Likewise.
33885 (tst-audit3-ENV): Remove variable.
33886 (tst-audit4-ENV): Likewise.
33887 (tst-audit5-ENV): Likewise.
33888 (tst-audit6-ENV): Likewise.
33889 (tst-audit7-ENV): Likewise.
33890 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
33891 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
33892 addition to variable.
33893 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
33894 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
33895 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
33896 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
33897 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
33898 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
33899 tst-audit3, tst-audit4 and tst-audit5.
33900 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
33901 tst-audit6 and tst-audit7.
33902 [$(subdir) = elf] (modules-names): Add audit modules for those
33903 tests.
33904 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
33905 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
33906 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
33907 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
33908 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
33909 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
33910 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
33911 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
33912 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
33913 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
33914 [$(subdir) = elf] (tst-audit3-ENV): New variable.
33915 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
33916 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
33917 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
33918 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
33919 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
33920 Likewise.
33921 [$(subdir) = elf && $(config-cflags-avx) = yes]
33922 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
33923 [$(subdir) = elf && $(config-cflags-avx) = yes]
33924 (CFLAGS-tst-auditmod4a.c): Likewise.
33925 [$(subdir) = elf && $(config-cflags-avx) = yes]
33926 (CFLAGS-tst-auditmod4b.c): Likewise.
33927 [$(subdir) = elf && $(config-cflags-avx) = yes]
33928 (CFLAGS-tst-auditmod6b.c): Likewise.
33929 [$(subdir) = elf && $(config-cflags-avx) = yes]
33930 (CFLAGS-tst-auditmod6c.c): Likewise.
33931 [$(subdir) = elf && $(config-cflags-avx) = yes]
33932 (CFLAGS-tst-auditmod7b.c): Likewise.
33933 * elf/tst-audit3.c: Move to ...
33934 * sysdeps/x86_64/tst-audit3.c: ... here.
33935 * elf/tst-audit4.c: Move to ...
33936 * sysdeps/x86_64/tst-audit4.c: ... here.
33937 * elf/tst-audit5.c: Move to ...
33938 * sysdeps/x86_64/tst-audit5.c: ... here.
33939 * elf/tst-audit6.c: Move to ...
33940 * sysdeps/x86_64/tst-audit6.c: ... here.
33941 * elf/tst-audit7.c: Move to ...
33942 * sysdeps/x86_64/tst-audit7.c: ... here.
33943 * elf/tst-auditmod3a.c: Move to ...
33944 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
33945 * elf/tst-auditmod3b.c: Move to ...
33946 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
33947 * elf/tst-auditmod4a.c: Move to ...
33948 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
33949 * elf/tst-auditmod4b.c: Move to ...
33950 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
33951 * elf/tst-auditmod5a.c: Move to ...
33952 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
33953 * elf/tst-auditmod5b.c: Move to ...
33954 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
33955 * elf/tst-auditmod6a.c: Move to ...
33956 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
33957 * elf/tst-auditmod6b.c: Move to ...
33958 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
33959 * elf/tst-auditmod6c.c: Move to ...
33960 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
33961 * elf/tst-auditmod7a.c: Move to ...
33962 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
33963 * elf/tst-auditmod7b.c: Move to ...
33964 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
33965
1ef74943
PP
339662013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
33967
33968 [BZ #15366]
33969 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
33970 define unconditionally.
33971 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
33972 define unconditionally.
33973 (INT8_C, INT16_C, etc.): Likewise.
33974
93fd48c5
MR
339752013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
33976
ae9552cf
MR
33977 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
33978 __ehdr_start with hidden visibility.
33979
93fd48c5
MR
33980 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
33981
418601aa
CD
339822013-04-24 Carlos O'Donell <carlos@redhat.com>
33983
33984 * math/libm-test.inc (cos_test): Use accurate hex constants.
33985 (sincost_test): Likewise.
33986
2f38fbfe
JM
339872013-04-24 Joseph Myers <joseph@codesourcery.com>
33988
5e221800
JM
33989 * math/libm-test.inc (catan_test): Add more tests.
33990 (catanh_test): Likewise.
33991
77f143fd
JM
33992 * math/s_catanf.c (__catanf): Use suffixed floating-point
33993 constants.
33994 * math/s_catanhf.c (__catanhf): Likewise.
33995 * math/s_catanhl.c (__catanhl): Likewise.
33996 * math/s_catanl.c (__catanl): Likewise.
33997
2f38fbfe
JM
33998 [BZ #15394]
33999 * math/s_catan.c (__catan): Calculate imaginary part of result
34000 with log1p not log unless computing log of number close to 0.
34001 * math/s_catanf.c (__catanf): Likewise.
34002 * math/s_catanl.c (__catanl): Likewise.
34003 * math/s_catanh.c (__catanh): Calculate real part of result with
34004 log1p not log unless computing log of number close to 0.
34005 * math/s_catanhf.c (__catanhf): Likewise.
34006 * math/s_catanhl.c (__catanhl): Likewise.
34007 * math/libm-test.inc (catan_test): Add more tests.
34008 (catanh_test): Likewise.
34009 * sysdeps/i386/fpu/libm-test-ulps: Update.
34010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34011
45d69176
SP
340122013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
34013
34014 * benchtests/Makefile: Mention files in which fast and slow
34015 paths of math functions are implemented.
34016
87f51853
RM
340172013-04-23 Roland McGrath <roland@hack.frob.com>
34018
34019 * sysdeps/posix/timespec_get.c: New file.
34020
3c026539
AZ
340212013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34022
34023 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
34024 POWER.
34025 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
34026 for POWER.
34027 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
34028 powerpc/power5/fpu folders.
34029 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
34030 * benchtests/Makefile: Add modf testcase.
34031 * benchtests/bench-modf.c: New file: Benchmark test for mo
34032
ff491d14
SP
340332013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
34034
34035 [BZ #14888]
34036 * time/Makefile (tests): Add tst-strptime-whitespace.
34037 * time/strptime_l.c (get_number): Use ISSPACE.
34038 (__strptime_internal): Likewise.
34039 * time/tst-strptime-whitespace.c: New test case.
34040
7ed3f4e8
AS
340412013-04-23 Andreas Schwab <schwab@linux-m68k.org>
34042
34043 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
34044 member.
34045 (_nss_files_init): Set it here.
34046
5c95f7b6
HC
340472013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
34048
34049 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
34050 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
34051 unsigned.
34052
d34c9158
JBG
340532013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
34054
34055 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
34056
2169712d
SP
340572013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
34058
34059 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
34060 size just once.
34061
29c5de99
DM
340622013-04-21 David S. Miller <davem@davemloft.net>
34063
34064 * po/ru.po: Update Russion translation from translation project.
34065
ccdad15d
AC
340662013-04-17 Adam Conrad <adconrad@0c3.net>
34067
34068 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
34069 and setfsgid.
34070
0f122b8d
CD
340712013-04-17 Carlos O'Donell <carlos@redhat.com>
34072
5c5b07da 34073 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 34074 * configure: Regenerate.
5c5b07da 34075 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
34076 Add example to error message.
34077 * sysdeps/i386/configure: Regenerate.
34078
037714dd
SP
340792013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
34080
34081 * benchtests/Makefile (bench): Add cos, tan, slowcos and
34082 slowtan.
34083 * benchtests/cos-inputs: New file.
34084 * benchtests/slowcos-inputs: New file.
34085 * benchtests/slowcos.c: New file.
34086 * benchtests/slowtan-inputs: New file.
34087 * benchtests/slowtan.c: New file.
34088 * benchtests/tan-inputs: New file.
34089
e913141d
RM
340902013-04-16 Roland McGrath <roland@hack.frob.com>
34091
34092 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
34093 considered kosher.
34094
a2964074
SP
340952013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34096
4856bcd2
SP
34097 * benchtests/Makefile: Include cppflags-iterator.mk to add
34098 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
34099
a2964074
SP
34100 * Makefile.in (bench-clean): New target.
34101 * benchtests/Makefile (bench-clean): Likewise.
34102
9fbf9aca
DH
341032013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
34104
34105 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
34106
207d1e2a
TS
341072013-04-15 Thomas Schwinge <thomas@codesourcery.com>
34108
34109 * stdio-common/tstdiomisc.c: Fix coding-style violation.
34110
306dfba9
AS
341112013-04-15 Andreas Schwab <schwab@suse.de>
34112
34113 * nscd/grpcache.c (cache_addgr): Properly check for short write.
34114 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34115 * nscd/pwdcache.c (cache_addpw): Likewise.
34116 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
34117 more than recsize.
34118
206a6699
SP
341192013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34120
34121 * benchtests/Makefile (bench): Write all output to
34122 bench-out.tmp together.
34123
0582f6b3
AS
341242013-04-15 Andreas Schwab <schwab@suse.de>
34125
34126 * nscd/nscd.c (main): Don't fork again after closing files.
34127
acb4325f
SP
341282013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34129
5cb26d0a
SP
34130 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
34131
acb4325f
SP
34132 * benchtests/Rules (bench-deps): Collect dependencies into a
34133 single variable. Add Makefile to dependencies.
34134 ($(objpfx)bench-%.c): Depend on bench-deps.
34135
47792506
RM
341362013-04-12 Roland McGrath <roland@hack.frob.com>
34137 Xavier Roche <roche+kml2@exalead.com>
34138
34139 [BZ #15361]
34140 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
34141 just that it's a file descriptor.
34142 * manual/llio.texi (Synchronizing AIO Operations): Update description
34143 for EBADF error from aio_fsync.
34144
8fc1bee5
SP
341452013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
34146
34147 * Rules (bench): Move target definition...
34148 * benchtests/Makefile: ... here.
34149
aba5e333
CD
341502013-04-11 Carlos O'Donell <carlos@redhat.com>
34151
34152 * math/libm-test.inc (cos_test): Fix PI/2 test.
34153 (sincos_test): Likewise.
34154 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
34155 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
34156
273cdee8
AS
341572013-04-11 Andreas Schwab <schwab@suse.de>
34158
6ecec3b6
AS
34159 [BZ #13988]
34160 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
34161 accept exponent character only when digits were seen.
34162 * stdio-common/Makefile (tests): Add bug26.
34163 * stdio-common/bug26.c: New file.
34164
273cdee8
AS
34165 [BZ #14293]
34166 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
34167 non-freeable.
34168
8da491f5
SP
341692013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34170
01dc6df9
SP
34171 * Makeconfig (rtld-prefix): Define built linker prefix.
34172 * Rules (run-bench): Use it.
34173 * math/Makefile (run-regen-ulps): Likewise.
34174
8da491f5
SP
34175 * Rules (bench): Remove eval.
34176
abe7f530
SP
341772013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34178 Roland McGrath <roland@hack.frob.com>
34179 Ondrej Bilka <neleai@seznam.cz>
34180
34181 [BZ #15346]
34182 * time/getdate.c: Include ctype.h and alloca.h.
34183 (__getdate_r): Trim leading and trailing spaces of input.
34184 * time/tst-getdate.c (tests): Add tests with leading and
34185 trailing spaces.
34186
61c23e62
RM
341872013-04-08 Roland McGrath <roland@hack.frob.com>
34188
34189 [BZ #14280]
34190 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
34191 when computing value.
34192
7208a313
CD
341932013-04-06 Carlos O'Donell <carlos@redhat.com>
34194
085b2d41
CD
34195 * math/README.libm-test (How can I generate "libm-test-ulps"?):
34196 Use testrun.sh to run libm tests.
34197
7208a313
CD
34198 [BZ #15309]
34199 * elf/dl-open.c (dl_open_worker): memset all of seen array.
34200
872c0acd
MM
342012013-04-06 Marko Myllynen <myllynen@redhat.com>
34202
34203 [BZ #15264]
34204 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
34205
26510bdd
CD
342062013-04-06 Carlos O'Donell <carlos@redhat.com>
34207
34208 * Makefile.in (regen-ulps): New target.
34209 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
34210 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
34211 [ifneq (no,$(PERL)] (regen-ulps): New target.
34212 [ifeq (no,$(PERL)] (regen-ulps): New target.
34213 * math/libm-test.inc (ulps_file_name): Define.
34214 (output_dir): New variable.
34215 (options): Add "output-dir" option.
34216 (parse_opt): Handle 'o' case.
34217 (main): If output_dir is non-NULL use it as a prefix
34218 otherwise use "".
34219 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
34220
a01f19c8
CD
342212013-04-06 Carlos O'Donell <carlos@redhat.com>
34222
34223 [BZ #10060, #10062]
34224 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
34225 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
34226 fail configure if __sync_val_compare_and_swap is not inlined.
34227 * sysdeps/i386/configure: Regenerate.
34228 * configure.in: Build for i686 when configured for i386.
34229 * configure: Regenerate.
34230 * README: Remove i386 reference.
34231
b7a329a5
CD
342322013-04-06 Carlos O'Donell <carlos@redhat.com>
34233
34234 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
34235 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34236
bf0f50df
TS
342372013-04-05 Thomas Schwinge <thomas@codesourcery.com>
34238
ee091edf
TS
34239 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
34240 (lmsnanval): New variables.
34241 (F): Add conversion tests.
34242 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
34243 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
34244
a8b792d6
TS
34245 * stdio-common/tstdiomisc.c (F): Properly collect individual
34246 tests' results.
34247
a1cbf437
TS
34248 [BZ #14686, #15336]
34249 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
34250 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
34251 Instead, use input NaN values or generate a qNaN by arithmetic
34252 operation. Also fix bugs to comply with the standard.
34253 * math/libm-test.inc (remainder_test): Add more tests.
34254
8b43a0c9
TS
34255 [BZ #15335, #15342]
34256 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
34257 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
34258 input NaN values or generate a qNaN by arithmetic operation.
34259
d91da4ce
TS
34260 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
34261 unreachable code.
34262
bf0f50df
TS
34263 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
34264 definitions.
34265
05e166c8
JM
342662013-04-03 Joseph Myers <joseph@codesourcery.com>
34267
34268 [BZ #14478]
34269 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
34270 underflowed result.
34271 * math/s_cexpf.c (__cexpf): Likewise.
34272 * math/s_cexpl.c (__cexpl): Likewise.
34273 * math/libm-test.inc (cexp_test): Add more tests.
34274
1cef1b19
AS
342752013-04-03 Andreas Schwab <schwab@suse.de>
34276
34277 [BZ #15330]
34278 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
34279 order arrays from heap if bigger than alloca cutoff.
34280
74d87055
TS
342812013-04-03 Thomas Schwinge <thomas@codesourcery.com>
34282
34283 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
34284 (SNAN_TESTS_double): Refer to GCC PR56831.
34285 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
34286 GCC PR56828.
34287
d755bba4
SP
342882013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
34289
90d5d5bb
SP
34290 * Rules (bench): Move bench.out after the run is complete.
34291
73e0cd5d
SP
34292 * Rules (bench): Echo currently running benchmark.
34293
64aabd4b
SP
34294 * benchtests/Makefile (bench): Add atan and slowatan.
34295 * benchtests/atan-inputs: New file.
34296 * benchtests/slowatan-inputs: New file.
34297 * benchtests/slowatan.c: New file.
34298
c871eccd
SP
34299 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
34300 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
34301 its value.
34302
d755bba4
SP
34303 [BZ #15305]
34304 * sysdeps/unix/sysv/linux/kernel-features.h
34305 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
34306 __ASSUME_XFS_RESTRICTED_CHOWN.
34307 * sysdeps/unix/sysv/linux/pathconf.c
34308 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
34309 Save and restore errno.
34310
52ce4860
JM
343112013-04-02 Joseph Myers <joseph@codesourcery.com>
34312
34313 [BZ #15327]
34314 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
34315 arguments using __kernel_casinh.
34316 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
34317 arguments using __kernel_casinhf.
34318 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
34319 arguments using __kernel_casinhl.
34320 * math/libm-test.inc (cacosh_test): Add more tests.
34321 * sysdeps/i386/fpu/libm-test-ulps: Update.
34322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34323
81f311c2
SP
343242013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34325
e7906a47
SP
34326 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
34327 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
34328
92e3664b
SP
34329 * bench/Makefile (bench): Add sin and slowsin.
34330 * benchtests/sin-inputs: New file.
34331 * benchtests/slowsin-inputs: New file.
34332 * benchtests/slowsin.c: New file.
34333
81f311c2
SP
34334 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
34335 (bench): Add slowexp and slowpow.
34336 (exp-ITER): Increase iterations.
34337 (pow-ITER): Likewise.
34338 * benchtests/exp-inputs: Change input.
34339 * benchtests/pow-inputs: Likewise.
34340 * benchtests/slowexp-inputs: New file.
34341 * benchtests/slowexp.c: New file.
34342 * benchtests/slowpow-inputs: New file.
34343 * benchtests/slowpow.c: New file.
34344
ab0f1aa9
AZ
343452013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34346
34347 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
34348 instructions.
34349 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
34350 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
34351 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
34352 * benchtests/Makefile: Add rint benchtest.
34353 * benchtests/rint-inputs: Input for rint benchtest.
34354
57267616
TS
343552013-04-02 Thomas Schwinge <thomas@codesourcery.com>
34356
34357 * Versions.def (libm): Add GLIBC_2.18.
34358 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
34359 hidden libm prototypes.
34360 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
34361 * math/Makefile (libm-calls): Add s_issignaling.
34362 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
34363 __issignalingf, __issignalingl. Adjust all libm.abilist files.
34364 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
34365 declaration.
34366 * math/math.h [__USE_GNU] (issignaling): New macro.
34367 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
34368 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
34369 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
34370 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
34371 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
34372 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
34373 * manual/arith.texi (issignaling): New section.
34374 * manual/libm-err-tab.pl (@all_functions): Update comment.
34375 * math/gen-libm-test.pl (parse_args): Apply special handling for
34376 issignaling.
34377 * math/libm-test.inc (print_float, issignaling_test): New
34378 functions.
34379 (check_float_internal): Add issignaling checks.
34380 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
34381 default definition.
34382 * sysdeps/powerpc/math-tests.h: New file.
34383 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
34384 tests.
34385 * math/test-snan.c (TEST_FUNC): Likewise.
34386
6142896d
DM
343872013-03-30 David S. Miller <davem@davemloft.net>
34388
34389 * po/de.po: Update from translation team.
34390
ccc8cadf
JM
343912013-03-30 Joseph Myers <joseph@codesourcery.com>
34392
34393 [BZ #10357]
34394 * math/k_casinh.c (__kernel_casinh): Handle arguments with
34395 imaginary part less than 1.0 and real part less than 0.5
34396 specially.
34397 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34398 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34399 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
34400 (cacos_test): Add more tests.
34401 (casin_test): Likewise.
34402 (casinh_test): Likewise.
34403 * sysdeps/i386/fpu/libm-test-ulps: Update.
34404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34405
0f6a8d4b
SP
344062013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34407
0d1029de
SP
34408 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
34409 ONE with its value.
34410
c2d94018
SP
34411 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
34412 (__pow_mp): Replace ONE and MONE with their values.
34413 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34414 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
34415 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34416 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
34417 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34418 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34419
27ec37f1
SP
34420 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
34421
a64d7e0e
SP
34422 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
34423 (__pow_mp): Replace ZERO and MZERO with their values.
34424 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34425 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34426 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34427 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34428 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34429 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
34430 (__sqr): Likewise.
34431
d26dd3eb
SP
34432 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
34433
0f6a8d4b
SP
34434 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
34435
e57b0c61
RM
344362013-03-28 Roland McGrath <roland@hack.frob.com>
34437
34438 * include/stdlib.h [!SHARED] (__call_tls_dtors):
34439 Declare with __attribute__ ((weak)).
34440 * stdlib/exit.c (__libc_atexit) [!SHARED]:
34441 Call __call_tls_dtors only if it's not NULL.
34442
356b3480
RM
344432013-03-28 Roland McGrath <roland@hack.frob.com>
34444
288f7d79
RM
34445 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
34446 didn't do it already, then set _dl_phdr and _dl_phnum based on the
34447 magic __ehdr_start linker symbol if it's defined.
34448 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
34449 them up here if it was already done.
34450
dc0a0263
RM
34451 * elf/dl-support.c (_dl_phdr): Make pointer to const.
34452 (_dl_aux_init): Use const in cast when setting it.
34453 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
34454 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
34455 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
34456
3d3436ae
RM
34457 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
34458 Declare them here.
34459 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
34460 * csu/libc-tls.c: Nor here.
34461 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
34462
356b3480
RM
34463 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
34464 (__libc_message): Never call vsyslog.
34465
b0f1246a
AM
344662013-03-28 Alan Modra <amodra@gmail.com>
34467
34468 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
34469 Define as empty.
34470 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
34471 Likewise.
34472
fbbe2b9a
AZ
344732013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34474
34475 [BZ #15214]
34476 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
34477 underflow.
34478 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34479
1728ab37
SP
344802013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34481
7a86be6e
SP
34482 [BZ #15304]
34483 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
34484 Don't add gid passed as argument.
34485
1728ab37
SP
34486 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
34487
3a7182a1
JM
344882013-03-27 Joseph Myers <joseph@codesourcery.com>
34489
34490 [BZ #15307]
34491 * math/k_casinh.c (__kernel_casinh): Handle arguments with
34492 imaginary part between 1.0 and 1.5 and real part less than 0.5
34493 specially.
34494 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34495 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34496 * math/libm-test.inc (cacos_test): Add more tests.
34497 (casin_test): Likewise.
34498 (casinh_test): Likewise.
34499 * sysdeps/i386/fpu/libm-test-ulps: Update.
34500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34501
6f2e90e7
SP
345022013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34503
5739f705
SP
34504 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
34505 constants.
34506 (norm): Likewise.
34507 (denorm): Likewise.
34508 (__dbl_mp): Likewise.
34509 (add_magnitudes): Likewise.
34510 (sub_magnitudes): Likewise.
34511 (__add): Likewise.
34512 (__sub): Likewise.
34513 (__mul): Likewise.
34514 (__sqr): Likewise.
34515 (__inv): Likewise.
34516 (__dvd): Likewise.
34517
e375e83d
SP
34518 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
34519 commented code.
34520 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
34521 (__dubcos): Likewise.
34522 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
34523 (__ieee754_acos): Likewise.
34524 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34525 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
34526 (__exp1): Likewise.
34527 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34528 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34529 (log1): Likewise.
34530 (my_log2): Likewise.
34531 (checkint): Likewise.
34532 * sysdeps/ieee754/dbl-64/e_remainder.c
34533 (__ieee754_remainder): Likewise.
34534 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34535 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
34536 (bsloww): Likewise.
34537 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34538
6f2e90e7
SP
34539 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34540 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
34541 MANTISSA_STORE_T to store computations on mantissa. Use
34542 macros for rounding and division.
34543 (denorm): Likewise.
34544 (__dbl_mp): Likewise.
34545 (add_magnitudes): Likewise.
34546 (sub_magnitudes): Likewise.
34547 (__mul): Likewise.
34548 (__sqr): Likewise.
34549 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
34550 powers of two in terms of TWOPOW macro.
34551 (mp_no): Make type of mantissa as MANTISSA_T.
34552 [!RADIXI]: Define RADIXI.
34553 [!TWO52]: Define TWO52.
34554 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34555
fce14d4e
AZ
345562013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34557
34558 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
34559 llroundl symbol when building for PPC32.
34560
9ad027fb
MW
345612013-03-24 Mark H Weaver <mhw@netris.org>
34562
34563 * manual/arith.texi (Normalization Functions): Fix prototypes for
34564 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
34565
e42a38dd
AZ
345662013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34567
34568 [BZ #13889]
34569 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
34570 high value to check if expl overflow.
34571 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
34572 to check for underflow and overflow.
34573 * math/libm-test.inc: Add exp test.
34574
2e0fb521
DL
345752013-03-21 Dmitry V. Levin <ldv@altlinux.org>
34576
34577 [BZ #11120]
34578 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
34579 with NOT_IN_libc.
34580
b5784d95
AZ
345812013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34582
34583 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
34584 symbol.
34585
5aa4a1a1
TS
345862013-03-21 Thomas Schwinge <thomas@codesourcery.com>
34587
bdef0be7
TS
34588 * math/gen-libm-test.pl (parse_args, special_functions): Properly
34589 wrap blocks consisting of several statements.
34590
5aa4a1a1
TS
34591 * sysdeps/generic/math-tests.h: New file.
34592 * sysdeps/i386/fpu/math-tests.h: Likewise.
34593 * math/test-snan.c: Include it.
34594 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
34595
98c48fe5
JM
345962013-03-21 Joseph Myers <joseph@codesourcery.com>
34597
34598 [BZ #15285]
34599 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
34600 (__ieee754_j0l): Do not improve calculations using cos of twice
34601 input for inputs above LDBL_MAX / 2.0L.
34602 (__ieee754_y0l): Likewise.
34603 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
34604 (__ieee754_j1l): Do not improve calculations using cos of twice
34605 input for inputs above LDBL_MAX / 2.0L.
34606 (__ieee754_y1l): Likewise.
34607 * math/libm-test.inc (j0_test): Add another test.
34608 (j1_test): Likewise.
34609 (y0_test): Likewise.
34610 (y1_test): Likewise.
34611 * sysdeps/i386/fpu/libm-test-ulps: Update.
34612
3775a8bc
SP
346132013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34614
34615 * Rules ($(objpfx)bench-%.c): Include code from a C source
34616 file.
34617
0a1b2ae6
JM
346182013-03-21 Joseph Myers <joseph@codesourcery.com>
34619
34620 [BZ #15287]
34621 * math/k_casinh.c (__kernel_casinh): Handle arguments with
34622 imaginary part 1.0 and real part less than 0.5 specially.
34623 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34624 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34625 * math/libm-test.inc (cacos_test): Add more tests.
34626 (casin_test): Likewise.
34627 (casinh_test): Likewise.
34628 * sysdeps/i386/fpu/libm-test-ulps: Update.
34629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34630
b33d4ce4
SP
346312013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34632
34633 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
34634 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
34635
bef0b507
JM
346362013-03-20 Joseph Myers <joseph@codesourcery.com>
34637
34638 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
34639 * config.make.in (config-cflags-sse4): Remove variable.
34640 (config-cflags-avx): Likewise.
34641 (config-cflags-sse2avx): Likewise.
34642 (config-cflags-novzeroupper): Likewise.
34643 (config-asflags-i686): Likewise.
34644 (have-mfma4): Likewise.
34645 (have-as-vis3): Likewise.
34646 (MIG): Likewise.
34647 * configure.in (MIG): Do not AC_SUBST.
34648 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
34649 (libc_cv_cc_sse4): Do not AC_SUBST.
34650 (libc_cv_cc_avx): Likewise.
34651 (libc_cv_cc_sse2avx): Likewise.
34652 (libc_cv_cc_novzeroupper): Likewise.
34653 (libc_cv_cc_fma4): Likewise.
34654 (libc_cv_as_i686): Likewise.
34655 (libc_cv_sparc_as_vis3): Likewise.
34656 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
34657 LIBC_CONFIG_VAR.
34658 (config-asflags-i686): Likewise.
34659 (config-cflags-avx): Likewise.
34660 (config-cflags-sse2avx): Likewise.
34661 (have-mfma4): Likewise.
34662 (config-cflags-novzeroupper): Likewise.
34663 * sysdeps/mach/configure.in (MIG): Likewise.
34664 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
34665 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
34666 LIBC_CONFIG_VAR.
34667 (config-cflags-avx): Likewise.
34668 (config-cflags-sse2avx): Likewise.
34669 (have-mfma4): Likewise.
34670 (config-cflags-novzeroupper): Likewise.
34671 * configure: Regenerated.
34672 * sysdeps/i386/configure: Likewise.
34673 * sysdeps/mach/configure: Likewise.
34674 * sysdeps/sparc/configure: Likewise.
34675 * sysdeps/x86_64/configure: Likewise.
34676
912cc4b3
RM
346772013-03-20 Roland McGrath <roland@hack.frob.com>
34678
34679 [BZ #14812]
34680 * locale/programs/localedef.c (options): Put N_ translation marker
34681 on argument names, not just descriptions.
34682
04eed2b0
MS
346832013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34684
34685 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
34686
a065ceff
OB
346872013-03-20 Ondřej Bílka <neleai@seznam.cz>
34688
9bb2a810 34689 [BZ #14176]
a065ceff
OB
34690 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
34691
a600e5ce
RM
346922013-03-19 Roland McGrath <roland@hack.frob.com>
34693
34694 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
34695 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
34696 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
34697 [!BEFORE_ABORT] (before_abort): New function.
34698 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
34699 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
34700 (writev_for_fatal): New function.
34701 (WRITEV_FOR_FATAL): New macro; call that.
34702 (backtrace_and_maps): New function.
34703 (BEFORE_ABORT): New macro; call that.
34704 (struct str_list): Type removed.
34705 (__libc_message, __libc_fatal): Functions removed.
34706 Include <sysdeps/posix/libc_fatal.c> instead.
34707
6b18bea6
JM
347082013-03-19 Joseph Myers <joseph@codesourcery.com>
34709
34710 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
34711 constants.
34712 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
34713 double constants.
34714
aaa8cb4b
AS
347152013-03-19 Andreas Schwab <schwab@suse.de>
34716
44673770
AS
34717 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
34718 * sysdeps/gnu/configure: Regenerate.
34719
aaa8cb4b
AS
34720 * configure.in: Substitute libc_cv_rtlddir.
34721 * configure: Regenerate.
34722 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
34723 * Makeconfig (rtlddir, inst_rtlddir): New variables.
34724 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
34725 * elf/Makefile (install-others, CFLAGS-interp.c)
34726 (ldso_install, common-ldd-rewrite): Likewise.
34727 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
34728 $(inst_slibdir)/$(rtld-installed-name).
34729 * scripts/rellns-sh: Add -p option.
34730 * Makerules (make-shlib-link): Use rellns-sh to get relative name
34731 for source.
34732
d3cfc668
SP
347332013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34734
34735 * manual/nptl.texi: Renamed to ...
34736 * manual/threads.texi: ... this.
34737 * manual/Makefile (chapters): Update.
34738
0e2b9cdd
RM
347392013-03-18 Roland McGrath <roland@hack.frob.com>
34740
34741 [BZ #14812]
34742 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
34743 on argument names, not just descriptions.
0e2b9cdd
RM
34744 * malloc/memusagestat.c (options): Likewise.
34745 * nss/getent.c (options): Likewise.
63270c24
RM
34746
347472013-03-18 Benno Schulenberg <bensberg@justemail.net>
34748
34749 [BZ #14812]
34750 * iconv/iconv_prog.c (options): Put N_ translation marker
34751 on argument names, not just descriptions.
34752 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 34753
b2e1393c
OB
347542013-03-18 Ondrej Bilka <neleai@seznam.cz>
34755
34756 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
34757 implementation which is faster on all x86_64 architectures.
34758 Tested on AMD, Intel Nehalem, SNB, IVB.
34759 * sysdeps/x86_64/strnlen.S: Likewise.
34760
34761 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34762 Remove all multiarch strlen and strnlen versions.
34763 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
34764 Remove strlen and strnlen related parts.
34765
34766 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
34767 Inline strlen part.
34768 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
34769
34770 * sysdeps/x86_64/multiarch/strlen.S: Remove.
34771 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
34772 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
34773 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
34774 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34775 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
34776
ec4ff04d
CD
347772013-03-17 Carlos O'Donell <carlos@redhat.com>
34778
34779 * manual/memory.texi (Malloc Tunable Parameters):
34780 Sort parameters alphabetically. Add comments for missing entries.
34781
cd18e90a
DM
347822013-03-17 David S. Miller <davem@davemloft.net>
34783
34784 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34785
2a185d32
JM
347862013-03-16 Joseph Myers <joseph@codesourcery.com>
34787
d2f9799e
JM
34788 [BZ #15283]
34789 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
34790 for arguments at most half maximum finite value.
34791 * math/libm-test.inc (j0_test): Add more tests.
34792 (j1_test): Likewise.
34793 (y0_test): Likewise.
34794 (y1_test): Likewise.
34795 * sysdeps/i386/fpu/libm-test-ulps: Update.
34796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34797
2a185d32
JM
34798 [BZ #14155]
34799 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
34800 1 / x and functions P and Q for arguments above 0x1p256L.
34801 (__ieee754_y0l): Likewise.
34802 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
34803 (__ieee754_y1l): Likewise.
34804 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
34805 (j1_test): Likewise.
34806 (y0_test): Likewise.
34807 (y1_test): Likewise.
34808
6cbec759
TS
348092013-03-16 Thomas Schwinge <thomas@codesourcery.com>
34810
34811 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
34812 variable.
34813
bc16e260
RM
348142013-03-15 Roland McGrath <roland@hack.frob.com>
34815
aefc9b8c
RM
34816 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
34817 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
34818 zero since it's initialized to EXEC_PAGESIZE.
34819
bc16e260
RM
34820 * sysdeps/unix/sysv/linux/ldsodefs.h
34821 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
34822 * sysdeps/generic/ldsodefs.h: ... here.
34823
a57da955
TS
348242013-03-15 Thomas Schwinge <thomas@codesourcery.com>
34825
af00a34d
TS
34826 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
34827
495ded2c
TS
34828 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
34829 math/test-snan.c.
34830 * math/test-snan.c: Renamed from
34831 sysdeps/powerpc/fpu/test-powerpc-snan.c.
34832 * math/Makefile (tests): Add test-snan.
34833 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
34834 test-powerpc-snan.
34835
777b0332
TS
34836 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
34837 SUFFIX. Initialize qNaN_var with __builtin_nan family of
34838 functions.
34839 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
34840 __builtin_nan family of functions.
34841 * math/libm-test.inc (initialize): Initialize qnan_value with
34842 __builtin_nan family of functions.
34843 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
34844 Remove variables.
34845 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
34846 Remove functions.
34847 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
34848 storage class. Initialize qNaN_var and sNaN_var with
34849 __builtin_nan and __builtin_nans families of functions,
34850 respectively.
34851
64d063b8
TS
34852 * math/libm-test.inc (acosh_test): Also test with qNaN input.
34853 (sqrt_test): Remove duplicate test with qNaN input.
34854 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
34855 (round_test, signbit_test, significand_test): Note missing +/-Inf
34856 as well as qNaN tests.
34857
67e971f1
TS
34858 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
34859 qNaN_var. Fix a few strings, too.
34860 * math/libm-test.inc (nan_value): Rename to qnan_value.
34861 * math/gen-libm-test.pl (%beautify): Adjust to that.
34862 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
34863 * math/test-misc.c (main): Likewise.
34864 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
34865 to __qnan_bytes, and __qnan_union, respectively.
34866 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
34867 Likewise.
34868 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
34869 and lqnanval, respectively.
34870 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
34871 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
34872 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
34873 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
34874
64487e12
TS
34875 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
34876 * math/test-misc.c (main) [__x86_64__]: Enable test for long
34877 doubles.
34878
e015e27b
TS
34879 * math/test-misc.c (main): Fix copy'n'pastos.
34880 * misc/tst-efgcvt.c (special): Likewise.
34881
a57da955
TS
34882 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
34883 Remove declarations.
34884
1e380345
SP
348852013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34886
34887 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
34888 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
34889 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
34890 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
34891
ef26eece
AZ
348922013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34893
34894 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
34895 macro to return vdso values correctly in IFUNC implementations.
34896 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
34897 Optimization by using IFUNC.
34898
8cfdb7e0
SP
348992013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34900 Richard Henderson <rth@redhat.com>
34901 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34902
34903 * Makefile.in (bench): New target.
34904 * NEWS: Mention the benchmark framework.
34905 * Rules (bench): Likewise.
34906 (binaries-bench): Generate binaries for functions to
34907 benchmark.
34908 * benchtests/Makefile: New makefile for benchmark tests.
34909 * benchtests/bench-skeleton.c: New skeleton file for benchmark
34910 programs.
34911 * benchtests/exp-inputs: New input file for EXP function.
34912 * benchtests/pow-inputs: New input file for POW function.
34913 * scripts/bench.pl: New script to generate source files for
34914 benchmark programs.
34915
bcda9880
SP
349162013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34917
d22ca8cd
SP
34918 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34919 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
34920 computations on mantissa. Use macros for rounding and
34921 division.
34922 (denorm): Likewise.
34923 (__dbl_mp): Likewise.
34924 (add_magnitudes): Likewise.
34925 (sub_magnitudes): Likewise.
34926 (__mul): Likewise.
34927 (__sqr): Likewise.
34928 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
34929 powers of two in terms of TWOPOW macro.
34930 (mp_no): Make type of mantissa as MANTISSA_T.
34931 [!RADIXI]: Define RADIXI.
34932 [!TWO52]: Define TWO52.
34933 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34934
bcda9880
SP
34935 * manual/nptl.texi (cindex): Modify threads to pthreads.
34936
06d5adfb
JM
349372013-03-15 Joseph Myers <joseph@codesourcery.com>
34938
34939 * sysdeps/x86_64/preconfigure: Regenerated.
34940
41c7328e
JM
349412013-03-14 Joseph Myers <joseph@codesourcery.com>
34942
34943 [BZ #14155]
34944 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
34945 0x1p28 and above.
34946 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
34947 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
34948 0x1p28 and above.
34949 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
34950 * math/libm-test.inc (j0_test): Do not allow one spurious
34951 underflow exception.
34952 (y1_test): Likewise.
34953
e25cfa60
SP
349542013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34955
0409959c
SP
34956 * manual/Makefile (chapters): Add nptl.
34957 * manual/debug.texi (Debugging Support): Add link to Threads
34958 chapter.
34959 * manual/nptl.texi: New file.
34960
e25cfa60
SP
34961 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
34962
58a1335e
PB
349632013-03-14 Petr Baudis <pasky@ucw.cz>
34964
34965 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
34966 for non-NULL pointer before the memory validity test. Pointed
34967 out by Holger Brunck <holger.brunck@keymile.com>.
34968
9dc7c64f
AS
349692013-03-13 Andreas Schwab <schwab@suse.de>
34970
34971 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
34972 instead of .os.
34973
54206aa6
JM
349742013-03-13 Joseph Myers <joseph@codesourcery.com>
34975
34976 * timezone/zic.c: Update from tzcode 2013b.
34977
e98cdb38
CD
349782013-03-12 Carlos O'Donell <carlos@redhat.com>
34979
34980 * manual/install.texi (Configuring and compiling):
34981 Mention i686 and i586.
34982 * INSTALL: Regenerate.
34983
9967e003
RM
349842013-03-12 Roland McGrath <roland@hack.frob.com>
34985
34986 * sysdeps/init_array/elf-init.c: New file.
34987 * csu/elf-init.c
34988 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
34989 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
34990
34991 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
34992 __gmon_start__ as global, but as static with a .preinit_array pointer.
34993 * sysdeps/init_array/gmon-start.c: New file. Use that.
34994 * sysdeps/init_array/crti.S: New file, empty except for comments.
34995 * sysdeps/init_array/crtn.S: Likewise.
34996
e6b5a293 349972013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
34998
34999 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
35000 definining bcopy.
80f844c9
OB
35001 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35002 Remove Prefer_SSE_for_memop.
35003 * sysdeps/x86_64/multiarch/init-arch.h: Remove
35004 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
35005 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
35006 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
35007 memset-x86-64.
80f844c9 35008 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 35009 Remove bzero, memset ifunc support.
80f844c9
OB
35010 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
35011 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
35012 * sysdeps/x86_64/multiarch/memset.S: Likewise.
35013 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35014
fb6b0fcb
AS
350152013-03-11 Andreas Schwab <schwab@suse.de>
35016
35017 [BZ #15234]
35018 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
35019 by SHLIB_COMPAT.
35020 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
35021 (GLIBC_2.16): Remove pthread_atfork.
35022
3e6bd4b1
PP
350232013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
35024
35025 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
35026 (ptestcases.h): Likewise.
35027
222d7f00
RM
350282013-03-08 Roland McGrath <roland@hack.frob.com>
35029
35030 * Makeconfig ($(common-objpfx)config.status): Depend on
35031 sysdeps/*/preconfigure{,.in} too.
35032
1ba4f030
JM
350332013-03-08 Joseph Myers <joseph@codesourcery.com>
35034
a222d91a
JM
35035 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
35036 (__free_hook): Use void * instead of __malloc_ptr_t.
35037 (__malloc_hook): Likewise.
35038 (__realloc_hook): Likewise.
35039 (__memalign_hook): Likewise.
35040 (__after_morecore_hook): Likewise.
35041 * malloc/arena.c (save_malloc_hook): Likewise.
35042 (save_free_hook): Likewise.
35043 * malloc/hooks.c (malloc_hook_ini): Likewise.
35044 (realloc_hook_ini): Likewise.
35045 (memalign_hook_ini): Likewise.
35046 * malloc/malloc.c (malloc_hook_ini): Likewise.
35047 (realloc_hook_ini): Likewise.
35048 (memalign_hook_ini): Likewise.
35049 (__free_hook): Likewise.
35050 (__malloc_hook): Likewise.
35051 (__realloc_hook): Likewise.
35052 (__memalign_hook): Likewise.
35053 (__libc_malloc): Likewise.
35054 (__libc_free): Likewise.
35055 (__libc_realloc): Likewise.
35056 (__libc_memalign): Likewise.
35057 (__libc_valloc): Likewise.
35058 (__libc_pvalloc): Likewise.
35059 (__libc_calloc): Likewise.
35060 (__posix_memalign): Likewise.
35061 * malloc/morecore.c (__sbrk): Likewise.
35062 (__default_morecore): Likewise.
35063
5cc45e10
JM
35064 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
35065
dd54b864
JM
35066 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
35067 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
35068 __malloc_ptrdiff_t.
35069
1ba4f030
JM
35070 * malloc/malloc.h (__malloc_size_t): Remove macro.
35071 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
35072 __malloc_size_t.
35073 (old_memalign_hook): Likewise.
35074 (old_realloc_hook): Likewise.
35075 (struct hdr): Likewise.
35076 (flood): Likewise.
35077 (mallochook): Likewise.
35078 (memalignhook): Likewise.
35079 (reallochook): Likewise.
35080 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
35081 (tr_old_realloc_hook): Likewise.
35082 (tr_old_memalign_hook): Likewise.
35083 (tr_mallochook): Likewise.
35084 (tr_reallochook): Likewise.
35085 (tr_memalignhook): Likewise.
35086
edf66e57
AZ
350872013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35088
35089 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
35090 default_ldbl_pack and using as default implementation.
35091 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
35092 implementation.
35093 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
35094 redundant definition.
35095 (ldbl_insert_mantissa): Likewise.
35096 (ldbl_canonicalize): Likewise.
35097 (ldbl_nearbyint): Likewise.
35098 (ldbl_pack): Rename to ldbl_pack_ppc.
35099 (ldbl_unpack): Rename to ldbl_unpack_ppc.
35100 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
35101 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
35102
6d9145d8
SP
351032013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
35104
35105 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
35106 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
35107 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
35108 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
35109 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
35110 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
35111 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
35112 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
35113
4dd4e157
AJ
351142013-03-07 Andreas Jaeger <aj@suse.de>
35115
35116 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35117 bits/mman-linux.h.
35118
adbb8027
SP
351192013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
35120
ce544b5b
SP
35121 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
35122 Include mpa.h and declare __MPEXP.
35123 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
35124 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35125 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35126 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
35127 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35128 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35129 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
35130
4cc149fd
SP
35131 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
35132 (__slowpow): Use long double EXPL and LOGL functions to
35133 compute POW.
35134 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35135 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35136 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
35137 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35138 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35139 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
35140
e6ebd4a7
SP
35141 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
35142 intermediate variable to calculate exponent.
35143 (__sqr): Likewise.
35144 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35145 Likewise.
35146 (__sqr): Likewise.
35147
82a9811d
SP
35148 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
35149 [!NO__SQR]: Define __sqr.
35150 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
35151 and NO__SQR. Remove all code except __mul and __sqr. Include
35152 sysdeps/ieee754/dbl-64/mpa.c.
35153 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35154
adbb8027
SP
35155 [BZ #12723]
35156 * posix/Makefile (tests): Add tst-pathconf.
35157 * posix/tst-pathconf.c: New test case.
35158 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
35159 _PC_PIPE_BUF.
35160 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
35161
39120df9
PF
351622013-03-06 Patsy Franklin <pfrankli@redhat.com>
35163
35164 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
35165
67525cb8
AJ
351662013-03-06 Andreas Jaeger <aj@suse.de>
35167
664a9ce4
AJ
35168 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
35169 definition via __MAP_ANONYMOUS.
35170
8e39047d
AJ
35171 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
35172 it's not part of Linux headers.
35173
67525cb8
AJ
35174 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
35175 (MAP_HUGE_MASK): Define.
35176
35177 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35178 Define.
35179 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35180 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35181 Define.
35182 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35183 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35184 Define.
35185 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35186 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
35187 Define.
35188 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35189
35190 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
35191 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
35192 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
35193 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
35194 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
35195 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
35196
35197 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35198 Handle f2fs.
35199
35200 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35201 Handle f2fs and efivarfs.
35202
35203 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
35204 f2fs.
35205
35206 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
35207 (EFIVARFS_MAGIC): Add.
35208 (F2FS_LINK_MAX): Add.
35209
e1b42695
PP
352102013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35211
35212 * stdio-common/vfprintf.c: Replace __builtin_expect with
35213 __glibc_unlikely.
35214
2d67d91a
JM
352152013-03-06 Joseph Myers <joseph@codesourcery.com>
35216
35217 [BZ #13550]
35218 * sysdeps/generic/bp-sym.h: Remove file.
35219 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
35220 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
35221 <bp-sym.h> and <bp-asm.h>.
35222 (__longjmp): Don't use BP_SYM.
35223 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
35224 and <bp-asm.h>.
35225 (memcpy): Don't use BP_SYM.
35226 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
35227 <bp-sym.h> and <bp-asm.h>.
35228 (memcpy): Don't use BP_SYM.
35229 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
35230 <bp-asm.h>.
35231 (memcpy): Don't use BP_SYM.
35232 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
35233 <bp-asm.h>.
35234 (memset): Don't use BP_SYM.
35235 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35236 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35237 (__bzero): Don't use BP_SYM.
35238 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35239 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35240 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
35241 <bp-sym.h> and <bp-asm.h>.
35242 (memcmp): Don't use BP_SYM. Remove comment about bounded
35243 pointers.
35244 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
35245 <bp-sym.h> and <bp-asm.h>.
35246 (memcpy): Don't use BP_SYM.
35247 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
35248 <bp-sym.h> and <bp-asm.h>.
35249 (memset): Don't use BP_SYM.
35250 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35251 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35252 (__bzero): Don't use BP_SYM.
35253 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35254 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35255 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
35256 <bp-sym.h> and <bp-asm.h>.
35257 (strncmp): Don't use BP_SYM. Remove comment about bounded
35258 pointers.
35259 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
35260 <bp-sym.h> and <bp-asm.h>.
35261 (memcpy): Don't use BP_SYM.
35262 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
35263 <bp-sym.h> and <bp-asm.h>.
35264 (memset): Don't use BP_SYM.
35265 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35266 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35267 (__bzero): Don't use BP_SYM.
35268 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35269 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35270 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
35271 <bp-sym.h> and <bp-asm.h>.
35272 (__memchr): Don't use BP_SYM.
35273 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
35274 <bp-sym.h> and <bp-asm.h>.
35275 (memcmp): Don't use BP_SYM. Remove comment about bounded
35276 pointers.
35277 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
35278 <bp-sym.h> and <bp-asm.h>.
35279 (memcpy): Don't use BP_SYM.
35280 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
35281 <bp-sym.h> and <bp-asm.h>.
35282 (__mempcpy): Don't use BP_SYM.
35283 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
35284 <bp-sym.h> and <bp-asm.h>.
35285 (__memrchr): Don't use BP_SYM.
35286 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
35287 <bp-sym.h> and <bp-asm.h>.
35288 (memset): Don't use BP_SYM.
35289 (__bzero): Likewise.
35290 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
35291 <bp-sym.h> and <bp-asm.h>.
35292 (__rawmemchr): Don't use BP_SYM.
35293 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
35294 <bp-sym.h> and <bp-asm.h>.
35295 (__STRCMP): Don't use BP_SYM.
35296 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
35297 <bp-sym.h> and <bp-asm.h>.
35298 (strchr): Don't use BP_SYM.
35299 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
35300 <bp-sym.h> and <bp-asm.h>.
35301 (__strchrnul): Don't use BP_SYM.
35302 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
35303 <bp-sym.h> and <bp-asm.h>.
35304 (strlen): Don't use BP_SYM.
35305 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
35306 <bp-sym.h> and <bp-asm.h>.
35307 (strncmp): Don't use BP_SYM. Remove comment about bounded
35308 pointers.
35309 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
35310 <bp-sym.h> and <bp-asm.h>.
35311 (__strnlen): Don't use BP_SYM.
35312 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
35313 <bp-sym.h> and <bp-asm.h>.
35314 (__GI__setjmp): Don't use BP_SYM.
35315 (_setjmp): Likewise.
35316 (__sigsetjmp): Likewise.
35317 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
35318 (L(start_addresses)): Don't use BP_SYM.
35319 (_start): Likewise.
35320 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
35321 <bp-asm.h>.
35322 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
35323 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
35324 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35325 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35326 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
35327 <bp-asm.h>.
35328 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
35329 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
35330 about bounded pointers.
35331 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35332 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35333 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
35334 <bp-asm.h>.
35335 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
35336 about bounded pointers. Remove GKM FIXME comments.
35337 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35338 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
35339 <bp-asm.h>.
35340 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
35341 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
35342 Remove GKM FIXME comments.
35343 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35344 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35345 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
35346 <bp-asm.h>.
35347 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
35348 about bounded pointers. Remove GKM FIXME comment.
35349 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
35350 and <bp-asm.h>.
35351 (strncmp): Don't use BP_SYM. Remove comment about bounded
35352 pointers.
35353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
35354 <bp-sym.h> and <bp-asm.h>.
35355 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
35357 <bp-sym.h> and <bp-asm.h>.
35358 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
35359 comment.
35360
cdcf361f
PP
353612013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35362
35363 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
35364 call free(NULL).
35365
3c4a2b15
DM
353662013-03-05 David S. Miller <davem@davemloft.net>
35367
35368 * po/es.po: Update from translation team.
35369
cdcf361f 353702013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
35371
35372 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
35373 <bits/mman-linux.h>.
35374 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35375 is fine.
35376 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
35377 <bits/mman-linux.h> to end of file.
35378 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35379 is fine.
35380 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
35381 <bits/mman-linux.h> to end of file.
35382 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35383 is fine.
35384 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
35385 <bits/mman-linux.h> to end of file.
35386
35387 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
35388 (MCL_CURRENT, MCL_FUTURE): Define here.
35389
5f67c04f
AK
353902013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35391
8a4473cc 35392 [BZ #15232]
5f67c04f
AK
35393 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
35394 attribute_hidden.
35395 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35396
c3e94a95
AK
353972013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35398
35399 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
35400 fourth parameter needed for rt_sigprocmask syscall.
35401 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
35402 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
35403 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
35404 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
35405 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
35406 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
35407
cfb6382a
JM
354082013-03-04 Joseph Myers <joseph@codesourcery.com>
35409
35410 [BZ #13550]
35411 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
35412 comment about bounded pointers.
35413 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
35414 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
35415
539d8e01
AJ
354162013-03-04 Andreas Jaeger <aj@suse.de>
35417
35418 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
35419 common definitions.
35420
35421 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
35422 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
35423 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
35424 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35425 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
35426 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35427
2e167a70 354282013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
35429
35430 [BZ #15055]
35431 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
35432 __ieee754_sqrl instead of __sqrl.
35433
68508633
JM
354342013-03-01 Joseph Myers <joseph@codesourcery.com>
35435
35436 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
35437 * sysdeps/powerpc/fpu_control.h: ... here.
35438 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
35439 * sysdeps/powerpc/bits/fenvinline.h: ... here.
35440 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
35441 * sysdeps/powerpc/bits/mathinline.h: ... here.
35442
7775448e
RM
354432013-03-01 Roland McGrath <roland@hack.frob.com>
35444
35445 * elf/dl-hwcaps.c (_dl_important_hwcaps):
35446 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
35447 to just [NEED_DL_SYSINFO_DSO].
35448 * elf/dl-support.c: Likewise.
35449 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
35450 * elf/rtld.c (dl_main): Likewise.
35451 * elf/setup-vdso.h (setup_vdso): Likewise.
35452 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
35453 * sysdeps/unix/sysv/linux/dl-sysdep.c
35454 (_dl_discover_osversion): Likewise.
35455
4e9b5995
CD
354562013-03-01 Carlos O'Donell <carlos@redhat.com>
35457
35458 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
35459 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35460
e23872c8
SP
354612013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
35462
e5c74c63
SP
35463 * NEWS: Mention libm performance improvements and non-x86 PI
35464 futex support.
35465
e23872c8
SP
35466 * csu/libc-start.c (__pthread_initialize_minimal): Change
35467 function arguments.
35468 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35469
b5510883
JM
354702013-02-28 Joseph Myers <joseph@codesourcery.com>
35471
35472 [BZ #13550]
35473 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
35474 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
35475 <bp-sym.h> and <bp-asm.h>.
35476 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35477 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
35478 and <bp-asm.h>.
35479 (memcpy): Don't use BP_SYM.
35480 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
35481 <bp-asm.h>.
35482 (__mpn_add_n): Don't use BP_SYM.
35483 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
35484 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
35485 and <bp-asm.h>.
35486 (__mpn_addmul_1): Don't use BP_SYM.
35487 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35488 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
35489 <bp-sym.h>.
35490 (_setjmp): Don't use BP_SYM.
35491 (__novmx_setjmp): Likewise.
35492 (__GI__setjmp): Likewise.
35493 (__vmx_setjmp): Likewise.
35494 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
35495 <bp-sym.h>.
35496 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
35497 (__bzero): Don't use BP_SYM.
35498 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35499 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35500 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
35501 <bp-sym.h> and <bp-asm.h>.
35502 (memcpy): Don't use BP_SYM.
35503 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
35504 <bp-sym.h> and <bp-asm.h>.
35505 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35506 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
35507 <bp-sym.h> and <bp-asm.h>.
35508 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35509 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
35510 <bp-asm.h>.
35511 (__mpn_lshift): Don't use BP_SYM.
35512 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35513 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
35514 <bp-asm.h>.
35515 (memset): Don't use BP_SYM.
35516 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35517 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35518 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
35519 <bp-asm.h>.
35520 (__mpn_mul_1): Don't use BP_SYM.
35521 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35522 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
35523 <bp-sym.h> and <bp-asm.h>.
35524 (memcmp): Don't use BP_SYM.
35525 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
35526 <bp-sym.h> and <bp-asm.h>.
35527 (memcpy): Don't use BP_SYM.
35528 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
35529 <bp-sym.h> and <bp-asm.h>.
35530 (memset): Don't use BP_SYM.
35531 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
35532 <bp-sym.h> and <bp-asm.h>.
35533 (strncmp): Don't use BP_SYM.
35534 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
35535 <bp-sym.h> and <bp-asm.h>.
35536 (memcpy): Don't use BP_SYM.
35537 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
35538 <bp-sym.h> and <bp-asm.h>.
35539 (memset): Don't use BP_SYM.
35540 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
35541 <bp-sym.h> and <bp-asm.h>.
35542 (__memchr): Don't use BP_SYM.
35543 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
35544 <bp-sym.h> and <bp-asm.h>.
35545 (memcmp): Don't use BP_SYM.
35546 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
35547 <bp-sym.h> and <bp-asm.h>.
35548 (memcpy): Don't use BP_SYM.
35549 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
35550 <bp-sym.h> and <bp-asm.h>.
35551 (__mempcpy): Don't use BP_SYM.
35552 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
35553 <bp-sym.h> and <bp-asm.h>.
35554 (__memrchr): Don't use BP_SYM.
35555 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
35556 <bp-sym.h> and <bp-asm.h>.
35557 (memset): Don't use BP_SYM.
35558 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
35559 <bp-sym.h> and <bp-asm.h>.
35560 (__rawmemchr): Don't use BP_SYM.
35561 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
35562 <bp-sym.h> and <bp-asm.h>.
35563 (__STRCMP): Don't use BP_SYM.
35564 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
35565 <bp-sym.h> and <bp-asm.h>.
35566 (strchr): Don't use BP_SYM.
35567 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
35568 <bp-sym.h> and <bp-asm.h>.
35569 (__strchrnul): Don't use BP_SYM.
35570 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
35571 <bp-sym.h> and <bp-asm.h>.
35572 (strlen): Don't use BP_SYM.
35573 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
35574 <bp-sym.h> and <bp-asm.h>.
35575 (strncmp): Don't use BP_SYM.
35576 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
35577 <bp-sym.h> and <bp-asm.h>.
35578 (__strnlen): Don't use BP_SYM.
35579 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
35580 <bp-asm.h>.
35581 (__mpn_rshift): Don't use BP_SYM.
35582 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35583 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
35584 <bp-sym.h> and <bp-asm.h>.
35585 (__sigsetjmp): Don't use BP_SYM.
35586 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
35587 (L(start_addresses)): Don't use BP_SYM.
35588 (_start): Likewise.
35589 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
35590 <bp-asm.h>.
35591 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
35592 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35593 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35594 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
35595 <bp-asm.h>.
35596 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
35597 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35598 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35599 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
35600 <bp-asm.h>.
35601 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
35602 comments.
35603 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35604 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
35605 <bp-asm.h>.
35606 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
35607 FIXME comments.
35608 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35609 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35610 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
35611 <bp-asm.h>.
35612 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
35613 comment.
35614 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
35615 and <bp-asm.h>.
35616 (strncmp): Don't use BP_SYM,
35617 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
35618 <bp-asm.h>.
35619 (__mpn_sub_n): Don't use BP_SYM.
35620 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35621 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
35622 and <bp-asm.h>.
35623 (__mpn_submul_1): Don't use BP_SYM.
35624 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
35626 <bp-sym.h> and <bp-asm.h>.
35627 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
35629 <bp-sym.h> and <bp-asm.h>.
35630 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
35631 comment.
35632
8d19fe64
SP
356332013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35634
35635 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
35636 Use ZK to minimize writes to Z.
35637 (sub_magnitudes): Simplify code a bit.
35638 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
35639 Use ZK to minimize writes to Z.
35640 (sub_magnitudes): Simplify code a bit.
35641
85bd816a
RM
356422013-02-27 Roland McGrath <roland@hack.frob.com>
35643
35644 * csu/gmon-start.c: Add special exception to license text.
35645
b5977bf2
RH
356462013-02-27 Richard Henderson <rth@redhat.com>
35647
35648 * scripts/config.guess: Update from config.git.
35649 * scripts/config.sub: Likewise.
35650
11d6e2f2
SP
356512013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35652
09c14ed2
SP
35653 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
35654
a688864e
SP
35655 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
35656
6295157a
SP
35657 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
35658
b8de2202
SP
35659 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
35660
11d6e2f2
SP
35661 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
35662
7e80ddb8
RM
356632013-02-26 Roland McGrath <roland@hack.frob.com>
35664
35665 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
35666 [$(build-shared = yes].
7e80ddb8 35667
7da6d9ed
SP
356682013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35669
45f05884
SP
35670 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
35671 (__mul): Reduce iterations for calculating mantissa.
35672
2236d359
SP
35673 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
35674 MPTWO.
35675 (__mpranred): Likewise.
35676
7da6d9ed
SP
35677 [BZ #15160]
35678 * malloc/memusagestat.c (main): Draw graphs for heap and stack
35679 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
35680
b7688c42
PE
356812013-02-26 Paul Eggert <eggert@cs.ucla.edu>
35682
35683 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
35684 Define __attribute__.
35685
53a5c423
SP
356862013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35687
35688 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
35689 unused.
35690 * posix/regex_internal.h (__attribute): Remove.
35691 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
35692 (re_string_context_at): Likewise.
35693 (bitset_not): Use __attribute__ and mark function as possibly
35694 unused.
35695 (bitset_merge): Likewise.
35696 (bitset_mask): Likewise.
35697 (re_string_char_size_at): Likewise.
35698 (re_string_wchar_at): Likewise.
35699 (re_string_elem_size_at): Likewise.
35700
60f5a8b5
SP
357012013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35702
2a983a2e
SP
35703 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
35704 code.
35705 (cc32): Likewise.
35706
e69804d1
SP
35707 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
35708 (__acr): Likewise.
35709 (__cpy): Likewise.
35710 (norm): Likewise.
35711 (denorm): Likewise.
35712 (__dbl_mp): Likewise.
35713 (add_magnitudes): Likewise.
35714 (sub_magnitudes): Likewise.
35715 (__mul): Likewise.
35716 (__inv): Likewise.
35717
2f22a1e8
SP
35718 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
35719 style.
35720
8930ddc7
SP
35721 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
35722 style.
35723
dc60cb11
SP
35724 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
35725 code.
35726
60f5a8b5
SP
35727 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
35728 up changes with default code.
35729 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
35730 Likewise.
35731
b4d1fd33
AM
357322013-02-24 Allan McRae <allan@archlinux.org>
35733
faf6f8bc
AM
35734 * manual/socket.texi (The Internet Namespace): Order menu items
35735 to match that in the file.
35736
b4d1fd33
AM
35737 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
35738 node listing of the info page menu.
35739
2366713d
JM
357402013-02-21 Joseph Myers <joseph@codesourcery.com>
35741
35742 [BZ #13550]
35743 * sysdeps/i386/bp-asm.h: Remove file.
35744 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35745 (PARMS): Do not use macros from bp-asm.h.
35746 (S1): Likewise.
35747 (S2): Likewise.
35748 (SIZE): Likewise.
35749 (__mpn_add_n): Do not use BP_SYM
35750 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
35751 "bp-asm.h".
35752 (PARMS): Do not use macros from bp-asm.h.
35753 (S1): Likewise.
35754 (SIZE): Likewise.
35755 (__mpn_addmul_1): Do not use BP_SYM
35756 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
35757 "bp-asm.h".
35758 (PARMS): Do not use macros from bp-asm.h.
35759 (SIGMSK): Likewise.
35760 (_setjmp): Likewise. Do not use BP_SYM.
35761 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
35762 "bp-asm.h".
35763 (PARMS): Do not use macros from bp-asm.h.
35764 (SIGMSK): Likewise.
35765 (setjmp): Likewise. Do not use BP_SYM.
35766 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
35767 "bp-asm.h".
35768 (PARMS): Do not use macros from bp-asm.h.
35769 (__frexp): Do not use BP_SYM.
35770 (frexp): Likewise.
35771 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
35772 "bp-asm.h".
35773 (PARMS): Do not use macros from bp-asm.h.
35774 (__frexpf): Do not use BP_SYM.
35775 (frexpf): Likewise.
35776 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
35777 "bp-asm.h".
35778 (PARMS): Do not use macros from bp-asm.h.
35779 (__frexpl): Do not use BP_SYM.
35780 (frexpl): Likewise.
35781 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
35782 "bp-asm.h".
35783 (PARMS): Do not use macros from bp-asm.h.
35784 (__remquo): Do not use BP_SYM.
35785 (remquo): Likewise.
35786 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
35787 "bp-asm.h".
35788 (PARMS): Do not use macros from bp-asm.h.
35789 (__remquof): Do not use BP_SYM.
35790 (remquof): Likewise.
35791 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
35792 "bp-asm.h".
35793 (PARMS): Do not use macros from bp-asm.h.
35794 (__remquol): Do not use BP_SYM.
35795 (remquol): Likewise.
35796 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
35797 "bp-asm.h".
35798 (PARMS): Do not use macros from bp-asm.h.
35799 (DEST): Likewise.
35800 (SRC): Likewise.
35801 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
35802 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
35803 "bp-asm.h".
35804 (PARMS): Do not use macros from bp-asm.h.
35805 (strlen): Do not use BP_SYM.
35806 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
35807 "bp-asm.h".
35808 (PARMS): Do not use macros from bp-asm.h.
35809 (S1): Likewise.
35810 (S2): Likewise.
35811 (SIZE): Likewise.
35812 (__mpn_add_n): Do not use BP_SYM.
35813 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
35814 "bp-asm.h".
35815 (PARMS): Do not use macros from bp-asm.h.
35816 (S1): Likewise.
35817 (SIZE): Likewise.
35818 (__mpn_addmul_1): Do not use BP_SYM.
35819 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
35820 weak_alias.
35821 (bzero): Likewise.
35822 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
35823 "bp-asm.h".
35824 (PARMS): Do not use macros from bp-asm.h.
35825 (S): Likewise.
35826 (SIZE): Likewise.
35827 (__mpn_lshift): Do not use BP_SYM.
35828 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
35829 "bp-asm.h".
35830 (PARMS): Do not use macros from bp-asm.h.
35831 (DEST): Likewise.
35832 (SRC): Likewise.
35833 (LEN): Likewise.
35834 (memcpy): Likewise. Do not use BP_SYM.
35835 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
35836 libc_hidden_def and weak_alias.
35837 (mempcpy): Do not use BP_SYM in weak_alias.
35838 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
35839 "bp-asm.h".
35840 (PARMS): Do not use macros from bp-asm.h.
35841 (DEST): Likewise.
35842 (LEN): Likewise.
35843 [!BZERO_P] (CHR): Likewise.
35844 (memset): Likewise. Do not use BP_SYM.
35845 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
35846 "bp-asm.h".
35847 (PARMS): Do not use macros from bp-asm.h.
35848 (S1): Likewise.
35849 (SIZE): Likewise.
35850 (__mpn_mul_1): Do not use BP_SYM.
35851 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
35852 "bp-asm.h".
35853 (PARMS): Do not use macros from bp-asm.h.
35854 (S): Likewise.
35855 (SIZE): Likewise.
35856 (__mpn_rshift): Do not use BP_SYM.
35857 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
35858 "bp-asm.h".
35859 (PARMS): Do not use macros from bp-asm.h.
35860 (STR): Likewise.
35861 (CHR): Likewise.
35862 (strchr): Likewise. Do not use BP_SYM.
35863 (index): Do not use BP_SYM in weak_alias.
35864 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
35865 "bp-asm.h".
35866 (PARMS): Do not use macros from bp-asm.h.
35867 (DEST): Likewise.
35868 (SRC): Likewise.
35869 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
35870 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
35871 "bp-asm.h".
35872 (PARMS): Do not use macros from bp-asm.h.
35873 (strlen): Do not use BP_SYM.
35874 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
35875 "bp-asm.h".
35876 (PARMS): Do not use macros from bp-asm.h.
35877 (S1): Likewise.
35878 (S2): Likewise.
35879 (SIZE): Likewise.
35880 (__mpn_sub_n): Do not use BP_SYM.
35881 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
35882 "bp-asm.h".
35883 (PARMS): Do not use macros from bp-asm.h.
35884 (S1): Likewise.
35885 (SIZE): Likewise.
35886 (__mpn_submul_1): Do not use BP_SYM.
35887 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
35888 "bp-asm.h".
35889 (PARMS): Do not use macros from bp-asm.h.
35890 (S1): Likewise.
35891 (S2): Likewise.
35892 (SIZE): Likewise.
35893 (__mpn_add_n): Do not use BP_SYM.
35894 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
35895 weak_alias.
35896 (bzero): Likewise.
35897 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
35898 "bp-asm.h".
35899 (PARMS): Do not use macros from bp-asm.h.
35900 (BLK2): Likewise.
35901 (LEN): Likewise.
35902 (memcmp): Do not use BP_SYM.
35903 (bcmp): Do not use BP_SYM in weak_alias.
35904 * sysdeps/i386/i686/memcpy.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 (LEN): Likewise.
35910 (memcpy): Likewise. Do not use BP_SYM.
35911 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
35912 "bp-asm.h".
35913 (PARMS): Do not use macros from bp-asm.h.
35914 (DEST): Likewise.
35915 (SRC): Likewise.
35916 (LEN): Likewise.
35917 (memmove): Likewise. Do not use BP_SYM.
35918 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
35919 "bp-asm.h".
35920 (PARMS): Do not use macros from bp-asm.h.
35921 (DEST): Likewise.
35922 (SRC): Likewise.
35923 (LEN): Likewise.
35924 (__mempcpy): Likewise. Do not use BP_SYM.
35925 (mempcpy): Do not use BP_SYM in weak_alias.
35926 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
35927 "bp-asm.h".
35928 (PARMS): Do not use macros from bp-asm.h.
35929 (DEST): Likewise.
35930 (LEN): Likewise.
35931 [!BZERO_P] (CHR): Likewise.
35932 (memset): Likewise. Do not use BP_SYM.
35933 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
35934 "bp-asm.h".
35935 (PARMS): Do not use macros from bp-asm.h.
35936 (STR2): Likewise.
35937 (strcmp): Do not use BP_SYM.
35938 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
35939 "bp-asm.h".
35940 (PARMS): Do not use macros from bp-asm.h.
35941 (STR): Likewise.
35942 (DELIM): Likewise.
35943 [USE_AS_STRTOK_R] (SAVE): Likewise.
35944 (FUNCTION): Likewise. Do not use BP_SYM.
35945 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
35946 aliases.
35947 (strtok_r): Likewise.
35948 (__GI___strtok_r): Likewise.
35949 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35950 (PARMS): Do not use macros from bp-asm.h.
35951 (S): Likewise.
35952 (SIZE): Likewise.
35953 (__mpn_lshift): Do not use BP_SYM.
35954 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35955 (PARMS): Do not use macros from bp-asm.h.
35956 (STR): Likewise.
35957 (CHR): Likewise.
35958 (__memchr): Do not use BP_SYM.
35959 (memchr): Do not use BP_SYM in weak_alias.
35960 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35961 (PARMS): Do not use macros from bp-asm.h.
35962 (BLK2): Likewise.
35963 (LEN): Likewise.
35964 (memcmp): Do not use BP_SYM.
35965 (bcmp): Do not use BP_SYM in weak_alias.
35966 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
35967 (PARMS): Do not use macros from bp-asm.h.
35968 (S1): Likewise.
35969 (SIZE): Likewise.
35970 (__mpn_mul_1): Do not use BP_SYM.
35971 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
35972 "bp-asm.h".
35973 (PARMS): Do not use macros from bp-asm.h.
35974 (STR): Likewise.
35975 (CHR): Likewise.
35976 (__rawmemchr): Do not use BP_SYM.
35977 (rawmemchr): Do not use BP_SYM in weak_alias.
35978 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35979 (PARMS): Do not use macros from bp-asm.h.
35980 (S): Likewise.
35981 (SIZE): Likewise.
35982 (__mpn_rshift): Do not use BP_SYM.
35983 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35984 (PARMS): Do not use macros from bp-asm.h.
35985 (SIGMSK): Likewise.
35986 (__sigsetjmp): Likewise. Do not use BP_SYM.
35987 * sysdeps/i386/start.S: Do not include "bp-sym.h".
35988 (_start): Do not use BP_SYM.
35989 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
35990 (PARMS): Do not use macros from bp-asm.h.
35991 (DEST): Likewise.
35992 (SRC): Likewise.
35993 (__stpcpy): Likewise. Do not use BP_SYM.
35994 (stpcpy): Do not use BP_SYM in weak_alias.
35995 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
35996 "bp-asm.h".
35997 (PARMS): Do not use macros from bp-asm.h.
35998 (DEST): Likewise.
35999 (SRC): Likewise.
36000 (LEN): Likewise.
36001 (__stpncpy): Likewise. Do not use BP_SYM.
36002 (stpncpy): Do not use BP_SYM in weak_alias.
36003 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36004 (PARMS): Do not use macros from bp-asm.h.
36005 (STR): Likewise.
36006 (CHR): Likewise.
36007 (strchr): Likewise. Do not use BP_SYM.
36008 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
36009 "bp-asm.h".
36010 (PARMS): Do not use macros from bp-asm.h.
36011 (STR): Likewise.
36012 (CHR): Likewise.
36013 (__strchrnul): Likewise. Do not use BP_SYM.
36014 (strchrnul): Do not use BP_SYM in weak_alias.
36015 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
36016 "bp-asm.h".
36017 (PARMS): Do not use macros from bp-asm.h.
36018 (STOP): Likewise.
36019 (strcspn): Do not use BP_SYM.
36020 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
36021 "bp-asm.h".
36022 (PARMS): Do not use macros from bp-asm.h.
36023 (STR): Likewise.
36024 (STOP): Likewise.
36025 (strpbrk): Likewise. Do not use BP_SYM.
36026 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
36027 "bp-asm.h".
36028 (PARMS): Do not use macros from bp-asm.h.
36029 (STR): Likewise.
36030 (CHR): Likewise.
36031 (strrchr): Likewise. Do not use BP_SYM.
36032 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
36033 (PARMS): Do not use macros from bp-asm.h.
36034 (SKIP): Likewise.
36035 (strspn): Do not use BP_SYM.
36036 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
36037 (PARMS): Do not use macros from bp-asm.h.
36038 (STR): Likewise.
36039 (DELIM): Likewise.
36040 (SAVE): Likewise.
36041 (FUNCTION): Likewise. Do not use BP_SYM.
36042 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
36043 aliases.
36044 (strtok_r): Likewise.
36045 (__GI___strtok_r): Likewise.
36046 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36047 (PARMS): Do not use macros from bp-asm.h.
36048 (S1): Likewise.
36049 (S2): Likewise.
36050 (SIZE): Likewise.
36051 (__mpn_sub_n): Do not use BP_SYM.
36052 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
36053 "bp-asm.h".
36054 (PARMS): Do not use macros from bp-asm.h.
36055 (S1): Likewise.
36056 (SIZE): Likewise.
36057 (__mpn_submul_1): Do not use BP_SYM.
36058 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
36059 <bp-sym.h>.
36060 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
36061 and <bp-asm.h>.
36062 (PARMS): Do not use macros from bp-asm.h.
36063 (FLAGS): Likewise.
36064 (PTID): Likewise.
36065 (TLS): Likewise.
36066 (CTID): Likewise.
36067 (__clone): Do not use BP_SYM.
36068 (clone): Do not use BP_SYM in weak_alias.
36069 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
36070 and <bp-asm.h>.
36071 (PARMS): Do not use macros from bp-asm.h.
36072 (LEN): Likewise.
36073 (__mmap64): Do not use BP_SYM.
36074 (mmap64): Do not use BP_SYM in weak_alias.
36075 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36076 <bp-sym.h> and <bp-asm.h>.
36077 (PARMS): Do not use macros from bp-asm.h.
36078 (__posix_fadvise64_l64): Do not use BP_SYM.
36079 * sysdeps/unix/sysv/linux/i386/semtimedop.S
36080 (PARMS): Do not use macros from bp-asm.h.
36081 (NSOPS): Likewise.
36082 (semtimedop): Do not use BP_SYM.
36083 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
36084 and <bp-asm.h>.
36085
582a3cff
AM
360862013-02-21 Allan McRae <allan@archlinux.org>
36087
36088 * manual/message.texi (Charset conversion in gettext):
36089 Move @end statement to beginning of line.
36090
bab8a695
SP
360912013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36092
80945231
SP
36093 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
36094 static.
36095 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36096 Likewise.
36097
bab8a695
SP
36098 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
36099 (denorm): Likewise.
36100 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
36101 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
36102
e21d7aa7
AK
361032013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36104
36105 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
36106 tail-call to the resolved function if pltexit isn't needed.
36107
4c7a4263
SP
361082013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36109
36110 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
36111 or Y being zero as being unlikely.
36112 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36113 Likewise.
36114
41f49342
CD
361152013-02-20 Carlos O'Donell <carlos@redhat.com>
36116
36117 * manual/nss.texi (System Databases and Name Service Switch):
36118 Remove frobnicate @pxref.
36119
50022a93
TS
361202013-02-20 Thomas Schwinge <thomas@codesourcery.com>
36121
36122 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36123 __attribute__ ((unused)) to __attribute__ ((__unused__)).
36124
08cbd996
PM
361252013-02-20 Petr Machata <pmachata@redhat.com>
36126
36127 * elf/elf.h (R_ARM_TARGET1): New macro.
36128 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
36129 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
36130 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
36131 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
36132 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
36133 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
36134 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
36135 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
36136 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
36137 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
36138 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
36139 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
36140 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
36141 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
36142 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
36143 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
36144 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
36145 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
36146 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
36147 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
36148 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
36149 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
36150 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
36151 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
36152 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
36153 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
36154 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
36155 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
36156 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
36157 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
36158 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
36159 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
36160 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
36161 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
36162 (R_ARM_THM_GOT_BREL12): Likewise.
36163 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
36164 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
36165 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
36166 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
36167 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
36168 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
36169 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
36170 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
36171 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
36172
c7b275d6
TS
361732013-02-20 Thomas Schwinge <thomas@codesourcery.com>
36174
36175 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36176 __attribute_used__ to __attribute__ ((unused)).
36177
20cd7fb3
SP
361782013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
36179
36180 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
36181 powerpc mpa.c.
36182 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
36183 comment formatting.
36184 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
36185
92945b52
JM
361862013-02-19 Joseph Myers <joseph@codesourcery.com>
36187
36188 [BZ #13550]
36189 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
36190 Remove macro.
36191 (ENTER): Remove both macro definitions.
36192 (LEAVE): Likewise.
36193 (CHECK_BOUNDS_LOW): Likewise.
36194 (CHECK_BOUNDS_HIGH): Likewise.
36195 (CHECK_BOUNDS_BOTH): Likewise.
36196 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
36197 (RETURN_BOUNDED_POINTER): Likewise.
36198 (RETURN_NULL_BOUNDED_POINTER): Likewise.
36199 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
36200 (POP_ERRNO_LOCATION_RETURN): Likewise.
36201 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
36202 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36203 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
36204 macros.
36205 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36206 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
36207 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
36208 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
36209 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
36210 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
36211 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
36212 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
36213 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
36214 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
36215 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
36216 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
36217 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36218 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
36219 removed macros.
36220 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36221 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
36222 macros.
36223 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36224 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
36225 * sysdeps/i386/i586/memset.S (memset): Likewise.
36226 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
36227 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36228 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
36229 macros.
36230 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36231 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
36232 Change uses of L(2) to L(out).
36233 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
36234 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
36235 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
36236 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36237 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
36238 removed macros.
36239 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36240 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
36241 macros.
36242 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36243 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
36244 (RETURN): Do not use macro LEAVE.
36245 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
36246 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
36247 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
36248 * sysdeps/i386/i686/memset.S (memset): Likewise.
36249 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
36250 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
36251 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36252 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
36253 Likewise.
36254 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36255 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
36256 L(1_2) and L(1_3) into L(1).
36257 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36258 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
36259 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36260 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
36261 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36262 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
36263 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
36264 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36265 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
36266 macros.
36267 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
36268 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36269 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
36270 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
36271 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
36272 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36273 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
36274 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
36275 * sysdeps/i386/strcspn.S (strcspn): Likewise.
36276 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
36277 * sysdeps/i386/strrchr.S (strrchr): Likewise.
36278 * sysdeps/i386/strspn.S (strspn): Likewise.
36279 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
36280 conditional code.
36281 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36282 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
36283 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36284 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
36285 L(1_3) into L(1_1).
36286 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
36287 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36288 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
36289 macros.
36290 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36291
2389741a
JJ
362922013-02-19 Jakub Jelinek <jakub@redhat.com>
36293
36294 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
36295 macro.
36296
2016b3cd
SP
362972013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
36298
e4f22324
SP
36299 * math/atest-exp.c (exp_mpn): Remove ROUND.
36300 * math/atest-exp2.c (exp_mpn): Likewise.
36301 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
36302
2016b3cd
SP
36303 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
36304 * stdlib/tst-tls-atexit-lib.c: Likewise.
36305 * stdlib/tst-tls-atexit.c: Likewise.
36306
4be9b544
MF
363072013-02-18 Mike Frysinger <vapier@gentoo.org>
36308
36309 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
36310 and __attribute_alloc_size__.
36311
2f62b9ee
MF
363122013-02-18 Mike Frysinger <vapier@gentoo.org>
36313
36314 * include/programs/xmalloc.h: Change __attribute_alloc_size to
36315 __attribute_alloc_size__.
36316 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
36317 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
36318
6ff444c4
MF
363192013-02-18 Mike Frysinger <vapier@gentoo.org>
36320
36321 * include/programs/xmalloc.h: New file.
36322 * catgets/gencat.c: Include it.
36323 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
36324 * elf/pldd.c: Likewise.
36325 * iconv/iconv_charmap.c: Likewise.
36326 * iconv/iconvconfig.c: Likewise.
36327 * iconv/strtab.c: Likewise.
36328 * locale/programs/locale.c: Likewise.
36329 * locale/programs/localedef.h: Likewise.
36330 * locale/programs/simple-hash.c: Likewise.
36331 * nscd/nscd.h: Likewise.
36332 * nss/makedb.c: Likewise.
36333 * sysdeps/generic/ldconfig.h: Likewise.
36334
be179c8a
SP
363352013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36336
ba384f6e
SP
36337 * Versions.def: Add GLIBC_2.18.
36338 * include/link.h (struct link_map): New member l_tls_dtor_count.
36339 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
36340 (__call_tls_dtors): Likewise.
36341 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
36342 __cxa_thread_atexit_impl.
36343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36344 Likewise.
36345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36346 Likewise.
36347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36348 Likewise.
36349 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36350 Likewise.
36351 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36352 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
36353 Likewise.
36354 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
36355 Likewise.
36356 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36357 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36358 Likewise.
36359 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
36360 (tests): Add test case tst-tls-atexit.
36361 (modules-names): Add shared library for tst-tls-atexit.
85891aca 36362 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
36363 (GLIBC_PRIVATE): Add __call_tls_dtors.
36364 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
36365 for libstdc++.
36366 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
36367 * stdlib/tst-tls-atexit.c: New test case.
36368 * stdlib/tst-tls-atexit-lib.c: New test case.
36369
ffaa74cf 36370 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 36371
be179c8a
SP
36372 * elf/Versions (ld): Add _dl_find_dso_for_object.
36373 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
36374 * elf/dl-open.c (_dl_find_dso_for_object): New function.
36375 (dl_open_worker): Use _dl_find_dso_for_object.
36376 * elf/dl-sym.c (do_sym): Likewise.
36377 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
36378
f78b5caa
AK
363792013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36380
36381 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
36382 Syntactic changes only.
36383 (_dl_runtime_profile): Do a tail-call to the resolved function.
36384
29691210
JM
363852013-02-17 Joseph Myers <joseph@codesourcery.com>
36386
36387 [BZ #13550]
36388 * sysdeps/x86_64/bp-asm.h: Remove file.
36389 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
36390 <bp-sym.h> and <bp-asm.h>.
36391 (__clone): Do not use BP_SYM.
36392 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
36393 <bp-sym.h> and <bp-asm.h>.
36394 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36395 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
36396 "bp-asm.h".
36397 (_setjmp): Do not use BP_SYM.
36398 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
36399 "bp-asm.h".
36400 (setjmp): Do not use BP_SYM.
36401 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
36402 libc_hidden_def.
36403 (mempcpy): Do not use BP_SYM in weak_alias.
36404 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
36405 "bp-asm.h".
36406 (strchr): Do not use BP_SYM.
36407 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
36408 "bp-asm.h".
36409 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
36410 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
36411 (_start): Do not use BP_SYM.
36412 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
36413 "bp-asm.h".
36414 (strcat): Do not use BP_SYM.
36415 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
36416 "bp-asm.h".
36417 (STRCMP): Do not use BP_SYM.
36418 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
36419 "bp-asm.h".
36420 (STRCPY): Do not use BP_SYM.
36421 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
36422 "bp-asm.h".
36423 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
36424 "bp-asm.h".
36425 (FUNCTION): Do not use BP_SYM.
36426 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
36427 weak_alias.
36428 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
36429
f238fd19
AJ
364302013-02-17 Andreas Jaeger <aj@suse.de>
36431
36432 * time/Versions: Sort entries.
36433 * string/Versions: Likewise.
36434 * resolv/Versions: Likewise.
36435 * posix/Versions: Likewise.
36436 * iconv/Versions: Likewise.
36437 * elf/Versions: Likewise.
36438 * wcsmbs/Versions: Likewise.
36439
bd07f23c 364402013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 36441
22af19f9
SP
36442 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
36443 loop termination condition.
36444
4709fe76
SP
36445 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
36446 variable to calculate EZ.
36447 (__sqr): Likewise.
2d0e0f29
SP
36448
36449 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
36450 the lower precision input.
36451
daaa7713
JM
364522013-02-15 Joseph Myers <joseph@codesourcery.com>
36453
36454 [BZ #13550]
36455 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
36456 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
36457 (run-via-rtld-prefix): Do not handle %-bp tests.
36458 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
36459 (all-object-suffixes): Remove .ob.
36460 (bppfx): Remove variable.
36461 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
36462 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
36463 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
36464 [$(build-bounded) = yes] (libtype.ob): Likewise.
36465 * Makerules (elide-routines.ob): Remove variable.
36466 (do-tests-clean): Do not handle *-bp.out.
36467 (common-mostlyclean): Do not handle *-bp and *-bp.out.
36468 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
36469 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
36470 (tests): Do not include $(tests-bp.out).
36471 (xtests): Do not include $(xtests-bp.out).
36472 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
36473 [$(build-bounded) = yes] ($(addprefix
36474 $(objpfx),$(binaries-bounded))): Remove rule.
36475 ($(objpfx)%-bp.out): Remove rule.
36476 * config.make.in (build-bounded): Remove variable.
36477 * crypt/Makefile [$(build-bounded) = yes]
36478 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
36479 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
36480 append to variable.
36481 [$(build-bounded) = yes] (install-lib): Likewise.
36482 [$(build-bounded) = yes] (generated): Likewise.
36483 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
36484 Remove rule.
36485 * intl/Makefile [$(build-bounded) = yes]
36486 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
36487 * math/Makefile [$(build-bounded) = yes]
36488 ($(tests:%=$(objpfx)%-bp): Likewise.
36489 * misc/Makefile [$(build-bounded) = yes]
36490 ($(objpfx)tst-tsearch-bp): Likewise.
36491 * nptl/Makeconfig (bounded-thread-library): Remove variable.
36492 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
36493 Remove dependency.
36494 * string/Makefile (o-objects.ob): Remove variable.
36495 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
36496 (CFLAGS-.ob): Remove variable.
36497 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
36498 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
36499 both definitions of variable.
36500 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
36501 (ASFLAGS-.ob): Remove variable.
36502
e97ed6dd
JM
365032013-02-14 Joseph Myers <joseph@codesourcery.com>
36504
2bdd4ca6
JM
36505 [BZ #13550]
36506 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
36507 Remove __BOUNDED_POINTERS__ from condition.
36508 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
36509 * string/bits/string2.h [!__NO_STRING_INLINES &&
36510 !__BOUNDED_POINTERS__]: Likewise.
36511 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
36512 Likewise.
36513 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
36514 Remove conditional code.
36515 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
36516 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
36517 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
36518 condition.
36519
e97ed6dd
JM
36520 [BZ #13550]
36521 * csu/libc-start.c: Do not include <bp-sym.h>.
36522 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
36523 * elf/dl-open.c: Do not include <bp-sym.h>.
36524 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
36525 * math/fegetenv.c: Do not include <bp-sym.h>.
36526 (fegetenv): Do not use BP_SYM in versioned symbols.
36527 * nptl/sysdeps/pthread/bits/libc-lockP.h
36528 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
36529 <bp-sym.h>.
36530 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36531 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
36532 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36533 (__pthread_mutex_destroy): Likewise.
36534 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36535 (__pthread_mutex_lock): Likewise.
36536 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36537 (__pthread_mutex_trylock): Likewise.
36538 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36539 (__pthread_mutex_unlock): Likewise.
36540 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36541 (__pthread_mutexattr_init): Likewise.
36542 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36543 (__pthread_mutexattr_destroy): Likewise.
36544 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36545 (__pthread_mutexattr_settype): Likewise.
36546 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36547 (__pthread_rwlock_init): Likewise.
36548 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36549 (__pthread_rwlock_destroy): Likewise.
36550 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36551 (__pthread_rwlock_rdlock): Likewise.
36552 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36553 (__pthread_rwlock_tryrdlock): Likewise.
36554 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36555 (__pthread_rwlock_wrlock): Likewise.
36556 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36557 (__pthread_rwlock_trywrlock): Likewise.
36558 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36559 (__pthread_rwlock_unlock): Likewise.
36560 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36561 (__pthread_key_create): Likewise.
36562 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36563 (__pthread_setspecific): Likewise.
36564 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36565 (__pthread_getspecific): Likewise.
36566 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
36567 Likewise.
36568 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36569 (_pthread_cleanup_push_defer): Likewise.
36570 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36571 (_pthread_cleanup_pop_restore): Likewise.
36572 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36573 (pthread_setcancelstate): Likewise.
36574 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
36575 <bp-sym.h>.
36576 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
36577 (memchr): Do not use BP_SYM in weak_alias.
36578 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
36579 (fegetenv): Do not use BP_SYM in versioned symbols.
36580 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
36581 (fesetenv): Do not use BP_SYM in versioned symbols.
36582 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36583 (feupdateenv): Do not use BP_SYM in versioned symbols.
36584 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36585 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36586 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
36587 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
36588 (open64): Do not use BP_SYM in weak_alias.
36589 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
36590 (fegetenv): Do not use BP_SYM in versioned symbols.
36591 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
36592 (fesetenv): Do not use BP_SYM in versioned symbols.
36593 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36594 (feupdateenv): Do not use BP_SYM in versioned symbols.
36595 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
36596 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
36597 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
36598 (feraiseexcept): Do not use BP_SYM in versioned symbols.
36599 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36600 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36601 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
36602 <bp-sym.h>.
36603 (__libc_start_main): Do not use BP_SYM.
36604
d6752ccd
SP
366052013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
36606
cb57ce60
SP
36607 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
36608 redundant return line.
36609 (norm): Likewise.
36610 (denorm): Likewise.
36611 (dbl_mp): Likewise.
36612 (sub_magnitudes): Likewise.
36613 (__add): Likewise.
36614 (__sub): Likewise.
36615 (__mul): Likewise.
36616 (__inv): Likewise.
36617 (__dvd): Likewise.
36618 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
36619 (norm): Likewise.
36620 (denorm): Likewise.
36621 (dbl_mp): Likewise.
36622 (sub_magnitudes): Likewise.
36623 (__add): Likewise.
36624 (__sub): Likewise.
36625 (__mul): Likewise.
36626 (__inv): Likewise.
36627 (__dvd): Likewise.
36628
f414520d
SP
36629 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
36630 instead of __mul.
36631 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36632 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
36633 (cc32): Likewise.
36634
d6752ccd
SP
36635 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
36636 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
36637 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
36638 of __mul for squares.
36639 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
36640 function
36641 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
36642 Likewise.
36643 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
36644 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36645
70d9946a
JM
366462013-02-13 Joseph Myers <joseph@codesourcery.com>
36647
36648 [BZ #13550]
36649 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
36650 code.
36651 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
36652 prototype or function definition. Rename ubp_* variables and
36653 parameters. Remove argv definitions conditional on
36654 [__BOUNDED_POINTERS__].
36655 * debug/backtrace.c (__backtrace): Do not use __unbounded.
36656 * elf/dl-runtime.c (_dl_fixup): Likewise.
36657 * include/set-hooks.h (RUN_HOOK): Likewise.
36658 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
36659 definition.
36660 * string/strcpy.c (strcpy): Do not use __unbounded.
36661 * sysdeps/generic/frame.h (struct layout): Likewise.
36662 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
36663 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
36664 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
36665 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
36666 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
36667 (__backtrace): Likewise.
36668 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
36669 use __ptrvalue.
36670 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
36671 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
36672 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
36673 Likewise.
36674 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
36675 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
36676 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
36677 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36678 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
36679 Do not use __unbounded.
36680 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
36681 Rename __unboundedrlimits parameter to rlimits in prototype.
36682 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
36683 Do not use __unbounded.
36684 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
36685 not use __ptrvalue.
36686 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36687 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
36688 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36689 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
36690 __ptrvalue or __unbounded.
36691 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
36692 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
36693 use __unbounded.
36694 (__new_msgctl): Do not use __ptrvalue.
36695 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
36696 __unbounded.
36697 (__libc_msgrcv): Do not use __ptrvalue.
36698 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
36699 startup_info): Do not use __unbounded.
36700 (__libc_start_main): Likewise. Rename ubp_* variables and
36701 parameters. Remove argv definitions conditional on
36702 [__BOUNDED_POINTERS__].
36703 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
36704 __ptrvalue.
36705 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
36706 use __unbounded.
36707 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
36708 or __ptrvalue.
36709 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
36710 use __unbounded.
36711 (__new_shmctl): Do not use __ptrvalue.
36712 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
36713 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
36714 Likewise.
36715 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
36716 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
36717 (__libc_sigaction): Likewise.
36718 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
36719 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
36720 Likewise.
36721 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36722
cc7834d6
OB
367232013-02-13 Ondřej Bílka <neleai@seznam.cz>
36724
ffb1ec7b 36725 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
36726
36727 * string/mempcpy.c: Implement by calling memcpy.
36728
bdf02814
SP
367292013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
36730
c2af38aa
SP
36731 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
36732
4e92d59e
SP
36733 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
36734 evaluation.
36735
909279a5
SP
36736 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
36737 values in the mantissa.
36738
bdf02814
SP
36739 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
36740 minimize writes to Z.
36741 (sub_magnitudes): Simplify code a bit.
36742
cd525923
RM
367432013-02-12 Roland McGrath <roland@hack.frob.com>
36744
36745 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
36746 from the message. The linker prefixes all warnings with that already.
36747
7e2f0d2d
AS
367482013-02-12 Andreas Schwab <schwab@suse.de>
36749
a445af0b
AS
36750 [BZ #15078]
36751 * posix/regexec.c (extend_buffers): Add parameter min_len.
36752 (check_matching): Pass minimum needed length.
36753 (clean_state_log_if_needed): Likewise.
36754 (get_subexp): Likewise.
36755 * posix/Makefile (tests): Add bug-regex34.
36756 (bug-regex34-ENV): Define.
36757 * posix/bug-regex34.c: New file.
36758
7e2f0d2d
AS
36759 [BZ #11561]
36760 * posix/regcomp.c (parse_bracket_exp): When looking up collating
36761 elements compare against the byte sequence of it, not its name.
36762 * posix/Makefile (tests): Add bug-regex35.
36763 (bug-regex35-ENV): Define.
36764 * posix/bug-regex35.c: New file.
36765
a175b684
TV
367662013-02-11 Tom de Vries <tom@codesourcery.com>
36767
36768 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
36769 comment.
36770 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
36771 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
36772 (CHECK_EOL): Add undef.
36773
310998fe 367742013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
36775
36776 * bits/stdlib-bsearch.h: New file.
36777 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 36778 * stdlib/stdlib.h: Likewise.
41eda41d 36779
8ded91fb
RM
367802013-02-11 Roland McGrath <roland@hack.frob.com>
36781
36782 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
36783 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
36784 declaration.
36785 * manual/search.texi (Array Search Function): Add missing const in
36786 lfind prototype.
36787 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
36788 declaration to use rlim_t.
36789 (Basic Scheduling Functions): Remove erroneous const from
36790 sched_getparam prototype. Remove erroneous * from
36791 sched_get_priority_max and sched_get_priority_min prototypes.
36792 (Resource Usage): Fix summary @comment on vtimes to refer to
36793 sys/vtimes.h rather than vtimes.h.
36794 Add missing *s in vtimes prototype.
36795 (Limits on Resources): Fix ulimit prototype to return long int.
36796 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
36797 prototypes to use long int rather than double.
36798 (BSD Random): Fix initstate and setstate to use char *, not void *.
36799 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
36800 prototype to make second argument 'struct aiocb64 *const[]'.
36801 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
36802 (Status of AIO Operations): Remove erroneous const in aio_return and
36803 aio_return64 prototypes.
36804 (Synchronizing I/O): Fix sync prototype to return void.
36805 * manual/startup.texi (Suboptions): Remove an erroneous const in
36806 getsubopt prototype.
36807 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
36808 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
36809 use size_t rather than int.
36810 (Scanning All Users): Likewise for getpwent_r.
36811 (Setting Groups): Add missing const to setgroups prototype.
36812 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
36813 * manual/socket.texi (Host Names): Fix gethostbyaddr and
36814 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
36815 'const void *' rather than 'const char *'.
36816 (Host Address Functions): Likewise for inet_ntop.
36817 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
36818 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
36819 ssize_t for return value.
36820 (Sending Data): Likewise for send, sendto, sendmsg.
36821 (Socket Option Functions): Add a missing const in setsockopt prototype.
36822 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
36823 use wchar_t for the argument.
36824 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
36825 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
36826 take no arguments.
36827 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
36828 double/float/long double for second argument.
36829 Fix return types of significand, significandf, significandl.
36830 * manual/filesys.texi (Setting Permissions): Use mode_t for second
36831 argument in fchmod prototype.
36832 (File Owner): Use uid_t and gid_t in fchown prototype.
36833 (File Times): Add const to utimes, futimes, and lutimes prototypes.
36834 (Making Special Files): Use mode_t and dev_t in mknod prototype.
36835 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
36836 use 'const struct dirent **' as argument types to CMP function pointer
36837 argument.
36838 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
36839 (File Times): Fix summary magic @comment for struct utimbuf and utime
36840 to refer to utime.h, not time.h.
36841 * manual/string.texi (Argz Functions): Add missing const in
36842 argz_extract and argz_next prototypes.
36843 (Finding Tokens in a String): Likewise for basename.
36844 (String/Array Comparison): Fix typo in wcscasecmp prototype.
36845 (Copying and Concatenation): Fix typo in wmemmove prototype.
36846 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
36847 (Signal Stack): Remove erroneous const in sigstack prototype.
36848 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
36849 prototype.
36850 (Simple Calendar Time): Likewise for stime.
36851 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
36852 prototype.
36853 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
36854 say sys/sysctl.h instead.
36855 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
36856 and vsyslog prototypes.
36857
fe77fe6d
TV
368582013-02-11 Tom de Vries <tom@codesourcery.com>
36859
36860 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
36861 Remove.
36862
3a09b620
RM
368632013-02-11 Roland McGrath <roland@hack.frob.com>
36864
36865 * misc/sys/mman.h: Fix typo in mremap comment.
36866
550a0b89
RM
368672013-02-08 Roland McGrath <roland@hack.frob.com>
36868
36869 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
36870 the '\0' terminator.
36871
a2da1673
JM
368722013-02-08 Joseph Myers <joseph@codesourcery.com>
36873
36874 [BZ #13550]
36875 * debug/segfault.c: Don't include <bp-checks.h>.
36876 * sysdeps/generic/bp-checks.h: Remove file.
36877 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
36878 (__GETDENTS): Don't use CHECK_N.
36879 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
36880 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
36881 (__getgroups): Don't use CHECK_N.
36882 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
36883 (setgroups): Don't use CHECK_N.
36884 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
36885 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
36886 (__libc_msgrcv): Don't use CHECK_N.
36887 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
36888 (__libc_msgsnd): Don't use CHECK_N.
36889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
36890 <bp-checks.h>.
36891 (__libc_pread): Don't use CHECK_N.
36892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
36893 include <bp-checks.h>.
36894 (__libc_pread64): Don't use CHECK_N.
36895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
36896 include <bp-checks.h>.
36897 (__libc_pwrite): Don't use CHECK_N.
36898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
36899 include <bp-checks.h>.
36900 (__libc_pwrite64): Don't use CHECK_N.
36901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
36902 <bp-checks.h>.
36903 (__libc_pread): Don't use CHECK_N.
36904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
36905 include <bp-checks.h>.
36906 (__libc_pread64): Don't use CHECK_N.
36907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
36908 include <bp-checks.h>.
36909 (__libc_pwrite): Don't use CHECK_N.
36910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
36911 include <bp-checks.h>.
36912 (__libc_pwrite64): Don't use CHECK_N.
36913 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
36914 (do_pread): Don't use CHECK_N.
36915 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
36916 (do_pread64): Don't use CHECK_N.
36917 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
36918 (do_pwrite): Don't use CHECK_N.
36919 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
36920 (do_pwrite64): Don't use CHECK_N.
36921 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
36922 (__libc_readv): Don't use CHECK_N.
36923 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
36924 (semop): Don't use CHECK_N.
36925 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
36926 <bp-checks.h>.
36927 (semtimedop): Don't use CHECK_N.
36928 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
36929 (__libc_pread): Don't use CHECK_N.
36930 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
36931 <bp-checks.h>.
36932 (__libc_pread64): Don't use CHECK_N.
36933 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
36934 <bp-checks.h>.
36935 (__libc_pwrite): Don't use CHECK_N.
36936 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
36937 <bp-checks.h>.
36938 (__libc_pwrite64): Don't use CHECK_N.
36939 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
36940 <bp-checks.h>.
36941 (__libc_msgrcv): Don't use CHECK_N.
36942 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
36943 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
36944 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
36945 (__libc_writev): Don't use CHECK_N.
36946
b84660a8
RM
369472013-02-08 Roland McGrath <roland@hack.frob.com>
36948
7f3e75f8
RM
36949 * string/strcpy.c: Removed unused variable.
36950
b84660a8
RM
36951 * Makeconfig (+sysdep-includes): Define with := rather than =.
36952 Use an existing include/ subdir of each sysdeps dir before it.
36953
471514d3
CD
369542013-02-08 Carlos O'Donell <carlos@redhat.com>
36955
36956 * nscd/connection.c (register_traced_file): Comment function.
36957 [HAVE_INOTIFY] (union __inev): Define.
36958 [HAVE_INOTIFY] (inotify_check_files): New function.
36959 [HAVE_INOTIFY] (clear_db_cache): Likewise.
36960 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
36961 clear_db_cache.
36962 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
36963
b2d3c3be
CD
369642013-02-08 Carlos O'Donell <carlos@redhat.com>
36965
36966 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
36967 loaded if not already and that a failure is permanent.
36968
b39949d2
CD
369692013-02-08 Carlos O'Donell <carlos@redhat.com>
36970
ddacd1db 36971 [BZ #15006]
b39949d2
CD
36972 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
36973 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
36974
b2c9eff4
JM
369752013-02-08 Joseph Myers <joseph@codesourcery.com>
36976
f3aae3f3
JM
36977 [BZ #13550]
36978 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
36979 (CHECK_1_NULL_OK): Likewise.
36980 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
36981 (__fxstat): Do not use CHECK_1.
36982 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
36983 <bp-checks.h>.
36984 (___fxstat64): Do not use CHECK_1.
36985 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
36986 <bp-checks.h>.
36987 (__fxstatat): Do not use CHECK_1.
36988 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
36989 <bp-checks.h>.
36990 (__fxstatat64): Do not use CHECK_1.
36991 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
36992 <bp-checks.h>.
36993 (__fxstat): Do not use CHECK_1.
36994 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
36995 <bp-checks.h>.
36996 (__fxstatat): Do not use CHECK_1.
36997 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36998 <bp-checks.h>.
36999 (__getresgid): Do not use CHECK_1.
37000 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37001 <bp-checks.h>.
37002 (__getresuid): Do not use CHECK_1.
37003 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
37004 <bp-checks.h>.
37005 (__lxstat): Do not use CHECK_1.
37006 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37007 <bp-checks.h>.
37008 (__old_msgctl): Do not use CHECK_1.
37009 (__new_msgctl): Likewise.
37010 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
37011 <bp-checks.h>.
37012 (__new_setrlimit): Do not use CHECK_1.
37013 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37014 <bp-checks.h>.
37015 (__old_shmctl): Do not use CHECK_1.
37016 (__new_shmctl): Likewise.
37017 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
37018 <bp-checks.h>.
37019 (__xstat): Do not use CHECK_1.
37020 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
37021 (__lxstat): Do not use CHECK_1.
37022 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
37023 <bp-checks.h>.
37024 (___lxstat64): Do not use CHECK_1.
37025 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
37026 (__old_msgctl): Do not use CHECK_1.
37027 (__new_msgctl): Likewise.
37028 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
37029 <bp-checks.h>.
37030 (__gettimeofday): Do not use CHECK_1.
37031 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
37032 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
37033 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
37034 <bp-checks.h>.
37035 (__gettimeofday): Do not use CHECK_1.
37036 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
37037 (__old_shmctl): Do not use CHECK_1_NULL_OK.
37038 (__new_shmctl): Do not use CHECK_1.
37039 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
37040 <bp-checks.h>.
37041 (do_sigtimedwait): Do not use CHECK_1.
37042 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
37043 <bp-checks.h>.
37044 (do_sigwaitinfo): Do not use CHECK_1.
37045 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
37046 <bp-checks.h>.
37047 (msgctl): Do not use CHECK_1.
37048 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
37049 <bp-checks.h>.
37050 (shmctl): Do not use CHECK_1.
37051 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
37052 (ustat): Do not use CHECK_1.
37053 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
37054 <bp-checks.h>.
37055 (__fxstat): Do not use CHECK_1.
37056 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
37057 <bp-checks.h>.
37058 (__fxstatat): Do not use CHECK_1.
37059 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
37060 <bp-checks.h>.
37061 (__lxstat): Do not use CHECK_1.
37062 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
37063 <bp-checks.h>.
37064 (__xstat): Do not use CHECK_1.
37065 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
37066 (__xstat): Do not use CHECK_1.
37067 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
37068 (___xstat64): Do not use CHECK_1.
37069
b2c9eff4
JM
37070 [BZ #13550]
37071 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
37072 definitions.
37073 (CHECK_BOUNDS_HIGH): Likewise.
37074 * string/strcpy.c: Do not include <bp-checks.h>.
37075 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
37076
f1d70dad
RM
370772013-02-07 Roland McGrath <roland@hack.frob.com>
37078
37079 * nscd/nscd-client.h (__nscd_drop_map_ref):
37080 Add __attribute__ ((unused)).
37081 * nis/nss-nisplus.h (niserr2nss): Likewise.
37082
37083 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
37084 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
37085
37086 * csu/libc-tls.c (init_static_tls, init_slotinfo):
37087 Remove inline keyword.
37088 * include/rounding-mode.h (round_away): Likewise.
37089 * libio/wfileops.c (adjust_wide_data): Likewise.
37090 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
37091 (__m128i_strloadu_tolower): Likewise.
37092 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
37093 (__m128i_strloadu_tolower): Likewise.
37094 * time/mktime.c (ydhms_diff): Likewise.
37095 * locale/elem-hash.h (elem_hash): Likewise.
37096 * locale/setlocale.c (setdata): Likewise.
37097 * posix/regex_internal.h (re_string_char_size_at): Likewise.
37098 (re_string_wchar_at): Likewise.
37099 (bitset_not, bitset_merge, bitset_mask): Likewise.
37100 [!(__GNUC__ > 3)] (inline): Remove macro.
37101 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
37102 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
37103 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
37104 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
37105 * string/memcmp.c (memcmp_bytes): Likewise.
37106 * locale/programs/locarchive.c (compute_hashval): Likewise.
37107 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
37108 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
37109 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
37110 * nss/getent.c (print_rpc, print_protocols): Likewise.
37111 (print_passwd, print_group, print_aliases): Likewise.
37112 * nis/nss-nisplus.h (niserr2nss): Likewise.
37113 * nscd/connections.c (restart_p): Likewise.
37114 Change return type to bool.
37115
eab55bfb
RM
371162013-02-05 Roland McGrath <roland@hack.frob.com>
37117
7bd642f5
RM
37118 * Makeconfig (all-Depend-files): Add existing
37119 $(sorted-subdirs:=/Depend) files.
37120 (all-subdirs): Remove nss.
37121 * sysdeps/unix/inet/Subdirs: Add it here instead.
37122 * hesiod/Depend: New file.
37123
573c29b2
RM
37124 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
37125 instead of calling alloca.
37126
b2e25af0
RM
37127 * io/lseek.c (__lseek): Rename to __libc_lseek.
37128 Define __lseek as an alias.
37129
eab55bfb
RM
37130 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
37131
9a0d1941
CD
371322013-02-04 Carlos O'Donell <carlos@redhat.com>
37133
37134 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
37135 else clause and remove check for non-standard endianness.
37136
b83bbec4
DM
371372013-02-04 David S. Miller <davem@davemloft.net>
37138
37139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37140
6277fdab
JM
371412013-02-04 Joseph Myers <joseph@codesourcery.com>
37142
37143 [BZ #13550]
37144 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
37145 (__ubp_memchr): Remove prototype.
37146 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
37147 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37148 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
37149 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37150 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
37151 Remove alias.
37152 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
37153 (__ubp_memchr): Likewise.
37154 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
37155 (__ubp_memchr): Likewise.
37156 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
37157 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
37158 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
37159 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
37160 CHECK_STRING.
37161 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
37162 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
37163 (__getcwd): Do not use CHECK_STRING.
37164 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
37165 <bp-checks.h>.
37166 (__real_chown): Do not use CHECK_STRING.
37167 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
37168 <bp-checks.h>.
37169 (fchownat): Do not use CHECK_STRING.
37170 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
37171 CHECK_STRING.
37172 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37173 <bp-checks.h>.
37174 (__lchown): Do not use CHECK_STRING.
37175 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37176 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37177 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37178 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
37179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37180 include <bp-checks.h>.
37181 (truncate64): Do not use CHECK_STRING.
37182 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37183 <bp-checks.h>.
37184 (__real_chown): Do not use CHECK_STRING.
37185 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37186 <bp-checks.h>.
37187 (__lchown): Do not use CHECK_STRING.
37188 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37189 <bp-checks.h>.
37190 (__chown): Do not use CHECK_STRING.
37191 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
37192 <bp-checks.h>.
37193 (truncate64): Do not use CHECK_STRING.
37194 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
37195 Likewise.
37196 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
37197 (__xmknod): Do not use CHECK_STRING.
37198 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
37199 <bp-checks.h>.
37200 (__xmknodat): Do not use CHECK_STRING.
37201 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37202 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
37203
903ae060
AS
372042013-02-04 Andreas Schwab <schwab@suse.de>
37205
37206 [BZ #14142]
37207 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
37208 * include/netdb.h: Likewise for h_errno.
37209 * elf/tst-stackguard1.c: Include <tls.h>.
37210
542f9466
JK
372112013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
37212
37213 * elf/link.h (struct link_map): Extend the l_addr comment.
37214 * include/link.h (struct link_map): Likewise.
37215
e782a927
JM
372162013-02-01 Joseph Myers <joseph@codesourcery.com>
37217
37218 [BZ #13550]
37219 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
37220 (BOUNDED_1): Remove macro.
37221 * debug/backtrace.c: Don't include <bp-checks.h>.
37222 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
37223 (__backtrace): Likewise.
37224 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
37225 <bp-checks.h>.
37226 (__backtrace): Don't use BOUNDED_1.
37227 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
37228 <bp-checks.h>.
37229 (__backtrace): Don't use BOUNDED_1.
37230 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
37231 (__backtrace): Don't use BOUNDED_1.
37232 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
37233 (shmat): Don't use BOUNDED_N.
37234
8cf28c5e
JM
372352013-01-31 Joseph Myers <joseph@codesourcery.com>
37236
3a7ac8a0
JM
37237 [BZ #13550]
37238 * sysdeps/generic/bp-start.h: Remove file.
37239 * csu/libc-start.c: Don't include <bp-start.h>.
37240 (LIBC_START_MAIN): Set up __environ directly instead of using
37241 INIT_ARGV_and_ENVIRON.
37242 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
37243 <bp-start.h>.
37244
f3499f95
JM
37245 [BZ #13550]
37246 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
37247 definitions.
37248 (CHECK_FCNTL): Likewise.
37249 (CHECK_N_PAGES): Likewise.
37250
32a45bea
JM
37251 [BZ #13550]
37252 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
37253 definitions.
37254 (CHECK_SIGSET_NULL_OK): Likewise.
37255 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
37256 <bp-checks.h>.
37257 (sigpending): Don't use CHECK_SIGSET.
37258 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
37259 <bp-checks.h>.
37260 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37261 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
37262 <bp-checks.h>.
37263 (do_sigsuspend): Don't use CHECK_SIGSET.
37264 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
37265 use CHECK_SIGSET.
37266 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
37267 (do_sigwait): Don't use CHECK_SIGSET.
37268 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
37269 use CHECK_SIGSET.
37270 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
37271 include <bp-checks.h>.
37272 (sigpending): Don't use CHECK_SIGSET.
37273 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
37274 include <bp-checks.h>.
37275 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37276 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
37277 <bp-checks.h>.
37278 (sigpending): Don't use CHECK_SIGSET.
37279 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
37280 <bp-checks.h>.
37281 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37282
2e8a5c8c
JM
37283 [BZ #13550]
37284 * sysdeps/generic/bp-semctl.h: Remove file.
37285 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
37286 <bp-checks.h> and <bp-semctl.h>.
37287 (__old_semctl): Don't use CHECK_SEMCTL.
37288 (__new_semctl): Likewise.
37289 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
37290 and <bp-semctl.h>.
37291 (__old_semctl): Don't use CHECK_SEMCTL.
37292 (__new_semctl): Likewise.
37293 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
37294 <bp-checks.h> and <bp-semctl.h>.
37295 (__old_semctl): Don't use CHECK_SEMCTL.
37296 (__new_semctl): Likewise.
37297 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
37298 <bp-checks.h> and <bp-semctl.h>.
37299 (semctl): Don't use CHECK_SEMCTL.
37300
c2d54929
JM
37301 [BZ #13550]
37302 * Makerules (elide-bp-thunks): Remove variable.
37303 (elide-routines.oS): Don't use $(elide-bp-thunks).
37304 (elide-routines.os): Likewise.
37305 (elide-routines.o): Likewise.
37306 (elide-routines.op): Likewise.
37307 (elide-routines.og): Likewise.
37308 (objects): Don't use $(bp-thunks).
37309 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
37310 include.
37311 (common-generated): Do not add s-proto-bp.d.
37312 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
37313 (int): Likewise.
37314 (typ): Likewise.
37315 Do not generate makefile rules for bounded-pointer thunks.
37316 * sysdeps/generic/bp-thunks.h: Remove file.
37317 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
37318 * sysdeps/unix/s-proto-bp.S: Likewise.
37319
8cf28c5e
JM
37320 [BZ #15062]
37321 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
37322 parts of result separately when argument is not close to line from
37323 -i to i and one part of argument is small.
37324 * math/k_casinhf.c (__kernel_casinhf): Likewise.
37325 * math/k_casinhl.c (__kernel_casinhl): Likewise.
37326 * math/libm-test.inc (cacos_test): Add more tests.
37327 (casin_test): Likewise.
37328 (casinh_test): Likewise.
37329 * sysdeps/i386/fpu/libm-test-ulps: Update.
37330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37331
c4e33b8d
DM
373322013-01-31 David S. Miller <davem@davemloft.net>
37333
37334 * po/de.po: Update from translation team.
37335
3b60b421
MK
373362013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
37337
37338 * time/tzfile.c: Include stdint.h for SIZE_MAX.
37339
bb931195
TS
373402013-01-25 Thomas Schwinge <thomas@codesourcery.com>
37341
b5a5da23
TS
37342 * configure.in (_AC_PROG_CC_C89): New definition.
37343 * configure: Regenerate.
37344
bb931195
TS
37345 * configure.in (AC_PROG_CPP): New definition.
37346 * configure: Regenerate.
37347
8c53a12c
JM
373482013-01-23 Joseph Myers <joseph@codesourcery.com>
37349
37350 * debug/tst-backtrace.h: New file.
37351 * debug/tst-backtrace2.c: Include tst-backtrace.h.
37352 (ret): Remove variable.
37353 (x): Likewise.
37354 (FAIL): Remove macro.
37355 (NO_INLINE): Likewise.
37356 (fn1): Use match function instead of strstr.
37357 * debug/tst-backtrace3.c: Include tst-backtrace.h.
37358 (ret): Remove variable.
37359 (x): Likewise.
37360 (FAIL): Remove macro.
37361 (NO_INLINE): Likewise.
37362 (fn): Use match function instead of strstr.
37363 * debug/tst-backtrace4.c: Include tst-backtrace.h.
37364 (ret): Remove variable.
37365 (x): Likewise.
37366 (FAIL): Remove macro.
37367 (NO_INLINE): Likewise.
37368 (handle_signal): Use match function instead of strstr.
37369 * debug/tst-backtrace5.c: Include tst-backtrace.h.
37370 (ret): Remove variable.
37371 (x): Likewise.
37372 (FAIL): Remove macro.
37373 (NO_INLINE): Likewise.
37374 (handle_signal): Use match function instead of strstr.
37375
4858fa2a
RM
373762013-01-23 Roland McGrath <roland@hack.frob.com>
37377
37378 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
37379
bae8e7f5
DM
373802013-01-23 David S. Miller <davem@davemloft.net>
37381
37382 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
37383 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
37384 argument of CAS if possible.
37385 * sysdeps/sparc/sparc64/bits/atomic.h
37386 (__arch_compare_and_exchange_val_32_acq): Likewise.
37387 (__arch_compare_and_exchange_val_64_acq): Likewise.
37388
9cbbc4ae
PT
373892013-01-23 Pino Toscano <toscano.pino@tiscali.it>
37390
37391 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
37392 * sysdeps/posix/ulimit.c: ... this.
92a601b8 37393 Include <limits.h>.
67b3f58c 37394 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 37395
5655a0b5
AC
373962013-01-23 Adam Conrad <adconrad@0c3.net>
37397
37398 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
37399 (LDFLAGS-tst-array5): Likewise.
37400
052aff95
JM
374012013-01-23 Joseph Myers <joseph@codesourcery.com>
37402
37403 [BZ #15036]
37404 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
37405 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
37406 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
37407 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
37408
7c1e01aa
DM
374092013-01-21 David S. Miller <davem@davemloft.net>
37410
37411 * sysdeps/sparc/backtrace.c: New file.
37412 * sysdeps/sparc/sparc32/backtrace.h: New file.
37413 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
37414 * sysdeps/sparc/sparc64/backtrace.h: New file.
37415 * sysdeps/sparc/sparc64/backtrace.c: Delete.
37416 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
37417 -funwind-tables.
37418
ab087e0a
AS
374192013-01-21 Andreas Schwab <schwab@suse.de>
37420
37421 [BZ #15020]
37422 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
37423 closed its stdout.
37424
ed689c2f
AS
374252013-01-20 Andreas Schwab <schwab@linux-m68k.org>
37426
37427 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
37428 "mpa2.h".
37429 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37430
31d470ac
JM
374312013-01-18 Joseph Myers <joseph@codesourcery.com>
37432 Mark Mitchell <mark@codesourcery.com>
37433 Tom de Vries <tom@codesourcery.com>
37434 Paul Pluzhnikov <ppluzhnikov@google.com>
37435
37436 * debug/tst-backtrace2.c: New file.
37437 * debug/tst-backtrace3.c: Likewise.
37438 * debug/tst-backtrace4.c: Likewise.
37439 * debug/tst-backtrace5.c: Likewise.
37440 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
37441 (CFLAGS-tst-backtrace3.c): Likewise.
37442 (CFLAGS-tst-backtrace4.c): Likewise.
37443 (CFLAGS-tst-backtrace5.c): Likewise.
37444 (LDFLAGS-tst-backtrace2): Likewise.
37445 (LDFLAGS-tst-backtrace3): Likewise.
37446 (LDFLAGS-tst-backtrace4): Likewise.
37447 (LDFLAGS-tst-backtrace5): Likewise.
37448 (tests): Add new tests tst-backtrace2, tst-backtrace3,
37449 tst-backtrace4 and tst-backtrace5.
37450
90567f30 374512013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
37452 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37453
37454 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
37455 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
37456 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
37457 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
37458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37459 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
37460 "+r" and remove output regs list as redundant. Add explicit inline
37461 asm to specify register of return val to work around compiler codegen
37462 bug. Remove (int) cast on return value. Add return type parameter to
37463 use in macro so that this macro does not truncate return value for
37464 64-bit values.
37465 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
37466 pass to INTERNAL_VSYSCALL_NCS.
37467 (INLINE_VSYSCALL): Add 'long int' as return type to
37468 INTERNAL_VSYSCALL_NCS macro invocation.
37469 (INTERNAL_VSYSCALL): Add 'long int' as return type to
37470 INTERNAL_VSYSCALL_NCS macro invocation.
37471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37472
d3b9ea61
SP
374732013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37474
0b57daeb
SP
37475 [BZ #14496]
37476 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
37477 Fix application of SIMD FP exception mask.
37478
caa99d06
SP
37479 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
37480 mp_no from a power of two.
37481 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
37482 __mpexp_twomm1. Use __pow_mp.
37483
d3b9ea61
SP
37484 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
37485 multiplication.
37486
1dbaee3c
DM
374872013-01-17 David S. Miller <davem@davemloft.net>
37488
37489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37490
728d7b43
JM
374912013-01-17 Joseph Myers <joseph@codesourcery.com>
37492
37493 [BZ #15023]
37494 * include/complex.h: Condition contents on [!_COMPLEX_H].
37495 (__kernel_casinhf): New prototype.
37496 (__kernel_casinh): Likewise.
37497 (__kernel_casinhl): Likewise.
37498 * math/Makefile (libm_calls): Add k_casinh.
37499 * math/k_casinh.c: New file.
37500 * math/k_casinhf.c: Likewise.
37501 * math/k_casinhl.c: Likewise.
37502 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
37503 finite nonzero arguments.
37504 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
37505 finite nonzero arguments.
37506 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
37507 finite nonzero arguments.
37508 * math/s_casinh.c: Do not include <float.h>.
37509 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
37510 * math/s_casinhf.c: Do not include <float.h>.
37511 (__casinhf): Move code for finite nonzero arguments to
37512 k_casinhf.c.
37513 * math/s_casinhl.c: Do not include <float.h>.
37514 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
37515 redefine.
37516 (__casinhl): Move code for finite nonzero arguments to
37517 k_casinhl.c.
37518 * math/libm-test.inc (cacos_test): Add more tests.
37519 * sysdeps/i386/fpu/libm-test-ulps: Update.
37520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37521
2a26ef3a
PT
375222013-01-17 Pino Toscano <toscano.pino@tiscali.it>
37523
37524 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
37525 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
37526 [!HAVE_MREMAP]: Remove [defined linux] case.
37527 * malloc/arena.c: Do not include <malloc-sysdep.h>.
37528
a897655d
SP
375292013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
37530
37531 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
37532
881ebe89 375332013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
37534
37535 * elf/elf.h (R_386_SIZE32): New relocation.
37536 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
37537 R_386_SIZE32.
37538 (elf_machine_rela): Likewise.
37539 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37540 R_X86_64_SIZE64 and R_X86_64_SIZE32.
37541
59981e9b
JM
375422013-01-17 Joseph Myers <joseph@codesourcery.com>
37543
37544 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
37545 (FP_FAST_FMA): Do not define.
37546 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
37547 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
37548 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
37549 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
37550 !_SOFT_FLOAT]: Likewise.
37551 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
37552 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
37553 value.
37554 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
37555 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
37556 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
37557 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
37558 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
37559 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
37560 file.
37561
cfa8054f
AS
375622013-01-16 Andreas Schwab <schwab@suse.de>
37563
37564 [BZ #14327]
37565 * include/stdlib.h (__mktemp): Add declaration.
37566 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
37567 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
37568
dd930cc5
SP
375692013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37570
881ebe89
SP
37571 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
37572 definitions.
37573 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
37574 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
37575 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
37576 definitions here.
37577 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
37578 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
37579 definitions.
37580 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
37581 and ONE.
37582 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
37583 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
37584 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
37585 definitions.
37586 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
37587 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
37588 definitions.
37589 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 37590
dd930cc5
SP
37591 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
37592
c19a9f89
DM
375932013-01-15 David S. Miller <davem@davemloft.net>
37594
1aa61767
DM
37595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37596 trunc{,f} to libm-sysdep_routes.
37597 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
37599 file.
37600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
37601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
37602 file.
37603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
37604 file.
37605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
37606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
37607 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
37608 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
37609 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
37610 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
37611 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
37612 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
37613
c42d5e98
DM
37614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37615 nearbyint{,f} to libm-sysdep_routes.
37616 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
37618 New file.
37619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
37620 file.
37621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
37622 New file.
37623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
37624 file.
37625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
37626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
37627 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
37628 file.
37629 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
37630 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
37631 file.
37632 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
37633 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
37634 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
37635
c19a9f89
DM
37636 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
37637 libc_feholdexcept and libc_fesetenv.
37638
357679d2
MF
376392013-01-15 Mike Frysinger <vapier@gentoo.org>
37640
37641 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
37642
65a82e3d
DM
376432013-01-14 David S. Miller <davem@davemloft.net>
37644
8b954ab9
DM
37645 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
37646 (SPARC_ASM_VIS2_IFUNC): Likewise.
37647 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
37648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
37649 use of 'siam' instruction.
37650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
37651 Likewise.
37652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
37653 Likewise.
37654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
37655 Likewise.
37656 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
37657 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
37658 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
37659 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
37660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
37661 file.
37662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
37663 file.
37664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
37665 file.
37666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
37667 file.
37668 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
37669 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
37670 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
37671 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
37672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
37673 new VIS2 routines.
37674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37677 Likewise.
37678 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37679 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37680 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37681 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
37683 routines to libm-sysdep_routines.
37684 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37685
65a82e3d
DM
37686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37687 fdim/fdimf to libm-sysdep_routines.
37688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
37689 file.
37690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
37691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
37692 file.
37693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
37694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
37695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
37696 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
37697 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
37698 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
37699 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
37700
e34ab705
SP
377012013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
37702
2a91b573
SP
37703 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
37704 to optimize copies.
37705
1066a534
SP
37706 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
37707 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37708 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37709
e34ab705
SP
37710 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
37711 local variable MPTWO.
37712 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37713 Likewise.
37714
aba5e596
MF
377152013-01-13 Mike Frysinger <vapier@gentoo.org>
37716
37717 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
37718 GLOB_NOESCAPE.
37719
e557e9e5
MF
377202013-01-13 Mike Frysinger <vapier@gentoo.org>
37721
37722 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
37723
0428cec9
MF
377242013-01-13 Mike Frysinger <vapier@gentoo.org>
37725
37726 * manual/pattern.texi (glob_t): Document gl_flags.
37727 (glob64_t): Likewise.
37728
8794a964
DM
377292013-01-11 David S. Miller <davem@davemloft.net>
37730
66438c3f
RM
37731 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
37732 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
37733 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
37734 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
37735 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
37736 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
37737 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
37738 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
37739 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
37740 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
37741 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
37742 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
37743 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
37744
4ae4244d
DM
37745 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37746 sparc V9 rather than using V8 code.
37747 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37748 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37749
8794a964
DM
37750 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37751 Move to...
37752 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
37753 Here.
37754
6270516e
RM
377552013-01-11 Roland McGrath <roland@hack.frob.com>
37756
37757 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
37758 not in the main loop.
37759 * configure: Regenerated.
37760
6a57d931
JM
377612013-01-11 Joseph Myers <joseph@codesourcery.com>
37762
37763 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
37764 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
37765 to just #else.
37766 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
37767 [!__GLIBC_HAVE_LONG_LONG] case.
37768 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
37769 condition to just #else.
37770 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
37771 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
37772 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
37773 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
37774 unconditional.
37775 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
37776 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37777 #elif condition to just #else.
37778 * sysdeps/unix/sysv/linux/sys/sysmacros.h
37779 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
37780 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37781 #elif condition to just #else.
37782
0e8529e9
SE
377832013-01-11 Steve Ellcey <sellcey@mips.com>
37784
37785 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
37786 (EF_MIPS_ARCH_64): Fix value.
37787 (EF_MIPS_ARCH_32R2): New.
37788 (EF_MIPS_ARCH_64R2): New.
37789
740b3dbe
L
377902013-01-11 H.J. Lu <hongjiu.lu@intel.com>
37791
37792 * Makeconfig (+link-pie-before-libc): New.
37793 (+link-pie-after-libc): Likewise.
37794 (+link-pie-tests): Likewise.
37795 (+link-pie): Rewritten.
37796 (link-before-libc): Remove $(config-LDFLAGS).
37797 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
37798 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
37799 (config-LDFLAGS): Renamed to ...
37800 (rtld-LDFLAGS): This.
37801 (rtld-tests-LDFLAGS): New macro.
37802 (link-libc-rpath-link): Likewise.
37803 (link-libc-tests-rpath-link): Likewise.
37804 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
37805 (link-libc): Prepand $(link-libc-rpath-link).
37806 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
37807 (test-program-prefix): New macro.
37808 (test-via-rtld-prefix): Likewise.
37809 (test-program-cmd): Likewise.
37810 (host-test-program-cmd): Likewise.
37811 * Makefile ($(common-objpfx)testrun.sh): Replace
37812 $(run-program-prefix) with $(test-program-prefix).
37813 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
37814 $(rtld-LDFLAGS).
37815 ($(common-objpfx)shlib.lds): Likewise.
37816 (build-module-helper): Likewise.
37817 ($(common-objpfx)format.lds): Likewise.
37818 * Rules (binaries-pie-tests): New.
37819 (binaries-pie-notests): Likewise.
37820 (binaries-pie): Rewritten.
37821 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
37822 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
37823 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
37824 (make-test-out): Replace $(host-built-program-cmd) with
37825 $(host-test-program-cmd).
37826 * config.make.in (build-hardcoded-path-in-tests): New variable.
37827 * configure.in (--enable-hardcoded-path-in-tests): New configure
37828 option.
37829 (hardcoded_path_in_tests): New AC_SUBST.
37830 * configure: Regenerated.
37831 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
37832 $(built-program-cmd) with $(test-program-cmd).
37833 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
37834 (test_program_cmd): This.
37835 * elf/Makefile ($(objpfx)order.out): Run test with
37836 $(test-program-prefix).
37837 ($(objpfx)order2.out): Likewise.
37838 ($(objpfx)tst-initorder.out): Likewise.
37839 ($(objpfx)tst-initorder2.out): Likewise.
37840 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
37841 $(test-program-cmd).
37842 ($(objpfx)tst-array1-static.out): Likewise.
37843 ($(objpfx)tst-array2.out): Likewise.
37844 ($(objpfx)tst-array3.out): Likewise.
37845 ($(objpfx)tst-array4.out): Likewise.
37846 ($(objpfx)tst-array5.out): Likewise.
37847 ($(objpfx)tst-array5-static.out): Likewise.
37848 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
37849 $(test-program-cmd).
37850 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
37851 $(run-program-prefix) with $(test-program-prefix).
37852 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
37853 (test_program_prefix): This.
37854 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
37855 $(run-program-prefix) with $(test-program-prefix).
37856 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
37857 (test_program_prefix): This.
37858 * iconvdata/tst-tables.sh: Likewise.
37859 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
37860 $(run-program-prefix) with $(test-program-prefix).
37861 ($(objpfx)tst-translit.out): Likewise.
37862 ($(objpfx)tst-gettext2.out): Likewise.
37863 ($(objpfx)tst-gettext4.out): Likewise.
37864 ($(objpfx)tst-gettext6.out): Likewise.
37865 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
37866 (test_program_prefix): This.
37867 * intl/tst-gettext2.sh: Likewise.
37868 * intl/tst-gettext4.sh Likewise.
37869 * intl/tst-gettext6.sh: Likewise.
37870 * intl/tst-translit.sh: Likewise.
37871 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
37872 with $(test-program-cmd).
37873 * libio/Makefile ($(objpfx)test-freopen.out): Replace
37874 $(run-program-prefix) with $(test-program-prefix).
37875 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
37876 (test_program_prefix): This.
37877 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
37878 $(run-program-prefix) with $(test-program-prefix).
37879 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
37880 (test_program_prefix): This.
37881 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
37882 * posix/Makefile ($(objpfx)globtest.out): Replace
37883 $(run-via-rtld-prefix) and $(test-wrapper) with
37884 $(test-program-prefix) and $(test-via-rtld-prefix).
37885 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
37886 $(test-program-prefix).
37887 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
37888 $(host-test-program-cmd).
37889 (tst-spawn-ARGS): Likewise.
37890 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
37891 $(test-program-prefix).
37892 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
37893 (test_via_rtld_prefix): This.
37894 (test_wrapper): Renamed to ...
37895 (test_program_prefix): This.
37896 (run_program_prefix): Replaced by test_program_prefix.
37897 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
37898 (test_program_prefix): This.
37899 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
37900 with $(host-test-program-cmd).
37901 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
37902 $(run-program-prefix) with $(test-program-prefix).
37903 ($(objpfx)tst-printf.out): Likewise.
37904 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
37905 $(test-program-cmd).
37906 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
37907 (test_program_prefix): This.
37908 * stdio-common/tst-unbputc.sh: Likewise.
37909 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
37910 $(run-program-prefix) with $(test-program-prefix).
37911 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
37912 (test_program_prefix): This.
37913 * string/Makefile ($(objpfx)tst-svc.out): Replace
37914 $(built-program-cmd) with $(test-program-cmd).
37915
c6fe55cf
AJ
379162013-01-11 Andreas Jaeger <aj@suse.de>
37917
37918 [BZ #15003]
37919 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
37920 value. Sync with Linux 3.7.
37921
9e6919c8
DM
379222013-01-10 David S. Miller <davem@davemloft.net>
37923
37924 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
37925 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37926 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37927
1c9f1a02
RM
379282013-01-10 Roland McGrath <roland@hack.frob.com>
37929
37930 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
37931 never set.
37932 * configure: Regenerated.
37933
b9de2dde
DM
379342013-01-10 David S. Miller <davem@davemloft.net>
37935
37936 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37937 sparc V9 rather than using V8 code.
37938 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37939 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37940
e7f68ef4
RM
379412013-01-10 Roland McGrath <roland@hack.frob.com>
37942
37943 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
37944 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
37945 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
37946 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
37947 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
37948 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
37949 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
37950 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
37951 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
37952 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
37953 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
37954 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
37955 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
37956 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
37957 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
37958 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
37959 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
37960 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
37961 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
37962 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
37963 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
37964 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
37965 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
37966 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
37967 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
37968 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
37969 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
37970
5a47cc9c
DM
379712013-01-10 David S. Miller <davem@davemloft.net>
37972
37973 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37974
4cf8f209
L
379752013-01-10 H.J. Lu <hongjiu.lu@intel.com>
37976
37977 * posix/Makefile (tests-static): New variable.
37978 (tests): Add $(tests-static).
37979 (tst-exec-static-ARGS): New variable.
37980 (tst-spawn-static-ARGS): Likewise.
37981 * posix/tst-exec-static.c: New file.
37982 * posix/tst-spawn-static.c: Likewise.
37983 * posix/tst-exec.c: Support run directly.
37984 * posix/tst-spawn.c: Likewise.
37985
fed0faa1
JM
379862013-01-10 Joseph Myers <joseph@codesourcery.com>
37987
828beb13
JM
37988 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
37989 long.
37990 * math/bits/mathcalls.h (llrint): Likewise.
37991 (llround): Likewise.
37992 * stdlib/stdlib.h (struct drand48_data): Likewise.
37993 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
37994 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
37995 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
37996 Likewise.
37997 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
37998 Likewise.
37999 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
38000 (elf_greg_t): Likewise.
38001 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
38002 (__jmp_buf): Likewise.
38003 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
38004 definitions.
38005 (llrint): Likewise, for all definitions.
38006 (llrintl): Likewise.
38007
fed0faa1
JM
38008 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
38009 Remove [__GNUC__] condition.
38010 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
38011 condition to just [__USE_ISOC99].
38012 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
38013
1a20cb20
L
380142013-01-10 H.J. Lu <hongjiu.lu@intel.com>
38015
38016 [BZ #14200]
38017 * sysdeps/unix/sysv/linux/x86/bits/environments.h
38018 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
38019 defined.
38020 (_POSIX_V6_ILP32_OFF32): Likewise.
38021 (_XBS5_ILP32_OFF32): Likewise.
38022 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
38023 (__ILP32_OFFBIG_LDFLAGS): Likewise.
38024
751b85f7
SP
380252013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38026
7490eb81
SP
38027 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
38028
751b85f7
SP
38029 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
38030 doubles __mpexp_twomm1. Adjust usage.
38031 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
38032 Remove.
38033
988197f0
AS
380342013-01-10 Andreas Schwab <schwab@suse.de>
38035
38036 [BZ #14964]
38037 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
38038 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
38039
e83d7298
DM
380402013-01-09 David S. Miller <davem@davemloft.net>
38041
034ed64b 38042 [BZ #15003]
57f41c40
AS
38043 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
38044 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
38045 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
38046 (TCP_FASTOPEN): Define.
e83d7298
DM
38047 (tcp_repair_opt): New structure.
38048 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
38049 enum values.
57f41c40
AS
38050 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
38051 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
38052 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
38053 (tcp_cookie_transactions): New structure.
38054
d5e0b9bd
AB
380552013-01-09 Anton Blanchard <anton@samba.org>
38056
38057 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
38058 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
38059 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
38060 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
38061
0c07e3ea
JM
380622013-01-09 Joseph Myers <joseph@codesourcery.com>
38063
38064 * include/features.h (__USE_ANSI): Remove.
38065
232f7002
RM
380662013-01-09 Roland McGrath <roland@hack.frob.com>
38067
ad98e30c
RM
38068 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
38069
232f7002
RM
38070 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
38071
950c99ca
SP
380722013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
38073
b5792741
SP
38074 * sysdeps/s390/fpu/libm-test-ulps: Update.
38075
47cf2278
SP
38076 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38077
950c99ca
SP
38078 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
38079 (__acr): Likewise.
38080 (__cpy): Likewise.
38081 (norm): Likewise.
38082 (denorm): Likewise.
38083 (__mp_dbl): Likewise.
38084 (__dbl_mp): Likewise.
38085 (add_magnitudes): Likewise.
38086 (sub_magnitudes): Likewise.
38087 (__add): Likewise.
38088 (__sub): Likewise.
38089 (__mul): Likewise.
38090 (__inv): Likewise.
38091 (__dvd): Likewise.
38092 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
38093 (__acr): Likewise.
38094 (__cpy): Likewise.
38095 (norm): Likewise.
38096 (denorm): Likewise.
38097 (__mp_dbl): Likewise.
38098 (__dbl_mp): Likewise.
38099 (add_magnitudes): Likewise.
38100 (sub_magnitudes): Likewise.
38101 (__add): Likewise.
38102 (__sub): Likewise.
38103 (__mul): Likewise.
38104 (__inv): Likewise.
38105 (__dvd): Likewise.
38106 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
38107 (__acr): Likewise.
38108 (__cpy): Likewise.
38109 (norm): Likewise.
38110 (denorm): Likewise.
38111 (__mp_dbl): Likewise.
38112 (__dbl_mp): Likewise.
38113 (add_magnitudes): Likewise.
38114 (sub_magnitudes): Likewise.
38115 (__add): Likewise.
38116 (__sub): Likewise.
38117 (__mul): Likewise.
38118 (__inv): Likewise.
38119 (__dvd): Likewise.
38120
eede9df9
JM
381212013-01-08 Joseph Myers <joseph@codesourcery.com>
38122
38123 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
38124 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
38125 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
38126 2 && __USE_EXTERN_INLINES]: Likewise.
38127
c40ea3d9
AJ
381282013-01-08 Andreas Jaeger <aj@suse.de>
38129
38130 [BZ# 14985]
38131 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
38132 Remove.
38133 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38134 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38135
2ccdea26
AB
381362013-01-07 Anton Blanchard <anton@samba.org>
38137
38138 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
38139 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
38140 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
38141 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
38142 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
38143 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38144 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
38145 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38146 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38147 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38148 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38149 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38150 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38151 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38152 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
38153 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38154 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38155 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38156 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
38157 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
38158 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
38159 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
38160 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38161 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38162 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
38163 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
38164 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38165 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
38166 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
38167 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38168 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
38169 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38170 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38171 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38172 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38173 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38174 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38175 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38176 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
38177 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
38178 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
38179 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38180 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38181
a9708fed
JM
381822013-01-07 Joseph Myers <joseph@codesourcery.com>
38183
375607b9
JM
38184 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
38185 (__MALLOC_PMT): Likewise.
38186 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
38187 [__GNUC__], only on [_LIBC].
38188 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38189 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
38190 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38191 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
38192 forward declaration.
38193 (realloc_hook_ini): Likewise.
38194 (memalign_hook_ini): Likewise.
38195 (__libc_memalign): Do not use __MALLOC_PMT in variable
38196 declaration.
38197 (__libc_valloc): Likewise.
38198 (__libc_pvalloc): Likewise.
38199 (__libc_calloc): Likewise.
38200 (__posix_memalign): Likewise.
38201
a9708fed
JM
38202 [BZ #14996]
38203 * math/s_casinh.c: Include <float.h>.
38204 (__casinh): Do not do computation with squaring and square root
38205 for large arguments.
38206 * math/s_casinhf.c: Include <float.h>.
38207 (__casinhf): Do not do computation with squaring and square root
38208 for large arguments.
38209 * math/s_casinhl.c: Include <float.h>.
38210 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
38211 (__casinhl): Do not do computation with squaring and square root
38212 for large arguments.
38213 * math/libm-test.inc (casin_test): Add more tests.
38214 (casinh_test): Likewise.
38215 * sysdeps/i386/fpu/libm-test-ulps: Update.
38216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38217
afec409a
L
382182013-01-04 H.J. Lu <hongjiu.lu@intel.com>
38219
38220 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
38221 (__x86_64_raw_data_cache_size): Likewise.
38222 (__x86_64_data_cache_size_half): Likewise.
38223 (__x86_64_raw_data_cache_size_half): Likewise.
38224 (__x86_64_shared_cache_size): Likewise.
38225 (__x86_64_raw_shared_cache_size): Likewise.
38226 (__x86_64_shared_cache_size_half): Likewise.
38227 (__x86_64_raw_shared_cache_size_half): Likewise.
38228 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
38229 to ...
38230 (__x86_data_cache_size): This.
38231 (__x86_64_raw_data_cache_size): Renamed to ...
38232 (__x86_raw_data_cache_size): This.
38233 (__x86_64_data_cache_size_half): Renamed to ...
38234 (__x86_data_cache_size_half): This.
38235 (__x86_64_raw_data_cache_size_half): Renamed to ...
38236 (__x86_raw_data_cache_size_half): This.
38237 (__x86_64_shared_cache_size): Renamed to ...
38238 (__x86_shared_cache_size): This.
38239 (__x86_64_raw_shared_cache_size): Renamed to ...
38240 (__x86_raw_shared_cache_size): This.
38241 (__x86_64_shared_cache_size_half): Renamed to ...
38242 (__x86_shared_cache_size_half): This.
38243 (__x86_64_raw_shared_cache_size_half): Renamed to ...
38244 (__x86_raw_shared_cache_size_half): This.
38245 * sysdeps/x86_64/memcpy.S: Updated.
38246 * sysdeps/x86_64/memset.S: Likewise.
38247 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38248 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38249 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38250
0b3986d0
DM
382512013-01-04 David S. Miller <davem@davemloft.net>
38252
38253 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38254
e47686e9
AS
382552013-01-04 Andreas Schwab <schwab@linux-m68k.org>
38256
d643bac1
AS
38257 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
38258 1 to avoid redefinition warning.
38259 (__USE_GNU): Don't define.
38260 (init_signaling_nan): Protoize.
38261
e47686e9
AS
38262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38263
b18decba
SP
382642013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
38265
fffb407f
SP
38266 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
38267 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
38268 (__cpymn): Likewise.
38269 (norm): Remove commented code.
38270 (denorm): Likewise.
38271 (__mp_dbl): Likewise.
38272 (__inv): Likewise.
38273 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
38274 (__cpymn): Likewise.
38275 (norm): Remove commented code.
38276 (denorm): Likewise.
38277 (__mp_dbl): Likewise.
38278 (__inv): Likewise.
38279
b18decba
SP
38280 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
38281 mp_no value for 1.0 and 2.0.
38282 (norm): Use RADIXI instead of radixi.d.
38283 (denorm): Likewise.
38284 (__mul): Use 0.0 instead of zero.d.
38285 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
38286 mp_no value for 1.0 and 2.0.
38287 (norm): Use RADIXI instead of radixi.d.
38288 (denorm): Likewise.
38289 (__mul): Use 0.0 instead of zero.d.
38290
cdc1c96f
JM
382912013-01-04 Joseph Myers <joseph@codesourcery.com>
38292
38293 [BZ #14994]
38294 * math/s_casinh.c (__casinh): Reduce finite argument to first
38295 quadrant then set signs of results at the end.
38296 * math/s_casinhf.c (__casinhf): Likewise.
38297 * math/s_casinhl.c (__casinhl): Likewise.
38298 * math/libm-test.inc (casin_test): Add more tests.
38299 (casinh_test): Likewise.
38300 * sysdeps/i386/fpu/libm-test-ulps: Update.
38301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38302
302913e1
SP
383032013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
38304
6420d207
SP
38305 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
38306
a9e48ab4
SP
38307 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
38308
b7837264
SP
38309 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
38310 declarations.
38311 (denorm): Likewise.
38312 (__mp_dbl): Likewise.
38313 (__inv): Likewise.
38314
f8af25d2
SP
38315 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
38316 and adjust the header comment.
38317
302913e1
SP
38318 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
38319 variable name from declaration.
38320
5d7dd1ca
L
383212013-01-03 H.J. Lu <hongjiu.lu@intel.com>
38322
38323 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38324 Initialize COMMON_CPUID_INDEX_7 element.
38325 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
38326 (CPUID_RTM): Likewise.
38327 (HAS_RTM): Likewise.
38328 (COMMON_CPUID_INDEX_7): New enum.
38329
2f5f40f4
AS
383302013-01-03 Andreas Schwab <schwab@linux-m68k.org>
38331
38332 [BZ #14981]
38333 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
38334 size is zero, record memory as freed.
38335
4056f4a0
AJ
383362013-01-03 Andreas Jaeger <aj@suse.de>
38337
38338 * po/ia.po: Add new Interlingua translation.
38339
ab15736f 383402012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
38341
38342 * locale/programs/localedef.c: Fix description of '--posix' flag.
38343
568035b7
JM
383442013-01-02 Joseph Myers <joseph@codesourcery.com>
38345
e6898b8d
JM
38346 * NEWS: Update dates in second copyright notice.
38347 * README: Update copyright dates in example.
38348 * manual/libc.texinfo: Update copyright dates.
38349 * scripts/test-installation.pl: Update copyright date in --version
38350 output.
38351
0e2f9562
JM
38352 * hurd/ctty-input.c: Fix copyright notice formatting.
38353 * hurd/ctty-output.c: Likewise.
38354 * hurd/dtable.c: Likewise.
38355 * hurd/hurd-raise.c: Likewise.
38356 * hurd/hurdprio.c: Likewise.
38357 * hurd/msgportdemux.c: Likewise.
38358 * misc/sys/file.h: Likewise.
38359 * misc/sys/ioctl.h: Likewise.
38360 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
38361 * sysdeps/mach/hurd/chdir.c: Likewise.
38362 * sysdeps/mach/hurd/fchdir.c: Likewise.
38363 * sysdeps/mach/hurd/rename.c: Likewise.
38364 * sysdeps/mach/hurd/rmdir.c: Likewise.
38365 * sysdeps/mach/hurd/seekdir.c: Likewise.
38366 * sysdeps/mach/hurd/setsid.c: Likewise.
38367 * sysdeps/posix/wait3.c: Likewise.
38368
568035b7
JM
38369 * All files with FSF copyright notices: Update copyright dates
38370 using scripts/update-copyrights.
38371 * intl/plural.c: Regenerated.
38372 * locale/programs/charmap-kw.h: Likewise.
38373 * locale/programs/locfile-kw.h: Likewise.
38374
da08f647
SP
383752013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
38376
0f5477af
SP
38377 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
38378 four values.
38379
44e0d4c2
SP
38380 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
38381 calculation loop and add branch prediction.
38382
4d55b4e5
SP
38383 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
38384 check access beyond bounds of m1np.
38385
da08f647
SP
38386 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38387 MPTWO.
38388 (__inv): Remove local variable MPTWO to use the global
38389 constant.
38390 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
38391 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38392 variable MPTWO.
38393 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
38394 MP3HALFS static const.
38395
8e051029
DM
383962013-01-01 David S. Miller <davem@davemloft.net>
38397
38398 * po/ca.po: Update from translation team.
38399
f4cf5f2d
JM
384002013-01-01 Joseph Myers <joseph@codesourcery.com>
38401
38402 * scripts/update-copyrights: New file.
38403 * Makeconfig: Reformat copyright notice.
38404 * ctype/ctype.h: Likewise.
38405 * debug/swprintf_chk.c: Likewise.
38406 * elf/dl-cache.c: Likewise.
38407 * elf/dl-debug.c: Likewise.
38408 * elf/dl-object.c: Likewise.
38409 * grp/initgroups.c: Likewise.
38410 * hurd/Makefile: Likewise.
38411 * hurd/hurd/signal.h: Likewise.
38412 * hurd/hurdfault.c: Likewise.
38413 * hurd/hurdioctl.c: Likewise.
38414 * hurd/hurdlookup.c: Likewise.
38415 * hurd/intr-msg.c: Likewise.
38416 * iconv/gconv_open.c: Likewise.
38417 * libio/swprintf.c: Likewise.
38418 * locale/lc-ctype.c: Likewise.
38419 * locale/nl_langinfo.c: Likewise.
38420 * mach/Machrules: Likewise.
38421 * mach/Makefile: Likewise.
38422 * malloc/obstack.h: Likewise.
38423 * manual/Makefile: Likewise.
38424 * manual/tsort.awk: Likewise.
38425 * misc/bits/stab.def: Likewise.
38426 * nis/nis_print_group_entry.c: Likewise.
38427 * nis/nis_table.c: Likewise.
38428 * nis/nss_compat/compat-pwd.c: Likewise.
38429 * nis/nss_compat/compat-spwd.c: Likewise.
38430 * po/Makefile: Likewise.
38431 * posix/fnmatch.c: Likewise.
38432 * posix/regex.h: Likewise.
38433 * resolv/Makefile: Likewise.
38434 * resolv/nss_dns/dns-network.c: Likewise.
38435 * resolv/res_hconf.c: Likewise.
38436 * scripts/gen-sorted.awk: Likewise.
38437 * soft-fp/soft-fp.h: Likewise.
38438 * stdio-common/printf.h: Likewise.
38439 * stdlib/monetary.h: Likewise.
38440 * stdlib/random.c: Likewise.
38441 * stdlib/random_r.c: Likewise.
38442 * sysdeps/generic/Makefile: Likewise.
38443 * sysdeps/gnu/Makefile: Likewise.
38444 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38445 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38446 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38447 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38448 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38449 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38450 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38451 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38452 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38453 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38454 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38455 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38456 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38457 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38458 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
38459 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38460 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38461 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38462 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38463 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38464 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38465 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38466 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38467 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
38468 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
38469 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38470 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
38471 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
38472 * sysdeps/mach/hurd/errnos.awk: Likewise.
38473 * sysdeps/mach/hurd/fork.c: Likewise.
38474 * sysdeps/mach/hurd/getcwd.c: Likewise.
38475 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
38476 * sysdeps/mach/hurd/mmap.c: Likewise.
38477 * sysdeps/mach/hurd/utimes.c: Likewise.
38478 * sysdeps/mach/hurd/xmknod.c: Likewise.
38479 * sysdeps/posix/profil.c: Likewise.
38480 * sysdeps/posix/readdir_r.c: Likewise.
38481 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38482 * sysdeps/powerpc/bits/setjmp.h: Likewise.
38483 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
38484 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38485 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38486 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38487 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38488 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38489 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38490 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38491 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38492 * sysdeps/pthread/lio_listio.c: Likewise.
38493 * sysdeps/sparc/dl-procinfo.h: Likewise.
38494 * sysdeps/unix/i386/sysdep.S: Likewise.
38495 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
38496 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
38497 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
38498 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
38499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38500 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
38501 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
38502 * sysdeps/unix/sysv/linux/speed.c: Likewise.
38503 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
38504 * sysdeps/wordsize-32/divdi3.c: Likewise.
38505 * time/sys/time.h: Likewise.
38506 * wcsmbs/Makefile: Likewise.
38507
0549fbba
DM
385082013-01-01 David S. Miller <davem@davemloft.net>
38509
a141f1a7
DM
38510 * po/fr.po: Update from translation team.
38511
0549fbba
DM
38512 * catgets/gencat.c: Update copyright year.
38513 * csu/version.c: Likewise.
38514 * debug/catchsegv.sh: Likewise.
38515 * debug/pcprofiledump.c: Likewise.
38516 * debug/xtrace.sh: Likewise.
38517 * elf/ldconfig.c: Likewise.
38518 * elf/ldd.bash.in: Likewise.
38519 * elf/pldd.c: Likewise.
38520 * elf/sotruss.ksh: Likewise.
38521 * elf/sprof.c: Likewise.
38522 * iconv/iconv_prog.c: Likewise.
38523 * iconv/iconvconfig.c: Likewise.
38524 * locale/programs/locale.c: Likewise.
38525 * locale/programs/localedef.c: Likewise.
38526 * login/programs/pt_chown.c: Likewise.
38527 * malloc/memusage.sh: Likewise.
38528 * malloc/memusagestat.c: Likewise.
38529 * malloc/mtrace.pl: Likewise.
38530 * nscd/nscd.c: Likewise.
38531 * nss/getent.c: Likewise.
38532 * nss/makedb.c: Likewise.
38533 * posix/getconf.c: Likewise.
38534
18ea052c
SP
385352012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38536
38537 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
38538 numbers.
38539
9c89fca6
MF
385402012-12-30 Mike Frysinger <vapier@gentoo.org>
38541
38542 * math/bits/mathcalls.h (modf): Use __nonnull.
38543
085ec079
SP
385442012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38545
38546 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
38547 (split): Use macro CN instead of the bare value.
38548 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
38549 could be used.
38550 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
38551 instead of the bare value.
38552 (power1): Likewise.
38553
6d9f97e1
SP
385542012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38555
d63f73be
SP
38556 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
38557 __ATAN_TWOM.
38558 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38559
6d9f97e1
SP
38560 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
38561 their values.
38562 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38563 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38564 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
38565 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38566
4c4febf5
AJ
385672012-12-28 Andreas Jaeger <aj@suse.de>
38568
af5843ef
AJ
38569 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
38570 values are from Linux 3.7.
38571
4c4febf5
AJ
38572 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
38573 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
38574
99136f82
SP
385752012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38576
2f216c3c 38577 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
38578 TRUE case.
38579
99136f82
SP
38580 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
38581 (norm): Likewise.
38582 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
38583 variables with preprocessor constants.
38584 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38585 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38586 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38587
7fffbdff
BH
385882012-12-27 Bruno Haible <bruno@clisp.org>
38589
38590 [BZ #14317]
38591 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
38592 only if needed.
38593
b76eb5f0
SP
385942012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
38595
31a7fe5c
SP
38596 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
38597 and use variable directly.
38598 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
38599
b76eb5f0
SP
38600 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38601 MPONE.
38602 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
38603 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38604 variable MPONE.
38605 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38606 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38607 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
38608 include directive. Remove local variable MPONE.
38609 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
38610 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
38611 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38612
2c8bfe7d
DM
386132012-12-25 David S. Miller <davem@davemloft.net>
38614
38615 * version.h (RELEASE): Set to "development".
38616 (VERSION): Set to "2.17.90".
38617 * NEWS: Add 2.18 section.
38618
147d03b0
DM
386192012-12-21 David S. Miller <davem@davemloft.net>
38620
38621 * po/hr.po: Update from translation team.
38622
a8ebb2b9
AK
386232012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38624
38625 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
38626
95b4f1b6
SE
386272012-12-19 Steve Ellcey <sellcey@mips.com>
38628
b2d94007 38629 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 38630
cedb2a90
MS
386312012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38632
38633 * manual/contrib.texi (Contributors): Spelling correction.
38634
bbf527d6
DM
386352012-12-15 David S. Miller <davem@davemloft.net>
38636
38637 * po/ru.po: Update from translation team.
38638
bc38c906
DM
386392012-12-13 David S. Miller <davem@davemloft.net>
38640
85429b1a
DM
38641 * NEWS: Mention IFUNC testsuite enhancements.
38642
d283e353
DM
38643 * po/pl.po: Update from translation team.
38644 * po/bg.po: Likewise.
38645
bc38c906
DM
38646 * manual/contrib.texi (Contributors): Update entries for Hongjiu
38647 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
38648
a181b0d7
DM
386492012-12-11 David S. Miller <davem@davemloft.net>
38650
4641d57e
DM
38651 * po/sv.po: Update from translation team.
38652
f7bc6495
DM
38653 * po/vi.po: Update from translation team.
38654
6fc9048f
DM
38655 * po/cs.po: Update from translation team.
38656
a181b0d7
DM
38657 * po/de.po: Update from translation team.
38658 * po/eo.po: Likewise.
38659 * po/nl.po: Likewise.
38660
f70bfe80
SP
386612012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
38662
3c8b4190
SP
38663 [BZ #14246]
38664 * manual/argp.texi (Argp Helper Functions): Move node to follow
38665 Argp Parsing State.
38666
f70bfe80
SP
38667 [BZ #14872]
38668 * manual/conf.texi (Limits on File System Capacity): Mention if
38669 terminating null is included in the max size.
38670
188f0adf
AJ
386712012-12-10 Andreas Jaeger <aj@suse.de>
38672
38673 * po/cs.po: Update from translation team.
38674
56e7d3ad
SP
386752012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
38676
38677 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
38678 void pointer and cast to uintptr_t.
38679 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
38680 path.
38681 * sysdeps/s390/s390-64/memcpy.S: Likewise.
38682 * sysdeps/s390/s390-64/memset.S: Likewise.
38683
76f2d2ea 386842012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
38685
38686 [BZ #14833]
38687 * menual/message.texi (Message Translation): Fix typos.
38688 (Helper programs for gettext): Likewise.
38689
67cbf9a2
AS
386902012-12-07 Andreas Schwab <schwab@linux-m68k.org>
38691
38692 [BZ #14898]
38693 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
38694 Change to -1.
38695
682d0e9a
DM
386962012-12-07 David S. Miller <davem@davemloft.net>
38697
38698 * po/libc.pot: Update.
38699
573cd484
RH
387002012-12-07 Richard Henderson <rth@redhat.com>
38701
7e9da188 38702 [BZ #10114]
573cd484
RH
38703 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
38704 normal/normal case to before the switch.
38705 (_FP_DIV): Likewise.
38706
e933a943
MF
387072012-12-06 Carlos O'Donell <carlos@systemhalted.org>
38708 Mike Frysinger <vapier@gentoo.org>
38709
38710 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
38711 check for __NR_fadvise64_64.
38712
82123268
CM
387132012-12-06 Chris Metcalf <cmetcalf@tilera.com>
38714
38715 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
38716 0, not just to plain "0" as a statement.
38717 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
38718 with cw.
38719
d9814526
JM
387202012-12-06 Joseph Myers <joseph@codesourcery.com>
38721
38722 * NEWS: Use sourceware.org in Bugzilla URL.
38723
7728c574
SP
387242012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
38725
f16946dd
SP
38726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
38727 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38728
5704bbcb
SP
38729 * stdio-common/tst-put-error.c (do_test): Add newline to the
38730 padded test to ensure flush.
38731
17aa0516
JL
387322012-12-05 Jeff Law <law@redhat.com>
38733
38734 * sunrpc/etc.rpc (fedfs_admin): Add entry.
38735
363313b5
JM
387362012-12-05 Joseph Myers <joseph@codesourcery.com>
38737
effbd42a
JM
38738 * README: Don't refer to ports add-on as distributed separately.
38739 Mention AArch64 in list of systems supported in the ports add-on.
38740
87600365
JM
38741 * LICENSES: Add more non-FSF copyright and license notices.
38742
a0d7066a
JM
38743 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
38744 ((unused)).
38745
66ca5a5b
JM
38746 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
38747
363313b5
JM
38748 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
38749 10000 as width of padded output.
38750
b37984ad
JM
387512012-12-04 Joseph Myers <joseph@codesourcery.com>
38752
9003570a
JM
38753 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
38754
b37984ad
JM
38755 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
38756 variable LX with __attribute__ ((unused)).
38757 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38758 Likewise.
38759 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
38760 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38761 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
38762 with __attribute__ ((unused)).
38763
c8df52ec
DM
387642012-12-04 David S. Miller <davem@abraco.davemloft.net>
38765
38766 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
38767
b3b099af
JM
387682012-12-04 Joseph Myers <joseph@codesourcery.com>
38769
c33aa6e3
JM
38770 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
38771 (CFLAGS-nldbl-acos.c): New variable.
38772 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
38773 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
38774 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
38775 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
38776 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
38777 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
38778 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
38779 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
38780 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
38781 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
38782 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
38783 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
38784 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
38785 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
38786 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
38787 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
38788 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
38789 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
38790 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
38791 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
38792 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
38793 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
38794 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
38795 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
38796 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
38797 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
38798 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
38799 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
38800 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
38801 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
38802 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
38803 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
38804 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
38805 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
38806 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
38807 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
38808 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
38809 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
38810 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
38811 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
38812 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
38813 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
38814 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
38815 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
38816 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
38817 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
38818 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
38819 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
38820 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
38821 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
38822 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
38823 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
38824 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
38825 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
38826 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
38827 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
38828 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
38829 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
38830 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
38831 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
38832 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
38833 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
38834 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
38835 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
38836 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
38837 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
38838 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
38839 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
38840 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
38841 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
38842 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
38843 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
38844 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
38845 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
38846 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
38847 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
38848 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
38849 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
38850 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
38851 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
38852 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
38853 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
38854 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
38855 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
38856 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
38857 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
38858 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
38859 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
38860 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
38861 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
38862 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
38863 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
38864 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
38865 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
38866 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
38867 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
38868 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
38869
20f0018d
JM
38870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38871 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38872
b3b099af
JM
38873 [BZ #14914]
38874 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
38875 whole low double instead of just low 47 bits when splitting values
38876 into two parts.
38877
029264d1
AM
388782012-12-03 Allan McRae <allan@archlinux.org>
38879
38880 * manual/stdio.texi (Predefined Printf Handlers): Remove
38881 @hsep and @vsep usage.
38882
c9d6789e
MF
388832012-12-03 Mike Frysinger <vapier@gentoo.org>
38884
38885 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
38886 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
38887
4b7634a5
JL
388882012-12-03 Jeff Law <law@redhat.com>
38889
38890 * time/sys/time.h (settimeofday): Do not mark TV argument
38891 as __nonnull.
38892
eb6cbd24
MF
388932012-12-01 Mike Frysinger <vapier@gentoo.org>
38894
38895 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
38896 when currently writing and seek to current position when not.
38897 * libio/Makefile (tests): Remove bug-fclose1.
38898 * libio/bug-fclose1.c: Delete.
38899
f638872a
JM
389002012-12-01 Joseph Myers <joseph@codesourcery.com>
38901
38902 * manual/arith.texi (feenableexcept): Fix typo.
38903 (fedisableexcept): Likewise.
38904
48085d14
RM
389052012-11-30 Roland McGrath <roland@hack.frob.com>
38906
38907 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
38908 second, differently-typed declaration, rather than a cast.
38909
1a538b9f
SP
389102012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38911
38912 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
38913 * include/rpc/svc.h: ... here.
38914
d07f2ff1 389152012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
38916
38917 [BZ #13013]
38918 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
38919 depending n and resplen2 to catch cases where answer
38920 equals answerp2.
38921
c93ec1f0
CD
389222012-11-29 Carlos O'Donell <carlos@systemhalted.org>
38923
38924 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
38925 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
38926
37db69de
MF
389272012-11-29 Mike Frysinger <vapier@gentoo.org>
38928
38929 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
38930
e10c4e4f
RM
389312012-11-29 Roland McGrath <roland@hack.frob.com>
38932
38933 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
38934
2af1b328
JL
389352012-11-28 Jeff Law <law@redhat.com>
38936
38937 [BZ #13761]
38938 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
38939 dataset_temporary. Track alloca usage into alloca_used.
38940 If dataset is large allocate and release it via malloc/free.
38941
111db5b1
FW
389422012-06-04 Florian Weimer <fweimer@redhat.com>
38943
f06cc227 38944 [BZ #14197]
111db5b1
FW
38945 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
38946
dd694abd
DM
389472012-11-28 David S. Miller <davem@davemloft.net>
38948
38949 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38950
9984dd01
JM
389512012-11-28 Joseph Myers <joseph@codesourcery.com>
38952
38953 [BZ #14803]
38954 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
38955 of pi/2 rounded to nearest to 64 bits.
38956 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
38957 nearest to 64 bits.
38958 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
38959 bits.
38960
14bc93a9
JL
389612012-11-28 Jeff Law <law@redhat.com>
38962 Martin Osvald <mosvald@redhat.com>
38963
38964 [BZ #14889]
38965 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
38966 * sunrpc/svc.c: Include time.h.
38967 (__svc_accept_failed): New function.
38968 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
38969 any reason other than EINTR, call __svc_accept_failed.
38970 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
38971 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
38972
e3c6aa3a
AS
389732012-11-28 Andreas Schwab <schwab@suse.de>
38974
38975 * scripts/abilist.awk: Also handle indirect functions in .opd
38976 section.
38977
1bead169
JM
389782012-11-28 Joseph Myers <joseph@codesourcery.com>
38979
38980 [BZ #13881]
38981 * sysdeps/x86/fpu/powl_helper.c: New file.
38982 * sysdeps/x86/fpu/Makefile: Likewise.
38983 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
38984 (p3): New object.
38985 (__ieee754_powl): Use __powl_helper for finite arguments except
38986 integer exponents below 8.
38987 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
38988 (p3): New object.
38989 (__ieee754_powl): Use __powl_helper for finite arguments except
38990 integer exponents below 8.
38991 * math/libm-test.inc (pow_test): Add more tests and enable some
38992 previously disabled tests.
38993 * sysdeps/i386/fpu/libm-test-ulps: Update.
38994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38995
0817d63d
SP
389962012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38997 Carlos O'Donell <carlos_odonell@mentor.com>
38998
38999 * nss/makedb.c (is_prime): Assert that input is odd and greater
39000 than 4. Note that fact in a comment too.
39001 (next_prime): Add 4 to input.
39002
de2fd463
SP
390032012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
39004
39005 [BZ #11741]
39006 * libio/Makefile (tests): Add test case tst-fwrite-error.
39007 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
39008 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
39009 * libio/tst-fwrite-error.c: New test case.
39010
c515fb51
L
390112012-11-26 H.J. Lu <hongjiu.lu@intel.com>
39012
39013 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
39014 before casting to void *.
39015 * include/libc-internal.h (__pointer_type): New macro.
39016 (__integer_if_pointer_type_sub): Likewise.
39017 (__integer_if_pointer_type): Likewise.
39018 (cast_to_integer): Likewise.
39019 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
39020 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
39021 before casting to atomic64_t.
39022 (atomic_exchange_acq): Likewise.
39023 (__arch_exchange_and_add_body): Likewise.
39024 (__arch_add_body): Likewise.
39025 (atomic_add_negative): Likewise.
39026 (atomic_add_zero): Likewise.
39027
4cf77aa9
JM
390282012-11-26 Joseph Myers <joseph@codesourcery.com>
39029
39030 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
39031 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
39032 (add_fdes): Likewise.
39033 (linear_search_fdes): Likewise.
39034 (binary_search_unencoded_fdes): Likewise.
39035
d260b3b4
AS
390362012-11-26 Andreas Schwab <schwab@linux-m68k.org>
39037
39038 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
39039
67060746
AC
390402012-11-24 Adam Conrad <adconrad@0c3.net>
39041
39042 * configure.in: Autodetect C++ header directories.
39043 * configure: Regenerated.
39044
800938a1
MF
390452012-11-23 Mike Frysinger <vapier@gentoo.org>
39046
39047 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
39048
4e6e34e6
AS
390492012-11-23 Andreas Schwab <schwab@linux-m68k.org>
39050
39051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39052
7c7feb47
JM
390532012-11-22 Joseph Myers <joseph@codesourcery.com>
39054
7184dcdf
JM
39055 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
39056 LDBL_MANT_DIG == 106]: Disable some tests.
39057 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39058 Likewise.
39059 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39060 Likewise.
39061
0a42601f
JM
39062 [BZ #14871]
39063 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
39064 input for small inputs. Return +/- pi/2 for large inputs.
39065 * math/libm-test.inc (atan_test): Add more tests.
39066
79c9b9fe
JM
39067 * sysdeps/generic/unwind-dw2-fde-glibc.c
39068 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
39069 __attribute__ ((unused)).
39070
c60d3bf2
JM
39071 [BZ #14645]
39072 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
39073 x * y if x and y are nonzero and z is zero.
39074
ef1e0867
JM
39075 [BZ #14811]
39076 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
39077 nonzero exponents with absolute value below 0x1p-117 to +/-
39078 0x1p-117.
39079
1468ded3
JM
39080 [BZ #14869]
39081 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
39082 up arguments below 2**-450, not just those below 2**-500.
39083 * math/libm-test.inc (hypot_test): Add another test.
39084
8e27e3cc
JM
39085 [BZ #14868]
39086 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
39087 Return a+b for ratio over 2**120, not 2**60.
39088 * math/libm-test.inc (hypot_test): Add another test.
39089
c9c0279b
JM
39090 * math/libm-test.inc (clog_test): Use
39091 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
39092 (clog10_test): Likewise.
39093
7c7feb47
JM
39094 [BZ #6778]
39095 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
39096
fff1530e
AS
390972012-11-22 Andreas Schwab <schwab@suse.de>
39098
39099 * sysdeps/i386/fpu/libm-test-ulps: Update.
39100
94558d30
PT
391012012-11-22 Pino Toscano <toscano.pino@tiscali.it>
39102
39103 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
39104 printf output with newline.
39105
7e1be741
L
391062012-11-21 H.J. Lu <hongjiu.lu@intel.com>
39107
6bfea974
L
39108 [BZ #14865]
39109 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
39110 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
39111 -z nodlopen, -z initfirst and -z execstack support.
39112 * configure: Regenerated.
39113
7e1be741
L
39114 * elf/elf.h (DF_1_NODIRECT): New macro.
39115 (DF_1_IGNMULDEF): Likewise.
39116 (DF_1_NOKSYMS): Likewise.
39117 (DF_1_NOHDR): Likewise.
39118 (DF_1_EDITED): Likewise.
39119 (DF_1_NORELOC): Likewise.
39120 (DF_1_SYMINTPOSE): Likewise.
39121 (DF_1_GLOBAUDIT): Likewise.
39122 (DF_1_SINGLETON): Likewise.
39123 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
39124 DT_1_SUPPORTED_MASK bits.
39125 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
39126
105ce2ce
CD
391272012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
39128
39129 * sysdeps/unix/make-syscalls.sh: Document prefixes.
39130
123be9de
TS
391312012-11-20 Thomas Schwinge <thomas@codesourcery.com>
39132
d072f3f7
TS
39133 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
39134 macro.
39135
123be9de
TS
39136 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
39137 (sendmmsg): Move declarations...
39138 * socket/sys/socket.h: ... here.
39139 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
39140 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
39141 include it from...
39142 * socket/recvmmsg.c: ... this new file.
39143 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
39144 (sendmmsg): Rename to __sendmmsg, create weak alias and make
39145 definition of __sendmmsg hidden.
39146 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
39147 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
39148 Move ENOSYS stub into and include it from...
39149 * socket/sendmmsg.c: ... this new file.
39150 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
39151 (sysdep_routines): Move recvmmsg and sendmmsg...
39152 * socket/Makefile (routines): ... here.
39153 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
39154 (GLIBC_PRIVATE): Add __sendmmsg.
39155 * include/sys/socket.h (__sendmmsg): Add declarations.
39156 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
39157 sendmmsg.
39158
cf9a5d18
JM
391592012-11-20 Joseph Myers <joseph@codesourcery.com>
39160
39161 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
39162 variable I1 with __attribute__ ((unused)).
39163 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39164
ecd4caf9
JM
391652012-11-19 Joseph Myers <joseph@codesourcery.com>
39166
be14d48f
JM
39167 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
39168 DUMMY variables with __attribute__ ((unused)).
39169
ecd4caf9
JM
39170 * bits/byteswap.h: Include <bits/types.h>.
39171 (__bswap_64): Use __uint64_t instead of unsigned long long int.
39172
986cab95
PT
391732012-11-19 Pino Toscano <toscano.pino@tiscali.it>
39174
39175 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
39176 string_t. Do not manually set errno.
39177 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
39178 length with __strnlen. Make sure to both set errno and return it on
39179 failure.
39180
6d33cc9d
DM
391812012-11-19 David S. Miller <davem@davemloft.net>
39182
39183 With help from Joseph Myers.
39184 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
39185 very large arguments properly.
39186 * math/libm-test.inc (atan_test): New tests.
39187 (atan2_test): New tests.
39188 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39189 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39190
ee663277
JM
391912012-11-19 Joseph Myers <joseph@codesourcery.com>
39192
877f2d8e
JM
39193 [BZ #14856]
39194 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
39195 Define to 3.
39196
116fc08a
JM
39197 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
39198 [POSIX] (EADDRNOTAVAIL): Likewise.
39199 [POSIX] (EAFNOSUPPORT): Likewise.
39200 [POSIX] (EALREADY): Likewise.
39201 [POSIX] (ECONNABORTED): Likewise.
39202 [POSIX] (ECONNREFUSED): Likewise.
39203 [POSIX] (ECONNRESET): Likewise.
39204 [POSIX] (EDESTADDRREQ): Likewise.
39205 [POSIX] (EDQUOT): Likewise.
39206 [POSIX] (EHOSTUNREACH): Likewise.
39207 [POSIX] (EIDRM): Likewise.
39208 [POSIX] (EISCONN): Likewise.
39209 [POSIX] (ELOOP): Likewise.
39210 [POSIX] (EMULTIHOP): Likewise.
39211 [POSIX] (ENETDOWN): Likewise.
39212 [POSIX] (ENETUNREACH): Likewise.
39213 [POSIX] (ENOBUFS): Likewise.
39214 [POSIX] (ENODATA): Likewise.
39215 [POSIX] (ENOLINK): Likewise.
39216 [POSIX] (ENOMSG): Likewise.
39217 [POSIX] (ENOPROTOOPT): Likewise.
39218 [POSIX] (ENOSR): Likewise.
39219 [POSIX] (ENOSTR): Likewise.
39220 [POSIX] (ENOTCONN): Likewise.
39221 [POSIX] (ENOTSOCK): Likewise.
39222 [POSIX] (EOPNOTSUPP): Likewise.
39223 [POSIX] (EOVERFLOW): Likewise.
39224 [POSIX] (EPROTO): Likewise.
39225 [POSIX] (EPROTONOSUPPORT): Likewise.
39226 [POSIX] (EPROTOTYPE): Likewise.
39227 [POSIX] (ESTALE): Likewise.
39228 [POSIX] (ETIME): Likewise.
39229 [POSIX] (ETXTBSY): Likewise.
39230 [POSIX] (EWOULDBLOCK): Likewise.
39231 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
39232 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
39233 [POSIX] (SEEK_CUR): Likewise.
39234 [POSIX] (SEEK_END): Likewise.
39235 [POSIX || UNIX98] (mode_t): Do not require.
39236 [POSIX] (off_t): Likewise.
39237 [POSIX] (pid_t): Likewise.
39238 [POSIX] (sys/stat.h): Do not allow header.
39239 [POSIX] (unistd.h): Likewise.
39240 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
39241 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
39242 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
39243 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
39244 require.
39245 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
39246 sigevent): Specify elements.
39247 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
39248 entry.
39249 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
39250 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
39251
a483863f
JM
39252 * conform/data/cpio.h-data [POSIX]: Disable whole file.
39253 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
39254 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
39255 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
39256 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
39257 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
39258 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
39259 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
39260 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
39261 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
39262 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
39263 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
39264 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
39265 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
39266 Likewise.
39267 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
39268 Likewise.
39269 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
39270 Likewise.
39271 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
39272 Likewise.
39273 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
39274 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
39275 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
39276 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
39277 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
39278 Specify lower bound on value.
39279 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
39280 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
39281 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
39282 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
39283 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
39284 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
39285 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
39286 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
39287 value.
39288 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
39289 as optional.
39290 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
39291 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
39292 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
39293 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
39294 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
39295 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
39296 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
39297 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
39298 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
39299 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
39300 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
39301 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
39302 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
39303 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
39304 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
39305 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
39306 entry.
39307 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
39308 optional.
39309 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
39310 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
39311 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
39312 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
39313 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
39314 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
39315 Likewise.
39316 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
39317 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
39318 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
39319 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
39320 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
39321 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
39322 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
39323 as optional.
39324 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
39325 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
39326 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
39327 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
39328 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
39329 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
39330 specify as optional.
39331 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
39332 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
39333 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
39334 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
39335 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
39336 [XPG3] (NL_LANGMAX): Likewise.
39337 [POSIX || XPG3] (NL_MSGMAX): Likewise.
39338 [POSIX || XPG3] (NL_NMAX): Likewise.
39339 [POSIX || XPG3] (NL_SETMAX): Likewise.
39340 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
39341 [XPG3] (NZERO): Likewise.
39342 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
39343 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
39344 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
39345 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
39346 (REG_ERANGE): Expect.
39347 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
39348 optional-constant.
39349 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
39350 Use (void) in prototype.
39351 [POSIX] (*_t): Allow.
39352 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
39353 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
39354 (WRDE_BADVAL): Expect.
39355
5ba924e3
JM
39356 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
39357 expect.
39358 [XPG3 || XPG4] (O_RSYNC): Likewise.
39359 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
39360 Likewise.
39361 [XPG3 || XPG4] (pthread_sigmask): Likewise.
39362 [XPG3 || XPG4] (sigqueue): Likewise.
39363 [XPG3 || XPG4] (sigtimedwait): Likewise.
39364 [XPG3 || XPG4] (sigwaitinfo): Likewise.
39365 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
39366 [XPG3 || XPG4] (vsnprintf): Likewise.
39367 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
39368 Likewise.
39369 [XPG3 || XPG4] (blksize_t): Likewise.
39370 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
39371 Likewise.
39372 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
39373 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
39374 [XPG3 || XPG4] (struct itimerspec): Likewise.
39375 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
39376 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
39377 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
39378 [XPG3 || XPG4] (clockid_t): Likewise.
39379 [XPG3 || XPG4] (timer_t): Likewise.
39380 [XPG3 || XPG4] (clock_getres): Likewise.
39381 [XPG3 || XPG4] (clock_gettime): Likewise.
39382 [XPG3 || XPG4] (clock_settime): Likewise.
39383 [XPG3 || XPG4] (nanosleep): Likewise.
39384 [XPG3 || XPG4] (timer_create): Likewise.
39385 [XPG3 || XPG4] (timer_delete): Likewise.
39386 [XPG3 || XPG4] (timer_gettime): Likewise.
39387 [XPG3 || XPG4] (timer_getoverrun): Likewise.
39388 [XPG3 || XPG4] (timer_settime): Likewise.
39389 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
39390 [XPG3 || XPG4] (getlogin_r): Likewise.
39391 [XPG3 || XPG4] (pread): Likewise.
39392 [XPG3 || XPG4] (pthread_atfork): Likewise.
39393 [XPG3 || XPG4] (pwrite): Likewise.
39394
ee663277
JM
39395 [BZ #14835]
39396 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
39397 <bits/siginfo.h>.
39398
942caa16
PT
393992012-11-19 Pino Toscano <toscano.pino@tiscali.it>
39400
e19af380
PT
39401 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
39402 finalizing MALLSTREAM.
39403
942caa16
PT
39404 * sysdeps/mach/hurd/syncfs.c: New file.
39405
cfde9b46
SP
394062012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39407
39408 [BZ #14719]
39409 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
39410 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
39411 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
39412 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
39413 (_nss_dns_gethostbyname4_r): Likewise.
39414 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
39415 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
39416
f6da27e5
PH
394172012-11-19 Peng Haitao <penght@cn.fujitsu.com>
39418
39419 [BZ #13763]
39420 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
39421
6665d4a2
SM
394222012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
39423
1f51ee92
SM
39424 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
39425 * elf/cache.c (print_entry): Print ",AArch64" for
39426 FLAG_AARCH64_LIB64
39427
6665d4a2
SM
39428 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
39429 * elf/cache.c (print_entry): Print ",hard-float" for
39430 FLAG_ARM_LIBHF.
39431
05b227bd
DM
394322012-11-18 David S. Miller <davem@davemloft.net>
39433
39434 With help from Joseph Myers.
39435 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
39436 cutoff to 2**-13.
39437 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
39438 cutoff to 2**-25.
39439 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
39440 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
39441 small.
39442 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
39443 * math/libm-test.inc (y0_test): New tests.
39444 (y1_test): New tests.
39445 * sysdeps/i386/fpu/libm-test-ulps: Update.
39446 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39447 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39448
786b0b67
AS
394492012-11-18 Andreas Schwab <schwab@linux-m68k.org>
39450
39451 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
39452 64-bit targets.
39453 * configure: Regenerated.
39454
8e18b86d
DM
394552012-11-17 David S. Miller <davem@davemloft.net>
39456
39457 [BZ #14811]
39458 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
39459 nonzero exponents with absolute value below 0x1p-128 to +/-
39460 0x1p-128.
39461
531f1ae0
JM
394622012-11-17 Joseph Myers <joseph@codesourcery.com>
39463
12df29e2
JM
39464 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
39465
150dc1a0
JM
39466 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
39467
531f1ae0
JM
39468 * posix/getconf-speclist.c: New file.
39469 * posix/posix-envs.def: Likewise.
39470 * posix/confstr.c (START_ENV_GROUP): New macro.
39471 (END_ENV_GROUP): Likewise.
39472 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39473 (KNOWN_PRESENT_ENV_STRING): Likewise.
39474 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39475 (UNKNOWN_ENVIRONMENT): Likewise.
39476 (confstr): Include posix-envs.def instead of handling
39477 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
39478 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
39479 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
39480 (END_ENV_GROUP): Likewise.
39481 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39482 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39483 (UNKNOWN_ENVIRONMENT): Likewise.
39484 (__sysconf): Include posix-envs.def instead of handling associated
39485 cases directly here.
39486 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
39487 preprocessing getconf-speclist.c rather than running getconf or
39488 generating empty file.
39489
a93f9cbc
PT
394902012-11-16 Pino Toscano <toscano.pino@tiscali.it>
39491
39492 * scripts/check-local-headers.sh: Ignore 'mach' headers.
39493
d64d9f87
AL
394942012-11-16 Andrej Lajovic <natrij@gmail.com>
39495
39496 [BZ #14672]
39497 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
39498
447885eb
DM
394992012-11-16 David S. Miller <davem@davemloft.net>
39500
39501 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
39502 smaller than LDBL_EPSILON/2.0L, just return xm1.
39503
bcbf9830
L
395042012-11-16 H.J. Lu <hongjiu.lu@intel.com>
39505
39506 * elf/tst-array1.c (init): Set constructor priority to 1000.
39507 (fini): Set destructor priority to 1000.
39508 * elf/tst-array2dep.c: Likewise.
39509
2b766585
SP
395102012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
39511
39512 [BZ #11741]
39513 * libio/fileops.c (_IO_new_file_write): Correctly return error.
39514 (_IO_new_file_xsputn): Also return EOF if none of the input
39515 data was written when overflow failed.
39516 * libio/iopadn.c (_IO_padn): Likewise.
39517 * libio/iowpadn.c (_IO_wpadn): Likewise.
39518 * stdio-common/tst-put-error.c: Add copyright notice.
39519 (do_test): Add case for printing padded string.
39520 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
39521 _IO_padn returned error.
39522 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
39523 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
39524 return EOF.
39525
b1848fde
SP
395262012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
39527
39528 * libio/libioP.h: Add comment note that the references to C++
39529 bits are now obsolete.
39530
2fd89785
MS
395312012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39532
39533 * math/libm-test.inc (check_complex): Use asprintf.
39534
e3ea5409
JM
395352012-11-14 Joseph Myers <joseph@codesourcery.com>
39536
39537 * debug/pcprofiledump.c (print_version): Update copyright year.
39538 * malloc/memusagestat.c (print_version): Likewise.
39539
2e64d265
L
395402012-11-14 H.J. Lu <hongjiu.lu@intel.com>
39541
39542 [BZ #14831]
39543 * elf/Makefile (tests): Add tst-audit8.
39544 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
39545 ($(objpfx)tst-audit8.out): New target.
39546 (tst-audit8-ENV): New variable.
39547 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
39548 audit if l_reloc_result is NULL.
39549 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
39550 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
39551 * elf/tst-audit8.c: New file.
39552
c485e4d2
MS
395532012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39554
39555 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
39556 * misc/Makefile (CFLAGS-select.c): Define.
39557 * posix/Makefile (CFLAGS-pause.c): Define.
39558
3a0d900a
DM
395592012-11-13 David S. Miller <davem@davemloft.net>
39560
39561 * crypt/Makefile: Move test targets after toplevel Rules
39562 inclusion. Grab any necessary sysdep routines when linking.
39563 * crypt/md5.c (md5_process_block): Remove define, we will always
39564 name it __md5_process_block.
39565 (md5_finish_ctx): Update md5_process_block call.
39566 (md5_stream): Likewise.
39567 (md5_process_bytes): Likewise.
39568 (md5_process_block): Rename to __md5_process_block and move to ...
39569 * crypt/md5-block.c: ... here.
39570 * crypt/sha256.c (sha256_process_block): Move to ...
39571 * crypt/sha256-block.c: ... here.
39572 * crypt/sha512.c (sha512_process_block): Move to ...
39573 * crypt/sha512-block.c: ... here.
39574 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
39575 path.
39576 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
39577 * sysdeps/sparc/sparc64/multiarch/Makefile
39578 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
39579 crypt subdir.
39580 (localedef-aux): Add md5 crypto assembler when in locale subdir.
39581 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
39582 multiarch changes.
39583 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
39584 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
39585 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
39586 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
39587 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
39588 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
39589 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
39590 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
39591 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
39592 file.
39593 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
39594 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
39595 file.
39596 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
39597
8ca89318
JM
395982012-11-13 Joseph Myers <joseph@codesourcery.com>
39599
e27d476a
JM
39600 * timezone/tzselect.ksh: Update from tzcode git revision
39601 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
39602 * timezone/zdump.c: Likewise.
39603 * timezone/zic.c: Likewise.
39604 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
39605 in TZVERSION setting, not $(PKGVERSION).
39606 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
39607 REPORT_BUGS_TO settings.
39608
8ca89318
JM
39609 [BZ #14838]
39610 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
39611 macro.
39612
47594329
MS
396132012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39614
39615 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
39616 detection to immediately after _FP_ROUND().
39617 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
39618 bits are 0.
39619
640ac3f1
DM
396202012-11-11 David S. Miller <davem@davemloft.net>
39621
39622 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
39623 inttypes.h
39624 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
39625 __close rather than their public counterparts.
39626
3d2577bb
JM
396272012-11-10 Joseph Myers <joseph@codesourcery.com>
39628
39629 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
39630 file.
39631 [UNIX98] (sem_timedwait): Do not expect.
39632 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
39633 [XPG4 || UNIX98] (sockatmark): Do not expect.
39634 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
39635 (clock_getcpuclockid): Do not expect.
39636 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
39637 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
39638 Do not expect.
39639 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
39640 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
39641 [UNIX98] (vwscanf): Likewise.
39642 [UNIX98] (vswscanf): Likewise.
39643
fb1ae1ee
JM
396442012-11-09 Joseph Myers <joseph@codesourcery.com>
39645
9ec6f8bd
JM
39646 * timezone/version.h: Remove file.
39647 * timezone/README: Do not refer to version.h.
39648 * timezone/Makefile ($(objpfx)zic.o): New dependency on
39649 $(objpfx)version.h.
39650 ($(objpfx)zdump.o): Likewise.
c3f81911 39651 ($(objpfx)version.h): New target.
9ec6f8bd 39652
0aa8f8a1
JM
39653 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
39654 2012i.
39655 * timezone/README: Don't mention modification to tzselect.ksh.
39656 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
39657 work on unmodified tzselect.ksh. Substitute version numbers in
39658 tzselect.ksh.
39659
4e87147f
JM
39660 * Makefile (format-me): Remove.
39661 (INSTALL): Adjust indentation. Use commands directly instead of
39662 using $(format-me).
39663
8b748aed
JM
39664 * aclocal.m4 (ACX_PKGVERSION): New macro.
39665 (ACX_BUGURL): Likewise.
39666 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
39667 (PKGVERSION): New AC_DEFINE_UNQUOTED.
39668 (REPORT_BUGS_TO): Likewise.
39669 * configure: Regenerated.
39670 * config.h.in (PKGVERSION): New macro.
39671 (REPORT_BUGS_TO): Likewise.
39672 * config.make.in (PKGVERSION): New variable.
39673 (PKGVERSION_TEXI): Likewise.
39674 (REPORT_BUGS_TO): Likewise.
39675 (REPORT_BUGS_TEXI): Likewise.
39676 * Makefile (format-me): Use -I$(common-objpfx)manual.
39677 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
39678 ($(common-objpfx)manual/%): New target.
39679 (manual/%): Remove target.
39680 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
39681 (print_version): Use PKGVERSION.
39682 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
39683 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
39684 and REPORT_BUGS_TO.
39685 ($(objpfx)xtrace): Likewise.
39686 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
39687 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
39688 (print_version): Use PKGVERSION.
39689 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
39690 (do_version): Use PKGVERSION.
39691 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
39692 REPORT_BUGS_TO.
39693 (common-ldd-rewrite): Likewise.
39694 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
39695 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
39696 (print_version): Use PKGVERSION.
39697 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
39698 * elf/pldd.c (argp_program_bug_address): Remove variable.
39699 (more_help): New function.
39700 (argp): Use more_help.
39701 (print_version): Use PKGVERSION.
39702 * elf/sln.c (main): Use PKGVERSION.
39703 (usage): Use REPORT_BUGS_TO.
39704 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
39705 (top level): Use PKGVERSION.
39706 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
39707 (print_version): Use PKGVERSION.
39708 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
39709 (print_version): Use PKGVERSION.
39710 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
39711 (print_version): Use PKGVERSION.
39712 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
39713 (print_version): Use PKGVERSION.
39714 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
39715 (print_version): Use PKGVERSION.
39716 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
39717 (print_version): Use PKGVERSION.
39718 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
39719 and BUGURL.
39720 ($(objpfx)memusage): Likewise.
39721 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
39722 (do_version): Use PKGVERSION.
39723 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
39724 (print_version): Use PKGVERSION.
39725 * malloc/mtrace.pl ($PACKAGE): Remove variable.
39726 ($PKGVERSION): New variable.
39727 ($REPORT_BUGS_TO): Likewise.
39728 (usage): Use $REPORT_BUGS_TO.
39729 (top level): Use $PKGVERSION.
39730 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
39731 ($(objpfx)pkgvers.texi): New rule.
39732 ($(objpfx)stamp-pkgvers): Likewise.
39733 * manual/install.texi: Include pkgvers.texi.
39734 (--with-pkgversion): Document new configure option.
39735 (--with-bugurl): Likewise.
39736 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
39737 than necessarily for this particular distribution. Use
39738 REPORT_BUGS_TO for where to report bugs.
39739 * INSTALL: Regenerated.
39740 * manual/libc.texinfo: Include pkgvers.texi.
39741 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
39742 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
39743 (print_version): Use PKGVERSION.
39744 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
39745 (print_version): Use PKGVERSION.
39746 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
39747 (print_version): Use PKGVERSION.
39748 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
39749 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
39750 macro.
39751 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
39752 (print_version): Use PKGVERSION.
39753 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
39754 (print_version): Use PKGVERSION.
39755 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
39756 and PKGVERSION.
39757
92e4b6a9
JM
39758 * timezone/checktab.awk: Update from tzcode 2012i.
39759 * timezone/ialloc.c: Likewise.
39760 * timezone/private.h: Likewise.
39761 * timezone/scheck.c: Likewise.
39762 * timezone/tzfile.h: Likewise.
39763 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
39764 (TZVERSION): Hardcode tzcode version number.
39765 * timezone/zdump.c: Update from tzcode 2012i.
39766 * timezone/zic.c: Likewise.
39767 * timezone/version.h: New file.
39768 * timezone/README: Describe version.h. Update upstream location.
39769
9bde902c
JM
39770 [BZ #14824]
39771 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
39772 (mktemp): Enable declaration.
39773 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
39774 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
39775 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
39776 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
39777 Likewise.
39778 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
39779 Likewise.
39780 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
39781 Likewise.
39782 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
39783 Likewise.
39784 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
39785 Likewise.
39786 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
39787 Likewise.
39788
fb1ae1ee
JM
39789 [BZ #14821]
39790 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
39791 offset in buffer as u_int32_t not u_long. Consistently use memcpy
39792 for copies of such integer values.
39793 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39794 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39795
2c1adbcb
AJ
397962012-11-09 Andreas Jaeger <aj@suse.de>
39797
39798 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
39799 definitions and declarations that are provided by
39800 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39801
d0f8457e
AK
398022012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39803
3a235abb 39804 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
39805 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
39806 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
39807 definition.
39808
57241e26
MS
398092012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39810
39811 * elf/elf.h: Update comment before AArch64 relocations.
39812
60e8270d
DM
398132012-11-07 David S. Miller <davem@davemloft.net>
39814
39815 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
39816 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39817 (__start_context): Declare.
39818 (__makecontext_ret): Delete.
39819 (__makecontext): Hook up __start_context instead of
39820 __makecontext_ret.
39821 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
39822 (sysdep_routines): Add __start_context when in stdlib.
39823
0fbb0fbc
JM
398242012-11-07 Joseph Myers <joseph@codesourcery.com>
39825
39826 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
39827 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
39828 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
39829 hardcoded "nm".
39830 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
39831 (READELF): New variable. Use it instead of hardcoded "readelf".
39832
eb48db7e
L
398332012-11-07 H.J. Lu <hongjiu.lu@intel.com>
39834
39835 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
39836 * sysdeps/x86/Makefile: Here.
39837 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
39838 * sysdeps/x86/tst-xmmymm.sh: This.
39839
05bcf62a
JM
398402012-11-07 Joseph Myers <joseph@codesourcery.com>
39841
c4b6cf53
JM
39842 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
39843 expectations.
39844 [UNIX98] (pthread_barrier_t): Do not expect.
39845 [UNIX98] (pthread_barrierattr_t): Likewise.
39846 [UNIX98] (pthread_spinlock_t): Likewise.
39847 [UNIX98] (pthread_barrier_destroy): Likewise.
39848 [UNIX98] (pthread_barrier_init): Likewise.
39849 [UNIX98] (pthread_barrier_wait): Likewise.
39850 [UNIX98] (pthread_barrierattr_destroy): Likewise.
39851 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
39852 [UNIX98] (pthread_barrierattr_init): Likewise.
39853 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
39854 [UNIX98] (pthread_getcpuclockid): Likewise.
39855 [UNIX98] (pthread_mutex_timedlock): Likewise.
39856 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
39857 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
39858 [UNIX98] (pthread_sigmask): Likewise.
39859 [UNIX98] (pthread_spin_destroy): Likewise.
39860 [UNIX98] (pthread_spin_init): Likewise.
39861 [UNIX98] (pthread_spin_lock): Likewise.
39862 [UNIX98] (pthread_spin_trylock): Likewise.
39863 [UNIX98] (pthread_spin_unlock): Likewise.
39864 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
39865 Do not expect.
39866 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
39867 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
39868 [XPG3 || XPG4] (pthread_cond_t): Likewise.
39869 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
39870 [XPG3 || XPG4] (pthread_key_t): Likewise.
39871 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
39872 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
39873 [XPG3 || XPG4] (pthread_once_t): Likewise.
39874 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
39875 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
39876 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
39877 [XPG3 || XPG4] (pthread_t): Likewise.
39878
cbe6e120
JM
39879 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
39880 not expect.
39881 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
39882
1b126443
JM
39883 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
39884 Change function return type to int.
39885
b961a573
JM
39886 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
39887 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
39888 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
39889 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
39890 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
39891 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
39892 [!POSIX] (posix_madvise): Likewise.
39893 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
39894 && !UNIX98].
39895 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
39896 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
39897 (mode_t): Likewise.
39898 (posix_mem_offset): Likewise.
39899 (posix_typed_mem_get_info): Likewise.
39900 (posix_typed_mem_open): Likewise.
39901
9e188909
JM
39902 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
39903 Change condition to [XOPEN2K8].
39904
05bcf62a
JM
39905 * conform/conformtest.pl: Preprocess allow-header data with -x c
39906 instead of from stdin.
39907 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
39908 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
39909 [C99-based standards] (cerfc): Likewise.
39910 [C99-based standards] (cexp2): Likewise.
39911 [C99-based standards] (cexpm1): Likewise.
39912 [C99-based standards] (clog10): Likewise.
39913 [C99-based standards] (clog1p): Likewise.
39914 [C99-based standards] (clog2): Likewise.
39915 [C99-based standards] (clgamma): Likewise.
39916 [C99-based standards] (ctgamma): Likewise.
39917 [C99-based standards] (cerff): Likewise.
39918 [C99-based standards] (cerfcf): Likewise.
39919 [C99-based standards] (cexp2f): Likewise.
39920 [C99-based standards] (cexpm1f): Likewise.
39921 [C99-based standards] (clog10f): Likewise.
39922 [C99-based standards] (clog1pf): Likewise.
39923 [C99-based standards] (clog2f): Likewise.
39924 [C99-based standards] (clgammaf): Likewise.
39925 [C99-based standards] (ctgammaf): Likewise.
39926 [C99-based standards] (cerfl): Likewise.
39927 [C99-based standards] (cerfcl): Likewise.
39928 [C99-based standards] (cexp2l): Likewise.
39929 [C99-based standards] (cexpm1l): Likewise.
39930 [C99-based standards] (clog10l): Likewise.
39931 [C99-based standards] (clog1pl): Likewise.
39932 [C99-based standards] (clog2l): Likewise.
39933 [C99-based standards] (clgammal): Likewise.
39934 [C99-based standards] (ctgammal): Likewise.
39935 * conform/data/inttypes.h-data [C99-based standards]: Include
39936 stdint.h-data. Remove all expectations for stdint.h contents.
39937 [C99-based standards] (PRI*): Do not allow.
39938 [C99-based standards] (SCN*): Likewise.
39939 [C99-based standards] (*_t): Likewise.
39940 [C99-based-standards] (PRId8): Expect macro.
39941 [C99-based-standards] (PRIi8): Likewise.
39942 [C99-based-standards] (PRIo8): Likewise.
39943 [C99-based-standards] (PRIu8): Likewise.
39944 [C99-based-standards] (PRIx8): Likewise.
39945 [C99-based-standards] (PRIX8): Likewise.
39946 [C99-based-standards] (SCNd8): Likewise.
39947 [C99-based-standards] (SCNi8): Likewise.
39948 [C99-based-standards] (SCNo8): Likewise.
39949 [C99-based-standards] (SCNu8): Likewise.
39950 [C99-based-standards] (SCNx8): Likewise.
39951 [C99-based-standards] (PRIdLEAST8): Likewise.
39952 [C99-based-standards] (PRIiLEAST8): Likewise.
39953 [C99-based-standards] (PRIoLEAST8): Likewise.
39954 [C99-based-standards] (PRIuLEAST8): Likewise.
39955 [C99-based-standards] (PRIxLEAST8): Likewise.
39956 [C99-based-standards] (PRIXLEAST8): Likewise.
39957 [C99-based-standards] (SCNdLEAST8): Likewise.
39958 [C99-based-standards] (SCNiLEAST8): Likewise.
39959 [C99-based-standards] (SCNoLEAST8): Likewise.
39960 [C99-based-standards] (SCNuLEAST8): Likewise.
39961 [C99-based-standards] (SCNxLEAST8): Likewise.
39962 [C99-based-standards] (PRIdFAST8): Likewise.
39963 [C99-based-standards] (PRIiFAST8): Likewise.
39964 [C99-based-standards] (PRIoFAST8): Likewise.
39965 [C99-based-standards] (PRIuFAST8): Likewise.
39966 [C99-based-standards] (PRIxFAST8): Likewise.
39967 [C99-based-standards] (PRIXFAST8): Likewise.
39968 [C99-based-standards] (SCNdFAST8): Likewise.
39969 [C99-based-standards] (SCNiFAST8): Likewise.
39970 [C99-based-standards] (SCNoFAST8): Likewise.
39971 [C99-based-standards] (SCNuFAST8): Likewise.
39972 [C99-based-standards] (SCNxFAST8): Likewise.
39973 [C99-based-standards] (PRId16): Likewise.
39974 [C99-based-standards] (PRIi16): Likewise.
39975 [C99-based-standards] (PRIo16): Likewise.
39976 [C99-based-standards] (PRIu16): Likewise.
39977 [C99-based-standards] (PRIx16): Likewise.
39978 [C99-based-standards] (PRIX16): Likewise.
39979 [C99-based-standards] (SCNd16): Likewise.
39980 [C99-based-standards] (SCNi16): Likewise.
39981 [C99-based-standards] (SCNo16): Likewise.
39982 [C99-based-standards] (SCNu16): Likewise.
39983 [C99-based-standards] (SCNx16): Likewise.
39984 [C99-based-standards] (PRIdLEAST16): Likewise.
39985 [C99-based-standards] (PRIiLEAST16): Likewise.
39986 [C99-based-standards] (PRIoLEAST16): Likewise.
39987 [C99-based-standards] (PRIuLEAST16): Likewise.
39988 [C99-based-standards] (PRIxLEAST16): Likewise.
39989 [C99-based-standards] (PRIXLEAST16): Likewise.
39990 [C99-based-standards] (SCNdLEAST16): Likewise.
39991 [C99-based-standards] (SCNiLEAST16): Likewise.
39992 [C99-based-standards] (SCNoLEAST16): Likewise.
39993 [C99-based-standards] (SCNuLEAST16): Likewise.
39994 [C99-based-standards] (SCNxLEAST16): Likewise.
39995 [C99-based-standards] (PRIdFAST16): Likewise.
39996 [C99-based-standards] (PRIiFAST16): Likewise.
39997 [C99-based-standards] (PRIoFAST16): Likewise.
39998 [C99-based-standards] (PRIuFAST16): Likewise.
39999 [C99-based-standards] (PRIxFAST16): Likewise.
40000 [C99-based-standards] (PRIXFAST16): Likewise.
40001 [C99-based-standards] (SCNdFAST16): Likewise.
40002 [C99-based-standards] (SCNiFAST16): Likewise.
40003 [C99-based-standards] (SCNoFAST16): Likewise.
40004 [C99-based-standards] (SCNuFAST16): Likewise.
40005 [C99-based-standards] (SCNxFAST16): Likewise.
40006 [C99-based-standards] (PRId32): Likewise.
40007 [C99-based-standards] (PRIi32): Likewise.
40008 [C99-based-standards] (PRIo32): Likewise.
40009 [C99-based-standards] (PRIu32): Likewise.
40010 [C99-based-standards] (PRIx32): Likewise.
40011 [C99-based-standards] (PRIX32): Likewise.
40012 [C99-based-standards] (SCNd32): Likewise.
40013 [C99-based-standards] (SCNi32): Likewise.
40014 [C99-based-standards] (SCNo32): Likewise.
40015 [C99-based-standards] (SCNu32): Likewise.
40016 [C99-based-standards] (SCNx32): Likewise.
40017 [C99-based-standards] (PRIdLEAST32): Likewise.
40018 [C99-based-standards] (PRIiLEAST32): Likewise.
40019 [C99-based-standards] (PRIoLEAST32): Likewise.
40020 [C99-based-standards] (PRIuLEAST32): Likewise.
40021 [C99-based-standards] (PRIxLEAST32): Likewise.
40022 [C99-based-standards] (PRIXLEAST32): Likewise.
40023 [C99-based-standards] (SCNdLEAST32): Likewise.
40024 [C99-based-standards] (SCNiLEAST32): Likewise.
40025 [C99-based-standards] (SCNoLEAST32): Likewise.
40026 [C99-based-standards] (SCNuLEAST32): Likewise.
40027 [C99-based-standards] (SCNxLEAST32): Likewise.
40028 [C99-based-standards] (PRIdFAST32): Likewise.
40029 [C99-based-standards] (PRIiFAST32): Likewise.
40030 [C99-based-standards] (PRIoFAST32): Likewise.
40031 [C99-based-standards] (PRIuFAST32): Likewise.
40032 [C99-based-standards] (PRIxFAST32): Likewise.
40033 [C99-based-standards] (PRIXFAST32): Likewise.
40034 [C99-based-standards] (SCNdFAST32): Likewise.
40035 [C99-based-standards] (SCNiFAST32): Likewise.
40036 [C99-based-standards] (SCNoFAST32): Likewise.
40037 [C99-based-standards] (SCNuFAST32): Likewise.
40038 [C99-based-standards] (SCNxFAST32): Likewise.
40039 [C99-based-standards] (PRId64): Likewise.
40040 [C99-based-standards] (PRIi64): Likewise.
40041 [C99-based-standards] (PRIo64): Likewise.
40042 [C99-based-standards] (PRIu64): Likewise.
40043 [C99-based-standards] (PRIx64): Likewise.
40044 [C99-based-standards] (PRIX64): Likewise.
40045 [C99-based-standards] (SCNd64): Likewise.
40046 [C99-based-standards] (SCNi64): Likewise.
40047 [C99-based-standards] (SCNo64): Likewise.
40048 [C99-based-standards] (SCNu64): Likewise.
40049 [C99-based-standards] (SCNx64): Likewise.
40050 [C99-based-standards] (PRIdLEAST64): Likewise.
40051 [C99-based-standards] (PRIiLEAST64): Likewise.
40052 [C99-based-standards] (PRIoLEAST64): Likewise.
40053 [C99-based-standards] (PRIuLEAST64): Likewise.
40054 [C99-based-standards] (PRIxLEAST64): Likewise.
40055 [C99-based-standards] (PRIXLEAST64): Likewise.
40056 [C99-based-standards] (SCNdLEAST64): Likewise.
40057 [C99-based-standards] (SCNiLEAST64): Likewise.
40058 [C99-based-standards] (SCNoLEAST64): Likewise.
40059 [C99-based-standards] (SCNuLEAST64): Likewise.
40060 [C99-based-standards] (SCNxLEAST64): Likewise.
40061 [C99-based-standards] (PRIdFAST64): Likewise.
40062 [C99-based-standards] (PRIiFAST64): Likewise.
40063 [C99-based-standards] (PRIoFAST64): Likewise.
40064 [C99-based-standards] (PRIuFAST64): Likewise.
40065 [C99-based-standards] (PRIxFAST64): Likewise.
40066 [C99-based-standards] (PRIXFAST64): Likewise.
40067 [C99-based-standards] (SCNdFAST64): Likewise.
40068 [C99-based-standards] (SCNiFAST64): Likewise.
40069 [C99-based-standards] (SCNoFAST64): Likewise.
40070 [C99-based-standards] (SCNuFAST64): Likewise.
40071 [C99-based-standards] (SCNxFAST64): Likewise.
40072 [C99-based-standards] (PRIdMAX): Likewise.
40073 [C99-based-standards] (PRIiMAX): Likewise.
40074 [C99-based-standards] (PRIoMAX): Likewise.
40075 [C99-based-standards] (PRIuMAX): Likewise.
40076 [C99-based-standards] (PRIxMAX): Likewise.
40077 [C99-based-standards] (PRIXMAX): Likewise.
40078 [C99-based-standards] (SCNdMAX): Likewise.
40079 [C99-based-standards] (SCNiMAX): Likewise.
40080 [C99-based-standards] (SCNoMAX): Likewise.
40081 [C99-based-standards] (SCNuMAX): Likewise.
40082 [C99-based-standards] (SCNxMAX): Likewise.
40083 [C99-based-standards] (PRIdPTR): Likewise.
40084 [C99-based-standards] (PRIiPTR): Likewise.
40085 [C99-based-standards] (PRIoPTR): Likewise.
40086 [C99-based-standards] (PRIuPTR): Likewise.
40087 [C99-based-standards] (PRIxPTR): Likewise.
40088 [C99-based-standards] (PRIXPTR): Likewise.
40089 [C99-based-standards] (SCNdPTR): Likewise.
40090 [C99-based-standards] (SCNiPTR): Likewise.
40091 [C99-based-standards] (SCNoPTR): Likewise.
40092 [C99-based-standards] (SCNuPTR): Likewise.
40093 [C99-based-standards] (SCNxPTR): Likewise.
40094 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
40095 allow.
40096 * conform/data/stdint.h-data: Update comments to clarify
40097 requirements.
40098 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
40099 type.
40100 [C99-based standards] (INT8_MAX): Likewise.
40101 [C99-based standards] (INT16_MIN): Likewise.
40102 [C99-based standards] (INT16_MAX): Likewise.
40103 [C99-based standards] (INT32_MIN): Likewise.
40104 [C99-based standards] (INT32_MAX): Likewise.
40105 [C99-based standards] (INT64_MIN): Likewise.
40106 [C99-based standards] (INT64_MAX): Likewise.
40107 [C99-based standards] (UINT8_MAX): Likewise.
40108 [C99-based standards] (UINT16_MAX): Likewise.
40109 [C99-based standards] (UINT32_MAX): Likewise.
40110 [C99-based standards] (UINT64_MAX): Likewise.
40111 [C99-based standards] (INT_LEAST8_MIN): Likewise.
40112 [C99-based standards] (INT_LEAST8_MAX): Likewise.
40113 [C99-based standards] (INT_LEAST16_MIN): Likewise.
40114 [C99-based standards] (INT_LEAST16_MAX): Likewise.
40115 [C99-based standards] (INT_LEAST32_MIN): Likewise.
40116 [C99-based standards] (INT_LEAST32_MAX): Likewise.
40117 [C99-based standards] (INT_LEAST64_MIN): Likewise.
40118 [C99-based standards] (INT_LEAST64_MAX): Likewise.
40119 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
40120 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
40121 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
40122 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
40123 [C99-based standards] (INT_FAST8_MIN): Likewise.
40124 [C99-based standards] (INT_FAST8_MAX): Likewise.
40125 [C99-based standards] (INT_FAST16_MIN): Likewise.
40126 [C99-based standards] (INT_FAST16_MAX): Likewise.
40127 [C99-based standards] (INT_FAST32_MIN): Likewise.
40128 [C99-based standards] (INT_FAST32_MAX): Likewise.
40129 [C99-based standards] (INT_FAST64_MIN): Likewise.
40130 [C99-based standards] (INT_FAST64_MAX): Likewise.
40131 [C99-based standards] (UINT_FAST8_MAX): Likewise.
40132 [C99-based standards] (UINT_FAST16_MAX): Likewise.
40133 [C99-based standards] (UINT_FAST32_MAX): Likewise.
40134 [C99-based standards] (UINT_FAST64_MAX): Likewise.
40135 [C99-based standards] (INTPTR_MIN): Likewise.
40136 [C99-based standards] (INTPTR_MAX): Likewise.
40137 [C99-based standards] (UINTPTR_MAX): Likewise.
40138 [C99-based standards] (INTMAX_MIN): Likewise.
40139 [C99-based standards] (INTMAX_MAX): Likewise.
40140 [C99-based standards] (UINTMAX_MAX): Likewise.
40141 [C99-based standards] (PTRDIFF_MIN): Likewise.
40142 [C99-based standards] (PTRDIFF_MAX): Likewise.
40143 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
40144 [C99-based standards] (SIZE_MAX): Likewise.
40145 [C99-based standards] (WCHAR_MAX): Likewise.
40146 [C99-based standards] (WINT_MAX): Likewise.
40147 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
40148 constraint on value.
40149 [C99-based standards] (WCHAR_MIN): Likewise.
40150 [C99-based standards] (WINT_MIN): Likewise.
40151 [C99-based standards] (*_t): Allow.
40152 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
40153 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
40154 Include math.h-data and complex.h-data. Remove all expectations
40155 of math.h and complex.h contents.
40156 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
40157 at end of line.
40158 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
40159 (struct tm): Expect tag.
40160 [C99-based-standards] (wcstof): Expect function.
40161 [C99-based-standards] (wcstold): Likewise.
40162 [C99-based-standards] (wcstoll): Likewise.
40163 [C99-based-standards] (wcstoull): Likewise.
40164 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
40165 macro-int-constant. Specify type.
40166 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
40167 constraint on value.
40168 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40169 Specify type.
40170 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
40171 Specify value.
40172 [ISO C standards]: Do not allow headers.
40173 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
40174 wcs[abcdefghijklmnopqrstuvwxyz]*.
40175 [ISO C standards] (*_t): Do not allow.
40176 * conform/data/wctype.h-data [C99-based standards] (iswblank):
40177 Expect function.
40178 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
40179 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40180 Specify type.
40181 [ISO C standards]: Do not allow headers.
40182 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
40183 is[abcdefghijklmnopqrstuvwxyz]*.
40184 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
40185 to[abcdefghijklmnopqrstuvwxyz]*.
40186 [ISO C standards] (*_t): Do not allow.
40187 * conform/data/stdalign.h-data: New file.
40188 * conform/data/stdbool.h-data: Likewise.
40189 * conform/data/stdnoreturn.h-data: Likewise.
40190
7514feb8
RM
401912012-11-07 Roland McGrath <roland@hack.frob.com>
40192
40193 [BZ #14815]
40194 * manual/filesys.texi (Directory Entries): Typo fix.
40195 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
40196
19b2ecfc
MS
401972012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40198
40199 * elf/elf.h (EM_AARCH64): New macro.
40200 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
40201 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
40202 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
40203 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
40204 (R_AARCH64_TLSDESC): Likewise.
40205 (NT_ARM_TLS): Likewise.
40206 (NT_ARM_HW_BREAK): Likewise.
40207 (NT_ARM_HW_WATCH): Likewise.
40208
60e235ee
JM
402092012-11-07 Joseph Myers <joseph@codesourcery.com>
40210
40211 [BZ #14811]
40212 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
40213 (__ieee754_powl): Saturate nonzero exponents with absolute value
40214 below 0x1p-79 to +/- 0x1p-79.
40215 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
40216 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
40217 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
40218 nonzero exponents with absolute value below 0x1p-32 to +/-
40219 0x1p-32.
40220 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
40221 (__ieee754_powl): Saturate nonzero exponents with absolute value
40222 below 0x1p-79 to +/- 0x1p-79.
40223 * math/libm-test.inc (pow_test): Add more tests.
40224
0ab234b7
AK
402252012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40226
40227 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
40228 _dl_s390_cap_flags with kernel. Increase string length.
40229 (_dl_s390_platforms): Add z196 and zEC12.
40230
45832f74
JM
402312012-11-07 Joseph Myers <joseph@codesourcery.com>
40232
40233 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
40234 Change XOPEN21K to XOPEN2K.
40235
19218757
MK
402362012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
40237
40238 * string/memmove.c: Use memcpy when possible.
40239
c5f45721
AJ
402402012-11-06 Andreas Jaeger <aj@suse.de>
40241
40242 * po/eo.po: Update from translation team.
40243
82477c28
JM
402442012-11-06 Joseph Myers <joseph@codesourcery.com>
40245
40246 [BZ #14793]
40247 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
40248 exponent and small x and y exponents, scale x or y up. Increase
40249 by 2 the exponent used in scaling up.
40250 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40251 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40252 * math/libm-test.inc (fma_test): Add more tests.
40253 (fma_test_towardzero): Likewise.
40254 (fma_test_downward): Likewise.
40255 (fma_test_upward): Likewise.
40256
99252c8c
JM
402572012-11-05 Joseph Myers <joseph@codesourcery.com>
40258
acfa885f
JM
40259 [BZ #14805]
40260 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
40261 fenv_t *.
40262
99252c8c
JM
40263 [BZ #14801]
40264 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
40265 namespace for names of struct fields.
40266 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
40267 fenv_t fields.
40268 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
40269 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
40270
d6d98dea
ST
402712012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
40272
40273 [BZ #3665]
40274 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
40275
e10bb107
TS
402762012-11-04 Thomas Schwinge <thomas@codesourcery.com>
40277
40278 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
40279 PTR_DEMANGLE.
40280
40281 [BZ #5246]
40282 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
40283 PTR_DEMANGLE.
40284
a0c2940d
JM
402852012-11-04 Joseph Myers <joseph@codesourcery.com>
40286
40287 [BZ #14797]
40288 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
40289 definitely overflow as x * y not x * y + z.
40290 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40291 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40292 * math/libm-test.inc (fma_test): Add more tests.
40293 (fma_test_towardzero): Likewise.
40294 (fma_test_downward): Likewise.
40295 (fma_test_upward): Likewise.
40296
b830319d
TS
402972012-11-04 Thomas Schwinge <thomas@codesourcery.com>
40298
40299 [BZ #157]
40300
40301 * include/stub-tag.h: Remove file.
40302 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
40303 '#include' of it.
40304 * manual/maint.texi (Porting): Don't reference it.
40305 * Makerules ($(objpfx)stubs): Likewise.
40306 * dirent/closedir.c: Don't include <stub-tag.h>.
40307 * dirent/dirfd.c: Likewise.
40308 * dirent/fdopendir.c: Likewise.
40309 * dirent/getdents.c: Likewise.
40310 * dirent/getdents64.c: Likewise.
40311 * dirent/opendir.c: Likewise.
40312 * dirent/readdir.c: Likewise.
40313 * dirent/readdir64.c: Likewise.
40314 * dirent/readdir64_r.c: Likewise.
40315 * dirent/readdir_r.c: Likewise.
40316 * dirent/rewinddir.c: Likewise.
40317 * dirent/seekdir.c: Likewise.
40318 * dirent/telldir.c: Likewise.
40319 * gmon/profil.c: Likewise.
40320 * grp/setgroups.c: Likewise.
40321 * inet/if_index.c: Likewise.
40322 * io/access.c: Likewise.
40323 * io/chdir.c: Likewise.
40324 * io/chmod.c: Likewise.
40325 * io/chown.c: Likewise.
40326 * io/close.c: Likewise.
40327 * io/dup.c: Likewise.
40328 * io/dup2.c: Likewise.
40329 * io/dup3.c: Likewise.
40330 * io/euidaccess.c: Likewise.
40331 * io/faccessat.c: Likewise.
40332 * io/fchdir.c: Likewise.
40333 * io/fchmod.c: Likewise.
40334 * io/fchmodat.c: Likewise.
40335 * io/fchown.c: Likewise.
40336 * io/fchownat.c: Likewise.
40337 * io/fcntl.c: Likewise.
40338 * io/flock.c: Likewise.
40339 * io/fstatfs.c: Likewise.
40340 * io/fstatfs64.c: Likewise.
40341 * io/fstatvfs.c: Likewise.
40342 * io/fstatvfs64.c: Likewise.
40343 * io/futimens.c: Likewise.
40344 * io/fxstat.c: Likewise.
40345 * io/fxstat64.c: Likewise.
40346 * io/fxstatat.c: Likewise.
40347 * io/fxstatat64.c: Likewise.
40348 * io/getcwd.c: Likewise.
40349 * io/isatty.c: Likewise.
40350 * io/lchmod.c: Likewise.
40351 * io/lchown.c: Likewise.
40352 * io/link.c: Likewise.
40353 * io/linkat.c: Likewise.
40354 * io/lseek.c: Likewise.
40355 * io/lseek64.c: Likewise.
40356 * io/lxstat64.c: Likewise.
40357 * io/mkdir.c: Likewise.
40358 * io/mkdirat.c: Likewise.
40359 * io/mkfifo.c: Likewise.
40360 * io/mkfifoat.c: Likewise.
40361 * io/open.c: Likewise.
40362 * io/open64.c: Likewise.
40363 * io/openat.c: Likewise.
40364 * io/openat64.c: Likewise.
40365 * io/pipe.c: Likewise.
40366 * io/pipe2.c: Likewise.
40367 * io/poll.c: Likewise.
40368 * io/posix_fadvise.c: Likewise.
40369 * io/posix_fadvise64.c: Likewise.
40370 * io/posix_fallocate.c: Likewise.
40371 * io/posix_fallocate64.c: Likewise.
40372 * io/read.c: Likewise.
40373 * io/readlink.c: Likewise.
40374 * io/readlinkat.c: Likewise.
40375 * io/rmdir.c: Likewise.
40376 * io/sendfile.c: Likewise.
40377 * io/sendfile64.c: Likewise.
40378 * io/statfs.c: Likewise.
40379 * io/statfs64.c: Likewise.
40380 * io/statvfs.c: Likewise.
40381 * io/statvfs64.c: Likewise.
40382 * io/symlink.c: Likewise.
40383 * io/symlinkat.c: Likewise.
40384 * io/ttyname.c: Likewise.
40385 * io/ttyname_r.c: Likewise.
40386 * io/umask.c: Likewise.
40387 * io/unlink.c: Likewise.
40388 * io/unlinkat.c: Likewise.
40389 * io/utime.c: Likewise.
40390 * io/utimensat.c: Likewise.
40391 * io/write.c: Likewise.
40392 * io/xmknod.c: Likewise.
40393 * io/xmknodat.c: Likewise.
40394 * io/xstat.c: Likewise.
40395 * io/xstat64.c: Likewise.
40396 * login/getpt.c: Likewise.
40397 * login/grantpt.c: Likewise.
40398 * login/unlockpt.c: Likewise.
40399 * math/e_acoshl.c: Likewise.
40400 * math/e_acosl.c: Likewise.
40401 * math/e_asinl.c: Likewise.
40402 * math/e_atan2l.c: Likewise.
40403 * math/e_atanhl.c: Likewise.
40404 * math/e_coshl.c: Likewise.
40405 * math/e_expl.c: Likewise.
40406 * math/e_fmodl.c: Likewise.
40407 * math/e_gammal_r.c: Likewise.
40408 * math/e_hypotl.c: Likewise.
40409 * math/e_j0l.c: Likewise.
40410 * math/e_j1l.c: Likewise.
40411 * math/e_jnl.c: Likewise.
40412 * math/e_lgammal_r.c: Likewise.
40413 * math/e_log10l.c: Likewise.
40414 * math/e_log2l.c: Likewise.
40415 * math/e_logl.c: Likewise.
40416 * math/e_powl.c: Likewise.
40417 * math/e_rem_pio2l.c: Likewise.
40418 * math/e_sinhl.c: Likewise.
40419 * math/e_sqrtl.c: Likewise.
40420 * math/fclrexcpt.c: Likewise.
40421 * math/fedisblxcpt.c: Likewise.
40422 * math/feenablxcpt.c: Likewise.
40423 * math/fegetenv.c: Likewise.
40424 * math/fegetexcept.c: Likewise.
40425 * math/fegetround.c: Likewise.
40426 * math/feholdexcpt.c: Likewise.
40427 * math/fesetenv.c: Likewise.
40428 * math/fesetround.c: Likewise.
40429 * math/feupdateenv.c: Likewise.
40430 * math/fgetexcptflg.c: Likewise.
40431 * math/fraiseexcpt.c: Likewise.
40432 * math/fsetexcptflg.c: Likewise.
40433 * math/ftestexcept.c: Likewise.
40434 * math/k_cosl.c: Likewise.
40435 * math/k_rem_pio2l.c: Likewise.
40436 * math/k_sinl.c: Likewise.
40437 * math/k_tanl.c: Likewise.
40438 * math/s_asinhl.c: Likewise.
40439 * math/s_atanl.c: Likewise.
40440 * math/s_cbrtl.c: Likewise.
40441 * math/s_erfl.c: Likewise.
40442 * math/s_expm1l.c: Likewise.
40443 * math/s_log1pl.c: Likewise.
40444 * math/s_tanhl.c: Likewise.
40445 * misc/acct.c: Likewise.
40446 * misc/brk.c: Likewise.
40447 * misc/chflags.c: Likewise.
40448 * misc/chroot.c: Likewise.
40449 * misc/fchflags.c: Likewise.
40450 * misc/fgetxattr.c: Likewise.
40451 * misc/flistxattr.c: Likewise.
40452 * misc/fremovexattr.c: Likewise.
40453 * misc/fsetxattr.c: Likewise.
40454 * misc/fsync.c: Likewise.
40455 * misc/ftruncate.c: Likewise.
40456 * misc/futimes.c: Likewise.
40457 * misc/futimesat.c: Likewise.
40458 * misc/getdomain.c: Likewise.
40459 * misc/getdtsz.c: Likewise.
40460 * misc/gethostid.c: Likewise.
40461 * misc/gethostname.c: Likewise.
40462 * misc/getloadavg.c: Likewise.
40463 * misc/getpagesize.c: Likewise.
40464 * misc/getsysstats.c: Likewise.
40465 * misc/getxattr.c: Likewise.
40466 * misc/gtty.c: Likewise.
40467 * misc/ioctl.c: Likewise.
40468 * misc/lgetxattr.c: Likewise.
40469 * misc/listxattr.c: Likewise.
40470 * misc/llistxattr.c: Likewise.
40471 * misc/lremovexattr.c: Likewise.
40472 * misc/lsetxattr.c: Likewise.
40473 * misc/lutimes.c: Likewise.
40474 * misc/madvise.c: Likewise.
40475 * misc/mincore.c: Likewise.
40476 * misc/mlock.c: Likewise.
40477 * misc/mlockall.c: Likewise.
40478 * misc/mmap.c: Likewise.
40479 * misc/mprotect.c: Likewise.
40480 * misc/msync.c: Likewise.
40481 * misc/munlock.c: Likewise.
40482 * misc/munlockall.c: Likewise.
40483 * misc/munmap.c: Likewise.
40484 * misc/preadv.c: Likewise.
40485 * misc/preadv64.c: Likewise.
40486 * misc/ptrace.c: Likewise.
40487 * misc/pwritev.c: Likewise.
40488 * misc/pwritev64.c: Likewise.
40489 * misc/readv.c: Likewise.
40490 * misc/reboot.c: Likewise.
40491 * misc/remap_file_pages.c: Likewise.
40492 * misc/removexattr.c: Likewise.
40493 * misc/revoke.c: Likewise.
40494 * misc/select.c: Likewise.
40495 * misc/setdomain.c: Likewise.
40496 * misc/setegid.c: Likewise.
40497 * misc/seteuid.c: Likewise.
40498 * misc/sethostid.c: Likewise.
40499 * misc/sethostname.c: Likewise.
40500 * misc/setregid.c: Likewise.
40501 * misc/setreuid.c: Likewise.
40502 * misc/setxattr.c: Likewise.
40503 * misc/sstk.c: Likewise.
40504 * misc/stty.c: Likewise.
40505 * misc/swapoff.c: Likewise.
40506 * misc/swapon.c: Likewise.
40507 * misc/sync.c: Likewise.
40508 * misc/syncfs.c: Likewise.
40509 * misc/syscall.c: Likewise.
40510 * misc/truncate.c: Likewise.
40511 * misc/ualarm.c: Likewise.
40512 * misc/usleep.c: Likewise.
40513 * misc/ustat.c: Likewise.
40514 * misc/utimes.c: Likewise.
40515 * misc/vhangup.c: Likewise.
40516 * misc/writev.c: Likewise.
40517 * posix/_exit.c: Likewise.
40518 * posix/alarm.c: Likewise.
40519 * posix/execve.c: Likewise.
40520 * posix/fexecve.c: Likewise.
40521 * posix/fork.c: Likewise.
40522 * posix/fpathconf.c: Likewise.
40523 * posix/getaddrinfo.c: Likewise.
40524 * posix/getegid.c: Likewise.
40525 * posix/geteuid.c: Likewise.
40526 * posix/getgid.c: Likewise.
40527 * posix/getgroups.c: Likewise.
40528 * posix/getlogin.c: Likewise.
40529 * posix/getlogin_r.c: Likewise.
40530 * posix/getpgid.c: Likewise.
40531 * posix/getpid.c: Likewise.
40532 * posix/getppid.c: Likewise.
40533 * posix/getresgid.c: Likewise.
40534 * posix/getresuid.c: Likewise.
40535 * posix/getsid.c: Likewise.
40536 * posix/getuid.c: Likewise.
40537 * posix/glob64.c: Likewise.
40538 * posix/nanosleep.c: Likewise.
40539 * posix/pathconf.c: Likewise.
40540 * posix/pause.c: Likewise.
40541 * posix/posix_madvise.c: Likewise.
40542 * posix/pread.c: Likewise.
40543 * posix/pread64.c: Likewise.
40544 * posix/pwrite.c: Likewise.
40545 * posix/pwrite64.c: Likewise.
40546 * posix/sched_getaffinity.c: Likewise.
40547 * posix/sched_getp.c: Likewise.
40548 * posix/sched_gets.c: Likewise.
40549 * posix/sched_primax.c: Likewise.
40550 * posix/sched_primin.c: Likewise.
40551 * posix/sched_rr_gi.c: Likewise.
40552 * posix/sched_setaffinity.c: Likewise.
40553 * posix/sched_setp.c: Likewise.
40554 * posix/sched_sets.c: Likewise.
40555 * posix/sched_yield.c: Likewise.
40556 * posix/setgid.c: Likewise.
40557 * posix/setlogin.c: Likewise.
40558 * posix/setpgid.c: Likewise.
40559 * posix/setresgid.c: Likewise.
40560 * posix/setresuid.c: Likewise.
40561 * posix/setsid.c: Likewise.
40562 * posix/setuid.c: Likewise.
40563 * posix/sleep.c: Likewise.
40564 * posix/spawni.c: Likewise.
40565 * posix/sysconf.c: Likewise.
40566 * posix/times.c: Likewise.
40567 * posix/wait.c: Likewise.
40568 * posix/wait3.c: Likewise.
40569 * posix/wait4.c: Likewise.
40570 * posix/waitpid.c: Likewise.
40571 * resolv/gai_sigqueue.c: Likewise.
40572 * resource/getpriority.c: Likewise.
40573 * resource/getrlimit.c: Likewise.
40574 * resource/getrusage.c: Likewise.
40575 * resource/nice.c: Likewise.
40576 * resource/setpriority.c: Likewise.
40577 * resource/setrlimit.c: Likewise.
40578 * resource/ulimit.c: Likewise.
40579 * rt/aio_cancel.c: Likewise.
40580 * rt/aio_fsync.c: Likewise.
40581 * rt/aio_read.c: Likewise.
40582 * rt/aio_sigqueue.c: Likewise.
40583 * rt/aio_suspend.c: Likewise.
40584 * rt/aio_write.c: Likewise.
40585 * rt/clock_getres.c: Likewise.
40586 * rt/clock_gettime.c: Likewise.
40587 * rt/clock_nanosleep.c: Likewise.
40588 * rt/clock_settime.c: Likewise.
40589 * rt/lio_listio.c: Likewise.
40590 * rt/mq_close.c: Likewise.
40591 * rt/mq_getattr.c: Likewise.
40592 * rt/mq_notify.c: Likewise.
40593 * rt/mq_open.c: Likewise.
40594 * rt/mq_receive.c: Likewise.
40595 * rt/mq_send.c: Likewise.
40596 * rt/mq_setattr.c: Likewise.
40597 * rt/mq_timedreceive.c: Likewise.
40598 * rt/mq_timedsend.c: Likewise.
40599 * rt/mq_unlink.c: Likewise.
40600 * rt/shm_open.c: Likewise.
40601 * rt/shm_unlink.c: Likewise.
40602 * rt/timer_create.c: Likewise.
40603 * rt/timer_delete.c: Likewise.
40604 * rt/timer_getoverr.c: Likewise.
40605 * rt/timer_gettime.c: Likewise.
40606 * rt/timer_settime.c: Likewise.
40607 * setjmp/__longjmp.c: Likewise.
40608 * setjmp/setjmp.c: Likewise.
40609 * signal/kill.c: Likewise.
40610 * signal/killpg.c: Likewise.
40611 * signal/raise.c: Likewise.
40612 * signal/sigaction.c: Likewise.
40613 * signal/sigaltstack.c: Likewise.
40614 * signal/sigblock.c: Likewise.
40615 * signal/sigignore.c: Likewise.
40616 * signal/sigintr.c: Likewise.
40617 * signal/signal.c: Likewise.
40618 * signal/sigpause.c: Likewise.
40619 * signal/sigpending.c: Likewise.
40620 * signal/sigqueue.c: Likewise.
40621 * signal/sigreturn.c: Likewise.
40622 * signal/sigset.c: Likewise.
40623 * signal/sigsetmask.c: Likewise.
40624 * signal/sigstack.c: Likewise.
40625 * signal/sigsuspend.c: Likewise.
40626 * signal/sigtimedwait.c: Likewise.
40627 * signal/sigvec.c: Likewise.
40628 * signal/sigwait.c: Likewise.
40629 * signal/sigwaitinfo.c: Likewise.
40630 * signal/sysv_signal.c: Likewise.
40631 * socket/accept.c: Likewise.
40632 * socket/accept4.c: Likewise.
40633 * socket/bind.c: Likewise.
40634 * socket/connect.c: Likewise.
40635 * socket/getpeername.c: Likewise.
40636 * socket/getsockname.c: Likewise.
40637 * socket/getsockopt.c: Likewise.
40638 * socket/isfdtype.c: Likewise.
40639 * socket/listen.c: Likewise.
40640 * socket/recv.c: Likewise.
40641 * socket/recvfrom.c: Likewise.
40642 * socket/recvmsg.c: Likewise.
40643 * socket/send.c: Likewise.
40644 * socket/sendmsg.c: Likewise.
40645 * socket/sendto.c: Likewise.
40646 * socket/setsockopt.c: Likewise.
40647 * socket/shutdown.c: Likewise.
40648 * socket/sockatmark.c: Likewise.
40649 * socket/socket.c: Likewise.
40650 * socket/socketpair.c: Likewise.
40651 * stdio-common/ctermid.c: Likewise.
40652 * stdio-common/cuserid.c: Likewise.
40653 * stdio-common/remove.c: Likewise.
40654 * stdio-common/rename.c: Likewise.
40655 * stdio-common/renameat.c: Likewise.
40656 * stdio-common/tempname.c: Likewise.
40657 * stdlib/getcontext.c: Likewise.
40658 * stdlib/makecontext.c: Likewise.
40659 * stdlib/setcontext.c: Likewise.
40660 * stdlib/swapcontext.c: Likewise.
40661 * stdlib/system.c: Likewise.
40662 * streams/fattach.c: Likewise.
40663 * streams/fdetach.c: Likewise.
40664 * streams/getmsg.c: Likewise.
40665 * streams/getpmsg.c: Likewise.
40666 * streams/putmsg.c: Likewise.
40667 * streams/putpmsg.c: Likewise.
40668 * sysdeps/unix/bsd/getpt.c: Likewise.
40669 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
40670 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
40671 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40673 Likewise.
40674 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
40675 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40676 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
40677 * sysvipc/msgctl.c: Likewise.
40678 * sysvipc/msgget.c: Likewise.
40679 * sysvipc/msgrcv.c: Likewise.
40680 * sysvipc/msgsnd.c: Likewise.
40681 * sysvipc/semctl.c: Likewise.
40682 * sysvipc/semget.c: Likewise.
40683 * sysvipc/semop.c: Likewise.
40684 * sysvipc/semtimedop.c: Likewise.
40685 * sysvipc/shmat.c: Likewise.
40686 * sysvipc/shmctl.c: Likewise.
40687 * sysvipc/shmdt.c: Likewise.
40688 * sysvipc/shmget.c: Likewise.
40689 * termios/tcdrain.c: Likewise.
40690 * termios/tcflow.c: Likewise.
40691 * termios/tcflush.c: Likewise.
40692 * termios/tcgetattr.c: Likewise.
40693 * termios/tcgetpgrp.c: Likewise.
40694 * termios/tcsendbrk.c: Likewise.
40695 * termios/tcsetattr.c: Likewise.
40696 * termios/tcsetpgrp.c: Likewise.
40697 * time/adjtime.c: Likewise.
40698 * time/clock.c: Likewise.
40699 * time/getitimer.c: Likewise.
40700 * time/gettimeofday.c: Likewise.
40701 * time/setitimer.c: Likewise.
40702 * time/settimeofday.c: Likewise.
40703 * time/stime.c: Likewise.
40704 * time/time.c: Likewise.
40705
407062012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 40707
a20492cf
PT
40708 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
40709 /usr/old/bin.
40710
72e182e3
PT
40711 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
40712 instead of spaces.
40713 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
40714
fbeafede
JM
407152012-11-03 Joseph Myers <joseph@codesourcery.com>
40716
5b5b04d6
JM
40717 [BZ #14796]
40718 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
40719 FE_TONEAREST before applying Dekker multiplication and Knuth
40720 addition. Clear inexact exceptions and check for exact zero
40721 results afterwards.
40722 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40723 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40724 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40725 * math/libm-test.inc (fma_test): Add more tests.
40726 (fma_test_towardzero): Likewise.
40727 (fma_test_downward): Likewise.
40728 (fma_test_upward): Likewise.
40729 * sysdeps/generic/math_private.h (default_libc_fesetround): New
40730 function.
40731 (libc_fesetround): New macro.
40732 (libc_fesetroundf): Likewise.
40733 (libc_fesetroundl): Likewise.
40734 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
40735 function.
40736 (libc_fesetround_387): Likewise.
40737 (libc_fesetroundf): New macro.
40738 (libc_fesetround): Likewise.
40739 (libc_fesetroundl): Likewise.
40740 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
40741 function.
40742 (libc_fesetroundf): New macro.
40743 (libc_fesetround): Likewise.
40744 (libc_fesetroundl): Likewise.
40745 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
40746 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
40747 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
40748 libm_hidden_ver.
40749 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
40750 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
40751 libm_hidden_def.
40752 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
40753 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
40754 libm_hidden_ver.
40755 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
40756 libm_hidden_def.
40757
fbeafede
JM
40758 [BZ #3439]
40759 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
40760 integer constant usable in #if and use that to give value to enum
40761 constant.
40762 (FE_DIVBYZERO): Likewise.
40763 (FE_UNDERFLOW): Likewise.
40764 (FE_OVERFLOW): Likewise.
40765 (FE_INVALID): Likewise.
40766 (FE_INVALID_SNAN): Likewise.
40767 (FE_INVALID_ISI): Likewise.
40768 (FE_INVALID_IDI): Likewise.
40769 (FE_INVALID_ZDZ): Likewise.
40770 (FE_INVALID_IMZ): Likewise.
40771 (FE_INVALID_COMPARE): Likewise.
40772 (FE_INVALID_SOFTWARE): Likewise.
40773 (FE_INVALID_SQRT): Likewise.
40774 (FE_INVALID_INTEGER_CONVERSION): Likewise.
40775 (FE_TONEAREST): Likewise.
40776 (FE_TOWARDZERO): Likewise.
40777 (FE_UPWARD): Likewise.
40778 (FE_DOWNWARD): Likewise.
40779 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
40780 (FE_DIVBYZERO): Likewise.
40781 (FE_OVERFLOW): Likewise.
40782 (FE_UNDERFLOW): Likewise.
40783 (FE_INEXACT): Likewise.
40784 (FE_TONEAREST): Likewise.
40785 (FE_DOWNWARD): Likewise.
40786 (FE_UPWARD): Likewise.
40787 (FE_TOWARDZERO): Likewise.
40788 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
40789 (FE_UNDERFLOW): Likewise.
40790 (FE_OVERFLOW): Likewise.
40791 (FE_DIVBYZERO): Likewise.
40792 (FE_INVALID): Likewise.
40793 (FE_TONEAREST): Likewise.
40794 (FE_TOWARDZERO): Likewise.
40795 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
40796 (FE_OVERFLOW): Likewise.
40797 (FE_UNDERFLOW): Likewise.
40798 (FE_DIVBYZERO): Likewise.
40799 (FE_INEXACT): Likewise.
40800 (FE_TONEAREST): Likewise.
40801 (FE_TOWARDZERO): Likewise.
40802 (FE_UPWARD): Likewise.
40803 (FE_DOWNWARD): Likewise.
40804 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
40805 (FE_DIVBYZERO): Likewise.
40806 (FE_OVERFLOW): Likewise.
40807 (FE_UNDERFLOW): Likewise.
40808 (FE_INEXACT): Likewise.
40809 (FE_TONEAREST): Likewise.
40810 (FE_DOWNWARD): Likewise.
40811 (FE_UPWARD): Likewise.
40812 (FE_TOWARDZERO): Likewise.
40813
105ca950
CM
408142012-11-02 Chris Metcalf <cmetcalf@tilera.com>
40815
40816 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
40817
a542b389
AS
408182012-11-03 Andreas Schwab <schwab@linux-m68k.org>
40819
40820 * scripts/cross-test-ssh.sh (command): Use newlines to separate
40821 commands. Quote $PWD.
40822 (blacklist_exports): Don't use remove_newlines. Replace "declare
40823 -x" by "export".
40824 (remove_newlines): Remove.
40825
f62c8abc
L
408262012-11-02 H.J. Lu <hongjiu.lu@intel.com>
40827
40828 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
40829 * stdlib/stdlib.h (atof): Moved to ...
40830 * include/bits/stdlib-float.h: Here. New file.
40831 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
40832 * stdlib/bits/stdlib-float.h: New file.
40833 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
40834 -mno-sse -mno-mmx.
40835 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
40836 <xmmintrin.h>.
40837
0155d5b2
JM
408382012-11-02 Joseph Myers <joseph@codesourcery.com>
40839
a68d0680
JM
40840 * conform/conformtest.pl (@headers): Add fenv.h.
40841 * conform/data/fenv.h-data: New file.
40842 * include/fenv.h [_ISOMAC]: Disable all contents of file except
40843 include of <math/fenv.h>.
40844
caf7f573
JM
40845 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
40846 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
40847 && !UNIX98]. Enables tests for XOPEN2K8.
40848 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
40849 POSIX2008]: Likewise.
40850
6c073ad6
JM
40851 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
40852 (struct rusage): Do not expect type or its members.
40853
0155d5b2
JM
40854 [BZ #3439]
40855 * math/math.h (FP_NAN): Define macro to integer constant usable in
40856 #if and use that to give value to enum constant.
40857 (FP_INFINITE): Likewise.
40858 (FP_ZERO): Likewise.
40859 (FP_SUBNORMAL): Likewise.
40860 (FP_NORMAL): Likewise.
40861
b5dcacb4
AS
408622012-11-02 Andreas Schwab <schwab@linux-m68k.org>
40863
40864 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
40865 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
40866 arguments.
40867
f7934be8
RM
408682012-11-02 Roland McGrath <roland@hack.frob.com>
40869
40870 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
40871 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
40872 autoconf-time if not.
40873 * configure.in: Remove AC_PREREQ.
40874
d7d08bde
TMQMF
408752012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40876
40877 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
40878 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
40879 of the internal implementation.
40880
dcdae19a
JM
408812012-11-02 Joseph Myers <joseph@codesourcery.com>
40882
40883 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
40884 except include of <misc/sys/syslog.h>.
40885
d6cffd3e
AS
408862012-11-01 Andreas Schwab <schwab@linux-m68k.org>
40887
40888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
40889 function returns with a NULL context exit with zero.
40890
b3563932
TMQMF
408912012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40892
40893 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
40894
b288a93d
L
408952012-11-01 H.J. Lu <hongjiu.lu@intel.com>
40896
40897 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
40898 (run_program_cmd): This.
40899 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
40900 (tst_langinfo): New variable. Use it.
40901
a2421a68
SAS
409022012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
40903
40904 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
40905 floating point opcodes.
40906
6f796e1b
TS
409072012-11-01 Thomas Schwinge <thomas@codesourcery.com>
40908
7402596b
TS
40909 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
40910 variable.
40911
d0d4f868
TS
40912 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
40913
6f796e1b
TS
40914 * sysdeps/mach/hurd/powerpc: Remove directory.
40915 * sysdeps/mach/powerpc: Likewise.
40916
4da224a2
AS
409172012-11-01 Andreas Schwab <schwab@linux-m68k.org>
40918
40919 * scripts/check-local-headers.sh: Ignore c++ headers.
40920
341dd673
TS
409212012-11-01 Thomas Schwinge <thomas@codesourcery.com>
40922
40923 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
40924 __libc_cleanup_region_start argument.
40925
473611b2
JM
409262012-11-01 Joseph Myers <joseph@codesourcery.com>
40927
40928 [BZ #14784]
40929 [BZ #14785]
40930 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
40931 x * y using scaling, not as x * y + z.
40932 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40933 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40934 * math/libm-test.inc (fma_test): Add more tests.
40935 (fma_test_towardzero): Likewise.
40936 (fma_test_downward): Likewise.
40937 (fma_test_upward): Likewise.
40938
4078da3d
TS
409392012-11-01 Thomas Schwinge <thomas@codesourcery.com>
40940
40941 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
40942
903252aa
JM
409432012-10-31 Joseph Myers <joseph@codesourcery.com>
40944
40945 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
40946 New variable.
40947
cbc818d0
TS
409482012-10-31 Thomas Schwinge <thomas@codesourcery.com>
40949
40950 * rt/tst-shm.c (worker): Correct checking for mmap failure.
40951
5a03cb1e
AS
409522012-10-31 Andreas Schwab <schwab@linux-m68k.org>
40953
40954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40955 Fix sort order.
40956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40957 Likewise.
40958
90aff2ff
TMQMF
409592012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40960
40961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40962 Fix the order of the list for glibc 2.17.
40963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40964 Likewise.
40965
1818fcb7
AS
409662012-10-31 Andreas Schwab <schwab@linux-m68k.org>
40967
40968 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40969
ef82f4da
JM
409702012-10-31 Joseph Myers <joseph@codesourcery.com>
40971
16a0e2ec
JM
40972 [BZ #14610]
40973 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
40974 for low part of x being zero before using __atanl (y).
40975 * math/libm-test.inc (atan2_test): Add another test.
40976
0eb69512
JM
40977 * manual/install.texi (Configuring and compiling): Document
40978 general use of test-wrapper and test-wrapper-env.
40979 * INSTALL: Regenerated.
40980
ef82f4da
JM
40981 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
40982 (__fma): Do not extract and scale down low bits on after-rounding
40983 systems when result rounded to normal precision would have normal
40984 exponent.
40985 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
40986 (__fmal): Do not extract and scale down low bits on after-rounding
40987 systems when result rounded to normal precision would have normal
40988 exponent.
40989 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
40990 (__fmal): Do not extract and scale down low bits on after-rounding
40991 systems when result rounded to normal precision would have normal
40992 exponent.
40993 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
40994 macro.
40995 (fma_test): Add more tests.
40996 (fma_test_towardzero): Likewise.
40997 (fma_test_downward): Likewise.
40998 (fma_test_upward): Likewise.
40999
954ef0d9
L
410002012-10-30 H.J. Lu <hongjiu.lu@intel.com>
41001
41002 * sysdeps/i386/tininess.h: Renamed to ...
41003 * sysdeps/x86/tininess.h: This.
41004 * sysdeps/x86_64/tininess.h: Removed.
41005
df61ffb2
JM
410062012-10-30 Joseph Myers <joseph@codesourcery.com>
41007
41008 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
41009 input. Use $(build-program-cmd).
41010 ($(objpfx)tst-array1-static.out): Likewise.
41011 ($(objpfx)tst-array2.out): Likewise.
41012 ($(objpfx)tst-array3.out): Likewise.
41013 ($(objpfx)tst-array4.out): Likewise.
41014 ($(objpfx)tst-array5.out): Likewise.
41015 ($(objpfx)tst-array5-static.out): Likewise.
41016
01767843
CM
410172012-10-30 Chris Metcalf <cmetcalf@tilera.com>
41018
47cc1490
CM
41019 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
41020 if defined.
41021
01767843
CM
41022 * nss/nsswitch.h (nss_interface_function): Provide new
41023 macro for use with NSS functions.
41024 * grp/initgroups.c: Use new macro.
41025 * nss/getXXbyYY.c: Likewise.
41026 * nss/getXXbyYY_r.c: Likewise.
41027 * nss/getXXent.c: Likewise.
41028 * nss/getXXent_r.c: Likewise.
41029 * sysdeps/posix/getaddrinfo.c: Likewise.
41030
8321aa97
AJ
410312012-10-30 Andreas Jaeger <aj@suse.de>
41032
41033 * po/ru.po: Update Russion translation from translation project.
41034
2a27fd6d
JM
410352012-10-30 Joseph Myers <joseph@codesourcery.com>
41036
8627a232
JM
41037 [BZ #14152]
41038 [BZ #14783]
41039 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
41040 result and shift together with sticky bit instead of replicating
41041 round-to-nearest rounding.
41042 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41043 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41044 * math/libm-test.inc (fma_test): Add more tests. Do not permit
41045 missing underflow exceptions.
41046 (fma_test_towardzero): Add more tests.
41047 (fma_test_downward): Likewise.
41048 (fma_test_upward): Likewise.
41049
2a27fd6d
JM
41050 [BZ #14047]
41051 * sysdeps/generic/tininess.h: New file.
41052 * sysdeps/i386/tininess.h: Likewise.
41053 * sysdeps/sh/tininess.h: Likewise.
41054 * sysdeps/x86_64/tininess.h: Likewise.
41055 * stdlib/tst-strtod-underflow.c: Likewise.
41056 * stdlib/tst-tininess.c: Likewise.
41057 * stdlib/strtod_l.c: Include <tininess.h>.
41058 (round_and_return): Do not set errno for exact underflow cases.
41059 Force an underflow exception when setting errno for underflow.
41060 Determine underflow based on rounding to normal precision if
41061 TININESS_AFTER_ROUNDING.
41062 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
41063 ERANGE for exact underflow cases.
41064 * stdlib/Makefile (tests): Add tst-tininess and
41065 tst-strtod-underflow.
41066 ($(objpfx)tst-tininess): Use $(link-libm).
41067 ($(objpfx)tst-strtod-underflow): Likewise.
41068
e7170363
AJ
410692012-10-30 Andreas Jaeger <aj@suse.de>
41070
e5088dc6
AJ
41071 [BZ#14767]
41072 * elf/Makefile (tests): Remove conditional for have-initfini-array
41073 since this is now always required and the variable does not exist
41074 anymore.
41075 (tests-static): Likewise.
41076 (modules-names): Likewise.
41077
e7170363 41078 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
41079
41080 * elf/tst-array1.c (fini_array): Make writeable so that it can be
41081 merged with constructor/destructor.
41082 (init_array): Likewise.
41083 * elf/tst-array2dep.c (fini_array): Likewise.
41084 (init_array): Likewise.
41085
60457d8a
MF
410862012-10-29 Mike Frysinger <vapier@gentoo.org>
41087
41088 * manual/message.texi: Delete @cartouche tags.
41089
8bece752
PT
410902012-10-29 Pino Toscano <toscano.pino@tiscali.it>
41091
94ce799f
PT
41092 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
41093 EOPNOTSUPP.
41094 * sysdeps/mach/hurd/fsync.c: Likewise.
41095
8bece752
PT
41096 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
41097 [_POSIX_REALTIME_SIGNALS]: Change condition to
41098 [_POSIX_REALTIME_SIGNALS > 0].
41099
86ebe6b1
AJ
411002012-10-27 Andreas Jaeger <aj@suse.de>
41101
41102 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
41103 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
41104 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
41105 [__WORDSIZE != 64]: Likewise.
41106
54399c08
L
411072012-10-26 H.J. Lu <hongjiu.lu@intel.com>
41108
41109 * iconvdata/tst-table.sh: Remove ${SHELL}.
41110 * iconvdata/tst-tables.sh: Likewise.
41111
e2211bed
DM
411122012-10-25 David S. Miller <davem@davemloft.net>
41113
41114 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41115 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
41116 of strtoull.
41117
f303f97c
DM
41118 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
41119 ifunc-impl-list.c
41120 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41121 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
41122 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
41123 file.
41124
1e9d84cd
RM
411252012-10-25 Roland McGrath <roland@hack.frob.com>
41126
41127 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41128 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
41129 __getdirentries.
41130
df381762
JM
411312012-10-25 Joseph Myers <joseph@codesourcery.com>
41132 Jim Blandy <jimb@codesourcery.com>
41133
41134 * scripts/cross-test-ssh.sh: New file.
41135 * manual/install.texi (Configuring and compiling): Document use of
41136 cross-test-ssh.sh.
41137 * INSTALL: Regenerated.
41138
bff64913
PT
411392012-10-25 Pino Toscano <toscano.pino@tiscali.it>
41140
41141 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
41142 EOPNOTSUPP.
41143
25fe8932
JM
411442012-10-25 Joseph Myers <joseph@codesourcery.com>
41145
41146 * Makeconfig (run-program-prefix): Fix comment.
41147
cc1290d0
JM
411482012-10-24 Joseph Myers <joseph@codesourcery.com>
41149 Jim Blandy <jimb@codesourcery.com>
41150
41151 * Makeconfig (test-wrapper): New variable,
41152 (test-wrapper-env): Likewise.
41153 [$(cross-compiling) = yes && $(test-wrapper) != ""]
41154 (run-built-tests): Define to yes.
41155 (run-program-prefix): Use $(test-wrapper).
41156 (built-program-cmd): Likewise.
41157 * Rules (make-test-out): Use $(test-wrapper-env) and
41158 $(host-built-program-cmd).
41159 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
41160 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
41161 tst-pathopt.sh.
41162 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
41163 $(test-wrapper-env) to tst-rtld-load-self.sh.
41164 ($(objpfx)order2.out): Use $(test-wrapper).
41165 ($(objpfx)tst-initorder.out): Likewise.
41166 ($(objpfx)tst-initorder2.out): Likewise.
41167 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
41168 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
41169 (test_wrapper_env): New variable. Use it to run ld.so.
41170 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
41171 Use it to run ld.so.
41172 (test_wrapper_env): Likewise.
41173 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
41174 $(test-wrapper) to run-iconv-test.sh.
41175 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
41176 (ICONV): Use $test_wrapper.
41177 * posix/Makefile ($(objpfx)globtest.out): Pass
41178 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
41179 globtest.sh, not $(run-program-prefix).
41180 * posix/globtest.sh (run_via_rtld_prefix): New variable.
41181 (test_wrapper): Likewise.
41182 (test_wrapper_env): Likewise. Use it to run globtest with HOME
41183 set together with run_via_rtld_prefix.
41184 (run_program_prefix): Define in terms of test_wrapper and
41185 run_via_rtld_prefix.
41186
6e6249d0
RM
411872012-10-24 Roland McGrath <roland@hack.frob.com>
41188
41189 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
41190 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
41191 Targets removed.
41192
41193 [BZ #14743]
41194 * include/time.h: Remove librt_hidden_proto (clock_gettime).
41195 Declare __clock_getres, __clock_gettime, __clock_settime,
41196 __clock_nanosleep, and __clock_getcpuclockid.
41197 * rt/clock_gettime.c: Define __clock_gettime as an alias.
41198 Remove librt_hidden_def (clock_gettime).
41199 * sysdeps/unix/clock_gettime.c: Likewise.
41200 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
41201 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
41202 * rt/clock_getres.c: Define __clock_getres as an alias.
41203 * sysdeps/posix/clock_getres.c: Likewise.
41204 * rt/clock_settime.c: Define __clock_settime as an alias.
41205 * sysdeps/unix/clock_settime.c: Likewise.
41206 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
41207 * sysdeps/unix/clock_nanosleep.c: Likewise.
41208 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
41209 * rt/clock-compat.c: New file.
41210 * rt/Makefile (librt-routines): Add clock-compat and move
41211 $(clock-routines) to ...
41212 (routines): ... here, new variable.
41213 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
41214 Don't add get_clockfreq here.
41215 * rt/Versions (libc: GLIBC_2.17): New version set.
41216 Add clock_* symbols here.
41217 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
41218 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
41219 (GLIBC_2.17): Add clock_* symbols.
41220 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
41221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
41222 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41224 Likewise.
41225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41226 Likewise.
41227 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41228 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
41229 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
41230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
41231 * NEWS: Mention the move.
41232
41233 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41234 Use __open, __read, __close rather than their public counterparts.
41235 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41236 (__get_clockfreq_via_cpuinfo): Likewise.
41237 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
41238 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
41239
41240 * config.h.in (HAVE_IFUNC): New #undef.
41241 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
41242 was successful.
41243 * configure: Regenerated.
41244
0cae3f4b
MF
412452012-10-24 Mike Frysinger <vapier@gentoo.org>
41246
41247 * configure.in: Move READELF check to start of file.
41248 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
41249 libc_cv_asm_gnu_indirect_function in the process.
41250 * configure: Regenerated.
41251
8175a253
MF
412522012-10-24 Mike Frysinger <vapier@gentoo.org>
41253
41254 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
41255 send the output to /dev/null.
41256 (libc_cv_cc_with_libunwind): Likewise.
41257 (libc_cv_as_noexecstack): Likewise.
41258 * configure: Regenerate.
41259
0708a7d1
JM
412602012-10-24 Joseph Myers <joseph@codesourcery.com>
41261
10b40d85
JM
41262 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
41263
0708a7d1
JM
41264 * posix/globtest.sh (TMPDIR): Do not set.
41265 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
41266 (testout): Likewise.
41267
9fddec1a
AJ
412682012-10-24 Andreas Jaeger <aj@suse.de>
41269
3a8db22f
AJ
41270 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
41271 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
41272 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
41273 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
41274 posix_fadvise64, posix_fallocate64.
41275
9fddec1a
AJ
41276 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
41277 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
41278 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
41279 Likewise.
41280 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
41281 Likewise.
41282 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
41283
41284 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
41285 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
41286 <bits/fcntl-linux.h>.
41287 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
41288
41289 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
41290 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
41291 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
41292 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
41293 [__WORDSIZE != 64]: Likewise.
41294
ebfd1bbd
JM
412952012-10-23 Joseph Myers <joseph@codesourcery.com>
41296
03ac099f
JM
41297 * Makeconfig (run-built-tests): New variable.
41298 * Rules [$(cross-compiling) = yes]: Change condition to
41299 [$(run-built-tests) = no].
41300 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
41301 to [$(run-built-tests) = yes].
41302 * elf/Makefile [$(cross-compiling) = no]: Likewise
41303 * grp/Makefile [$(cross-compiling) = no]: Likewise.
41304 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
41305 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
41306 * intl/Makefile [$(cross-compiling) = no]: Likewise.
41307 * io/Makefile [$(cross-compiling) = no]: Likewise.
41308 * libio/Makefile [$(cross-compiling) = no]: Likewise.
41309 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
41310 * misc/Makefile [$(cross-compiling) = no]: Likewise.
41311 * posix/Makefile [$(cross-compiling) = no]: Likewise.
41312 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
41313 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
41314 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
41315 * string/Makefile [$(cross-compiling) = no]: Likewise.
41316
ebfd1bbd
JM
41317 * posix/Makefile ($(objpfx)globtest.out): Pass
41318 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
41319 $(rtld-installed-name).
41320 * posix/globtest.sh (elf_objpfx): Remove variable.
41321 (rtld_installed_name): Likewise.
41322 (library_path): Likewise.
41323 (run_program_prefix): New variable. Use for running globtest
41324 binary.
41325
166bca24
JB
413262012-10-23 Jim Blandy <jimb@codesourcery.com>
41327 Joseph Myers <joseph@codesourcery.com>
41328
41329 * Makeconfig (host-built-program-cmd): New variable.
41330 * elf/Makefile (tst-stackguard1-ARGS): Use
41331 $(host-built-program-cmd).
41332 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
41333 (tst-spawn-ARGS): Likewise.
41334 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
41335
88866099
JM
413362012-10-23 Joseph Myers <joseph@codesourcery.com>
41337 Jim Blandy <jimb@codesourcery.com>
41338
41339 * Makeconfig (run-via-rtld-prefix): New variable.
41340 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
41341 (built-program-cmd): Likewise.
41342
b4b4c296
AJ
413432012-10-22 Andreas Jaeger <aj@suse.de>
41344
41345 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
41346 __O_RSYNC if it exists, otherwise to O_SYNC.
41347
6fb54a22
JB
413482012-10-22 Jim Blandy <jimb@codesourcery.com>
41349 Joseph Myers <joseph@codesourcery.com>
41350
41351 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
41352 /dev/null.
41353 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
41354 from /dev/null
41355 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
41356 /dev/null.
41357
481b90b9
AJ
413582012-10-22 Andreas Jaeger <aj@suse.de>
41359
2a0e2669
AJ
41360 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
41361 Define always.
41362 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
41363
76e38f9a
AJ
41364 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41365 bits/fcntl-linux.h.
41366
7cd37b43
AJ
41367 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
41368 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
41369
481b90b9
AJ
41370 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
41371 to __O_LARGEFILE.
41372 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
41373 to __O_LARGEFILE.
41374
aba75984
JB
413752012-10-21 Jim Blandy <jimb@codesourcery.com>
41376 Joseph Myers <joseph@codesourcery.com>
41377
41378 * config.make.in (NM): New variable.
41379
88d4247f
AJ
413802012-10-21 Andreas Jaeger <aj@suse.de>
41381
41382 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
41383 definitions and declarations that are provided by
41384 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41385
f2eed205
L
413862012-10-20 H.J. Lu <hongjiu.lu@intel.com>
41387
41388 [BZ #14683]
41389 * elf/Makefile (tests-static): Add tst-leaks1-static.
41390 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
41391 ($(objpfx)tst-leaks1-static): New rule.
41392 ($(objpfx)tst-leaks1-static-mem): Likewise.
41393 (tst-leaks1-static-ENV): New macro.
41394 * elf/dl-open.c (dl_open_worker): Check the main application
41395 only if SHARED is defined.
41396 * elf/tst-leaks1-static.c: New file.
41397
335e6931
AJ
413982012-10-20 Andreas Jaeger <aj@suse.de>
41399
41400 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
41401 generic values for Linux.
41402 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
41403 and declarations that are provided by <bits/fcntl-linux.h> and
41404 include <bits/fcntl-linux.h>.
41405 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41406 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41407
ac5c94d3
RM
414082012-10-20 Roland McGrath <roland@hack.frob.com>
41409
41410 * io/fcntl.h: Move include of <bits/types.h> to the top and
41411 include it unconditionally.
41412
de54b33a
L
414132012-10-20 H.J. Lu <hongjiu.lu@intel.com>
41414
228cfb01
L
41415 * wcsmbs/Makefile (tests-ifunc): New variable.
41416 (tests): Add $(tests-ifunc).
41417 * wcsmbs/test-wcschr-ifunc.c: New file.
41418 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
41419 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
41420 * wcsmbs/test-wcslen-ifunc.c: Likewise.
41421 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
41422 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
41423
69f07e5f
L
41424 * string/Makefile (tests-ifunc): New variable.
41425 (tests): Add $(tests-ifunc).
41426 * string/test-memccpy.c (TEST_NAME): New macro.
41427 * string/test-memchr.c (TEST_NAME): Likewise.
41428 * string/test-memcmp.c (TEST_NAME): Likewise.
41429 * string/test-memcpy.c (TEST_NAME): Likewise.
41430 * string/test-memmem.c (TEST_NAME): Likewise.
41431 * string/test-memmove.c (TEST_NAME): Likewise.
41432 * string/test-memset.c (TEST_NAME): Likewise.
41433 * string/test-rawmemchr.c (TEST_NAME): Likewise.
41434 * string/test-stpcpy.c (TEST_NAME): Likewise.
41435 * string/test-stpncpy.c (TEST_NAME): Likewise.
41436 * string/test-strcasecmp.c (TEST_NAME): Likewise.
41437 * string/test-strcasestr.c (TEST_NAME): Likewise.
41438 * string/test-strcat.c (TEST_NAME): Likewise.
41439 * string/test-strchr.c (TEST_NAME): Likewise.
41440 * string/test-strcmp.c(TEST_NAME): Likewise.
41441 * string/test-strcpy.c (TEST_NAME): Likewise.
41442 * string/test-strcspn.c (TEST_NAME): Likewise.
41443 * string/test-strlen.c (TEST_NAME): Likewise.
41444 * string/test-strncasecmp.c (TEST_NAME): Likewise.
41445 * string/test-strncmp.c (TEST_NAME): Likewise.
41446 * string/test-strncpy.c (TEST_NAME): Likewise.
41447 * string/test-strnlen.c (TEST_NAME): Likewise.
41448 * string/test-strpbrk.c (TEST_NAME): Likewise.
41449 * string/test-strrchr.c (TEST_NAME): Likewise.
41450 * string/test-strspn.c (TEST_NAME): Likewise.
41451 * string/test-strstr.c (TEST_NAME): Likewise.
41452 * string/test-bcopy-ifunc.c: New file.
41453 * string/test-bzero-ifunc.c: Likewise.
41454 * string/test-memccpy-ifunc.c: Likewise.
41455 * string/test-memchr-ifunc.c: Likewise.
41456 * string/test-memcmp-ifunc.c: Likewise.
41457 * string/test-memcpy-ifunc.c: Likewise.
41458 * string/test-memmem-ifunc.c: Likewise.
41459 * string/test-memmove-ifunc.c: Likewise.
41460 * string/test-mempcpy-ifunc.c: Likewise.
41461 * string/test-memset-ifunc.c: Likewise.
41462 * string/test-rawmemchr-ifunc.c: Likewise.
41463 * string/test-stpcpy-ifunc.c: Likewise.
41464 * string/test-stpncpy-ifunc.c: Likewise.
41465 * string/test-strcasecmp-ifunc.c: Likewise.
41466 * string/test-strcasestr-ifunc.c: Likewise.
41467 * string/test-strcat-ifunc.c: Likewise.
41468 * string/test-strchr-ifunc.c: Likewise.
41469 * string/test-strchrnul-ifunc.c: Likewise.
41470 * string/test-strcmp-ifunc.c: Likewise.
41471 * string/test-strcpy-ifunc.c: Likewise.
41472 * string/test-strcspn-ifunc.c: Likewise.
41473 * string/test-strlen-ifunc.c: Likewise.
41474 * string/test-strncasecmp-ifunc.c: Likewise.
41475 * string/test-strncat-ifunc.c: Likewise.
41476 * string/test-strncmp-ifunc.c: Likewise.
41477 * string/test-strncpy-ifunc.c: Likewise.
41478 * string/test-strnlen-ifunc.c: Likewise.
41479 * string/test-strpbrk-ifunc.c: Likewise.
41480 * string/test-strrchr-ifunc.c: Likewise.
41481 * string/test-strspn-ifunc.c: Likewise.
41482 * string/test-strstr-ifunc.c: Likewise.
41483
de54b33a
L
41484 * debug/Makefile (tests-ifunc): New variable.
41485 (tests): Add $(tests-ifunc).
41486 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
41487 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
41488 * debug/test-stpcpy_chk-ifunc.c: New file.
41489 * debug/test-strcpy_chk-ifunc.c: Likewise.
41490
88481c16
SP
414912012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
41492
41493 [BZ #13601]
41494 * elf/dl-load.c (open_verify): Retry read if the entire ELF
41495 header is not read in.
41496
135948bd
JM
414972012-10-19 Joseph Myers <joseph@codesourcery.com>
41498
89f1c388
JM
41499 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
41500 script to $(SHELL) as $<. Pass $(common-objpfx) to script
41501 directly. Pass built executable to script as
41502 $(built-program-cmd).
41503 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
41504 $testprogram without using LD_LIBRARY_PATH and $ldso.
41505
e40a0d21
JM
41506 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
41507 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
41508 $(rtld-installed-name).
41509 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
41510 (rtld_installed_name): Likewise.
41511 (library_path): Likewise.
41512 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
41513 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
41514 $(run-program-prefix) to tst-tables.sh.
41515 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
41516 it to run tst-table-from and tst-table-to.
41517 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
41518 Pass it to tst-table.sh.
41519 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
41520 $(run-program-prefix) to tst-gettext.sh.
41521 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
41522 tst-translit.sh.
41523 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
41524 tst-gettext2.sh.
41525 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
41526 to run tst-gettext.
41527 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
41528 to run tst-gettext2.
41529 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
41530 to run tst-translit.
41531 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
41532 $(run-program-prefix) to tst-mtrace.sh.
41533 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
41534 to run tst-mtrace.
41535 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
41536 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
41537 $(rtld-installed-name).
41538 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
41539 (rtld_installed_name): Likewise.
41540 (run_program_prefix): New variable. Use it to run wordexp-test.
41541
728e272a
JM
41542 * Makeconfig (ARCH): Remove all definitions.
41543 (machine): Likewise.
41544 [ARCH]: Remove conditional code.
41545 [!objdir]: Give error.
41546 [!objdir] (objpfx): Remove.
41547 [!objdir] (common-objpfx): Likewise.
41548 [!objdir] (common-objdir): Likewise.
41549 * configure.in (config_makefile): Remove. Hardcode Makefile in
41550 AC_CONFIG_FILES call.
41551 * configure: Regenerated.
41552
d528cdcf
JM
41553 [BZ #13888]
41554 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
41555 or TMPDIR.
41556 (testout): Likewise.
41557
135948bd
JM
41558 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
41559 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
41560 $(rtld-installed-name).
41561 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
41562 (rtld_installed_name): Likwise.
41563 (runit): Remove function.
41564 (run_getconf): New variable, Use it for running getconf binary.
41565
38c78296
L
415662012-10-18 H.J. Lu <hongjiu.lu@intel.com>
41567
41568 [BZ #14716]
41569 * string/test-memmem.c (check_result): New function.
41570 (do_one_test): Use it.
41571 (check1): New function.
41572 (test_main): Use it.
41573
d077f65f
MT
415742012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
41575
41576 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
41577
ced52c71
JM
415782012-10-18 Joseph Myers <joseph@codesourcery.com>
41579
41580 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
41581 (_G_LSEEK64): Likewise.
41582 (_G_MMAP64): Likewise.
41583 (_G_FSTAT64): Likewise.
41584 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
41585 (_G_LSEEK64): Likewise.
41586 (_G_MMAP64): Likewise.
41587 (_G_FSTAT64): Likewise.
41588 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
41589 unconditional. Call __mmap64 directly.
41590 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
41591 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
41592 __lseek64 directly.
41593 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
41594 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
41595 __mmap64 directly.
41596 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
41597 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
41598 __lseek64 directly.
41599 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
41600 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
41601 __lseek64 directly.
41602 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
41603 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
41604 __lseek64 directly.
41605 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
41606 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
41607 __fxstat64 directly.
41608 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
41609 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
41610 unconditional.
41611 (freopen64) [!_G_OPEN64]: Remove conditional code.
41612 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
41613 unconditional.
41614 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
41615 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
41616 unconditional.
41617 (ftello64) [!_G_LSEEK64]: Remove conditional code.
41618 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
41619 unconditional.
41620 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41621 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
41622 unconditional.
41623 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
41624 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
41625 unconditional.
41626 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41627 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
41628 unconditional.
41629 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41630 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
41631 unconditional.
41632 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41633
b741de23
SP
416342012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
41635
41636 [BZ #12140]
41637 * manual/memory.texi (Malloc Tunable Parameters): Add note
41638 about free list pointers overwriting some perturb bytes.
41639 Wording suggested by Roland McGrath.
41640
f9b9d9c9
JM
416412012-10-17 Joseph Myers <joseph@codesourcery.com>
41642
41643 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
41644 (lgamma_test): Likewise.
41645 (tgamma_test): Likewise.
41646
172a631a
FW
416472012-10-16 Florian Weimer <fweimer@redhat.com>
41648
41649 [BZ #14700]
41650 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
41651 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
41652
e9f37252
MK
416532012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
41654
41655 * NEWS: Mention BZ #14716.
41656 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
41657 when removing AVAILABLE1_USES_J macro.
41658
d394eb74
L
416592012-10-12 H.J. Lu <hongjiu.lu@intel.com>
41660
41661 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
41662 (__bswap_64): __uint64_t for unsigned 64-bit int.
41663
ca38dc17
AS
416642012-10-12 Andreas Schwab <schwab@linux-m68k.org>
41665
41666 * include/string.h (memmem): Declare libc hidden alias.
41667 * string/memmem.c (memmem): Define libc hidden alias.
41668 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
41669 __read, __close instead of open, read, close.
41670
9a387d1f
L
416712012-10-11 H.J. Lu <hongjiu.lu@intel.com>
41672
ac49ecaf
L
41673 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
41674 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
41675 global and hidden.
41676 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
41677 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
41678 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
41679 Likewise.
41680 (__rawmemchr_sse2): Likewise.
41681 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
41682 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
41683 (__strchr_sse2): Likewise.
41684 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
41685 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
41686 (__strcasecmp_sse2): Likewise.
41687 (__strncasecmp_sse2): Likewise.
41688 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
41689 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
41690 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
41691 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
41692 (__strrchr_sse2): Likewise.
41693 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
41694 ifunc-impl-list.c.
41695 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
41696 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
41697 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
41698 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41699 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
41700 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
41701 * sysdeps/x86_64/multiarch/memset.S: Likewise.
41702 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41703 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
41704 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
41705 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
41706 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
41707 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
41708 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
41709 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
41710 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41711 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
41712 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
41713 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
41714 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
41715 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
41716 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
41717 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
41718 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
41719 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
41720 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41721 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
41722 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
41723 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
41724 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
41725
b090e8ea
L
41726 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
41727 global and hidden.
41728 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
41729 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
41730 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
41731 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
41732 Likewise.
41733 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
41734 Likewise.
41735 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
41736 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
41737 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
41738 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
41739 ifunc-impl-list.c.
41740 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41741 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41742 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41743 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41744 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41745 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41746 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41747 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41748 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41749 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41750 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41751 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41752 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41753 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
41754 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
41755 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41756 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
41757 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
41758 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41759 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41760 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41761 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41762 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41763 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41764 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41765 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
41766 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
41767 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
41768 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
41769 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41770 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
41771 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41772 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41773 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
41774 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41775 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41776 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41777 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41778 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41779 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41780 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
41781
11dd4af6
L
41782 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
41783 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
41784 * include/ifunc-impl-list.h: New file.
41785 * misc/ifunc-impl-list.c: Likewise.
41786 * misc/Makefile (routines): Add ifunc-impl-list.
41787 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
41788 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
41789 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
41790 TEST_NAME]: New variables.
11dd4af6
L
41791 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
41792 are defined.
41793 (test_init): Call __libc_ifunc_impl_list to initialize
41794 func_list if TEST_IFUNC and TEST_NAME are defined.
41795
9a387d1f
L
41796 * string/Makefile (strop-tests): Add bcopy and bzero.
41797 * string/test-bcopy.c: New file.
41798 * string/test-bzero.c: Likewise.
41799 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
41800 defined.
41801 * string/test-memset.c: Support bzero test if TEST_BZERO is
41802 defined.
41803 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
41804 __libc_memmove.
41805 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
41806 __libc_memset.
41807 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
41808 of memset.
41809
472371b9
JM
418102012-10-10 Joseph Myers <joseph@codesourcery.com>
41811
1e4a9536
JM
41812 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
41813 * configure: Regenerated.
41814
d173d12e
JM
41815 * Makeconfig (+link-static-before-libc): Don't include
41816 $(link-static-libc).
41817
472371b9
JM
41818 * libio/libio.h (_IO_pos_t): Remove.
41819
89a3ad0b
AO
418202012-10-10 Alexandre Oliva <aoliva@redhat.com>
41821
41822 * NEWS: Add note about FIPS mode. Wording suggested by Roland
41823 McGrath.
41824
e7451425
AO
418252012-10-10 Alexandre Oliva <aoliva@redhat.com>
41826
41827 * crypt/crypt-entry.c: Include fips-private.h.
41828 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
41829 * crypt/md5c-test.c (main): Tolerate disabled MD5.
41830 * sysdeps/unix/sysv/linux/fips-private.h: New file.
41831 * sysdeps/generic/fips-private.h: New file, dummy fallback.
41832
4ba74a35
AO
418332012-10-10 Alexandre Oliva <aoliva@redhat.com>
41834
41835 * crypt/crypt-private.h: Include stdbool.h.
41836 (_ufc_setup_salt_r): Return bool.
41837 * crypt/crypt-entry.c: Include errno.h.
41838 (__crypt_r): Return NULL with EINVAL for bad salt.
41839 * crypt/crypt_util.c (bad_for_salt): New.
41840 (_ufc_setup_salt_r): Check that salt is long enough and within
41841 the specified alphabet.
41842 * crypt/badsalttest.c: New file.
41843 * crypt/Makefile (tests): Add it.
41844 ($(objpfx)badsalttest): New.
41845
f96f1242
MK
418462012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
41847
41848 * NEWS: Add entry for BZ #14602.
41849
0e8e0c1c
JM
418502012-10-09 Joseph Myers <joseph@codesourcery.com>
41851
41852 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
41853 type-generic.
41854 * math/libm-test.inc: Update comment listing what functions and
41855 macros are tested.
41856 (isgreater_test): New function.
41857 (isgreaterequal_test): Likewise.
41858 (isless_test): Likewise.
41859 (islessequal_test): Likewise.
41860 (islessgreater_test): Likewise.
41861 (isunordered_test): Likewise.
41862 (main): Call the new functions.
41863
273edc5e
RM
418642012-10-09 Roland McGrath <roland@hack.frob.com>
41865
b8493de0
RM
41866 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
41867 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
41868 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
41869 * sysdeps/i386/configure: Regenerated.
41870 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
41871 * sysdeps/mach/configure: Regenerated.
41872 * sysdeps/mach/hurd/configure: Regenerated.
41873 * sysdeps/powerpc/configure: Regenerated.
41874 * sysdeps/powerpc/powerpc32/configure: Regenerated.
41875 * sysdeps/powerpc/powerpc64/configure: Regenerated.
41876 * sysdeps/s390/s390-32/configure: Regenerated.
41877 * sysdeps/s390/s390-64/configure: Regenerated.
41878 * sysdeps/sh/configure: Regenerated.
41879 * sysdeps/sparc/configure: Regenerated.
41880 * sysdeps/unix/sysv/linux/configure: Regenerated.
41881 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
41882 * sysdeps/x86_64/configure: Regenerated.
41883
273edc5e
RM
41884 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
41885 defined. Don't check if MAP is NULL.
41886
c8450f70
JM
418872012-10-09 Joseph Myers <joseph@codesourcery.com>
41888
41889 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
41890 (_G_stat64): Likewise.
41891 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
41892 (_G_stat64): Likewise.
41893 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
41894 instead of struct _G_stat64.
41895 * libio/fileops.c (mmap_remap_check): Likewise.
41896 (decide_maybe_mmap): Likewise.
41897 (_IO_new_file_seekoff): Likewise.
41898 (_IO_file_stat): Likewise.
41899 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
41900 _G_off64_t.
41901 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
41902 instead of struct _G_stat64.
41903 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
41904
57e605ba
MK
419052012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
41906
41907 [BZ #14602]
41908 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41909 Replace with ...
41910 (CHECK_EOL): New macro.
41911 (two_way_short_needle): Check beginning of haystack for EOL. Use
41912 CHECK_EOL.
41913 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41914 Replace with CHECK_EOL.
41915 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41916 Replace with CHECK_EOL.
41917
ef1bb361
JM
419182012-10-08 Joseph Myers <joseph@codesourcery.com>
41919
41920 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
41921 type-generic.
41922 * math/libm-test.inc: Update comment listing what functions and
41923 macros are tested.
41924 (finite_test): New function.
41925 (isinf_test): Likewise.
41926 (isnan_test): Likewise.
41927 (fpclassify_test): Test subnormal input.
41928 (isfinite_test): Likewise.
41929 (isnormal_test): Likewise.
41930 (main): Call the new functions.
41931
55f11534
JN
419322012-10-08 Jonathan Nieder <jrnieder@gmail.com>
41933
41934 [BZ #14660]
41935 * Makerules (%.dynsym): Force C locale when running
41936 $(OBJDUMP) --dynamic-syms.
41937
1ab29350
AS
419382012-10-08 Andreas Schwab <schwab@linux-m68k.org>
41939
41940 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
41941 <stdint.h>.
41942
f1ecb7ef
DM
419432012-10-06 David S. Miller <davem@davemloft.net>
41944
41945 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
41946 upper 32-bits of the length value in %o2 since we use branch-on-register
41947 tests which consider the entire 64-bit register.
41948
5d41d91a
L
419492012-10-06 H.J. Lu <hongjiu.lu@intel.com>
41950
41951 * string/test-strstr.c (check2): Add a test for page boundary.
41952
3baddb72
DM
419532012-10-05 David S. Miller <davem@davemloft.net>
41954
41955 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
41956 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
41957 file.
41958 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41959 sysdep_routines.
41960 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41961 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
41962 and bzero when HWCAP_SPARC_CRYPTO is present.
41963
9cee5585
L
419642012-10-05 H.J. Lu <hongjiu.lu@intel.com>
41965
d7e0dab9
L
41966 [BZ #14602]
41967 * string/test-strstr.c (check2): New function.
41968 (test_main): Call check2.
41969
03759f47
L
41970 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
41971 and bug-strchr1.
41972 * string/bug-strcasestr1.c (do_test): Moved to ...
41973 * string/test-strcasestr.c (check1): Here. New function.
41974 (do_one_test): Break out result checking code into ...
41975 (check_result): This. New function.
41976 (do_one_test): Call check_result.
41977 (test_main): Call check1.
41978 * string/bug-strchr1.c (do_test): Moved to ...
41979 * string/test-strchr.c (check1): Here. New function.
41980 (do_one_test): Break out result checking code into ...
41981 (check_result): This. New function.
41982 (do_one_test): Call check_result.
41983 (test_main): Call check1.
41984 * string/bug-strstr1.c (main): Moved to ...
046f153e 41985 * string/test-strstr.c (check1): Here. New function.
03759f47
L
41986 (do_one_test): Break out result checking code into ...
41987 (check_result): This. New function.
41988 (do_one_test): Call check_result.
41989 (test_main): Call check1.
41990 * string/bug-strcasestr1.c: Removed.
41991 * string/bug-strchr1.c: Likewise.
41992 * string/bug-strstr1.c: Likewise.
41993
53cea63e
L
41994 * elf/Makefile (dl-routines): Add hwcaps.
41995 * elf/dl-support.c (_dl_important_hwcaps): Removed.
41996 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
41997 (_dl_important_hwcaps): Moved to ...
41998 * elf/dl-hwcaps.c: Here. New file.
41999 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
42000
9cee5585 42001 [BZ #14557]
bb859b06
L
42002 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
42003 if IS_IN_rtld isn't defined.
42004
9cee5585
L
42005 * elf/dl-support.c (_dl_sysinfo_map): New.
42006 Include "get-dynamic-info.h" and "setup-vdso.h".
42007 (_dl_non_dynamic_init): Call setup_vdso.
42008 * elf/dynamic-link.h: Don't include <assert.h>.
42009 (elf_get_dynamic_info): Moved to ...
42010 * elf/get-dynamic-info.h: Here. New file.
42011 * elf/dynamic-link.h: Include "get-dynamic-info.h".
42012 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
42013 * elf/setup-vdso.h: Here. New file.
42014 * elf/rtld.c: Include "setup-vdso.h".
42015 (dl_main): Call setup_vdso.
42016
23c31b76
JM
420172012-10-05 Joseph Myers <joseph@codesourcery.com>
42018
28234b07
JM
42019 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
42020 creal in comment listing functions tested. List finite, isinf,
42021 isnan, isless, islessequal, isgreater, isgreaterequal,
42022 islessgreater, isunordered, lgamma_r and pow10 as functions and
42023 macros not tested. Mention which functions not tested are aliases
42024 for other functions. Fix typo. Note that signs of NaNs are not
42025 tested.
42026
23c31b76
JM
42027 * scripts/config.guess: Update from config.git.
42028 * scripts/config.sub: Likewise.
42029
9043e228
RM
420302012-10-04 Roland McGrath <roland@hack.frob.com>
42031
42032 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
42033 * misc/madvise.c (madvise): Renamed to __madvise.
42034 Make madvise a weak alias.
42035 * include/sys/mman.h: Declare __madvise.
42036 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
42037 * sysdeps/unix/syscalls.list
42038 (madvise): Make __madvise the strong name, and madvise a weak alias.
42039 * sysdeps/unix/sysv/linux/syscalls.list
42040 (madvise, mmap): Remove redundant entries.
42041 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
42042 * malloc/malloc.c (mtrim): Likewise.
42043 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
42044
f57f8055
RM
420452012-10-03 Roland McGrath <roland@hack.frob.com>
42046
42047 * sysdeps/mach/hurd/dl-cache.c: File removed.
42048 * config.h.in (USE_LDCONFIG): New #undef.
42049 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
42050 * configure: Regenerated.
42051 * elf/Makefile (dl-routines): Add dl-cache only under
42052 [$(use-ldconfig) = yes].
42053 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
42054 cache on [USE_LDCONFIG].
42055 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
42056 [USE_LDCONFIG].
42057 * elf/rtld.c (dl_main): Likewise.
42058
5bb0c10a
PT
420592012-10-03 Pino Toscano <toscano.pino@tiscali.it>
42060
42061 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
42062 _SC_LEVEL4_CACHE_LINESIZE.
42063
010188c6
RM
420642012-10-03 Roland McGrath <roland@hack.frob.com>
42065
42066 * sysdeps/unix/bsd/confstr.h: File removed.
42067
b6c5ec07
AO
420682012-10-02 Alexandre Oliva <aoliva@redhat.com>
42069
42070 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
42071 sys/sdt-config.h.
42072
408223d4
RM
420732012-10-02 Roland McGrath <roland@hack.frob.com>
42074
42075 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
42076 Make 'mapoff' field ElfW(Off) rather than off_t.
42077
bb9510dc
DL
420782012-10-02 Dmitry V. Levin <ldv@altlinux.org>
42079
fc997c6e
DL
42080 * nscd/Makefile: Remove nscd-cflags and all its users.
42081 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
42082 (CFLAGS-nonlib): Add compiler flags for nscd modules.
42083
bb9510dc
DL
42084 [BZ #10631]
42085 * malloc.c (malloc_printerr): Clarify error message.
42086
05699367
L
420872012-10-02 H.J. Lu <hongjiu.lu@intel.com>
42088
42089 [BZ #14648]
42090 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42091 Set bit_FMA_Usable if FMA is supported.
42092 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
42093 macro.
42094 (bit_FMA4_Usable): Updated.
42095 (index_FMA_Usable): New macro.
42096 (CPUID_FMA): Likewise
42097 (HAS_FMA): Defined with bit_FMA_Usable.
42098
51367701
RM
420992012-10-01 Roland McGrath <roland@hack.frob.com>
42100
42101 * bits/types.h (__swblk_t): Type removed.
42102 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
42103 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
42104 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42105 (__SWBLK_T_TYPE): Likewise.
42106 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42107 (__SWBLK_T_TYPE): Likewise.
42108 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42109 (__SWBLK_T_TYPE): Likewise.
42110 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42111 (__SWBLK_T_TYPE): Likewise.
42112
4d57bf63 421132012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 42114 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
42115
42116 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
42117 (xdr_mapname): Use YPMAXMAP as maxsize.
42118 (xdr_peername): Use YPMAXPEER as maxsize.
42119 (xdr_keydat): Use YPAXRECORD as maxsize.
42120 (xdr_valdat): Use YPMAXRECORD as maxsize.
42121
93c65d43
RM
421222012-10-01 Roland McGrath <roland@hack.frob.com>
42123
497a03d6
RM
42124 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
42125
93c65d43
RM
42126 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
42127 * csu/init-first.c: ... here.
42128 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
42129 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
42130 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
42131 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
42132 * sysdeps/i386/init-first.c: File removed.
42133 * sysdeps/sh/init-first.c: File removed.
42134
bec749fd
JM
421352012-10-01 Joseph Myers <joseph@codesourcery.com>
42136
42137 [BZ #14645]
42138 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
42139 if x * y might underflow to zero and z is zero.
42140 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42141 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42142 * math/libm-test.inc (min_subnorm_value): New variable.
42143 (fma_test): Add more tests.
42144 (fma_test_towardzero): Likewise.
42145 (fma_test_downward): Likewise
42146 (fma_test_upward): Likewise.
42147 (initialize): Set min_subnorm_value.
42148
8ec5b013
JM
421492012-09-29 Joseph Myers <joseph@codesourcery.com>
42150
42151 [BZ #14638]
42152 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
42153 0 + 0.
42154 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
42155 mode for addition resulting in exact zero.
42156 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
42157 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
42158 exact 0 + 0.
42159 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42160 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42161 * math/libm-test.inc (fma_test): Add more tests.
42162 (fma_test_towardzero): New function.
42163 (fma_test_downward): Likewise.
42164 (fma_test_upward): Likewise.
42165 (main): Call the new functions.
42166
b1fa802e
DM
421672012-09-28 David S. Miller <davem@davemloft.net>
42168
42169 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
42170
d3b9fd9e
RM
421712012-09-28 Roland McGrath <roland@hack.frob.com>
42172
ea4d37b3
RM
42173 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
42174 instead of SIGALRM.
42175
ac51c949
RM
42176 * sysdeps/gnu/_G_config.h: Moved to ...
42177 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
42178 * sysdeps/mach/hurd/_G_config.h: Moved to ...
42179 * sysdeps/generic/_G_config.h: ... here.
42180
28c195f7
RM
42181 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
42182
848917f9
RM
42183 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
42184
6bacf05b
RM
42185 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
42186 Conditionalize target on [libnss_test1.so-version].
42187
91363dbb
RM
42188 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
42189
cc87f7d8
RM
42190 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
42191 (elfobjdir): Move out of conditionals.
42192
b1c608fe
RM
42193 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
42194 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
42195 (__nss_lookup_function): Conditionalize label remove_from_tree on
42196 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 42197
1d9a6d96
DM
421982012-09-28 David S. Miller <davem@davemloft.net>
42199
42200 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
42201 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
42202 file.
42203 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42204 sysdep_routines.
42205 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42206 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
42207 when HWCAP_SPARC_CRYPTO is present.
42208
72581615
PT
422092012-09-28 Pino Toscano <toscano.pino@tiscali.it>
42210
42211 * io/tst-mknodat.c: Create a FIFO instead of a socket.
42212
715a900c
JL
422132012-09-28 Andreas Schwab <schwab@linux-m68k.org>
42214
42215 [BZ #6530]
42216 * stdio-common/vfprintf.c (process_string_arg): Revert
42217 2000-07-22 change.
42218
422192011-09-28 Jonathan Nieder <jrnieder@gmail.com>
42220
42221 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
42222 for testcase.
42223 * stdio-common/tst-sprintf.c: Include <locale.h>
42224 (main): Test sprintf's handling of incomplete multibyte
42225 characters.
42226
9bac1d86
L
422272012-09-28 H.J. Lu <hongjiu.lu@intel.com>
42228
42229 * elf/dl-runtime.c (VERSYMIDX): Removed.
42230 * elf/dl-version.c (VERSYMIDX): Likewise.
42231 * elf/do-rel.h (VERSYMIDX): Likewise.
42232 (VALIDX): Likewise.
42233 * elf/dynamic-link.h (VERSYMIDX): Likewise.
42234 * elf/rtld.c (VALIDX): Likewise.
42235 (ADDRIDX): Likewise.
9bac1d86
L
42236 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
42237 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
42238 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
42239 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
42240 (VALIDX): Likewise.
42241 (ADDRIDX): Likewise.
9bac1d86 42242
b31606c0
PT
422432012-09-28 Pino Toscano <toscano.pino@tiscali.it>
42244
42245 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
42246
11541177
JL
422472012-09-28 Dmitry V. Levin <ldv@altlinux.org>
42248
42249 [BZ #11438]
42250 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
42251 to global scope.
42252 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
42253 addresses are in the same scope as 192.0.2/24.
42254 * posix/gai.conf: Document new scope table defaults.
42255
adb26fae
SP
422562012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42257
42258 [BZ #5298]
42259 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
42260 for ftell. Compute offsets from write pointers instead.
42261 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42262
4573c6b0
SP
422632012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42264
42265 [BZ #14543]
42266 * libio/Makefile (tests): New test case tst-fseek.
42267 * libio/tst-fseek.c: New test case to verify that fseek/ftell
42268 combination works in wide mode.
42269 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
42270 state when the external buffer state changes.
42271
aa9bbfe6
DM
422722012-09-27 David S. Miller <davem@davemloft.net>
42273
42274 [BZ #14376]
42275 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
42276 pass reloc->r_addend in as the 'high' argument to
42277 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
42278
784421e7
DM
42279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42280
c39bc8b8
PT
422812012-09-28 Pino Toscano <toscano.pino@tiscali.it>
42282
42283 * rt/tst-aio2.c: Include <pthread.h>.
42284 * rt/tst-aio3.c: Likewise.
42285
1ccc2399
SE
422862012-09-27 Steve Ellcey <sellcey@mips.com>
42287
42288 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
42289
31ed4153
L
422902012-09-27 H.J. Lu <hongjiu.lu@intel.com>
42291
25f5f885
L
42292 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
42293 contents on [SHARED].
31ed4153 42294
b7bfe116
MP
422952012-09-26 Marek Polacek <polacek@redhat.com>
42296
42297 [BZ #14530]
42298 [BZ #13741]
42299 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
42300 for C++ and GCC <4.3 as well as for non GCC compilers.
42301
43c4edba
MT
423022012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
42303
42304 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42305
6a1bf82f
RM
423062012-09-25 Roland McGrath <roland@hack.frob.com>
42307
42308 * Makefile.in (all, install): Declare with .PHONY.
42309 Reported by Michael Hope <michael.hope@linaro.org>.
42310
8ad11b9a
TMQMF
423112012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42312
42313 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
42314 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
42315 system header.
42316 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
42317 Likewise.
42318 (sydep_routines): Add the new and the internal functions.
42319 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
42320 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
42321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
42322 (GLIBC_2.17): Add the new function.
42323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
42324 (GLIBC_2.17): Likewise.
42325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
42326 (GLIBC_2.17): Likewise.
42327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
42328 (GLIBC_2.17): Likewise.
42329 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
42330
7e2fca8d
AM
423312012-09-25 Alan Modra <amodra@gmail.com>
42332
42333 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
42334 Add release barrier before setting once_control to say
42335 initialisation is done. Add hints on lwarx. Use macro in
42336 place of isync.
42337 (clear_once_control): Add release barrier.
42338
b87c4b24
JM
423392012-09-25 Joseph Myers <joseph@codesourcery.com>
42340
d032e0d2
JM
42341 [BZ #13629]
42342 * math/s_clog.c (__clog): Handle more values close to |z| = 1
42343 specially.
42344 * math/s_clog10.c (__clog10): Likewise.
42345 * math/s_clog10f.c (__clog10f): Likewise.
42346 * math/s_clog10l.c (__clog10l): Likewise.
42347 * math/s_clogf.c (__clogf): Likewise.
42348 * math/s_clogl.c (__clogl): Likewise.
42349 * math/Makefile (libm-calls): Add x2y2m1.
42350 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
42351 (__x2y2m1): Likewise.
42352 (__x2y2m1l): Likewise.
42353 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
42354 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
42355 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
42356 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
42357 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
42358 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
42359 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
42360 * sysdeps/i386/fpu/libm-test-ulps: Update.
42361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42362
b87c4b24
JM
42363 [BZ #14621]
42364 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
42365 int as type of variable DEPTH.
42366 (glob): Use size_t instead of int as type of variables NEWCOUNT
42367 and OLD_PATHC.
42368
6d3bf199
LD
423692012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42370
22bf5c17
LD
42371 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42372 Add s_sincosf-sse2.
42373 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
42374 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
42375 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
42376 macros for using routine as __sincosf_ia32.
42377 Use macro for function declaration and weak_alias.
42378 * sysdeps/i386/fpu/libm-test-ulps: Update.
42379
42380 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
42381 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42382
42383 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
42384 subnormal argument.
42385 * math/s_cexpf.c (__cexpf): Likewise.
42386 * math/s_csinf.c (__csinf): Likewise.
42387 * math/s_csinhf.c (__csinhf): Likewise.
42388 * math/s_ctanf.c (__ctanf): Likewise.
42389 * math/s_ctanhf.c (__ctanhf): Likewise.
42390 * math/s_ccosh.c (__ccoshf): Likewise.
42391 * math/s_cexp.c (__cexpl): Likewise.
42392 * math/s_csin.c (__csin): Likewise.
42393 * math/s_csinh.c (__csinh): Likewise.
42394 * math/s_ctan.c (__ctan): Likewise.
42395 * math/s_ctanh.c (ctanh): Likewise.
42396 * math/s_ccoshl.c (__ccoshl): Likewise.
42397 * math/s_cexpl.c (__cexpl): Likewise.
42398 * math/s_csinl.c (__csinl): Likewise.
42399 * math/s_csinhl.c (__csinhl): Likewise.
42400 * math/s_ctanl.c (__ctanl): Likewise.
42401 * math/s_ctanhl.c (__ctanhl): Likewise.
42402
203e5603
JM
424032012-09-25 Joseph Myers <joseph@codesourcery.com>
42404
42405 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
42406 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
42407 (_IO_off_t): Define to __off_t, not _G_off_t.
42408 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
42409 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
42410 (_IO_wint_t): Define to wint_t, not _G_wint_t.
42411 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
42412 type of __dummy and __dummy2 fields.
42413 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
42414 (_G_ssize_t): Likewise.
42415 (_G_off_t): Likewise.
42416 (_G_pid_t): Likewise.
42417 (_G_uid_t): Likewise.
42418 (_G_wchar_t): Likewise.
42419 (_G_wint_t): Likewise.
42420 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
42421 (_G_ssize_t): Likewise.
42422 (_G_off_t): Likewise.
42423 (_G_pid_t): Likewise.
42424 (_G_uid_t): Likewise.
42425 (_G_wchar_t): Likewise.
42426 (_G_wint_t): Likewise.
42427 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
42428 (_G_ssize_t): Likewise.
42429 (_G_off_t): Likewise.
42430 (_G_pid_t): Likewise.
42431 (_G_uid_t): Likewise.
42432 (_G_wchar_t): Likewise.
42433 (_G_wint_t): Likewise.
42434
9fab36eb
SP
424352012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
42436
42437 * malloc/arena.c: Include malloc-sysdep.h.
42438 (shrink_heap): Use check_may_shrink_heap to decide if madvise
42439 is sufficient to shrink the heap or an unmap is needed.
42440 * sysdeps/generic/malloc-sysdep.h: New file. Define
42441 new function check_may_shrink_heap.
42442 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
42443 new function check_may_shrink_heap.
42444
2b4f00d1
SP
424452012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
42446
42447 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
42448 comments.
42449
9a9028b1
DL
424502012-09-24 Dmitry V. Levin <ldv@altlinux.org>
42451
57c69bef
DL
42452 * catgets/test-gencat.sh: Add "set -e".
42453 * elf/tst-pathopt.sh: Likewise.
42454 * grp/tst_fgetgrent.sh: Likewise.
42455 * iconvdata/run-iconv-test.sh: Likewise.
42456 * intl/tst-gettext.sh: Likewise.
42457 * intl/tst-gettext2.sh: Likewise.
42458 * intl/tst-gettext4.sh: Likewise.
42459 * intl/tst-gettext6.sh: Likewise.
42460 * intl/tst-translit.sh: Likewise.
42461 * io/ftwtest-sh: Likewise.
42462 * libio/test-freopen.sh: Likewise.
42463 * malloc/tst-mtrace.sh: Likewise.
42464 * posix/globtest.sh: Likewise.
42465 * posix/tst-getconf.sh: Likewise.
42466 * posix/wordexp-tst.sh: Likewise.
42467 * stdio-common/tst-printf.sh: Likewise.
42468 * stdio-common/tst-unbputc.sh: Likewise.
42469 * stdlib/tst-fmtmsg.sh: Likewise.
42470 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42471 * catgets/Makefile: Do not specify -e option when running
42472 testsuite shell scripts.
42473 * elf/Makefile: Likewise.
42474 * grp/Makefile: Likewise.
42475 * iconvdata/Makefile: Likewise.
42476 * intl/Makefile: Likewise.
42477 * io/Makefile: Likewise.
42478 * libio/Makefile: Likewise.
42479 * malloc/Makefile: Likewise.
42480 * posix/Makefile: Likewise.
42481 * stdio-common/Makefile: Likewise.
42482 * stdlib/Makefile: Likewise.
42483 * sysdeps/x86_64/Makefile: Likewise.
42484
9a9028b1
DL
42485 * io/ftwtest-sh: Add copyright header.
42486 * posix/globtest.sh: Likewise.
42487 * posix/tst-getconf.sh: Likewise.
42488 * posix/wordexp-tst.sh: Likewise.
42489 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42490
ced6f16e
L
424912012-09-24 H.J. Lu <hongjiu.lu@intel.com>
42492
94b32c39
L
42493 [BZ #13679]
42494 * Makeconfig (+link): Defined as $(+link-static) if
42495 $(build-shared) isn't yes.
42496 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
42497 isn't yes.
42498 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
42499
189e935b
L
42500 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
42501
ced6f16e
L
42502 [BZ #14562]
42503 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
42504 new chunk size with MALLOC_ALIGN_MASK.
42505
a9f8e53a
JM
425062012-09-24 Joseph Myers <joseph@codesourcery.com>
42507
42508 [BZ #5044]
42509 * stdio-common/printf_fphex.c: Include <stdbool.h> and
42510 <rounding-mode.h>.
42511 (__printf_fphex): Determine rounding using get_rounding_mode and
42512 round_away.
42513 * stdio-common/tst-printf-round.c (struct hex_test): New
42514 structure.
42515 (hex_tests): New variable.
42516 (test_hex_in_one_mode): New function.
42517 (do_test): Also run tests for hex float output.
42518
43153109
JM
425192012-09-21 Joseph Myers <joseph@codesourcery.com>
42520
42521 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42522 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42523 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
42524 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42525 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42526 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
42527 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42528 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42529
8a26625d
JM
425302012-09-20 Joseph Myers <joseph@codesourcery.com>
42531
42532 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
42533 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
42534 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
42535 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
42536
f3fd569c
DL
425372012-09-19 Dmitry V. Levin <ldv@altlinux.org>
42538
42539 [BZ #14579]
42540 * elf/rtld.c (dl_main): Limit the check for self loading to normal
42541 mode only.
42542 * elf/tst-rtld-load-self.sh: New test.
42543 * elf/Makefile: Run it.
42544
63bbedd4
JM
425452012-09-18 Joseph Myers <joseph@codesourcery.com>
42546
42547 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
42548 (tst-writev-ENV): Remove.
42549 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
42550
626f8b6a
CM
425512012-09-17 Chris Metcalf <cmetcalf@tilera.com>
42552
42553 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
42554
b7aaa4d6
JM
425552012-09-17 Joseph Myers <joseph@codesourcery.com>
42556
42557 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
42558 unconditional.
42559 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
42560 Likewise.
42561 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
42562 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
42563 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
42564 Likewise.
42565
65513990
L
425662012-09-14 H.J. Lu <hongjiu.lu@intel.com>
42567
42568 [BZ #14587]
42569 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
42570 * config.make.in (have-cpp-asm-debuginfo): Removed.
42571 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
42572 * configure: Regenerated.
42573
784761be
JM
425742012-09-14 Joseph Myers <joseph@codesourcery.com>
42575
42576 [BZ #5044]
42577 * stdio-common/printf_fp.c: Include <stdbool.h> and
42578 <rounding-mode.h>.
42579 (___printf_fp): Determine rounding using get_rounding_mode and
42580 round_away.
42581 * stdio-common/tst-printf-round.c: New file.
42582 * stdio-common/Makefile (tests): Add tst-printf-round.
42583 (link-libm): New variable.
42584 ($(objpfx)tst-printf-round): Depend in $(link-libm).
42585
9503345f
L
425862012-09-13 H.J. Lu <hongjiu.lu@intel.com>
42587
42588 [BZ #14576]
42589 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
42590 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
42591 Likewise.
42592 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
42593 Likewise.
42594
ad35fc00
JM
425952012-09-13 Joseph Myers <joseph@codesourcery.com>
42596
42597 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
42598 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42599 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42600 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42601
6c9b0f68
JM
426022012-09-12 Joseph Myers <joseph@codesourcery.com>
42603
42604 [BZ #14518]
42605 * include/rounding-mode.h: New file.
42606 * sysdeps/generic/get-rounding-mode.h: Likewise.
42607 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
42608 * stdlib/strtod_l.c: Include <rounding-mode.h>.
42609 (MAX_VALUE): New macro.
42610 (MIN_VALUE): Likewise.
42611 (overflow_value): New function.
42612 (underflow_value): Likewise.
42613 (round_and_return): Use overflow_value and underflow_value to
42614 determine return values in overflow and underflow cases. Use
42615 round_away to determine rounding depending on rounding mode.
42616 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
42617 determine return values in overflow and underflow cases.
42618 * stdlib/tst-strtod-round.c: Include <fenv.h>.
42619 (struct test_results): New structure.
42620 (struct test): Use struct test_results to store expected results
42621 for all rounding modes.
42622 (TEST): Include expected results for all rounding modes.
42623 (test_in_one_mode): New function.
42624 (do_test): Use test_in_one_mode to compute and check results.
42625 Check results for all rounding modes.
42626 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
42627 $(link-libm).
42628
19fcedd5
AM
426292012-12-09 Allan McRae <allan@archlinux.org>
42630
1e9d84cd 42631 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 42632
8bbfd2f1
JM
426332012-09-11 Joseph Myers <joseph@codesourcery.com>
42634
42635 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
42636 (_G_int32_t): Likewise.
42637 (_G_uint16_t): Likewise.
42638 (_G_uint32_t): Likewise.
42639 (_G_HAVE_BOOL): Likewise.
42640 (_G_HAVE_ATEXIT): Likewise.
42641 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42642 (_G_HAVE_IO_FILE_OPEN): Likewise.
42643 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
42644 (_G_int32_t): Likewise.
42645 (_G_uint16_t): Likewise.
42646 (_G_uint32_t): Likewise.
42647 (_G_HAVE_BOOL): Likewise.
42648 (_G_HAVE_ATEXIT): Likewise.
42649 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42650 (_G_HAVE_IO_FILE_OPEN): Likewise.
42651 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
42652 (_G_int32_t): Likewise.
42653 (_G_uint16_t): Likewise.
42654 (_G_uint32_t): Likewise.
42655 (_G_HAVE_BOOL): Likewise.
42656 (_G_HAVE_ATEXIT): Likewise.
42657 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42658 (_G_HAVE_IO_FILE_OPEN): Likewise.
42659
b1dc5912
L
426602012-09-11 H.J. Lu <hongjiu.lu@intel.com>
42661
42662 * csu/libc-tls.c: Update copyright years.
42663
0e886ef9
JM
426642012-09-10 Joseph Myers <joseph@codesourcery.com>
42665
28361c5e
JM
42666 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
42667 [!_G_USING_THUNKS]: Remove conditional code.
42668 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
42669 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
42670
0e886ef9
JM
42671 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
42672 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
42673 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42674 (_G_VTABLE_LABEL_PREFIX): Likewise.
42675 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42676 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42677 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42678 (_G_VTABLE_LABEL_PREFIX): Likewise.
42679 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42680 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42681 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42682 (_G_VTABLE_LABEL_PREFIX): Likewise.
42683 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42684
bcba7aa2
L
426852012-09-10 H.J. Lu <hongjiu.lu@intel.com>
42686
42687 * libio/Makefile: Include ../Makeconfig before tests.
42688 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
42689 only if $(build-shared) is yes.
42690
06585ee8
L
42691 * iconv/gconv_db.c: Update copyright years.
42692
80ccd52c
LD
426932012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42694
42695 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
42696 unwind info if defined PIC. Fix special cases description.
42697 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
42698
42699 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
42700 DP_HI_MASK entry.
42701 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
42702
691bc9c1
L
427032012-09-07 H.J. Lu <hongjiu.lu@intel.com>
42704
3d9b46b3
L
42705 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
42706
de2139a9
L
42707 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
42708 is NULL.
42709
5ca78dd0
L
42710 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
42711 (LDLIBS-tst-chk4): This.
42712 (LDFLAGS-tst-chk5): Renamed to ...
42713 (LDLIBS-tst-chk5): This.
42714 (LDFLAGS-tst-chk6): Renamed to ...
42715 (LDLIBS-tst-chk6): This.
42716 (LDFLAGS-tst-lfschk4): Renamed to ...
42717 (LDLIBS-tst-lfschk4): This.
42718 (LDFLAGS-tst-lfschk5): Renamed to ...
42719 (LDLIBS-tst-lfschk5): This.
42720 (LDFLAGS-tst-lfschk6): Renamed to ...
42721 (LDLIBS-tst-lfschk6): This.
42722
691bc9c1
L
42723 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
42724 on $(common-objpfx)soversions.mk.
42725
65cafb1c
JM
427262012-09-07 Joseph Myers <joseph@codesourcery.com>
42727
42728 [BZ #10014]
42729 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
42730 example host name.
42731
c78ab094
SP
427322012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
42733
42734 * malloc/arena.c (arena_get_retry): New function that gets
42735 another arena for the caller to try its request on.
42736 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
42737 current arena cannot fulfill the request.
42738 (__libc_memalign): Likewise.
42739 (__libc_memalign): Likewise.
42740 (__libc_pvalloc): Likewise.
42741 (__libc_calloc): Likewise.
42742
01f49f59
JT
427432012-09-05 John Tobey <john.tobey@gmail.com>
42744
42745 [BZ #13542]
42746 * manual/arith.texi (Operations on Complex): Fix description
42747 of carg branch cut.
42748
4c23fed5
JM
427492012-09-06 Joseph Myers <joseph@codesourcery.com>
42750
1d3c8572
JM
42751 [BZ #10014]
42752 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
42753 host name.
42754
4c23fed5
JM
42755 [BZ #10038]
42756 * manual/memory.texi (Memory): Make order of menu items match
42757 order of sections.
42758
04570aaa
L
427592012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42760
42761 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
42762 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
42763 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
42764
b80af2f4
L
427652012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42766
42767 * csu/libc-tls.c (static_dtv): Renamed to ...
42768 (_dl_static_dtv): This. Make it global.
42769 (_dl_initial_dtv): Removed.
42770 (__libc_setup_tls): Updated.
42771 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
42772 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
42773 DL_INITIAL_DTV.
42774
2abe9f15
PM
427752012-09-06 Petr Machata <pmachata@redhat.com>
42776
42777 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
42778 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
42779 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
42780 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
42781
0948c3af
L
427822012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42783
42784 [BZ #14545]
42785 * csu/libc-tls.c (_dl_initial_dtv): New variable.
42786 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
42787 freeing dtv[-1].
42788
a5055ad1
L
427892012-09-06 H.J. Lu <hongjiu.lu@intel.com>
42790
42791 [BZ #14544]
42792 * Makeconfig (link-static-before-libc): Replace $(+prector)
42793 with $(+prectorT).
42794 (link-static-after-libc): Replace $(+postctor) with
42795 $(+postctorT).
42796 (link-bounded): Replace $(+prector)/$(+postctor) with
42797 $(+prectorT)/$(+postctorT).
42798 (+prectorT): New macro.
42799 (+postctorT): Likewise.
42800
ed8c2ecd
JM
428012012-09-06 Joseph Myers <joseph@codesourcery.com>
42802
42803 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
42804 (round_str): Handle values above the maximum for IBM long double
42805 as inexact.
42806 * stdlib/tst-strtod-round.c (tests): Regenerated.
42807
14c996c8
AK
428082012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42809
42810 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
42811 assembler flag.
42812 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
42813 zarch_nohighgprs around the zarch optimized routines.
42814 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
42815 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
42816 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
42817 for zarch.
42818
430d6ce6
DM
428192012-09-05 David S. Miller <davem@davemloft.net>
42820
42821 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42822
57f41c40
AS
42823 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
42824 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
42825 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
42826 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42827 entries.
42828
24d4e01b
AO
428292012-09-05 Alexandre Oliva <aoliva@redhat.com>
42830
42831 * malloc/arena.c: Fold copyright years.
42832 * malloc/mcheck.c, malloc/memusage.c: Likewise.
42833
61d58174
AO
428342012-09-05 Alexandre Oliva <aoliva@redhat.com>
42835
42836 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
42837
20196a5e
AO
428382012-09-05 Alexandre Oliva <aoliva@redhat.com>
42839
42840 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
42841
5c447383
AO
428422012-09-05 Alexandre Oliva <aoliva@redhat.com>
42843
42844 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
42845 change internal state upon failure.
42846
fad64255
AO
428472012-09-05 Alexandre Oliva <aoliva@redhat.com>
42848
42849 * malloc/mcheck.c (mcheck_check_all): Fix typo.
42850 * malloc/memusage.c (mmap): Likewise.
42851 (mmap64, mremap): Likewise. Adjust name in comment.
42852
1ffb8c90
SP
428532012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
42854
42855 * libio/fileops.c: Fix typos in comments.
42856 * libio/oldfileops.c: Likewise.
42857 * libio/wfileops.c: Likewise.
42858
6ef9cc37
SP
428592012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
42860
42861 [BZ #1349]
42862 * malloc/Makefile (tests): Add tst-malloc-usable test case.
42863 (tst-malloc-usable-ENV): Set environment for test case.
42864 * malloc/hooks.c (malloc_check_get_size): New function to get
42865 requested size.
42866 * malloc/malloc.c (musable): Use malloc_check_get_size.
42867 * malloc/tst-malloc-usable.c: New test case.
42868
4d038ae3
AS
428692012-09-05 Andreas Schwab <schwab@linux-m68k.org>
42870
42871 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
42872
c4e85184
AM
428732012-09-05 Allan McRae <allan@archlinux.org>
42874
b9dafc56 42875 [BZ #13966]
c4e85184
AM
42876 * configure.in (CXX_SYSINCLUDES): Use compiler output to
42877 determine header location.
42878 * configure: Regenerated.
42879
e1343020
AS
428802012-09-05 Andreas Schwab <schwab@linux-m68k.org>
42881
42882 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
42883 float format.
42884 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
42885 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
42886 format.
e1343020
AS
42887 (test): Regenerate.
42888
0a9f1987
DM
428892012-09-04 David S. Miller <davem@davemloft.net>
42890
42891 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
42892 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
42893 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
42894
29237804
FW
428952012-09-04 Florian Weimer <fweimer@redhat.com>
42896
42897 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
42898 failures.
42899
edb3cb88
FW
42900 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
42901
60160d83
JM
429022012-09-04 Joseph Myers <joseph@codesourcery.com>
42903
42904 [BZ #9914]
42905 * libio/iogetdelim.c: Include <limits.h>.
42906 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
42907 + len + 1 would overflow.
42908
bcd6c8dc
AJ
429092012-09-03 Andreas Jaeger <aj@suse.de>
42910
42911 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42912 * sysdeps/i386/fpu/libm-test-ulps: Update.
42913
4ffffbd2
LD
429142012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42915
42916 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42917 Add s_sinf-sse2, s_conf-sse2.
42918
42919 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
42920 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
42921 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
42922 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
42923
42924 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
42925 for using routine as __sinf_ia32.
42926 Use macro for function declaration and weak_alias.
42927 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
42928 for using routine as __cosf_ia32.
42929 Use macro for function declaration and weak_alias.
42930
42931 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
42932 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
42933
42934 * sysdeps/x86_64/fpu/s_sinf.S: New file.
42935 * sysdeps/x86_64/fpu/s_cosf.S: New file.
42936 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42937
42938 * math/libm-test.inc (cos_test): Add more test cases.
42939 (sin_test): Likewise.
42940 (sincos_test): Likewise.
42941
511fa286
AK
429422012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42943
42944 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
42945 (IFUNC_RESOLVE): Make pointers to the specialized implementations
42946 hidden.
42947 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
42948
5f30cfec
L
429492012-09-02 H.J. Lu <hongjiu.lu@intel.com>
42950
42951 [BZ #14538]
42952 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
42953 first element of the GOT.
42954 (elf_machine_load_address): Return the difference between
42955 the runtime address of _DYNAMIC and elf_machine_dynamic ().
42956
0786794f
AM
429572012-09-01 Allan McRae <allan@archlinux.org>
42958
5f30cfec
L
42959 [BZ #13412]
42960 * configure.in (AWK): Require gawk version 3.0 or later.
42961 * configure: Regenerated.
0786794f 42962
26889eac
JM
429632012-09-01 Joseph Myers <joseph@codesourcery.com>
42964
42965 * sysdeps/unix/sysv/linux/kernel-features.h
42966 (__ASSUME_POSIX_CPU_TIMERS): Remove.
42967 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42968 [__NR_clock_getres]: Make code unconditional.
42969 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
42970 (clock_getcpuclockid): Remove code left unreachable by removal of
42971 conditionals.
42972 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
42973 code unconditional.
42974 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42975 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42976 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
42977 Make code unconditional.
42978 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42979 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42980 * sysdeps/unix/sysv/linux/clock_settime.c
42981 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
42982 conditional code.
42983 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
42984 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42985
d22e28b0
L
429862012-08-29 H.J. Lu <hongjiu.lu@intel.com>
42987
42988 [BZ #14476]
42989 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
42990 scripts/test-installation.pl.
42991
42992 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
42993 and $ld_so_version if it is set.
42994
050af9c4
SP
429952012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
42996
42997 [BZ #14516]
42998 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
42999 failure if reading from procfs failed.
43000 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
43001
ad845c0b
JM
430022012-08-27 Joseph Myers <joseph@codesourcery.com>
43003
43004 * sysdeps/unix/sysv/linux/kernel-features.h
43005 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
43006 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43007 Remove conditional code.
43008 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43009 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
43010 Remove conditional code.
43011 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43012 * sysdeps/unix/sysv/linux/i386/fxstat.c
43013 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43014 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43015 * sysdeps/unix/sysv/linux/i386/fxstatat.c
43016 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43017 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43018 * sysdeps/unix/sysv/linux/i386/lxstat.c
43019 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43020 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43021 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
43022 Remove conditional code.
43023 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43024 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43025 Remove conditional code.
43026 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43027 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
43028 <kernel-features.h>.
43029 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
43030 Remove.
43031 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
43032 Remove conditional code.
43033 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43034 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
43035 Remove conditional.
43036
5dbf56af
MF
430372012-08-27 Mike Frysinger <vapier@gentoo.org>
43038
43039 [BZ #5400]
43040 * NEWS: Add fixed bug number.
43041
d6e70f43
JM
430422012-08-27 Joseph Myers <joseph@codesourcery.com>
43043
7efb4737
JM
43044 [BZ #14519]
43045 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
43046 underflowing exponent in case of negative sign.
43047 * stdlib/tst-strtod-round-data: Add more tests.
43048 * stdlib/tst-strtod-round.c (tests): Regenerated.
43049
af92131a
JM
43050 [BZ #3479]
43051 * stdlib/strtod_l.c (NDIG): Remove.
43052 (HEXNDIG): Likewise.
43053 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
43054 smallest representable value.
43055 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
43056 lie within an exact representation of 1/2 ulp of the result.
43057 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
43058 unconditionally.
43059 (TENS_P9_IDX): Define unconditionally.
43060 (TENS_P9_SIZE): Likewise.
43061 (TENS_P10_IDX): Likewise.
43062 (TENS_P10_SIZE): Likewise.
43063 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
43064 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
43065 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
43066 entries for 10^2^13 and 10^2^14.
43067 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
43068 (TENS_P13_IDX): Define.
43069 (TENS_P13_SIZE): Likewise.
43070 (TENS_P14_IDX): Likewise.
43071 (TENS_P14_SIZE): Likewise.
43072 (_fpioconst_pow10): Change array size to
43073 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
43074 unconditional.
43075 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
43076 1024]: Add entries for 10^2^13 and 10^2^14.
43077 [LAST_POW10 > _LAST_POW10]: Remove #error.
43078 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
43079 (_fpioconst_pow10): Change array size to
43080 FPIOCONST_POW10_ARRAY_SIZE.
43081 * stdlib/gen-fpioconst.c: New file.
43082 * stdlib/gen-tst-strtod-round.c: Likewise.
43083 * stdlib/tst-strtod-round-data: Likewise.
43084 * stdlib/tst-strtod-round.c: Likewise.
43085 * stdlib/Makefile (tests): Add tst-strtod-round.
43086
d6e70f43
JM
43087 [BZ #14459]
43088 * stdlib/strtod_l.c: Include <stdint.h>.
43089 (NDEBUG): Do not define.
43090 (round_and_return): Change EXPONENT parameter to type intmax_t.
43091 Rearrange calculations to avoid internal overflow possibilities.
43092 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
43093 Rearrange calculations to avoid internal overflow possibilities.
43094 Assert that number fits inside MPNSIZE limbs.
43095 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
43096 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
43097 calculations and add assertions to avoid internal overflow
43098 possibilities. Add casts to avoid signed/unsigned operations.
43099 * stdlib/tst-strtod-overflow.c: New file.
43100 * stdlib/Makefile (tests): Add tst-strtod-overflow.
43101
1f529f7d
MP
431022012-08-25 Marek Polacek <polacek@redhat.com>
43103
43104 * time/time.h: Fix some typos in comments.
43105
59a629f1
RM
431062012-08-23 Roland McGrath <roland@hack.frob.com>
43107
43108 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
43109 * posix/tst-rfc3484-2.c: Likewise.
43110 * posix/tst-rfc3484-3.c: Likewise.
43111
d3bafbc9
SM
431122012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
43113
43114 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
43115 (EF_ARM_ABI_FLOAT_HARD): Likewise.
43116
4efcc022
JM
431172012-08-23 Joseph Myers <joseph@codesourcery.com>
43118
43119 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
43120 #include of fxstatat64.c.
43121
3cc3ef96
RM
431222012-08-22 Roland McGrath <roland@hack.frob.com>
43123
f04e2132
RM
43124 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
43125 * shadow/getspent_r.c: Likewise.
43126 * shadow/getspnam.c: Likewise.
43127 * shadow/getspnam_r.c: Likewise.
43128 * gshadow/getsgent.c: Likewise.
43129 * gshadow/getsgent_r.c: Likewise.
43130 * gshadow/getsgnam.c: Likewise.
43131 * gshadow/getsgnam_r.c: Likewise.
43132 * inet/getnetbyad.c: Likewise.
43133 * inet/getnetbyad_r.c: Likewise.
43134 * inet/getnetbynm.c: Likewise.
43135 * inet/getnetbynm_r.c: Likewise.
43136 * inet/getnetent.c: Likewise.
43137 * inet/getnetent_r.c: Likewise.
43138 * inet/getproto.c: Likewise.
43139 * inet/getproto_r.c: Likewise.
43140 * inet/getprtent.c: Likewise.
43141 * inet/getprtent_r.c: Likewise.
43142 * inet/getprtname.c: Likewise.
43143 * inet/getprtname_r.c: Likewise.
43144 * inet/getrpcbyname.c: Likewise.
43145 * inet/getrpcbyname_r.c: Likewise.
43146 * inet/getrpcbynumber.c: Likewise.
43147 * inet/getrpcbynumber_r.c: Likewise.
43148 * inet/getrpcent.c: Likewise.
43149 * inet/getrpcent_r.c: Likewise.
43150 * inet/getaliasent.c: Likewise.
43151 * inet/getaliasent_r.c: Likewise.
43152 * inet/getaliasname.c: Likewise.
43153 * inet/getaliasname_r.c: Likewise.
43154 * nscd/getgrgid_r.c: Likewise.
43155 * nscd/getgrnam_r.c: Likewise.
43156 * nscd/gethstbyad_r.c: Likewise.
43157 * nscd/gethstbynm3_r.c: Likewise.
43158 * nscd/getpwnam_r.c: Likewise.
43159 * nscd/getpwuid_r.c: Likewise.
43160 * nscd/getsrvbynm_r.c: Likewise.
43161 * nscd/getsrvbypt_r.c: Likewise.
43162 * nscd/gai.c: Likewise.
43163
c53d909c
RM
43164 * configure.in (build_nscd): New substituted variable, set
43165 by --disable-build-nscd and defaults to $use_nscd.
43166 * configure: Regenerated.
43167 * config.make.in (build-nscd): New substituted variable.
43168 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
43169 Change conditional to require [$(build-nscd) = yes] as well.
43170 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
43171
3cc3ef96
RM
43172 [BZ# 13696]
43173 * configure.in (use_nscd): New substituted variable, set by
43174 --disable-nscd. If enabled, define USE_NSCD.
43175 * configure: Regenerated.
43176 * config.h.in: Add USE_NSCD.
43177 * config.make.in (use-nscd): New substituted variable.
43178 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
43179 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
43180 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
43181 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
43182 (CFLAGS-getgrnam_r.c): Likewise.
43183 (CFLAGS-initgroups.c): Likewise.
43184 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
43185 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
43186 Variables removed.
43187 * inet/getnetgrent_r.c
43188 (nscd_setnetgrent): New function, broken out of ...
43189 (setnetgrent): ... here. Call it.
43190 (innetgr): Conditionalize nscd bits on [USE_NSCD].
43191 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
43192 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
43193 * nscd/Makefile (routines, aux): Move definitions after include of
43194 Makeconfig. Conditionalize on [$(use-nscd) != no].
43195 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
43196 Conditionalize on [USE_NSCD].
43197 (is_nscd, nscd_init_cb): Likewise.
43198 (nss_load_library): Conditionalize init callback on [USE_NSCD].
43199 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
43200 * nss/nss_db/db-init.c: Likewise.
43201 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
43202 [USE_NSCD].
43203 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
43204 (make_request): Use it.
43205 (cache_valid_p): New function.
43206 (__check_pf): Use it.
43207 * NEWS: Add item for --disable-nscd.
43208
07e51550
DL
432092012-08-22 Dmitry V. Levin <ldv@altlinux.org>
43210
43211 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
43212 to support sed >= 4.2.1-20-ga9bf076.
43213 * configure: Regenerated.
43214
35a5b08b
RM
432152012-08-22 Roland McGrath <roland@hack.frob.com>
43216
43217 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
43218 Conditionalize whole body on [IREL].
43219
8479f23a
JL
432202012-08-22 Jeff Law <law@redhat.com>
43221
43222 [BZ #14505]
43223 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
43224 if the family is PF_UNSPEC.
43225
48da0b21
MF
432262012-08-22 Mike Frysinger <vapier@gentoo.org>
43227
43228 * Makerules (lib-version): Rename from V.
43229 (install-lib-nosubdir): Change V to lib-version.
43230
15d0da8c
WS
432312012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
43232
43233 [BZ #14252]
43234 * powerpc32/power6/wcschr.c: New file.
43235 * powerpc32/power6/wcscpy.c: New file.
43236 * powerpc32/power6/wcsrchr.c: New file.
43237 * powerpc64/power6/wcschr.c: New file.
43238 * powerpc64/power6/wcscpy.c: New file.
43239 * powerpc64/power6/wcsrchr.c: New file.
43240
bcca0895
MK
432412012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
43242
43243 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
43244 (two_way_short_needle): Use it.
5a4aaa33
RM
43245 * string/strstr.c (AVAILABLE1_USES_J): Define.
43246 * string/strcasestr.c: Likewise.
99677e57
MK
43247
43248 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
43249 array references.
43250 * string/strcasestr.c (TOLOWER): Make side-effect safe.
43251
400726de
MK
43252 [BZ #11607]
43253 * NEWS: Add an entry.
43254 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
43255 define their defaults.
43256 (two_way_short_needle): Detect end-of-string on-the-fly.
43257 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
43258 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
43259 * string/bug-strcasestr1.c: New test.
43260 * string/Makefile: Run it.
43261
20a71f2c
MK
432622012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
43263
43264 [BZ #11607]
43265 * string/str-two-way.h (two_way_short_needle): Optimize matching of
43266 the first character.
43267
21ad0558
RM
432682012-08-21 Roland McGrath <roland@hack.frob.com>
43269
43270 * csu/elf-init.c (__libc_csu_irel): Function removed.
43271 * csu/libc-start.c (apply_irel): New function.
43272 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
43273
0e1d9911
JM
432742012-08-21 Joseph Myers <joseph@codesourcery.com>
43275
43276 * sysdeps/unix/sysv/linux/kernel-features.h
43277 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
43278 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
43279 <kernel-features.h>.
43280 [__NR_fadvise64_64]: Make code unconditional.
43281 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
43282 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43283 !__NR_fadvise64_64)]: Likewise.
43284 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43285 !__NR_fadvise64_64))]: Likewise.
43286 [__NR_fadvise64]: Make code unconditional.
43287 [!__NR_fadvise64]: Remove conditional code.
43288 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
43289 <kernel-features.h>.
43290 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43291 unconditional.
43292 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43293 conditional code.
43294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
43295 not include <kernel-features.h>.
43296 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43297 unconditional.
43298 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43299 conditional code.
43300 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
43301 include <kernel-features.h>.
43302 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43303 unconditional.
43304 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43305 conditional code.
43306
14a50c9d
WS
433072012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43308
43309 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
43310 slight instruction rearrangements per scrollpipe analysis.
43311 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
43312
c0f4faf0
RM
433132012-08-20 Roland McGrath <roland@hack.frob.com>
43314
696da859
RM
43315 * manual/syslog.texi (syslog; vsyslog, closelog):
43316 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
43317 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
43318
c0f4faf0
RM
43319 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
43320 DSOCAPS to match condition on defining it.
43321
348363b2
JM
433222012-08-20 Joseph Myers <joseph@codesourcery.com>
43323
a35cbf28
JM
43324 * sysdeps/unix/sysv/linux/kernel-features.h
43325 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
43326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
43327 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43328 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
43330 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43331 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
43333 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43334 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43335
445f7ecd
JM
43336 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
43337 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
43338
348363b2
JM
43339 * sysdeps/unix/sysv/linux/kernel-features.h
43340 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
43341 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
43342 unconditional.
43343 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43344 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
43345 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43346 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43347 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
43348 Make code unconditional.
43349 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43350 (__mmap64) [!__NR_mmap2]: Likewise.
43351 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
43352 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43353 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43354 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
43355 [__NR_mmap2]: Make code unconditional.
43356 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43357 (__mmap64) [!__NR_mmap2]: Likewise.
43358
bc5bc0e5
AK
433592012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43360
43361 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
43362
88d506de
AJ
433632012-08-18 Andreas Jaeger <aj@suse.de>
43364
43365 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
43366
493387d2
MF
433672012-08-18 Mike Frysinger <vapier@gentoo.org>
43368
43369 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
43370 * include/unistd.h (__have_sock_cloexec): Likewise.
43371 (__have_pipe2): Likewise.
43372 (__have_dup3): Likewise.
43373
a277af22
MF
433742012-08-18 Mike Frysinger <vapier@gentoo.org>
43375
43376 [BZ #9685]
43377 * include/unistd.h (__have_pipe2): Change define into an extern int.
43378 (__have_dup3): Likewise.
43379 * socket/have_sock_cloexec.c: Include fcntl.h.
43380 (__have_pipe2): New variable.
43381 (__have_dup3): Likewise.
43382
fdab8fd3
MF
433832012-08-17 Mike Frysinger <vapier@gentoo.org>
43384
43385 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
43386
31035e80
MP
433872012-08-17 Marek Polacek <polacek@redhat.com>
43388
43389 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
43390 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
43391
3bd9e993
RM
433922012-08-17 Roland McGrath <roland@hack.frob.com>
43393
c91c505f
RM
43394 * configure.in: Add AC_SUBST for sysheaders.
43395 * configure: Regenerated.
43396 * config.make.in (sysheaders): New substituted variable.
43397
7c6f9d53
RM
43398 * sysdeps/unix/mkfifo.c: Moved ...
43399 * sysdeps/posix/mkfifo.c: ... here.
43400 * sysdeps/unix/mkfifoat.c: Moved ...
43401 * sysdeps/posix/mkfifoat.c: ... here.
43402
43403 * sysdeps/unix/utime.c: Moved ...
43404 * sysdeps/posix/utime.c: ... here.
43405
43406 * sysdeps/unix/time.c: Moved ...
43407 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
43408 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
43409 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
43410
43411 * sysdeps/unix/nice.c: Moved ...
43412 * sysdeps/posix/nice.c: ... here.
43413
43414 * sysdeps/unix/alarm.c: Moved ...
43415 * sysdeps/posix/alarm.c: ... here.
43416
3bd9e993
RM
43417 * intl/Makefile ($(codeset_mo)): Depend on the input file.
43418
d1f09384
JL
434192012-08-17 Jeff Law <law@redhat.com>
43420
43421 * intl/Makefile (codeset_mo): New variable.
43422 ($(codeset_mo)): New target.
43423 (tst-codeset.out): Depend on that. Remove explicit rule.
43424 (tst-gettext3.out, tst-gettext5.out): Likewise.
43425 (LOCPATH-ENV, tst-codeset-ENV): New variables.
43426 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
43427 * intl/tst-codeset.sh: Remove.
43428 * intl/tst-gettext3.sh: Likewise.
43429 * intl/tst-gettext5.sh: Likewise.
43430
2ae1ae5c
RM
434312012-08-17 Roland McGrath <roland@hack.frob.com>
43432
c31fdb83
RM
43433 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
43434 * sysdeps/unix/syscalls.list: ... here.
43435
a0844057
RM
43436 * sysdeps/posix/getaddrinfo.c
43437 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
43438 (gaiconf_init, gaiconf_reload): Use them.
43439 [!_STATBUF_ST_NSEC]
43440 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
43441 Define using time_t rather than struct timespec.
43442
750c1f2a
RM
43443 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
43444 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
43445 Macros removed.
43446 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
43447 [!NO_THREADS].
43448 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
43449 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
43450 Likewise.
43451
2ae1ae5c
RM
43452 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
43453 __libc_cleanup_push argument.
43454
e66a42f5
RM
43455 * bits/param.h: New file.
43456 * misc/sys/param.h: New file.
43457 * include/sys/param.h: New file.
43458 * misc/Makefile (headers): Add bits/param.h.
43459 * sysdeps/generic/sys/param.h: File removed.
43460 * sysdeps/unix/sysv/linux/bits/param.h: New file.
43461 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
43462 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 43463 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 43464
b7c08a66
RM
43465 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
43466 last change.
43467
b2e1c562
RM
43468 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
43469 [_IO_MTSAFE_IO].
43470 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
43471 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
43472 New macros.
43473
c75ccd4c
RM
43474 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
43475 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
43476 rather than -D_IO_MTSAFE_IO conditionally.
43477 * stdio-common/Makefile (CPPFLAGS): Likewise.
43478 * wcsmbs/Makefile (CPPFLAGS): Likewise.
43479 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
43480 Use $(libio-mtsafe).
43481 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
43482 of -D_IO_MTSAFE_IO.
43483 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
43484 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
43485 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
43486 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
43487 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
43488 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
43489 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
43490 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
43491 (CFLAGS-fread_u_chk.c): Likewise.
43492 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
43493 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
43494 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
43495 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
43496 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
43497 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
43498 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
43499 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
43500 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
43501
43502 * libio/Makefile: Test [$(libc-reentrant) = yes]
43503 instead of [$(filter %REENTRANT, $(defines)) nonempty].
43504
43505 * Makeconfig
43506 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
43507 * sysdeps/pthread/configure: File removed.
43508 * sysdeps/pthread/Makeconfig: New file.
43509 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
43510 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
43511
d9195db8
GB
435122012-08-16 Gary Benson <gbenson@redhat.com>
43513
43514 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
43515 unmapping the first object in a namespace.
43516
86466cd9
RM
435172012-08-16 Roland McGrath <roland@hack.frob.com>
43518
43519 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
43520 (__internal_setnetgrent): ... this. Add internal_function to
43521 definition. Add libc_hidden_def.
43522 (setnetgrent): Update caller.
43523 (internal_endnetgrent): Renamed to ...
43524 (__internal_endnetgrent): ... this. Add internal_function to
43525 definition. Add libc_hidden_def.
43526 (endnetgrent): Update caller.
43527 (internal_getnetgrent_r): Renamed to ...
43528 (__internal_getnetgrent_r): ... this. Add internal_function to
43529 definition. Add libc_hidden_def.
43530 (__getnetgrent_r): Update caller.
43531 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
43532
c3c8283c
JM
435332012-08-16 Joseph Myers <joseph@codesourcery.com>
43534
43535 * stdlib/longlong.h: Update from GCC.
43536
db1ee0a8
RM
435372012-08-16 Roland McGrath <roland@hack.frob.com>
43538
43539 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
43540 on _QL, which is set by umul_ppmm but never used.
43541 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
43542 variables, which are set by GMP macros but never used.
43543 * stdio-common/_itowa.c (_itowa): Likewise.
43544 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
43545 * stdlib/mod_1.c (mpn_mod_1): Likewise.
43546
30f69637
CD
435472012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
43548
43549 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
43550 struct La_sh_regs is not constant.
43551 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
43552 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
43553 and struct La_sparc64_regs are not constant.
43554
93a78ac4
JM
435552012-08-16 Joseph Myers <joseph@codesourcery.com>
43556
43557 * sysdeps/unix/sysv/linux/kernel-features.h
43558 (__ASSUME_POSIX_TIMERS): Remove.
43559 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43560 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43561 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
43562 Make code unconditional.
43563 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43564 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
43565 Make code unconditional.
43566 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43567 * sysdeps/unix/sysv/linux/clock_nanosleep.c
43568 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
43569 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43570 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
43571 Make code unconditional.
43572 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43573 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
43574 (__libc_missing_posix_timers): Remove.
43575
dd924cd7
RM
435762012-08-15 Roland McGrath <roland@hack.frob.com>
43577
4b4f2771
RM
43578 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
43579 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
43580
601c888b
RM
43581 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
43582
176790a7
RM
43583 * elf/dl-sym.c: Include <stdlib.h>.
43584
329bc018
RM
43585 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
43586 constants, which avoids warnings in 32-bit builds.
43587
e04e272d
RM
43588 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
43589 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
43590
952bf94a
RM
43591 * misc/lseek.c: File moved to ...
43592 * io/lseek.c: ... here.
43593
7c99b50a
RM
43594 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
43595
dd924cd7
RM
43596 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
43597 shifting LEN more than 31 bits at once.
43598
b3f479a8
LD
435992012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43600
43601 [BZ #14195]
8c4ae0d4
RM
43602 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
43603 segmentation fault for a case of two empty input strings.
b3f479a8
LD
43604 * string/test-strncasecmp.c (check1): Renamed to...
43605 (bz12205): ...this.
43606 (bz14195): Add new testcase for two empty input strings and N > 0.
43607 (test_main): Call new testcase, adapt for renamed function.
43608
9c55864e
AJ
436092012-08-15 Andreas Jaeger <aj@suse.de>
43610
43611 [BZ #14090]
43612 * crypt/md5test2.c: New test, based on test supplied by Serge
43613 Belyshev <belyshev@depni.sinp.msu.ru>.
43614 * crypt/Makefile (xtests): Add md5test-giant..
43615 * crypt/Makefile ($(objpfx)md5test-giant): Add.
43616
02dcb6c5
PE
436172012-08-15 Paul Eggert <eggert@cs.ucla.edu>
43618
43619 [BZ #14090]
43620 * crypt/md5.c (md5_process_block): Don't assume the buffer
43621 length is less than 2**32.
43622 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
43623 length is less than 2**64.
43624
a3f95dcc
RM
436252012-08-15 Roland McGrath <roland@hack.frob.com>
43626
be75d758
RM
43627 * string/str-two-way.h: Include <sys/param.h>.
43628 (MAX): Macro removed.
43629
7312ca90
RM
43630 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
43631 Move #define and #undef of memmove to just before and after
43632 including <string.h>.
43633
9a0a5486
RM
43634 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
43635 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
43636 and after including <string.h>. Move declarations of
43637 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
43638 to before #include "string/memmove.c".
43639
67cc348d
RM
43640 * include/dirent.h: Declare __getdirentries.
43641
a3f95dcc
RM
43642 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
43643 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
43644
ca98e171
MF
436452012-08-14 Mike Frysinger <vapier@gentoo.org>
43646
43647 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
43648 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
43649 * sysdeps/i386/configure: Regenerated.
43650 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
43651 STABS_CURRENT_FILE, and STABS_FUN.
43652 (END): Remove call to STABS_FUN_END.
43653 (STABS_CURRENT_FILE1): Delete.
43654 (STABS_CURRENT_FILE): Likewise.
43655 (STABS_FUN): Likewise.
43656 (STABS_FUN_END): Likewise.
43657 (STABS_FUN2): Likewise.
43658 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
43659 * sysdeps/x86_64/configure: Regenerated.
43660
5908bf46
RM
436612012-08-14 Roland McGrath <roland@hack.frob.com>
43662
43663 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 43664 * elf/dl-lookup.c: Likewise.
5908bf46 43665
f2c05b9e
JM
436662012-08-14 Joseph Myers <joseph@codesourcery.com>
43667
43668 * sysdeps/unix/sysv/linux/kernel-features.h
43669 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
43670 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
43671 unconditionally.
43672 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
43673 unconditionally.
43674 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
43675 condition on __ASSUME_CLONE_THREAD_FLAGS.
43676
e11f5155
AJ
436772012-08-14 Andreas Jaeger <aj@suse.de>
43678
43679 * sysdeps/i386/fpu/libm-test-ulps: Update.
43680
51a9ba86
MK
436812012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
43682
2fdd4f78
AJ
43683 * include/atomic.h (atomic_exchange_and_add): Split into ...
43684 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
43685 New atomic macros.
51a9ba86 43686
ba6cba9e
MT
436872012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
43688
43689 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43690
42443a47
JL
436912012-08-13 Jeff Law <law@redhat.com>
43692
43693 * manual/stdio.texi (snprintf): Clarify handling of the trailing
43694 null byte in the output string.
43695
121dce05
JM
436962012-08-10 Joseph Myers <joseph@codesourcery.com>
43697
43698 * sysdeps/unix/sysv/linux/kernel-features.h
43699 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
43700 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
43701 (__ASSUME_ARG_MAX_STACK_BASED): Define.
43702 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
43703 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
43704 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
43705 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
43706
bf51f568
JL
437072012-08-09 Jeff Law <law@redhat.com>
43708
43709 [BZ #13939]
43710 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
43711 When avoid_arena is set, don't retry in the that arena. Pick the
43712 next one, whatever it might be.
43713 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
43714 (arena_lock): Pass in new parameter to arena_get2.
43715 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
43716 arena_get2.
43717 (__libc_malloc): Unify retrying after main arena failure with
43718 __libc_memalign version.
43719 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
43720
f85fa270
L
437212012-08-09 H.J. Lu <hongjiu.lu@intel.com>
43722
43723 [BZ #14166]
43724 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
43725 to __redirect_strstr.
43726 (__strstr_sse42): Use typeof __redirect_strstr.
43727 (__strstr_ia32): Likewise.
43728 (__libc_strstr): New prototype.
43729 (strstr): Renamed to ...
43730 (__libc_strstr): This.
43731 (strstr): New strong alias of __libc_strstr.
43732 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43733 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
43734 __redirect_time.
43735 Include <time.h>.
43736 (__libc_time): New prototype.
43737 (time_ifunc): Replace time with __libc_time.
43738 (time): New strong alias and hidden definition of __libc_time.
43739 (__GI_time): Remove strong alias.
43740 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
43741 Include <stddef.h>.
43742 (memmove): Redefined to __redirect_memmove.
43743 (__memmove_sse2): Use typeof __redirect_memmove.
43744 (__memmove_ssse3): Likewise.
43745 (__memmove_ssse3_back): Likewise.
43746 (__libc_memmove): New prototype.
43747 (memmove): Renamed to ...
43748 (__libc_memmove): This.
43749 (memmove): New strong alias of __libc_memmove.
43750
33b4a91e
MS
437512012-08-08 Mark Salter <msalter@redhat.com>
43752
43753 * elf/elf.h
43754 (R_MN10300_TLS_GD): Define.
43755 (R_MN10300_TLS_LD): Likewise.
43756 (R_MN10300_TLS_LDO): Likewise.
43757 (R_MN10300_TLS_GOTIE): Likewise.
43758 (R_MN10300_TLS_IE): Likewise.
43759 (R_MN10300_TLS_LE): Likewise.
43760 (R_MN10300_TLS_DTPMOD): Likewise.
43761 (R_MN10300_TLS_DTPOFF): Likewise.
43762 (R_MN10300_TLS_TPOFF): Likewise.
43763 (R_MN10300_SYM_DIFF): Likewise.
43764 (R_MN10300_ALIGN): Likewise.
43765 (R_MN10300_NUM): Update.
43766
b36137f1
JM
437672012-08-08 Joseph Myers <joseph@codesourcery.com>
43768
43769 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
43770 Remove.
43771
cdd915fd
RM
437722012-08-08 Roland McGrath <roland@hack.frob.com>
43773
a2433aac
RM
43774 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
43775
cdd915fd
RM
43776 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
43777 sysdeps/unix -> sysdeps/posix move.
43778 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
43779
bf9b740a
AM
437802012-08-07 Allan McRae <allan@archlinux.org>
43781
43782 [BZ #14303]
43783 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
43784 (SUNOS_CPP): Likewise.
43785 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
43786 not found.
43787 (open_input): Call CPP using execvp.
43788
93df14ee
JM
437892012-08-07 Joseph Myers <joseph@codesourcery.com>
43790
43791 * sysdeps/unix/sysv/linux/kernel-features.h
43792 (__ASSUME_PROT_GROWSUPDOWN): Remove.
43793 (__ASSUME_NO_CLONE_DETACHED): Likewise.
43794 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43795 (__ASSUME_WAITID_SYSCALL): Likewise.
43796 * sysdeps/unix/sysv/linux/dl-execstack.c
43797 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
43798 code unconditional.
43799 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
43800 conditional code.
43801 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
43802 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
43803 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
43804 code.
43805 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
43806 unconditional.
43807 [__ASSUME_WAITID_SYSCALL]: Likewise.
43808 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
43809
d34689de
RM
438102012-08-07 Roland McGrath <roland@hack.frob.com>
43811
a281decc
RM
43812 * sysdeps/unix/closedir.c: Renamed to ...
43813 * sysdeps/posix/closedir.c: ... here.
43814 * sysdeps/unix/dirfd.c: Renamed to ...
43815 * sysdeps/posix/dirfd.c: ... here.
43816 * sysdeps/unix/dirstream.h: Renamed to ...
43817 * sysdeps/posix/dirstream.h: ... here.
43818 * sysdeps/unix/fdopendir.c: Renamed to ...
43819 * sysdeps/posix/fdopendir.c: ... here.
43820 * sysdeps/unix/opendir.c: Renamed to ...
43821 * sysdeps/posix/opendir.c: ... here.
43822 * sysdeps/unix/readdir.c: Renamed to ...
43823 * sysdeps/posix/readdir.c: ... here.
43824 * sysdeps/unix/readdir_r.c: Renamed to ...
43825 * sysdeps/posix/readdir_r.c: ... here.
43826 * sysdeps/unix/rewinddir.c: Renamed to ...
43827 * sysdeps/posix/rewinddir.c: ... here.
43828 * sysdeps/unix/seekdir.c: Renamed to ...
43829 * sysdeps/posix/seekdir.c: ... here.
43830 * sysdeps/unix/telldir.c: Renamed to ...
43831 * sysdeps/posix/telldir.c: ... here.
43832 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
43833 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
43834 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
43835 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
43836
22895b47
RM
43837 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
43838 * bits/fcntl.h: ... here.
43839
707a53b6
RM
43840 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
43841 not 0.
43842 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
43843 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
43844 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
43845 (struct flock): Move l_start, l_len to the beginning.
43846 Use __pid_t for l_pid.
43847 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
43848 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
43849 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
43850 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
43851 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
43852 [__USE_LARGEFILE64] (struct flock64): New type.
43853 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
43854
f0bd3e25
RM
43855 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
43856 * bits/dirent.h: ... here.
43857
d34689de
RM
43858 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
43859 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
43860
6dad2c06
JM
438612012-08-07 Joseph Myers <joseph@codesourcery.com>
43862
43863 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43864 Change from 2.6.0 to 2.6.16.
43865 * sysdeps/unix/sysv/linux/configure: Regenerated.
43866 * sysdeps/unix/sysv/linux/kernel-features.h
43867 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
43868 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
43869 version.
43870 (__ASSUME_UTIMES): Likewise.
43871 (__ASSUME_CLONE_STOPPED): Remove.
43872 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
43873 architectures, not kernel version.
43874 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
43875 (__ASSUME_NO_CLONE_DETACHED): Likewise.
43876 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43877 (__ASSUME_WAITID_SYSCALL): Likewise.
43878 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
43879 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
43880 * README: State 2.6.16 as minimum Linux kernel version. Do not
43881 refer to older versions.
43882
03af9520
RM
438832012-08-06 Roland McGrath <roland@hack.frob.com>
43884
8e49df1d
RM
43885 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
43886 Define alphasort64 as an alias.
43887 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
43888 Define versionsort64 as an alias.
43889 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
43890 Define scandir64 as an alias.
43891 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
43892 Define scandirat64 as an alias.
43893 * dirent/alphasort64.c (alphasort64):
43894 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
43895 * dirent/versionsort64.c: Likewise.
43896 * dirent/scandir64.c: Likewise.
43897 * dirent/scandirat64.c: Likewise.
43898 * sysdeps/wordsize-64/alphasort.c: File removed.
43899 * sysdeps/wordsize-64/alphasort64.c: File removed.
43900 * sysdeps/wordsize-64/scandir.c: File removed.
43901 * sysdeps/wordsize-64/scandir64.c: File removed.
43902 * sysdeps/wordsize-64/scandirat.c: File removed.
43903 * sysdeps/wordsize-64/scandirat64.c: File removed.
43904 * sysdeps/wordsize-64/versionsort.c: File removed.
43905 * sysdeps/wordsize-64/versionsort64.c: File removed.
43906 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
43907 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
43908 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
43909 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
43910 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
43911 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
43912 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
43913 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
43914
43915 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
43916 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43917 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
43918 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43919 [defined __arch64__ || defined __sparcv9]
43920 (__INO_T_MATCHES_INO64_T): New macro.
43921 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43922 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
43923 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
43924 * sysdeps/unix/sysv/linux/bits/dirent.h
43925 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
43926 (_DIRENT_MATCHES_DIRENT64): New macro.
43927
03af9520
RM
43928 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
43929 Define lockf64 as an alias.
43930 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
43931 Define fseeko64 as an alias.
43932 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
43933 Define ftello64 as an alias.
43934 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
43935 Define _IO_fgetpos64 and fgetpos64 as aliases.
43936 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
43937 Define _IO_fsetpos64 and fsetpos64 as aliases.
43938 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
43939 Conditionalize body on this.
43940 * libio/fseeko64.c: Likewise.
43941 * libio/ftello64.c: Likewise.
43942 * libio/iofgetpos64.c: Likewise.
43943 * libio/iofsetpos64.c: Likewise.
43944 * sysdeps/wordsize-64/lockf.c: File removed.
43945 * sysdeps/wordsize-64/lockf64.c: File removed.
43946 * sysdeps/wordsize-64/fseeko.c: File removed.
43947 * sysdeps/wordsize-64/fseeko64.c: File removed.
43948 * sysdeps/wordsize-64/ftello.c: File removed.
43949 * sysdeps/wordsize-64/ftello64.c: File removed.
43950 * sysdeps/wordsize-64/iofgetpos.c: File removed.
43951 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
43952 * sysdeps/wordsize-64/iofsetpos.c: File removed.
43953 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
43954 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
43955 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
43956 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
43957 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
43958 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
43959 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
43960 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
43961 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
43962 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
43963 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
43964
43965 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43966 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43967 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
43968 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43969 [defined __arch64__ || defined __sparcv9]
43970 (__OFF_T_MATCHES_OFF64_T): New macro.
43971 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43972 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43973 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43974 (__OFF_T_MATCHES_OFF64_T): New macro.
43975
c5757acd
L
439762012-08-06 H.J. Lu <hongjiu.lu@intel.com>
43977
43978 * stdlib/secure-getenv.c (__secure_getenv): Replace
43979 GLIBC_2_16 with GLIBC_2_17.
43980
3a31811e
L
439812012-08-06 H.J. Lu <hongjiu.lu@intel.com>
43982
43983 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
43984 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43985
faa2bccb
DM
439862012-08-03 David S. Miller <davem@davemloft.net>
43987
43988 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43989
85fe1997
JM
439902012-08-03 Joseph Myers <joseph@codesourcery.com>
43991
43992 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
43993 Remove.
43994 (__ASSUME_CORRECT_SI_PID): Likewise.
43995 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
43996 (__ASSUME_TMPFS_NAME): Likewise.
43997 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
43998 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
43999 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
44000 (HAVE_AUX_SECURE): Make definition unconditional.
44001 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
44002 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
44003
4f75b7a0
RM
440042012-08-03 Roland McGrath <roland@hack.frob.com>
44005
44006 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
44007 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
44008 * sysdeps/mach/hurd/eloop-threshold.h: New file.
44009 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44010 __eloop_threshold instead of SYMLOOP_MAX.
44011
44012 * sysdeps/generic/eloop-threshold.h: New file.
44013 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
44014 of MAXSYMLINKS.
44015 * elf/chroot_canon.c (chroot_canon): Likewise.
44016
7aab07e4
JM
440172012-08-03 Joseph Myers <joseph@codesourcery.com>
44018
44019 [BZ #13717]
44020 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44021 Change to 2.6.0 everywhere.
44022 * sysdeps/unix/sysv/linux/configure: Regenerated.
44023 * sysdeps/unix/sysv/linux/kernel-features.h
44024 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
44025 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
44026 kernel versions.
44027 (__ASSUME_POSIX_TIMERS): Define unconditionally.
44028 (__ASSUME_FUTEX_REQUEUE): Remove.
44029 (__ASSUME_STATFS64): Define unconditionally.
44030 (__ASSUME_AT_SECURE): Likewise.
44031 (__ASSUME_CORRECT_SI_PID): Likewise.
44032 (__ASSUME_TGKILL): Define without depending on kernel version for
44033 i386.
44034 (__ASSUME_UTIMES): Likewise.
44035 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
44036 kernel version.
44037 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
44038 (__ASSUME_TMPFS_NAME): Likewise.
44039 * README: Update reference to Linux kernel versions.
44040
b67e9372
MP
440412012-08-02 Marek Polacek <polacek@redhat.com>
44042
1f529f7d 44043 [BZ# 14150]
b67e9372
MP
44044 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
44045 libc_cv_asm_type_prefix with %.
44046 * configure: Regenerated.
d2441631
RM
44047 * include/libc-symbols.h: Remove comment about
44048 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
44049 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
44050 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
44051 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
44052 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
44053 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44054 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
44055 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
44056 * elf/tst-unique2mod1.c: Likewise.
44057 * elf/tst-unique1mod2.c: Likewise.
44058 * elf/tst-unique1mod1.c: Likewise.
44059 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
44060 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
44061 Replace ASM_TYPE_DIRECTIVE with .type.
44062 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44063 * sysdeps/i386/sysdep.h: Likewise.
44064 * sysdeps/x86_64/sysdep.h: Likewise.
44065 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
44066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44067 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 44068 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
44069 * sysdeps/powerpc/powerpc32/sysdep.h:
44070 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
44071 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44072 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44073 * sysdeps/i386/fpu/e_powf.S: Likewise.
44074 * sysdeps/i386/fpu/e_expl.S: Likewise.
44075 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44076 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44077 * sysdeps/i386/fpu/e_pow.S: Likewise.
44078 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44079 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44080 * sysdeps/i386/fpu/s_expm1.S: Likewise.
44081 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44082 * sysdeps/i386/fpu/e_log2.S: Likewise.
44083 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44084 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44085 * sysdeps/i386/fpu/e_powl.S: Likewise.
44086 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44087 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44088 * sysdeps/i386/fpu/e_logl.S: Likewise.
44089 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44090 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44091 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44092 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44093 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44094 * sysdeps/i386/fpu/e_log.S: Likewise.
44095 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44096 * sysdeps/i386/fpu/e_logf.S: Likewise.
44097 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44098 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44099 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44100 * sysdeps/i386/fpu/e_log10.S: Likewise.
44101 * sysdeps/i386/fpu/s_frexp.S: Likewise.
44102 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44103 * sysdeps/i386/fpu/s_asinh.S: Likewise.
44104 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44105 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44106 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
44107 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44108 * sysdeps/i386/i686/strtok.S: Likewise.
44109 * sysdeps/i386/i386-mcount.S: Likewise.
44110 * sysdeps/i386/strtok.S: Likewise.
44111 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
44112 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44113 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44114 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44115 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44116 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44117 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44118 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44119 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44120 * sysdeps/x86_64/_mcount.S: Likewise.
44121 * sysdeps/x86_64/strtok.S: Likewise.
44122 * sysdeps/sh/_mcount.S: Likewise.
44123
2747bf9a
RM
441242012-08-01 Roland McGrath <roland@hack.frob.com>
44125
44126 * libio/iofopen.c: Include <fcntl.h>.
44127 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
44128 (_IO_fopen64, fopen64): Define as aliases.
44129 * libio/iofopen64.c: Include <fcntl.h>.
44130 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
44131 Conditionalize body on this.
44132 * sysdeps/wordsize-64/iofopen.c: File removed.
44133 * sysdeps/wordsize-64/iofopen64.c: File removed.
44134
3fb791b8
MP
441352012-08-01 Marek Polacek <polacek@redhat.com>
44136
44137 * libc/Makeconfig: Use elf in place of binfmt-subdir.
44138 Use dlfcn directly instead of a variable.
44139 (binfmt-subdir): Do not define.
44140 (dlfcn): Likewise.
44141
a9f1039f
JM
441422012-08-01 Joseph Myers <joseph@codesourcery.com>
44143
23bddc06
JM
44144 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
44145 Remove all definitions.
44146 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
44147 <kernel-features.h>.
44148 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44149 (miss_F_GETOWN_EX): Remove all definitions.
44150 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
44151 macro definition.
44152 [!__ASSUME_FCNTL64]: Remove conditional code.
44153 [__ASSUME_FCNTL64]: Make code unconditional.
44154 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
44155 <kernel-features.h>.
44156 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44157 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
44158 (lockf64) [__NR_fcntl64]: Make code unconditional.
44159 (lockf64) [__ASSUME_FCNTL64]: Likewise.
44160
a9f1039f
JM
44161 * sysdeps/unix/sysv/linux/kernel-features.h
44162 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
44163 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
44164 Make code unconditional.
44165 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44166 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
44168 [__NR_vfork]: Make code unconditional.
44169 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44170 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
44172 [__NR_vfork]: Make code unconditional.
44173 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44174 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44175
09c0ee5f
RM
441762012-08-01 Roland McGrath <roland@hack.frob.com>
44177
48aec5b9
RM
44178 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
44179 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
44180
cd97c966
RM
44181 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44182 Define mkstemp64 as an alias.
3f55550c
RM
44183 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44184 Define mkstemps64 as an alias.
cd97c966
RM
44185 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44186 Define mkostemp64 as an alias.
b8625cfc
RM
44187 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44188 Define mkostemps64 as an alias.
cd97c966
RM
44189 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
44190 Conditionalize body on this.
44191 * misc/mkostemp64.c: Likewise.
b8625cfc 44192 * misc/mkostemps64.c: Likewise.
3f55550c 44193 * misc/mkstemps64.c: Likewise.
cd97c966
RM
44194 * sysdeps/wordsize-64/mkstemp64.c: File removed.
44195 * sysdeps/wordsize-64/mkostemp64.c: File removed.
44196 * sysdeps/wordsize-64/mkostemp.c: File removed.
44197 * sysdeps/wordsize-64/mkstemp.c: File removed.
44198 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
44199 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
44200 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
44201 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
44202
09c0ee5f
RM
44203 [BZ #14138]
44204 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
44205 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
44206 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
44207 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
44208
44209 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
44210 compat_symbol macros from <shlib-compat.h> rather than the underlying
44211 default_symbol_version and symbol_version macros, so that DEFAULT
44212 lines in shlib-versions are respected.
44213 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
44214
7e66ee51
FW
442152012-08-01 Florian Weimer <fweimer@redhat.com>
44216
44217 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
44218 Declare with warn_unused_result.
44219 (setgid, setregid, setegid, setresgid): Likewise.
44220 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
44221 Likewise.
44222 * WUR-REPORT: Remove set*id functions.
44223
d2a54255
PT
442242012-07-31 Pino Toscano <toscano.pino@tiscali.it>
44225
44226 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
44227
7ecdb005
RM
442282012-07-31 Roland McGrath <roland@hack.frob.com>
44229
b4180a5e 44230 [BZ #10191]
789bd351
RM
44231 * include/sys/socket.h (__libc_accept, __libc_accept4):
44232 Add attribute_hidden.
44233 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
44234
40ce302d
RM
44235 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
44236 use of PTR_MANGLE.
44237 * inet/getnetgrent_r.c (setup): Likewise.
44238
7ecdb005
RM
44239 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
44240
e2eabb2c
DM
442412012-07-31 David S. Miller <davem@davemloft.net>
44242
44243 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44244
d0419dbf
JM
442452012-07-31 Joseph Myers <joseph@codesourcery.com>
44246
44247 [BZ #13629]
44248 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
44249 value between 1.0 and 2.0 and smaller part has absolute value less
44250 than 1.0.
44251 * math/s_clog10.c (__clog10): Likewise.
44252 * math/s_clog10f.c (__clog10f): Likewise.
44253 * math/s_clog10l.c (__clog10l): Likewise.
44254 * math/s_clogf.c (__clogf): Likewise.
44255 * math/s_clogl.c (__clogl): Likewise.
44256 * math/libm-test.inc (clog_test): Add more tests.
44257 (clog10_test): Likewise.
44258 * sysdeps/i386/fpu/libm-test-ulps: Update.
44259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44260
2bc13872
FW
442612012-07-31 Florian Weimer <fweimer@redhat.com>
44262
44263 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
44264 Exit with zero in case no suitable GID is found, and write a
44265 message to standard error.
44266
bea9b193
RM
442672012-07-30 Roland McGrath <roland@hack.frob.com>
44268
44269 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
44270 rather than to 1.
44271 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
44272 (MAXPATHLEN): Removed.
44273 (NOGROUP, NODEV): New macros.
44274 (setbit, clrbit, isset, isclr): New macros.
44275 (howmany, roundup, powerof2): New macros.
44276 (DEV_BSIZE): New macro.
44277
44278 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
44279 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
44280
44281 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
44282 definition on [!__NO_LONG_DOUBLE_MATH].
44283
44284 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
44285 PTR_MANGLE and PTR_DEMANGLE.
44286
44287 * socket/accept4.c (accept4): Rename to __libc_accept4.
44288 Define accept4 as a weak alias.
44289
44290 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
44291 on [_DIRENT_HAVE_D_TYPE].
44292 * io/ftw.c (ftw_dir): Likewise.
44293
44294 * io/xmknod.c (__xmknod): Don't check PATH for being null.
44295
44296 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
44297
44298 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
44299 Use the BSD numbers rather than the arbitrary ones we had.
44300 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
44301 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
44302 (SIGXCPU, SIGXFSZ): New macros.
44303 (_NSIG): Now 32.
44304
44305 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
44306 initializer on [_LIBC_REENTRANT].
44307
44308 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
44309 definitions inside [_POSIX_MAPPED_FILES].
44310
44311 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
44312
44313 * dirent/opendir.c: Include <fcntl.h>.
44314
44315 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
44316 (__libc_getspecific): Likewise.
44317 (__libc_key_create): Likewise.
44318
44319 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
44320 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
44321 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
44322 (tmpfile64): Define as alias.
44323 * sysdeps/wordsize-64/tmpfile.c: File removed.
44324 * sysdeps/wordsize-64/tmpfile64.c: File removed.
44325 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
44326 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
44327
44328 * stdio-common/vfscanf.c: Include <stdbool.h>.
44329 * nss/makedb.c: Likewise.
44330 * stdio-common/_i18n_number.h: Likewise.
44331 * argp/argp-help.c: Likewise.
44332 * posix/wordexp.c: Likewise.
44333 * sysdeps/posix/spawni.c: Likewise.
44334 * nss/nss_files/files-initgroups.c: Likewise.
44335 * stdio-common/reg-modifier.c: Include <stdlib.h>.
44336 * nss/nss_files/files-initgroups.c: Likewise.
44337 * nss/nss_db/db-netgrp.c: Likewise.
44338 * nss/nss_db/db-initgroups.c: Likewise.
44339 * io/fchmodat.c: Include <sys/stat.h>.
44340
44341 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
44342 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
44343
44344 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
44345 [HAVE_MMAP].
44346
44347 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
44348 Add multiple inclusion protection.
44349
e5abc686
DM
443502012-07-27 David S. Miller <davem@davemloft.net>
44351
44352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44353
815e6fa3
GB
443542012-07-27 Gary Benson <gbenson@redhat.com>
44355
44356 [BZ #14298]
44357 * elf/rtld.c: Include <stap-probe.h>.
44358 (dl_main): Added static probes "init_start" and "init_complete".
44359 * elf/dl-load.c: Include <stap-probe.h>.
44360 (lose): Take new parameter "nsid".
44361 Added static probe "map_failed".
44362 (_dl_map_object_from_fd): Pass namespace id to lose.
44363 Added static probe "map_start".
44364 (open_verify): Pass namespace id to lose.
44365 * elf/dl-open.c: Include <stap-probe.h>.
44366 (dl_open_worker) Added static probes "map_complete", "reloc_start"
44367 and "reloc_complete".
44368 * elf/dl-close.c: Include <stap-probe.h>.
44369 (_dl_close_worker): Added static probes "unmap_start" and
44370 "unmap_complete".
44371 * elf/rtld-debugger-interface.txt: New file documenting the above.
44372
9f98c16c
RM
443732012-07-26 Roland McGrath <roland@hack.frob.com>
44374
44375 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
44376 rather than a string variable.
44377 * sunrpc/rpc_main.c (h_output): Likewise.
44378 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
44379
f3c22df3
PT
443802012-07-26 Pino Toscano <toscano.pino@tiscali.it>
44381
44382 * inet/check_native.c: New file.
44383
3129cfc6
JM
443842012-07-26 Joseph Myers <joseph@codesourcery.com>
44385
da865e95
JM
44386 [BZ #13629]
44387 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
44388 if larger part has absolute value 1.0.
44389 * math/s_clog10.c (__clog10): Likewise.
44390 * math/s_clog10f.c (__clog10f): Likewise.
44391 * math/s_clog10l.c (__clog10l): Likewise.
44392 * math/s_clogf.c (__clogf): Likewise.
44393 * math/s_clogl.c (__clogl): Likewise.
44394 * math/libm-test.inc (clog_test): Add more tests.
44395 (clog10_test): Likewise.
44396 * sysdeps/i386/fpu/libm-test-ulps: Update.
44397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44398
3129cfc6
JM
44399 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
44400 (pltexit): Likewise.
44401 (La_regs): Likewise.
44402 (La_retval): Likewise.
44403 (int_retval): Likewise.
44404 Update #error for removed macros to refer only to definitions in
44405 tst-audit.h.
44406 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
44407 macro.
44408 (pltexit): Likewise.
44409 (La_regs): Likewise.
44410 (La_retval): Likewise.
44411 (int_retval): Likewise.
44412 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
44413 macro.
44414 (pltexit): Likewise.
44415 (La_regs): Likewise.
44416 (La_retval): Likewise.
44417 (int_retval): Likewise.
44418 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
44419 macro.
44420 (pltexit): Likewise.
44421 (La_regs): Likewise.
44422 (La_retval): Likewise.
44423 (int_retval): Likewise.
44424 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
44425 macro.
44426 (pltexit): Likewise.
44427 (La_regs): Likewise.
44428 (La_retval): Likewise.
44429 (int_retval): Likewise.
44430 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
44431 macro.
44432 (pltexit): Likewise.
44433 (La_regs): Likewise.
44434 (La_retval): Likewise.
44435 (int_retval): Likewise.
44436 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
44437 macro.
44438 (pltexit): Likewise.
44439 (La_regs): Likewise.
44440 (La_retval): Likewise.
44441 (int_retval): Likewise.
44442 * sysdeps/generic/tst-audit.h: Update comment to refer only to
44443 macro definitions in tst-audit.h.
44444 * sysdeps/i386/tst-audit.h: New file.
44445 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
44446 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
44447 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
44448 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
44449 * sysdeps/sh/tst-audit.h: Likewise.
44450 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
44451 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
44452 * sysdeps/x86_64/tst-audit.h: Likewise.
44453
bfc07087
AJ
444542012-07-26 Andreas Jaeger <aj@suse.de>
44455
b1b2aaf8
AJ
44456 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
44457 ptrace.
44458
44459 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
44460 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
44461 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
44462 PTRACE_O_MASK.
44463 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
44464 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
44465 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
44466
bfc07087
AJ
44467 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
44468 value.
44469
44470 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
44471 _sigsys.
44472 (si_call_addr, si_syscall, si_arch): Define new macro.
44473 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
44474 _sigsys.
44475 (si_call_addr, si_syscall, si_arch): Define new marcro.
44476 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
44477 _sigsys.
44478 (si_call_addr, si_syscall, si_arch): Define new macro.
44479 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
44480 _sigsys.
44481 (si_call_addr, si_syscall, si_arch): Define new macro.
44482
89b4b02f
JM
444832012-07-25 Joseph Myers <joseph@codesourcery.com>
44484
44485 [BZ #13717]
44486 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44487 Change to 2.4.21 where previously 2.4.1.
44488 * sysdeps/unix/sysv/linux/configure: Regenerated.
44489 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
44490 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
44491 Linux kernel version.
44492 (__ASSUME_STD_AUXV): Remove.
44493 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
44494 kernel version.
44495 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
44496 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
44497 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
44498 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
44499 (__ASSUME_NETLINK_SUPPORT): Likewise.
44500 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
44501 (__no_netlink_support): Remove conditional definition.
44502 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
44503 Remove.
44504 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44505 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
44506 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
44507 (if_nameindex_ioctl): Remove.
44508 (if_nameindex_netlink): Do not handle __no_netlink_support.
44509 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44510 code.
44511 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
44512 Remove conditional code.
44513 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44514 code.
44515 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
44516 unconditional.
44517 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44518 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
44519 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
44520 Remove.
44521 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
44522 [!__ASSUME_STD_AUXV]: Remove conditional code.
44523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
44524 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
44525 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
44526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
44527 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
44528 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44529 code.
44530 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44532 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
44533 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44534 conditional code.
44535 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
44537 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44538 code.
44539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44540 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44541 conditional code.
44542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
44543 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44544 code unconditional.
44545 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44546 conditional code.
44547 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44548 unconditional.
44549 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44550 conditional code.
44551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44552 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44553 unconditional.
44554 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44555 conditional code.
44556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
44557 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44558 code unconditional.
44559 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44560 conditional code.
44561 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44562 unconditional.
44563 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44564 conditional code.
44565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
44566 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44567 code unconditional.
44568 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44569 conditional code.
44570 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44571 unconditional.
44572 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44573 conditional code.
44574
842a39cd
AS
445752012-07-25 Andreas Schwab <schwab@linux-m68k.org>
44576
44577 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
44578 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
44579 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
44580 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
44581 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
44582 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
44583 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
44584 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
44585 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
44586 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
44587 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
44588 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
44589 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
44590 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
44591 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
44592 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
44593 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
44594 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
44595 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
44596 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
44597 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
44598 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
44599 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
44600
84b3fd84
FW
446012012-07-25 Florian Weimer <fweimer@redhat.com>
44602
44603 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
44604 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
44605 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
44606 Introduce __libc_secure_getenv.
0c7936d5
FW
44607 * stdlib/Versions (2.17): Add secure_getenv
44608 (GLIBC_PRIVATE): Add __libc_secure_getenv.
44609 * stdlib/secure-getenv.c: Rename __secure_getenv to
44610 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
44611 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
44612 * stdlib/tst-secure-getenv.c: New.
44613 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
44614 * manual/startup.texi (Environment Access): Document
44615 secure_getenv.
84b3fd84
FW
44616 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
44617 __libc_secure_getenv.
44618 * inet/ruserpass.c (ruserpass): Likewise.
44619 * malloc/mtrace.c (mtrace): Likewise.
44620 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 44621 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
44622 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
44623 * sysdeps/posix/tempname.c: Likewise. Evaluate
44624 HAVE_SECURE_GETENV.
44625 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 44626 __secure_getenv to __libc_secure_getenv.
84b3fd84 44627 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
44628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44629 Likewise.
44630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44631 Likewise.
44632 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
44633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
44634 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44635 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
44636 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
44637 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44638 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 44639
56e49b71
JM
446402012-07-25 Joseph Myers <joseph@codesourcery.com>
44641
44642 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
44643 (struct La_i86_retval): Likewise.
44644 (struct La_x86_64_regs): Likewise.
44645 (struct La_x86_64_retval): Likewise.
44646 (struct La_x32_regs): Likewise.
44647 (struct La_x32_retval): Likewise.
44648 (struct La_ppc32_regs): Likewise.
44649 (struct La_ppc32_retval): Likewise.
44650 (struct La_ppc64_regs): Likewise.
44651 (struct La_ppc64_retval): Likewise.
44652 (struct La_sh_regs): Likewise.
44653 (struct La_sh_retval): Likewise.
44654 (struct La_s390_32_regs): Likewise.
44655 (struct La_s390_32_retval): Likewise.
44656 (struct La_s390_64_regs): Likewise.
44657 (struct La_s390_64_retval): Likewise.
44658 (struct La_sparc32_regs): Likewise.
44659 (struct La_sparc32_retval): Likewise.
44660 (struct La_sparc64_regs): Likewise.
44661 (struct La_sparc64_retval): Likewise.
44662 (struct audit_ifaces): Remove architecture-specific pltenter and
44663 pltexit members.
44664 * sysdeps/i386/ldsodefs.h: New file.
44665 * sysdeps/powerpc/ldsodefs.h: Likewise.
44666 * sysdeps/s390/ldsodefs.h: Likewise.
44667 * sysdeps/sh/ldsodefs.h: Likewise.
44668 * sysdeps/sparc/ldsodefs.h: Likewise.
44669 * sysdeps/x86_64/ldsodefs.h: Likewise.
44670
354691b7
MP
446712012-07-25 Marek Polacek <polacek@redhat.com>
44672
44673 [BZ #6808]
44674 * math/libm-test.inc (yn_test): Add another test.
44675 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
44676 to ERANGE when the result is +-Inf.
44677 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44678 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
44679 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
44680 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
44681
bf9e2071
JM
446822012-07-24 Joseph Myers <joseph@codesourcery.com>
44683
44684 * conform/data/time.h-data (NULL): Use macro-constant. Require
44685 equal to 0.
44686 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
44687 clock_t.
44688 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
44689
57633811
TS
446902012-07-23 Thomas Schwinge <thomas@codesourcery.com>
44691
44692 * configure.in <sysdeps resolving>: Correct printing
44693 Implies_before.
44694 * configure: Regenerate.
44695
c23c33b0
TS
446962012-07-22 Thomas Schwinge <thomas@codesourcery.com>
44697
44698 * math/w_ilogb.c: Include <limits.h>.
44699 * math/w_ilogbl.c: Likewise.
44700
b5982523
JM
447012012-07-20 Joseph Myers <joseph@codesourcery.com>
44702
44703 * manual/lang.texi (__va_copy): Document primarily as ISO C99
44704 va_copy. Document allowing for unavailable va_copy only as
44705 pre-C99 compatibility.
44706 * manual/string.texi (Copying and Concatenation): Use va_copy
44707 instead of __va_copy in concat example.
44708
ac4ea442
PT
447092012-07-20 Pino Toscano <toscano.pino@tiscali.it>
44710
44711 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
44712 (__sendto): Use create_address_port. Initialize APORT and deallocate
44713 it if not null.
44714
f98eafbd
PT
44715 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
44716 with O_NOLINK passed to __file_name_lookup.
44717
898c7aab
PT
44718 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
44719 with O_NOLINK passed to __file_name_lookup.
44720
0ced335a
PT
44721 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
44722 negative N or less than NGIDS.
44723
b3404dbd
PT
44724 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
44725 type to string_t. Set ERANGE as errno and return it if NAME is not big
44726 enough. Use memcpy instead of strncpy.
44727
0f48659e
JM
447282012-07-20 Joseph Myers <joseph@codesourcery.com>
44729
44730 * elf/Makefile (check-data): Remove.
44731 (localplt.data): New vpath directive.
44732 ($(objpfx)check-localplt.out): Use localplt.data from vpath
44733 instead of $(check-data).
44734 * scripts/data/localplt-generic.data: Move to ...
44735 * sysdeps/generic/localplt.data: ... here.
44736 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
44737 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
44738 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
44739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
44740 ... here.
44741 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
44742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
44743 ... here.
44744 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
44745 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
44746 ... here.
44747 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
44748 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
44749 ... here.
44750 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
44751 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
44752 ... here.
44753 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
44754 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
44755 ... here.
44756
d37cbdaa
AZ
447572012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44758
44759 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
44760 PPC32 and PPC64 files.
44761 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
44762 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
44763
46f85fc2
AK
447642012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44765
44766 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
44767 __makecontext_ret to ...
44768 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
44769 ... here and call exit if uc_link is NULL. New file.
44770 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
44771 __makecontext_ret.S.
44772 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
44773 __makecontext_ret to ...
44774 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
44775 ... here and call exit if uc_link is NULL. New file.
44776 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
44777 __makecontext_ret.S.
44778
08f43f9b
AK
447792012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44780
44781 * elf/elf.h (R_390_IRELATIVE): New definition.
44782 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
44783 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
44784 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
44785 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
44786 (elf_machine_lazy_rel): Likewise.
44787 * sysdeps/s390/dl-irel.h: New file.
44788 * sysdeps/s390/s390-64/memcpy.S: New asm code.
44789 * sysdeps/s390/s390-64/memset.S: New asm code.
44790 * sysdeps/s390/s390-64/memcmp.S: New asm code.
44791 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
44792 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
44793 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
44794 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
44795 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
44796 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
44797 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
44798 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
44799 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
44800 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
44801 * sysdeps/s390/s390-32/memcpy.S: New asm code.
44802 * sysdeps/s390/s390-32/memset.S: New asm code.
44803 * sysdeps/s390/s390-32/memcmp.S: New asm code.
44804
3b05db33
MP
448052012-07-17 Marek Polacek <polacek@redhat.com>
44806
44807 [BZ #14349]
44808 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
44809 * sysdeps/s390/s390-64/configure.in: Likewise.
44810 * sysdeps/sparc/configure.in: Likewise.
44811 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
44812 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
44813 * sysdeps/i386/configure.in: Likewise.
44814 * sysdeps/x86_64/configure.in: Likewise.
44815 * sysdeps/sh/configure.in: Likewise.
44816 * sysdeps/s390/s390-32/configure: Regenerated.
44817 * sysdeps/s390/s390-64/configure: Likewise.
44818 * sysdeps/x86_64/configure: Likewise.
44819 * sysdeps/sh/configure: Likewise.
44820 * sysdeps/powerpc/powerpc64/configure: Likewise.
44821 * sysdeps/powerpc/powerpc32/configure: Likewise.
44822 * sysdeps/sparc/configure: Likwise.
44823 * sysdeps/i386/configure: Likewise.
44824
a66877c6
MP
44825 * elf/dl-open.c: Comment fixes.
44826
cfc82fd8
JM
448272012-07-17 Joseph Myers <joseph@codesourcery.com>
44828
bd29910a
JM
44829 * Makefile [CXX] (check-data): Remove.
44830 [CXX] (c++-types.data): New vpath directive.
44831 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
44832 vpath. Do not allow for C++ type data being missing.
44833 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
44834 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
44835 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
44836 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
44837 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
44838 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
44839 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
44840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
44841 ... here.
44842 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
44843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
44844 ... here.
44845 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
44846 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
44847 ... here.
44848 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
44849 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
44850 ... here.
44851 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
44852 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
44853 ... here.
44854 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
44855 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
44856 ... here.
44857 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
44858 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
44859 ... here.
44860 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
44861 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
44862
cfc82fd8
JM
44863 * elf/tls-macros.h (TLS_LE): Move architecture-specific
44864 definitions to architecture-specific files.
44865 (TLS_IE): Likewise.
44866 (TLS_LD): Likewise.
44867 (TLS_GD): Likewise.
44868 * sysdeps/i386/tls-macros.h: New file.
44869 * sysdeps/powerpc/tls-macros.h: Likewise.
44870 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
44871 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
44872 * sysdeps/sh/tls-macros.h: Likewise.
44873 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
44874 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
44875 * sysdeps/x86_64/tls-macros.h: Likewise.
44876
f7db3170
TS
448772012-07-17 Thomas Schwinge <thomas@codesourcery.com>
44878
07cbfc23
TS
44879 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
44880 zero value for regular exit case.
44881
f7db3170
TS
44882 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
44883 (__start_context): Preserve zero value for regular exit case.
44884
dc97c227
TS
448852012-07-17 Thomas Schwinge <thomas@codesourcery.com>
44886 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44887
44888 * manual/setjmp.texi (setcontext): Clarify normal process
44889 termination when uc_link is the null pointer.
44890 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
44891 exit call.
44892
d0cd7d02
AS
448932012-07-16 Andreas Schwab <schwab@linux-m68k.org>
44894
44895 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
44896 preprocessor. Test for each exception mask separately.
44897
dd318934
AJ
448982012-07-16 Andreas Jaeger <aj@suse.de>
44899
44900 * po/ru.po: Update from translation team.
44901
8048311a
JM
449022012-07-15 Joseph Myers <joseph@codesourcery.com>
44903
44904 * conform/data/string.h-data (NULL): Use macro-constant. Require
44905 equal to 0.
44906 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
44907 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
44908 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
44909 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
44910 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44911
b637d46e
AJ
449122012-07-13 Andreas Jaeger <aj@suse.de>
44913
44914 * po/fr.po: Update from translation team.
44915
541428fe
MP
449162012-07-12 Marek Polacek <polacek@redhat.com>
44917
44918 [BZ #14173]
44919 * math/libm-test.inc (yn_test): Add test for BZ #14173.
44920 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
44921 loop condition.
44922
ec332e94
JM
449232012-07-12 Joseph Myers <joseph@codesourcery.com>
44924
44925 [BZ #13717]
44926 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44927 Change to 2.4.1 where previously 2.4.0.
44928 * sysdeps/unix/sysv/linux/configure: Regenerated.
44929 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
44930 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
44931 version.
44932 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
44933 (__ASSUME_AT_CLKTCK): Remove.
44934 (__ASSUME_AT_PAGESIZE): Likewise.
44935 (__ASSUME_AT_XID): Likewise.
44936 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
44937 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
44938 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
44939 unconditionally.
44940 (HAVE_AUX_PAGESIZE): Likewise.
44941 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
44942 [__ASSUME_AT_CLKTCK]: Make code unconditional.
44943 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
44944
7b6e99be
JB
449452012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
44946
44947 [BZ #14307]
44948 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
44949 the temporary buffer used to invoke __gethostbyname2_r,
44950 __gethostbyaddr_r and gethostbyname4_r to make room for struct
44951 host_data / struct gaih_addrtuple.
44952 * resolv/nss_dns/dns-host.c (global scope): Move definition of
44953 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
44954 header file nss/nsswitch.h.
44955 * nss/nsswitch.h (global scope): Add definition of implementation
44956 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
44957 resolv/nss_dns/dns-host.c).
44958
608404eb
AJ
449592012-07-11 Andreas Jaeger <aj@suse.de>
44960
44961 * po/fr.po: Update from translation team.
44962
71220aca
AJ
44963 * po/sv.po: Update from translation team
44964 * po/fr.po: Another update from translation team.
44965
28cfe843
AZ
449662012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44967
44968 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
44969 for subnormals or multiply small sinh result by itself.
44970 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44971 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44972
6b90f981
DM
449732012-07-11 David S. Miller <davem@davemloft.net>
44974
44975 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44976
c6825772
AS
449772012-07-10 Andreas Schwab <schwab@linux-m68k.org>
44978
44979 [BZ #14347]
44980 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
44981 (INTERNAL_MARK): Shift it here.
44982
7b8e0d49
MP
449832012-07-10 Marek Polacek <polacek@redhat.com>
44984
44985 [BZ #14151]
44986 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
44987 libc_cv_asm_global_directive with .globl.
44988 * configure: Regenerated.
44989 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
44990 with .globl.
44991 * sysdeps/i386/configure: Regenerated.
44992 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
44993 with .globl.
44994 * sysdeps/x86_64/configure: Regenerated.
44995 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
44996 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
44997 * elf/tst-unique2mod2.c: Likewise.
44998 * elf/tst-unique2mod1.c: Likewise.
44999 * elf/tst-unique1mod2.c: Likewise.
45000 * elf/tst-unique1mod1.c: Likewise.
45001 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45002 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45003 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45004 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45005 * sysdeps/mach/sysdep.h: Likewise.
45006 * sysdeps/i386/sysdep.h: Likewise.
45007 * sysdeps/i386/i386-mcount.S: Likewise.
45008 * sysdeps/x86_64/_mcount.S: Likewise.
45009 * sysdeps/x86_64/sysdep.h: Likewise.
45010 * sysdeps/sh/_mcount.S: Likewise.
45011 * sysdeps/sh/sysdep.h: Likewise.
45012 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
45013 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
45014 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
45015 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45016 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
45017 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
45018 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
45019 * locale/localeinfo.h: Likewise.
45020 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
45021 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
45022
6c55cda3
RM
450232012-07-09 Roland McGrath <roland@hack.frob.com>
45024
45025 [BZ #14336]
45026 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
45027 system".
45028 * manual/message.texi (The Uniforum approach): Likewise.
45029 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
45030 (glibc iconv Implementation): Likewise.
45031
638a572e
JM
450322012-07-09 Joseph Myers <joseph@codesourcery.com>
45033
45034 [BZ #14337]
45035 * math/s_clog.c (__clog): Avoid scaling a value down where that
45036 could result in underflow.
45037 * math/s_clog10.c (__clog10): Likewise.
45038 * math/s_clog10f.c (__clog10f): Likewise.
45039 * math/s_clog10l.c (__clog10l): Likewise.
45040 * math/s_clogf.c (__clogf): Likewise.
45041 * math/s_clogl.c (__clogl): Likewise.
45042 * math/libm-test.inc (clog_test): Add more tests.
45043 (clog10_test): Likewise.
45044 * sysdeps/i386/fpu/libm-test-ulps: Update.
45045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45046
261f4859
AS
450472012-07-06 Andreas Schwab <schwab@linux-m68k.org>
45048
0abaf3e4
AS
45049 [BZ #14283]
45050 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
45051 by 7 not 8 to examine high bit of fractional part.
45052
261f4859
AS
45053 [BZ #14042]
45054 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
45055 for call to __mcount_internal.
45056 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
45057 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
45058 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
45059
f17ac40d
JM
450602012-07-06 Joseph Myers <joseph@codesourcery.com>
45061
9ad63c23
JM
45062 [BZ #14154]
45063 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
45064 approximation for values within 0x1p-13f of an odd multiple of
45065 pi/4.
45066 * math/libm-test.inc (tan_test): Do not allow spurious underflow
45067 exception. Add more tests.
45068 * sysdeps/i386/fpu/libm-test-ulps: Update.
45069
f17ac40d
JM
45070 [BZ #6778]
45071 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
45072 inputs and return -1 for them. Do not check for +Inf in case not
45073 reachable for +Inf.
45074 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
45075 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
45076 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45077 and return -1 for them. Do not check for +Inf in case not
45078 reachable for +Inf.
45079 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
45080 define.
45081 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45082 and return -1 for them. Do not check for +Inf in case not
45083 reachable for +Inf.
45084 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
45085 spurious underflow.
45086 * sysdeps/i386/fpu/libm-test-ulps: Update.
45087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45088
fb21f89b
MF
450892012-07-06 Mike Frysinger <vapier@gentoo.org>
45090
45091 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
45092
cdfe2c5e
JM
450932012-07-05 Joseph Myers <joseph@codesourcery.com>
45094
45095 [BZ #14157]
45096 [BZ #14331]
45097 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
45098 could result in spurious underflow. Scale down values above
45099 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
45100 * math/s_csqrtf.c (__csqrtf): Likewise.
45101 * math/s_csqrtl.c (__csqrtl): Likewise.
45102 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
45103 spurious underflow.
45104 * sysdeps/i386/fpu/libm-test-ulps: Update.
45105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45106
70d35b67
AS
451072012-07-04 Andreas Schwab <schwab@linux-m68k.org>
45108
704bc459
AS
45109 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
45110 xopen-msg.sed.
45111 * catgets/xopen-msg.awk: New file.
45112 * catgets/xopen-msg.sed: Removed.
45113
70d35b67
AS
45114 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
45115 po2text.sed.
45116 * intl/po2test.awk: New file.
45117 * intl/po2test.sed: Removed.
45118
ca61cf32
JM
451192012-07-04 Joseph Myers <joseph@codesourcery.com>
45120
45121 [BZ #14328]
45122 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
45123 or multiply small sinh result by itself.
45124 * math/s_ctanf.c (__ctanf): Likewise.
45125 * math/s_ctanh.c (__ctanh): Likewise.
45126 * math/s_ctanhf.c (__ctanhf): Likewise.
45127 * math/s_ctanhl.c (__ctanhl): Likewise.
45128 * math/s_ctanl.c (__ctanl): Likewise.
45129 * math/libm-test.inc (ctan_test_tonearest): New function.
45130 (ctan_test_towardzero): Likewise.
45131 (ctan_test_downward): Likewise.
45132 (ctan_test_upward): Likewise.
45133 (ctanh_test_tonearest): Likewise.
45134 (ctanh_test_towardzero): Likewise.
45135 (ctanh_test_downward): Likewise.
45136 (ctanh_test_upward): Likewise.
45137 (main): Call these new functions.
45138 * sysdeps/i386/fpu/libm-test-ulps: Update.
45139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45140
ca48a46a
MF
451412012-07-03 Mike Frysinger <vapier@gentoo.org>
45142
45143 * .gitignore: Delete /ports entry.
45144
9d63d37d
AJ
451452012-07-03 Andreas Jaeger <aj@suse.de>
45146
45147 * po/bg.po: Update from translation team.
45148 * po/cs.po: Likewise.
45149 * po/de.po: Likewise.
45150 * po/hr.po: Likewise.
45151 * po/nl.pl: Likewise.
45152 * po/pl.po: Likewise.
45153 * po/vi.po: Likewise.
45154
370ca3d2
JM
451552012-07-03 Joseph Myers <joseph@codesourcery.com>
45156
95f5a9a8
JM
45157 * Makeconfig [!+link] (+link-before-libc): New variable.
45158 [!+link] (+link-after-libc): Likewise.
45159 [!+link] (+link-tests): Likewise.
45160 [!+link] (+link): Define in terms of $(+link-before-libc) and
45161 $(+link-after-libc).
45162 [!+link-static] (+link-static-before-libc): New variable.
45163 [!+link-static] (+link-static-after-libc): Likewise.
45164 [!+link-static] (+link-static-tests): Likewise.
45165 [!+link-static] (+link-static): Define in terms of
45166 $(+link-static-before-libc) and $(+link-static-after-libc).
45167 [build-shared] (link-libc-before-gnulib): New variable.
45168 [build-shared] (link-libc-tests): Likewise.
45169 [build-shared] (link-libc): Define in terms of
45170 $(link-libc-before-gnulib).
45171 [!build-shared] (link-libc-tests): New variable.
45172 (link-libc-static-tests): New variable.
45173 [!gnulib] (gnulib-arch): New variable.
45174 [!gnulib] (gnulib-tests): Likewise.
45175 [!gnulib] (static-gnulib-arch): Likewise.
45176 [!gnulib] (static-gnulib-tests): Likewise.
45177 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
45178 Define with "=" instead of ":=".
45179 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
45180 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
45181 * Rules (binaries-all-notests): New variable.
45182 (binaries-all-tests): Likewise.
45183 (binaries-static-notests): Likewise.
45184 (binaries-static-tests): Likewise.
45185 (binaries-all): Define using $(binaries-all-notests) and
45186 $(binaries-all-tests).
45187 (binaries-static): Define using $(binaries-static-notests) and
45188 $(binaries-static-tests).
45189 (binaries-shared-tests): New variable.
45190 (binaries-shared-notests): Likewise.
45191 (binaries-shared): Remove variable.
45192 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
45193 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
45194 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
45195 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
45196 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
45197 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
45198 * elf/Makefile (sln-modules): New variable.
45199 (extra-objs): Add $(sln-modules:=.o).
45200 (ldconfig-modules): Add static-stubs.
45201 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
45202 * elf/static-stubs.c: New file.
45203
7a845b2c
JM
45204 [BZ #14283]
45205 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
45206 by 7 not 8 to examine high bit of fractional part. Use volatile
45207 variables when splitting into final array of floats if
45208 __FLT_EVAL_METHOD__ != 0.
45209 * math/libm-test.inc (cos_test): Add another test.
45210 (sin_test): Likewise.
45211 * sysdeps/i386/fpu/libm-test-ulps: Update.
45212
e2283f38
JM
45213 [BZ #14273]
45214 * math/libm-test.inc (cosh_test): Add more tests.
45215
370ca3d2
JM
45216 * version.h (RELEASE): Set to "development".
45217 (VERSION): Set to "2.16.90".
45218
ee9247c3
CD
452192012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
45220
45221 * NEWS: Update copyright. Remove last-updated date.
45222 Mention math library bug fixes and timezone data changes.
45223 * README: Mention GNU/Hurd, x32, and HPPA support status.
45224
4648c381
TS
452252012-06-28 Thomas Schwinge <thomas@codesourcery.com>
45226
45227 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
45228
aac78a43
AJ
452292012-06-27 Andreas Jaeger <aj@suse.de>
45230
45231 * manual/contrib.texi (Contributors): Add Samuel Thibault.
45232
ed3dbfad
AJ
452332012-06-25 Andreas Jaeger <aj@suse.de>
45234
45235 * sysdeps/s390/fpu/libm-test-ulps: Update.
45236
4d0ee855
AS
452372012-06-23 Andreas Schwab <schwab@linux-m68k.org>
45238 Thomas Schwinge <thomas@codesourcery.com>
45239
45240 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
45241 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
45242 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
45243 fanotify_mark.
45244
af1bce34
TS
452452012-06-23 Thomas Schwinge <thomas@codesourcery.com>
45246
a9fa33ba
TS
45247 * sysdeps/mach/start.c: Remove file.
45248 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
45249 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
45250 * sysdeps/sh/init-first.c: Likewise.
45251
58f902b8
TS
45252 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
45253 registers for frame unwinding purposes, add CFI directives.
45254 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45255 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
45256 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
45257 Likewise.
45258
1518f58b
TS
45259 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
45260 __fortify_fail returning.
45261 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45262
db9b5059
TS
45263 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
45264 sysdeps/sh/____longjmp_chk.S.
45265 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
45266 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
45267 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
45268 (gen-as-const-headers): Append sigaltstack-offsets.sym.
45269
967705fe
TS
45270 * sysdeps/sh/abort-instr.h: New file.
45271 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
45272 process in case exit returns.
45273
a9def8c4
TS
45274 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
45275 initialize the GOT register before use.
45276
2a649725
TS
45277 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
45278 calculation of ARGC > 4.
45279
af1bce34
TS
45280 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
45281 meaningful names to some local labels.
45282
d230f50a
KK
452832012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45284 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45285
45286 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
45287 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
45288 (__arch_compare_and_exchange_val_16_acq): Likewise.
45289 (__arch_compare_and_exchange_val_32_acq): Likewise.
45290 (atomic_exchange_and_add): Fix gUSA sequence.
45291 (atomic_add): Likewise.
45292 (atomic_add_negative): Likewise.
45293 (atomic_add_zero): Likewise.
45294 (atomic_bit_test_set): Likewise.
45295
0479b305
AS
452962012-06-22 Andreas Schwab <schwab@redhat.com>
45297
45298 [BZ #13579]
45299 * include/link.h (struct link_map): Add l_free_initfini.
45300 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
45301 l_initfini.
45302 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
45303 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
45304 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
45305 set.
45306
0e3933b9
CD
453072012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
45308
45309 * configure.in: Use AC_LANG_SOURCE.
45310 * configure: Regenerate.
45311
4248b1b1
RM
453122012-06-22 Roland McGrath <roland@hack.frob.com>
45313
45314 * configure.in (libc_cv_localstatedir): New substituted variable.
45315 * configure: Regenerated.
45316 * config.make.in (localstatedir): New variable, substituted from
45317 libc_cv_localstatedir.
45318 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
45319 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
45320 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
45321 * sysdeps/gnu/configure: Regenerated.
45322
006dd861
JL
453232012-06-21 Jeff Law <law@redhat.com>
45324
45325 [BZ #14277]
45326 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
45327 free. Simplify list management for _LIBC case.
45328
79662d42
JM
453292012-06-21 Joseph Myers <joseph@codesourcery.com>
45330
b7abb4bf
JM
45331 [BZ #14273]
45332 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
45333 Clear sign bit of 64-bit integer value before comparing against
45334 overflow value.
45335
79662d42
JM
45336 * sysdeps/mach/configure: Regenerated.
45337
1f150908
L
453382012-06-21 H.J. Lu <hongjiu.lu@intel.com>
45339
45340 [BZ #14278]
45341 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
45342
28363bbf
JL
453432012-06-21 Jeff Law <law@redhat.com>
45344
45345 [BZ #13882]
45346 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
45347 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 45348 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
45349 * elf/dl-open.c (dl_open_worker): Likewise.
45350
09615db4
CD
453512012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
45352
45353 * scripts/list-sources.sh: Scan PORTS for translations.
45354 * po/libc.pot: Regenerated.
45355
2174c6dd
AJ
453562012-06-21 Andreas Jaeger <aj@suse.de>
45357
45358 [BZ #12194]
45359 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
45360 warning.
45361 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
45362 * bits/byteswap-16.h (__bswap_16): Likewise.
45363 * bits/byteswap.h (__bswap_constant_16): Likewise.
45364
3ee947b1
L
453652012-06-18 H.J. Lu <hongjiu.lu@intel.com>
45366
45367 [BZ #14117]
a2f34833
L
45368 * sysdeps/i386/fpu_control.h: Removed.
45369 * sysdeps/x86_64/fpu_control.h: Moved to ...
45370 * sysdeps/x86/fpu_control.h: Here.
45371
3ee947b1
L
45372 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
45373 (_FPU_SETCW): Likewise.
45374
ed1825f8
L
453752012-06-15 H.J. Lu <hongjiu.lu@intel.com>
45376
25f1282a
L
45377 [BZ #14117]
45378 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
45379 * sysdeps/x86/fpu/bits/mathinline.h: This.
45380 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
45381
ed1825f8
L
45382 [BZ #14050]
45383 [BZ #14117]
45384 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
45385 functions if __x86_64__ is defined.
45386
36d54b74
CLT
453872012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
45388
45389 * string/endian.h: Add !__ASSEMBLER__ condition for including
45390 conversion interfaces.
45391
10285c21
JM
453922012-06-15 Joseph Myers <joseph@codesourcery.com>
45393
45394 [BZ #14241]
45395 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
45396 of ABS(x) in calculating zero to negative powers other than odd
45397 integers.
45398 * math/libm-test.inc (pow_test): Add more tests.
45399
06c5abbd
AJ
454002012-06-15 Andreas Jaeger <aj@suse.de>
45401
45402 * manual/contrib.texi (Contributors): Update entry of Liubov
45403 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
45404 Machado Filho.
45405
a3aeac40
CH
454062012-06-15 Cyril Hrubis <metan@ucw.cz>
45407
45408 * string/string.h: Add __wur to GNU version of strerror_r.
45409
49bdf4c1
L
454102012-06-14 H.J. Lu <hongjiu.lu@intel.com>
45411
45412 [BZ #14229]
45413 * string/Makefile (tests): Add tst-strtok_r.
45414 * string/tst-strtok_r.c: New file.
45415 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
45416 RAX_LP/RDX_LP on SAVE_PTR.
45417
834f9b8d
RM
454182012-06-14 Roland McGrath <roland@hack.frob.com>
45419
45420 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
45421
75fa1921
JM
454222012-06-14 Joseph Myers <joseph@codesourcery.com>
45423
45424 * libm_test.inc (csqrt_test): Allow more spurious underflow
45425 exceptions.
45426 (j0_test): Likewise.
45427 (j1_test): Likewise.
45428 (y0_test): Likewise.
45429 (y1_test): Likewise.
45430
771766df
CD
454312012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
45432
45433 * po/Makefile (libc.pot): Use UTF-8 charset.
45434
ceb9e56b
PP
454352012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
45436
45437 [BZ #14210]
45438 Suppress sign-conversion warning from FD_SET.
45439 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
45440 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
45441 not unsigned long int.
45442 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
45443
ddb28975
L
454442012-06-12 H.J. Lu <hongjiu.lu@intel.com>
45445
45446 [BZ #14050]
45447 [BZ #14117]
45448 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
45449 __extern_always_inline instead of __extern_inline.
45450 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
45451 (__signbit): Likewise.
45452 (__signbitl): Support C++ namespace.
45453 (lrintf): New inline function.
45454 (lrint): Likewise.
45455 (llrintf): Likewise.
45456 (llrint): Likewise.
45457 (fmaxf): Likewise.
45458 (fmax): Likewise.
45459 (fminf): Likewise.
45460 (fmin): Likewise.
45461 (rint): Likewise.
45462 (rintf): Likewise.
45463 (ceil): Likewise.
45464 (ceilf): Likewise.
45465 (floor): Likewise.
45466 (floorf): Likewise.
45467 (nearbyint): Likewise.
45468 (nearbyintf): Likewise.
45469
d7b4fb26
TS
454702012-06-12 Thomas Schwinge <thomas@codesourcery.com>
45471
45472 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
45473 non-default versions.
45474
eb55f5c2
RM
454752012-06-11 Roland McGrath <roland@hack.frob.com>
45476
45477 [BZ #14218]
45478 * manual/argp.texi (Argp): Reword argp_parse description slightly.
45479
366af02c
TS
454802012-06-09 Thomas Schwinge <thomas@codesourcery.com>
45481
99ff6e5c
TS
45482 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
45483 (FE_UPWARD, FE_DOWNWARD): Don't define.
45484 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
45485 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45486
366af02c
TS
45487 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
45488 reading it.
45489 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45490 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45491
793ea851
KK
454922012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45493
45494 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45495 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
45496 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
45497 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
45498
a728a38f
L
454992012-06-06 H.J. Lu <hongjiu.lu@intel.com>
45500
45501 [BZ #14117]
c08010c7
L
45502 * sysdeps/i386/fpu/bits/fenv.h: Removed.
45503 * sysdeps/i386/fpu/Implies: New file.
45504 * sysdeps/x86_64/fpu/Implies: Likewise.
45505 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
45506 * sysdeps/x86/fpu/bits/fenv.h: This.
45507
a728a38f
L
45508 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
45509 __SSE_MATH__.
45510
6e230d11
SP
455112012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
45512
45513 [BZ #14134]
45514 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
45515 character 0xffff that matches the last element of the
45516 conversion table.
45517
1b671feb
AZ
455182012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45519
45520 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
45521 fmodl commit.
45522
6043738b
AZ
455232012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45524
45525 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
45526 values higher than 25.6283.
45527
34ae0b32
AZ
455282012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45529
45530 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
45531 subnormal exponent extraction and add some __builtin_expect.
45532 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
45533 Fix for subnormal mantissa calculation.
45534
1214ec8f
MF
455352012-06-04 Mike Frysinger <vapier@gentoo.org>
45536
45537 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
45538 cpu2 is -1 and errno is not ENOSYS.
45539
f3d1f93c
L
455402012-06-04 H.J. Lu <hongjiu.lu@intel.com>
45541
45542 [BZ #14117]
0e4a3cd7
L
45543 * sysdeps/i386/i486/bits/string.h: Renamed to ...
45544 * sysdeps/x86/bits/string.h: This.
45545 * sysdeps/x86_64/bits/string.h: Removed.
45546
6704c645
L
45547 * sysdeps/i386/i486/bits/string.h: Define inline functions only
45548 if not compiling for x86-64, but compiling for >= i486.
45549
48495318
L
45550 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
45551 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
45552
14adcbfc
L
45553 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
45554 New macro from Linux kernel 3.4.0.
45555 (FP_XSTATE_MAGIC2): Likewise.
45556 (FP_XSTATE_MAGIC2_SIZE): Likewise.
45557 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
45558 (struct _fpx_sw_bytes): New struct.
45559 (struct _xsave_hdr): Likewise.
45560 (struct _ymmh_state): Likewise.
45561 (struct _xstate): Likewise.
45562
68e408ab
L
45563 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
45564 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
45565 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
45566 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
45567 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
45568 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
45569
f3d1f93c
L
45570 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
45571 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
45572 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
45573 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
45574 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
45575 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
45576
d9dc34cd
TMQMF
455772012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45578
45579 [BZ #13743]
45580 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
45581 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
45582 (sysdep_headers): Include sys/platform/ppc.h.
45583 * sysdeps/powerpc/test-gettimebase.c: Test for
45584 __ppc_get_timebase() to catch future ISA opcode/insn changes.
45585 * manual/Makefile (appendices): Include platform.texi.
45586 * manual/contrib.texi (Contributors): Update @node pointers.
45587 * manual/maint.texi (Maintenance): Likewise.
45588 (Platform): New node.
45589 * manual/platform.texi: New file. Document the new features.
45590
4af3879c
SP
455912012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
45592 Jakub Jelinek <jakub@redhat.com>
45593
45594 [BZ #14188]
45595 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
45596 where __builtin_expect is unavailable.
45597
2fd6ff13
DM
455982012-06-03 David S. Miller <davem@davemloft.net>
45599
45600 * stdlib/longlong.h: Updated from GCC.
45601
173f7220
AS
456022012-06-02 Andreas Schwab <schwab@linux-m68k.org>
45603
45604 [BZ #14042]
45605 * sysdeps/powerpc/powerpc32/mcount.c: New file.
45606 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
45607 __mcount_internal.
45608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
45609 (GLIBC_2.16): Likewise.
45610
f34a1c6f
L
456112012-06-01 H.J. Lu <hongjiu.lu@intel.com>
45612
45613 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
45614
88a4576f
JM
456152012-06-01 Joseph Myers <joseph@codesourcery.com>
45616
ea32bcdd
JM
45617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
45618 (default-abi): New variable.
45619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
45620 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
45621 variable.
45622 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
45623 Likewise.
45624 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
45625 Likewise.
45626 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
45627 Likewise.
45628
88a4576f
JM
45629 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
45630 definition. Document in comment.
45631
402fe938
DM
456322012-06-01 David S. Miller <davem@davemloft.net>
45633
45634 * stdlib/longlong.h: Updated from GCC.
45635
3553723f
L
456362012-06-01 H.J. Lu <hongjiu.lu@intel.com>
45637
45638 [BZ #14117]
3bd872c4
L
45639 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
45640 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
45641 sys/debugreg.h sys/io.h here.
45642 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
45643 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
45644 sys/io.h.
45645 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
45646 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
45647 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
45648 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
45649 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
45650 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
45651
3553723f
L
45652 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
45653 Define only if __x86_64__ is defined.
45654
4842e4fe
JM
456552012-06-01 Joseph Myers <joseph@codesourcery.com>
45656
c5bfe3d5
JM
45657 [BZ #14048]
45658 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
45659 Use int64_t for variable i.
45660 * math/libm-test.inc (fmod_test): Add more tests.
45661
4842e4fe
JM
45662 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
45663 z computation is not scheduled after fetestexcept.
45664 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
45665 Use math_force_eval instead of asm to ensure calculation scheduled
45666 before exception test.
45667 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
45668 Ensure a1 + u.d computation is not scheduled after fetestexcept.
45669
efb73488
AJ
456702012-06-01 Aurelien Jarno <aurelien@aurel32.net>
45671
45672 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
45673 computation is not scheduled after fetestexcept.
45674
29bcce7c
L
456752012-06-01 H.J. Lu <hongjiu.lu@intel.com>
45676
45677 [BZ #14117]
45678 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
45679 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
45680
73a68f94
AZ
456812012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45682
45683 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
45684 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45685
67b6df78
L
456862012-05-31 H.J. Lu <hongjiu.lu@intel.com>
45687
edf2933a 45688 [BZ #14117]
ebc64a18
L
45689 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
45690 <bits/wordsize.h>.
45691 (__WCHAR_MIN): Support __WORDSIZE == 64.
45692 (__WCHAR_MAX): Likewise.
45693
edf2933a
L
45694 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
45695 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
45696
57c6cf40
L
45697 [BZ #14183]
45698 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
45699 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
45700
67b6df78 45701 [BZ #14117]
8eb6281e
L
45702 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
45703 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
45704
aac639f4
L
45705 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
45706 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
45707
67b6df78
L
45708 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
45709 Defined to 1 if __x86_64__ isn't defined.
45710 (_STAT_VER_LINUX_OLD): New.
45711 (st_atime): Remove duplicate.
45712 (st_mtime): Likewise.
45713 (st_ctime): Likewise.
45714
1c2cfe81
DM
457152012-05-31 David S. Miller <davem@davemloft.net>
45716
45717 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
45718 entries.
45719
5be8418c
AS
457202012-06-01 Andreas Schwab <schwab@linux-m68k.org>
45721
e7725326
AS
45722 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
45723 gen-libm-test.pl.
45724
5be8418c
AS
45725 [BZ #14132]
45726 * elf/dl-reloc.c: Include <_itoa.h>.
45727 (_dl_reloc_bad_type): Remove use of INTUSE.
45728 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
45729 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
45730 * stdio-common/psiginfo.c (psiginfo): Likewise.
45731 * stdio-common/psignal.c (psignal): Likewise.
45732 * string/strsignal.c (strsignal): Likewise.
45733 * include/signal.h (_sys_siglist): Declare hidden proto.
45734 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
45735 INTVARDEF with libc_hidden_data_def.
45736 * stdio-common/itoa-udigits.c: Likewise.
45737 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
45738 (_itoa_lower_digits_internal): Remove declaration.
45739 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
45740 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
45741 (_sys_sigabbrev_internal): Remove aliases.
45742 (_sys_siglist): Define hidden alias.
45743
507352f1
MT
457442012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
45745
45746 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45747 bits/sysctl.h.
45748
42bbb1c3
L
457492012-05-31 H.J. Lu <hongjiu.lu@intel.com>
45750
45751 [BZ #14117]
6bd784b6
L
45752 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
45753 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
45754
8bca20f0
L
45755 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
45756 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
45757 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
45758 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
45759 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
45760 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
45761
f9e890a9
L
45762 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
45763 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
45764 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
45765
471101a1
L
45766 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
45767 with __addr.
45768 (insw): Likewise.
45769 (insl): Likewise.
45770 (outsb): Likewise.
45771 (outsw): Likewise.
45772 (outsl): Likewise.
45773
6451c862
L
45774 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
45775 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
45776 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
45777
a254b8c9
L
45778 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
45779 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
45780 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
45781 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
45782 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
45783 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
45784
b8dfdd92
L
45785 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
45786 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
45787
578cd270
L
45788 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
45789 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
45790
de662f5f
L
45791 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
45792 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
45793 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
45794
25653439
L
45795 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
45796 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
45797 to ...
45798 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
45799
6bad24a0
L
45800 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
45801 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
45802 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
45803
42bbb1c3
L
45804 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
45805 for x86-64.
45806 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
45807
2d10d547
JM
458082012-05-31 Joseph Myers <joseph@codesourcery.com>
45809
45810 * math/math.h (M_El): Use two more decimal places.
45811 (M_LOG2El): Likewise.
45812 (M_LOG10El): Likewise.
45813 (M_LN2l): Likewise.
45814 (M_LN10l): Likewise.
45815 (M_PIl): Likewise.
45816 (M_PI_2l): Likewise.
45817 (M_PI_4l): Likewise.
45818 (M_1_PIl): Likewise.
45819 (M_2_PIl): Likewise.
45820 (M_2_SQRTPIl): Likewise.
45821 (M_SQRT2l): Likewise.
45822 (M_SQRT1_2l): Likewise.
45823
f230c29b
DM
458242012-05-31 David S. Miller <davem@davemloft.net>
45825
45826 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
45827 values between float registers.
45828 * sysdeps/sparc/sparc64/memset.S: Likewise.
45829 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45830
fed806c3
MF
458312012-05-31 Mike Frysinger <vapier@gentoo.org>
45832
45833 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
45834 -D_FORTIFY_SOURCE=1.
45835 (CPPFLAGS-tst-longjmp_chk.c): Define.
45836 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
45837 (CPPFLAGS-tst-longjmp_chk2.c): Define.
45838 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
45839 CFLAGS-tst-wchar-h.c.
45840
30917259
MP
458412012-05-31 Marek Polacek <polacek@redhat.com>
45842
45843 [BZ #14132]
45844 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
45845 __endmntent_internal): Remove declaration.
45846 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
45847 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
45848 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
45849
1c58d5dc
DM
458502012-05-30 David S. Miller <davem@davemloft.net>
45851
45852 * sysdeps/sparc/sparc32/soft-fp/q_util.c
45853 (___Q_simulate_exceptions): Use real FP ops rather than writing
45854 into the %fsr.
45855 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
45856 Likewise.
45857
7dc00e0d
L
458582012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45859
45860 [BZ #14117]
0bd53985
L
45861 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
45862 * sysdeps/x86/bits/xtitypes.h: This.
45863
3a257e66
L
45864 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
45865 * sysdeps/x86/bits/wordsize.h: This.
45866
62f62904
L
45867 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
45868 * sysdeps/x86/bits/huge_vall.h: This.
45869
404fe9d9
L
45870 * sysdeps/i386/bits/select.h: Removed.
45871 * sysdeps/x86_64/bits/select.h: Renamed to ...
45872 * sysdeps/x86/bits/select.h: This.
45873
d48d0446
L
45874 * sysdeps/i386/bits/setjmp.h: Removed.
45875 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
45876 * sysdeps/x86/bits/setjmp.h: This.
45877
7dc00e0d
L
45878 * sysdeps/i386/bits/mathdef.h: Removed.
45879 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
45880 * sysdeps/x86/bits/mathdef.h: This.
45881
03277f8f
AS
458822012-05-30 Andreas Schwab <schwab@linux-m68k.org>
45883
45884 [BZ #14132]
45885 * include/sys/socket.h (__connect_internal)
45886 (__libc_sa_len_internal): Remove declaration.
45887 (__connect, __libc_sa_len): Declare hidden_proto.
45888 (SA_LEN): Remove use of INTUSE.
45889 * socket/connect.c: Add libc_hidden_def.
45890 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
45891 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
45892 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
45893 alias.
45894 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
45895 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
45896 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
45897 of adding _internal alias.
45898
13764867
L
458992012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45900
45901 [BZ #14117]
6bd97696
L
45902 * sysdeps/i386/bits/link.h: Removed.
45903 * sysdeps/i386/bits/linkmap.h: Likewise.
45904 * sysdeps/x86_64/bits/link.h: Renamed to ...
45905 * sysdeps/x86/bits/link.h: This.
45906 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
45907 * sysdeps/x86/bits/linkmap.h: This.
45908
f726f0bb
L
45909 * sysdeps/i386/bits/endian.h: Removed.
45910 * sysdeps/x86_64/bits/endian.h: Renamed to ...
45911 * sysdeps/x86/bits/endian.h: This.
45912
13764867
L
45913 * sysdeps/i386/bits/byteswap.h: Removed.
45914 * sysdeps/i386/bits/byteswap-16.h: Likewise.
45915 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
45916 * sysdeps/x86/bits/byteswap.h: This.
45917 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
45918 * sysdeps/x86/bits/byteswap-16.h: This.
45919 * sysdeps/i386/Implies: Add x86.
45920 * sysdeps/x86_64/Implies: Likewise.
45921
ae251b0b
DM
459222012-05-30 David S. Miller <davem@davemloft.net>
45923
45924 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
45925 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
45926 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
45927 (FP_TRAPPING_EXCEPTIONS): Define.
45928 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
45929 (FP_TRAPPING_EXCEPTIONS): Define.
45930 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
45931 subnormals only when inexact has been signalled or underflow
45932 exceptions are enabled.
45933 (_FP_PACK_CANONICAL): Likewise.
45934
d5c90867
L
459352012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45936
45937 [BZ #14183]
45938 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
45939 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
45940
63f1549e
RH
459412012-05-30 Richard Henderson <rth@twiddle.net>
45942
8d8f2279
RH
45943 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
45944 with #ifndef NOT_IN_libc.
45945
63f1549e
RH
45946 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
45947 marked to avoid plt entry.
45948
0ab0291b
L
459492012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45950
45951 [BZ #14112]
45952 * Makeconfig (default-abi): New macro.
45953 (abi-includes): Likewise.
45954 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
45955 $(abi-$(default-abi)-lib-soname) for soname if defined.
45956 ($(common-objpfx)gnu/lib-names.stmp): Generate from
45957 abi-variants.
45958 * Makefile (installed-stubs): Likewise.
45959 * include/stubs-biarch.h: Removed.
45960 * scripts/lib-names.awk: Only handle one library at a time.
45961 * scripts/soversions.awk: Remove WORDSIZE support.
45962 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
45963 entries.
45964 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
45965 Removed.
45966 (syscall-list-default-condition): Likewise.
45967 (syscall-list-default-condition): Likewise.
45968 (syscall-list-includes): Likewise.
45969 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
45970 syscall-list-* with abi-*. Handle undefined abi-variants.
45971 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
45972 * sysdeps/unix/sysv/linux/i386/Implies: New file.
45973 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
45974 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
45975 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
45976 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
45977 Removed.
45978 (syscall-list-32-options): Likewise.
45979 (syscall-list-32-condition): Likewise.
45980 (syscall-list-64-options): Likewise.
45981 (syscall-list-64-condition): Likewise.
45982 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
45983 macro.
45984 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
45985 Renamed to ...
45986 (abi-*): This.
45987 (abi-64-ld-soname): New macro.
45988 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
45989 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
45990 Renamed to ...
45991 (abi-*): This.
45992 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
45993 * sysdeps/x86_64/x32/shlib-versions: Likewise.
45994
4da0431d
JM
459952012-05-30 Joseph Myers <joseph@codesourcery.com>
45996
3a85279c
JM
45997 * sysdeps/unix/sysv/linux/kernel-features.h
45998 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
45999 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
46000 include <kernel-features.h>.
46001 [!__NR_ftruncate64]: Remove conditional code.
46002 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46003 [__NR_ftruncate64]: Make code unconditional.
46004 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46005 * sysdeps/unix/sysv/linux/truncate64.c: Do not
46006 include <kernel-features.h>.
46007 [!__NR_ftruncate64]: Remove conditional code.
46008 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46009 [__NR_ftruncate64]: Make code unconditional.
46010 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
46012 include <kernel-features.h>.
46013 [!__NR_ftruncate64]: Remove conditional code.
46014 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46015 [__NR_ftruncate64]: Make code unconditional.
46016 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
46018 include <kernel-features.h>.
46019 [!__NR_ftruncate64]: Remove conditional code.
46020 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46021 [__NR_ftruncate64]: Make code unconditional.
46022 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46023
4da0431d
JM
46024 * configure.in (libc_cv_fpie): Weaken to a compile test using
46025 LIBC_TRY_CC_OPTION.
46026 * configure: Regenerated.
46027
11ef492c
AK
460282012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46029
46030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
46031 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
46032 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
46033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46034 Refreshed.
46035 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
46036 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
46037 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
46038 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
46039 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
46040 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46041 Refreshed.
46042
d66ef399
DM
460432012-05-27 David S. Miller <davem@davemloft.net>
46044
46045 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
46046 (___Q_zero): New.
46047 (__Q_simulate_exceptions): Return void. Change to simulate
46048 exceptions by writing into the %fsr.
46049 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
46050 (__Qp_handle_exceptions): Likewise.
46051 (numbers): Delete.
46052 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
46053 __Qp_handle_exceptions.
46054 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
46055 __Qp_handle_exceptions.
46056 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46057 as unused and give dummy FP_RND_NEAREST initializer.
46058 (FP_INHIBIT_RESULTS): Define.
46059 (___Q_simulate_exceptions): Update declaration.
46060 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
46061 formatting.
46062 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46063 as unused and give dummy FP_RND_NEAREST initializer.
46064 (__Qp_handle_exceptions): Update declaration.
46065 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
46066 formatting.
46067
04fb54b5
TS
460682012-05-27 Thomas Schwinge <thomas@codesourcery.com>
46069
46070 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
46071 the temporary FPU control word.
46072 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
46073 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
46074 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
46075 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46076 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
46077 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
46078 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
46079 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46080 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
46081 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
46082 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46083
3f99608f
KK
460842012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46085
46086 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
46087 fields.
46088
65a4de4e
CLT
460892012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
46090
46091 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
46092 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
46093 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
46094 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
46095 Likewise.
46096 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
46097 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
46098 Likewise.
46099
15749d40
UD
461002012-05-27 Ulrich Drepper <drepper@gmail.com>
46101
46102 * po/h.po: Update from translation team.
46103
25dbcb27
AS
461042012-05-26 Andreas Schwab <schwab@linux-m68k.org>
46105
3d3f8e55
AS
46106 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
46107
25dbcb27
AS
46108 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
46109 handling of denormals.
46110 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46111 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
46112 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46113 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46114 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46115 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
46116 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
46117 Likewise.
46118
7ad47a80 461192012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
46120
46121 [BZ #14152]
46122 * math/libm-test.inc (fma_test): Don't always expect underflow
46123 exception.
46124
9c6ea9fa
SP
461252012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46126
46127 [BZ #12416]
46128 * elf/tst-execstack.c: Include stackinfo.h.
46129 (do_test): Adjust test case to ensure that pthread_getattr_np
46130 behaviour remains the same after marking stack executable.
46131
a8239222
JM
461322012-05-25 Joseph Myers <joseph@codesourcery.com>
46133
46134 * sysdeps/unix/sysv/linux/kernel-features.h
46135 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
46136 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
46137 kernel-features.h.
46138 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46139 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46140 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
46141 kernel-features.h.
46142 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46143 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46144
918b5606
L
461452012-05-25 H.J. Lu <hongjiu.lu@intel.com>
46146
46147 * configure.in: Define the default includes to being none.
46148 * configure: Regenerated.
46149
3a097cc7
RM
461502012-05-25 Roland McGrath <roland@hack.frob.com>
46151
8422c9a5
RM
46152 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
46153 * sysdeps/x86_64/setjmp.S: Likewise.
46154 * sysdeps/i386/bsd-setjmp.S: Likewise.
46155 * sysdeps/i386/bsd-_setjmp.S: Likewise.
46156 * sysdeps/i386/setjmp.S: Likewise.
46157 * sysdeps/i386/__longjmp.S: Likewise.
46158 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46159 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
46160
3a097cc7
RM
46161 * include/stap-probe.h: New file.
46162 * configure.in: Handle --enable-systemtap.
46163 * configure: Regenerated.
46164 * config.h.in (USE_STAP_PROBE): New #undef.
46165 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
46166 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
46167 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
46168
21708942
JM
461692012-05-25 Joseph Myers <joseph@codesourcery.com>
46170
46171 [BZ #13717]
46172 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46173 to 2.4.0 where earlier.
46174 * sysdeps/unix/sysv/linux/configure: Regenerated.
46175 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
46176 <kernel-features.h>.
46177 [__ASSUME_32BITUIDS]: Make code unconditional.
46178 [!__ASSUME_32BITUIDS]: Remove conditional code.
46179 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
46180 <kernel-features.h>.
46181 [__ASSUME_32BITUIDS]: Make code unconditional.
46182 [!__ASSUME_32BITUIDS]: Remove conditional code.
46183 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
46184 [__ASSUME_32BITUIDS]: Make code unconditional.
46185 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
46186 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
46187 <kernel-features.h>.
46188 [__ASSUME_32BITUIDS]: Make code unconditional.
46189 [!__ASSUME_32BITUIDS]: Remove conditional code.
46190 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
46191 <kernel-features.h>.
46192 [__ASSUME_32BITUIDS]: Make code unconditional.
46193 [!__ASSUME_32BITUIDS]: Remove conditional code.
46194 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
46195 <kernel-features.h>.
46196 [__ASSUME_32BITUIDS]: Make code unconditional.
46197 [!__ASSUME_32BITUIDS]: Remove conditional code.
46198 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
46199 <kernel-features.h>.
46200 [__ASSUME_32BITUIDS]: Make code unconditional.
46201 [!__ASSUME_32BITUIDS]: Remove conditional code.
46202 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
46203 <kernel-features.h>.
46204 [__ASSUME_32BITUIDS]: Make code unconditional.
46205 [!__ASSUME_32BITUIDS]: Remove conditional code.
46206 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
46207 <kernel-features.h>.
46208 [__ASSUME_32BITUIDS]: Make code unconditional.
46209 [!__ASSUME_32BITUIDS]: Remove conditional code.
46210 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
46211 <kernel-features.h>.
46212 [__ASSUME_32BITUIDS]: Make code unconditional.
46213 [!__ASSUME_32BITUIDS]: Remove conditional code.
46214 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
46215 <kernel-features.h>.
46216 [__ASSUME_32BITUIDS]: Make code unconditional.
46217 [!__ASSUME_32BITUIDS]: Remove conditional code.
46218 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
46219 <kernel-features.h>.
46220 [__ASSUME_32BITUIDS]: Make code unconditional.
46221 [!__ASSUME_32BITUIDS]: Remove conditional code.
46222 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
46223 <kernel-features.h>.
46224 [__ASSUME_32BITUIDS]: Make code unconditional.
46225 [!__ASSUME_32BITUIDS]: Remove conditional code.
46226 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
46227 <kernel-features.h>.
46228 [__NR_setresgid] (__setresgid): Do not declare.
46229 [__ASSUME_32BITUIDS]: Make code unconditional.
46230 [!__ASSUME_32BITUIDS]: Remove conditional code.
46231 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
46232 <kernel-features.h>.
46233 [__NR_setresuid] (__setresuid): Do not declare.
46234 [__ASSUME_32BITUIDS]: Make code unconditional.
46235 [!__ASSUME_32BITUIDS]: Remove conditional code.
46236 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
46237 <kernel-features.h>.
46238 [__ASSUME_32BITUIDS]: Make code unconditional.
46239 [!__ASSUME_32BITUIDS]: Remove conditional code.
46240 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
46241 <kernel-features.h>.
46242 [__ASSUME_32BITUIDS]: Make code unconditional.
46243 [!__ASSUME_32BITUIDS]: Remove conditional code.
46244 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
46245 <kernel-features.h>.
46246 [__ASSUME_32BITUIDS]: Make code unconditional.
46247 [!__ASSUME_32BITUIDS]: Remove conditional code.
46248 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
46249 <kernel-features.h>.
46250 [__ASSUME_32BITUIDS]: Make code unconditional.
46251 [!__ASSUME_32BITUIDS]: Remove conditional code.
46252 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
46253 <kernel-features.h>.
46254 [__ASSUME_32BITUIDS]: Make code unconditional.
46255 [!__ASSUME_32BITUIDS]: Remove conditional code.
46256 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
46257 <kernel-features.h>.
46258 [__ASSUME_32BITUIDS]: Make code unconditional.
46259 [!__ASSUME_32BITUIDS]: Remove conditional code.
46260 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
46261 <kernel-features.h>.
46262 [__ASSUME_32BITUIDS]: Make code unconditional.
46263 [!__ASSUME_32BITUIDS]: Remove conditional code.
46264 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
46265 <kernel-features.h>.
46266 [__ASSUME_32BITUIDS]: Make code unconditional.
46267 [!__ASSUME_32BITUIDS]: Remove conditional code.
46268 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
46269 <kernel-features.h>.
46270 [__ASSUME_32BITUIDS]: Make code unconditional.
46271 [!__ASSUME_32BITUIDS]: Remove conditional code.
46272 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
46273 <kernel-features.h>.
46274 [__ASSUME_32BITUIDS]: Make code unconditional.
46275 [!__ASSUME_32BITUIDS]: Remove conditional code.
46276 * sysdeps/unix/sysv/linux/kernel-features.h
46277 (__ASSUME_SETRESUID_SYSCALL): Remove.
46278 (__ASSUME_SETRESGID_SYSCALL): Likewise.
46279 (__ASSUME_32BITUIDS): Likewise.
46280 (__ASSUME_LDT_WORKS): Likewise.
46281 (__ASSUME_O_DIRECTORY): Likewise.
46282 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
46283 architecture but not kernel version.
46284 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
46285 (__ASSUME_MMAP2_SYSCALL): Likewise.
46286 (__ASSUME_STAT64_SYSCALL): Likewise.
46287 (__ASSUME_IPC64): Likewise.
46288 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
46289 <kernel-features.h>.
46290 [__ASSUME_32BITUIDS]: Make code unconditional.
46291 [!__ASSUME_32BITUIDS]: Remove conditional code.
46292 * sysdeps/unix/sysv/linux/opendir.c: Do not include
46293 <kernel-features.h>.
46294 [__ASSUME_O_DIRECTORY]: Make code unconditional.
46295 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
46296 132096]: Remove conditional code.
46297 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
46298 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
46307 <kernel-features.h>.
46308 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
46309 unconditional.
46310 (__setresgid): Do not declare.
46311 [__ASSUME_32BITUIDS]: Make code unconditional.
46312 [!__ASSUME_32BITUIDS]: Remove conditional code.
46313 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
46314 <kernel-features.h>.
46315 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
46316 unconditional.
46317 (__setresuid): Do not declare.
46318 [__ASSUME_32BITUIDS]: Make code unconditional.
46319 [!__ASSUME_32BITUIDS]: Remove conditional code.
46320 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
46321 <kernel-features.h>.
46322 [__ASSUME_32BITUIDS]: Make code unconditional.
46323 [!__ASSUME_32BITUIDS]: Remove conditional code.
46324 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
46325 <kernel-features.h>.
46326 [__ASSUME_32BITUIDS]: Make code unconditional.
46327 [!__ASSUME_32BITUIDS]: Remove conditional code.
46328
a386f1cc
RH
463292012-05-25 Richard Henderson <rth@twiddle.net>
46330
46331 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
46332 dl_hwcap to ifunc resolver.
46333 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
46334 elf_ifunc_invoke.
46335 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
46336 dl_hwcap to ifunc resolver.
46337 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
46338
b6550497
JM
463392012-05-24 Joseph Myers <joseph@codesourcery.com>
46340
46341 [BZ #14153]
46342 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
46343 for |x| <= 2**-26, not 2**-57.
46344 * math/libm-test.inc (acos_test): Do not allow spurious underflow
46345 exception.
46346
b0bc23a1
JL
463472012-05-24 Jeff Law <law@redhat.com>
46348
46349 * stdio-common/Makefile (tests): Add bug25.
46350 * stdio-common/bug25.c: New test.
46351
347c92e9
L
463522012-05-24 H.J. Lu <hongjiu.lu@intel.com>
46353
46354 [BZ #13576]
46355 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
46356 multiple of MALLOC_ALIGNMENT in size.
46357 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
46358
6bcc8b3f
JM
463592012-05-24 Joseph Myers <joseph@codesourcery.com>
46360
46361 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
46362 Require >= 256.
46363 (FILENAME_MAX): Use macro-int-constant.
46364 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
46365 (_IOFBF): Use macro-int-constant.
46366 (_IOLBF): Likewise.
46367 (_IONBF): Likewise.
46368 (SEEK_CUR): Likewise.
46369 (SEEK_END): Likewise.
46370 (SEEK_SET): Likewise.
46371 (TMP_MAX): Likewise.
46372 (EOF): Use macro-int-constant. Require < 0.
46373 (NULL): Use macro-constant. Require == 0.
46374 (stdin): Require type to be FILE *.
46375 (stdout): Likewise.
46376 (stderr): Likewise.
46377 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
46378 macro-int-constant.
46379 (EXIT_SUCCESS): Likewise.
46380 (NULL): Use macro-constant. Require == 0.
46381 (RAND_MAX): Use macro-int-constant.
46382 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
46383 [C99-based standards] (strtof): Require function.
46384 [C99-based standards] (strtold): Likewise.
46385 [C99-based standards] (strtoll): Likewise.
46386 [C99-based standards] (strtoull): Likewise.
46387 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46388 [ISO || ISO99 || ISO11] (limits.h): Likewise.
46389 [ISO || ISO99 || ISO11] (math.h): Likewise.
46390 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
46391 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46392 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46393
d18ea0c5
AS
463942012-05-24 Andreas Schwab <schwab@linux-m68k.org>
46395
46396 [BZ #14132]
56d25bb8
AS
46397 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
46398 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
46399 * intl/dgettext.c (DCGETTEXT): Likewise.
46400 * intl/gettext.c (DCGETTEXT): Likewise.
46401 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
46402 * posix/regex_internal.h (gettext): Likewise.
46403 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
46404 Remove declaration.
46405 * include/argz.h (__argz_count_internal)
46406 (__argz_stringify_internal): Remove declaration.
46407 (__argz_count, __argz_stringify): Declare hidden proto.
46408 * intl/dcgettext.c: Remove use of INTDEF.
46409 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
46410 * string/argz-stringify.c: Likewise.
46411 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46412 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46413 Declare hidden proto.
d18ea0c5
AS
46414 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46415 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46416 Declare hidden proto.
46417 * include/stdio.h (__asprintf_internal): Don't declare.
46418 (__asprintf): Don't define as macro. Declare hidden proto.
46419 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
46420 (__fsetlocking): Declare hidden proto.
46421 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
46422 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
46423 hidden proto.
46424 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
46425 (_IO_setlinebuf): Remove use of INTUSE.
46426 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
46427 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
46428 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
46429 Remove declaration.
46430 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
46431 (_IO_do_flush): Remove use of INTUSE.
46432 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
46433 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
46434 (_IO_adjust_column, _IO_least_wmarker)
46435 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
46436 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
46437 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
46438 (_IO_default_doallocate, _IO_wdefault_doallocate)
46439 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
46440 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
46441 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
46442 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
46443 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
46444 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
46445 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
46446 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
46447 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
46448 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
46449 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
46450 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
46451 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
46452 proto.
46453 (_IO_flush_all_internal, _IO_adjust_column_internal)
46454 (_IO_default_uflow_internal, _IO_default_finish_internal)
46455 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
46456 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
46457 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
46458 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
46459 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
46460 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
46461 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
46462 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
46463 (_IO_file_close_internal, _IO_file_close_it_internal)
46464 (_IO_file_underflow_internal, _IO_file_overflow_internal)
46465 (_IO_file_init_internal, _IO_file_attach_internal)
46466 (_IO_file_fopen_internal, _IO_file_read_internal)
46467 (_IO_file_sync_internal, _IO_file_seek_internal)
46468 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
46469 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
46470 (_IO_str_underflow_internal, _IO_str_overflow_internal)
46471 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
46472 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
46473 (_IO_list_all_internal, _IO_link_in_internal)
46474 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
46475 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
46476 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
46477 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
46478 (_IO_do_write_internal, _IO_padn_internal)
46479 (_IO_getline_info_internal, _IO_getline_internal)
46480 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
46481 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
46482 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
46483 (_IO_vfscanf_internal, _IO_vfprintf_internal)
46484 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
46485 (_IO_init_internal, _IO_un_link_internal): Don't declare.
46486 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
46487 with libc_hidden_ver, remove use of INTUSE.
46488 * libio/genops.c: Likewise.
46489 * libio/freopen.c: Likewise.
46490 * libio/freopen64.c: Likewise.
46491 * libio/iofclose.c: Likewise.
46492 * libio/iofdopen.c: Likewise.
46493 * libio/iofflush.c: Likewise.
46494 * libio/iofflush_u.c: Likewise.
46495 * libio/iofgets.c: Likewise.
46496 * libio/iofgets_u.c: Likewise.
46497 * libio/iofopen.c: Likewise.
46498 * libio/iofopncook.c: Likewise.
46499 * libio/iofread.c: Likewise.
46500 * libio/iofread_u.c: Likewise.
46501 * libio/ioftell.c: Likewise.
46502 * libio/iofwrite.c: Likewise.
46503 * libio/iogetline.c: Likewise.
46504 * libio/iogets.c: Likewise.
46505 * libio/iogetwline.c: Likewise.
46506 * libio/iopadn.c: Likewise.
46507 * libio/iopopen.c: Likewise.
46508 * libio/ioseekoff.c: Likewise.
46509 * libio/ioseekpos.c: Likewise.
46510 * libio/iosetbuffer.c: Likewise.
46511 * libio/iosetvbuf.c: Likewise.
46512 * libio/ioungetc.c: Likewise.
46513 * libio/ioungetwc.c: Likewise.
46514 * libio/iovdprintf.c: Likewise.
46515 * libio/iovsprintf.c: Likewise.
46516 * libio/iovsscanf.c: Likewise.
46517 * libio/memstream.c: Likewise.
46518 * libio/obprintf.c: Likewise.
46519 * libio/oldfileops.c: Likewise.
46520 * libio/oldiofclose.c: Likewise.
46521 * libio/oldiofdopen.c: Likewise.
46522 * libio/oldiofopen.c: Likewise.
46523 * libio/oldiopopen.c: Likewise.
46524 * libio/oldstdfiles.c: Likewise.
46525 * libio/putc.c: Likewise.
46526 * libio/setbuf.c: Likewise.
46527 * libio/setlinebuf.c: Likewise.
46528 * libio/stdfiles.c: Likewise.
46529 * libio/strops.c: Likewise.
46530 * libio/vasprintf.c: Likewise.
46531 * libio/vscanf.c: Likewise.
46532 * libio/vsnprintf.c: Likewise.
46533 * libio/vswprintf.c: Likewise.
46534 * libio/wfiledoalloc.c: Likewise.
46535 * libio/wfileops.c: Likewise.
46536 * libio/wgenops.c: Likewise.
46537 * libio/wmemstream.c: Likewise.
46538 * libio/wstrops.c: Likewise.
46539 * libio/__fpurge.c: Likewise.
46540 * libio/__fsetlocking.c: Likewise.
46541 * assert/assert.c: Likewise.
46542 * debug/fgets_chk.c: Likewise.
46543 * debug/fgets_u_chk.c: Likewise.
46544 * debug/fread_chk.c: Likewise.
46545 * debug/fread_u_chk.c: Likewise.
46546 * debug/gets_chk.c: Likewise.
46547 * debug/obprintf_chk.c: Likewise.
46548 * debug/vasprintf_chk.c: Likewise.
46549 * debug/vdprintf_chk.c: Likewise.
46550 * debug/vsnprintf_chk.c: Likewise.
46551 * debug/vsprintf_chk.c: Likewise.
46552 * malloc/mtrace.c: Likewise.
46553 * misc/error.c: Likewise.
46554 * misc/syslog.c: Likewise.
46555 * stdio-common/asprintf.c: Likewise.
46556 * stdio-common/fxprintf.c: Likewise.
46557 * stdio-common/getw.c: Likewise.
46558 * stdio-common/isoc99_fscanf.c: Likewise.
46559 * stdio-common/isoc99_scanf.c: Likewise.
46560 * stdio-common/isoc99_vfscanf.c: Likewise.
46561 * stdio-common/isoc99_vscanf.c: Likewise.
46562 * stdio-common/isoc99_vsscanf.c: Likewise.
46563 * stdio-common/printf-prs.c: Likewise.
46564 * stdio-common/printf_fp.c: Likewise.
46565 * stdio-common/printf_fphex.c: Likewise.
46566 * stdio-common/printf_size.c: Likewise.
46567 * stdio-common/putw.c: Likewise.
46568 * stdio-common/scanf.c: Likewise.
46569 * stdio-common/sprintf.c: Likewise.
46570 * stdio-common/tmpfile.c: Likewise.
46571 * stdio-common/vfprintf.c: Likewise.
46572 * stdio-common/vfscanf.c: Likewise.
46573 * stdlib/strfmon_l.c: Likewise.
46574 * sunrpc/openchild.c: Likewise.
46575 * sunrpc/xdr_stdio.c: Likewise.
46576 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
46577 * sysdeps/mach/hurd/tmpfile.c: Likewise.
46578
d6c33fda
RM
465792012-05-24 Roland McGrath <roland@hack.frob.com>
46580
c1487492
RM
46581 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46582
46583 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
46584 in the third column, to generate for the shared library an IFUNC
46585 that uses _dl_vdso_vsym.
46586 * Makerules (COMPILE.c, compile-stdin.c): New variables.
46587 * Makeconfig (object-suffixes-noshared): New variable.
46588
46589 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
46590 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
46591 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
46592 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
46593
d6c33fda
RM
46594 [BZ #14132]
46595 * include/sys/time.h (__gettimeofday): Remove macro.
46596 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
46597 * time/gettimeofday.c (__gettimeofday): Remove #undef.
46598 Remove INTDEF.
46599 (__gettimeofday): Add libc_hidden_def.
46600 (gettimeofday): Add libc_hidden_weak.
46601 * sysdeps/mach/gettimeofday.c: Likewise.
46602 * sysdeps/posix/gettimeofday.c: Likewise.
46603 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
46604 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
46605 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
46606 (__gettimeofday_internal): Remove strong_alias.
46607 (__gettimeofday): Add libc_hidden_def.
46608 (gettimeofday): Add libc_hidden_weak.
46609 * sysdeps/unix/syscalls.list (gettimeofday):
46610 Remove __gettimeofday_internal alias.
46611
b5a2bbe6
L
466122012-05-24 Daniel Jacobowitz <drow@false.org>
46613 H.J. Lu <hongjiu.lu@intel.com>
46614
46615 [BZ #12495]
46616 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
46617 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
46618 (largebin_index_32_big): New.
46619 (largebin_index): Use it for 16-byte alignment.
46620 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
46621 correction with front_misalign.
46622
cfba4fda
L
466232012-05-24 H.J. Lu <hongjiu.lu@intel.com>
46624
7f907421
L
46625 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
46626 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
46627 Likewise.
46628 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
46629 Likewise.
46630 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
46631 Likewise.
46632 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
46633 Likewise.
46634 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
46635 Likewise.
46636 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
46637 Likewise.
46638 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
46639 Likewise.
46640 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
46641 Likewise.
46642 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
46643 Likewise.
46644 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
46645 Likewise.
46646 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
46647 Likewise.
46648 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
46649 Likewise.
46650
cfba4fda
L
46651 * scripts/data/c++-types-x32-linux-gnu.data: New file.
46652 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
46653
80bad0cc
JM
466542012-05-24 Joseph Myers <joseph@codesourcery.com>
46655
7a25eb06
JM
46656 [BZ #10846]
46657 [BZ #14036]
46658 * math/libm-test.inc (exp_test): Add test from bug 14036.
46659 (pow_test): Add test from bug 10846.
46660
795405f9
JM
46661 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
46662 and other flags.
46663 (special_function): Do not include flags in test name.
46664 (parse_args): Likewise.
46665 * sysdeps/i386/fpu/libm-test-ulps: Update.
46666 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46667 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46668 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46670
80bad0cc
JM
46671 * math/gen-libm-test.pl (%beautify): Add entries for underflow
46672 exceptions.
46673 * math/libm-test.inc ("Philosophy"): Update comment about
46674 exception testing.
46675 (UNDERFLOW_EXCEPTION): New macro.
46676 (UNDERFLOW_EXCEPTION_OK): Likewise.
46677 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
46678 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
46679 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
46680 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
46681 (INVALID_EXCEPTION_OK): Update value.
46682 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46683 (OVERFLOW_EXCEPTION_OK): Likewise.
46684 (IGNORE_ZERO_INF_SIGN): Likewise.
46685 (test_exceptions): Handle underflow exceptions.
46686 (acos_test): Update for underflow exception expectations.
46687 (cexp_test): Likewise.
46688 (clog_test): Likewise.
46689 (clog10_test): Likewise.
46690 (csqrt_test): Likewise.
46691 (ctan_test): Likewise.
46692 (ctanh_test): Likewise.
46693 (exp_test): Likewise.
46694 (exp10_test): Likewise.
46695 (exp2_test): Likewise.
46696 (expm1_test): Likewise.
46697 (fma_test): Likewise.
46698 (j0_test): Likewise.
46699 (jn_test): Likewise.
46700 (nexttoward_test): Likewise.
46701 (pow_test): Likewise.
46702 (scalbn_test): Likewise.
46703 (scalbln_test): Likewise.
46704 (tan_test): Likewise.
46705 (y1_test): Likewise.
46706 * sysdeps/i386/fpu/libm-test-ulps: Update.
46707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46708
9e0e3d0b
DM
467092012-05-23 David S. Miller <davem@davemloft.net>
46710
46711 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
46712 (__libc_sigaction): Remove unused local variables.
46713
ccd0a08f
L
467142012-05-23 H.J. Lu <hongjiu.lu@intel.com>
46715
46716 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
46717
62bdf9a6
PE
467182012-05-23 Paul Eggert <eggert@cs.ucla.edu>
46719
f8591f80
PE
46720 mktime: avoid signed integer overflow
46721 * time/mktime.c (__mktime_internal): Do not mishandle the case
46722 where diff == INT_MIN.
46723
94c7d826
PE
46724 mktime: simplify computation of average
46725 * time/mktime.c (ranged_convert): Use new time_t_avg function
46726 instead of rolling our own (probably-slower) code.
46727
ce73d683
PE
46728 mktime: do not assume signed right shift propagates sign bit
46729 * time/mktime.c (isdst_differ): New static function.
46730 (__mktime_internal): No need to normalize tm_isdst now.
46731 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
46732 tm_isdst values.
46733
72a22e59
PE
46734 mktime: merge another wrapv change from gnulib
46735 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
46736 from some compilers.
46737
68605433
PE
46738 mktime: remove incorrect attempt at unusual arithmetics
46739 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
46740 The code didn't really work on such machines anyway.
46741 (TYPE_MINIMUM): Assume two's complement.
46742 (twos_complement_arithmetic): Verify that long_int and time_t
46743 are two's complement (or unsigned, in the latter case).
46744
03cf7fe3
PE
46745 mktime: check signed shifts on long_int and time_t, too
46746 * time/mktime.c (SHR): Check that shifts work as desired
46747 on the types long_int and time_t too, as SHR is used on
46748 such types.
46749
f04dfbc2
PE
46750 mktime: do not assume 'long' is wide enough
46751 * time/mktime.c (verify): Move decl up.
46752 (long_int): New type.
46753 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
46754 to remove assumption in the code that 'long' is wide enough to
46755 store year values. This assumption is not true on x32 and on
46756 some non-glibc platforms.
46757
62bdf9a6
PE
46758 mktime: merge wrapv change from gnulib
46759 * time/mktime.c (WRAPV): New macro.
46760 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
46761 (guess_time_tm, __mktime_internal): Do not assume that signed
46762 integer overflow wraps around; modern compilers generate code
46763 where this assumption is no longer valid.
46764
5e292e4f
L
467652012-05-23 H.J. Lu <hongjiu.lu@intel.com>
46766
46767 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46768 Replace "jmp L(pseudo_end)" with "ret".
46769 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
46770 Likewise.
46771
8caf8c87
AJ
467722012-05-23 Andreas Jaeger <aj@suse.de>
46773
46774 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
46775 * sysdeps/unix/sysv/linux/poll.c: Remove file.
46776
1a09dc56
AJ
467772012-05-23 Andreas Jaeger <aj@suse.de>
46778 Maximilian Attems <max@stro.at>
46779
46780 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
46781 New macros.
46782
1c87aba0
L
467832012-05-23 H.J. Lu <hongjiu.lu@intel.com>
46784
46785 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
46786 code so that pseudo_end is just ret and the stack pointer is
46787 correct also for static library in error case.
46788
40e45bd5
JM
467892012-05-23 Joseph Myers <joseph@codesourcery.com>
46790
c2670533
JM
46791 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
46792 move to syscalls.list.
46793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
46794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
46795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
46796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
46797
40e45bd5
JM
46798 * manual/install.texi (Running make install): Do not mention Linux
46799 kernel version for which pt_chown is not needed.
46800 (Linux): Do not mention problems with nscd with 2.0 kernels.
46801 * INSTALL: Regenerated.
46802
be08eda5
AJ
468032012-05-23 Andreas Jaeger <aj@suse.de>
46804
46805 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
46806 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
46807 macro.
46808 * sysdeps/unix/sysv/linux/s390/bits/mman.h
46809 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46810 * sysdeps/unix/sysv/linux/sh/bits/mman.h
46811 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46812 * sysdeps/unix/sysv/linux/i386/bits/mman.h
46813 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46814 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
46815 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46816 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
46817 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46818 * sysdeps/unix/sysv/linux/bits/in.h
46819 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
46820
a6a056bb
RM
468212012-05-22 Roland McGrath <roland@hack.frob.com>
46822
46823 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
46824 (PREPARE_VERSION): Just use assert instead, it will be elided
46825 under [NDEBUG] anyway.
46826
c9009328
L
468272012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46828
46829 * sysdeps/unix/sysv/linux/Makefile: Include
46830 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 46831 (sysdep_routines): Remove sysctl.
c9009328
L
46832 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
46833 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
46834 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
46835 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
46836 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
46837
73338355
AJ
468382012-05-22 Andreas Jaeger <aj@suse.de>
46839
46840 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
46841 that pseudo_end is just ret and the stack pointer is correct also
46842 for static library in error case.
46843
d44638b0
PP
468442012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
46845
46846 [BZ #14122]
46847 * nss/nsswitch.c (defconfig_entries): New variable.
46848 (__nss_database_lookup): Don't leak defconfig entries.
46849 (nss_parse_service_list): Don't leak on error paths.
46850 (free_database_entries): New function.
46851 (free_defconfig): New function.
46852 (free_mem): Move common code to free_database_entries.
46853
31a39bd8
L
468542012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46855
da0331a8
L
46856 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
46857 Add arch_prctl.
46858 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
46859
31a39bd8
L
46860 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
46861 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
46862 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
46863 New macro.
46864 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
46865 (INTERNAL_SYSCALL_TYPES): Likewise.
46866 (LOAD_ARGS_TYPES_[1-6]): Likewise.
46867 (LOAD_REGS_TYPES_[1-6]): Likewise.
46868 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
46869 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
46870
45470df3
AZ
468712012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46872
46873 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
46874 copysignl for GLIBC_2_0.
46875 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
46876 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
46877 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
46878 logbl for GLIBC_2_0.
46879 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
46880 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
46881
98a61bcb
L
468822012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46883
a4f6e481
L
46884 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
46885 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
46886
f63d5db6
L
46887 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46888 Use "neg %eax".
46889
98a61bcb
L
46890 * time/mktime.c: Update copyright years.
46891
95770f14
PE
468922012-05-22 Paul Eggert <eggert@cs.ucla.edu>
46893
6226efbd
PE
46894 mktime: merge comment-quoting-style change from gnulib
46895 * time/mktime.c: Quote 'like this' in comments.
46896 The GNU coding standards suggest that we no longer quote `like this',
46897 as "`" and "'" are typically rendered asymmetrically nowadays.
46898 The typical gnulib style is to quote 'like this' when quoting
46899 code, and "like this" when quoting English.
46900
b99e4f78
PE
46901 * time/mktime.c (compile-command): Add "-I.".
46902
643e01e6
PE
46903 mktime: merge mktime-internal.h change from gnulib
46904 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
46905
2554247d
PE
46906 mktime: merge time_r change from gnulib
46907 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
46908
826dd0ab
PE
46909 mktime: merge DEBUG change from gnulib
46910 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
46911 case system <time.h> has a #define.
46912
bd83aabe
PE
46913 mktime: merge <sys/types.h> change from gnulib
46914 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
46915 since <time.t> is now guaranteed to define time_t.
46916
95770f14
PE
46917 mktime: merge HAVE_CONFIG_H change from gnulib
46918 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
46919
5e1a27a9
L
469202012-05-22 H.J. Lu <hongjiu.lu@intel.com>
46921
0e44a77e
L
46922 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46923 Use "neg %eax".
46924
5e1a27a9
L
46925 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
46926 __rlim_t cast.
46927 (struct rusage): Use anonymous union to pad each field to
46928 __syscall_slong_t.
46929
46259bec
DM
469302012-05-21 David S. Miller <davem@davemloft.net>
46931
46932 * Makefules (o-iterator): Remove .s cases.
46933 (compile-command.s): Delete.
46934 (COMPILE.s): Delete.
46935 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
46936
59f0c22e
JM
469372012-05-21 Joseph Myers <joseph@codesourcery.com>
46938
46939 * configure.in (libc_cv_predef_stack_protector): Only consider
46940 "foobar" and "__stack_chk_fail" lines in libc_undefs.
46941 * configure: Regenerated.
46942
20c07380
L
469432012-05-21 H.J. Lu <hongjiu.lu@intel.com>
46944
bbb3154b
L
46945 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46946 New macro. Use R*LP on int and pointer.
46947 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
46948 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
46949 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
46950 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
46951
20c07380
L
46952 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
46953 [__WORDSIZE_TIME64_COMPAT32] instead of
46954 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
46955 (struct utmp): Likewise.
46956 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
46957 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
46958 Renamed to ...
46959 (__WORDSIZE_TIME64_COMPAT32): This.
46960 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
46961 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
46962 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
46963 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
46964 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
46965 (__WORDSIZE_TIME64_COMPAT32): New macro.
46966
d8d1017e
AJ
469672012-05-21 Andreas Jaeger <aj@suse.de>
46968
46969 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
46970 only if [SHARED]. Add prototype for __wcschr_ia32.
46971
6c7fb145
RM
469722012-05-21 Roland McGrath <roland@hack.frob.com>
46973
46974 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
46975 of %rbp unmolested in the jmp_buf while mangling the low bits.
46976 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
46977 unmolested high bits of %rbp while demangling the low bits.
46978 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46979
66274218
AJ
469802012-05-21 Andreas Jaeger <aj@suse.de>
46981
07c58f8f
AJ
46982 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
46983 * sunrpc/svc_simple.c: Use it for registerrpc.
46984 * sunrpc/xcrypt.c: Use it for passwd2des.
46985
66274218
AJ
46986 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
46987
61f65140
L
469882012-05-21 H.J. Lu <hongjiu.lu@intel.com>
46989
46990 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
46991 Don't define if [__SYSCALL_WORDSIZE != 32].
46992 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
46993 New macro.
46994
5fefb436
AJ
469952012-05-21 Bruno Haible <bruno@clisp.org>
46996 Andreas Jaeger <aj@suse.de>
46997
46998 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
46999 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
47000 inptr and inend for must_buffer_ch.
47001 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
47002 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
47003 * stdio-common/Makefile (tests): Remove bug15.
47004 (bug15-ENV): Remove macro.
47005 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
47006 anymore.
47007
d8e272ab
AJ
470082012-05-19 Andreas Jaeger <aj@suse.de>
47009 Roland McGrath <roland@hack.frob.com>
47010
47011 * manual/contrib.texi: Completely rewritten. It contains now an
47012 alphabetical list of contributors and their contributions.
47013
4a56a162
RH
470142012-05-21 Richard Henderson <rth@twiddle.net>
47015
47016 * misc/getauxval.c (__getauxval): Use unsigned long int.
47017 * misc/sys/auxv.h: Include <sys/cdefs.h>.
47018 (getauxval): Use unsigned long int.
47019
d024d23c
L
470202012-05-21 H.J. Lu <hongjiu.lu@intel.com>
47021
47022 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47023
cbc00a03
RM
470242012-05-21 Roland McGrath <roland@hack.frob.com>
47025
47026 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
47027 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
47028 __alignof__ (long double).
47029
478143fa
AZ
470302012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47031
47032 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47033
c7683a6d
RH
470342012-05-20 Richard Henderson <rth@twiddle.net>
47035
47036 * misc/getauxval.c: New file.
47037 * misc/sys/auxv.h: New file.
47038 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
47039 (routines): Add getauxval.
47040 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
47041 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
47042 * elf/dl-sysdep.c (_dl_auxv): Remove.
47043 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
47044 * elf/dl-support.c (_dl_auxv): New variable.
47045 (_dl_aux_init): Initialize it.
47046 * manual/startup.texi (Auxiliary Vector): New node.
47047 * sysdeps/generic/bits/hwcap.h: New file.
47048 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
47049 * sysdeps/powerpc/sysdep.h: ... here. Include it.
47050 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
47051 * sysdeps/sparc/sysdep.h: ... here. Include it.
47052 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
47053 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
47054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47055 Update.
c7683a6d
RH
47056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
47057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
47058 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
47059 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
47060 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47061 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47062 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
47063 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
47064
a6f1845d
AZ
470652012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47066
47067 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47068
cbcbe830
DM
470692012-05-19 David S. Miller <davem@davemloft.net>
47070
47071 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47072
e0b16cc2
JM
470732012-05-19 Joseph Myers <joseph@codesourcery.com>
47074
47075 [BZ #14123]
47076 * math/s_ccosh.c: Include <float.h>
47077 (__ccosh): Avoid internal overflow calculating sinh and cosh
47078 values before multiplying by sin and cos values.
47079 * math/s_ccoshf.c: Likewise.
47080 * math/s_ccoshl.c: Likewise.
47081 * math/s_csin.c: Likewise.
47082 * math/s_csinf.c: Likewise.
47083 * math/s_csinl.c: Likewise.
47084 * math/s_csinh.c: Likewise.
47085 * math/s_csinhf.c: Likewise.
47086 * math/s_csinhl.c: Likewise.
47087 * math/libm-test.inc (ccos_test): Add more tests.
47088 (ccosh_test): Likewise.
47089 (csin_test): Likewise.
47090 (csinh_test): Likewise.
47091 * sysdeps/i386/fpu/libm-test-ulps: Update.
47092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47093
6ad13e08
L
470942012-05-19 H.J. Lu <hongjiu.lu@intel.com>
47095
f66f0ce8
L
47096 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
47097 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
47098
6ad13e08
L
47099 * sysdeps/x86_64/x32/_itoa.h: Add comment.
47100
b1d072a7
JM
471012012-05-19 Joseph Myers <joseph@codesourcery.com>
47102
47103 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
47104 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
47105 * sysdeps/powerpc/soft-fp/Versions: Likewise.
47106 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
47107 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
47108 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
47109 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
47110 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
47111 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
47112 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
47113 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
47114 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
47115 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
47116 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
47117 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
47118 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
47119 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
47120 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
47121 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
47122 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
47123 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
47124 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
47125 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
47126 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
47127 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
47128 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
47129 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
47130 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
47131 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
47132 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
47133 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
47134
9eae47cb
AJ
471352012-05-18 Andreas Jaeger <aj@suse.de>
47136
47137 * csu/.gitignore: Delete.
47138
bb07f69f
L
471392012-05-18 H.J. Lu <hongjiu.lu@intel.com>
47140
47141 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
47142 (timex): Use __syscall_slong_t.
47143
e6bdb741
AJ
471442012-05-18 Andreas Jaeger <aj@suse.de>
47145 Carlos O'Donell <carlos_odonell@mentor.com>
47146
47147 * manual/install.texi (Configuring and compiling): Update
47148 description about files modified in the source directory.
d6c33fda 47149 * INSTALL: Regenerated.
e6bdb741 47150
1b74487e
L
471512012-05-18 H.J. Lu <hongjiu.lu@intel.com>
47152
47153 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
47154 value. Use "or" to set return value to -1.
47155 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
47156 negate return value.
47157
a88b64b9
TMQMF
471582012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47159
57f41c40
AS
47160 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
47161 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
47162 failure if the compiler has Graphite support disabled.
47163 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
47164 Likewise.
57f41c40
AS
47165 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
47166 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
47167 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
47168 Likewise.
47169
3707636e
L
471702012-05-18 H.J. Lu <hongjiu.lu@intel.com>
47171
610b8622
L
47172 * sysdeps/x86_64/x32/_itoa.h: New file.
47173
7cd195df
L
47174 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
47175 getdents system call only if kernel and user dirents have the
47176 same d_ino and d_off.
47177
94b07d20
L
47178 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47179 LLONG_MAX != LONG_MAX.
47180 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47181 (_fitoa_word): Likewise.
47182
18298070
L
47183 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
47184 years.
47185 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
47186 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
47187 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
47188
553c7ea4
L
47189 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
47190 include <bits/wordsize.h>. Check __x86_64__ instead of
47191 __WORDSIZE.
47192 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
47193 if __x86_64__ is defined. Use anonymous union on fpstate.
47194
3707636e
L
47195 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
47196 anonymous union.
47197
b53ef01a
AS
471982012-05-18 Andreas Schwab <schwab@linux-m68k.org>
47199
37fb1dc0
AS
47200 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
47201 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
47202 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
47203 Refer to _rtld_local_ro instead of _rtld_global_ro.
47204 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
47205 Likewise.
47206 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
47207 Likewise.
47208 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
47209 Likewise.
47210 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
47211 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
47212 of _rtld_global, and rtld_progname instead of _dl_argv[0].
47213
b53ef01a
AS
47214 * sysdeps/powerpc/powerpc32/dl-machine.c
47215 (__elf_machine_runtime_setup) [PROF]: Don't reference
47216 _dl_prof_resolve.
47217
7a185db2
AJ
472182012-05-18 Andreas Jaeger <aj@suse.de>
47219
47220 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
47221 function only available for GCCs before 3.4 since GCC 3.4
47222 introduced a builtin.
47223 (lrint): Likewise.
47224 (llrintf): Likewise.
47225 (llrint): Likewise.
47226 (fmaxf): Likewise.
47227 (fmax): Likewise.
47228 (fminf): Likewise.
47229 (fmin): Likewise.
47230 (rint): Likewise.
47231 (rintf): Likewise.
47232 (nearbyint): Likewise.
47233 (nearbyintf): Likewise.
47234 (ceil): Likewise.
47235 (ceilf): Likewise.
47236 (floor): Likewise.
47237 (floorf): Likewise.
47238
3e5aef87
L
472392012-05-17 H.J. Lu <hongjiu.lu@intel.com>
47240
428bd707
L
47241 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
47242 on both fields and cast pointer to __syscall_ulong_t.
47243
3e5aef87
L
47244 * bits/types.h (__fsword_t): New type.
47245 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
47246 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
47247 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47248 (__FSWORD_T_TYPE): Likewise.
47249 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47250 (__FSWORD_T_TYPE): Likewise.
47251 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47252 (__FSWORD_T_TYPE): Likewise.
47253 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
47254 (__FSWORD_T_TYPE): Likewise.
47255 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
47256 __SWORD_TYPE with __fsword_t.
47257 (statfs64): Likewise.
47258
1ba7c3dc
DM
472592012-05-17 David S. Miller <davem@davemloft.net>
47260
47261 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
47262
59910343
AJ
472632012-05-17 Andreas Jaeger <aj@suse.de>
47264
47265 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
47266 warning.
47267
2e4c1e9e
L
472682012-05-17 H.J. Lu <hongjiu.lu@intel.com>
47269
47270 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
47271
de7f5ce7
AJ
472722012-05-17 Andreas Jaeger <aj@suse.de>
47273
47274 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
47275 when it is used.
47276
286abc3d
CM
472772012-05-17 Chris Metcalf <cmetcalf@tilera.com>
47278
47279 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
47280
477cc68e
L
472812012-05-17 H.J. Lu <hongjiu.lu@intel.com>
47282
47283 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
47284 * sysdeps/x86_64/tst-mallocalign1.c: New file.
47285
1a0994f5
CD
472862012-05-17 Andreas Jaeger <aj@suse.de>
47287 Carlos O'Donell <carlos_odonell@mentor.com>
47288
47289 [BZ #14059]
47290 * sysdeps/x86_64/multiarch/init-arch.h
47291 (bit_YMM_Usable): Rename to...
47292 (bit_AVX_Usable): ... this.
47293 (bit_FMA4_Usable): New macro.
47294 (bit_XMM_state): New macro.
47295 (bit_YMM_state): New macro.
47296 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
47297 [__ASSEMBLER__] (index_AVX_Usable): ... this.
47298 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
47299 (CPUID_OSXSAVE): New macro.
47300 (CPUID_AVX): New macro.
47301 (CPUID_FMA4): New macro.
47302 (index_YMM_Usable): Rename to...
47303 (index_AVX_Usable): ... this.
47304 (HAS_AVX): Use HAS_ARCH_FEATURE.
47305 (HAS_FMA4): Likewise.
47306 (HAS_YMM_USABLE): Remove.
47307 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47308 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
47309 are present.
47310 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
47311 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
47312 * sysdeps/x86_64/multiarch/Makefile: Likewise.
47313 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
47314 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
47315
0af797de
CM
473162012-05-17 Chris Metcalf <cmetcalf@tilera.com>
47317
47318 * math/libm-test.c: Support platforms without multiple rounding modes.
47319 * math/bug-nextafter.c: Support platforms without FP exceptions.
47320 * math/bug-nexttoward.c: Likewise.
47321 * math/test-fenv.c: Likewise.
47322 * math/test-misc.c: Likewise.
47323 * stdlib/bug-getcontext.c: Likewise.
47324
e39745ff
AJ
473252012-05-17 Andreas Jaeger <aj@suse.de>
47326
47327 * manual/examples/search.c (critter_cmp): Change signature to
47328 avoid warnings.
47329 * manual/string.texi (Collation Functions): Likewise.
47330
48970aba
L
473312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47332
47333 * bits/types.h: Fold copyright years.
47334 * bits/typesizes.h: Likewise.
47335 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
47336 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
47337 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
47338 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
47339 * time/time.h: Likewise.
47340
bedee953
PP
473412012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
47342
47343 [BZ #208]
47344 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
47345 in instead of returning them. Return void.
47346 (__libc_mallinfo): Accumulate over all arenas.
47347 (__malloc_stats): Adjust for change in int_mallinfo interface.
47348
61653dfb
RM
473492012-05-16 Roland McGrath <roland@hack.frob.com>
47350
30b99d79
RM
47351 [BZ #10375]
47352 * configure.in (NM): Add AC_CHECK_TOOL for it.
47353 (libc_extra_cflags): New substituted variable.
47354 Check for -fstack-protector being used implicitly.
47355 * configure: Regenerated.
47356 * config.make.in (config-extra-cflags): New variable,
47357 gets @libc_extra_cflags@.
47358 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
47359
61653dfb
RM
47360 [BZ #10375]
47361 * configure.in: Check for _FORTIFY_SOURCE being predefined.
47362 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
47363 * configure: Regenerated.
47364 * config.make.in (CPPUNDEFS): New substituted variable.
47365 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
47366 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
47367 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
47368
661768bb
L
473692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47370
47371 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
47372 (mq_attr): Use __syscall_slong_t.
47373
d4261567
L
473742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47375
47376 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
47377 Check __x86_64__ instead of __WORDSIZE.
47378 (_STAT_VER_LINUX): Likewise.
47379 (stat): Check __x86_64__ instead of __WORDSIZE. Use
47380 __syscall_ulong_t and __syscall_slong_t.
47381 (stat64): Likewise.
47382
cf3ff365
L
473832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47384
47385 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
47386
76cf3e4d
L
473872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47388
47389 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
47390
a637753a
L
473912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47392
47393 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
47394 __syscall_ulong_t.
47395
d5e05119
L
47396 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
47397 include <bits/wordsize.h>. Check __x86_64__ instead of
47398 __WORDSIZE.
47399 (greg_t): Use "__extension__ long long int" if __x86_64__ is
47400 defined.
47401 (mcontext_t): Replace "unsigned long" with "unsigned long long".
47402
f62ee380
L
47403 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
47404 include <bits/wordsize.h>. Check __x86_64__ instead of
47405 __WORDSIZE.
47406 (user_regs_struct): Use "__extension__ unsigned long long"
47407 instead of "unsigned long" if __x86_64__ is defined.
47408 (user): Likewise. Pad after pointer field if __ILP32__ is
47409 defined.
47410
4e124ced
JM
474112012-05-16 Joseph Myers <joseph@codesourcery.com>
47412
6a3951a0
JM
47413 * configure.in (makeinfo): Require version 4.5 or later. Allow
47414 versions 5 to 9.
47415 * configure: Regenerated.
47416 * manual/install.texi (texinfo): Increase version requirement to
47417 4.5 or later.
47418 * INSTALL: Regenerated.
47419
4e124ced
JM
47420 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
47421
953ca31a
L
474222012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47423
47424 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
47425
617aca05
L
47426 * sysdeps/x86_64/x32/ffs.c: New file.
47427
5762f7ae
L
47428 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
47429 __syscall_ulong_t.
47430 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
47431 defined. Use __syscall_ulong_t.
47432 (shminfo): Use __syscall_ulong_t.
47433 (shm_info): Likewise.
47434
a26b6856
L
47435 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
47436 __syscall_ulong_t.
47437
cb2b9ef7
L
47438 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
47439 <bits/wordsize.h>.
47440 (msgqnum_t): Use __syscall_ulong_t.
47441 (msglen_t): Likewise.
47442 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
47443 __syscall_ulong_t.
47444
34683bb0
L
47445 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
47446 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
47447
84a68786
L
47448 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
47449
48baa5f1
L
47450 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
47451 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
47452
180be88b
L
47453 * sysvipc/sys/msg.h (msgbuf): Replace long int with
47454 __syscall_slong_t.
47455
5e90c8ad
L
47456 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
47457 include <bits/wordsize.h>. Check __x86_64__ instead of
47458 __WORDSIZE.
47459
23dfb58b
L
47460 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
47461 "unsigned long long int" if __x86_64__ is defined.
47462 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
47463
ce5d54b0
L
47464 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
47465 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
47466 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
47467
13dc9eac
L
47468 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
47469 <stdint.h>.
47470 (GET_PC): Cast to uintptr_t first.
47471 (GET_FRAME): Likewise.
47472 (GET_STACK): Likewise.
47473
a7895d15
L
47474 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
47475 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
47476 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
47477 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
47478 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
47479 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
47480 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
47481 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
47482 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
47483 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
47484 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
47485 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
47486 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47487 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
47488 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
47489 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
47490 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
47491 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
47492 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
47493 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
47494 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
47495 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
47496 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
47497 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
47498 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
47499 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
47500 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
47501 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
47502 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
47503
656416c9
AS
475042012-05-16 Andreas Schwab <schwab@linux-m68k.org>
47505
5bd66283
AS
47506 * Makerules (+depfiles): Also collect depfiles from .oS in
47507 $(extra-objs).
47508 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
47509 .oS, $(libnldbl-routines)).
47510
656416c9
AS
47511 * Makerules (native-compile-mkdep-flags): Define.
47512 * sunrpc/Makefile (extra-objs): Add $(addprefix
47513 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
47514 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
47515 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
47516 calling $(make-target-directory).
47517
a46f2169
L
475182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47519
47520 * bits/types.h (__snseconds_t): Removed.
47521 * time/time.h (struct timespec): Replace __snseconds_t with
47522 __syscall_slong_t.
47523 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
47524 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
47525 Likewise.
47526 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47527 (__SNSECONDS_T_TYPE): Likewise.
47528 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47529 (__SNSECONDS_T_TYPE): Likewise.
47530 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47531 (__SNSECONDS_T_TYPE): Likewise.
47532
6af6528b
L
475332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47534
47535 * sysdeps/mach/hurd/bits/typesizes.h
47536 (__SYSCALL_SLONG_TYPE): New macro.
47537 (__SYSCALL_ULONG_TYPE): Likewise.
47538
de986b56
L
475392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47540
47541 * bits/types.h (__syscall_slong_t): New type.
47542 (__syscall_ulong_t): Likewise.
47543
47544 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
47545 (__SYSCALL_ULONG_TYPE): Likewise.
47546 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47547 (__SYSCALL_SLONG_TYPE): Likewise.
47548 (__SYSCALL_ULONG_TYPE): Likewise.
47549 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47550 (__SYSCALL_SLONG_TYPE): Likewise.
47551 (__SYSCALL_ULONG_TYPE): Likewise.
47552 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47553 (__SYSCALL_SLONG_TYPE): Likewise.
47554 (__SYSCALL_ULONG_TYPE): Likewise.
47555
85736dc7
L
475562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47557
47558 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
47559 Add sigaltstack-offsets.sym.
47560 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
47561 <sigaltstack-offsets.h>.
47562 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
47563 longjmp_msg pointer.
47564 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
47565 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
47566 signal stack.
47567 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
47568
cc03b296
JM
475692012-05-15 Joseph Myers <joseph@codesourcery.com>
47570
a9538892
JM
47571 * elf/stackguard-macros.h: Remove file.
47572 * sysdeps/generic/stackguard-macros.h: New file.
47573 * sysdeps/i386/stackguard-macros.h: Likewise.
47574 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47575 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47576 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47577 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47578 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47579 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47580 * sysdeps/x86_64/stackguard-macros.h: Likewise.
47581 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
47582 <elf/stackguard-macros.h>.
47583
cc03b296
JM
47584 [BZ #14109]
47585 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
47586 __aligned__ in attribute.
47587 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
47588 (gregset_t): Likewise.
47589
93171016
L
475902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47591
47592 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
47593 * sysdeps/x86_64/64/Implies-after: Here. New file.
47594 * sysdeps/x86_64/x32/Implies-after: New file.
47595
d86813a0
L
475962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47597
47598 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
47599 and access return value for _dl_profile_fixup. Use R10_LP to
47600 load frame size.
47601
2953ec75
L
476022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47603
47604 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
47605
3b550e9e
L
476062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47607
47608 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
47609 * sysdeps/x86_64/x32/sysdep.h: New file.
47610
eda41706
L
476112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47612
47613 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
47614 * sysdeps/x86_64/setjmp.S: Likewise.
47615
9ea01d93
AZ
476162012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47617
47618 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
47619 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
47620 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
47621 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
47622 remove unused global constant.
47623
02a91938
CM
476242012-05-15 Chris Metcalf <cmetcalf@tilera.com>
47625
47626 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
47627 include of <not-cancel.h>.
47628
6540185f
RM
476292012-05-15 Roland McGrath <roland@hack.frob.com>
47630
47631 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
47632
509072a0
AJ
476332012-05-15 Jeff Law <law@redhat.com>
47634 Andreas Jaeger <aj@suse.de>
47635
47636 [BZ #13594]
47637 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
47638 out from...
47639 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
47640 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
47641 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
47642 code changing __hst_map_handle.map.
47643
ba75122d
RM
476442012-05-15 Roland McGrath <roland@hack.frob.com>
47645
47646 * configure.in (sysnames): Look for Implies-before and Implies-after
47647 files.
47648 * configure: Regenerated.
47649
890d8bd8
L
476502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47651
47652 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
47653 8-byte data alignment with LP_SIZE alignment.
47654
f6ee6623
L
476552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47656
47657 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
47658 into R10_LP.
47659
ea2626f6
L
476602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47661
47662 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
47663
085f715e
L
476642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47665
47666 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
47667 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
47668 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
47669 Likewise.
47670 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47671
be8498fc
L
476722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47673
47674 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
47675 (stackinfo_sub_sp): Likewise.
47676
70bc83b9
L
476772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47678
47679 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
47680 RAX_LP.
47681
9bc0b730
L
476822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47683
47684 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
47685 into R*_LP.
47686
6d2850e7
L
476872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47688
47689 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
47690 sizes into R*_LP.
47691
3cb84561
L
476922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47693
47694 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
47695
54e2ed81
L
476962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47697
47698 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
47699 into R11_LP and load __x86_64_shared_cache_size_half into
47700 R8_LP.
47701
8a17f349
L
477022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
47703
47704 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
47705 R8_LP.
47706
777b1eea
AZ
477072012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47708
47709 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
47710 logb for POWER7.
47711 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
47712 logbf for POWER7.
47713 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
47714 logbl for POWER7.
47715 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
47716 powerpc32/power7/fpu/s_logb.c via #include.
47717 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
47718 powerpc32/power7/fpu/s_logbf.c via #include.
47719 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
47720 powerpc32/power7/fpu/s_logbl.c via #include.
47721
d20d4ac2
JM
477222012-05-15 Joseph Myers <joseph@codesourcery.com>
47723
47724 * README.libm: Remove file.
47725
6cdef1ab
L
477262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47727
47728 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
47729 count for x32. Use R*_LP and omit operand-size suffix.
47730
0b254d8f
L
477312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47732
47733 * shlib-versions: Move x86_64-.*-linux.* entries to ...
47734 * sysdeps/x86_64/64/shlib-versions: Here. New file.
47735 * sysdeps/x86_64/x32/shlib-versions: New file.
47736
ceb809dc
RM
477372012-05-14 Roland McGrath <roland@hack.frob.com>
47738
47739 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
47740 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
47741 Use _dl_fatal_printf instead.
47742
37f1abd4
JM
477432012-05-14 Joseph Myers <joseph@codesourcery.com>
47744
47745 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
47746 set if not set by the user. Do not allow for being unset.
47747 * sysdeps/unix/sysv/linux/configure: Regenerated.
47748
11de3a33
L
477492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47750
47751 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
47752 the `q' suffix from lea and replace .quad with ASM_ADDR.
47753
e02f153a
L
477542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47755
47756 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
47757 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
47758 instead of $17.
47759 (PTR_DEMANGLE): Likewise.
47760
520ae0fd
L
477612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47762
47763 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
47764 (LP_OP): Likewise.
47765 (ASM_ADDR): Likewise.
47766 (RAX_LP): Likewise.
47767 (RBP_LP): Likewise.
47768 (RBX_LP): Likewise.
47769 (RCX_LP): Likewise.
47770 (RDI_LP): Likewise.
47771 (RSI_LP): Likewise.
47772 (RSP_LP): Likewise.
47773 (R8_LP): Likewise.
47774 (R9_LP): Likewise.
47775 (R10_LP): Likewise.
47776 (R10_LP): Likewise.
47777 (R11_LP): Likewise.
47778 (R12_LP): Likewise.
47779 (R13_LP): Likewise.
47780 (R14_LP): Likewise.
47781 (R15_LP): Likewise.
47782
b985be81
L
477832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47784
47785 * sysdeps/x86_64/x32/dl-machine.h: New file.
47786
6a4888ff
AJ
477872012-05-14 Andreas Jaeger <aj@suse.de>
47788
47789 * manual/Makefile (subdir): Remove export of subdir.
47790 (all): Remove target.
47791 (.PHONY): Remove all from list.
47792 (mkinstalldirs): Remove.
47793 (.PHONY): Remove installdirs from list.
47794 ($(inst_infodir)/libc.info): Use make-target-directory.
47795 (installdirs): Remove.
47796 (subdir_%): Remove.
47797 (glibc-targets): Remove.
47798 (lib): Remove.
47799 (stubs): Remove.
47800 ($(objpfx)stubs ../po/manual.pot): Remove.
47801 ($(objpfx)stamp%): Remove.
47802 (make-target-directory): Remove.
47803 (subdir_install): Remove.
47804 (routines): Remove.
47805 (aux): Remove.
47806 (sources): Remove.
47807 (objects): Remove.
47808 (headers): Remove.
47809
47810 [BZ #13750]
47811 * manual/.gitignore: Remove, it's not needed anymore.
47812 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
47813 all files in it.
47814 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
47815 directory.
47816 (texis): Renamed to $(objpfx)texis.
47817 (texis-path): New, contains path to generated files.
47818 (chapters.%): Use texis-path for complete path, add extra argument
47819 libc-texinfo.sh.
47820 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
47821 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
47822 (summary,texi, stamp-summary): Use complete path of
47823 files. Generate files in build dir.
47824 (dir-add.texi): Build in build dir.
47825 (libm-err.texi,stamp-libm-err): Likewise.
47826 (version.texi, stamp-version): Likewise.
47827 (.%c.texi): Likewise.
47828 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
47829 (mostlyclean): Remove target.
47830 (realclean): Remove target.
47831 (generated): Add new variable with contents from mostlyclean and
47832 realclean, remove entries duplicated in common-mostlyclean, add
47833 stamp-libm-err and stamp-version.
47834 (generated-dirs): Add libc directory.
47835 ($(inst_infodir)/libc.info): Install files from build dir.
47836
47837 * manual/install.texi (Configuring and compiling): Adjust since
47838 the info files are not part of the tar ball anymore.
47839
7ac77294
AJ
478402012-05-14 Andreas Jaeger <aj@suse.de>
47841
47842 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
47843 variable.
47844
ffb7875d
JM
478452012-05-14 Joseph Myers <joseph@codesourcery.com>
47846
47847 [BZ #13717]
47848 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
47849 to 2.2.0 where earlier.
47850 * sysdeps/unix/sysv/linux/configure: Regenerated.
47851 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
47852 Remove conditional code.
47853 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
47854 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
47855 Remove conditional code.
47856 [!__NR_lchown]: Likewise.
47857 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47858 [__NR_lchown]: Likewise.
47859 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
47860 comment referencing __ASSUME_LCHOWN_SYSCALL.
47861 * sysdeps/unix/sysv/linux/i386/sigaction.c
47862 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47863 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47864 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
47865 Remove conditional code.
47866 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
47867 (__protocol_available): Remove #if 0 code.
47868 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
47869 conditional code.
47870 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
47871 * sysdeps/unix/sysv/linux/kernel-features.h
47872 (__ASSUME_GETCWD_SYSCALL): Don't define.
47873 (__ASSUME_REALTIME_SIGNALS): Likewise.
47874 (__ASSUME_PREAD_SYSCALL): Likewise.
47875 (__ASSUME_PWRITE_SYSCALL): Likewise.
47876 (__ASSUME_POLL_SYSCALL): Likewise.
47877 (__ASSUME_LCHOWN_SYSCALL): Likewise.
47878 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
47879 non-SPARC.
47880 (__ASSUME_SIOCGIFNAME): Don't define.
47881 (__ASSUME_MSG_NOSIGNAL): Likewise.
47882 (__ASSUME_SENDFILE): Define unconditionally.
47883 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
47884 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
47885 conditional code.
47886 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
47887 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
47888 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47889 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47890 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
47891 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47892 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
47894 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47895 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
47897 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47898 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
47900 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47901 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
47903 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47904 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
47906 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47907 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
47909 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47910 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
47912 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47913 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
47915 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47916 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47917 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
47918 Remove conditional code.
47919 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47920 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47921 Remove conditional code.
47922 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47923 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
47924 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
47925 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47926 Remove conditional code.
47927 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47928 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
47929 Remove conditional code.
47930 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47931 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
47932 Remove conditional code.
47933 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47934 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47935 Remove conditional code.
47936 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47937 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47938 Remove conditional code.
47939 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47940 * sysdeps/unix/sysv/linux/sh/pwrite64.c
47941 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47942 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47943 * sysdeps/unix/sysv/linux/sigaction.c
47944 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47945 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47946 * sysdeps/unix/sysv/linux/sigpending.c
47947 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47948 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47949 * sysdeps/unix/sysv/linux/sigprocmask.c
47950 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47951 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47952 * sysdeps/unix/sysv/linux/sigsuspend.c
47953 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47954 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47955 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47956 (__libc_missing_rt_sigs): Remove.
47957 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
47958 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
47959 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
47960 Remove conditional code.
47961 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
47962 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
47963 return 1.
47964 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
47965 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
47966 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
47967 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
47968
1bfb7291
AJ
479692012-05-14 Andreas Jaeger <aj@suse.de>
47970
caae5a81
AJ
47971 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
47972 it's not used in glibc.
47973 (__coshm1): Likewise.
47974 (__acosh1p): Likewise.
47975 (__sgn): Likewise.
47976
1bfb7291
AJ
47977 * manual/string.texi (Copying and Concatenation): Add missing
47978 variable in concat example.
47979 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
47980
c044d724
L
479812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47982
144c5467 47983 [BZ #14103]
c044d724
L
47984 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
47985 __builtin_clzl with __builtin_clzll.
47986
2523c62b
L
479872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
47988
47989 [BZ #14104]
47990 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
47991 libc_freeres_ptr.
47992
d7bb4c42
LD
479932012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47994
47995 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
47996 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
47997 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
47998 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
47999
9dc4e1fb
MF
480002012-05-14 Mike Frysinger <vapier@gentoo.org>
48001
48002 * NEWS: Update ia64 info.
48003
c7df0112
AS
480042012-05-12 Andreas Schwab <schwab@linux-m68k.org>
48005
48006 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
48007 used as bcopy.
48008
dc70356c
TS
480092012-05-12 Thomas Schwinge <thomas@codesourcery.com>
48010
48011 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
48012 * sysdeps/unix/syscalls.list (dup3): Likewise.
48013 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
48014 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
48015
9fb1a21f
L
480162012-05-11 H.J. Lu <hongjiu.lu@intel.com>
48017
48018 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
48019 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
48020
4822a2a5
L
480212012-05-11 H.J. Lu <hongjiu.lu@intel.com>
48022
48023 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
48024 thread pointer.
48025 (TLS_IE): Use mov/add instead of movq/addq to load thread
48026 pointer.
48027 (TLS_GD_PREFIX): New.
48028 (TLS_GD): Use it.
48029
842b81d6
DM
480302012-05-11 David S. Miller <davem@davemloft.net>
48031
48032 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
48033 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
48034 (_FPU_SETCW): Likewise.
48035
1cf463cd
L
480362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
48037
48038 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
48039 is 32-byte aligned.
48040
60cc4a18
AS
480412012-05-11 Andreas Schwab <schwab@linux-m68k.org>
48042
48043 [BZ #11837]
48044 * iconvdata/gb18030.c: Update tables.
48045 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
48046 characters specially.
48047 (BODY for TO_LOOP): Add encoding of missing ranges.
48048
febb44a4
TS
480492012-05-11 Thomas Schwinge <thomas@codesourcery.com>
48050
48051 [BZ #13673]
48052 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
48053 * sysdeps/mach/hurd/dup3.c: Likewise.
48054 * sysdeps/mach/hurd/readlinkat.c: Likewise.
48055 * sysdeps/powerpc/memmove.c:: Likewise.
48056
0a10fb9e
L
480572012-05-10 H.J. Lu <hongjiu.lu@intel.com>
48058
48059 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
48060 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
48061
df8a552f
L
480622012-05-10 H.J. Lu <hongjiu.lu@intel.com>
48063
48064 * elf/elf.h (R_X86_64_RELATIVE64): New.
48065 (R_X86_64_NUM): Updated.
48066 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
48067 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
48068 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
48069 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
48070 tst-quad1pie tst-quad2pie
48071 (modules-names): Add tst-quadmod1 tst-quadmod2.
48072 ($(objpfx)tst-quad1): New dependency.
48073 ($(objpfx)tst-quad2): Likewise.
48074 ($(objpfx)tst-quad1pie): Likewise.
48075 ($(objpfx)tst-quad2pie): Likewise.
48076 * sysdeps/x86_64/tst-quad1.c: New file.
48077 * sysdeps/x86_64/tst-quad1pie.c: New file.
48078 * sysdeps/x86_64/tst-quad2.c: Likewise.
48079 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
48080 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
48081 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
48082 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
48083 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
48084
f34d6f84
ST
480852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48086
f42d41d1
ST
48087 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
48088 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
48089 * streams/stropts.h (t_scalar_t): Define type.
48090
3c3571fc
ST
48091 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
48092 (_PATH_PRESERVE): Set to "/var/lib".
48093 (_PATH_RWHODIR): Set to "/var/spool/rwho".
48094
61f06bd3
ST
48095 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
48096 instead of int.
48097
918d4d71
ST
48098 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
48099 if __dir_mkfile succeeded.
48100
f34d6f84
ST
48101 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
48102 checking for _hurd_dtablesize. Unlock it right after having
48103 finished _hurd_dtable allocation.
48104
10589b4a
TS
481052012-05-10 Thomas Schwinge <thomas@schwinge.name>
48106
674cdbc7
TS
48107 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
48108 * sysdeps/mach/hurd/configure: Regenerated.
48109 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
48110 special-casing to...
48111 * sysdeps/gnu/configure.in: ... this new file.
48112 * sysdeps/unix/sysv/linux/configure: Regenerated.
48113 * sysdeps/gnu/configure: New generated file.
48114
8e41b99f
TS
48115 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
48116 for Linux: use nsec instead of usec, as well as:
48117 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
48118 members of type struct timespec.
48119 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
48120 New macros.
48121 (struct stat64): Likewise.
48122 (_STATBUF_ST_NSEC): New macro.
48123 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
48124
10589b4a
TS
48125 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
48126 __strtoul_internal rather than strtoul.
48127
63643c85
PT
481282012-05-10 Pino Toscano <toscano.pino@tiscali.it>
48129
48130 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
48131 and reject them.
48132
3faebe6a
ST
481332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48134
48135 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
48136 which preserves existing values.
48137 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
48138
c6474b07
PT
481392012-05-10 Pino Toscano <toscano.pino@tiscali.it>
48140
48141 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
48142 TIMEOUT values. Return EINVAL for NFDS values either negative or
48143 greater than FD_SETSIZE.
48144
1043890b
ST
481452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48146
48147 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
48148 allocated, call __vm_protect to finish enabling the existing space, and
48149 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
48150 allocate the remainder.
48151
37ed8b9b
PT
481522012-05-10 Pino Toscano <toscano.pino@tiscali.it>
48153
48154 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
48155 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
48156
db653660
ST
481572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48158
37ed8b9b
PT
48159 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
48160 sysdeps/mach/hurd/readlink.c.
b29d4053 48161
db653660
ST
48162 * posix/tst-sysconf.c (posix_options): Only use
48163 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
48164 _POSIX_SYNCHRONIZED_IO when they are defined
48165 * sysdeps/mach/hurd/bits/posix_opt.h:
48166 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
48167 (_XOPEN_REALTIME): Undefine macro.
48168 (_XOPEN_REALTIME_THREADS): Undefine macro.
48169 (_XOPEN_SHM): Undefine macro.
48170 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
48171 macro to -1.
48172 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
48173 macro to -1.
48174 (_POSIX_ASYNC_IO): Undefine macro.
48175 (_POSIX_PRIORITIZED_IO): Undefine macro.
48176 (_POSIX_SPIN_LOCKS): Define macro to -1.
48177
ee16e894
ST
48178 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
48179 SA_NODEFER, SA_RESETHAND.
48180 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
48181 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
48182 F_DUPFD_CLOEXEC.
48183
6103ae3b
TS
481842012-05-10 Thomas Schwinge <thomas@schwinge.name>
48185
48186 * elf/Makefile (pldd-modules): Define unconditionally.
48187
80b4e5f3
TS
481882012-05-10 Thomas Schwinge <thomas@schwinge.name>
48189
48190 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
48191
edadcbd6
ST
481922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48193
48194 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
48195 Return ENOENT when name is empty.
48196 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
48197
80694780
TS
481982012-05-10 Thomas Schwinge <thomas@schwinge.name>
48199
1792c087
TS
48200 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
48201
80694780
TS
48202 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
48203
6b645f0d
ST
482042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48205
80694780
TS
48206 Fix mlock in all cases except non-readable pages.
48207 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
48208 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 48209
6b645f0d
ST
48210 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
48211 (__mkdir): When path is `/', just fail with EEXIST.
48212 * sysdeps/mach/hurd/mkdirat.c: Likewise.
48213
e468f8a3
TS
482142012-05-10 Thomas Schwinge <thomas@schwinge.name>
48215
48216 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
48217 <sys/uio.h> (for writev).
48218 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
48219 and <sys/param.h> (for MIN).
48220
a4186cff
PT
482212012-05-10 Pino Toscano <toscano.pino@tiscali.it>
48222
48223 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
48224 REQUESTED_TIME. Properly set the remaining time and return EINTR
48225 if interrupted.
48226
510bbf14
TS
482272012-05-10 Thomas Schwinge <thomas@schwinge.name>
48228
48229 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
48230 Depend on against $(link-rpcuserlibs).
48231
5d5722e8
ST
482322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48233
a4186cff
PT
48234 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
48235 (__libc_stack_end): Do not use attribute_relro.
48236 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
48237 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 48238 to libthread-provided value.
a4186cff
PT
48239 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
48240 attribute_relro.
5d5722e8 48241
37233df9
TS
482422012-05-10 Thomas Schwinge <thomas@schwinge.name>
48243
be971a2b
TS
48244 [BZ #3748]
48245 * bits/libc-lock.h (__libc_once_get): New macro.
48246 * sysdeps/mach/bits/libc-lock.h: Likewise.
48247 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
48248 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
48249 instead of using implementation details.
48250
37233df9
TS
48251 * libio/fileops.c: Unconditionally include <kernel-features.h>.
48252 * libio/freopen.c: Likewise.
48253 * libio/freopen64.c: Likewise.
48254 * misc/syslog.c: Likewise.
48255 * nscd/connections.c: Likewise.
48256 * nscd/netgroupcache.c: Likewise.
48257 * sysdeps/posix/getcwd.c: Likewise.
48258
38de94a5
RM
482592012-05-10 Roland McGrath <roland@hack.frob.com>
48260
48261 * math/w_ilogbf.c: Add #include <limits.h>.
48262
67530489
ST
482632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48264
a4186cff 48265 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
48266 path instead of returning without unlocking.
48267
67530489
ST
48268 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
48269 immediate-write ioctls.
48270 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
48271
5aa3a74a
TS
482722012-05-10 Thomas Schwinge <thomas@schwinge.name>
48273
18bad2ae
TS
48274 * sysdeps/mach/hurd/i386/init-first.c (init): Use
48275 __builtin_frame_address instead of making assumptions about the
48276 location of the return address relative to DATA. Force early load of
48277 the return address.
48278 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
48279 __builtin_frame_address.
48280
5aa3a74a
TS
48281 dup3 for GNU Hurd.
48282 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
48283 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
48284 implement dup3 and do some further code clean-ups.
48285 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
48286 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
48287
ecd0de9a
ST
482882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48289
cd9fa985
ST
48290 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
48291
a4186cff
PT
48292 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
48293 HURD_CRITICAL_END around holding _hurd_dtable_lock.
48294 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
48295 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
48296 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
48297 d->port.lock.
802ca5a5 48298
a4186cff
PT
48299 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
48300 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
48301 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 48302
bcf55240
TS
483032012-05-10 Thomas Schwinge <thomas@schwinge.name>
48304
6960eb42
TS
48305 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
48306 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
48307 definitions.
48308
eb43375f
TS
48309 accept4 for GNU Hurd.
48310 * include/sys/socket.h (__libc_accept4): New prototype.
48311 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
48312 to implement __libc_accept4.
48313 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
48314 __libc_accept4.
48315 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
48316
bcf55240
TS
48317 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
48318 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
48319 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
48320 signal-defines.sym.
48321
6178c55b
ST
483222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48323
a4186cff 48324 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 48325
6f080c2f
TS
483262012-05-10 Thomas Schwinge <thomas@schwinge.name>
48327
48328 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
48329 assertion on O_CLOEXEC flag.
48330 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
48331 * hurd/intern-fd.c: Likewise.
48332 * hurd/port2fd.c: Likewise.
48333
bcfe3a54
ST
483342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48335
48336 [BZ #3906]
48337 * bits/in.h (IPV6_PKTINFO): Define new macro.
48338 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
48339
89c9aa49
AZ
483402012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48341
48342 [BZ #13954]
48343 [BZ #13955]
48344 [BZ #13956]
48345 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
48346 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48347 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
48348 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48349 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48350 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48351 * math/libm-test.inc (logb_test) : Additional logb tests.
48352
021db4be
AJ
483532012-05-09 Andreas Schwab <schwab@linux-m68k.org>
48354 Andreas Jaeger <aj@suse.de>
48355
48356 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
48357 * configure: Regenerated.
48358 * config.h.in (LINK_OBSOLETE_RPC): New macro.
48359 * config.make.in (link-obsolete-rpc): New substituted variable.
48360 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
48361 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
48362 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48363 (shared-only-routines): Don't set it under [link-obsolete-rpc],
48364 so that libc.a contains the symbols.
48365 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48366 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
48367 * sunrpc/auth_none.c: Likewise.
48368 * sunrpc/auth_unix.c: Likewise.
48369 * sunrpc/authdes_prot.c: Likewise.
48370 * sunrpc/authuxprot.c: Likewise.
48371 * sunrpc/clnt_gen.c: Likewise.
48372 * sunrpc/clnt_perr.c: Likewise.
48373 * sunrpc/clnt_raw.c: Likewise.
48374 * sunrpc/clnt_simp.c: Likewise.
48375 * sunrpc/clnt_tcp.c: Likewise.
48376 * sunrpc/clnt_udp.c: Likewise.
48377 * sunrpc/clnt_unix.c: Likewise.
48378 * sunrpc/des_crypt.c: Likewise.
48379 * sunrpc/des_soft.c: Likewise.
48380 * sunrpc/get_myaddr.c: Likewise.
48381 * sunrpc/key_call.c: Likewise.
48382 * sunrpc/key_prot.c: Likewise.
48383 * sunrpc/netname.c: Likewise.
48384 * sunrpc/pm_getmaps.c: Likewise.
48385 * sunrpc/pm_getport.c: Likewise.
48386 * sunrpc/pmap_clnt.c: Likewise.
48387 * sunrpc/pmap_prot.c: Likewise.
48388 * sunrpc/pmap_prot2.c: Likewise.
48389 * sunrpc/pmap_rmt.c: Likewise.
48390 * sunrpc/publickey.c: Likewise.
48391 * sunrpc/rpc_cmsg.c: Likewise.
48392 * sunrpc/rpc_common.c: Likewise.
48393 * sunrpc/rpc_dtable.c: Likewise.
48394 * sunrpc/rpc_prot.c: Likewise.
48395 * sunrpc/rpc_thread.c: Likewise.
48396 * sunrpc/rtime.c: Likewise.
48397 * sunrpc/svc.c: Likewise.
48398 * sunrpc/svc_auth.c: Likewise.
48399 * sunrpc/svc_raw.c: Likewise.
48400 * sunrpc/svc_run.c: Likewise.
48401 * sunrpc/svc_tcp.c: Likewise.
48402 * sunrpc/svc_udp.c: Likewise.
48403 * sunrpc/svc_unix.c: Likewise.
48404 * sunrpc/svcauth_des.c: Likewise.
48405 * sunrpc/xcrypt.c: Likewise.
48406 * sunrpc/xdr.c: Likewise.
48407 * sunrpc/xdr_array.c: Likewise.
48408 * sunrpc/xdr_float.c: Likewise.
48409 * sunrpc/xdr_intXX_t.c: Likewise.
48410 * sunrpc/xdr_mem.c: Likewise.
48411 * sunrpc/xdr_rec.c: Likewise.
48412 * sunrpc/xdr_ref.c: Likewise.
48413 * sunrpc/xdr_sizeof.c: Likewise.
48414 * sunrpc/xdr_stdio.c: Likewise.
48415
b5c086a2
RM
484162012-05-10 Roland McGrath <roland@hack.frob.com>
48417
48418 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
48419 change. Update copyright years.
48420
6d74dd09
JM
484212012-05-10 Joseph Myers <joseph@codesourcery.com>
48422
48423 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
48424
28e72501
MK
484252012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
48426 Joseph Myers <joseph@codesourcery.com>
48427 Paul Pluzhnikov <ppluzhnikov@google.com>
48428
48429 [BZ #14012]
48430 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
48431 requiring rpcgen.
48432 [cross-compiling] (extra-libs): Likewise.
48433 [cross-compiling] (extra-libs-others): Likewise.
48434 [cross-compiling] (librpcsvc-routines): Likewise.
48435 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
48436 [cross-compiling] (omit-deps): Likewise.
48437 (sunrpc-CPPFLAGS): New variable.
48438 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
48439 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
48440 (cross-rpcgen-objs): New variable.
48441 (extra-objs): Append $(cross-rpcgen-objs).
48442 ($(cross-rpcgen-objs)): New rule.
48443 ($(objpfx)cross-rpcgen): Likewise.
48444 (rpcgen-cmd): Define to use $(built-program-file). Expand
48445 comment.
48446 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
48447 ($(objpfx)x%.stmp): Likewise.
48448 * sunrpc/proto.h [IS_IN_build] (_): Define.
48449 [IS_IN_build] (_libc_intl_domainname): Likewise.
48450
c8c59454
L
484512012-05-10 H.J. Lu <hongjiu.lu@intel.com>
48452
48453 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
48454 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
48455 and R_X86_64_TPOFF64.
48456
6f27cd16
JM
484572012-05-10 Joseph Myers <joseph@codesourcery.com>
48458
48459 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
48460 sysdeps/unix/sysv/syscalls.list.
48461 (stime): Likewise.
48462 (utime): Likewise.
48463 * sysdeps/unix/sysv/syscalls.list: Remove file.
48464
02467e1c
PE
484652012-05-10 Paul Eggert <eggert@cs.ucla.edu>
48466
48467 [BZ #3440]
48468 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
48469 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
48470 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
48471 (__LC_IDENTIFICATION): Make these macros useful in #if
48472 expressions, as required by C99.
48473
da392631
AS
484742012-05-10 Andreas Schwab <schwab@linux-m68k.org>
48475
48476 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
48477 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
48478 after this.
48479
8115f29b
L
484802012-05-09 H.J. Lu <hongjiu.lu@intel.com>
48481
48482 * stdlib/longlong.h: Updated from GCC.
48483
bdd74070
AJ
484842012-05-09 Andreas Jaeger <aj@suse.de>
48485
edfe0dbe
AJ
48486 * nscd/nscd.c (run_modes): Make named enum, reorder so that
48487 default is first entry.
48488 (run_mode): Set type.
48489 (main): Remove informal message about syslog.
48490 (options): Fix typo.
48491
bcfe3a54
ST
48492 [BZ #14053]
48493 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 48494 to asm.
bcfe3a54
ST
48495 (lrint): Likewise.
48496 (llrintf): Likewise.
48497 (llrint): Likewise.
48498 (rint): Likewise.
48499 (rintf): Likewise.
48500 (nearbyint): Likewise.
48501 (nearbyintf): Likewise.
bdd74070 48502
91d8d69e
AJ
485032012-05-09 Andreas Jaeger <aj@suse.de>
48504 Pedro Alves <palves@redhat.com>
48505
48506 * nscd/nscd.c (run_mode): Use enum.
48507 (main): Cleanup coding style issue.
48508
bb90b80b
AJ
485092012-05-09 Alexandre Oliva <aoliva@redhat.com>
48510 Andreas Jaeger <aj@suse.de>
48511
bcfe3a54
ST
48512 * nscd/nscd.c (go_background): Replaced with...
48513 (run_mode): ... this.
bb90b80b 48514 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
48515 (options): Add -F --foreground.
48516 (main): Implement it.
48517 (parse_opt): Parse it.
bb90b80b 48518
1a4b75a1
AJ
485192012-05-09 Andreas Jaeger <aj@suse.de>
48520
48521 [BZ #14083]
48522 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
48523 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
48524 -Wconversion warning.
48525 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
48526 Likewise.
48527
b1cc2472
JM
485282012-05-09 Joseph Myers <joseph@codesourcery.com>
48529
48530 * conform/data/locale.h-data (NULL): Use macro-constant. Require
48531 == 0.
48532 (LC_ALL): Use macro-int-constant.
48533 (LC_COLLATE): Likewise.
48534 (LC_CTYPE): Likewise.
48535 (LC_MESSAGES): Likewise.
48536 (LC_MONETARY): Likewise.
48537 (LC_NUMERIC): Likewise.
48538 (LC_TIME): Likewise.
48539 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
48540 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48541 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48542 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
48543 Specify type.
48544 [C99-based standards] (float_t): Expect type.
48545 [C99-based standards] (double_t): Expect type.
48546 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
48547 type.
48548 [C99-based standards] (HUGE_VALL): Likewise.
48549 [C99-based standards] (INFINITY): Likewise.
48550 [C99-based standards] (NAN): Likewise.
48551 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
48552 [C99-based standards] (FP_NAN): Likewise.
48553 [C99-based standards] (FP_NORMAL): Likewise.
48554 [C99-based standards] (FP_SUBNORMAL): Likewise.
48555 [C99-based standards] (FP_ZERO): Likewise.
48556 [C99-based standards] (FP_FAST_FMA): Use
48557 optional-macro-int-constant. Specify type. Require == 1.
48558 [C99-based standards] (FP_FAST_FMAF): Likewise.
48559 [C99-based standards] (FP_FAST_FMAL): Likewise.
48560 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
48561 [C99-based standards] (FP_ILOGBNAN): Likewise.
48562 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
48563 Specify type.
48564 [C99-based standards] (MATH_ERREXCEPT): Likewise.
48565 [C99-based standards] (math_errhandling): Specify type.
48566 [ISO99 || ISO11] (signgam): Do not allow.
48567 [non-C99-based standards] (copysignf): Do not allow.
48568 [non-C99-based standards] (exp2f): Likewise.
48569 [non-C99-based standards] (log2f): Likewise.
48570 [non-C99-based standards] (modff): Allow.
48571 [non-C99-based standards] (erff): Do not allow.
48572 [non-C99-based standards] (erfcf): Likewise.
48573 [non-C99-based standards] (gammaf): Likewise.
48574 [non-C99-based standards] (hypotf): Likewise.
48575 [non-C99-based standards] (j0f): Likewise.
48576 [non-C99-based standards] (j1f): Likewise.
48577 [non-C99-based standards] (jnf): Likewise.
48578 [non-C99-based standards] (lgammaf): Likewise.
48579 [non-C99-based standards] (tgammaf): Likewise.
48580 [non-C99-based standards] (y0f): Likewise.
48581 [non-C99-based standards] (y1f): Likewise.
48582 [non-C99-based standards] (ynf): Likewise.
48583 [non-C99-based standards] (isnanf): Likewise.
48584 [non-C99-based standards] (acoshf): Likewise.
48585 [non-C99-based standards] (asinhf): Likewise.
48586 [non-C99-based standards] (atanhf): Likewise.
48587 [non-C99-based standards] (cbrtf): Likewise.
48588 [non-C99-based standards] (expm1f): Likewise.
48589 [non-C99-based standards] (ilogbf): Likewise.
48590 [non-C99-based standards] (log1pf): Likewise.
48591 [non-C99-based standards] (logbf): Likewise.
48592 [non-C99-based standards] (nextafterf): Likewise.
48593 [non-C99-based standards] (remainderf): Likewise.
48594 [non-C99-based standards] (rintf): Likewise.
48595 [non-C99-based standards] (scalbf): Likewise.
48596 [non-C99-based standards] (copysignl): Likewise.
48597 [non-C99-based standards] (exp2l): Likewise.
48598 [non-C99-based standards] (log2l): Likewise.
48599 [non-C99-based standards] (modfl): Allow.
48600 [non-C99-based standards] (erfl): Do not allow.
48601 [non-C99-based standards] (erfcl): Likewise.
48602 [non-C99-based standards] (gammal): Likewise.
48603 [non-C99-based standards] (hypotl): Likewise.
48604 [non-C99-based standards] (j0l): Likewise.
48605 [non-C99-based standards] (j1l): Likewise.
48606 [non-C99-based standards] (jnl): Likewise.
48607 [non-C99-based standards] (lgammal): Likewise.
48608 [non-C99-based standards] (tgammal): Likewise.
48609 [non-C99-based standards] (y0l): Likewise.
48610 [non-C99-based standards] (y1l): Likewise.
48611 [non-C99-based standards] (ynl): Likewise.
48612 [non-C99-based standards] (isnanl): Likewise.
48613 [non-C99-based standards] (acoshl): Likewise.
48614 [non-C99-based standards] (asinhl): Likewise.
48615 [non-C99-based standards] (atanhl): Likewise.
48616 [non-C99-based standards] (cbrtl): Likewise.
48617 [non-C99-based standards] (expm1l): Likewise.
48618 [non-C99-based standards] (ilogbl): Likewise.
48619 [non-C99-based standards] (log1pl): Likewise.
48620 [non-C99-based standards] (logbl): Likewise.
48621 [non-C99-based standards] (nextafterl): Likewise.
48622 [non-C99-based standards] (remainderl): Likewise.
48623 [non-C99-based standards] (rintl): Likewise.
48624 [non-C99-based standards] (scalbl): Likewise.
48625 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48626 [non-C99-based standards] (FP_*): Do not allow.
48627 [C99-based standards] (FP_*): Change to
48628 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48629 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48630 allow.
48631 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
48632 (SIG_ERR): Likewise.
48633 [X/Open-based standards] (SIG_HOLD): Likewise.
48634 (SIG_IGN): Likewise.
48635 (SIGABRT): Use macro-int-constant. Specify type. Require
48636 positive value.
48637 (SIGFPE): Likewise.
48638 (SIGILL): Likewise.
48639 (SIGINT): Likewise.
48640 (SIGSEGV): Likewise.
48641 (SIGTER): Likewise.
48642 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
48643 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
48644 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
48645 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
48646 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
48647 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
48648 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
48649 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
48650 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
48651 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
48652 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
48653 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
48654 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
48655 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
48656 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
48657 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
48658 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
48659 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
48660 [X/Open-based standards] (SIGTRAP): Likewise.
48661 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
48662 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
48663 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
48664 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
48665 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48666 allow.
48667
b9f1922d
IW
486682012-05-08 Ian Wienand <ianw@vmware.com>
48669
48670 [BZ #14080]
48671 * time/tzset.c (__tzset_parse_tz): Update default rules for
48672 daylight time changes in the Energy Policy Act of 2005.
48673
1db86e88
AJ
486742012-05-09 Andreas Jaeger <aj@suse.de>
48675
48676 [BZ #13983]
48677 * elf/ldconfig.c (parse_conf): Change string to make clear that
48678 ldconfig only issued a warning if ld.so.conf does not exist.
48679
dee4a4e3
DM
486802012-05-08 David S. Miller <davem@davemloft.net>
48681
ee0db190
DM
48682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
48683 movxtod instead of popping the value on the stack.
48684
dee4a4e3
DM
48685 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48686
6a43ec98
CD
486872012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
48688
48689 * config.h.in: Add HAVE_ARM_PCS_VFP.
48690
05c2c961
RMG
486912012-05-08 Roland Mc Grath <roland@hack.frob.com>
48692
bcfe3a54
ST
48693 [BZ #13979]
48694 * include/features.h: Warn if user requests __FORTIFY_SOURCE
48695 checking but the checks are disabled for any reason.
05c2c961 48696
4b30f61a
L
486972012-05-08 H.J. Lu <hongjiu.lu@intel.com>
48698
48699 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
48700 and ELF64_R_TYPE with ELFW(R_TYPE).
48701
eee2bc67
JM
487022012-05-08 Joseph Myers <joseph@codesourcery.com>
48703
7ea5391a
JM
48704 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
48705 (ulimit): Likewise.
48706
eee2bc67
JM
48707 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
48708 (settimeofday): Likewise.
48709
abb66a67
MF
487102012-05-08 Mike Frysinger <vapier@gentoo.org>
48711
48712 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
48713 a struct th_u2 inside the union, and move tu_block/tu_code into
48714 a new th_u3 union of tu_block/tu_code inside of that. Move
48715 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
48716 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
48717 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
48718 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
48719 (th_stuff): Change to th_u1.tu_stuff.
48720 (th_data): Define.
48721 (th_msg): Change to th_u1.th_u2.tu_data.
48722
7f18b530
DM
487232012-05-07 David S. Miller <davem@davemloft.net>
48724
05760585
DM
48725 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48726
7f18b530
DM
48727 [BZ #14074]
48728 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
48729 (SETUP_PIC_REG): Use it.
48730 (SETUP_PIC_REG_LEAF): Use it.
48731
495fd99f
JM
487322012-05-07 Joseph Myers <joseph@codesourcery.com>
48733
48734 [BZ #13885]
48735 [BZ #13923]
48736 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48737 USE_AS_EXPM1L.
48738 (EXPL_FINITE): Likewise.
48739 (FLDLOG): Likewise.
48740 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48741 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48742 e_expl.S.
48743 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48744 USE_AS_EXPM1L.
48745 (EXPL_FINITE): Likewise.
48746 (FLDLOG): Likewise.
48747 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48748 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48749 e_expl.S.
48750 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
48751 test of -max_value argument for long double.
48752 * sysdeps/i386/fpu/libm-test-ulps: Update.
48753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48754
6693d694
DM
487552012-05-06 David S. Miller <davem@davemloft.net>
48756
48757 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
48758 quad soft-float symbols whose references which are compiler
48759 generated.
48760 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48761
6c23e11c
JM
487622012-05-06 Joseph Myers <joseph@codesourcery.com>
48763
d8b82cad
JM
48764 [BZ #13884]
48765 [BZ #13914]
48766 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48767 USE_AS_EXP10L.
48768 (EXPL_FINITE): Likewise.
48769 (FLDLOG): Likewise.
48770 (c0): Likewise.
48771 (c1): Likewise.
48772 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
48773 Adjust comments for base varying.
48774 (__expl_finite): Change alias to EXPL_FINITE.
48775 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
48776 e_expl.S.
48777 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
48778 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
48779 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
48780 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
48781 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48782 USE_AS_EXP10L.
48783 (EXPL_FINITE): Likewise.
48784 (FLDLOG): Likewise.
48785 (c0): Likewise.
48786 (c1): Likewise.
48787 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
48788 Adjust comments for base varying.
48789 (__expl_finite): Change alias to EXPL_FINITE.
48790 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
48791 tests for bugs.
48792 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48793
6c23e11c
JM
48794 [BZ #14064]
48795 * math/libm-test.inc (check_float_internal): Correct ulp
48796 calculation for subnormal expected results.
48797
29ba805c
AJ
487982012-05-06 Andreas Jaeger <aj@suse.de>
48799
48800 * Makeconfig (+math-flags): New, set to -frounding-math.
48801 (+cflags): Add +math-flags so that all of glibc gets compiled with
48802 it.
48803
48804 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
48805
7b17aeda
JM
488062012-05-05 Joseph Myers <joseph@codesourcery.com>
48807
5779f134
JM
48808 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
48809 Disable one test.
48810
41498f4d
JM
48811 [BZ #13787]
48812 [BZ #13922]
48813 [BZ #14036]
48814 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
48815 (__ieee754_expl): Allow for and saturate large arguments.
48816 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
48817 (u_threshold): Likewise.
48818 (__exp): Call __ieee754_exp before checking for overflow and
48819 underflow.
48820 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
48821 (u_threshold): Likewise.
48822 (__expf): Call __ieee754_expf before checking for overflow and
48823 underflow.
48824 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
48825 (u_threshold): Likewise.
48826 (__expl): Call __ieee754_expl before checking for overflow and
48827 underflow.
48828 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
48829 (__ieee754_expl): Allow for and saturate large arguments.
48830 * math/libm-test.inc (exp_test): Add another test. Do not allow
48831 missing overflow exception on overflow.
48832 (expm1_test): Do not allow missing overflow exception on overflow.
48833
6698b8bf
JM
48834 * sysdeps/i386/fpu/e_expl.c: Move to ...
48835 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
48836 rather than using inline asm.
48837 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
48838 * sysdeps/x86_64/fpu/e_expl.S: Copy from
48839 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
48840
7b17aeda
JM
48841 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
48842 (nice): Likewise.
48843 (poll): Likewise.
48844 (signal): Likewise.
48845 (time): Likewise.
48846 (times): Likewise.
48847
f7c85819
JM
488482012-05-04 Joseph Myers <joseph@codesourcery.com>
48849
48850 * sysdeps/unix/syscalls.list (adjtime): Add entry from
48851 sysdeps/unix/common/syscalls.list.
48852 (fchmod): Likewise.
48853 (fchown): Likewise.
48854 (ftruncate): Likewise.
48855 (getrusage): Likewise.
48856 (gettimeofday): Likewise.
48857 (setpgid): Likewise.
48858 (setregid): Likewise.
48859 (setreuid): Likewise.
48860 (sigaction): Likewise.
48861 (truncate): Likewise.
48862 (vhangup): Likewise.
48863 * sysdeps/unix/common/syscalls.list: Remove file.
48864 * sysdeps/unix/bsd/Implies: Don't include unix/common.
48865 * sysdeps/unix/sysv/linux/Implies: Likewise.
48866
336270d0
L
488672012-05-04 H.J. Lu <hongjiu.lu@intel.com>
48868
48869 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
48870 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
48871 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
48872 Moved to ...
48873 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
48874 Here.
48875 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
48876 to ...
48877 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
48878 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
48879 to ...
48880 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
48881 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
48882 to ...
48883 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
48884 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
48885 to ...
48886 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
48887 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
48888 to ...
48889 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
48890 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
48891 to ...
48892 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
48893 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
48894 to ...
48895 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
48896 Here.
48897 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
48898 to ...
48899 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
48900 Here.
48901 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
48902 to ...
48903 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
48904 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
48905 Moved to ...
48906 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
48907 Here.
48908 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
48909 to ...
48910 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
48911
d128e450
JM
489122012-05-04 Joseph Myers <joseph@codesourcery.com>
48913
fa8ee516
JM
48914 * sysdeps/unix/common/bits/dirent.h: Remove file.
48915 * sysdeps/unix/common/bits/fcntl.h: Likewise.
48916
d128e450
JM
48917 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
48918 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
48919 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
48920 * sysdeps/unix/bsd/isatty.c: Likewise.
48921 * sysdeps/unix/bsd/tcdrain.c: Likewise.
48922 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
48923 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
48924
ff8faaf0 489252012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 48926
62881be4 48927 [BZ #13563]
31dc8730
AZ
48928 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
48929 long double comparison inaccuracies.
48930 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
48931 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48932
6fef930c
AS
489332012-05-04 Andreas Schwab <schwab@linux-m68k.org>
48934
48935 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
48936 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
48937
8f203e6c
JM
489382012-05-04 Joseph Myers <joseph@codesourcery.com>
48939
48940 [BZ #14049]
48941 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
48942 nonzero digits before rounding a hex value.
48943 * stdlib/tst-strtod.c (tests): Add another test.
48944
5197d9c2
AK
489452012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48946
48947 * sysdeps/s390/fpu/libm-test-ulps: Update.
48948
f0c1dedf
AJ
489492012-05-03 Andreas Jaeger <aj@suse.de>
48950
48951 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
48952 does not get optimized out.
48953 (malloc_opt_barrier): New.
48954
a65ef2ae 489552012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 48956 Roland McGrath <roland@hack.frob.com>
a65ef2ae 48957
2b942cb7 48958 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 48959 intermediate file deletion.
2b942cb7 48960 (generated): Add .symlist files.
a65ef2ae 48961
54b71e02
JM
489622012-05-03 Joseph Myers <joseph@codesourcery.com>
48963
48964 [BZ #13775]
48965 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
48966 Redirect under this condition.
48967 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48968 [__USE_GNU] (__dprintf_chk): Not under this condition.
48969 [__USE_GNU] (__vdprintf_chk): Likewise.
48970 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
48971 under this condition.
48972 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48973 [__USE_XOPEN2K8] (dprintf): Define under this condition.
48974 [__USE_XOPEN2K8] (vdprintf): Likewise.
48975 [__USE_GNU] (__dprintf_chk): Not under this condition.
48976 [__USE_GNU] (__vdprintf_chk): Likewise.
48977 [__USE_GNU] (dprintf): Likewise.
48978 [__USE_GNU] (vdprintf): Likewise.
48979
d3dfcc41
RM
489802012-05-03 Roland McGrath <roland@hack.frob.com>
48981
48982 * elf/Makefile (common-generated): Set this instead of generated for
48983 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
48984 $(all-built-dso)-derived lists.
48985
7ac30cc5
AJ
489862012-05-03 Andreas Jaeger <aj@suse.de>
48987
0c51e550
AJ
48988 * sysdeps/i386/fpu/libm-test-ulps: Update.
48989
7ac30cc5
AJ
48990 * FAQ: Removed.
48991 * FAQ.in: Likewise.
48992 * scripts/gen-FAQ.pl: Likewise.
48993 * manual/install.texi (Installation): Point to online location of
48994 FAQ.
48995 * Makefile (files-for-dist): Remove FAQ.
48996 (FAQ): Remove.
48997
d4c2917f
AM
489982012-05-02 Allan McRae <allan@archlinux.org>
48999
49000 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
49001 (LDFLAGS-reldepmod5.so): Likewise.
49002 (LDFLAGS-reldep6mod1.so): Likewise.
49003 (LDFLAGS-reldep6mod4.so): Likewise.
49004 (LDFLAGS-reldep8mod3.so): Likewise.
49005 (LDFLAGS-unload4mod1.so): Likewise.
49006 (LDFLAGS-unload4mod2.so): Likewise.
49007 (LDFLAGS-tst-initorder): Likewise.
49008 (LDFLAGS-tst-initordera2.so): Likewise.
49009 (LDFLAGS-tst-initordera3.so): Likewise.
49010 (LDFLAGS-tst-initordera4.so): Likewise.
49011 (LDFLAGS-tst-initorderb2.so): Likewise.
49012 (LDFLAGS-noload): Likewise.
49013 (LDFLAGS-next): Likewise.
49014 (LDFLAGS-order2mod1.so): Likewise.
49015 (LDFLAGS-order2mod2.so): Likewise.
49016 (LDFLAGS-tst-initorder2): Likewise.
49017 (LDFLAGS-tst-initorder2a.so): Likewise.
49018 (LDFLAGS-tst-initorder2b.so): Likewise.
49019 (LDFLAGS-tst-initorder2c.so): Likewise.
49020 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
49021
d77f993f
DM
490222012-05-02 David S. Miller <davem@davemloft.net>
49023
49024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49025
171a70b4
PP
490262012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
49027
49028 [BZ #14055]
49029 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
49030
0be196ad
AJ
490312012-05-02 Andreas Jaeger <aj@suse.de>
49032
49033 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
49034 since we manipulate rounding mode.
49035 (CPPFLAGS-test-idouble.c): Likewise.
49036 (CPPFLAGS-test-ifloat.c): Likewise.
49037 (CFLAGS-test-ldouble.c): Likewise.
49038 (CFLAGS-test-double.c): Likewise.
49039 (CFLAGS-test-float.c): Likewise.
49040 (CFLAGS-test-misc.c): Likewise.
49041 (CFLAGS-test-test-fenv.c): Likewise.
49042
4f9d04aa
AZ
490432012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49044
2b942cb7
RM
49045 [BZ #2550]
49046 [BZ #2570]
49047 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
49048 comparisons to determine direction to adjust input.
4f9d04aa 49049
82a79e7d
RM
490502012-05-01 Roland McGrath <roland@hack.frob.com>
49051
f5a01ca9
RM
49052 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
49053 output to the target.
49054
90fe4186
RM
49055 * scripts/localplt.awk: New file.
49056 * elf/Makefile ($(objpfx)check-localplt): Target removed.
49057 (check-localplt-CFLAGS): Variable removed.
49058 ($(all-built-dso:=.jmprel)): New static pattern rule.
49059 (generated): Add those targets.
49060 (localplt-built-dso): New variable.
49061 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
49062
49063 * elf/check-localplt.c: File removed.
49064
82397ed6
RM
49065 * scripts/check-execstack.awk: New file.
49066 * elf/Makefile ($(objpfx)check-execstack): Target removed.
49067 (check-execstack-CFLAGS): Variable removed.
49068 ($(objpfx)check-execstack.h): Target removed.
49069 ($(objpfx)execstack-default): New target.
49070 (generated): Add that instead of check-execstack.h.
49071 ($(all-built-dso:=.phdr)): New static pattern rule.
49072 (generated): Add those targets.
49073 * elf/check-execstack.c: File removed.
49074
82a79e7d
RM
49075 * scripts/check-textrel.awk: New file.
49076 * elf/Makefile ($(objpfx)check-textrel): Target removed.
49077 (check-textrel-CFLAGS): Variable removed.
49078 (all-built-dso): Use := to define.o
49079 ($(all-built-dso:=.dyn)): New static pattern rule.
49080 (generated): Add those targets.
49081 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
49082 * config.make.in (READELF): New substituted variable.
49083 * elf/check-textrel.c: File removed.
49084
62fde54f 490852012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 49086
615605c9
JM
49087 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49088 allow.
49089 * conform/data/ctype.h-data [C99-based standards] (isblank):
49090 Expect function.
49091 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
49092 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
49093 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49094 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
49095 Specify type. Require positive value.
49096 (EILSEQ): Likewise.
49097 (ERANGE): Likewise.
49098 [ISO || POSIX] (EILSEQ): Do not expect.
49099 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
49100 Specify type. Require positive value.
49101 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
49102 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
49103 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
49104 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
49105 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
49106 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
49107 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
49108 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
49109 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
49110 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
49111 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
49112 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
49113 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
49114 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
49115 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
49116 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
49117 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
49118 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
49119 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
49120 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
49121 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
49122 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
49123 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
49124 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
49125 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
49126 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
49127 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
49128 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
49129 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
49130 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
49131 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
49132 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
49133 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
49134 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
49135 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
49136 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
49137 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
49138 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
49139 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
49140 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
49141 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
49142 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
49143 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
49144 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
49145 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
49146 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
49147 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
49148 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
49149 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
49150 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
49151 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
49152 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
49153 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
49154 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
49155 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
49156 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
49157 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
49158 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
49159 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
49160 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
49161 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
49162 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
49163 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
49164 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
49165 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
49166 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
49167 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
49168 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
49169 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
49170 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
49171 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
49172 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
49173 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
49174 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
49175 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
49176 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
49177 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
49178 Require >= 2.
49179 (FLT_ROUNDS): Expect as macro, not constant.
49180 (FLT_MANT_DIG): Use macro-int-constant.
49181 (DBL_MANT_DIG): Likewise.
49182 (LDBL_MANT_DIG): Likewise.
49183 (FLT_DIG): Likewise.
49184 (DBL_DIG): Likewise.
49185 (LDBL_DIG): Likewise.
49186 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
49187 (DBL_MIN_EXP): Likewise.
49188 (LDBL_MIN_EXP): Likewise.
49189 (FLT_MAX_EXP): Use macro-int-constant.
49190 (DBL_MAX_EXP): Likewise.
49191 (LDBL_MAX_EXP): Likewise.
49192 (FLT_MAX_10_EXP): Likewise.
49193 (DBL_MAX_10_EXP): Likewise.
49194 (LDBL_MAX_10_EXP): Likewise.
49195 (FLT_MAX): Use macro-constant.
49196 (DBL_MAX): Likewise.
49197 (LDBL_MAX): Likewise.
49198 (FLT_EPSILON): Use macro-constant. Give upper bound.
49199 (DBL_EPSILON): Likewise.
49200 (LDBL_EPSILON): Likewise.
49201 (FLT_MIN): Likewise.
49202 (DBL_MIN): Likewise.
49203 (LDBL_MIN): Likewise.
49204 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
49205 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
49206 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
49207 [ISO11] (FLT_HAS_SUBNORM): Likewise.
49208 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
49209 [ISO11] (DBL_DECIMAL_DIG): Likewise.
49210 [ISO11] (FLT_DECIMAL_DIG): Likewise.
49211 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
49212 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
49213 [ISO11] (FLT_TRUE_MIN): Likewise.
49214 [ISO11] (LDBL_TRUE_MIN): Likewise.
49215 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49216 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
49217 (SCHAR_MIN): Use macro-int-constant. Specify type.
49218 (SCHAR_MAX): Likewise.
49219 (UCHAR_MAX): Likewise.
49220 (CHAR_MIN): Likewise.
49221 (CHAR_MAX): Likewise.
49222 (MB_LEN_MAX): Use macro-int-constant.
49223 (SHRT_MIN): Use macro-int-constant. Specify type.
49224 (SHRT_MAX): Likewise.
49225 (USHRT_MAX): Likewise.
49226 (INT_MAX): Likewise.
49227 (INT_MIN): Use macro-int-constant. Specify type. Make upper
49228 bound negative.
49229 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
49230 bound with "U".
49231 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
49232 bound with "L".
49233 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
49234 bound negative. Suffix upper bound with "L".
49235 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
49236 bound with "UL".
49237 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
49238 Specify type.
49239 [C99-based standards] (LLONG_MAX): Likewise.
49240 [C99-based standards] (ULLONG_MAX): Likewise.
49241 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
49242 == 0.
49243 [ISO11] (max_align_t): Require type.
49244 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49245
c9140a62
JM
49246 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
49247 from $CFLAGS, without defining away __attribute__ calls.
49248 (checknamespace): Use $CFLAGS_namespace.
49249
9af0bf29
JM
49250 * conform/conformtest.pl (@keywords): Only include C99 keywords
49251 for standards based on C99 or C11.
49252
343222a2
JM
49253 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
49254 Disable tests.
49255 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
49256 UNIX98]: Likewise.
49257
661f8cf0
JM
49258 * conform/conformtest.pl: Handle "macro-int-constant" and test for
49259 usability of symbols in #if.
49260
ee74b9cb
JM
49261 * conform/conformtest.pl: If macro or constant types start
49262 "promoted:", expect the symbol to be of the following type
49263 promoted by the integer promotions.
62fde54f 49264
aafc49b3
JM
49265 * conform/conformtest.pl: Parse all "constant" and "macro" lines
49266 in one place. Also handle "macro-constant".
49267
fefdf574
JM
49268 * conform/conformtest.pl: Only accept expected macro values with
49269 "==". Parse all "macro" lines in one place.
49270 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
49271
f2d922fe
JM
49272 * conform/conformtest.pl: Handle braced types on "constant" lines
49273 instead of handling "typed-constant".
49274 * conform/data/signal.h-data: Use "constant" instead of
49275 "typed-constant".
49276
d22956c9
JM
49277 * conform/conformtest.pl: Handle "optional-" at start of lines in
49278 one place rather than duplicating several cases. Handle each
49279 format of "macro" line with initial "optional-".
49280
028e2e38
JM
49281 * conform/conformtest.pl: Only accept expected constant or
49282 optional-constant values with "==". Parse all "constant" lines in
49283 one place. Parse all "optional-constant" lines in one place.
49284 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
49285 * conform/data/fmtmsg.h-data: Likewise.
49286 * conform/data/netinet/in.h-data: Likewise.
49287 * conform/data/tar.h-data: Likewise.
49288 * conform/data/limits.h-data: Use "==" form on "constant" and
49289 "optional-constant" lines.
49290
1b8f2850
JM
49291 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
49292 Use -std=c99 for XOPEN2K.
49293 (@knownproblems): Remove.
49294 (newtoken): Don't check %isknown.
49295
a05a144b
JM
49296 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
49297 Do not expect macro.
49298 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
49299 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
49300 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
49301 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
49302 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
49303 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
49304 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
49305 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
49306 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
49307 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
49308 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
49309 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
49310 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
49311 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
49312 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
49313 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
49314 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
49315 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
49316 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
49317 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
49318 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
49319 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
49320 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
49321 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
49322 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
49323 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
49324 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
49325 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
49326 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
49327 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
49328 [XPG3] (acosh): Likewise.
49329 [XPG3] (asinh): Likewise.
49330 [XPG3] (atanh): Likewise.
49331 [XPG3] (cbrt): Likewise.
49332 [XPG3] (expm1): Likewise.
49333 [XPG3] (ilogb): Likewise.
49334 [XPG3] (log1p): Likewise.
49335 [XPG3] (logb): Likewise.
49336 [XPG3] (nextafter): Likewise.
49337 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
49338 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
49339 [XPG3] (remainder): Likewise.
49340 [XPG3] (rint): Likewise.
49341 [XPG3 || XPG4 || UNIX98] (round): Likewise.
49342 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
49343 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
49344 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
49345 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
49346 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
49347 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
49348 [UNIX98 || XOPEN2K] (scalb): Expect.
49349 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
49350 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
49351 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
49352 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
49353 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
49354 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
49355 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
49356 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
49357 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
49358 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
49359 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
49360 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
49361 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
49362 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
49363 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
49364 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
49365 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
49366 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
49367 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
49368 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
49369 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
49370 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
49371 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
49372 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
49373 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
49374 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
49375 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
49376 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
49377 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
49378 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
49379 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
49380 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
49381 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
49382 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
49383 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
49384 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
49385 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
49386 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
49387 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
49388 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
49389 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
49390 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
49391 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
49392 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
49393 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
49394 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
49395 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
49396 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
49397 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
49398 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
49399 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
49400 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
49401 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
49402 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
49403 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
49404 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
49405 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
49406 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
49407 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
49408 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
49409 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
49410 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
49411 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
49412 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
49413 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
49414 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
49415 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
49416 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
49417 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
49418 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
49419 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
49420 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
49421 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
49422 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
49423 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
49424 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
49425 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
49426 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
49427 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
49428 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
49429 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
49430 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
49431 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
49432 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
49433 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
49434 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
49435 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
49436 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
49437 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
49438 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
49439 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
49440 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
49441 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
49442 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
49443 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
49444 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
49445 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
49446 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
49447 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
49448 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
49449 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
49450 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
49451 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
49452 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
49453 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
49454 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
49455 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
49456 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
49457 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
49458 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
49459 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
49460 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
49461 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
49462 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
49463 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
49464 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
49465 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
49466 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
49467 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
49468 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
49469 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
49470 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
49471 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
49472 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
49473 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
49474 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
49475 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
49476 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
49477 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
49478 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
49479 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
49480 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
49481 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
49482 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
49483 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
49484 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
49485 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
49486
73c5ebe3
JM
49487 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
49488 _XOPEN_SOURCE_EXTENDED for XPG4.
49489
39c33b6c
JM
49490 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
49491
62fde54f
JM
49492 * Makeconfig (localtime): Remove variable.
49493 (inst_localtime-file): Likewise.
49494
0741d64c
AS
494952012-05-01 Andreas Schwab <schwab@linux-m68k.org>
49496
49497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49498 Update.
49499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49500 Update.
49501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49502 Update.
49503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49504 Update.
49505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49506 Update.
49507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
49508 Update.
49509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49510 Update.
49511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
49512 Update.
49513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49514 Update.
49515
7cb029ee
JM
495162012-05-01 Joseph Myers <joseph@codesourcery.com>
49517
49518 [BZ #2550]
49519 [BZ #2570]
49520 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
49521 comparisons to determine direction to adjust input.
49522 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
49523 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
49524 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
49525 Likewise.
49526 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
49527 Likewise.
49528 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
49529 Likewise.
49530 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
49531 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
49532 Likewise.
49533 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
49534 Likewise.
49535 * math/libm-test.inc (nexttoward_test): Add more tests.
49536
412bd966
AS
495372012-05-01 Andreas Schwab <schwab@linux-m68k.org>
49538
49539 [BZ #14040]
49540 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
49541 in version GLIBC_2.1, not GLIBC_2.0.
49542 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
49543 Likewise.
49544
9568c0c2
JM
495452012-04-30 Joseph Myers <joseph@codesourcery.com>
49546
adfbc8ac
JM
49547 [BZ #13942]
49548 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
49549 (1 - x) * (1 + x).
49550 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49551 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
49552 * math/libm-test.inc (acos_test): Add more tests.
49553 (asin_test): Likewise.
49554 * sysdeps/i386/fpu/libm-test-ulps: Update.
49555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49556
5ba3cc69
JM
49557 [BZ #14034]
49558 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
49559 of square root.
49560 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
49561 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49562 * math/libm-test.inc (acos_test_tonearest): New function.
49563 (acos_test_towardzero): Likewise.
49564 (acos_test_downward): Likewise.
49565 (acos_test_upward): Likewise.
49566 (asin_test_tonearest): Likewise.
49567 (asin_test_towardzero): Likewise.
49568 (asin_test_downward): Likewise.
49569 (asin_test_upward): Likewise.
49570 (main): Call the new functions.
49571 * sysdeps/i386/fpu/libm-test-ulps: Update.
49572 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49573
9568c0c2
JM
49574 [BZ #13884]
49575 [BZ #13924]
49576 * math/e_exp10.c: Include <float.h>.
49577 (__ieee754_exp10): Handle underflow here rather than multiplying
49578 large negative argument by M_LN10.
49579 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
49580 of __ieee754_expf.
49581 * math/e_exp10l.c: Include <float.h>.
49582 (__ieee754_exp10l): Handle underflow here rather than multiplying
49583 large negative argument by M_LN10l.
49584 * math/libm-test.inc (exp10_test): Add another test. Do not allow
49585 spurious overflow exception on underflow.
49586
5ac3ea17
MP
495872012-04-29 Marek Polacek <polacek@redhat.com>
49588
49589 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
49590 (__fortify_function): New macro.
49591 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
49592 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
49593 __extern_always_inline.
49594 * libio/bits/stdio2.h: Likewise.
49595 * libio/bits/stdio.h: Likewise.
49596 * string/string.h: Likewise.
49597 * string/bits/string3.h: Likewise.
49598 * include/stdio.h: Likewise.
49599 * stdlib/bits/stdlib.h: Likewise.
49600 * stdlib/stdlib.h: Likewise.
49601 * rt/bits/mqueue2.h: Likewise.
49602 * rt/mqueue.h: Likewise.
49603 * posix/bits/unistd.h: Likewise.
49604 * posix/unistd.h: Likewise.
49605 * io/bits/poll2.h: Likewise.
49606 * io/bits/fcntl2.h: Likewise.
49607 * io/fcntl.h: Likewise.
49608 * io/sys/poll.h: Likewise.
49609 * misc/bits/syslog.h: Likewise.
49610 * misc/bits/syslog-ldbl.h: Likewise.
49611 * misc/sys/syslog.h: Likewise.
49612 * socket/bits/socket2.h: Likewise.
49613 * socket/sys/socket.h: Likewise.
49614 * debug/tst-chk1.c: Likewise.
49615 * wcsmbs/bits/wchar2.h: Likewise.
49616 * wcsmbs/bits/wchar-ldbl.h: Likewise.
49617 * wcsmbs/wchar.h: Likewise.
49618
ecf0ebfb
AJ
496192012-04-29 Andreas Jaeger <aj@suse.de>
49620
49621 * Makerules (tests): Remove enable-check-abi protection.
49622 (check-abi-warn): Remove.
49623 (check-abi-%): Remove check-abi-warn usage.
49624
49625 * configure.in: Remove check-abi configure option.
49626 * configure: Regenerated.
49627 * config.make.in (enable-check-abi): Remove.
49628
6d5c57fa
AS
496292012-04-28 Andreas Schwab <schwab@linux-m68k.org>
49630
24c5d07e 49631 [BZ #14033]
ded5180a
AS
49632 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
49633 double functions to double *_finite functions.
49634
7e0d315d
AS
49635 [BZ #13941]
49636 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
49637 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
49638 LDBL_MIN_EXP.
49639 * stdio-common/Makefile (tests): Add tst-sprintf3.
49640 * stdio-common/tst-sprintf3.c: New file.
49641
6d5c57fa
AS
49642 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
49643 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
49644
0749ff8b
JM
496452012-04-28 Joseph Myers <joseph@codesourcery.com>
49646
49647 * conform/conformtest.pl: Remove duplicate typed-constant
49648 handling.
49649
8dbd5d7b
DM
496502012-04-28 David S. Miller <davem@davemloft.net>
49651
49652 * Makerules (%.abilist): Add vpath on sysdep_dirs.
49653 (check-abi-%): Remove AWK script prerequisite and explicit
49654 abilist directory.
49655 (check-abi): Rewrite to just diff the symlist with the abilist.
49656 (config-tls, config-abi-config): Delete, no longer used.
49657 (update-abi-%): Remove AWK script and explicit abilist directory.
49658 (update-abi): Rewrite to simply compare and conditionally copy the
49659 symlist and the sysdep abilist file. Remove update-abi-config
49660 checks.
49661 * abilist/ld.abilist: Remove.
49662 * abilist/libBrokenLocale.abilist: Remove.
49663 * abilist/libanl.abilist: Remove.
49664 * abilist/libcrypt.abilist: Remove.
49665 * abilist/libdl.abilist: Remove.
49666 * abilist/librt.abilist: Remove.
49667 * abilist/libthread_db.abilist: Remove.
49668 * abilist/libutil.abilist: Remove.
49669 * scripts/extract-abilist.awk: Remove.
49670 * scripts/merge-abilist.awk: Remove.
49671 * sysdeps/generic/libcidn.abilist: New file.
49672 * sysdeps/generic/libnss_compat.abilist: New file.
49673 * sysdeps/generic/libnss_db.abilist: New file.
49674 * sysdeps/generic/libnss_dns.abilist: New file.
49675 * sysdeps/generic/libnss_files.abilist: New file.
49676 * sysdeps/generic/libnss_hesiod.abilist: New file.
49677 * sysdeps/generic/libnss_nis.abilist: New file.
49678 * sysdeps/generic/libnss_nisplus.abilist: New file.
49679 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
49680 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
49681 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
49682 file.
49683 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
49684 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
49685 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
49686 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
49687 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
49688 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
49689 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
49690 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
49691 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
49692 file.
49693 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
49694 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
49695 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
49696 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
49697 file.
49698 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
49699 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
49700 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
49701 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
49702 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
49703 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
49704 file.
49705 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
49706 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
49707 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
49708 file.
49709 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
49710 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
49711 New file.
49712 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
49713 New file.
49714 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
49715 New file.
49716 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
49717 New file.
49718 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
49719 New file.
49720 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
49721 New file.
49722 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
49723 New file.
49724 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
49725 New file.
49726 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
49727 New file.
49728 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
49729 New file.
49730 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
49731 New file.
49732 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
49733 New file.
49734 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
49735 New file.
49736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
49737 file.
49738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
49739 New file.
49740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
49741 New file.
49742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
49743 file.
49744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
49745 New file.
49746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
49747 New file.
49748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
49749 file.
49750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
49751 New file.
49752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49753 New file.
49754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
49755 New file.
49756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
49757 New file.
49758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
49759 New file.
49760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
49761 New file.
49762 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
49763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
49764 file.
49765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
49766 New file.
49767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
49768 file.
49769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
49770 file.
49771 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
49772 file.
49773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
49774 file.
49775 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
49776 file.
49777 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49778 New file.
49779 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
49780 file.
49781 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
49782 file.
49783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
49784 New file.
49785 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
49786 file.
49787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
49788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
49789 file.
49790 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
49791 New file.
49792 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
49793 file.
49794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
49795 file.
49796 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
49797 file.
49798 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
49799 file.
49800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
49801 file.
49802 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49803 New file.
49804 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
49805 file.
49806 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
49807 file.
49808 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
49809 New file.
49810 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
49811 file.
49812 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
49813 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
49814 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
49815 file.
49816 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
49817 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
49818 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
49819 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
49820 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
49821 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
49822 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
49823 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
49824 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
49825 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
49826 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
49827 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
49828 file.
49829 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
49830 New file.
49831 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
49832 file.
49833 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
49834 file.
49835 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
49836 file.
49837 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
49838 file.
49839 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
49840 file.
49841 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49842 New file.
49843 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
49844 New file.
49845 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
49846 file.
49847 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
49848 New file.
49849 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
49850 file.
49851 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
49852 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
49853 file.
49854 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
49855 New file.
49856 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
49857 file.
49858 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
49859 file.
49860 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
49861 file.
49862 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
49863 file.
49864 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
49865 file.
49866 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49867 New file.
49868 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
49869 New file.
49870 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
49871 file.
49872 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
49873 New file.
49874 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
49875 file.
49876
41d73a1b
JM
498772012-04-28 Joseph Myers <joseph@codesourcery.com>
49878
49879 * conform/conformtest.pl: Fix typo in handling typed-constant from
49880 allow-header.
49881
28aeeda4
JM
498822012-04-27 Joseph Myers <joseph@codesourcery.com>
49883
adae8f5e
JM
49884 * README: Cut down references to pre-2.6 Linux kernels and
49885 Linuxthreads. Update lists of configurations in libc and ports
49886 and sort alphabetically. Say "or newer" with Linux kernel version
49887 requirements.
49888
28aeeda4
JM
49889 * config.h.in [IS_IN_build]: Allow compiling without optimization.
49890
a462cb63
RA
498912012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
49892
49893 [BZ #887]
49894 * math/libm-test.inc (logb_test_downward): New test to expose
49895 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
49896 rounding mode.
49897
6ad3493e
JM
498982012-04-27 Joseph Myers <joseph@codesourcery.com>
49899
49900 [BZ #14027]
49901 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
49902 to be done.
49903 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
49904 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
49905
2ce4f015
JM
499062012-04-26 Joseph Myers <joseph@codesourcery.com>
49907
5aeb141a
JM
49908 * sysdeps/unix/i386/brk.S: Remove file.
49909 * sysdeps/unix/i386/dl-brk.S: Likewise.
49910 * sysdeps/unix/i386/pipe.S: Likewise.
49911 * sysdeps/unix/i386/sigreturn.S: Likewise.
49912 * sysdeps/unix/i386/syscall.S: Likewise.
49913 * sysdeps/unix/i386/vfork.S: Likewise.
49914 * sysdeps/unix/i386/wait.S: Likewise.
49915
7143acae
JM
49916 * sysdeps/unix/common/tcsendbrk.c: Move to ...
49917 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
49918
2ce4f015
JM
49919 * configure.in (arm*-none*): Do not allow without
49920 --enable-hacker-mode.
49921 (netbsd*): Remove case setting base_os.
49922 (386bsd*): Likewise.
49923 (freebsd*): Likewise.
49924 (bsdi*): Likewise.
49925 (osf*): Likewise.
49926 (sunos*): Likewise.
49927 (ultrix*): Likewise.
49928 (newsos*): Likewise.
49929 (dynix*): Likewise.
49930 (*bsd*): Likewise.
49931 (sysv*): Likewise.
49932 (isc*): Likewise.
49933 (esix*): Likewise.
49934 (sco*): Likewise.
49935 (minix*): Likewise.
49936 (irix4*): Likewise.
49937 (irix6*): Likewise.
49938 (solaris[2-9]*): Likewise.
49939 (none): Likewise.
49940 * configure: Regenerated.
49941
0ac229c8
AZ
499422012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49943
49944 [BZ #11521]
49945 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
49946 overflow or cancellation in calculating denominator.
49947 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
49948 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
49949 down expression to avoid unexpected rounding in newer GCCs.
49950 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
49951
33f244f4
DM
499522012-04-26 David S. Miller <davem@davemloft.net>
49953
49954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
49955 long-double compat symbols.
49956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
49958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
49959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
49960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
49961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
49962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
49963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
49964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
49965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
49966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
49967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
49968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49969
cfa1f3e8
DM
499702012-04-25 David S. Miller <davem@davemloft.net>
49971
49972 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
49973 HWCAP_* values only after the memory barriers have been defined.
49974 (atomic_full_barrier): Define.
49975 (atomic_read_barrier): Define.
49976 (atomic_write_barrier): Define.
49977
6e236b92
SP
499782012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
49979
49980 * shlib-versions: Add libgcc_s version information.
49981 * sysdeps/generic/libgcc_s.h: Remove.
49982 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
49983 libgcc_s.h.
49984 * sysdeps/gnu/unwind-resume.c: Likewise.
49985 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
49986
aab39a09
DM
499872012-04-25 David S. Miller <davem@davemloft.net>
49988
49989 * sysdeps/unix/sparc/brk.S: Delete.
49990 * sysdeps/unix/sparc/dl-brk.S: Delete.
49991 * sysdeps/unix/sparc/pipe.S: Delete.
49992 * sysdeps/unix/sparc/sysdep.S: Delete.
49993 * sysdeps/unix/sparc/sysdep.h: Delete.
49994 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
49995 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
49996 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
49997 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
49998 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
49999 (JUMPTARGET): Remove.
50000 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
50001 sysdeps/unix/sparc/sysdep.h
50002 (ENTRY, END): Remove.
50003 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50004
a3cc4f48
JM
500052012-04-25 Joseph Myers <joseph@codesourcery.com>
50006
2ed8cda2
JM
50007 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
50008 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
50009 -DIS_IN_build.
50010
35d76d59
JM
50011 * timezone/README: Update upstream location and email address for
50012 tzcode and tzdata.
50013 * timezone/zdump.c: Update from tzcode 2012b.
50014 * timezone/zic.c: Likewise.
50015
a3cc4f48
JM
50016 * configure.in (libc_cv_as_needed): Remove test.
50017 * configure: Regenerated.
50018 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
50019 conditional definition.
50020 [$(have-as-needed) != yes] (no-as-needed): Likewise.
50021 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
50022 * config.make.in (have-as-needed): Remove variable.
50023
ceab42c3
SP
500242012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
50025 Paul Pluzhnikov <ppluzhnikov@google.com>
50026
50027 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
50028 strings correctly.
50029
3ce2865f
CLT
500302012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
50031
50032 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
50033 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
50034 * sysdeps/sh/strlen.S: Likewise.
50035
f37e0d68
JM
500362012-04-24 Joseph Myers <joseph@codesourcery.com>
50037
ae186e9a
JM
50038 * sysdeps/unix/fork.S: Remove file.
50039 * sysdeps/unix/i386/fork.S: Likewise.
50040 * sysdeps/unix/sparc/fork.S: Likewise.
50041
b96914af
JM
50042 * sysdeps/unix/system.c: Remove file.
50043 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
50044
f37e0d68
JM
50045 * sysdeps/unix/getegid.S: Remove file.
50046 * sysdeps/unix/geteuid.S: Likewise.
50047
87ef29ca
RM
500482012-04-24 Roland McGrath <roland@hack.frob.com>
50049
83bcd236
RM
50050 * scripts/check-localplt.awk: New file.
50051 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
50052 of diff.
50053 * scripts/data/localplt-generic.data: Add a comment.
50054
87ef29ca
RM
50055 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
50056 NODE when __dir_mkfile failed.
50057 * sysdeps/mach/hurd/symlinkat.c: Likewise.
50058 Reported by Ludovic Courtès <ludo@gnu.org>.
50059
e5a6e567
AJ
500602012-04-24 Andreas Jaeger <aj@suse.de>
50061
50062 * Makerules (common-clean): Also remove gen-as-const-headers
50063 files.
50064
c1820385
JM
500652012-04-24 Joseph Myers <joseph@codesourcery.com>
50066
50067 * Makerules (native-compile): Do not change working directory for
50068 build. Use $(OUTPUT_OPTION) in command.
50069 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
50070
94e02fc4
AZ
500712012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50072
50073 [BZ #13886]
50074 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
50075 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
50076 * math/libm-test.inc (floor_test): Add more tests.
50077 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
50078
3a533ca3
JM
500792012-04-24 Joseph Myers <joseph@codesourcery.com>
50080
940ab4b3
JM
50081 * sysdeps/unix/getdents.c: Remove file.
50082 * sysdeps/unix/sysv/getdents.c: Likewise.
50083 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
50084
90e037bd
JM
50085 * sysdeps/unix/syscalls.list (madvise): Add syscall from
50086 sysdeps/unix/mman/syscalls.list.
50087 (mmap): Likewise.
50088 (mprotect): Likewise.
50089 (msync): Likewise.
50090 (munmap): Likewise.
50091 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
50092 * sysdeps/unix/mman/syscalls.list: Remove.
50093 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
50094
3a533ca3
JM
50095 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
50096 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
50097 * configure: Regenerated.
50098 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
50099 $(libgcc_s_suffix).
50100 * config.make.in (libgcc_s_suffix): Remove variable.
50101
1ad743de
JM
501022012-04-23 Joseph Myers <joseph@codesourcery.com>
50103
4ad451e2
JM
50104 * sysdeps/unix/sysv/gethostname.c: Move to ...
50105 * sysdeps/posix/gethostname.c: ... here.
50106
5e37ce39
JM
50107 * sysdeps/unix/execve.S: Remove file.
50108
1ad743de
JM
50109 * sysdeps/unix/_exit.S: Remove file.
50110
4e681b5b
AJ
501112012-04-23 Andreas Jaeger <aj@suse.de>
50112
50113 [BZ #13739]
50114 * manual/Makefile: Remove make dist support, there's no
50115 need for a stand-alone documentation tar ball.
50116 (TEXI2DVI): Define always, it's not in Makeconfig.
50117 (dist): Removed.
50118 (tar-it): Removed.
50119 (edition): Removed.
50120 (glibc-doc-$(edition).tar): Removed
50121 (%.Z): Removed.
50122 (%.gz): Removed.
50123 (%.uu): Removed.
50124 (ETAGS): Remove, it's in Makeconfig.
50125 (move-if-change): Remove, it's in Makeconfig.
50126
38686a03 501272012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
50128
50129 [BZ #13970]
50130 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
50131 (strtod, strtof, strtold, strtol, strtoul, strtoq)
50132 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
50133 (strtod_l, strtof_l, strtold_l): Remove __wur.
50134 It is not necessarily an error to ignore strtol's return value.
50135 One can reliably look at the stored endptr to decide whether
50136 the number had valid syntax.
50137
7c0616fa
AJ
501382012-04-21 Andreas Jaeger <aj@suse.de>
50139
803cb6b7 50140 [BZ #13739]
7c0616fa
AJ
50141 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
50142
b0fe253f
JM
501432012-04-21 Joseph Myers <joseph@codesourcery.com>
50144
50145 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
50146 * sysdeps/unix/sysv/Versions: Remove file.
50147
8280f22d
MT
501482012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
50149
50150 [BZ #13927]
50151 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50152
75ce411f 501532012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
50154
50155 [BZ #7064]
50156 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
50157 version from __vm86.
50158
097d59fa
JM
501592012-04-20 Joseph Myers <joseph@codesourcery.com>
50160
a90f3bcb
JM
50161 * sysdeps/unix/common/lxstat.c: Remove file.
50162 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
50163
edc7ea78
JM
50164 * sysdeps/unix/sysv/Makefile: Remove file.
50165
cb78c221
JM
50166 * sysdeps/unix/sysv/direct.h: Remove file.
50167
efa6a45f
JM
50168 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
50169 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
50170 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
50171 * sysdeps/unix/sysv/bits/signum.h: Likewise.
50172 * sysdeps/unix/sysv/bits/stat.h: Likewise.
50173 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
50174 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
50175
9c9f2d0c
JM
50176 * sysdeps/unix/sysv/setrlimit.c: Remove file.
50177
4541c83b
JM
50178 * sysdeps/unix/xmknod.c: Remove file.
50179 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
50180
f5d153a0
JM
50181 * sysdeps/unix/sysv/settimeofday.c: Remove file.
50182
aa746595
JM
50183 * sysdeps/unix/sysv/i386/time.S: Remove file.
50184
cce5905e
JM
50185 * sysdeps/unix/fxstat.c: Remove file.
50186 * sysdeps/unix/xstat.c: Likewise.
50187 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
50188
37fa3841
JM
50189 * sysdeps/unix/sysv/sigaction.c: Remove file.
50190
ff1962a3
JM
50191 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
50192 (sysdep_headers): Remove variable.
50193 [termio.h not in sysdep_headers] (generated): Likewise.
50194 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
50195 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
50196 * sysdeps/unix/sysv/tcdrain.c: Likewise.
50197 * sysdeps/unix/sysv/tcflow.c: Likewise.
50198 * sysdeps/unix/sysv/tcflush.c: Likewise.
50199 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
50200 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
50201 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
50202 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
50203 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
50204
e7740d31
JM
50205 * sysdeps/unix/siglist.c: Remove file.
50206
ee06f18b
JM
50207 * sysdeps/unix/getppid.S: Remove file.
50208
097d59fa
JM
50209 * sysdeps/unix/mkdir.c: Remove file.
50210 * sysdeps/unix/rmdir.c: Likewise.
50211
ff3d51ec
AS
502122012-04-19 Andreas Schwab <schwab@linux-m68k.org>
50213
50214 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
50215 ERR_MAX value.
50216 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
50217 errlist-compat value.
50218
50f81fd7
DM
502192012-04-18 David S. Miller <davem@davemloft.net>
50220
50221 * sysdeps/generic/memcopy.h (reg_char): Delete.
50222 * debug/strcat_chk.c: Use char, not reg_char.
50223 * debug/strcpy_chk.c: Likewise.
50224 * debug/strncat_chk.c: Likewise.
50225 * debug/strncpy_chk.c: Likewise.
50226 * string/memchr.c: Likewise.
50227 * string/memrchr.c: Likewise.
50228 * string/rawmemchr.c: Likewise.
50229 * string/strcat.c: Likewise.
50230 * string/strchr.c: Likewise.
50231 * string/strchrnul.c: Likewise.
50232 * string/strcmp.c: Likewise.
50233 * string/strcpy.c: Likewise.
50234 * string/strncat.c: Likewise.
50235 * string/strncmp.c: Likewise.
50236 * string/strncpy.c: Likewise.
50237
8ff41c46
WS
502382012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
50239
50240 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
50241 __builtin_memcopy is called when src and dest ranges are known to not
50242 overlap.
50243
6b652f46
WS
502442012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
50245
50246 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
50247 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
50248 fwd_align_merge macro call.
50249 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
50250 bwd_align_merge macro call.
50251 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50252
b282631e
WS
502532012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
50254
50255 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
50256 bwd_align_merge macros.
50257 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
50258 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
50259 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50260
95aa737c
DM
502612012-04-18 David S. Miller <davem@davemloft.net>
50262
50263 * sysdeps/sparc/sparc64/memcopy.h: Delete.
50264
7a99a614
AJ
502652012-04-18 Andreas Jaeger <aj@suse.de>
50266
50267 [BZ# 6794]
50268 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
50269 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
50270 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50271
50272 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
50273 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
50274 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50275
50276 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
50277 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
50278 Adjust for changed ldbl-128 files.
50279
50280 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
50281 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
50282 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50283
e5270c23
DM
502842012-04-17 David S. Miller <davem@davemloft.net>
50285
50286 * sysdeps/sparc/sparc32/memcopy.h: Delete.
50287
fb5e92c9
AS
502882012-04-17 Andreas Schwab <schwab@linux-m68k.org>
50289
50290 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
50291 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
50292 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
50293 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
50294 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
50295 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
50296
76da7265
AZ
502972012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50298
50299 [BZ #6794]
50300 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
50301 * math/libm-test.inc: Add ilogb errno and exception tests.
50302 * math/w_ilogb.c: New file: ilogb wrapper.
50303 * math/w_ilogbf.c: New file: ilogbf wrapper.
50304 * math/w_ilogbl.c: New file: ilogbl wrapper.
50305 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
50306 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
50307 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
50308 exception being thrown with 0.0 as argument.
50309 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
50310 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
50311 exception being thrown with 0.0 as argument.
50312 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
50313 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50314 exception being thrown with 0.0 as argument.
50315 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
50316 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50317 exception being thrown with 0.0 as argument.
50318 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
50319 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 50320 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
50321 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
50322 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
50323 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
50324 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
50325 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
50326 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
50327
0396e69d
PB
503282012-04-17 Petr Baudis <pasky@ucw.cz>
50329
50330 * include/sys/uio.h: Change __vector to __iovec to avoid clash
50331 with altivec.
50332
750b5926
MP
503332012-04-16 Marek Polacek <polacek@redhat.com>
50334
50335 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
50336
751728a1
MP
503372012-04-16 Marek Polacek <polacek@redhat.com>
50338
50339 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
50340 operands of fdivp instruction.
50341
34a27407
L
503422012-04-13 H.J. Lu <hongjiu.lu@intel.com>
50343
50344 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
50345 * elf/tst-auditmod3b.c: Likewise.
50346 * elf/tst-auditmod4b.c: Likewise.
50347 * elf/tst-auditmod5b.c: Likewise.
50348 * elf/tst-auditmod6b.c: Likewise.
50349 * elf/tst-auditmod6c.c: Likewise.
50350 * elf/tst-auditmod7b.c: Likewise.
50351 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
50352 * sysdeps/x86_64/preconfigure.in: Likewise.
50353 * sysdeps/x86_64/preconfigure: Regenerated.
50354
7e73e17d
L
503552012-04-13 H.J. Lu <hongjiu.lu@intel.com>
50356
50357 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
50358 __ILP32__.
50359
c7a6ab72
AB
503602012-04-13 Antoine Balestrat <merkil33@gmail.com>
50361
50362 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50363 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
50364
a9e8e0e0
CL
503652012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
50366
50367 [BZ #13973]
50368 * locale/iso-639.def: Fix gl language name. Spotted by
50369 Yaron Shahrabani.
50370
ec98af7d
RM
503712012-04-12 Roland McGrath <roland@hack.frob.com>
50372
50373 [BZ #2074]
50374 * libio/libio.h (__io_write_fn): Update comment.
50375
247c3ede
PB
503762012-04-12 Petr Baudis <pasky@ucw.cz>
50377
50378 [BZ #2074]
50379 * stdio.texi (Hook Functions): The user provided writer function
50380 is not allowed to return -1.
50381
55939d6d
DM
503822012-04-11 David S. Miller <davem@davemloft.net>
50383
50384 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50385
90020f5a
MF
503862012-04-11 Mike Frysinger <vapier@gentoo.org>
50387
50388 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
50389 Add a leading slash to rtkaio.
50390
288f9098
JM
503912012-04-11 Jim Meyering <meyering@redhat.com>
50392
90020f5a
MF
50393 [BZ #11959]
50394 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
50395 It is not necessarily an error to ignore fwrite's return
50396 value. One can reliably use ferror to test for errors after
50397 the fact.
288f9098 50398
4be2b570
L
503992012-04-10 H.J. Lu <hongjiu.lu@intel.com>
50400
50401 * bits/types.h (__snseconds_t): New type.
50402 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
50403
50404 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
50405 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50406 (__SNSECONDS_T_TYPE): Likewise.
50407 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50408 (__SNSECONDS_T_TYPE): Likewise.
50409 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50410 (__SNSECONDS_T_TYPE): Likewise.
50411
288f9098 504122012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
50413
50414 [BZ #2636]
50415 * manual/time.texi (Processor Time): Return type of times is
50416 elapsed real time since an arbitrary point in the past.
50417 (CPU Time): Move CLK_TCK from here...
50418 (Processor Time): ...to here. Correct description.
50419 * manual/conf.texi (Constants for Sysconf): Correct description of
50420 _SC_CLK_TCK.
50421
d7dd4413
DM
504222012-04-10 David S. Miller <davem@davemloft.net>
50423
50424 [BZ #13967]
50425 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
50426 where the is a gap between DT_REL(A) and DT_JMPREL.
50427
b46068fc
L
504282012-04-10 H.J. Lu <hongjiu.lu@intel.com>
50429
50430 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
50431 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50432 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50433
73d65cc3
SP
504342012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
50435
50436 * elf/dl-support.c (_dl_inhibit_cache): New variable.
50437 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
50438 (dl_main): Handle --inhibit-cache.
50439 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
50440 _dl_inhibit_cache.
50441 * elf/dl-load.c (_dl_map_object): Use it.
50442 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
50443
bcc8d661
JM
504442012-04-09 Joseph Myers <joseph@codesourcery.com>
50445
8f9a2fae
JM
50446 [BZ #13872]
50447 * sysdeps/i386/fpu/e_powl.S (p78): New object.
50448 (__ieee754_powl): Saturate large exponents rather than testing for
50449 overflow of y*log2(x).
50450 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50451 * math/libm-test.inc (pow_test): Do not permit spurious overflow
50452 exceptions.
50453
bcc8d661
JM
50454 [BZ #11521]
50455 * math/s_ctan.c: Include <float.h>.
50456 (__ctan): Avoid internal overflow or cancellation in calculating
50457 denominator.
50458 * math/s_ctanf.c: Likewise.
50459 * math/s_ctanl.c: Likewise.
50460 * math/s_ctanh.c: Likewise.
50461 * math/s_ctanhf.c: Likewise.
50462 * math/s_ctanhl.c: Likewise.
50463 * math/libm-test.inc (ctan_test): Add more tests.
50464 (ctanh_test): Likewise.
50465 * sysdeps/i386/fpu/libm-test-ulps: Update.
50466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50467
823fbbb4
AJ
504682012-04-09 Andreas Jaeger <aj@suse.de>
50469
03879793
AJ
50470 [BZ #6894]
50471 * manual/filesys.texi (Directory Entries): Mention that d_namlen
50472 is an optional BSD extension.
50473
823fbbb4
AJ
50474 [BZ #10254]
50475 * manual/stdio.texi (Opening Streams): Document additional fopen
50476 parameters.
50477
8de131cb
RM
504782012-04-09 Roland McGrath <roland@hack.frob.com>
50479
50480 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
50481 %eax without telling the compiler.
50482
c0ed9d7d
CD
504832012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
50484
50485 [BZ # 13963]
50486 * manual/install.texi: Use sourceware.org.
50487
c483f6b4
JM
504882012-04-09 Joseph Myers <joseph@codesourcery.com>
50489
d7dd9453
JM
50490 [BZ #13873]
50491 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
50492 (__ieee754_pow): Generate overflow and underflow using huge*huge
50493 and tiny*tiny rather than just returning constant infinity or zero
50494 for large exponents.
50495 * math/libm-test.inc (pow_test): Require overflow exceptions for
50496 applicable cases of large exponents.
50497
c483f6b4
JM
50498 [BZ #706]
50499 * sysdeps/i386/fpu/e_pow.S (p10): New object.
50500 (__ieee754_pow): Use iterative multiplication algorithm only for
50501 integer exponents with absolute value below 1024. Check for odd
50502 integer exponents when using algorithm for real exponents.
50503 * math/libm-test.inc (pow_test): Add more tests.
50504 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50505
d2de7579
JM
505062012-04-08 Joseph Myers <joseph@codesourcery.com>
50507
50508 [BZ #13705]
50509 * math/libm-test.inc (exp_test): Do not allow overflow exception
50510 on underflow test.
50511
f77f1232
AJ
505122012-04-08 Aurelien Jarno <aurelien@aurel32.net>
50513
50514 [BZ #13705]
50515 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
50516 instead of __kernel_standard_f.
50517
3884932b
MF
505182012-04-08 Mike Frysinger <vapier@gentoo.org>
50519
50520 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
50521 * sysdeps/x86_64/memset_chk.S: Likewise.
50522
54472e9c
AJ
505232012-04-08 Andreas Jaeger <aj@suse.de>
50524
6ab0fbfc
AJ
50525 [BZ #10153]
50526 * manual/startup.texi (Environment Access): Describe return value
50527 for putenv and setenv.
50528
61efba8c
AJ
50529 [BZ #6895]
50530 * manual/filesys.texi (Directory Entries): Add description for
50531 DT_LNK.
50532
95c3f29a
AJ
50533 [BZ #6890]
50534 * manual/filesys.texi (Directory Entries): Clarify that it's file
50535 system not operating system in the description of DT_UNKNOWN.
50536
54472e9c
AJ
50537 [BZ #6578]
50538 * manual/syslog.texi (closelog): Fix reference, it's openlog.
50539
624254b1
SC
505402012-04-08 Stephen Compall <s11@member.fsf.org>
50541
50542 [BZ #6649]
50543 * manual/llio.texi (Opening and Closing Files): Add cross
50544 reference to explain mode argument.
50545
1e4920e0
MF
505462012-04-07 Mike Frysinger <vapier@gentoo.org>
50547
50548 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
50549 * sysdeps/x86_64/memset_chk.S: Likewise.
50550
5ed848f3
DM
505512012-04-07 David S. Miller <davem@davemloft.net>
50552
50553 * elf/elf.h (R_SPARC_WDISP10): Define.
50554 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
50555 R_SPARC_SIZE32.
50556 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
50557 R_SPARC_SIZE64 and R_SPARC_H34.
50558
96154cd8
CD
505592012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
50560
50561 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
50562 conditions and remove no longer applicable assertion.
50563
9904dc47
L
505642012-04-06 H.J. Lu <hongjiu.lu@intel.com>
50565
50566 * bits/byteswap.h: Include <features.h>.
50567 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50568 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50569
f8887d0a
L
505702012-04-06 H.J. Lu <hongjiu.lu@intel.com>
50571
50572 * bits/byteswap.h (__bswap_16): Removed.
50573 Include <bits/byteswap-16.h> to get __bswap_16.
50574 * sysdeps/i386/bits/byteswap.h: Likewise.
50575 * sysdeps/s390/bits/byteswap.h: Likewise.
50576 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50577 * bits/byteswap-16.h: New file.
50578 * sysdeps/i386/bits/byteswap-16.h: Likewise.
50579 * sysdeps/s390/bits/byteswap-16.h: Likewise.
50580 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
50581 * string/Makefile (headers): Add bits/byteswap-16.h.
50582
62470f60
PP
505832012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
50584
50585 [BZ #13895]
50586 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
50587 extra indirection.
50588 * nss/Makefile (tests-static, tests): Add tst-nss-static.
50589 * nss/tst-nss-static.c: New.
50590
4dad7bab
RM
505912012-04-06 Robert Millan <rmh@gnu.org>
50592
50593 [BZ #6486]
50594 * manual/llio.texi (File Position Primitive): lseek
50595 refers to WHENCE when it really means OFFSET.
50596
e9142a17
AJ
505972012-04-06 Andreas Jaeger <aj@suse.de>
50598
2c040eff
AJ
50599 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
50600 strncmp declarations.
50601
e9142a17
AJ
50602 * abilist/libc.abilist: Add __poll and __ppoll.
50603
ff9f1c5f
DM
506042012-04-05 David S. Miller <davem@davemloft.net>
50605
dcd2ae90
DM
50606 * scripts/check-local-headers.sh: Accept a host triplet in the
50607 path matched by the exclude regexp.
50608
993eb054
DM
50609 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
50610 definition.
50611 * sysdeps/powerpc/powerpc32/dl-machine.h
50612 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
50613 * sysdeps/s390/s390-32/dl-machine.h
50614 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50615 * sysdeps/sparc/sparc32/dl-machine.h
50616 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50617 * sysdeps/sparc/sparc64/dl-machine.h
50618 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50619
ff9f1c5f
DM
50620 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
50621 lazy binding.
48e2e132 50622 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
50623 undefined symbol errors.
50624
48e2e132 50625 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
50626 DT_NEEDED entries.
50627
e80d6f94
MM
506282012-04-05 Michael Matz <matz@suse.de>
50629
50630 [BZ #13592]
50631 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
50632
349fa79f
AJ
506332012-04-05 Andreas Jaeger <aj@suse.de>
50634
50635 [BZ #13908]
50636 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
50637 comment.
50638
f402708f
KK
506392012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50640
50641 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
50642 which ROUND is no valid rounding mode.
50643
2ecccfc9
KK
506442012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50645
50646 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
50647 read again.
50648 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
50649
8a53f50f
KK
506502012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50651
50652 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
50653 an exception using FPU order intentionally.
50654
506552012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50656
50657 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
50658 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
50659 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
50660 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
50661
d653abb7
SJ
506622012-04-05 Simon Josefsson <simon@josefsson.org>
50663
50664 [BZ #12340]
50665 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
50666 EINVAL when BUFLEN is too smal.
50667
c3b1bf7d
TS
506682012-04-05 Thomas Schwinge <thomas@codesourcery.com>
50669
50670 [BZ #13553]
50671 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
50672 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
50673
b1aa60f3
AJ
506742012-04-03 Andreas Jaeger <aj@suse.de>
50675
c3b1bf7d 50676 [BZ #13938]
67f60a26
AJ
50677 * manual/setjmp.texi (System V contexts): Fix sentence.
50678
b1aa60f3
AJ
50679 [BZ #13926]
50680 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
50681 New macro for this case.
50682 [!__GNUC__] (__bswap_64): New inline function for this case.
50683 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50684 * bits/byteswap.h: Likewise.
50685 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
50686 ull, guard with __GLIBC_HAVE_LONG_LONG.
50687
50688 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
50689 __GLIBC_HAVE_LONG_LONG.
50690
50691 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
50692 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
50693
39c59c35
TMQMF
506942012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50695
50696 [BZ #13691]
50697 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
50698 inptr and inend, rather than using last_ch.
50699
135ffda8
DM
507002012-04-02 David S. Miller <davem@davemloft.net>
50701
50702 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
50703 * stdio-common/printf-parse.h (read_int): Change return type to
50704 'int', return -1 on INT_MAX overflow.
50705 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
50706 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
50707 overflows INT_MAX. Check for overflow of in-format-string precision
50708 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
50709 SIZE_MAX not INT_MAX for integer overflow test.
50710 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
50711 skip the construct in the format string but do not record anything.
50712 * stdio-common/bug22.c: Adjust to test both width/prevision
50713 INT_MAX overflow as well as total length INT_MAX overflow. Check
50714 explicitly for proper errno values.
50715
228c019e
TS
507162012-04-02 Thomas Schwinge <thomas@codesourcery.com>
50717
302cadd3
TS
50718 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
50719 CHAR_MAX.
50720 * string/test-strcmp.c [! WIDE]: Likewise.
50721 * time/tst-mktime2.c: Likewise for INT_MAX.
50722 * string/test-string.h: #include <sys/param.h> for MIN.
50723
228c019e
TS
50724 * csu/init-first.c (__libc_init_first): Call __ctype_init.
50725 * sysdeps/i386/init-first.c (init): Likewise.
50726 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
50727 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
50728 * sysdeps/sh/init-first.c (init): Likewise.
50729
cfa633f5
UD
507302012-04-01 Ulrich Drepper <drepper@gmail.com>
50731
50732 * po/ru.po: Update from translation team.
d1635ef8 50733 * po/vi.po: Likewise.
cfa633f5 50734
6cd0a5ea
SP
507352012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
50736
50737 * resolv/nss_dns/dns-host.c: Merge copyright years.
50738
4b43400f
LD
507392012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50740
50741 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50742 Optimize memcpy with prefetch if
50743 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
50744 src, dst pointers have unequal 16 byte alignments.
50745
48c41d04
SP
507462012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
50747
50748 [BZ #13928]
50749 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
50750 from a CNAME entry and return the minimum ttl for the query.
50751 (gaih_getanswer_slice): Likewise.
50752
b8dc394d
JL
507532012-03-30 Jeff Law <law@redhat.com>
50754
50755 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
50756 due to long keys.
50757 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
50758 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
50759
2f5a5ed0
JL
50760 * resolv/nss_dns/dns-host.c: Update copyright year.
50761
1d39e359
UD
507622012-03-30 Ulrich Drepper <drepper@gmail.com>
50763
c030f70c 50764 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 50765 requests to save a system call. Fix check that all bytes are sent.
c030f70c 50766
1d39e359
UD
50767 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
50768 comments for sendmmsg.
50769
507702012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
50771
50772 [BZ #13691]
50773 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
50774 with only 1 character between 0x0041 and 0x01b0.
50775 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
50776 * wcsmbs/tst-mbsnrtowcs.c: New file.
50777
20fde227
DM
507782012-03-29 David S. Miller <davem@davemloft.net>
50779
50780 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
50781 small copies by hand.
50782
984a4237
JL
507832012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
50784
50785 [BZ #13761]
57f41c40
AS
50786 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
50787 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
50788 group memberships.
984a4237 50789
18c9d62b
DM
507902012-03-28 David S. Miller <davem@davemloft.net>
50791
88d85d4f
DM
50792 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
50793 that branches into memcpy.
50794 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
50795 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
50796 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
50797 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
50798 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
50799 bits.
50800 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
50801 implementation too.
50802 * sysdeps/sparc/mempcpy.S: New file.
50803
e5aa83e1
DM
50804 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
50805 the IFUNC routine in the libc case.
50806 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
50807
88570753
DM
50808 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
50809 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
50810 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
50811 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
50812 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
50813 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
50814 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
50815 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
50816
249d7567
DM
50817 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
50818 loop to 256 bytes instead of 64 bytes and fix test signedness.
50819
18c9d62b
DM
50820 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
50821 * sysdeps/sparc/sparc32/Makefile: rather than here...
50822 * sysdeps/sparc/sparc64/Makefile: and here.
50823
05f3d1f6
UD
508242012-03-28 Ulrich Drepper <drepper@gmail.com>
50825
50826 * malloc/mallocbug.c: Avoid warnings about unused variables.
50827
86ae07a8
JL
508282012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
50829
50830 [BZ #13760]
50831 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
50832 in the right place. Discard and retry query if response is
50833 larger than input buffer size.
50834
41bf21a1
JM
508352012-03-28 Joseph Myers <joseph@codesourcery.com>
50836
d6270972
JM
50837 [BZ #369]
50838 [BZ #2678]
50839 [BZ #3866]
50840 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
50841 x for large integer exponent.
50842 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
50843 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
50844 sign of result as needed afterwards.
50845 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
50846 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
50847 result for underflowing pow the same as for overflow.
50848 (__kernel_standard_l): Handle powl overflow and underflow here
50849 rather than calling __kernel_standard.
50850 * math/libm-test.inc (pow_test): Add more tests.
50851
414fca03 50852 [BZ #3868]
41bf21a1
JM
50853 [BZ #13879]
50854 [BZ #13910]
50855 [BZ #13911]
50856 [BZ #13912]
50857 [BZ #13913]
50858 [BZ #13915]
50859 [BZ #13916]
50860 [BZ #13917]
50861 [BZ #13918]
50862 [BZ #13919]
50863 [BZ #13920]
50864 [BZ #13921]
50865 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
50866 * sysdeps/ieee754/k_standard.c: Include <float.h>.
50867 (__kernel_standard_l): New function.
50868 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
50869 __kernel_standard.
50870 * math/w_acosl.c (__acosl): Likewise.
50871 * math/w_asinl.c (__asinl): Likewise.
50872 * math/w_atan2l.c (__atan2l): Likewise.
50873 * math/w_atanhl.c (__atanhl): Likewise.
50874 * math/w_coshl.c (__coshl): Likewise.
50875 * math/w_exp10l.c (__exp10l): Likewise.
50876 * math/w_exp2l.c (__exp2l): Likewise.
50877 * math/w_fmodl.c (__fmodl): Likewise.
50878 * math/w_hypotl.c (__hypotl): Likewise.
50879 * math/w_j0l.c (__j0l, __y0l): Likewise.
50880 * math/w_j1l.c (__j1l, __y1l): Likewise.
50881 * math/w_jnl.c (__jnl, __ynl): Likewise.
50882 * math/w_lgammal.c (__lgammal): Likewise.
50883 * math/w_log10l.c (__log10l): Likewise.
50884 * math/w_log2l.c (__log2l): Likewise.
50885 * math/w_logl.c (__logl): Likewise.
50886 * math/w_powl.c (__powl): Likewise.
50887 * math/w_remainderl.c (__remainderl): Likewise.
50888 * math/w_scalbl.c (sysv_scalbl): Likewise.
50889 * math/w_sinhl.c (__sinhl): Likewise.
50890 * math/w_sqrtl.c (__sqrtl): Likewise.
50891 * math/w_tgammal.c (__tgammal): Likewise.
50892 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
50893 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
50894 * math/libm-test.inc (acos_test): Add more tests.
50895 (acosh_test): Likewise.
50896 (asin_test): Likewise.
50897 (atanh_test): Likewise.
50898 (exp_test): Likewise.
50899 (exp10_test): Likewise.
50900 (exp2_test): Likewise.
50901 (expm1_test): Likewise.
50902 (lgamma_test): Likewise.
50903 (log_test): Likewise.
50904 (log10_test): Likewise.
50905 (log1p_test): Likewise.
50906 (log2_test): Likewise.
50907 (pow_test): Do not allow some spurious overflow exceptions.
50908 (sqrt_test): Add more tests.
50909 (tgamma_test): Likewise.
50910 (y0_test): Likewise.
50911 (y1_test): Likewise.
50912 (yn_test): Likewise.
50913
dd62fda6
AB
509142012-03-27 Anton Blanchard <anton@samba.org>
50915
50916 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
50917 MAP_HUGETLB.
50918 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50919 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50920 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50921
1e3cdfda
AJ
509222012-03-27 David S. Miller <davem@davemloft.net>
50923
b855ab85
DM
50924 * conform/Makefile: Run run-conformtest.sh using $(BASH).
50925
1e3cdfda
AJ
50926 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
50927 have-as-vis3 check.
50928
509292012-03-27 Andreas Jaeger <aj@suse.de>
50930
50931 * sysdeps/x86_64/elf/configure.in: Moved to ...
50932 * sysdeps/x86_64/configure.in: ... here.
50933 * sysdeps/x86_64/elf/start.S: Moved to ...
50934 * sysdeps/x86_64/start.S: ... here.
50935 * sysdeps/x86_64/elf/configure: Delete.
50936
50937 * sysdeps/x86_64/configure.in: Merge contents from
50938 sysdeps/i386/configure.in (without i686 check).
50939
50940 * sysdeps/i386/elf/Versions: Merge into ...
50941 * sysdeps/i386/Versions: ... this.
50942 * sysdeps/i386/elf/Versions: Delete file.
50943 * sysdeps/i386/elf/start.S: Moved to ...
50944 * sysdeps/i386/start.S: ...here.
50945 * sysdeps/i386/elf/configure.in: Merge into...
50946 * sysdeps/i386/configure.in: ...here.
50947 * sysdeps/i386/elf/configure.in: Delete file.
50948 * sysdeps/i386/elf/configure: Delete file.
50949
50950 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
50951 * debug/backtracesyms.c: ... here.
50952 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
50953 * debug/backtracesymsfd.c: ... here.
50954 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
50955 * sysdeps/generic/ifunc-sel.h: ... here.
50956
50957 * sysdeps/unix/i386/start.c: Delete file.
50958 * sysdeps/unix/sparc/start.c: Delete file.
50959 * sysdeps/unix/start.c: Delete file.
50960
50961 * sysdeps/sh/elf/configure.in: Moved to ...
50962 * sysdeps/sh/configure.in: ... here.
50963 * sysdeps/sh/elf/start.S: Moved to ...
50964 * sysdeps/sh/start.S: ... here.
50965 * sysdeps/sh/elf/configure: Delete file.
50966
50967 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
50968 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
50969 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
50970 * sysdeps/powerpc/powerpc64/entry.h: ... here.
50971 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
50972 * sysdeps/powerpc/powerpc64/start.S: here.
50973 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
50974 * sysdeps/powerpc/powerpc64/Makefile: ... this.
50975 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
50976 * sysdeps/powerpc/powerpc64/configure.in: ... this.
50977 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
50978
50979 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
50980 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
50981 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
50982 * sysdeps/powerpc/powerpc32/start.S: ... here.
50983 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
50984 * sysdeps/powerpc/powerpc32/configure.in: ... this.
50985 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
50986
50987 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
50988 * sysdeps/powerpc/ifunc-sel.h: ... here.
50989 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
50990 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
50991
50992 * sysdeps/sparc/elf/configure.in: Moved to ...
50993 * sysdeps/sparc/configure.in: ... here.
50994 * sysdeps/sparc/elf/configure: Delete file.
50995 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
50996 * sysdeps/sparc/sparc32/start.S: ... here.
50997 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
50998 * sysdeps/sparc/sparc64/start.S: ... here.
50999 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
51000 * sysdeps/sparc/sparc32/Makefile: ... this.
51001 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
51002 * sysdeps/sparc/sparc64/Makefile: ... this.
51003
51004 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
51005 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
51006 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
51007 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
51008 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
51009 * sysdeps/s390/s390-32/setjmp.S: ... here.
51010 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
51011 * sysdeps/s390/s390-32/configure.in: ... here.
51012 * sysdeps/s390/s390-32/elf/configure: Delete file.
51013 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
51014 * sysdeps/s390/s390-32/start.S: ... here.
51015
51016 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
51017 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
51018 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
51019 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
51020 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
51021 * sysdeps/s390/s390-64/setjmp.S: ... here.
51022 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
51023 * sysdeps/s390/s390-64/configure.in: ... here
51024 * sysdeps/s390/s390-64/elf/configure: Delete file.
51025 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
51026 * sysdeps/s390/s390-64/start.S: ... here.
51027 * sysdeps/s390/s390-64/elf/configure: Delete.
51028
51029 * configure.in: Remove support for elf directories in sysdeps.
51030
51031 * configure: Regenerated.
51032 * sysdeps/i386/configure: Regenerated.
51033 * sysdeps/powerpc/powerpc32/configure: Regenerated.
51034 * sysdeps/powerpc/powerpc64/configure: Regenerated.
51035 * sysdeps/s390/s390-32/configure: Regenerated.
51036 * sysdeps/s390/s390-64/configure: Regenerated.
51037 * sysdeps/sh/configure: Regenerated.
51038 * sysdeps/sparc/configure: Regenerated.
51039 * sysdeps/x86_64/configure: Regenerated.
51040
a3f61311
AS
510412012-03-26 Andreas Schwab <schwab@linux-m68k.org>
51042
c876e002
AS
51043 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51044
a3f61311
AS
51045 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
51046 denormal result into account.
51047
ac4c54f0
RM
510482012-03-25 Roland McGrath <roland@hack.frob.com>
51049
51050 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
51051 Reported by Allan McRae <allan@archlinux.org>.
51052
6a9b9c02
JL
510532012-03-23 Jeff Law <law@redhat.com>
51054
51055 * nss/getnssent.c (__nss_getent): Fix typo.
51056
4c42a0c1
DM
510572012-03-23 David S. Miller <davem@davemloft.net>
51058
51059 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51060
1532c7ac
L
510612012-03-23 H.J. Lu <hongjiu.lu@intel.com>
51062
51063 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
51064 to pad to uint64_t for each field.
51065 (dl_tls_index): Replace unsigned long with uint64_t.
51066
3ff42526
PP
510672012-03-23 Daniel Jacobowitz <dmj@google.com>
51068 Paul Pluzhnikov <ppluzhnikov@google.com>
51069
51070 [BZ #6528]
51071 * grp/Makefile (otherlibs): Don't set it.
51072 * inet/Makefile (otherlibs): Likewise.
51073 * login/Makefile (otherlibs): Likewise.
51074 * nscd/Makefile (otherlibs): Likewise.
51075 * posix/Makefile (otherlibs): Likewise.
51076 * pwd/Makefile (otherlibs): Likewise.
51077 * rt/Makefile (otherlibs): Likewise.
51078 * sunrpc/Makefile (otherlibs): Likewise.
51079 * nss/Makefile (otherlibs): Likewise.
51080 Add libnss_files to routines and static-only-routines.
51081 ($(objpfx)getent): Remove rule.
51082 * resolv/Makefile: Add libnss_dns and libresolv to routines and
51083 static-only-routines.
51084
7c69cd14
JM
510852012-03-22 Joseph Myers <joseph@codesourcery.com>
51086
51087 [BZ #13892]
51088 * math/s_cexp.c: Include <float.h>.
51089 (__cexp): Handle exp result overflowing not necessarily
51090 overflowing both real and imaginary parts of result.
51091 * math/s_cexpf.c: Likewise.
51092 * math/s_cexpl.c: Likewise.
51093 * math/libm-test.inc (cexp_test): Add more tests.
51094 * sysdeps/i386/fpu/libm-test-ulps: Update.
51095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51096
81b035fe
L
510972012-03-22 H.J. Lu <hongjiu.lu@intel.com>
51098
51099 * include/link.h (ELFW): New macro.
51100 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
51101 Replace ELF64_R_TYPE with ELFW(R_TYPE).
51102
1da7940c
L
511032012-03-22 H.J. Lu <hongjiu.lu@intel.com>
51104
51105 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
51106 with uint64_t.
51107
b749dbb9
L
511082012-03-22 H.J. Lu <hongjiu.lu@intel.com>
51109
51110 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
51111 declaration.
51112 (struct La_x32_retval): Likewise.
51113
2ff87f3f
L
511142012-03-22 H.J. Lu <hongjiu.lu@intel.com>
51115
51116 * sysdeps/x86_64/preconfigure.in: New file.
51117 * sysdeps/x86_64/preconfigure: New generated file.
51118
c0df8e69
JM
511192012-03-22 Joseph Myers <joseph@codesourcery.com>
51120
48e44791
JM
51121 [BZ #13824]
51122 * math/e_exp2l.c: Include <float.h>.
51123 (__ieee754_exp2l): Handle overflow and underflow cases
51124 separately. Only pass fractional part of argument to
51125 __ieee754_expl.
51126 * math/libm-test.inc (exp2_test): Add more tests.
51127
c0df8e69
JM
51128 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
51129 negating x to take absolute value.
51130 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
51131 Likewise.
51132 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
51133 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
51134 Likewise.
51135 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
51136 computing low part if x was negated.
51137 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
51138
c8e43ba7
L
511392012-03-21 H.J. Lu <hongjiu.lu@intel.com>
51140
51141 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
51142 la_x32_gnu_pltexit.
51143 (pltexit): Cast int_retval to ptrdiff_t.
51144 * elf/tst-auditmod3b.c: Likewise.
51145 * elf/tst-auditmod4b.c: Likewise.
51146 * elf/tst-auditmod5b.c: Likewise.
51147 * elf/tst-auditmod6b.c: Likewise.
51148 * elf/tst-auditmod6c.c: Likewise.
51149 * elf/tst-auditmod7b.c: Likewise.
51150
51151 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
51152 and x32_gnu_pltexit.
51153
51154 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
51155 __ELF_NATIVE_CLASS.
51156 (La_x32_regs): New macro.
51157 (La_x32_retval): Likewise.
51158 (la_x32_gnu_pltenter): New function prototype.
51159 (la_x32_gnu_pltexit): Likewise.
51160
7998fa78
AS
511612012-03-21 Andreas Schwab <schwab@linux-m68k.org>
51162
dcb33988
AS
51163 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
51164 exponent.
51165
233fc563
AS
51166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51167
7998fa78
AS
51168 * configure.in (libc_cv_cc_nofma): Check for option to disable
51169 generation of FMA instructions.
51170 * configure: Regenerate.
51171 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
51172 * sysdeps/ieee754/dbl-64/Makefile: New file.
51173 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
51174 Remove brandred-fma4.
51175 (CFLAGS-brandred-fma4.c): Remove.
51176 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
51177 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
51178 define.
51179 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
51180 define.
51181
8e95c99a
L
511822012-03-21 H.J. Lu <hongjiu.lu@intel.com>
51183
51184 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
51185 LLONG_MAX != LONG_MAX.
51186 (_itoa_word): Use _ITOA_WORD_TYPE on value.
51187 (_fitoa_word): Likewise.
51188 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
51189 LLONG_MAX != LONG_MAX.
51190 * stdio-common/_itowa.h: Include <_itoa.h>.
51191 (_itowa_word): Use _ITOA_WORD_TYPE on value.
51192 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
51193 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
51194 only if not defined.
51195 (_ITOA_WORD_TYPE): Likewise.
51196 (_itoa_word): Use _ITOA_WORD_TYPE on value.
51197 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
51198
6f4db457
DM
511992012-03-21 David S. Miller <davem@davemloft.net>
51200
51201 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51202
7785fe5a
L
512032012-03-21 H.J. Lu <hongjiu.lu@intel.com>
51204
51205 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
51206 of x86_64 when setting libc_cv_slibdir, libdir and
51207 libc_cv_localedir.
51208 * sysdeps/unix/sysv/linux/configure: Regenerated.
51209
4535cd55
JM
512102012-03-21 Joseph Myers <joseph@codesourcery.com>
51211
51212 * manual/lang.texi (Old Varargs): Remove section.
51213 (How Variadic): Update menu.
51214 (va_start): Do not mention varargs.h.
51215
17228132
TS
512162012-03-21 Thomas Schwinge <thomas@codesourcery.com>
51217 Joseph Myers <joseph@codesourcery.com>
51218
51219 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
51220 link test.
51221 * configure: Regenerated.
51222
8149f976
TS
512232012-03-21 Thomas Schwinge <thomas@codesourcery.com>
51224
05f3d1f6
UD
51225 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
51226 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
51227 conformtest.pl
8149f976 51228
1a4ac776
JM
512292012-03-21 Joseph Myers <joseph@codesourcery.com>
51230
be22ce65
JM
51231 * NOTES: Remove.
51232 * Makefile (files-for-dist): Remove NOTES.
51233 (NOTES): Remove rule.
51234 * README: Don't refer to NOTES.
51235 * manual/creature.texi: Don't include macros.texi.
51236 * manual/intro.texi (creature.texi): Remove comment referring to
51237 NOTES.
51238
40b601fb
JM
51239 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
51240 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
51241 * configure: Regenerated.
51242 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
51243 LIBC_TRY_CC_OPTION.
51244 (libc_cv_as_i686): Likewise.
51245 (libc_cv_cc_avx): Likewise.
51246 (libc_cv_cc_sse2avx): Likewise.
51247 (libc_cv_cc_fma4): Likewise.
51248 (libc_cv_cc_novzeroupper): Likewise.
51249 * sysdeps/i386/configure: Regenerated.
51250
1a4ac776
JM
51251 [BZ #13883]
51252 * sysdeps/i386/fpu/s_cexp.S: Remove.
51253 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
51254 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
51255 * math/libm-test.inc (cexp_test): Add more tests.
51256 * sysdeps/i386/fpu/libm-test-ulps: Update.
51257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51258
a458e7fe
AM
512592012-03-21 Allan McRae <allan@archlinux.org>
51260
51261 * timezone/Makefile: Do not install iso3166.tab and zone.tab
51262
0cb7efc5
JM
512632012-03-21 Joseph Myers <joseph@codesourcery.com>
51264
51265 [BZ #13871]
51266 * math/w_exp2.c: Do not include <float.h>.
51267 (o_threshold, u_threshold): Remove.
51268 (__exp2): Calculate result before checking finiteness and calling
51269 __kernel_standard.
51270 * math/w_exp2f.c: Likewise.
51271 * math/w_exp2l.c: Likewise.
51272 * math/libm-test.inc (exp2_test): Require overflow exception for
51273 1e6 input.
2460d3aa
JM
51274
51275 [BZ #3866]
51276 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
51277 range of signed 64-bit integers before using fistpll. Remove
51278 checks for whether integers fit in mantissa bits.
51279 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
51280 the range of signed 32-bit integers before using fistpl. Remove
51281 checks for whether integers fit in mantissa bits.
51282 * sysdeps/i386/fpu/e_powl.S (p64): New object.
51283 (__ieee754_powl): Test for y outside the range of signed 64-bit
51284 integers before using fistpll. Reduce 64-bit values to 63-bit
51285 ones as needed.
51286 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
51287 divide-by-zero is raised for zero to large negative powers.
51288 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
51289 (__ieee754_powl): Test for y outside the range of signed 64-bit
51290 integers before using fistpll. Reduce 64-bit values to 63-bit
51291 ones as needed.
51292 * math/libm-test.inc (pow_test): Add more tests.
51293
eb96ffb0
L
512942012-03-20 H.J. Lu <hongjiu.lu@intel.com>
51295
51296 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
51297 <stdio-common/_itoa.h>.
51298 * debug/segfault.c: Likewise.
51299 * elf/dl-cache.c: Likewise.
51300 * elf/dl-minimal.c: Likewise.
51301 * elf/dl-misc.c: Likewise.
51302 * elf/dl-sysdep.c: Likewise.
51303 * elf/dl-version.c: Likewise.
51304 * elf/rtld.c: Likewise.
51305 * hurd/hurdsock.c: Likewise.
51306 * hurd/lookup-retry.c: Likewise.
51307 * malloc/malloc.c: Likewise.
51308 * malloc/mtrace.c: Likewise.
51309 * nscd/nscd_getgr_r.c: Likewise.
51310 * nscd/nscd_getpw_r.c: Likewise.
51311 * nscd/nscd_getserv_r.c: Likewise.
51312 * posix/getopt_init.c: Likewise.
51313 * posix/wordexp.c: Likewise.
51314 * stdio-common/_itoa.c: Likewise.
51315 * stdio-common/printf_fphex.c: Likewise.
51316 * stdio-common/vfprintf.c: Likewise.
51317 * string/_strerror.c: Likewise.
51318 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
51319 * sysdeps/i386/i686/hp-timing.h: Likewise.
51320 * sysdeps/mach/_strerror.c: Likewise.
51321 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
51322 * sysdeps/mach/hurd/sethostid.c: Likewise.
51323 * sysdeps/mach/hurd/xmknodat.c: Likewise.
51324 * sysdeps/mach/xpg-strerror.c: Likewise.
51325 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51326 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
51327 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
51328 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
51329 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
51330 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
51331 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
51332 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
51333 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
51334 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
51335 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
51336 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
51337 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
51338 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
51339 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
51340 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
51341 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
51342 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
51343 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
51344 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
51345 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
51346
51347 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
51348
51349 * stdio-common/_itoa.h: Moved to ...
51350 * sysdeps/generic/_itoa.h: Here.
51351
51352 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
51353
51354 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
51355 instead of "_itoa.h" and "_itowa.h".
51356 * stdio-common/vfprintf.: Likewise.
51357
d1af992d
L
513582012-03-20 H.J. Lu <hongjiu.lu@intel.com>
51359
51360 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
51361 <bits/wordsize.h>.
51362 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
51363 (__signbit): Likwise.
51364 (llrintf): Likwise.
51365 (llrint): Likwise.
51366
114883e0
L
513672012-03-20 H.J. Lu <hongjiu.lu@intel.com>
51368
51369 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
51370 __WORDSIZE != 64.
51371
c135cc1b
JM
513722012-03-20 Joseph Myers <joseph@codesourcery.com>
51373
51374 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
51375 OVERFLOW_EXCEPTION_OK.
51376 * math/libm-test.inc ("Philosophy"): Update comment about
51377 exception testing.
51378 (OVERFLOW_EXCEPTION): Define.
51379 (OVERFLOW_EXCEPTION_OK): Likewise.
51380 (INVALID_EXCEPTION_OK): Renumber.
51381 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51382 (IGNORE_ZERO_INF_SIGN): Likewise.
51383 (test_exceptions): Handle FE_OVERFLOW.
51384 (exp10_test): Expect overflow exceptions.
51385 (exp2_test): Likewise.
51386 (expm1_test): Likewise.
51387 (nextafter_test): Likewise.
51388 (pow_test): Likewise.
51389 (scalbn_test): Likewise.
51390 (scalbln_test): Likewise.
51391
95443d88
L
513922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51393
51394 * sysdeps/x86_64/bits/atomic.h
51395 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
51396 64bit integer.
51397 (atomic_exchange_acq): Likewise.
51398 (__arch_exchange_and_add_body): Likewise.
51399 (__arch_add_body): Likewise.
51400 (atomic_add_negative): Likewise.
51401 (atomic_add_zero): Likewise.
51402
490df6c4
L
514032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51404
c2722551 51405 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
51406 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
51407
5e52b189
L
514082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51409
51410 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
51411 Check __x86_64__ instead of __WORDSIZE.
51412
a9879d4c
L
514132012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51414
51415 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
51416
5df98260
DM
514172012-03-19 David S. Miller <davem@davemloft.net>
51418
e1497744
DM
51419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51420
5df98260
DM
51421 * sysdeps/sparc/fpu/fenv_private.h: New file.
51422 * sysdeps/sparc/fpu/math_private.h: Use it.
51423 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
51424 Remove.
57f41c40 51425 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
51426 (libc_feholdexcept_setroundl): Remove.
51427 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
51428 Remove.
51429 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
51430 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
51431
b4c35121
L
514322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51433
51434 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
51435 int64_t instead of long int.
51436 (INSERT_WORDS64): Likwise.
51437
56965fd7
L
514382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
51439
51440 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
51441 _Unwind_GetCFA return to _Unwind_Ptr first.
51442
83d1aec8
JM
514432012-03-19 Joseph Myers <joseph@codesourcery.com>
51444
1897ad44
JM
51445 [BZ #13629]
51446 * math/s_clog.c: Include <float.h>.
51447 (__clog): Scale large or subnormal inputs.
51448 * math/s_clogf.c: Likewise.
51449 * math/s_clogl.c: Likewise.
51450 * math/s_clog10.c: Include <float.h>.
51451 (M_LOG10_2): Define.
51452 (__clog10): Scale large or subnormal inputs.
51453 * math/s_clog10f.c: Likewise.
51454 * math/s_clog10l.c: Likewise.
51455 * math/libm-test.inc (clog_test): Add more tests.
51456 (clog10_test): Likewise.
51457 * sysdeps/i386/fpu/libm-test-ulps: Update.
51458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51459
7726d6a9
JM
51460 [BZ #11451]
51461 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
51462 x and y.
51463 * math/libm-test.inc (atan2_test): Add another test.
51464
83d1aec8
JM
51465 * Makerules (common-objdir-compile): Remove.
51466 * sysdeps/unix/Makefile (config-generated): Do not add
51467 $(unix-generated) to variable.
51468 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
51469 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
51470 Remove rule.
51471 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
51472 Likewise.
51473 [generic bits/local_lim.h] (before-compile): Do not append to
51474 variable.
51475 [generic bits/local_lim.h] (common-generated): Likewise.
51476 [generic sys/param.h] (before-compile): Do not append to variable.
51477 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
51478 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
51479 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
51480 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
51481 include.
51482 [generic sys/param.h] (sys/param.h-includes): Remove variable.
51483 [generic sys/param.h] (sys/param.h-includes): Remove rule.
51484 [generic sys/param.h] ($(addprefix
51485 $(common-objpfx),$(sys/param.h-includes))): Likewise.
51486 [generic sys/param.h] (common-generated): Do not append to
51487 variable.
51488 [generic sys/param.h] (sysdep_headers): Likewise.
51489 [generic bits/errno.h] (before-compile): Do not append to
51490 variable.
51491 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
51492 rule.
51493 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
51494 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
51495 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
51496 [generic bits/errno.h] (common-generated): Do not append to
51497 variable.
51498 [generic bits/ioctls.h] (before-compile): Do not append to
51499 variable.
51500 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
51501 rule.
51502 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
51503 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
51504 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
51505 rule.
51506 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
51507 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
51508 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
51509 [generic bits/ioctls.h] (common-generated): Do not append to
51510 variable.
51511 [generic sys/syscall.h] (syscall.h): Remove variable.
51512 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
51513 rule.
51514 [generic sys/syscall.h] (before-compile): Do not append to
51515 variable.
51516 [generic sys/syscall.h] (common-generated): Likewise.
51517 * sysdeps/unix/errnos-tmpl.c: Remove file.
51518 * sysdeps/unix/errnos.awk: Likewise.
51519 * sysdeps/unix/ioctls-tmpl.c: Likewise.
51520 * sysdeps/unix/ioctls.awk: Likewise.
51521 * sysdeps/unix/mk-local_lim.c: Likewise.
51522 * sysdeps/unix/snarf-ioctls: Likewise.
51523
4851a949
RH
515242012-03-19 Richard Henderson <rth@twiddle.net>
51525
bd37f2ee
RH
51526 * sysdeps/i386/fpu/fenv_private.h: New file.
51527 * sysdeps/i386/fpu/math_private.h: Use it.
51528 (math_opt_barrier, math_force_eval): Remove.
51529 (libc_feholdexcept_setround_53bit): Remove.
51530 (libc_feupdateenv_53bit): Remove.
51531 * sysdeps/x86_64/fpu/math_private.h: Likewise.
51532 (math_opt_barrier, math_force_eval): Remove.
51533 (libc_feholdexcept): Remove.
51534 (libc_feholdexcept_setround): Remove.
51535 (libc_fetestexcept, libc_fesetenv): Remove.
51536 (libc_feupdateenv_test): Remove.
51537 (libc_feupdateenv, libc_feholdsetround): Remove.
51538 (libc_feresetround): Remove.
51539
d0adc922
RH
51540 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
51541 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
51542
0fe0f1f8
RH
51543 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
51544 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
51545 (libc_feupdateenv_testl): New.
51546 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
51547 (libc_feupdateenv_testf): New.
51548 (libc_feupdateenv): Use libc_feupdateenv_test.
51549 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
51550 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
51551
eb92c487
RH
51552 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
51553 (libc_feholdsetroundf, libc_feholdsetroundl): New.
51554 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
51555 (libc_feresetround_noex): New.
51556 (libc_feresetround_noexf): New.
51557 (libc_feresetround_noexl): New.
51558 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
51559 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
51560 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
51561 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
51562 SET_RESTORE_ROUND.
51563 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
51564 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
51565 (__cos): Likewise.
51566 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
51567 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
51568 SET_RESTORE_ROUND_NOEX.
51569 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
51570 SET_RESTORE_ROUND_NOEXF.
51571 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
51572 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
51573 (libc_feholdsetroundf): New.
51574 (libc_feresetround, libc_feresetroundf): New.
51575
7d2e8012
RH
51576 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
51577 (libc_feholdexcept_setround_53bit): Convert from macro to function.
51578 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
51579
b4dabbb4
RH
51580 * sysdeps/generic/math_private.h: Include <fenv.h>.
51581 (default_libc_feholdexcept): New.
51582 (default_libc_feholdexcept_setround): New.
51583 (default_libc_fesetenv, default_libc_feupdateenv): New.
51584 (libc_feholdexcept): Only define if undefined.
51585 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
51586 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
51587 (libc_feholdexcept_setroundl): Likewise.
51588 (libc_feholdexcept_setround_53bit): Likewise.
51589 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
51590 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
51591 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
51592 (libc_feupdateenv_53bit): Likewise.
51593 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
51594 (libc_feholdexcept): Convert from macro to inline function.
51595 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
51596 (libc_fesetenv, libc_feupdateenv): Likewise.
51597
4851a949
RH
51598 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
51599 not previously defined.
51600 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
51601 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
51602 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
51603 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
51604 * sysdeps/ieee754/flt-32/math_private.h: New file.
51605 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
51606 math_private.h below SET_FLOAT_WORD.
51607 (__isnan, __isinf_ns, __finite): Remove.
51608 (__isnanf, __isinf_nsf, __finitef): Remove.
51609
e79d442e
AS
516102012-03-18 Andreas Schwab <schwab@linux-m68k.org>
51611
51612 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51613
90b80344
DM
516142012-03-17 David S. Miller <davem@davemloft.net>
51615
51616 [BZ #6471]
51617 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
51618 for 2.16.
51619
edc21804
DM
516202012-03-16 David S. Miller <davem@davemloft.net>
51621
77e927af
DM
51622 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
51623 warnings.
51624
374976dd
DM
51625 [BZ #6471]
51626 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
51627 properly.
51628 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
51629 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
51630 sysdep_routines when subdir is sysvipc.
51631 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
51632 __getshmlba helper.
51633
edc21804
DM
51634 * sysdeps/sparc/fpu/libm-test/ulps: Update.
51635
473c3ef3
L
516362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51637
51638 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
51639 [__LP64__].
51640
eb0f39b6
L
516412012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51642
51643 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
51644 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
51645 (__lround): Renamed to ...
51646 (__llround): This. Replace long int with long long int.
51647 Define lround functions as aliases of llround functions.
51648 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
51649
6b6cd74b
L
516502012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51651
51652 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
51653 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
51654 adresses to uintptr_t. Replace "long int" and "unsigned long
51655 int" with "greg_t" on va_arg.
51656
f1a77b01
L
516572012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51658
51659 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
51660 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
51661
51662 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
51663 Move e_machine check before EI_CLASS check. Handle x32
51664 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
51665 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
51666 SKIP_EM_IA_64 and include
51667 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
51668
51669 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
51670 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
51671 (add_system_dir): New macro.
51672
51673 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
51674 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
51675
11b90b9f
JM
516762012-03-16 Joseph Myers <joseph@codesourcery.com>
51677
c36e1d23
JM
51678 [BZ #2551]
51679 [BZ #2552]
51680 [BZ #2553]
51681 [BZ #2554]
51682 [BZ #2562]
51683 [BZ #2563]
51684 [BZ #2565]
51685 [BZ #2566]
51686 [BZ #2576]
51687 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
51688 (y0): Likewise.
51689 * math/w_j0f.c (j0f): Likewise.
51690 (y0f): Likewise.
51691 * math/w_j0l.c (__j0l): Likewise.
51692 (__y0l): Likewise.
51693 * math/w_j1.c (j1): Likewise.
51694 (y1): Likewise.
51695 * math/w_j1f.c (j1f): Likewise.
51696 (y1f): Likewise.
51697 * math/w_j1l.c (__j1l): Likewise.
51698 (__y1l): Likewise.
51699 * math/w_jn.c (jn): Likewise.
51700 (yn): Likewise.
51701 * math/w_jnf.c (jnf): Likewise.
51702 (ynf): Likewise.
51703 * math/w_jnl.c (__jnl): Likewise.
51704 (__ynl): Likewise.
51705 * math/libm-test.inc (j0_test): Add more tests.
51706 (j1_test): Likewise.
51707 (jn_test): Likewise. Add trailing semicolon to existing test.
51708 (y0_test): Likewise.
51709 (y1_test): Likewise.
51710 * sysdeps/i386/fpu/libm-test-ulps: Update.
51711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51712
11b90b9f
JM
51713 [BZ #13851]
51714 [BZ #13854]
51715 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
51716 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
51717 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
51718 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
51719 (__tanl): Set errno for infinite argument.
51720 * sysdeps/i386/fpu/mptan.c: Remove.
51721 * sysdeps/i386/fpu/s_tan.S: Likewise.
51722 * sysdeps/i386/fpu/s_tanl.S: Likewise.
51723 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
51724 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
51725 * math/libm-test.inc (tan_test): Add more tests and enable more
51726 tests for double and long double.
51727 * sysdeps/i386/fpu/libm-test-ulps: Update.
51728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51729
6a1bd2a1
JK
517302012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
51731
51732 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
51733 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
51734
10a803e0
RM
517352012-03-16 Roland McGrath <roland@hack.frob.com>
51736
51737 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
51738 * configure.in: Use it for both main tree and add-ons.
51739 * configure: Regenerated.
51740
f196c7f7
L
517412012-03-16 H.J. Lu <hongjiu.lu@intel.com>
51742
51743 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
51744
8848d99d
JM
517452012-03-16 Joseph Myers <joseph@codesourcery.com>
51746
96cbe7f4
JM
51747 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
51748 in comment.
51749
8848d99d
JM
51750 [BZ #13851]
51751 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
51752 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
51753 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
51754 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
51755 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
51756 infinite argument.
51757 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
51758 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
51759 != 0 for prec == 2.
51760 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
51761 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
51762 * sysdeps/i386/fpu/s_cosl.S: Likewise.
51763 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
51764 * sysdeps/i386/fpu/s_sinl.S: Likewise.
51765 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
51766 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
51767 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
51768 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
51769 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
51770 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
51771 * math/libm-test.inc (cos_test): Add more tests and enable more
51772 tests for long double.
51773 (sin_test): Likewise.
51774 (sincos_test): Likewise.
51775 * sysdeps/i386/fpu/libm-test-ulps: Update.
51776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51777
dd7f4703
DM
517782012-03-16 David S. Miller <davem@davemloft.net>
51779
51780 * sysdeps/sparc/fpu/math_private.h: New file.
51781
006f1daa
DM
517822012-03-15 David S. Miller <davem@davemloft.net>
51783
c0c83bc8
DM
51784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
51785 file.
e6a62e18 51786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
51787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
51788 file.
e6a62e18
DM
51789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
51790 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
51791 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
51792 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
51793 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
51794 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
51795 sysdep routines.
51796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51797
88cb87d9
DM
51798 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
51799 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
51800
006f1daa 51801 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
51802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
51803 sparc-ifunc.h
006f1daa 51804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
51805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
51806 Likewise.
51807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
51808 Likewise.
006f1daa
DM
51809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
51810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
51811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
51812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
51813 Likewise.
006f1daa
DM
51814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
51816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
51818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
51819 Likewise.
51820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
51821 Likewise.
006f1daa
DM
51822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
51824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
51825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
51826 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
51827 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
51828 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
51829 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
51830 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
51831 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
51832 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
51833 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
51834 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
51835 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
51836 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
51837 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
51838 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
51839 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
51840 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
51841 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
51842 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
51843 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
51844 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
51845 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
51846
11e0098e
AS
518472012-03-15 Andreas Schwab <schwab@linux-m68k.org>
51848
51849 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
51850 scaling.
51851 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51852
e85b09d0
AJ
518532012-03-15 Andreas Jaeger <aj@suse.de>
51854
51855 [BZ #13852]
51856 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
51857 ieee754/flt-32 implementation for sin, cos and sincos.
51858 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
51859 * sysdeps/i386/fpu/s_cosf.S: Likewise.
51860 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
51861 * sysdeps/i386/fpu/s_sinf.S: Likewise.
51862 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
51863 ieee754/flt-32 implementation for tan.
51864
51865 * math/libm-test.inc (cos_test): Enable some large input tests for
51866 float as well
51867 (sin_test): Likewise.
51868 (sincos_test): Likewise.
51869 (tan_test): Add tests for large input.
51870
51871 * sysdeps/i386/fpu/libm-test-ulps: Update.
51872
81c64153
AJ
518732012-03-15 Andreas Jaeger <aj@suse.de>
51874
51875 [BZ #13658]
51876 * math/libm-test.inc (cos_test): Add more test cases.
51877 (sin_test): Likewise.
51878 (sincos_test): Likewise.
51879
7bbfa5c6
AJ
518802012-03-15 Andreas Jaeger <aj@suse.de>
51881
51882 [BZ #13837]
51883 * math/libm-test.inc (cos_test): Add a test case for large input
51884 value.
51885 (sin_test): Likewise.
51886 (sincos_test): Likewise.
51887
57f41c40
AS
518882012-03-15 Andreas Jaeger <aj@suse.de>
51889 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
51890
51891 [BZ #13658]
0671f479 51892 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
51893 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
51894 * sysdeps/i386/fpu/branred.c: Likewise.
51895 * sysdeps/i386/fpu/dosincos.c: Likewise.
51896 * sysdeps/i386/fpu/mpa.c: Likewise.
51897 * sysdeps/i386/fpu/s_cos.S: Likewise.
51898 * sysdeps/i386/fpu/s_sin.S: Likewise.
51899 * sysdeps/i386/fpu/s_sincos.S: Likewise.
51900 * sysdeps/i386/fpu/sincos32.c: Likewise.
51901
51902 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
51903 Define.
51904 (libc_feupdateenv_53bit): Define.
51905 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
51906 Define.
51907 (libc_feupdateenv_53bit): Define.
51908
51909 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
51910 53 bit (without extend i386 double precision).
51911
51912 * math/libm-test.inc (sincos_test): Add tests for large input.
51913 (sin): Likewise.
51914 (cos): Likewise.
51915
51916 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
51917
9cad04ea
AS
519182012-03-15 Andreas Schwab <schwab@linux-m68k.org>
51919
51920 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51921
f7062b9a
DM
519222012-03-15 David S. Miller <davem@davemloft.net>
51923
51924 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
51925 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
51926 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
51927 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
51928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
51929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
51930 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
51931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
51932 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
51933 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
51934 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
51935 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
51936 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
51937 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
51938 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
51939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
51940 file.
f7062b9a 51941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
51942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
51943 file.
f7062b9a 51944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
51945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
51946 file.
f7062b9a 51947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
51948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
51949 file.
f7062b9a
DM
51950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
51951 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
51952 fmin/fmax sysdep routines.
51953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51954
7bd951ff
DM
519552012-03-14 David S. Miller <davem@davemloft.net>
51956
559398ab
DM
51957 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
51958 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
51959 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
51960 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
51961 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
51962 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
51963 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
51964 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
51965 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
51966 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
51967 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
51968 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
51969 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
51970 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
51971 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
51972 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
51973 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
51974 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
51975 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
51976 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
51977 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
51978 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
51979 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
51980 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
51981 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
51982 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
51983 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
51984 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
51985 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
51986 routines.
51987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
51988 file.
559398ab 51989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
51990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
51991 file.
559398ab 51992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
51993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
51994 file.
559398ab 51995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
51996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
51997 file.
559398ab 51998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
51999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
52000 file.
559398ab 52001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
52002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
52003 file.
52004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
52005 file.
52006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
52007 file.
52008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
52009 file.
52010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
52011 New file.
52012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
52013 file.
52014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
52015 file.
559398ab 52016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
52017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
52018 file.
559398ab 52019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
52020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
52021 file.
559398ab 52022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
52023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
52024 file.
559398ab 52025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
52026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
52027 VIS3 routines.
559398ab
DM
52028
52029 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
52030 New file.
52031
5a1c1e32
DM
52032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52033
eae47a36
DM
52034 * sysdeps/sparc/configure.in: New file.
52035 * sysdeps/sparc/configure: Generate.
52036 * configure.in (libc_cv_sparc_as_vis3): Substitute.
52037 * configure: Regenerate.
52038 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
52039 * config.make.in (have-as-vis3): New.
52040 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
52041 available use -Av9d instead of -Av9a.
52042 * sysdeps/sparc/sparc64/Makefile: Likewise.
52043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
52044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
52045 New file.
52046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
52047 file.
52048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
52049 New file.
52050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
52051 file.
eae47a36
DM
52052 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
52053 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
52054 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
52055 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
52056 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
52057
c0c83bc8
DM
52058 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
52059 fzeros/fnegs to load 0x80000000 into a float register instead of
52060 using the stack.
7bd951ff
DM
52061 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
52062
bd951ccb
JM
520632012-03-14 Joseph Myers <joseph@codesourcery.com>
52064
52065 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52066 bits/syscall.h.
52067 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
52068 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
52069 ($(inst_includedir)/bits/syscall.h): Remove rule.
52070 ($(objpfx)bits/syscall.d): Include instead of
52071 $(objpfx)syscall-list.d.
52072 (generated): Change syscall-list.h and syscall-list.d to
52073 bits/syscall.h and bits/syscall.d.
52074
bb4e6db2
RM
520752012-03-14 Roland McGrath <roland@hack.frob.com>
52076
52077 [BZ #13846]
52078 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
52079
aa4a2ae1
JM
520802012-03-14 Joseph Myers <joseph@codesourcery.com>
52081
e456826d
JM
52082 [BZ #13841]
52083 * math/s_csqrt.c: Include <float.h>.
52084 (__csqrt): Scale large or subnormal inputs.
52085 * math/s_csqrtf.c: Likewise.
52086 * math/s_csqrtl.c: Likewise.
52087 * math/libm-test.inc (csqrt_test): Add more tests.
52088 * sysdeps/i386/fpu/libm-test-ulps: Update.
52089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52090
aa4a2ae1
JM
52091 [BZ #13840]
52092 * math/libm-test.inc (hypot_test): Add more tests.
52093
7c10fd35
DM
520942012-03-13 David S. Miller <davem@davemloft.net>
52095
52096 [BZ #13840]
52097 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
52098 double-precision for the calculation instead of scaling.
52099
f453b98b
JM
521002012-03-13 Joseph Myers <joseph@codesourcery.com>
52101
52102 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
52103 manipulate bits before adding and subtracting TWO52[sx].
52104 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
52105 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
52106 Likewise.
52107 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
52108
09a3453f
DM
521092012-03-13 David S. Miller <davem@davemloft.net>
52110
8e59da90
DM
52111 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
52112 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
52113 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
52114 rtld-global-offsets.h
52115 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52116
2a8ab7f2
DM
52117 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
52118 large parameters.
52119
10f62770
DM
52120 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
52121
5f0bdb18
DM
52122 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
52123 'err' in the ifdef scope in which it is actually used.
52124
09a3453f
DM
52125 * nss/nss_db/db-init.c: Include string.h
52126
b4b2eb5e
DM
521272012-03-12 David S. Miller <davem@davemloft.net>
52128
98bb2f1c
DM
52129 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52130 masking out of the most significant byte of random value used.
52131 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52132 Fix coding style in previous change.
52133
b4b2eb5e
DM
52134 * sysdeps/unix/sysv/linux/kernel-features.h
52135 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
52136 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
52137 expression.
52138 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
52139 later.
52140
6e226b09
DM
521412012-03-11 David S. Miller <davem@davemloft.net>
52142
a1bcbd40
DM
52143 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
52144 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
52145 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
52146 for 'resultvar' otherwise things get truncated on 64-bit.
52147
cb9d6174
DM
52148 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52149 Fix masking out of the most significant byte of random value used.
52150
6e226b09
DM
52151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52152
058c132d
AS
521532012-03-10 Andreas Schwab <schwab@linux-m68k.org>
52154
52155 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52156
2d2cd515
DM
521572012-03-09 David S. Miller <davem@davemloft.net>
52158
52159 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
52160 variables with appropriate CPP guards.
57f41c40
AS
52161 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
52162 from the frame pointer, not the stack pointer. Correct layout
52163 comments. Fix test on resulting framesize and the management of
52164 the outregs buffer for pltexit. Preserve floating point return
52165 values across _dl_call_pltexit call.
2d2cd515
DM
52166 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
52167 framesize and the management of the outregs buffer for pltexit.
52168 Preserve floating point return values across _dl_call_pltexit
52169 call.
57f41c40
AS
52170 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
52171 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
52172 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
52173 (print_exit): Fix format string for return register value.
52174
9a07f9d0
JM
521752012-03-10 Joseph Myers <joseph@codesourcery.com>
52176
52177 * sunrpc/Makefile (others): Add rpcgen.
52178 ($(objpfx)rpcgen): Remove special build rule and dependency on
52179 libc.
52180 * sunrpc/rpcgen.c: New file.
52181
547b5e30
PE
521822012-03-09 Paul Eggert <eggert@cs.ucla.edu>
52183
c524201a
PE
52184 [BZ #13673]
52185 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
52186 * stdio-common/bug-vfprintf-nargs.c: Likewise.
52187 * sysdeps/i386/crti.S: Likewise.
52188 * sysdeps/i386/crtn.S: Likewise.
52189 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
52190 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
52191 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
52192 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
52193 * sysdeps/sh/crti.S: Likewise.
52194 * sysdeps/sh/crtn.S: Likewise.
52195 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
52196
7b6235f2
PE
52197 [BZ #13673]
52198 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
52199 with URL.
52200 * locale/programs/locfile-kw.gperf: Likewise.
52201 * locale/programs/charmap-kw.h: Regenerated.
52202 * locale/programs/locfile-kw.h: Likewise.
52203
547b5e30
PE
52204 [BZ #13673]
52205 * intl/plural.y: Replace FSF snail mail address with URL.
52206 * intl/plural.c: Regenerated.
52207
5f0a5dae
RH
522082012-03-09 Richard Henderson <rth@twiddle.net>
52209
52210 * include/math_private.h: Remove file.
52211 * math/math_private.h: Move file ...
52212 * sysdeps/generic/math_private.h: ... here.
52213
b8c03620
RH
52214 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
52215 * sysdeps/powerpc/fpu/math_private.h: Likewise.
52216 * sysdeps/x86_64/fpu/math_private.h: Likewise.
52217
4e234f5d 52218 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
52219 and <math_private.h>.
52220 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52221 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52222 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52223 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52224 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52225 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
52226 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52227 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52228 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52229 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52230 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52231 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52232 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52233 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52234 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52235 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52236 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52237 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52238 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52239 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52240 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52241 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52242 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52243 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52244 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
52245 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52246 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52247 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52248 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52249 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52250 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52251 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52252 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
52253 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52254 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52255 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52256 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52257 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52258 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52259 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52260 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
52261 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52262 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52263 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
52264 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
52265 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52266 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
52267 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
52268 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52269 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52270 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
52271 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
52272 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
52273 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52274 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
52275 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52276 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52277 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
52278 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
52279 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
52280 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52281 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
52282 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52283 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52284 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
52285 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52286 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52287 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52288 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
52289 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
52290 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
52291 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52292 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
52293 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52294 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
52295 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
52296 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
52297 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52298 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
52299 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
52300 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
52301 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
52302 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
52303 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52304 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52305 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
52306 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
52307 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
52308 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52309 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52310 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52311 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52312 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52313 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52314 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52315 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52316 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52317 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52318 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52319 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52320 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52321 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52322 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52323 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52324 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52325 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52326 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52327 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52328 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52329 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52330 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52331 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52332 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52333 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52334 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
52335 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52336 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52337 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52338 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52339 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52340 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52341 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52342 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52343 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
52344 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52345 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52346 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52347 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
52348 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52349 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
52350 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
52351 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52352 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52353 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
52354 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
52355 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
52356 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52357 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52358 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
52359 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52360 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52361 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
52362 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
52363 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
52364 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
52365 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52366 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52367 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52368 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
52369 * sysdeps/ieee754/k_standard.c: Likewise.
52370 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52371 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52372 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52373 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52374 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52375 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52376 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52377 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52378 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52379 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52380 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52381 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52382 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52383 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52384 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52385 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52386 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
52387 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52388 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52389 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
52390 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
52391 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
52392 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52393 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52394 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
52395 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
52396 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52397 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52398 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52399 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52400 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
52401 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52402 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52403 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52404 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
52405 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52406 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52407 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
52408 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
52409 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52410 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
52411 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
52412 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
52413 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52414 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
52415 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
52416 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52417 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52418 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52419 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52420 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52421 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
52422 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52423 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
52424 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52425 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52426 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
52427 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
52428 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52429 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52430 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52431 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
52432 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52433 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52434 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52435 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52436 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52437 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52438 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52439 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52440 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52441 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52442 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52443 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52444 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52445 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52446 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
52447 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52448 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52449 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
52450 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
52451 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
52452 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52453 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52454 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
52455 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52456 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52457 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
52458 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
52459 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52460 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
52461 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52462 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
52463 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
52464 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52465 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52466 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
52467 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
52468 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
52469 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
52470 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52471 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52472 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52473 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52474 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
52475 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52476 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52477 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
52478 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
52479 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52480 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52481 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52482 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52483 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52484 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52485 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52486 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52487 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52488 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52489 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52490 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52491 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52492 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52493 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52494 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52495 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
52496 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52497 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52498 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52499 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52500 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52501 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52502 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52503 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
52504 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52505 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52506 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
52507 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
52508 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52509 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
52510 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
52511 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52512 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
52513 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
52514 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
52515 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52516 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52517 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52518 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52519 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
52520 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52521 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52522 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
52523 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52524 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
52525 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
52526 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52527 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52528 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52529 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
52530 * sysdeps/ieee754/s_lib_version.c: Likewise.
52531 * sysdeps/ieee754/s_matherr.c: Likewise.
52532 * sysdeps/ieee754/s_signgam.c: Likewise.
52533 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52534 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52535 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
52536 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
52537 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
52538 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
52539 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
52540 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
52541 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
52542 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
52543 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
52544 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
52545 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
52546 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52547 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
52548 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
52549 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52550 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
52551 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52552 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52553 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 52554
1991fa03
JM
525552012-03-09 Joseph Myers <joseph@codesourcery.com>
52556
52557 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
52558 * sunrpc/rpc_main.c: Likewise.
52559 * sunrpc/rpc_svcout.c: Likewise.
52560
60d6f5a6
DM
525612012-03-09 David S. Miller <davem@davemloft.net>
52562
52563 * include/math_private.h: New file.
52564
4962050e
JM
525652012-03-09 Joseph Myers <joseph@codesourcery.com>
52566
02a6f887
JM
52567 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
52568 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
52569 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
52570 from <bits/socket_type.h>.
52571 (enum __socket_type): Don't define here.
52572 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
52573 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52574 bits/socket_type.h.
52575
c6e013c1
JM
52576 [BZ #13566]
52577 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
52578 checking __USE_GNU.
52579
4962050e
JM
52580 * Makerules ($(inst_includedir)/%.h): New rule.
52581 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
52582 (install-others): Remove variable setting.
52583 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
52584
38842f45
RH
525852012-03-08 Richard Henderson <rth@twiddle.net>
52586
67bb6da6
RH
52587 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
52588 from macro to inline function; merge with the
52589 !__LIBC_INTERNAL_MATH_INLINES version.
52590 (__ieee754_sqrtf): Likewise.
52591
15194b4b
RH
52592 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
52593 to inline function.
52594 (__rintf, __floor, __floorf): Likewise.
52595
64e21ede
RH
52596 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
52597 macro to inline function.
52598 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
52599
38842f45
RH
52600 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
52601 not <math/math_private.h>.
52602
c64bf5fe
DM
526032012-03-08 David S. Miller <davem@davemloft.net>
52604
52605 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
52606 copyright year.
52607 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
52608
82d86f28
TS
526092012-03-08 Thomas Schwinge <thomas@codesourcery.com>
52610
52611 * resolv/gai_misc.c (handle_requests): Fix struct timespec
52612 normalization.
52613 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
52614 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
52615
aea5d727
UD
526162012-03-08 Ulrich Drepper <drepper@gmail.com>
52617
52618 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
52619 be defined individually, they must be defined as a block. Define
52620 S for printing a string instead of hidint the different by using a
52621 macro for adding the 'l'.
52622 * stdio-common/tst-fphex-wide.c: Adjust.
52623
70bca0a3
MP
526242012-03-07 Marek Polacek <polacek@redhat.com>
52625
52626 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
52627
65b81130
MP
526282012-03-08 Marek Polacek <polacek@redhat.com>
52629
52630 [BZ #13806]
52631 * stdio-common/Makefile (tests): Add tst-fphex-wide.
52632 * stdio-common/tst-fphex.c: Define a few macros to make the
52633 test reusable. Use them.
52634 * stdio-common/tst-fphex-wide.c: New file.
52635
07037eeb
JM
526362012-03-08 Joseph Myers <joseph@codesourcery.com>
52637
a7a93d50
JM
52638 [BZ #6911]
52639 * manual/macros.texi (gnusystems): New macro.
52640 (nongnusystems): Likewise.
52641 (gnulinuxhurdsystems): Likewise.
52642 (gnuhurdsystems): Likewise..
52643 (gnulinuxsystems): Likewise.
52644 * manual/charset.texi: Use new macros or @theglibc{} to refer to
52645 variants of the GNU system, not "GNU system".
52646 * manual/conf.texi: Likewise.
52647 * manual/errno.texi: Likewise. Update example of errno macro
52648 expansion.
52649 * manual/filesys.texi: Likewise.
52650 (getumask): Document as specific to GNU/Hurd.
52651 * manual/install.texi: Likewise. Reword some references to
52652 GNU/Linux.
52653 * manual/intro.texi: Likewise.
52654 * manual/io.texi: Likewise.
52655 (File Name Portability): Detail which constraints are inapplicable
52656 to all GNU systems and which are only inapplicable to GNU/Hurd.
52657 * manual/job.texi: Likewise.
52658 * manual/llio.texi: Likewise.
52659 (O_NOCTTY): Document as present on GNU/Linux.
52660 * manual/maint.texi: Likewise.
52661 * manual/memory.texi: Likewise.
52662 * manual/pattern.texi: Likewise.
52663 * manual/pipe.texi: Likewise.
52664 * manual/process.texi: Likewise.
52665 * manual/resource.texi: Likewise.
52666 (RUSAGE_CHILDREN): Remove statement about specifying a particular
52667 child on GNU/Hurd.
52668 * manual/setjmp.texi: Likewise.
52669 * manual/signal.texi: Likewise.
52670 * manual/startup.texi: Likewise.
52671 * manual/stdio.texi: Likewise.
52672 * manual/terminal.texi: Likewise.
52673 (ONLCR): Document as POSIX.
52674 (OXTABS): Document availability on GNU/Linux as XTABS.
52675 (ONOEOT): Document availability separately from other bits.
52676 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
52677 * manual/time.texi: Likewise.
52678 * manual/users.texi: Likewise.
52679 * INSTALL: Regenerated.
52680 * sysdeps/gnu/errlist.c: Regenerated.
52681
07037eeb
JM
52682 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
52683 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
52684 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
52685 puts.
52686 * configure: Regenerated.
52687
d1d3431a
JM
526882012-03-07 Joseph Myers <joseph@codesourcery.com>
52689
af6a1e37
JM
52690 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
52691 default includes instead of AC_HEADER_CHECK.
52692 * sysdeps/i386/configure: Regenerated.
52693
d1d3431a
JM
52694 [BZ #10716]
52695 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
52696 * math/s_cacoshf.c (__cacoshf): Likewise.
52697 * math/s_cacoshl.c (__cacoshl): Likewise.
52698 * math/s_casinh.c (__casinh): Set signs of result from argument.
52699 * math/s_casinhf.c (__casinhf): Likewise.
52700 * math/s_casinhl.c (__casinhl): Likewise.
52701 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
52702 (casinh_test): Add more tests.
52703 * sysdeps/i386/fpu/libm-test-ulps: Update.
52704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52705
482ff4da
UD
527062012-03-07 Ulrich Drepper <drepper@gmail.com>
52707
872fda05
UD
52708 * po/zh_TW.po: Update from translation team.
52709
a4300c7a
UD
52710 * login/Makefile (distribute): Remove variable.
52711 * catgets/Makefile: Likewise.
52712 * mach/Makefile: Likewise.
52713 * malloc/Makefile: Likewise.
52714 * misc/Makefile: Likewise.
52715 * iconv/Makefile: Likewise.
52716 * nscd/Makefile: Likewise.
52717 * hurd/Makefile: Likewise.
52718 * manual/Makefile: Likewise.
52719 * locale/Makefile: Likewise.
52720 * intl/Makefile: Likewise.
52721 * conform/Makefile: Likewise.
52722 * nss/Makefile: Likewise.
52723 * time/Makefile: Likewise.
52724 * soft-fp/Makefile: Likewise.
52725 * dirent/Makefile: Likewise.
52726 * gmon/Makefile: Likewise.
52727 * po/Makefile: Likewise.
52728 * rt/Makefile: Likewise.
52729 * socket/Makefile: Likewise.
52730 * math/Makefile: Likewise.
52731 * signal/Makefile: Likewise.
52732 * debug/Makefile: Likewise.
52733 * elf/Makefile: Likewise.
52734 * timezone/Makefile: Likewise.
52735 * stdlib/Makefile: Likewise.
52736 * iconvdata/Makefile: Likewise.
52737 * sunrpc/Makefile: Likewise.
52738 * io/Makefile: Likewise.
52739 * argp/Makefile: Likewise.
52740 * inet/Makefile: Likewise.
52741 * hesiod/Makefile: Likewise.
52742 * grp/Makefile: Likewise.
52743 * csu/Makefile: Likewise.
52744 * wctype/Makefile: Likewise.
52745 * crypt/Makefile: Likewise.
52746 * libio/Makefile: Likewise.
52747 * string/Makefile: Likewise.
52748 * nis/Makefile: Likewise.
52749 * resolv/Makefile: Likewise.
52750 * stdio-common/Makefile: Likewise.
52751 * wcsmbs/Makefile: Likewise.
52752 * dlfcn/Makefile: Likewise.
52753 * posix/Makefile: Likewise.
52754
3b7c4e74 52755 [BZ #6959]
482ff4da
UD
52756 * timezone/Makefile: Don't install timezone files, just the programs
52757 and scripts.
52758
f72ed77d
UD
527592012-03-06 Ulrich Drepper <drepper@gmail.com>
52760
a000466f
UD
52761 * nss/databases.def: Add missing gshadow entry.
52762
f72ed77d
UD
52763 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
52764
a53b7a4e
MP
527652012-03-06 Marek Polacek <polacek@redhat.com>
52766
52767 [BZ #13726]
52768 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
52769 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
52770 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
52771 * stdio-common/tst-long-dbl-fphex.c: New file.
52772
e9258400
DM
527732012-03-06 David S. Miller <davem@davemloft.net>
52774
52775 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52776 (set_obp_int): New function.
52777 (get_obp_int): New function.
52778 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
52779 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
52780 Avoid unused variable warnings on 'val' and use builtin_expect.
52781 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
52782 __builtin_expect.
e9258400
DM
52783 (INLINE_CLONE_SYSCALL): Likewise.
52784
3bd2c723
DM
527852012-03-05 David S. Miller <davem@davemloft.net>
52786
52787 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52788
bbb78d03
AS
527892012-03-05 Andreas Schwab <schwab@linux-m68k.org>
52790
884c5db4
AS
52791 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52792
bbb78d03
AS
52793 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
52794 only for |x| >= 40.
52795 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52796
1c9f702a 527972012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
52798
52799 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
52800 Replace gettimeofday with __vdso_gettimeofday.
52801
7be16f82
RM
52802 * sysdeps/unix/sysv/linux/x86_64/init-first.c
52803 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
52804 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
52805
52806 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
52807 time with __vdso_time.
52808
ed58a00f
JM
528092012-03-05 Joseph Myers <joseph@codesourcery.com>
52810
52811 * manual/lang.texi (size_t): Note types to which size_t may be
52812 equivalent with the GNU C Library, but do not describe when
52813 differences between them are significant.
52814
30ee4ced
AJ
528152012-03-05 Andreas Jaeger <aj@suse.de>
52816
52817 * sysdeps/i386/fpu/libm-test-ulps: Update.
52818
b7cd39e8
JM
528192012-03-05 Joseph Myers <joseph@codesourcery.com>
52820
52821 [BZ #3976]
52822 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
52823 (__ieee754_pow): Save and restore rounding mode and use
52824 round-to-nearest for main computations.
52825 * math/libm-test.inc (pow_test_tonearest): New function.
52826 (pow_test_towardzero): Likewise.
52827 (pow_test_downward): Likewise.
52828 (pow_test_upward): Likewise.
52829 (main): Call the new functions.
52830 * sysdeps/i386/fpu/libm-test-ulps: Update.
52831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
52832
52833 [BZ #3976]
52834 * math/libm-test.inc (cosh_test_tonearest): New function.
52835 (cosh_test_towardzero): Likewise.
52836 (cosh_test_downward): Likewise.
52837 (cosh_test_upward): Likewise.
52838 (sinh_test_tonearest): Likewise.
52839 (sinh_test_towardzero): Likewise.
52840 (sinh_test_downward): Likewise.
52841 (sinh_test_upward): Likewise.
52842 (main): Call the new functions.
52843 * sysdeps/i386/fpu/libm-test-ulps: Update.
52844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52845
6c6a98c9
TV
528462012-03-05 Tom de Vries <tom@codesourcery.com>
52847
52848 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
52849 default stack guard is set in last bytes.
52850 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
52851
21bb2d2e 528522012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 52853
21bb2d2e 52854 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 52855
21bb2d2e
AJ
52856 [BZ #13656]
52857 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
52858 possibly allocate from heap instead of stack.
52859 * stdio-common/bug-vfprintf-nargs.c: New file.
52860 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 52861
c6922934
AS
528622012-03-03 Andreas Schwab <schwab@linux-m68k.org>
52863
52864 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52865
bc957d53
MP
528662012-03-03 Marek Polacek <polacek@redhat.com>
52867
52868 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
52869 * math/math_private.h: Likewise.
52870 * stdlib/tst-strtod.c: Likewise.
52871 * sysdeps/i386/i486/bits/atomic.h: Likewise.
52872 * sysdeps/x86_64/bits/atomic.h: Likewise.
52873
6358490d
DM
528742012-03-02 David S. Miller <davem@davemloft.net>
52875
52876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
52877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
52878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
52879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
52880 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
52881 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
52882 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
52883 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
52884
01ae168d
RM
528852012-03-02 Roland McGrath <roland@hack.frob.com>
52886
d9a17c07
RM
52887 [BZ #13792]
52888 * manual/examples/README: New file, says the example source files
52889 can be used under GPL>=2.
52890 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
52891 line containing just "*/".
52892 * manual/examples/add.c: Add copyright header (GPL>=2).
52893 * manual/examples/argp-ex1.c: Likewise.
52894 * manual/examples/argp-ex2.c: Likewise.
52895 * manual/examples/argp-ex3.c: Likewise.
52896 * manual/examples/argp-ex4.c: Likewise.
52897 * manual/examples/atexit.c: Likewise.
52898 * manual/examples/db.c: Likewise.
52899 * manual/examples/dir.c: Likewise.
52900 * manual/examples/dir2.c: Likewise.
52901 * manual/examples/execinfo.c: Likewise.
52902 * manual/examples/filecli.c: Likewise.
52903 * manual/examples/filesrv.c: Likewise.
52904 * manual/examples/fmtmsgexpl.c: Likewise.
52905 * manual/examples/genpass.c: Likewise.
52906 * manual/examples/inetcli.c: Likewise.
52907 * manual/examples/inetsrv.c: Likewise.
52908 * manual/examples/isockad.c: Likewise.
52909 * manual/examples/longopt.c: Likewise.
52910 * manual/examples/memopen.c: Likewise.
52911 * manual/examples/memstrm.c: Likewise.
52912 * manual/examples/mkfsock.c: Likewise.
52913 * manual/examples/mkisock.c: Likewise.
52914 * manual/examples/mygetpass.c: Likewise.
52915 * manual/examples/pipe.c: Likewise.
52916 * manual/examples/popen.c: Likewise.
52917 * manual/examples/rprintf.c: Likewise.
52918 * manual/examples/search.c: Likewise.
52919 * manual/examples/select.c: Likewise.
52920 * manual/examples/setjmp.c: Likewise.
52921 * manual/examples/sigh1.c: Likewise.
52922 * manual/examples/sigusr.c: Likewise.
52923 * manual/examples/stpcpy.c: Likewise.
52924 * manual/examples/strdupa.c: Likewise.
52925 * manual/examples/strftim.c: Likewise.
52926 * manual/examples/strncat.c: Likewise.
52927 * manual/examples/subopt.c: Likewise.
52928 * manual/examples/swapcontext.c: Likewise.
52929 * manual/examples/termios.c: Likewise.
52930 * manual/examples/testopt.c: Likewise.
52931 * manual/examples/testpass.c: Likewise.
52932 * manual/examples/timeval_subtract.c: Likewise.
52933
01ae168d
RM
52934 [BZ #13792]
52935 * manual/time.texi (Elapsed Time): Move timeval_subtract example
52936 function to ...
52937 * manual/timeval_subtract.c.texi: ... here, new file.
52938
49efa33d
DM
529392012-03-02 David S. Miller <davem@davemloft.net>
52940
52941 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
52942
28afd92d
JM
529432012-03-02 Joseph Myers <joseph@codesourcery.com>
52944
804360ed
JM
52945 [BZ #3976]
52946 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
52947 (__sin): Save and restore rounding mode and use round-to-nearest
52948 for all computations.
52949 (__cos): Save and restore rounding mode and use round-to-nearest
52950 for all computations.
52951 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
52952 <fenv.h>.
52953 (tan): Save and restore rounding mode and use round-to-nearest for
52954 all computations.
52955 * math/libm-test.inc (cos_test_tonearest): New function.
52956 (cos_test_towardzero): Likewise.
52957 (cos_test_downward): Likewise.
52958 (cos_test_upward): Likewise.
52959 (sin_test_tonearest): Likewise.
52960 (sin_test_towardzero): Likewise.
52961 (sin_test_downward): Likewise.
52962 (sin_test_upward): Likewise.
52963 (tan_test_tonearest): Likewise.
52964 (tan_test_towardzero): Likewise.
52965 (tan_test_downward): Likewise.
52966 (tan_test_upward): Likewise.
52967 (main): Call the new functions.
52968 * sysdeps/i386/fpu/libm-test-ulps: Update.
52969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52970
a6d06d7b
JM
52971 [BZ #10135]
52972 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
52973 small n, then large n, before computing and testing k+n.
52974 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
52975 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
52976 Likewise.
52977 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
52978 Likewise.
52979 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
52980 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
52981 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
52982 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
52983 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
52984 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
52985 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
52986 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
52987 * math/libm-test.inc (scalbn_test): Add more tests.
52988 (scalbln_test): Likewise.
52989
07e12bb3
JM
52990 * manual/filesys.texi (mode_t): Describe constraints on size and
52991 signedness, not exact equivalence to a particular type.
52992 (ino_t): Likewise.
52993 (ino64_t): Likewise.
52994 (dev_t): Likewise.
52995 (nlink_t): Likewise.
52996 (blkcnt_t): Likewise.
52997 (blkcnt64_t): Likewise.
52998 * manual/llio.texi (off_t): Likewise.
52999
28afd92d
JM
53000 [BZ #3976]
53001 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
53002 (__ieee754_exp): Save and restore rounding mode and use
53003 round-to-nearest for all computations.
53004 * math/libm-test.inc (exp_test_tonearest): New function.
53005 (exp_test_towardzero): Likewise.
53006 (exp_test_downward): Likewise.
53007 (exp_test_upward): Likewise.
53008 (main): Call the new functions.
53009 * sysdeps/i386/fpu/libm-test-ulps: Update.
53010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53011
b1eeb65d
CD
530122012-03-01 Chris Demetriou <cgd@google.com>
53013
53014 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
53015 have predictable order.
53016
53362a4b
DM
530172012-03-01 David S. Miller <davem@davemloft.net>
53018
3c969083
DM
53019 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
53020
759707de
DM
53021 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
53022 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
53023 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
53024 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
53025
dfdb8ff2
DM
53026 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
53027 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
53028 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
53029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
53030 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
53031 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
53032 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
53033 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
53034 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
53035
ead89f96
DM
53036 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53037
7f66bd07
DM
53038 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
53039 * sysdeps/sparc/fpu/libm-test-ulps: to here.
53040 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
53041
53362a4b
DM
53042 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
53043 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53044 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53045 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
53046 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
53047 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
53048 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
53049 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53050 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53051 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
53052 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
53053 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53054 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53055 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53056 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53057 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53058 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
53059 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
53060 * sysdeps/sparc/elf/configure: Regenerated.
53061
7b1902cb
JM
530622012-03-01 Joseph Myers <joseph@codesourcery.com>
53063
bec039bc
JM
53064 * configure.in (AS, LD): Require binutils 2.20 or later.
53065 * configure: Regenerated.
53066 * manual/install.texi (Tools for Compilation): Give binutils 2.20
53067 as required minimum version.
53068 * INSTALL: Regenerated.
53069
7b1902cb
JM
53070 [BZ #2541]
53071 [BZ #4108]
53072 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
53073 before squaring exponent.
53074 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
53075 bottom long double and 27 bits of top long double before squaring
53076 exponent.
53077 * math/libm-test.inc (erfc_test): Add more tests.
53078 * sysdeps/i386/fpu/libm-test-ulps: Update.
53079 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53081
f775c276
KT
530822012-03-01 Kai Tietz <ktietz@redhat.com>
53083
53084 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
53085 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
53086 containing bit-fields.
53087 * soft-fp/extended.h (_FP_UNION_E): Likewise.
53088 * soft-fp/single.h (_FP_UNION_S): Likewise.
53089 * soft-fp/double.h (_FP_UNION_D): Likewise.
53090
5b8a4d4a
JM
530912012-02-29 Joseph Myers <joseph@codesourcery.com>
53092
0bab47b6
JM
53093 [BZ #13786]
53094 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
53095 not include ../strcmp.S.
53096 [USE_AS_STRNCASECMP_L]: Likewise.
53097 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
53098 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
53099 * sysdeps/i386/i686/multiarch/strncase_l-c.c
53100 (__strncasecmp_l_ia32): Define as alias to
53101 __strncasecmp_l_nonascii.
53102
0fcad3e2
JM
53103 [BZ #5794]
53104 * math/libm-test.inc (expm1_test): Add test for bug 5794.
53105 * sysdeps/i386/fpu/libm-test-ulps: Update.
53106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53107
5b8a4d4a
JM
53108 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
53109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53110
8fdceb2e
JL
531112012-02-29 Jeff Law <law@redhat.com>
53112
53113 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
53114 out of bounds read.
53115
1f393a11
MP
531162012-02-29 Marek Polacek <polacek@redhat.com>
53117
53118 [BZ #13706]
53119 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
53120 * elf/Makefile: Add rules to run tst-unused-dep.out.
53121
8847f037
DM
531222012-02-28 David S. Miller <davem@davemloft.net>
53123
53124 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
53125 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
53126 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
53127 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
53128 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
53129 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
53130
169d7f11
JM
531312012-02-29 Joseph Myers <joseph@codesourcery.com>
53132
53133 * math/libm-test.inc (llround_test): Move one test from
53134 lround_test. Use TEST_f_L in moved test.
53135 (lround_test): Move misplaced test to llround_test. Add testcase
53136 from bug 2561.
53137
39adf059
UD
531382012-02-28 Ulrich Drepper <drepper@gmail.com>
53139
53140 * sysdeps/x86_64/fpu/e_expf.S: New file.
53141 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
53142
71b5d1c5
SB
531432012-02-28 Stanislav Brabec <sbrabec@suse.cz>
53144
53145 [BZ #13637]
53146 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
53147 of remain_len that may cause incomplete multi-byte character and
53148 false match.
53149 * posix/bug-regex33.c: New file.
53150 * posix/Makefile (tests): Add bug-regex33.
53151
1f77f049
JM
531522012-02-28 Joseph Myers <joseph@codesourcery.com>
53153
53154 * manual/macros.texi: New file.
53155 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
53156 * manual/libc.texinfo: Include macros.texi.
53157 * manual/creatute.texi: Likewise.
53158 * manual/install.texi: Likewise.
53159 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
53160 @glibcadj{} in references to the GNU C Library.
53161 * manual/charset.texi: Likewise.
53162 * manual/conf.texi: Likewise.
53163 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
53164 when not using those macros.
53165 * manual/creature.texi: Likewise.
53166 * manual/crypt.texi: Likewise.
53167 * manual/errno.texi: Likewise.
53168 * manual/filesys.texi: Likewise.
53169 * manual/header.texi: Likewise.
53170 * manual/install.texi: Likewise.
53171 * manual/intro.texi: Likewise.
53172 * manual/io.texi: Likewise.
53173 * manual/job.texi: Likewise.
53174 * manual/lang.texi: Likewise.
53175 * manual/libc.texiinfo: Likewise.
53176 * manual/llio.texi: Likewise.
53177 * manual/locale.texi: Likewise.
53178 * manual/maint.texi: Likewise.
53179 * manual/math.texi: Likewise.
53180 * manual/memory.texi: Likewise.
53181 * manual/message.texi: Likewise.
53182 * manual/nss.texi: Likewise.
53183 * manual/pattern.texi: Likewise.
53184 * manual/process.texi: Likewise.
53185 * manual/resource.texi: Likewise.
53186 * manual/search.texi: Likewise.
53187 * manual/setjmp.texi: Likewise.
53188 * manual/signal.texi: Likewise.
53189 * manual/socket.texi: Likewise.
53190 * manual/startup.texi: Likewise.
53191 * manual/stdio.texi: Likewise.
53192 * manual/string.texi: Likewise.
53193 * manual/sysinfo.texi: Likewise.
53194 * manual/syslog.texi: Likewise.
53195 * manual/terminal.texi: Likewise.
53196 * manual/time.texi: Likewise.
53197 * manual/users.texi: Likewise.
53198 * INSTALL: Regenerated.
53199 * NOTES: Regenerated.
d40c5d54 53200 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 53201
450bf206
AS
532022012-02-28 Andreas Schwab <schwab@linux-m68k.org>
53203
53204 * include/dirent.h: Include <dirstream.h> before
53205 <dirent/dirent.h>.
53206
741a235b
DM
532072012-02-28 David S. Miller <davem@davemloft.net>
53208
53209 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
53210 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
53211 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
53212 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
53213
d6b5aa58
DM
532142012-02-27 David S. Miller <davem@davemloft.net>
53215
1aff59a3
DM
53216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
53217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
53218 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
53219 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
53220
d6b5aa58
DM
53221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
53222 frame pointer instead of stack pointer relative arg slot.
53223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53224 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53225 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53226
433f48bf
CD
532272012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
53228
53229 [BZ #3992]
53230 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
53231
d674b76d
DM
532322012-02-27 David S. Miller <davem@davemloft.net>
53233
53234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
53235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
53238 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53239 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53240 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
53241 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
53242
0e7727f7
JM
532432012-02-27 Joseph Myers <joseph@codesourcery.com>
53244
53245 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
53246 later. Allow versions 5-9.
43be4ca2 53247 * configure: Regenerated.
0e7727f7
JM
53248 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
53249 required minimum version and 4.6 as recommended version. Do not
53250 mention bugs in GCC 2.7 and 2.8.
43be4ca2 53251 * INSTALL: Regenerated.
0e7727f7 53252
a78bc654
DM
532532012-02-27 David S. Miller <davem@davemloft.net>
53254
428d5830
DM
53255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
53256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
53257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
53258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
53259 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
53260 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
53261 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
53262 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
53263
a78bc654
DM
53264 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
53265 manipulate bits before adding and subtracting TWO112[sx].
53266 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
53267
4579f81c
RM
532682012-02-27 Roland McGrath <roland@hack.frob.com>
53269
36c8acb4
RM
53270 [BZ #13775]
53271 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
53272 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
53273 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
53274 being in POSIX, because they are in 1003.1-2008.
53275
84ad622b
RM
53276 * rt/tst-aio.c: Include <fcntl.h>.
53277 * rt/tst-aio7.c: Likewise.
53278 * rt/tst-aio64.c: Likewise.
53279
4579f81c
RM
53280 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
53281
abd923db
JM
532822012-02-27 Joseph Myers <joseph@codesourcery.com>
53283
53284 * manual/install.texi (--with-headers): Describe headers as
53285 interface headers, not private headers.
53286 (Specific advice for GNU/Linux systems): Describe use of headers
53287 from "make headers_install", not private headers from older
53288 kernels.
43be4ca2 53289 * INSTALL: Regenerated.
abd923db
JM
53290 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
53291 Change to 2.6.19.
53292 * sysdeps/unix/sysv/linux/configure: Regenerated.
53293
6664049b
JM
53294 * manual/llio.texi (fclean): Remove documentation.
53295
bb8b6697
JM
53296 * manual/Makefile (libc-texi-generated): New variable. Include
53297 version.texi.
53298 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
53299 $(libc-texi-generated), not duplicated list of files.
53300 (version.texi, stamp-version): New rules.
53301 (realclean): Remove $(libc-texi-generated), not individual files
53302 from that list. Do not remove dir-add.texinfo.
53303 * manual/libc.texinfo: Comment out uses of edition numbers and
53304 references to printed manual. Remove last-updated dates.
53305 (EDITION): Comment out.
53306 (ISBN): Likewise.
53307 (VERSION, UPDATED): Remove.
53308 (version.texi): Include.
53309
12e5c3b9
AS
533102012-02-27 Andreas Schwab <schwab@linux-m68k.org>
53311
53312 * sysdeps/posix/spawni.c: Include <signal.h>.
53313 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
53314 * sysdeps/pthread/aio_fsync.c: Likewise.
53315
4efeffc1 533162012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 53317
ba63ba08
UD
53318 * conform/Makefile (tests): Run only when not cross-compiling and
53319 when fast-check is not defined.
53320
d94a4670
UD
53321 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
53322 * conform/data/limits.h-data: Fixes for POSIX2008.
53323 * conform/run-conformtest.sh: Run all tests.
53324 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
53325 headers.
53326 * include/bits/dlfcn.h: Likewise.
53327 * include/langinfo.h: Likewise.
53328 * include/monetary.h: Likewise.
53329 * include/sys/poll.h: Likewise.
53330
53331 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
53332 for __USE_GNU.
53333 * posix/spawn.h: Define __need_sigset_t.
53334 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
53335 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
53336 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
53337 to get sigevent_t only.
53338 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
53339 only for __USE_GNU.
53340 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53341 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
53342 process_vm_writev only for __USE_GNU.
53343 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
53344
53345 * conform/Makefile: For now ignore errors from run-conformtest.
53346 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
53347 POSIX to avoid namespace pollution. Don't prepend headers.
53348 * conform/data/aio.h-data: Fixes for POSIX testing.
53349 * conform/data/fcntl.h-data: Likewise.
53350 * conform/data/glob.h-data: Likewise.
53351 * conform/data/grp.h-data: Likewise.
53352 * conform/data/pthread.h-data: Likewise.
53353 * conform/data/pwd.h-data: Likewise.
53354 * conform/data/signal.h-data: Likewise.
53355 * conform/data/spawn.h-data: Likewise.
53356 * conform/data/stdio.h-data: Likewise.
53357 * conform/data/stdlib.h-data: Likewise.
53358 * conform/data/stropts.h-data: Likewise.
53359 * conform/data/sys/mman.h-data: Likewise.
53360 * conform/data/sys/stat.h-data: Likewise.
53361 * conform/data/sys/types.h-data: Likewise.
53362 * conform/data/sys/wait.h-data: Likewise.
53363 * conform/data/time.h-data: Likewise.
53364 * conform/data/unistd.h-data: Likewise.
53365 * conform/data/utime.h-data: Likewise.
53366
53367 * io/sys/stat.h: fchmod was always in POSIX.
53368 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
53369 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
53370 * rt/aio.h: Define __need_timespec before including <time.h>.
53371 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
53372 struct. Add forward declaration of pthread_attr_t and use it in
53373 sigevent.
53374 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53375 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53376 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
53377 always remove CLK_TCK definition.
53378
c20105c3
AS
533792012-02-26 Andreas Schwab <schwab@linux-m68k.org>
53380
53381 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
53382
7a270350
UD
533832012-02-25 Ulrich Drepper <drepper@gmail.com>
53384
31341567
UD
53385 * conform/run-conformtest.sh: New file.
53386 * conform/Makefile: Run run-conformtest for tests.
53387 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
53388 support.
53389
53390 * conform/data/uchar.h-data: New file.
53391 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
53392 * conform/data/arpa/inet.h-data: Likewise.
53393 * conform/data/assert.h-data: Likewise.
53394 * conform/data/complex.h-data: Likewise.
53395 * conform/data/cpio.h-data: Likewise.
53396 * conform/data/ctype.h-data: Likewise.
53397 * conform/data/dirent.h-data: Likewise.
53398 * conform/data/dlfcn.h-data: Likewise.
53399 * conform/data/errno.h-data: Likewise.
53400 * conform/data/fcntl.h-data: Likewise.
53401 * conform/data/float.h-data: Likewise.
53402 * conform/data/fmtmsg.h-data: Likewise.
53403 * conform/data/fnmatch.h-data: Likewise.
53404 * conform/data/ftw.h-data: Likewise.
53405 * conform/data/glob.h-data: Likewise.
53406 * conform/data/grp.h-data: Likewise.
53407 * conform/data/iconv.h-data: Likewise.
53408 * conform/data/inttypes.h-data: Likewise.
53409 * conform/data/langinfo.h-data: Likewise.
53410 * conform/data/libgen.h-data: Likewise.
53411 * conform/data/limits.h-data: Likewise.
53412 * conform/data/locale.h-data: Likewise.
53413 * conform/data/math.h-data: Likewise.
53414 * conform/data/monetary.h-data: Likewise.
53415 * conform/data/mqueue.h-data: Likewise.
53416 * conform/data/ndbm.h-data: Likewise.
53417 * conform/data/net/if.h-data: Likewise.
53418 * conform/data/netdb.h-data: Likewise.
53419 * conform/data/netinet/in.h-data: Likewise.
53420 * conform/data/nl_types.h-data: Likewise.
53421 * conform/data/poll.h-data: Likewise.
53422 * conform/data/pthread.h-data: Likewise.
53423 * conform/data/pwd.h-data: Likewise.
53424 * conform/data/regex.h-data: Likewise.
53425 * conform/data/sched.h-data: Likewise.
53426 * conform/data/search.h-data: Likewise.
53427 * conform/data/semaphore.h-data: Likewise.
53428 * conform/data/setjmp.h-data: Likewise.
53429 * conform/data/signal.h-data: Likewise.
53430 * conform/data/spawn.h-data: Likewise.
53431 * conform/data/stdarg.h-data: Likewise.
53432 * conform/data/stdio.h-data: Likewise.
53433 * conform/data/stdlib.h-data: Likewise.
53434 * conform/data/string.h-data: Likewise.
53435 * conform/data/strings.h-data: Likewise.
53436 * conform/data/stropts.h-data: Likewise.
53437 * conform/data/sys/ipc.h-data: Likewise.
53438 * conform/data/sys/mman.h-data: Likewise.
53439 * conform/data/sys/msg.h-data: Likewise.
53440 * conform/data/sys/resource.h-data: Likewise.
53441 * conform/data/sys/select.h-data: Likewise.
53442 * conform/data/sys/sem.h-data: Likewise.
53443 * conform/data/sys/shm.h-data: Likewise.
53444 * conform/data/sys/socket.h-data: Likewise.
53445 * conform/data/sys/stat.h-data: Likewise.
53446 * conform/data/sys/statvfs.h-data: Likewise.
53447 * conform/data/sys/time.h-data: Likewise.
53448 * conform/data/sys/timeb.h-data: Likewise.
53449 * conform/data/sys/times.h-data: Likewise.
53450 * conform/data/sys/types.h-data: Likewise.
53451 * conform/data/sys/uio.h-data: Likewise.
53452 * conform/data/sys/un.h-data: Likewise.
53453 * conform/data/sys/utsname.h-data: Likewise.
53454 * conform/data/sys/wait.h-data: Likewise.
53455 * conform/data/syslog.h-data: Likewise.
53456 * conform/data/tar.h-data: Likewise.
53457 * conform/data/termios.h-data: Likewise.
53458 * conform/data/utime.h-data: Likewise.
53459 * conform/data/utmpx.h-data: Likewise.
53460 * conform/data/varargs.h-data: Likewise.
53461 * conform/data/wchar.h-data: Likewise.
53462 * conform/data/wctype.h-data: Likewise.
53463 * conform/data/wordexp.h-data: Likewise.
53464
53465 * include/stropts.h: New file.
53466 * include/uchar.h: New file.
53467 * include/aio.h: Changes to allow conformtest.pl to use the headers.
53468 * include/assert.h: Likewise.
53469 * include/ctype.h: Likewise.
53470 * include/dirent.h: Likewise.
53471 * include/dlfcn.h: Likewise.
53472 * include/fcntl.h: Likewise.
53473 * include/fnmatch.h: Likewise.
53474 * include/glob.h: Likewise.
53475 * include/grp.h: Likewise.
53476 * include/libio.h: Likewise.
53477 * include/locale.h: Likewise.
53478 * include/math.h: Likewise.
53479 * include/net/if.h: Likewise.
53480 * include/netdb.h: Likewise.
53481 * include/netinet/in.h: Likewise.
53482 * include/pthread.h: Likewise.
53483 * include/pwd.h: Likewise.
53484 * include/regex.h: Likewise.
53485 * include/sched.h: Likewise.
53486 * include/search.h: Likewise.
53487 * include/setjmp.h: Likewise.
53488 * include/signal.h: Likewise.
53489 * include/stdio.h: Likewise.
53490 * include/stdlib.h: Likewise.
53491 * include/string.h: Likewise.
53492 * include/sys/cdefs.h: Likewise.
53493 * include/sys/mman.h: Likewise.
53494 * include/sys/msg.h: Likewise.
53495 * include/sys/resource.h: Likewise.
53496 * include/sys/select.h: Likewise.
53497 * include/sys/socket.h: Likewise.
53498 * include/sys/stat.h: Likewise.
53499 * include/sys/statvfs.h: Likewise.
53500 * include/sys/time.h: Likewise.
53501 * include/sys/times.h: Likewise.
53502 * include/sys/uio.h: Likewise.
53503 * include/sys/utsname.h: Likewise.
53504 * include/sys/wait.h: Likewise.
53505 * include/termios.h: Likewise.
53506 * include/time.h: Likewise.
53507 * include/ulimit.h: Likewise.
53508 * include/unistd.h: Likewise.
53509 * include/utime.h: Likewise.
53510 * include/wchar.h: Likewise.
53511 * include/wctype.h: Likewise.
53512 * include/wordexp.h: Likewise.
53513
53514 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
53515
7a270350
UD
53516 * time/time.h: TIME_UTC must be a macro.
53517 Make timespec_get available for ISO C11 only as well.
53518
7724defc
UD
535192012-02-24 Ulrich Drepper <drepper@gmail.com>
53520
53521 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
53522 Reported by Peng Haitao <penght@cn.fujitsu.com>.
53523
6b1d1d46
JM
535242012-02-24 Joseph Myers <joseph@codesourcery.com>
53525
53526 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 53527
0f8bbd69
JM
535282012-02-24 Joseph Myers <joseph@codesourcery.com>
53529
53530 * manual/texinfo.tex: Update to version 2012-01-19.16.
53531
66ab80bc
JM
535322012-02-24 Joseph Myers <joseph@codesourcery.com>
53533
53534 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
53535
74981cc5
RM
535362012-02-24 Roland McGrath <roland@hack.frob.com>
53537
ee968201
RM
53538 [BZ #13738]
53539 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
53540 * manual/fdl-1.3.texi: New file.
53541 * manual/fdl-1.1.texi: File removed.
53542
74981cc5
RM
53543 [BZ #13738]
53544 * manual/libc.texinfo (FDL_VERSION): New @set.
53545 Use it for mention of FDL in cover text.
53546 (Documentation License): Use it in @include file name.
53547
7bb764bc
JM
535482012-02-22 Joseph Myers <joseph@codesourcery.com>
53549 Roland McGrath <roland@hack.frob.com>
53550
53551 [BZ #5461]
57f41c40
AS
53552 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
53553 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
53554 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
53555 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
53556 name.
53557 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
53558
6cbeae47
JM
535592012-02-22 Joseph Myers <joseph@codesourcery.com>
53560
53561 [BZ #2547]
53562 [BZ #11365]
53563 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
53564 manipulate bits before adding and subtracting TWO23[sx].
53565 * math/libm-test.inc (nearbyint_test): Add more tests.
53566
fe45ce09
JM
535672012-02-22 Joseph Myers <joseph@codesourcery.com>
53568
53569 [BZ #2548]
53570 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
53571 bits before adding and subtracting TWO23[sx].
53572 * math/libm-test.inc (rint_test): Add more tests.
53573 (rint_test_tonearest): Likewise.
53574 (rint_test_towardzero): Likewise.
53575 (rint_test_downward): Likewise.
53576 (rint_test_upward: Likewise.
53577
ff3b3d82
JM
535782012-02-22 Joseph Myers <joseph@codesourcery.com>
53579
53580 [BZ #10110]
53581 * include/stdc-predef.h: New file. Extracted from features.h.
53582 * include/features.h: Include stdc-predef.h.
53583 * Makefile (headers): Add stdc-predef.h.
53584 * CONFORMANCE (Compiler limitations): Update.
53585
ef0aab35
JM
535862012-02-22 Joseph Myers <joseph@codesourcery.com>
53587
53588 * manual/libc.texinfo (VERSION, UPDATED): Revert.
53589
58639409
DM
535902012-02-21 David S. Miller <davem@davemloft.net>
53591
53592 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
53593 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53594
c0e70b25
DM
535952012-02-20 David S. Miller <davem@davemloft.net>
53596
53597 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
53598 using a normal save/restore sequence, rather than allocating a
53599 dummy stack frame just to store a frame pointer and restore.
53600 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53601
fb06851d
JM
536022012-02-21 Joseph Myers <joseph@codesourcery.com>
53603
53604 * manual/install.texi: Fix stray word in line-wrapped comment.
53605
7a8b71c3
DM
536062012-02-20 David S. Miller <davem@davemloft.net>
53607
d510c123
DM
53608 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
53609 both binutils and gcc support GOTDATA.
53610
0722d7c2
DM
53611 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
53612 "rd %pc" in the PIC register setup sequences.
53613
3d2b3019
DM
53614 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
53615 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
53616 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53617 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
53618 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53619 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
53620 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53621 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53622 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
53623 (SYSCALL_ERROR_HANDLER): Likewise.
53624 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53625 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53626 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
53627 (SYSCALL_ERROR_HANDLER): Likewise.
53628
c80098a9
DM
53629 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
53630 (HAVE_GCC_GOTDATA): New.
53631 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
53632 relocation support in both binutils and gcc.
53633 * sysdeps/sparc/elf/configure: Regenerate.
53634
3a2545a0
DM
53635 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
53636 * sysdeps/sparc/sparc32/elf/configure: Delete.
53637 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
53638 * sysdeps/sparc/sparc64/elf/configure: Delete.
53639 * sysdeps/sparc/elf/configure.in: New file.
53640 * sysdeps/sparc/elf/configure: Generate.
53641
7a8b71c3
DM
53642 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
53643 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
53644 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53645 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
53646 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
53647
f1e86fca
JM
536482012-02-21 Joseph Myers <joseph@codesourcery.com>
53649
53650 * manual/install.texi: Do not mention specific glibc version
53651 numbers.
53652 * manual/libc.texinfo (VERSION, UPDATED): Update.
53653 (@copying): Use @copyright{} and range of years.
53654
0e7dfaef
JM
536552012-02-21 Joseph Myers <joseph@codesourcery.com>
53656
53657 [BZ #13695]
53658 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
53659 [crti.S not in sysdirs] (generated): Do not append.
53660 [crti.S not in sysdirs] (omit-deps): Likewise.
53661 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
53662 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
53663 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
53664 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
53665 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
53666 Likewise.
53667 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
53668 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
53669 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
53670 * csu/defs.awk: Remove file.
53671 * sysdeps/generic/initfini.c: Likewise.
53672 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
53673 variable.
53674 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
53675 Likewise.
53676
599af3ca
JM
536772012-02-20 Joseph Myers <joseph@codesourcery.com>
53678
53679 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
53680 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
53681 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
53682 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
53683 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53684 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
53685 <bits/epoll.h>.
53686 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
53687 (__EPOLL_PACKED): Define to empty if not defined by
53688 <bits/epoll.h>.
53689 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
53690 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53691 bits/epoll.h.
53692
0e499750
JM
536932012-02-20 Joseph Myers <joseph@codesourcery.com>
53694
53695 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
53696 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
53697 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
53698 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
53699 <bits/timerfd.h>.
53700 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
53701 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53702 bits/timerfd.h.
53703
5ad91f6e
JM
537042012-02-20 Joseph Myers <joseph@codesourcery.com>
53705
53706 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
53707 in C locale.
53708 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53709 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53710 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
53711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53712
06b99b02
AJ
537132012-02-20 Aurelien Jarno <aurelien@aurel32.net>
53714
53715 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53716 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53717
7638c0fd
AS
537182012-02-19 Andreas Schwab <schwab@linux-m68k.org>
53719
53720 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
53721 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
53722 defined.
53723 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
53724 Likewise.
53725 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
53726 entry for 2.16.
53727
92221550
AJ
537282012-02-19 Aurelien Jarno <aurelien@aurel32.net>
53729
53730 * math/w_acos.c: Use non-signaling floating-point comparisons.
53731 * math/w_acosf.c: Likewise.
53732 * math/w_acosh.c: Likewise.
53733 * math/w_acoshf.c: Likewise.
53734 * math/w_acoshl.c: Likewise.
53735 * math/w_acosl.c: Likewise.
53736 * math/w_asin.c: Likewise.
53737 * math/w_asinf.c: Likewise.
53738 * math/w_asinl.c: Likewise.
53739 * math/w_atanh.c: Likewise.
53740 * math/w_atanhf.c: Likewise.
53741 * math/w_atanhl.c: Likewise.
53742 * math/w_exp2.c: Likewise.
53743 * math/w_exp2f.c: Likewise.
53744 * math/w_exp2l.c: Likewise.
53745 * math/w_j0.c: Likewise.
53746 * math/w_j0f.c: Likewise.
53747 * math/w_j0l.c: Likewise.
53748 * math/w_j1.c: Likewise.
53749 * math/w_j1f.c: Likewise.
53750 * math/w_j1l.c: Likewise.
53751 * math/w_jn.c: Likewise.
53752 * math/w_jnf.c: Likewise.
53753 * math/w_log.c: Likewise.
53754 * math/w_log10.c: Likewise.
53755 * math/w_log10f.c: Likewise.
53756 * math/w_log10l.c: Likewise.
53757 * math/w_log2.c: Likewise.
53758 * math/w_log2f.c: Likewise.
53759 * math/w_log2l.c: Likewise.
53760 * math/w_logf.c: Likewise.
53761 * math/w_logl.c: Likewise.
53762 * math/w_sqrt.c: Likewise.
53763 * math/w_sqrtf.c: Likewise.
53764 * math/w_sqrtl.c: Likewise.
53765 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53766 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
53767 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53768 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
53769 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
53770
ebaf36eb
JM
537712012-02-19 Joseph Myers <joseph@codesourcery.com>
53772
53773 [BZ #9739]
53774 * manual/string.texi (strnlen): Use correct parameter name in
53775 equivalent expression.
53776
71c254a6
JM
537772012-02-19 Joseph Myers <joseph@codesourcery.com>
53778
53779 [BZ #11174]
53780 * manual/users.texi (seteuid): Consistently use neweuid for
53781 argument name.
53782
16d2c631
JM
537832012-02-19 Joseph Myers <joseph@codesourcery.com>
53784
53785 [BZ #13704]
53786 * manual/nss.texi (Services in the NSS configuration): Correct
53787 list of services in example configuration file.
53788
cd837b09
NB
537892012-02-19 Nick Bowler <nbowler@draconx.ca>
53790
53791 [BZ #11322]
53792 * manual/arith.texi: Remove statements about negative zero
53793 behaving identically to zero.
53794
02c4bbad
JM
537952012-02-18 Joseph Myers <joseph@codesourcery.com>
53796
53797 [BZ #5993]
53798 * manual/install.texi: Do not document upgrading from libc5.
53799
366842e7
JM
538002012-02-18 Joseph Myers <joseph@codesourcery.com>
53801
53802 [BZ #4596]
53803 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
53804
dd54084d
DM
538052012-02-18 David S. Miller <davem@davemloft.net>
53806
53807 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
53808 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
53809 %o7 across the call.
53810 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
53811 instead.
53812 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
53813 SETUP_PIC_REG_LEAF.
53814 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53815 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
53816 * sysdeps/sparc/crtn.S: Likewise.
53817
2bcc53a3
UD
538182012-02-17 Ulrich Drepper <drepper@gmail.com>
53819
53820 * aout/Makefile: Remove.
53821
09c093b5
RK
538222012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
53823
53824 [BZ #13058]
53825 * manual/examples/argp-ex1.c (main): Format definition in GNU
53826 style.
53827 * manual/examples/argp-ex2.c (main): Likewise.
53828 * manual/examples/argp-ex3.c (main): Likewise.
53829 * manual/examples/argp-ex4.c (main): Likewise.
53830 * manual/examples/longopt.c (main): Use new-style prototype
53831 definition.
53832 * manual/examples/strncat.c (main): Specify return type and use
53833 (void) for arguments.
53834 * manual/examples/subopt.c (main): Use char **argv argument.
53835
2ee633a2
JM
538362012-02-17 Joseph Myers <joseph@codesourcery.com>
53837
53838 [BZ #5077]
53839 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
53840 rounding modes.
53841
0520adde
FB
538422012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
53843
53844 [BZ #6907]
53845 * manual/string.texi (strchr): Change when strchrnul is
53846 recommended.
53847
3f4081cd
DGM
538482012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
53849
53850 [BZ #174]
53851 * manual/locale.texi (setlocale): Document LOCPATH.
53852
d1b10e78
JM
538532012-02-17 Joseph Myers <joseph@codesourcery.com>
53854
53855 [BZ #10210]
53856 * manual/process.texi (execle): Move @dots{} before last argument.
53857
79c6869c
PB
538582012-02-17 Paul Bolle <pebolle@tiscali.nl>
53859
53860 [BZ #12047]
53861 * manual/charset.texi (Generic Charset Conversion): Fix typo
53862 (LC_TYPE -> LC_CTYPE).
53863
cc6e48bc
NB
538642012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
53865
53866 [BZ #5805]
53867 * manual/arith.texi (scalbn): Use @var{} on parameter names.
53868 (scalbnf): Likewise.
53869 (scalbnl): Likewise.
53870 (scalbln): Likewise.
53871 (scalblnf): Likewise.
53872 (scalblnl): Likewise.
53873 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
53874 (vwarnx): Likewise.
53875 (verr): Likewise.
53876 (verrx): Likewise.
53877 * manual/filesys.texi (telldir): Use braces around return type.
53878 * manual/llio.texi (mmap): Add space after comma.
53879 (mmap64): Likewise.
53880 * manual/math.texi (jn): Use @var{} on parameter names.
53881 (jnf): Likewise.
53882 (jnl): Likewise.
53883 (yn): Likewise.
53884 (ynf): Likewise.
53885 (ynl): Likewise.
53886 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
53887 line.
53888 * manual/resource.texi (ulimit): Use @dots{} instead of literal
53889 "...".
53890 (sched_get_priority_min): Remove semicolon on @deftypefun line.
53891 (sched_get_priority_max): Likewise.
53892 * manual/signal.texi (sigvec): Add space after comma.
53893 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
53894 names.
53895 (if_indextoname): Likewise.
53896 (if_freenameindex): Likewise.
53897 (sendto): Use ',' instead of '.' in prototype.
53898 * manual/startup.texi (syscall): Use @dots{} instead of literal
53899 "...".
53900 * manual/stdio.texi (__fpending): Separate initial words of
53901 paragraph from @deftypefun line.
53902 * manual/syslog.texi (syslog): Use @dots{} instead of literal
53903 "...".
53904 (vsyslog): Use @var{} on parameter names.
53905 * manual/terminal.texi (stty): Use @var{} on parameter names.
53906 * manual/users.texi (getutmp): Use @var{} on parameter names.
53907 (getutmpx): Likewise.
53908
5b23062f
JM
539092012-02-17 Joseph Myers <joseph@codesourcery.com>
53910
53911 [BZ #6884]
53912 * manual/stdio.texi (fopen): Fix typos in description of
53913 ",ccs=STRING".
53914
8dee4833
AJ
539152012-02-17 Aurelien Jarno <aurelien@aurel32.net>
53916
53917 [BZ #4026]
53918 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
53919 get clock_id definition.
53920
9078ce93
TS
539212012-02-17 Thomas Schwinge <thomas@schwinge.name>
53922
53923 [BZ #4822]
53924 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
53925 (madvise): Cast every argument to void on its own.
53926
3835c55f
JM
539272012-02-17 Joseph Myers <joseph@codesourcery.com>
53928
53929 [BZ #9902]
53930 * manual/startup.texi (Exit Status): Fix typo.
53931
35c47e37
JM
539322012-02-17 Joseph Myers <joseph@codesourcery.com>
53933
53934 [BZ #10140]
53935 * manual/examples/argp-ex1.c: Include <stdlib.h>.
53936 * manual/examples/argp-ex2.c: Likewise.
53937 * manual/examples/argp-ex3.c: Likewise.
53938
e3b69ca7
RH
539392012-02-16 Richard Henderson <rth@redhat.com>
53940
53941 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
53942 * sysdeps/s390/s390-32/initfini.c: Remove.
53943 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
53944 * sysdeps/s390/s390-64/initfini.c: Remove.
53945
df83af67
KK
539462012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
53947
53948 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
53949 compiler output for sysdeps/generic/initfini.c.
53950 * sysdeps/sh/elf/initfini.c: Remove file.
53951
f63f3380
DM
539522012-02-16 David S. Miller <davem@davemloft.net>
53953
fb59b3a4
DM
53954 [BZ #11494]
53955 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
53956
f63f3380
DM
53957 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
53958 * sysdeps/sparc/crti.S: New file.
53959 * sysdeps/sparc/crtn.S: New file.
53960 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
53961 * sysdeps/sparc/sparc64/Makefile: Likewise.
53962
df6a4a4a
MF
539632012-02-15 Mike Frysinger <vapier@gentoo.org>
53964
6dd8f3dc 53965 [BZ #3335]
df6a4a4a
MF
53966 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
53967
1cac7236
RM
539682012-02-15 Roland McGrath <roland@hack.frob.com>
53969
d2c736f8
RM
53970 [BZ #4822]
53971 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
53972
1cac7236
RM
53973 * mach/devstream.c (cookie_io_functions_t): Macro removed.
53974 (write, read, close): Likewise.
53975 Patch by Aurelien Jarno <aurelien@aurel32.net>.
53976
8e475601
JM
539772012-02-15 Joseph Myers <joseph@codesourcery.com>
53978
53979 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
53980 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
53981 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
53982 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
53983 <bits/signalfd.h>.
53984 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
53985 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53986 bits/signalfd.h.
53987
ed656b40
MP
539882012-02-14 Marek Polacek <polacek@redhat.com>
53989
53990 * sysdeps/x86_64/crti.S: New file.
53991 * sysdeps/x86_64/crtn.S: New file.
53992 * sysdeps/x86_64/elf/initfini.c: Remove file.
53993
2a979d3a
JM
539942012-02-13 Joseph Myers <joseph@codesourcery.com>
53995
53996 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
53997 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
53998 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
53999 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
54000 <bits/inotify.h>.
54001 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
54002 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54003 bits/inotify.h.
54004
2a418ac3
JM
540052012-02-13 Joseph Myers <joseph@codesourcery.com>
54006
54007 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
54008 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
54009 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
54010 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
54011 <bits/eventfd.h>.
54012 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
54013 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54014 bits/eventfd.h.
54015
fb779be7
TS
540162012-02-10 Thomas Schwinge <thomas@codesourcery.com>
54017
e19e83c5
RM
54018 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
54019 __feraiseexcept instead of feraiseexcept.
7c35ffed 54020
fb779be7
TS
54021 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
54022 nanosleep invocations.
54023 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
54024 strings, and add error checking for a nanosleep invocations.
54025
59ba27a6
PE
540262012-02-09 Paul Eggert <eggert@cs.ucla.edu>
54027
54028 Replace FSF snail mail address with URLs, as per GNU coding standards.
54029 Most of the snail mail addresses were wrong anyway, and omitting
54030 them makes the source code easier to maintain. Almost all of the
54031 changes are to license notices and to locale LC_IDENTIFICATION
54032 addresses, except for this one:
54033 * manual/libc.texinfo: In "Published by", give the FSF's URL,
54034 not its snail mail address.
54035
57b957eb
RH
540362012-02-09 Richard Henderson <rth@twiddle.net>
54037
af850b1c
RH
54038 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
54039 of kernel-features.h.
54040
57b957eb
RH
54041 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
54042
6b73181a
MP
540432012-02-08 Marek Polacek <polacek@redhat.com>
54044
54045 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
54046 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
54047 * sysdeps/gnu/_G_config.h: Likewise.
54048 * sysdeps/generic/_G_config.h: Likewise.
54049
26ecc33a
AS
540502012-02-08 Andreas Schwab <schwab@linux-m68k.org>
54051
6c6dbc63
AS
54052 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
54053 tests.
54054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54055
e216c012
AS
54056 * sysdeps/powerpc/powerpc32/crti.S: New file.
54057 * sysdeps/powerpc/powerpc32/crtn.S: New file.
54058 * sysdeps/powerpc/powerpc64/crti.S: New file.
54059 * sysdeps/powerpc/powerpc64/crtn.S: New file.
54060
26ecc33a
AS
54061 * Makeconfig (have-initfini): Don't set.
54062 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
54063 * configure.in (nopic_initfini): Don't substitute.
54064 * config.h.in (HAVE_INITFINI): Don't #undef.
54065 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
54066 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
54067
3add8e13
JM
540682012-02-08 Joseph Myers <joseph@codesourcery.com>
54069
54070 Support crti.S and crtn.S provided directly by architectures.
54071 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
54072 [crti.S in sysdirs] (omit-deps): Likewise.
54073 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
54074 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
54075 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
54076 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
54077 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
54078 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
54079 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
54080 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
54081 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
54082 compiler output for sysdeps/generic/initfini.c.
54083 * sysdeps/i386/elf/Makefile: Remove file.
54084 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
54085
a22f12b4
MP
540862012-02-07 Marek Polacek <polacek@redhat.com>
54087
54088 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
54089 * sysdeps/gnu/_G_config.h: Likewise.
54090 * sysdeps/mach/hurd/_G_config.h: Likewise.
54091
148cf100
MP
540922012-02-07 Marek Polacek <polacek@redhat.com>
54093
54094 * math/Makefile (tests): Add tst-CMPLX2.
54095 * math/tst-CMPLX2.c: New file.
54096
cfdc0dd7
AS
540972012-02-07 Andreas Schwab <schwab@linux-m68k.org>
54098
84ba42c4
AS
54099 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54100
cfdc0dd7
AS
54101 * math/libm-test.inc (jn_test): Add missing L suffix.
54102
622c86f4
MP
541032012-02-06 Marek Polacek <polacek@redhat.com>
54104
54105 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
54106 * sysdeps/i386/fpu/e_powf.S: Likewise.
54107 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54108 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54109 * sysdeps/i386/fpu/e_acosh.S: Likewise.
54110 * sysdeps/i386/fpu/e_pow.S: Likewise.
54111 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
54112 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54113 * sysdeps/i386/fpu/s_expm1.S: Likewise.
54114 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
54115 * sysdeps/i386/fpu/e_log2.S: Likewise.
54116 * sysdeps/i386/fpu/e_log2l.S: Likewise.
54117 * sysdeps/i386/fpu/e_scalb.S: Likewise.
54118 * sysdeps/i386/fpu/e_powl.S: Likewise.
54119 * sysdeps/i386/fpu/s_log1p.S: Likewise.
54120 * sysdeps/i386/fpu/e_log10f.S: Likewise.
54121 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
54122 * sysdeps/i386/fpu/e_logl.S: Likewise.
54123 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
54124 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
54125 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
54126 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
54127 * sysdeps/i386/fpu/e_log2f.S: Likewise.
54128 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54129 * sysdeps/i386/fpu/e_log.S: Likewise.
54130 * sysdeps/i386/fpu/s_cexp.S: Likewise.
54131 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54132 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
54133 * sysdeps/i386/fpu/e_logf.S: Likewise.
54134 * sysdeps/i386/fpu/e_log10l.S: Likewise.
54135 * sysdeps/i386/fpu/e_atanh.S: Likewise.
54136 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
54137 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
54138 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54139 * sysdeps/i386/fpu/e_log10.S: Likewise.
54140 * sysdeps/i386/fpu/s_frexp.S: Likewise.
54141 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54142 * sysdeps/i386/fpu/s_asinh.S: Likewise.
54143 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
54144 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54145 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
54146 * sysdeps/i386/asm-syntax.h: Likewise.
54147 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54148 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54149 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54150 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
54151 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
54152 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54153 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
54154 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
54155 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54156 * sysdeps/powerpc/sysdep.h: Likewise.
54157 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
54158 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54159
d4a54ac6
JM
541602012-02-06 Joseph Myers <joseph@codesourcery.com>
54161
54162 [BZ #411]
54163 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
54164
314054ea
JM
541652012-02-06 Joseph Myers <joseph@codesourcery.com>
54166
54167 * sysdeps/i386/sysdep.h: Include <features.h>.
54168 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
54169 version.
54170
d8e0ca50
JM
541712012-02-05 Joseph Myers <joseph@codesourcery.com>
54172
54173 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
54174 Define.
54175 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
54176 LOAD_PIC_REG_STR.
54177
b1da7dd9
JM
541782012-02-03 Joseph Myers <joseph@codesourcery.com>
54179
54180 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
54181 (SETUP_PIC_REG): Use GET_PC_THUNK.
54182 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
54183 macro.
54184
9a1d9254
JM
541852012-02-03 Joseph Myers <joseph@codesourcery.com>
54186
54187 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
54188 for non-PIC compilation.
54189 (SETUP_PIC_REG): Add .p2align directive.
54190 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
54191 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
54192 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
54193 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
54194 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
54195 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
54196 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
54197 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54198 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
54199 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
54200 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
54201 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
54202 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
54203 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
54204 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
54205 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
54206 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
54207 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
54208 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
54209 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
54210 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
54211 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
54212 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
54213 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
54214 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
54215 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
54216 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54217 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
54218 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
54219 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
54220 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
54221 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54222 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
54223 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
54224 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
54225 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
54226 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
54227 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
54228 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
54229 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
54230 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
54231
65dc3b75
JM
542322012-02-03 Joseph Myers <joseph@codesourcery.com>
54233
54234 * math/tst-CMPLX.c: Include <stdio.h>.
54235
d55bf177
JM
542362012-01-31 Joseph Myers <joseph@codesourcery.com>
54237
54238 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
54239 float.
54240 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54241 * sysdeps/sparc/bits/mathdef.h: Likewise.
54242
69db4f8f
MP
542432012-01-31 Marek Polacek <polacek@redhat.com>
54244
54245 * libio/libio.h: Don't define _PARAMS.
54246 * locale/programs/config.h: Don't define PARAMS.
54247 * stdlib/strtol_l.c: Likewise.
54248 (__strtol_l): Remove PARAMS from the prototype.
54249
41b81892
UD
542502012-01-31 Ulrich Drepper <drepper@gmail.com>
54251
3b49edc0
UD
54252 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
54253 names. Just use the correct names. Remove unnecessary wrapper
54254 functions.
54255 * malloc/arena.c: Likewise.
54256 * malloc/hooks.c: Likewise.
54257
41b81892
UD
54258 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
54259 ARENA_TEST says not to. Simplify test for creation of a new arena.
54260 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
54261
27a25b6e
UD
542622012-01-30 Ulrich Drepper <drepper@gmail.com>
54263
54264 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
54265 into tail calls.
54266 (update_get_addr): New function.
54267 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
54268 GET_ADDR_MODULE parameter.
54269
c8a89e7d
JM
542702012-01-30 Joseph Myers <joseph@codesourcery.com>
54271
54272 * crypt/cert.c: Remove __STDC__ conditionals.
54273 * crypt/crypt-entry.c: Likewise.
54274 * crypt/crypt_util.c: Likewise.
54275 * libio/filedoalloc.c: Likewise.
54276 * libio/fileops.c: Likewise.
54277 * libio/genops.c: Likewise.
54278 * libio/iofclose.c: Likewise.
54279 * libio/iofdopen.c: Likewise.
54280 * libio/iofopen.c: Likewise.
54281 * libio/iofopen64.c: Likewise.
54282 * libio/iogetdelim.c: Likewise.
54283 * libio/iopopen.c: Likewise.
54284 * libio/obprintf.c: Likewise.
54285 * libio/oldfileops.c: Likewise.
54286 * libio/oldiofclose.c: Likewise.
54287 * libio/oldiofdopen.c: Likewise.
54288 * libio/oldiofopen.c: Likewise.
54289 * libio/oldiopopen.c: Likewise.
54290 * libio/wfiledoalloc.c: Likewise.
54291 * libio/wgenops.c: Likewise.
54292 * locale/programs/xmalloc.c: Likewise.
54293 * misc/syslog.c: Likewise.
54294 * stdio-common/xbug.c: Likewise.
54295 * string/memchr.c: Likewise.
54296 * string/memcmp.c: Likewise.
54297 * string/memrchr.c: Likewise.
54298 * string/rawmemchr.c: Likewise.
54299 * sysdeps/posix/getcwd.c: Likewise.
54300 * time/strftime_l.c: Likewise.
54301
3b100462
JM
543022012-01-30 Joseph Myers <joseph@codesourcery.com>
54303
54304 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
54305 * config.make.in (config-cflags-sse2avx): Define.
54306 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
54307 Fix typo.
54308
607998af
CM
543092012-01-29 Chris Metcalf <cmetcalf@tilera.com>
54310
54311 * scripts/config.guess: Update from upstream config git repository.
54312 * scripts/config.sub: Likewise.
54313
3601428f
CM
543142012-01-28 Chris Metcalf <cmetcalf@tilera.com>
54315
3ac8b282
CM
54316 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
54317 (EM_NUM): Update.
54318 (R_TILEPRO_*, R_TILEGX_*): New macros.
54319
e034841e
CM
54320 * scripts/firstversions.awk: Fix bug in version range handling.
54321
540d7568
CM
54322 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
54323
3601428f
CM
54324 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
54325
463de862
CM
54326 * include/sys/epoll.h: New file.
54327 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
54328 libc_hidden_def.
54329
73139a76
UD
543302012-01-28 Ulrich Drepper <drepper@gmail.com>
54331
96bc5b45
UD
54332 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
54333 Avoid unnecessary __WORDSIZE == 64 test.
54334 (fmaxf): Use VEX format if possible.
54335 (fmax): Likewise.
54336 (fminf): Likewise.
54337 (fmin): Likewise.
54338
56f6f6a2
UD
54339 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
54340 * math/math_private.h: Remove libc_fegetround* and
54341 libc_fesetround*.
54342 * sysdeps/i386/configure.in: Check for -msse2avx.
54343 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
54344 also if SSE2AVX is defined.
54345 Remove libc_fegetround* and libc_fesetround*.
54346 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
54347 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
54348 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
54349 of HAS_YMM_USABLE.
54350 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54351 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54352 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54353 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54354 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54355
73139a76
UD
54356 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
54357
d73f93a4
AZ
543582012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54359
54360 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
54361 size is not set.
54362 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54363
6ee65ed6
UD
543642012-01-27 Ulrich Drepper <drepper@gmail.com>
54365
54366 [BZ #13618]
54367 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
54368 relocation.
54369 * Makeconfig (libm): Define.
54370 * elf/Makefile: Add rules to build and run tst-relsort1.
54371 * elf/tst-relsort1.c: New file.
54372 * elf/tst-relsort1mod1.c: New file.
54373 * elf/tst-relsort1mod2.c: New file.
54374
8db21882
JM
543752012-01-27 Joseph Myers <joseph@codesourcery.com>
54376
54377 * math/s_ldexp.c: Remove __STDC__ conditionals.
54378 * math/s_ldexpf.c: Likewise.
54379 * math/s_ldexpl.c: Likewise.
54380 * math/s_nextafter.c: Likewise.
54381 * math/s_nexttowardf.c: Likewise.
54382 * math/s_significand.c: Likewise.
54383 * math/s_significandf.c: Likewise.
54384 * math/s_significandl.c: Likewise.
54385 * math/w_jnl.c: Likewise.
54386 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54387 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54388 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54389 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54390 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54391 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54392 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
54393 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54394 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54395 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54396 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54397 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54398 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54399 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54400 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54401 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54402 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54403 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54404 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54405 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54406 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54407 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54408 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54409 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54410 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54411 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54412 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54413 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54414 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54415 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54416 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54417 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54418 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54419 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54420 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54421 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54422 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54423 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54424 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54425 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54426 * sysdeps/ieee754/k_standard.c: Likewise.
54427 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54428 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54429 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54430 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54431 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54432 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54433 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54434 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54435 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54436 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54437 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54438 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54439 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54440 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54441 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54442 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54443 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54444 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54445 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54446 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54447 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54448 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54449 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54450 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54451 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54452 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54453 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54454 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54455 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54456 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54457 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54458 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
54459 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54460 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54461 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54462 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54463 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
54464 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54465 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54466 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
54467 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
54468 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54469 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
54470 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
54471 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54472 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
54473 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
54474 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54475 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54476 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
54477 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
54478 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54479 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54480 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54481 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54482 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54483 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
54484 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54485 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54486 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54487 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54488 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54489 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54490 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54491 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54492 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54493 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54494 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54495 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54496 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54497 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54498 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54499 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54500 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54501 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54502 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54503 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54504 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54505 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54506 * sysdeps/ieee754/s_matherr.c: Likewise.
54507 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54508 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54509 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54510 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54511
965a54a4
JM
545122012-01-26 Joseph Myers <joseph@codesourcery.com>
54513
54514 * crypt/md5.h: Remove __STDC__ conditionals.
54515 * libio/libioP.h: Likewise.
54516 * locale/programs/config.h: Likewise.
54517 * sysdeps/generic/sysdep.h: Likewise.
54518 * sysdeps/i386/asm-syntax.h: Likewise.
54519 * sysdeps/s390/asm-syntax.h: Likewise.
54520 * sysdeps/unix/sysdep.h: Likewise.
54521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
54522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54523
7071ad79
JM
545242012-01-26 Joseph Myers <joseph@codesourcery.com>
54525
54526 * libio/libio.h: Remove __STDC__ conditionals.
54527 * malloc/obstack.h: Likewise.
54528 * math/complex.h: Likewise.
54529 * math/math.h: Likewise.
54530 * sysdeps/generic/_G_config.h: Likewise.
54531 * sysdeps/gnu/_G_config.h: Likewise.
54532 * sysdeps/mach/hurd/_G_config.h: Likewise.
54533 * sysdeps/powerpc/bits/mathdef.h: Likewise.
54534 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54535 * sysdeps/sparc/bits/mathdef.h: Likewise.
54536
afc5ed09
UD
545372012-01-26 Ulrich Drepper <drepper@gmail.com>
54538
54539 [BZ #13583]
54540 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 54541 Clean up HAS_* macros.
afc5ed09 54542 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
54543 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
54544 possible.
54545 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
54546 HAS_AVX.
54547 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54548 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54549 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54550 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54551 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 54552
bdb6de1d
JM
545532012-01-25 Joseph Myers <joseph@codesourcery.com>
54554
54555 * elf/tst-unique3.cc (gets): Remove declaration.
54556 * elf/tst-unique3lib.cc (gets): Likewise.
54557 * elf/tst-unique3lib2.cc (gets): Likewise.
54558 * elf/tst-unique4.cc (gets): Likewise.
54559
b15549e6
UD
545602012-01-24 Ulrich Drepper <drepper@gmail.com>
54561
54562 * include/stdio.h: Add C++ protection. Add gets declarations and
54563 definitions.
54564 * debug/tst-chk1.c: Don't declare gets here.
54565 * stdio-common/tst-gets.c: Likewise.
54566
a037381f
JM
545672012-01-24 Joseph Myers <joseph@codesourcery.com>
54568
54569 * posix/glob: Remove directory.
54570
f1d4aa75
JM
545712012-01-24 Joseph Myers <joseph@codesourcery.com>
54572
54573 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
54574
81c0c964
PT
545752012-01-22 Pino Toscano <toscano.pino@tiscali.it>
54576
54577 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
54578 of the non-standard EPFNOSUPPORT.
54579
0ea698ae
ST
545802011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
54581
54582 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
54583 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
54584 ANYWHERE set to 1 only on KERN_NO_SPACE error.
54585
d220b117
UD
545862012-01-21 Ulrich Drepper <drepper@gmail.com>
54587
54588 * wcsmbs/uchar.h: Test __STDC_VERSION__.
54589
3e1aa84e
UD
545902012-01-20 Ulrich Drepper <drepper@gmail.com>
54591
54592 * nscd/aicache.c (addhstaiX): Do not cache negative results of
54593 transient errors.
54594 * nscd/grpcache.c (cache_addgr): Likewise.
54595 * nscd/hstcache.c (cache_addhst): Likewise.
54596 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54597 * nscd/pwdcache.c (cache_addpw): Likewise.
54598 * nscd/servicescache.c (cache_addserv): Likewise.
54599
400aa020
UD
546002012-01-16 Ulrich Drepper <drepper@gmail.com>
54601
d77e7869
UD
54602 * malloc/malloc.c: Various cleanups.
54603 * malloc/hooks.c: Likewise.
54604
400aa020
UD
54605 * stdlib/Makefile (tests): Add bug-fmtmsg1.
54606 * stdlib/bug-fmtmsg1.c: New file.
54607
54608 * stdlib/fmtmsg.c (init): Add missing unlock.
54609 Patch by Peng Haitao <penght@cn.fujitsu.com>.
54610
e0a309cf
MP
546112012-01-12 Marek Polacek <polacek@redhat.com>
54612
54613 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
54614 and _GNU_SOURCE.
54615
929d11c7
WS
546162012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
54617
54618 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
54619 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
54620 macro to ensure uniqueness of label name.
54621 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
54622 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
54623
41d0e869
UD
546242012-01-11 Ulrich Drepper <drepper@gmail.com>
54625
0cc5ed3b
UD
54626 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
54627
41d0e869
UD
54628 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
54629 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54630 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54631 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
54632
a47a831a
UD
546332012-01-10 Ulrich Drepper <drepper@gmail.com>
54634
daa891c0
UD
54635 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
54636
54637 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
54638 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54639 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54640
e58ef0f2
UD
54641 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
54642
a47a831a 54643 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
54644 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54645 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 54646 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
54647
54648 * math/bits/math-finite.h: Add ldexp support.
54649
a0bfc9c7
MP
546502012-01-10 Marek Polacek <polacek@redhat.com>
54651
54652 * locale/programs/localedef.h (show_archive_content): Add noreturn
54653 attribute.
54654
d6e97a1d
UD
546552012-01-09 Ulrich Drepper <drepper@gmail.com>
54656
54657 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
54658
d5835c26
UD
546592012-01-08 Ulrich Drepper <drepper@gmail.com>
54660
e5f484c6
UD
54661 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
54662
d5835c26
UD
54663 * io/Makefile (headers): Add bits/poll2.h.
54664
d1f741e9
WS
546652011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
54666
54667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
54668 typo #include statement.
54669
ec09c1c4
UD
546702012-01-08 Ulrich Drepper <drepper@gmail.com>
54671
54672 * include/sys/cdefs.h: Define __attribute_alloc_size.
54673 * catgets/gencat.c: Add alloc_size attribute and apply consistently
54674 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
54675 * elf/pldd.c: Likewise.
54676 * iconv/iconv_charmap.c: Likewise.
54677 * iconv/iconvconfig.c: Likewise.
54678 * iconv/strtab.c: Likewise.
54679 * locale/programs/locale.c: Likewise.
54680 * locale/programs/localedef.h: Likewise.
54681 * locale/programs/simple-hash.c: Likewise.
54682 * nscd/nscd.h: Likewise.
54683 * nss/makedb.c: Likewise.
54684 * sysdeps/generic/ldconfig.h: Likewise.
54685 * locale/programs/localedef.c: Remove xmalloc prototype.
54686 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
54687
20b38e03
PP
546882012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
54689
54690 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
54691 appropriate.
54692
a0da5fe1
UD
546932012-01-08 Ulrich Drepper <drepper@gmail.com>
54694
1d5a644a 54695 * math/Makefile (tests): Add tst-CMPLX.
669704fd 54696 * math/tst-CMPLX.c: New file.
1d5a644a 54697
8784a6db
UD
54698 * math/complex.h (CMPLXL): Fix typo.
54699
d9a216c0
UD
54700 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
54701 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
54702 GLIBC_2.16.
54703 * debug/tst-chk1.c: Add poll and ppoll tests.
54704 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
54705 * include/sys/poll.h: Add hidden proto for ppoll.
54706 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
54707 * sysdeps/mach/hurd/ppoll.c: Likewise.
54708 * io/ppoll.c: Likewise.
54709 * debug/poll_chk.c: New file.
54710 * debug/ppoll_chk.c: New file.
54711 * include/bits/poll2.h: New file.
54712 * io/bits/poll2.h: New file.
54713
ac097f5c
UD
54714 [BZ #1350]
54715 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
54716
2119dcfa
UD
54717 * configure.in: static is always set to yes. Remove.
54718 * config.make.in: Don't set build-static.
54719 * Makeconfig: Remove use of build-static.
54720 * dlfcn/Makefile: Likewise.
54721 * elf/Makefile: Likewise.
54722 * math/Makefile: Likewise.
54723 * misc/Makefile: Likewise.
54724 * nptl/Makefile: Likewise.
54725 * sysdeps/mach/hurd/Makefile: Likewise.
54726
121766a9
UD
54727 * configure.in: PWD_P is not used anymore.
54728 * config.make.in: Remove PWD_P entry.
54729
51a1d39c 54730 * configure.in: Remove last remnants of RANLIB.
8720d066 54731 No need to check for signed size_t anymore.
215f4bdc
UD
54732 Don't set libc_commonpagesize and libc_relro_required here for Alpha
54733 and IA-64.
3857022a 54734 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
54735 * aclocal.m4: Likewise.
54736
d3ed7225
UD
54737 * wcsmbs/mbrtoc16.c: Implement using towc function.
54738 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
54739 * wcsmbs/wcsmbsload.c: Likewise.
54740 * iconv/gconv_simple.c: Likewise.
54741 * iconv/gconv_int.h: Likewise.
54742 * iconv/gconv_builtin.h: Likewise.
54743 * iconv/iconv_prog.c: Remove CHAR16 handling.
54744
54745 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
54746
54747 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
54748
a0da5fe1
UD
54749 * configure.in: Remove --with-elf and --enable-bounded options.
54750 Dont set base_machine for ia64. More non-ELF conditions removed.
54751 Remove testing and setting of leading underscore information.
54752 * config.make.in (build-bounded): Set to no.
54753 * config.h.in: Remove NO_UNDERSCORES entry.
54754 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
54755 them.
54756 * csu/start.c: Remove !NO_UNDERSCORE code.
54757 * locale/localeinfo.h: Likewise.
54758 * sysdeps/generic/machine-gmon.h: Likewise.
54759 * sysdeps/generic/sysdep.h: Likewise.
54760 * sysdeps/i386/sysdep.h: Likewise.
54761 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54762 * sysdeps/mach/sysdep.h: Likewise.
54763 * sysdeps/s390/s390-32/sysdep.h: Likewise.
54764 * sysdeps/s390/s390-64/sysdep.h: Likewise.
54765 * sysdeps/sh/sysdep.h: Likewise.
54766 * sysdeps/sparc/sparc32/alloca.S: Likewise.
54767 * sysdeps/unix/i386/sysdep.S: Likewise.
54768 * sysdeps/unix/sparc/start.c: Likewise.
54769 * sysdeps/unix/sparc/sysdep.S: Likewise.
54770 * sysdeps/unix/sparc/sysdep.h: Likewise.
54771 * sysdeps/unix/start.c: Likewise.
54772 * sysdeps/unix/x86_64/sysdep.S: Likewise.
54773 * sysdeps/x86_64/sysdep.h: Likewise.
54774
df78418a
UD
547752012-01-07 Ulrich Drepper <drepper@gmail.com>
54776
a784e502
UD
54777 [BZ #13553]
54778 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
54779 for non-gcc.
54780 * argp/argp-fmtstream.h: Use const instead __const.
54781 * argp/argp.h: Likewise.
54782 * assert/assert.h: Likewise.
54783 * bits/fenv.h: Likewise.
54784 * bits/sched.h: Likewise.
54785 * bits/sigset.h: Likewise.
54786 * bits/sigthread.h: Likewise.
54787 * catgets/nl_types.h: Likewise.
54788 * conform/data/pthread.h-data: Likewise.
54789 * crypt/crypt-private.h: Likewise.
54790 * crypt/crypt.h: Likewise.
54791 * crypt/crypt_util.c: Likewise.
54792 * ctype/ctype.h: Likewise.
54793 * debug/execinfo.h: Likewise.
54794 * debug/mbsnrtowcs_chk.c: Likewise.
54795 * debug/mbsrtowcs_chk.c: Likewise.
54796 * debug/wcsnrtombs_chk.c: Likewise.
54797 * debug/wcsrtombs_chk.c: Likewise.
54798 * debug/wcstombs_chk.c: Likewise.
54799 * dirent/dirent.h: Likewise.
54800 * dlfcn/dlfcn.h: Likewise.
54801 * elf/neededtest4.c: Likewise.
54802 * grp/grp.h: Likewise.
54803 * gshadow/gshadow.h: Likewise.
54804 * iconv/gconv.h: Likewise.
54805 * iconv/gconv_int.h: Likewise.
54806 * iconv/gconv_simple.c: Likewise.
54807 * iconv/iconv.h: Likewise.
54808 * iconv/loop.c: Likewise.
54809 * iconv/skeleton.c: Likewise.
54810 * include/aio.h: Likewise.
54811 * include/aliases.h: Likewise.
54812 * include/argz.h: Likewise.
54813 * include/arpa/inet.h: Likewise.
54814 * include/assert.h: Likewise.
54815 * include/dirent.h: Likewise.
54816 * include/dlfcn.h: Likewise.
54817 * include/execinfo.h: Likewise.
54818 * include/fcntl.h: Likewise.
54819 * include/fenv.h: Likewise.
54820 * include/glob.h: Likewise.
54821 * include/grp.h: Likewise.
54822 * include/libintl.h: Likewise.
54823 * include/mntent.h: Likewise.
54824 * include/netdb.h: Likewise.
54825 * include/pwd.h: Likewise.
54826 * include/rpc/netdb.h: Likewise.
54827 * include/sched.h: Likewise.
54828 * include/search.h: Likewise.
54829 * include/shadow.h: Likewise.
54830 * include/signal.h: Likewise.
54831 * include/stdio.h: Likewise.
54832 * include/stdlib.h: Likewise.
54833 * include/string.h: Likewise.
54834 * include/sys/socket.h: Likewise.
54835 * include/sys/stat.h: Likewise.
54836 * include/sys/statfs.h: Likewise.
54837 * include/sys/statvfs.h: Likewise.
54838 * include/sys/syslog.h: Likewise.
54839 * include/sys/time.h: Likewise.
54840 * include/sys/uio.h: Likewise.
54841 * include/time.h: Likewise.
54842 * include/unistd.h: Likewise.
54843 * include/utmp.h: Likewise.
54844 * include/wchar.h: Likewise.
54845 * include/wctype.h: Likewise.
54846 * inet/aliases.h: Likewise.
54847 * inet/arpa/inet.h: Likewise.
54848 * inet/netinet/ether.h: Likewise.
54849 * inet/netinet/in.h: Likewise.
54850 * intl/libintl.h: Likewise.
54851 * io/bits/fcntl2.h: Likewise.
54852 * io/fcntl.h: Likewise.
54853 * io/ftw.h: Likewise.
54854 * io/sys/poll.h: Likewise.
54855 * io/sys/stat.h: Likewise.
54856 * io/sys/statfs.h: Likewise.
54857 * io/sys/statvfs.h: Likewise.
54858 * io/utime.h: Likewise.
54859 * libio/bits/stdio.h: Likewise.
54860 * libio/bits/stdio2.h: Likewise.
54861 * libio/libio.h: Likewise.
54862 * libio/libioP.h: Likewise.
54863 * libio/stdio.h: Likewise.
54864 * locale/lc-ctype.c: Likewise.
54865 * locale/locale.h: Likewise.
54866 * login/utmp.h: Likewise.
54867 * malloc/arena.c: Likewise.
54868 * malloc/malloc.c: Likewise.
54869 * malloc/malloc.h: Likewise.
54870 * malloc/mcheck.c: Likewise.
54871 * malloc/mtrace.c: Likewise.
54872 * math/bits/mathcalls.h: Likewise.
54873 * math/fenv.h: Likewise.
54874 * math/math_private.h: Likewise.
54875 * misc/bits/error.h: Likewise.
54876 * misc/bits/syslog.h: Likewise.
54877 * misc/err.h: Likewise.
54878 * misc/error.h: Likewise.
54879 * misc/fstab.h: Likewise.
54880 * misc/mntent.h: Likewise.
54881 * misc/regexp.h: Likewise.
54882 * misc/search.h: Likewise.
54883 * misc/sgtty.h: Likewise.
54884 * misc/sys/mman.h: Likewise.
54885 * misc/sys/syslog.h: Likewise.
54886 * misc/sys/uio.h: Likewise.
54887 * misc/sys/xattr.h: Likewise.
54888 * misc/ttyent.h: Likewise.
54889 * nis/rpcsvc/ypclnt.h: Likewise.
54890 * nss/nss.h: Likewise.
54891 * posix/bits/unistd.h: Likewise.
54892 * posix/fnmatch.h: Likewise.
54893 * posix/glob.h: Likewise.
54894 * posix/sched.h: Likewise.
54895 * posix/spawn.h: Likewise.
54896 * posix/sys/wait.h: Likewise.
54897 * posix/unistd.h: Likewise.
54898 * posix/wordexp.h: Likewise.
54899 * pwd/pwd.h: Likewise.
54900 * resolv/netdb.h: Likewise.
54901 * resource/sys/resource.h: Likewise.
54902 * rt/aio.h: Likewise.
54903 * rt/bits/mqueue2.h: Likewise.
54904 * rt/mqueue.h: Likewise.
54905 * shadow/shadow.h: Likewise.
54906 * signal/signal.h: Likewise.
54907 * socket/send.c: Likewise.
54908 * socket/sendto.c: Likewise.
54909 * socket/sys/socket.h: Likewise.
54910 * stdio-common/printf.h: Likewise.
54911 * stdlib/bits/stdlib.h: Likewise.
54912 * stdlib/fmtmsg.h: Likewise.
54913 * stdlib/monetary.h: Likewise.
54914 * stdlib/stdlib.h: Likewise.
54915 * stdlib/ucontext.h: Likewise.
54916 * streams/stropts.h: Likewise.
54917 * string/argz.h: Likewise.
54918 * string/bits/string2.h: Likewise.
54919 * string/string.h: Likewise.
54920 * string/strings.h: Likewise.
54921 * sunrpc/rpc/auth.h: Likewise.
54922 * sunrpc/rpc/auth_des.h: Likewise.
54923 * sunrpc/rpc/clnt.h: Likewise.
54924 * sunrpc/rpc/netdb.h: Likewise.
54925 * sunrpc/rpc/pmap_clnt.h: Likewise.
54926 * sunrpc/rpc/xdr.h: Likewise.
54927 * sysdeps/generic/inttypes.h: Likewise.
54928 * sysdeps/generic/net/if.h: Likewise.
54929 * sysdeps/generic/sys/swap.h: Likewise.
54930 * sysdeps/gnu/net/if.h: Likewise.
54931 * sysdeps/gnu/utmpx.h: Likewise.
54932 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
54933 * sysdeps/i386/i486/bits/string.h: Likewise.
54934 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
54935 * sysdeps/s390/bits/string.h: Likewise.
54936 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
54937 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
54938 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
54939 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
54940 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
54941 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
54942 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
54943 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
54944 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
54945 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
54946 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
54947 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
54948 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
54949 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
54950 * sysdeps/unix/sysv/linux/readv.c: Likewise.
54951 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
54952 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
54953 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54954 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
54955 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
54956 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
54957 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
54958 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
54959 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
54960 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
54961 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
54962 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
54963 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54964 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
54965 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
54966 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
54967 * sysvipc/sys/ipc.h: Likewise.
54968 * sysvipc/sys/msg.h: Likewise.
54969 * sysvipc/sys/sem.h: Likewise.
54970 * sysvipc/sys/shm.h: Likewise.
54971 * termios/termios.h: Likewise.
54972 * time/sys/time.h: Likewise.
54973 * time/time.h: Likewise.
54974 * wcsmbs/bits/wchar2.h: Likewise.
54975 * wcsmbs/uchar.h: Likewise.
54976 * wcsmbs/wchar.h: Likewise.
54977 * wctype/wctype.h: Likewise.
54978
0269750c
UD
54979 [BZ #13551]
54980 * Makeconfig: Remove all but ELF support including AIX support.
54981 * Makerules: Likewise.
54982 * config.h.in: Likewise.
54983 * config.make.in: Likewise.
54984 * configure: Likewise.
54985 * configure.in: Likewise.
54986 * csu/Makefile: Likewise.
54987 * csu/version.c: Likewise.
54988 * debug/Makefile: Likewise.
54989 * dlfcn/Makefile: Likewise.
54990 * elf/Makefile: Likewise.
54991 * extra-lib.mk: Likewise.
54992 * iconv/Makefile: Likewise.
54993 * include/libc-symbols.h: Likewise.
54994 * include/shlib-compat.h: Likewise.
54995 * resolv/Makefile: Likewise.
54996 * resolv/res_libc.c: Likewise.
54997 * rt/Makefile: Likewise.
54998 * sysdeps/i386/asm-syntax.h: Likewise.
54999 * sysdeps/i386/sysdep.h: Likewise.
55000 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55001 * sysdeps/mach/sysdep.h: Likewise.
55002 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
55003 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
55004 * sysdeps/s390/asm-syntax.h: Likewise.
55005 * sysdeps/s390/s390-32/sysdep.h: Likewise.
55006 * sysdeps/s390/s390-64/sysdep.h: Likewise.
55007 * sysdeps/sh/sysdep.h: Likewise.
55008 * sysdeps/unix/sparc/sysdep.h: Likewise.
55009 * sysdeps/wordsize-32/divdi3.c: Likewise.
55010 * sysdeps/x86_64/sysdep.h: Likewise.
55011
00bbd29b
UD
55012 * argp/Versions: Remove _argp_unlock_xxx.
55013
55014 [BZ #13559]
55015 * abilist/ld.abilist: Update. Adjust for removal of tls option.
55016 * abilist/libBrokenLocale.abilist: Likewise.
55017 * abilist/libanl.abilist: Likewise.
55018 * abilist/libc.abilist: Likewise.
55019 * abilist/libcrypt.abilist: Likewise.
55020 * abilist/libdl.abilist: Likewise.
55021 * abilist/libm.abilist: Likewise.
55022 * abilist/libnsl.abilist: Likewise.
55023 * abilist/libpthread.abilist: Likewise.
55024 * abilist/libresolv.abilist: Likewise.
55025 * abilist/librt.abilist: Likewise.
55026 * abilist/libthread_db.abilist: Likewise.
55027 * abilist/libutil.abilist: Likewise.
55028 * abilist/libnss_db.abilist: New file.
55029
55030 * scripts/abilist.awk: Add support for indirect functions.
55031
a2693a0e
UD
55032 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
55033
3f05895f
UD
55034 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
55035
ecb6fb48
UD
55036 * shlib-versions: Remove entries for ports architectures.
55037
664f8cb9
UD
55038 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
55039 files in ports.
55040 * elf/stackguard-macros.h: Remove support for IA-64.
55041 * elf/tst-auditmod1.c: Likewise.
55042 * sysdeps/generic/ldsodefs.h: Likewise.
55043
7ae81d88
UD
55044 * sysdeps/unix/sysv/linux/configure.in: Ports should define
55045 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
55046 configure files.
55047
bdeba135
UD
55048 [BZ #13552]
55049 * configure.in: Remove --enable-omitfp support.
55050 * FAQ.in: Adjust.
55051 * config.make.in: Likewise.
55052 * Makeconfig: Likewise.
55053 * manual/install.texi: Likewise.
55054
d75a0a62
UD
55055 In case anyone cares, the IA-64 architecture could move to ports.
55056 * sysdeps/ia64/*: Removed.
55057 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 55058 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 55059
dcc9756b
UD
55060 [BZ #13555]
55061 * configure.in: Remove entries for unsupported architectures.
55062
d3761ebc 55063 [BZ #13533]
9954432e
UD
55064 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
55065 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
55066 routines.
55067 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
55068 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
55069 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
55070 fall back to using wcrtomb.
55071 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
55072 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
55073 renaming.
55074 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
55075 * wcsmbs/tst-c16c32-1.c: New file.
55076
55077 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
55078 local variable.
55079
c3a87236
UD
55080 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
55081
28926a1b
UD
55082 * elf/tst-unique3.cc: Add explicit declaration of gets.
55083 * elf/tst-unique3lib.cc: Likewise.
55084 * elf/tst-unique3lib2.cc: Likewise.
55085 * elf/tst-unique4.cc: Likewise.
55086
df78418a
UD
55087 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
55088
8ecd6b2a
JM
550892012-01-06 Joseph Myers <joseph@codesourcery.com>
55090
55091 [BZ #13566]
55092 * assert/assert.h (static_assert): Don't define for C++.
55093 * libio/stdio.h (gets): Do declare for C++ <= C++11.
55094 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
55095
9f115170
UD
550962012-01-03 Ulrich Drepper <drepper@gmail.com>
55097
5e0d0300
UD
55098 * iconv/loop.c (single loop): Fix assertion in storing of
55099 remaining bytes.
55100
9f115170
UD
55101 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
55102
81fb02b0
UD
551032012-01-01 Ulrich Drepper <drepper@gmail.com>
55104
55105 * posix/getconf.c: Update copyright year.
55106 * nss/getent.c: Likewise.
a316c1f6 55107 * nss/makedb.c: Likewise.
81fb02b0
UD
55108 * iconv/iconvconfig.c: Likewise.
55109 * iconv/iconv_prog.c: Likewise.
55110 * elf/ldconfig.c: Likewise.
a316c1f6
UD
55111 * elf/pldd.c: Likewise.
55112 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
55113 * catgets/gencat.c: Likewise.
55114 * csu/version.c: Likewise.
55115 * elf/ldd.bash.in: Likewise.
55116 * elf/sprof.c (print_version): Likewise.
55117 * locale/programs/locale.c: Likewise.
55118 * locale/programs/localedef.c: Likewise.
a316c1f6 55119 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
55120 * nscd/nscd.c (print_version): Likewise.
55121 * debug/xtrace.sh: Likewise.
55122 * malloc/memusage.sh: Likewise.
55123 * malloc/mtrace.pl: Likewise.
55124 * debug/catchsegv.sh: Likewise.
55125
2ba92745
JJ
551262011-12-30 Jakub Jelinek <jakub@redhat.com>
55127
55128 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
55129 pure attribute.
55130
dadebdae
UD
551312011-12-24 Ulrich Drepper <drepper@gmail.com>
55132
d3761ebc 55133 [BZ #13533]
db6af3eb
UD
55134 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
55135 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
55136 transformations.
55137 * iconv/gconv_int.h: Likewise.
55138 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
55139 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
55140 from libc for GLIBC_2.16.
55141 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
55142 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
55143 * wcsmbs/uchar.h: Really define mbstate_t.
55144 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
55145 * wcsmbs/c16rtomb.c: New file.
55146 * wcsmbs/mbrtoc16.c: New file.
55147 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
55148 for C/POSIX locale.
55149 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
55150 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
55151
dadebdae
UD
55152 * wcsmbs/wchar.h: Add missing __restrict.
55153
67371b56
UD
551542011-12-23 Ulrich Drepper <drepper@gmail.com>
55155
74033a25
UD
55156 [BZ #13532]
55157 * time/Makefile (routines): Add timespec_get.
55158 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
55159 * time/time.h: Define TIME_UTC and declare timespec_get. Define
55160 timespec for ISO C11.
55161 * time/timespec_get.c: New file.
55162 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
55163 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
55164
380d7e87
UD
55165 [BZ #13531]
55166 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
55167 * stdlib/stdlib.h: Declare aligned_alloc.
55168 * Versions.def: Add GLIBC_2.16 for libc.
55169 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
55170
4e9e7a35
UD
55171 [BZ 13527]
55172 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
55173 ISO C11.
55174
380d7e87 55175 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
55176 code.
55177
03a71829
UD
55178 [BZ #13528]
55179 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
55180
839e283e
UD
55181 [BZ #13529]
55182 * assert/assert.h (static_assert): Define.
55183
ce5294e2 55184 * version.h: Update for 2.16 development version.
90fa7312 55185
8d44e150 55186 [BZ #13526]
d7809905
UD
55187 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
55188 _ISOC11_SOURCE.
55189
c0da14cd
UD
55190 * version.h (RELEASE): Bump for 2.15 release.
55191 * include/features.h (__GLIBC_MINOR__): Bump to 15.
55192
530a3249
MP
55193 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
55194 Patch by Marek Polacek <mpolacek@redhat.com>.
55195
67371b56
UD
55196 * bits/byteswap.h: Protect long long constants with __extension__.
55197 * sysdeps/i386/bits/byteswap.h: Likewise.
55198 * sysdeps/ia64/bits/byteswap.h: Likewise.
55199 * sysdeps/s390/bits/byteswap.h: Likewise.
55200 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55201
15db4de1
LD
552022011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55203
55204 [BZ #13540]
bbe315ea
LD
55205 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
55206 destination buffer.
15db4de1
LD
55207 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
55208
2b2596b1
MP
552092011-12-23 Marek Polacek <polacek@redhat.com>
55210
55211 * elf/dl-addr.c (determine_info): Add inline keyword.
55212 * elf/tst-auditmod4b.c (check_avx): Likewise.
55213 * elf/tst-auditmod6b.c (check_avx): Likewise.
55214 * elf/tst-auditmod6c.c (check_avx): Likewise.
55215 * elf/tst-auditmod7b.c (check_avx): Likewise.
55216
70c6c246
UD
552172011-12-23 Ulrich Drepper <drepper@gmail.com>
55218
55219 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
55220 !__SSE_MATH__.
55221
c044cf14
LD
552222011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55223
15db4de1 55224 [BZ #13540]
c044cf14
LD
55225 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
55226 processing for last bytes.
55227
6b13d9d9
BH
552282011-08-06 Bruno Haible <bruno@clisp.org>
55229
d455f537
BH
55230 [BZ #13061]
55231 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
55232 U+0385, not to U+1FEE.
55233
6b13d9d9
BH
55234 [BZ #13062]
55235 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
55236 entry for U+00A5 U+0301.
55237
db910efd
UD
552382011-12-22 Ulrich Drepper <drepper@gmail.com>
55239
27deeafc
UD
55240 [BZ #13166]
55241 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
55242 buffer for the output is too small.
55243
aed9d171
UD
55244 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
55245 optimization.
55246
db910efd
UD
55247 [BZ #13185]
55248 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
55249 SSE flags if possible.
55250
2bd779ae
LD
552512011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55252
e7f9dac3 55253 [BZ #13540]
2bd779ae
LD
55254 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
55255 processing for last bytes.
55256
154bfc16
JM
552572011-12-22 Joseph Myers <joseph@codesourcery.com>
55258
55259 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
55260 (syscall-list-default-options, syscall-list-default-condition)
55261 (syscall-list-includes): Define.
55262 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
55263 list of ABIs and options and #if conditions for each ABI. Do not
55264 handle common syscalls between ABIs specially.
55265 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
55266 Remove.
55267 (syscall-list-variants, syscall-list-32bit-options)
55268 (syscall-list-32bit-condition, syscall-list-64bit-options)
55269 (syscall-list-64bit-condition): Define.
55270 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
55271 (syscall-list-variants, syscall-list-32bit-options)
55272 (syscall-list-32bit-condition, syscall-list-64bit-options)
55273 (syscall-list-64bit-condition): Define.
55274 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
55275 Remove.
55276 (syscall-list-variants, syscall-list-32bit-options)
55277 (syscall-list-32bit-condition, syscall-list-64bit-options)
55278 (syscall-list-64bit-condition): Define.
55279 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
55280 Remove.
55281 (syscall-list-variants, syscall-list-32bit-options)
55282 (syscall-list-32bit-condition, syscall-list-64bit-options)
55283 (syscall-list-64bit-condition): Define.
55284
21eaf3a5
UD
552852011-12-22 Ulrich Drepper <drepper@gmail.com>
55286
16c6f992
UD
55287 * locale/iso-639.def: Add brx entry.
55288
41043168
UD
55289 [BZ #13328]
55290 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
55291 Proposed by Mariusz_Cukr <marcukr@op.pl>.
55292
21eaf3a5
UD
55293 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
55294 __feraiseexcept_renamed.
55295
e3a851a2
UD
552962011-12-21 Ulrich Drepper <drepper@gmail.com>
55297
4920765e
UD
55298 [BZ #13538]
55299 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
55300 EPOLLET with unsigned values.
55301 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55302 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55303
e3a851a2
UD
55304 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
55305 to large cancellation.
55306 * math/s_cacoshf.c: Likewise.
55307 * math/s_cacoshl.c: Likewise.
55308
b27e24b8
RK
553092011-11-18 Richard B. Kreckel <kreckel@ginac.de>
55310
55311 [BZ #13305]
aebefeee 55312 [BZ #12786]
b27e24b8
RK
55313 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
55314 * math/s_cacoshf.c: Likewise.
55315 * math/s_cacoshl.c: Likewise.
55316
ee190f67
UD
553172011-12-21 Ulrich Drepper <drepper@gmail.com>
55318
55319 [BZ #13439]
55320 * iconv/gconv.h: Define __GCONV_SWAP.
55321 * iconvdata/unicode.c: The swap bit must be stored in __flags.
55322 * iconvdata/utf-16.c: Likewise.
55323 * iconvdata/utf-32.c: Likewise.
55324
707f25df
AS
553252011-12-21 Andreas Schwab <schwab@linux-m68k.org>
55326
55327 [BZ #13524]
55328 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
55329 numerator after shifting it by one limb.
55330
d2daaa1e
RÁE
553312011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
55332
55333 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
55334 under [__USE_EXTERN_INLINES].
55335
a4647e72
UD
553362011-12-17 Ulrich Drepper <drepper@gmail.com>
55337
55338 [BZ #13446]
55339 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
55340
f0b264f1
AZ
553412011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55342
55343 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
55344 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
55345 optimized code.
55346 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
55347 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
55348 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
55349 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
55350 for strncasecmp/strncasecmp_l compilation.
55351 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
55352 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
55353
8ef4f244
MP
553542011-12-08 Marek Polacek <mpolacek@redhat.com>
55355
55356 [BZ #13484]
55357 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
55358 of __asm__.
55359
97ac2654
UD
553602011-12-17 Ulrich Drepper <drepper@gmail.com>
55361
55362 [BZ #13506]
55363 * time/tzfile.c (__tzfile_read): Check values from file header.
55364
91d2a845
WS
553652011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
55366
55367 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
55368 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
55369 * powerpc/powerpc32/dl-start.S: Likewise.
55370 * powerpc/powerpc32/elf/start.S: Likewise.
55371 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
55372 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
55373 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
55374 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
55375 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
55376 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
55377 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
55378 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
55379 * powerpc/powerpc32/fpu/s_round.S: Likewise.
55380 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
55381 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
55382 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
55383 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
55384 * powerpc/powerpc32/memset.S: Likewise.
55385 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
55386 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55387 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55388 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55389 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55390 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
55391 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
55392 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
55393 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
55394 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
55395 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
55396 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55397 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55398
a1267ba1
AZ
553992011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55400
55401 * math/libm-test.inc: Added more nearbyint tests.
55402 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
55403 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
55404 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
55405 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
55406
ad8ac1bd
RL
554072011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
55408
55409 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
55410 FD_CLOEXEC.
55411
1d3e4b61
UD
554122011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55413
55414 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
55415 Add wcscpy-ssse3 wcscpy-c.
55416 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
55417 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
55418 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
55419 * sysdeps/x86_64/wcschr.S: New file.
55420 * sysdeps/x86_64/wcsrchr.S: New file.
55421 * string/test-strcmp.c: Remove checking of wcscmp function for
55422 wrong alignments.
55423 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
55424 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
55425 wcsrchr-sse2 wcsrchr-c.
55426 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
55427 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
55428 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
55429 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
55430 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
55431 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
55432 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
55433 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
55434 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
55435 * wcsmbc/wcschr.c (WCSCHR): New macro.
55436
5b330a2d
UD
554372011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55438
55439 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
55440 * wcsmbs/test-wcsrchr.c: New file.
55441 * string/test-strrchr.c: Add wcsrchr support.
55442 (WIDE): New macro.
55443 * wcsmbs/test-wcscpy.c: New file.
55444 * string/test-strcpy.c: Add wcscpy support.
55445 (WIDE): New macro.
26428b7c 55446
f039c043
UD
554472011-12-10 Ulrich Drepper <drepper@gmail.com>
55448
55449 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
55450 the inner loop.
55451
850fb039
AS
554522011-12-06 Andreas Schwab <schwab@linux-m68k.org>
55453
55454 [BZ #13472]
55455 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
55456
4efbd5cb
UD
554572011-12-04 Ulrich Drepper <drepper@gmail.com>
55458
52ff5dd0 55459 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 55460 Minor optimizations.
52ff5dd0 55461
4efbd5cb
UD
55462 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
55463 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
55464 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
55465
8a426e12
UD
554662011-12-03 Ulrich Drepper <drepper@gmail.com>
55467
aff2453d
UD
55468 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
55469 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
55470 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
55471 for gcc to avoid warnings.
55472 * inet/Makefile (tests): Add tst-checks.
55473 * inet/tst-checks.c: New file.
55474
55475 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
55476 warning.
55477
55478 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
55479 __wmemcmp_sse2.
55480
55481 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
55482 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
55483
8a426e12
UD
55484 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
55485
9bea3473
UD
554862011-12-02 Ulrich Drepper <drepper@gmail.com>
55487
3a965496
UD
55488 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
55489 problem.
55490
9bea3473
UD
55491 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
55492
f101631b
UD
554932011-11-29 Joseph Myers <joseph@codesourcery.com>
55494
55495 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
55496 conditional on GCC version.
55497 (__arch_compare_and_exchange_val_8_acq)
55498 (__arch_compare_and_exchange_val_16_acq)
55499 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
55500 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
55501 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
55502
a98275aa
UD
555032011-12-02 Joseph Myers <joseph@codesourcery.com>
55504
55505 * sysdeps/sh/backtrace.c: New file.
55506
d4cc29a2
AS
555072011-12-02 Andreas Schwab <schwab@redhat.com>
55508
55509 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
55510 parenthesis.
55511
6257af2d
AS
555122011-12-01 Andreas Schwab <schwab@redhat.com>
55513
55514 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
55515 falling back to utime.
55516
b5f44c1a
AS
555172011-11-30 Andreas Schwab <schwab@redhat.com>
55518
55519 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
55520 expectations for float.
55521
f3a6cc0a
AS
555222011-11-29 Andreas Schwab <schwab@redhat.com>
55523
55524 * locale/weight.h (findidx): Add parameter len.
55525 * locale/weightwc.h (findidx): Likewise.
55526 * posix/fnmatch_loop.c (FCT): Adjust caller.
55527 * posix/regcomp.c (build_equiv_class): Likewise.
55528 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
55529 * posix/regexec.c (check_node_accept_bytes): Likewise.
55530 * string/strcoll_l.c (STRCOLL): Likewise.
55531 * string/strxfrm_l.c (STRXFRM): Likewise.
55532
9d65ea3a
UD
555332011-11-17 Ulrich Drepper <drepper@gmail.com>
55534
55535 * Makefile.in: Remove CVSOPT handling.
55536 * configure.in: Remove use of AC_REVISION.
55537 * iconvdata/Makefile (distribute): No need to filter out CVS.
55538 * scripts/list-sources.sh: Remove CVS, subversion and monotone
55539 handling.
55540
5583a086
AS
555412011-11-16 Andreas Schwab <schwab@redhat.com>
55542
55543 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
55544 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
55545 [USE_AS_STRNCASECMP_L]: Likewise.
55546 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
55547 NO_TLS_DIRECT_SEG_REFS.
55548 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
55549 Fix argument offsets for non-PIC.
55550 [USE_AS_STRNCASECMP_L]: Likewise.
55551 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
55552 NO_TLS_DIRECT_SEG_REFS.
55553
d62a8200
UD
555542011-11-15 Ulrich Drepper <drepper@gmail.com>
55555
9d65ea3a 55556 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
55557 O_CLOEXEC.
55558 * locale/loadlocale.c (_nl_load_locale): Likewise.
55559
09f93bd3
AS
555602011-11-15 Andreas Schwab <schwab@redhat.com>
55561
446514f9
AS
55562 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
55563 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
55564 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
55565 (SYSCALL_GETTIME): Set errno on error.
55566
09f93bd3
AS
55567 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
55568 count references to noai6ai_cached.
55569
312be3f9
UD
555702011-11-15 Ulrich Drepper <drepper@gmail.com>
55571
55572 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
55573
55574 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
55575 FD_CLOEXEC for /proc/self/maps.
55576
55577 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
55578 FD_CLOEXEC for /proc/meminfo.
55579
55580 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
55581 gai.conf.
55582
55583 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
55584 FD_CLOEXEC for given file.
55585
55586 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
55587
55588 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
55589 FD_CLOEXEC for /etc/hosts.
55590 (_gethtent): Likewise.
55591
55592 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
55593
55594 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
55595 cancellation and set FD_CLOEXEC for /etc/netgroup.
55596
55597 * nss/nss_files/files-key.c (search): Don't allow cancellation when
55598 reading /etc/publickey.
55599
55600 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
55601 allow cancellation when reading /etc/group.
55602
55603 * nss/nss_files/files-alias.c (internal_setent): Don't allow
55604 cancellation.
55605 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
55606
55607 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
55608 when using data file.
55609
55610 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
55611
55612 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
55613 (write_nis_obj): Use "c" and "e" in fopen.
55614
55615 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
55616
55617 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
55618
55619 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
55620
55621 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
55622
55623 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
55624 locale.alias.
55625
55626 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
55627
55628 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
55629
55630 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
55631
55632 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
55633 file parsing and set FD_CLOEXEC.
55634
82af0fa8
UD
556352011-11-14 Ulrich Drepper <drepper@gmail.com>
55636
55637 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
55638
a5fb313c
AS
556392011-11-14 Andreas Schwab <schwab@redhat.com>
55640
55641 * malloc/arena.c (arena_get2): Don't call reused_arena when
55642 _int_new_arena failed.
55643
6abf3465
UD
556442011-11-14 Ulrich Drepper <drepper@gmail.com>
55645
55646 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
55647 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
55648 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
55649 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55650 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55651 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
55652 to compile strcasecmp and strncasecmp.
55653 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
55654 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
55655
55656 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
55657
76e3966e
UD
556582011-11-13 Ulrich Drepper <drepper@gmail.com>
55659
55660 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
55661 locale-defines.sym to gen-as-const-headers.
55662 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
55663 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
55664 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
55665 to compile strcasecmp and strncasecmp.
55666 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
55667 strcasecmp_l and strncasecmp_l.
55668 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
55669 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
55670 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
55671 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
55672 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
55673 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
55674 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
55675 * sysdeps/i386/i686/multiarch/strncase.S: New file.
55676 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
55677 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
55678 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
55679
ab26144e
UD
556802011-11-12 Ulrich Drepper <drepper@gmail.com>
55681
7edb22ef
UD
55682 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
55683 result of SYSDEP_GETTIME_CPU to retval.
55684 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
55685 parameter list to macro. Remove trailing semicolon. Adjust users.
55686
9694fc44
UD
55687 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
55688 variable.
55689
8ad89ef8
UD
55690 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
55691 mantissa words.
55692 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
55693
0c822ef9
UD
55694 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
55695 from unused variable.
55696
874e0564
UD
55697 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
55698 DWARF definitions.
55699 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
55700 for assembling.
55701
3a2edc79
UD
55702 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
55703 over namespaces.
55704
f3c2577f
UD
55705 * sunrpc/rpc_prot.c (rejected): Fix case value.
55706
294ce126
UD
55707 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
55708 unsigned long long int to avoid warnings in shift.
55709
5e2b63c6
UD
55710 * posix/regex_internal.c (re_string_reconstruct): Actually use result
55711 of use of trans.
55712 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
55713 variable tmp.
55714
e7f4b08e
UD
55715 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
55716 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
55717 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
55718
ab26144e
UD
55719 * nis/nis_table.c (nis_list): Use variable of correct type for
55720 result of __follow_path call.
55721
8a6d5255
AZ
557222011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55723
55724 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
55725 of math functions ceil, trunc, floor, round, and sqrt, when
55726 avaliable on the platform.
55727 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
55728 name clash.
55729 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55730 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55731 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55732
aaddc98c
MP
557332011-10-30 Marek Polacek <mpolacek@redhat.com>
55734
55735 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
55736 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
55737
95b7042b
RM
557382011-11-11 Roland McGrath <roland@hack.frob.com>
55739
55740 * include/unistd.h: Fix __readlink return type.
55741 Reported by Chris Metcalf <cmetcalf@tilera.com>.
55742
57769839
UD
557432011-11-11 Ulrich Drepper <drepper@gmail.com>
55744
55745 * stdlib/ucontext.h: Undo last change for makecontext.
55746
edc5984d
AS
557472011-11-11 Andreas Schwab <schwab@redhat.com>
55748
98591e58
AS
55749 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
55750
edc5984d
AS
55751 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
55752 * setjmp/setjmp.h: Mark functions as non-leaf.
55753 * setjmp/bits/setjmp2.h: Likewise.
55754 * stdlib/ucontext.h: Likewise.
55755
77cdc054
AS
557562011-11-10 Andreas Schwab <schwab@redhat.com>
55757
55758 * malloc/arena.c (_int_new_arena): Don't increment narenas.
55759 (reused_arena): Don't check arena limit.
55760 (arena_get2): Atomically check arena limit.
55761
fe72eebd
UD
557622011-11-08 Ulrich Drepper <drepper@gmail.com>
55763
5f078c32
UD
55764 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
55765 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
55766
fe72eebd
UD
55767 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
55768 instructions.
55769
ae1bc2fa
AS
557702011-11-07 Andreas Schwab <schwab@redhat.com>
55771
7583a88d
AS
55772 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
55773 handler when locking.
55774
ae1bc2fa
AS
55775 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
55776 Fix size of allocated buffer.
55777
10fb0bfa
AS
557782011-11-04 Andreas Schwab <schwab@redhat.com>
55779
998832a4
AS
55780 [BZ #10103]
55781 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
55782 declarations for long double functions.
55783 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
55784
10fb0bfa
AS
55785 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
55786
3d7ba52b
AS
557872011-11-03 Andreas Schwab <schwab@redhat.com>
55788
a9ae54a1
AS
55789 * nscd/nscd.c (main): Don't start AVC thread until credentials are
55790 installed.
55791
3d7ba52b
AS
55792 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
55793 is disabled.
55794
bc8db248
ST
557952011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
55796
55797 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
55798
45b96dd6
AS
557992011-11-01 Andreas Schwab <schwab@linux-m68k.org>
55800
647776f6
AS
55801 * include/alloca.h (stackinfo_alloca_round): Define.
55802 (extend_alloca): Use it.
55803 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
55804 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
55805 here.
55806
d91a8b93
AS
55807 * scripts/check-local-headers.sh: Ignore libaudit.h.
55808
45b96dd6
AS
55809 * nscd/Makefile (extra-objs): Make recursively expanded.
55810
432d41ce
UD
558112011-11-01 Ulrich Drepper <drepper@gmail.com>
55812
34372fc6
UD
55813 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
55814 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
55815
fadb59f8
UD
55816 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
55817 * posix/tst-rfc3484-2.c: Likewise.
55818 * posix/tst-rfc3484-3.c: Likewise.
55819
78239589
UD
55820 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55821 process_vm_writev.
55822 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
55823 process_vm_writev.
55824 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
55825 process_vm_writev from libc using GLIBC_2.15 version.
55826
432d41ce
UD
55827 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
55828
02f9c6cf
PP
558292011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
55830
55831 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
55832 stack usage.
55833
3a2c0242
UD
558342011-10-31 Ulrich Drepper <drepper@gmail.com>
55835
f4ec4833
UD
55836 [BZ #13367]
55837 * nss/getent.c (initgroups_keys): Show error message in case no group
55838 names are given.
55839
3a2c0242
UD
55840 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
55841 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
55842 __bump_nl_timestamp.
55843 * nscd/connections (nscd_init): When host database is served open
55844 netlink socket and request notification about configuration changes.
55845 (main_loop_poll): Track netlink file descriptor and bump timestamp
55846 in case data becomes available.
55847 (main_loop_epoll): Likewise.
55848 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
55849 (database_pers_head): Add extra_data fileds.
55850 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
55851 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
55852 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
55853 Adjust caller.
55854 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
55855 in6ai data, call __free_in6ai.
55856 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
55857 Add -DHAVE_NETLINK.
55858 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
55859 interface information. Reuse previous data if netlink timestamp
55860 is not changed.
55861 (__bump_nl_timestamp): New function.
55862 (__free_in6ai): New function.
55863
636064eb
UD
558642011-10-30 Ulrich Drepper <drepper@gmail.com>
55865
55866 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
55867 close_not_cancel_no_status here.
55868 (__check_pf): Reorganize code a bit to not call close twice if OOM.
55869
9beb2334
UD
558702011-10-29 Ulrich Drepper <drepper@gmail.com>
55871
6ef76f3b
UD
55872 [BZ #13276]
55873 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
55874 return value.
55875
0ffc4f3e 55876 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
55877 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
55878 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
55879
cb95113e
UD
558802011-07-03 Andreas Jaeger <aj@suse.de>
55881
55882 [BZ #10709]
55883 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
55884 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
55885 * math/libm-test.inc (sin_test): Add test case.
55886
a1b560ff
UD
558872011-10-29 Ulrich Drepper <drepper@gmail.com>
55888
c9aaface
UD
55889 [BZ #13337]
55890 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
55891 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55892
d272e7f1
UD
55893 * elf/chroot_canon.c (chroot_canon): Cleanups.
55894
1bc33071
UD
55895 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
55896
1760874d
TJ
55897 [BZ #13335]
55898 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
55899 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55900
51d91b18
UD
55901 * string/test-strchr.c: Make usable for strchrnul testing.
55902 * string/test-strchrnul.c: New file.
55903 * string/Makefile (strop-tests): Add strchrnul.
55904
a1b560ff 55905 * po/it.po: Update from translation team.
b611fb81 55906 * po/es.po: Likewise.
a1b560ff 55907
a5b81e1f
UD
559082011-10-28 Ulrich Drepper <drepper@gmail.com>
55909
fd52bc6d
UD
55910 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
55911 the three constants needed as parameters. Drop the others.
55912 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
55913 __m128i_strloadu_tolower.
52e4b9eb
UD
55914 Create and initialize variable zero and use it in all the places
55915 where _mm_setzero_si128 was used.
fd52bc6d 55916
a5b81e1f
UD
55917 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
55918 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
55919 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
55920 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
55921 anymore.
55922 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
55923 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
55924 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
55925 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
55926 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
55927 __mpranred, __mptan.
55928 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
55929 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
55930 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
55931 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
55932 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
55933 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
55934 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
55935 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
55936 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
55937
b4343346
AS
559382011-10-28 Andreas Schwab <schwab@redhat.com>
55939
0c92d8a8
AS
55940 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
55941 redefine if SHARED.
55942 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
55943
b4343346
AS
55944 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
55945 wide char related routines to wcsmbs subdir.
55946
3871f58f
AS
559472011-10-27 Andreas Schwab <schwab@redhat.com>
55948
55949 [BZ #13344]
55950 * misc/sys/cdefs.h (__THROWNL): Define.
55951 * posix/unistd.h: Use __THREADNL instead of __THREAD
55952 for memory synchronization functions.
55953
94d44d9f
RM
559542011-10-26 Roland McGrath <roland@hack.frob.com>
55955
21b64b15 55956 [BZ #13349]
94d44d9f
RM
55957 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
55958 doesn't exist.
55959 * manual/stdio.texi (Obstack Streams): Node removed.
55960
f6ce9294
AS
559612011-10-26 Andreas Schwab <schwab@redhat.com>
55962
80479147
AS
55963 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
55964 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55965 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55966
f6ce9294
AS
55967 * math/math_private.h (math_force_eval): Allow non-addressable
55968 arguments.
55969 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
55970
618280a1
UD
559712011-10-25 Ulrich Drepper <drepper@gmail.com>
55972
e0016b11
UD
55973 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
55974 file is not needed.
55975
55976 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
55977 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
55978 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55979 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55980 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55981 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55982 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55983 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
55984 Add AVX variants.
55985 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
55986 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
55987 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
55988 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
55989 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
55990 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
55991 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
55992 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
55993 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
55994 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
55995 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
55996 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
55997 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
55998 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
55999 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
56000 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
56001 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
56002 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
56003 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
56004
56005 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
56006 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
56007
618280a1
UD
56008 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
56009 place. Use VEX encoding when compiling for AVX.
56010
37822576
AS
560112011-10-25 Andreas Schwab <schwab@redhat.com>
56012
1f1e1947
AS
56013 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
56014 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
56015
37822576
AS
56016 * string/test-strchr.c (do_test): Don't generate NUL bytes.
56017
31ea014d
UD
560182011-10-25 Ulrich Drepper <drepper@gmail.com>
56019
d7826aa1 56020 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 56021 useless if() expression.
d7826aa1
UD
56022 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56023 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56024 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56025 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56026 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56027 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56028 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56029 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56030 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56031 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56032 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56033 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56034 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
56035 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56036 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
56037 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56038 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56039 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56040 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
56041
31ea014d
UD
56042 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
56043
16437fec
AS
560442011-10-25 Andreas Schwab <schwab@redhat.com>
56045
56046 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
56047 condition.
56048 * elf/dl-fini.c (_dl_sort_fini): Likewise.
56049
31d3cc00
UD
560502011-10-25 Ulrich Drepper <drepper@gmail.com>
56051
56052 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
56053 .text section. Avoid duplicate constants.
56054 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56055 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56056 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56057 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56058 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56059 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56060 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56061 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56062 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56063 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
56064 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56065 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56066 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56067 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56068 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56069 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56070 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56071 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56072 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56073 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56074 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56075 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56076 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56077 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
56078 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
56079 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
56080 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
56081 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
56082 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
56083 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
56084 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
56085 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
56086 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56087 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
56088 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
56089 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
56090 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
56091 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
56092 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
56093 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
56094 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
56095 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
56096 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
56097 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
56098 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
56099
58985aa9
UD
561002011-10-24 Ulrich Drepper <drepper@gmail.com>
56101
202c9deb
UD
56102 * sysdeps/x86_64/dla.h: Move to ...
56103 * sysdeps/x86_64/fpu/dla.h: ...here.
56104 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
56105 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 56106
af968f62
UD
56107 * config.make.in: Add have-mfma4 entry.
56108 * configure.in: Substitute libc_cv_cc_fma4.
56109 * math/Makefile (dbl-only-routines): Add sincostab.
56110 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
56111 Use __sincostab not sincos.
56112 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
56113 name is a macro.
56114 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56115 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56116 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56117 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
56118 using __copysign.
56119 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
56120 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
56121 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
56122 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
56123 and __inv.
56124 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
56125 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
56126 __copysign.
56127 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
56128 define aliases when function name is a macro.
56129 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
56130 sysdeps/ieee754/dbl-64/sincos.tbl.
56131 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
56132 fma4-enabled routines.
56133 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
56134 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
56135 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
56136 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
56137 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
56138 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
56139 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
56140 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
56141 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
56142 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
56143 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
56144 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
56145 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
56146 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
56147 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
56148 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
56149 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
56150 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
56151 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
56152 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
56153 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
56154 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
56155 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
56156 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
56157 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
56158 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
56159 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
56160 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
56161 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
56162 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
56163
58985aa9
UD
56164 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
56165 rename.
56166 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56167 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56168 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56169 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56170 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56171 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56172 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56173 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56174
a201fbcf
AS
561752011-10-24 Andreas Schwab <schwab@redhat.com>
56176
56177 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
56178
fc2ee42a
LD
561792011-10-23 Ulrich Drepper <drepper@gmail.com>
56180
bb3129bd
UD
56181 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
56182
0275fff8
UD
56183 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
56184 prediction.
56185 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
56186
2fa2ae85
UD
56187 * string/strnlen.c: Don't define STRNLEN, reverse logic.
56188 Remove unused variable magic_bits.
56189 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
56190
fc2ee42a
LD
56191 * string/strnlen.c: Define and use STRNLEN macro.
56192 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
56193 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
56194 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
56195 * wcsmbs/wcslen.c: Define and use WCSLEN.
56196 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
56197 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
56198 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
56199 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
56200 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
56201 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
56202 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56203
ce7dd29f
LD
562042011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56205
56206 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56207 strnlen-sse2-no-bsf.
56208 Rename strlen-no-bsf to strlen-sse2-no-bsf.
56209 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
56210 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
56211 Add strnlen support.
56212 (USE_AS_STRNLEN): New macro.
56213 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
56214 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
56215 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
56216 * sysdeps/x86_64/wcslen.S: New file.
56217
979c70a3
MZ
562182011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
56219
56220 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
56221 XMM-moves are used for copying on small sizes.
56222
2d09f82f
LD
562232011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56224
56225 * wcsmbs/Makefile (strop-tests): Add wcschr.
56226 * wcsmbs/test-wcschr.c: New file.
56227 * string/test-strchr.c: Update.
56228 Add wcschr support.
56229 (WIDE): New macro.
56230
619fccca
LD
562312011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56232
2d09f82f 56233 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
56234 * wcsmbs/test-wcslen.c: New file.
56235 * string/test-strlen.c: Update.
56236 Add wcslen support.
56237 (WIDE): New macro.
56238
09f699ea
UD
562392011-10-23 Ulrich Drepper <drepper@gmail.com>
56240
56241 * po/it.po: Update from translation team.
56242
95584d3b
LD
562432011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56244
56245 * sysdeps/x86_64/wcscmp.S: Update.
56246 Fix wrong comparison semantics.
56247 wcscmp shall use signed comparison not unsigned.
56248 Don't use substraction to avoid overflow bug.
56249 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
56250 * wcsmbc/wcscmp.c: Likewise.
56251 * string/test-strcmp.c: Likewise.
56252 Add new tests to check cases with negative values.
56253
c8b3296b
UD
562542011-10-23 Ulrich Drepper <drepper@gmail.com>
56255
56256 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
56257 * sysdeps/x86_64/dla.h: ...here. New file.
56258 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
56259 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56260 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56261 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56262 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56263 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56264 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56265 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56266 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56267
246ad57a
AS
562682011-10-23 Andreas Schwab <schwab@linux-m68k.org>
56269
56270 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
56271 __ynl_finite aliases.
56272
a1a87169
UD
562732011-10-22 Ulrich Drepper <drepper@gmail.com>
56274
0d355eb7
UD
56275 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56276
a1a87169
UD
56277 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
56278 define DLA_FMA.
56279 [DLA_FMA] (EMULV): Use DLA_FMA.
56280 [DLA_FMA] (MUL12): Use EMULV.
56281 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
56282 that are not needed.
56283 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56284 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56285 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56286 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56287 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56288 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56289 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56290
ee2aafe0
AS
562912011-10-22 Andreas Schwab <schwab@linux-m68k.org>
56292
56293 * math/s_nan.c: Undef __nan.
56294 * math/s_nanf.c: Undef __nanf.
56295 * math/s_nanl.c: Undef __nanl.
56296 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
56297 "math_private.h".
56298
bc62c2fb
UD
562992011-10-22 Ulrich Drepper <drepper@gmail.com>
56300
77425c63
UD
56301 * math/s_catan.c: Add branch predictions.
56302 * math/s_catanf.c: Likewise.
56303 * math/s_catanh.c: Likewise.
56304 * math/s_catanhf.c: Likewise.
56305 * math/s_catanhl.c: Likewise.
56306 * math/s_catanl.c: Likewise.
56307 * math/s_cexp.c: Likewise.
56308 * math/s_cexpf.c: Likewise.
56309 * math/s_cexpl.c: Likewise.
56310 * math/s_clog.c: Likewise.
56311 * math/s_clog10.c: Likewise.
56312 * math/s_clog10f.c: Likewise.
56313 * math/s_clog10l.c: Likewise.
56314 * math/s_clogf.c: Likewise.
56315 * math/s_clogl.c: Likewise.
56316 * math/s_csqrt.c: Likewise.
56317 * math/s_csqrtf.c: Likewise.
56318 * math/s_csqrtl.c: Likewise.
56319 * math/s_ctanf.c: Likewise.
56320 * math/s_ctanh.c: Likewise.
56321 * math/s_ctanhf.c: Likewise.
56322 * math/s_ctanhl.c: Likewise.
56323 * math/s_ctanl.c: Likewise.
56324
bc62c2fb
UD
56325 * math/math_private.h: Define __nan, __nanf, __nanl.
56326 * math/s_cacosh.c: Include <math_private.h>.
56327 * math/s_cacoshl.c: Likewise.
56328 * math/s_casinh.c: Likewise.
56329 * math/s_casinhf.c: Likewise.
56330 * math/s_casinhl.c: Likewise.
56331 * math/s_ccos.c: Rely entire on ccosh.
56332 * math/s_ccosf.c: Rely entire on ccoshf.
56333 * math/s_ccosl.c: Rely entirely on ccoshl.
56334 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
56335 Remove tests for FE_INVALID.
56336 * math/s_ccoshf.c: Likewise.
56337 * math/s_ccoshl.c: Likewise.
56338 * math/s_csin.c: Likewise.
56339 * math/s_csinf.c: Likewise.
56340 * math/s_csinh.c Likewise.
56341 * math/s_csinhf.c: Likewise.
56342 * math/s_csinhl.c: Likewise.
56343 * math/s_csinl.c: Likewise.
56344 * math/s_ctan.c: Likewise.
56345 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
56346 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
56347 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
56348
8ec250a4
UD
563492011-10-21 Ulrich Drepper <drepper@gmail.com>
56350
c196fed8
UD
56351 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
56352 compilation problems.
56353
8ec250a4
UD
56354 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
56355 __builtin_expect.
56356
8d4f46c6
UD
563572011-10-20 Ulrich Drepper <drepper@gmail.com>
56358
ed72b654
UD
56359 * sysdeps/i386/configure.in: Test for -mfma4 option.
56360 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
56361 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
56362 COMMON_CPUID_INDEX_80000001.
56363 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
56364 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
56365 use it if FMA3 is not supported.
56366 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
56367
8d4f46c6
UD
56368 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
56369 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56370
d45c60c2
AS
563712011-10-20 Andreas Schwab <schwab@redhat.com>
56372
56373 [BZ #12892]
56374 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
56375 it would create a cycle with a link time dependency.
56376
d9a4d2ab
UD
563772011-10-19 Ulrich Drepper <drepper@gmail.com>
56378
855d1560
UD
56379 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
56380 instruction.
56381 * string/Makefile (strop-tests): Add rawmemchr.
56382 * string/test-rawmemchr.c: New file.
56383
d9a4d2ab
UD
56384 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
56385 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
56386 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
56387 when compiling str{,n}casecmp and when AVX is available. Hook up
56388 new optimized code in initializers.
56389
8f3b1ffe
AS
563902011-10-19 Andreas Schwab <schwab@redhat.com>
56391
56392 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
56393 __feraiseexcept instead of feraiseexcept.
56394
d38f1dba
UD
563952011-10-18 Ulrich Drepper <drepper@gmail.com>
56396
d9a8d0ab
UD
56397 * math/math_private.h: Define defaults for libc_fetestexcept and
56398 libc_feupdateenv.
56399 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
56400 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
56401 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56402 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56403 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
56404 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56405 libc_fetestexcept and libc_feupdateenv.
56406
4855e3dd
UD
56407 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
56408 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
56409 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
56410 * sysdeps/x86_64/fpu/math_private.h: Define special version of
56411 libc_feholdexcept_setround.
56412
581d30e3
UD
56413 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
56414 Add s_nearbyint-c and s_nearbyintf-c.
56415 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
56416 nearbyintf inlines.
56417 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
56418 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
56419 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
56420 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
56421
d38f1dba
UD
56422 * math/math_private.h: Define defaults for libc_fegetround,
56423 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
56424 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
56425 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
56426 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
56427 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
56428 standard functions.
56429 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56430 Remove comments and hacks for old compiler versions.
56431 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56432 libc_fegetround, libc_fesetround, libc_feholdexcept, and
56433 libc_feholdexceptl.
56434
caa6c9d8
AS
564352011-10-18 Andreas Schwab <schwab@redhat.com>
56436
56437 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
56438 (__feraiseexcept_renamed): Add __NTH.
56439 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
56440 namespace violations.
56441
97c066e6
UD
564422011-10-17 Ulrich Drepper <drepper@gmail.com>
56443
99ce7b04
UD
56444 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
56445
1004d182
UD
56446 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
56447
228a984d
UD
56448 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
56449 recently added interfaces.
56450 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
56451
c8553a6a
UD
56452 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
56453 about macro parameter expansion.
56454
ed22dcf6
UD
56455 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
56456 __NO_MATH_INLINES is defined. Cleanups.
56457
56458 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
56459 and __floorf is target has SSE4.1.
56460 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
56461 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
56462 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
56463 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
56464
b171c137
UD
56465 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
56466 name.
56467 (floorf): Likewise.
56468
97c066e6
UD
56469 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
56470
629f62ef
AS
564712011-10-17 Andreas Schwab <schwab@redhat.com>
56472
49a43d80
AS
56473 * misc/sys/cdefs.h: Fix last change.
56474
629f62ef
AS
56475 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
56476 database lookup.
56477
e453f6cd
UD
564782011-10-16 Ulrich Drepper <drepper@gmail.com>
56479
aa78043a
UD
56480 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
56481
ad0f5cad
UD
56482 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
56483 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56484 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56485 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56486 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56487 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
56488 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56489 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56490 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
56491 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
56492 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
56493 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
56494 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
56495 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
56496 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
56497 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
56498 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
56499 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
56500 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
56501 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
56502 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
56503 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
56504
56505 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
56506 ceil, ceilf, floor, floorf.
56507
56508 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
56509 Perform IRELATIVE relocations last.
56510
e453f6cd
UD
56511 * elf/do-rel.h: Add another parameter nrelative, replacing the
56512 local variable with the same name. Change name of the function
56513 to end in Rel or Rela (uppercase).
56514 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
56515 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
56516 elf_dynamic_do_##reloc function.
56517
fd5bdc09
UD
565182011-10-15 Ulrich Drepper <drepper@gmail.com>
56519
79b195b5
UD
56520 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
56521 is sufficient, at least on modern CPUs.
56522
d4a28569
UD
56523 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
56524
b61099b5
UD
56525 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
56526 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
56527
bcf01e6d
UD
56528 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
56529 __expl_finite.
56530 * math/bits/math-finite.h: Add entries for exp.
56531 * math/e_expl.c: Add __*_finite alias.
56532 * sysdeps/i386/fpu/e_exp.S: Likewise.
56533 * sysdeps/i386/fpu/e_expf.S: Likewise.
56534 * sysdeps/i386/fpu/e_expl.c: Likewise.
56535 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56536 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56537 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56538 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56539 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
56540 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
56541 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
56542
ba1a0d59
UD
56543 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
56544 is sufficient, at least on modern CPUs.
56545
fd5bdc09
UD
56546 * ctype/ctype-info.c (__ctype_init): Define.
56547 * include/ctype.h (__ctype_init): Declare.
56548 (__ctype_b_loc): The variable is always initialized.
56549 (__ctype_toupper_loc): Likewise.
56550 (__ctype_tolower_loc): Likewise.
56551 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
56552 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
56553
7872cfb0
AS
565542011-10-15 Andreas Schwab <schwab@linux-m68k.org>
56555
b468825a
AS
56556 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
56557
7872cfb0
AS
56558 * configure.in: Also look in $cxxmachine/include for C++ system
56559 headers.
56560
be13f7bf
LD
565612011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56562
56563 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
56564 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
56565 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
56566 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
56567 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
56568 (USE_AS_WMEMCMP): New macro.
56569 Fixing indents.
56570 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
56571 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
56572 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
56573 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
56574 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56575 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
56576 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
56577 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
56578 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
56579 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
56580 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
56581 (USE_AS_WMEMCMP): New macro.
56582 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
56583 * sysdeps/string/test-memcmp.c: Update.
56584 Fix simple_wmemcmp.
56585 Add new tests.
56586 * wcsmbs/wmemcmp.c: Update.
56587 (WMEMCMP): New macro.
56588 Fix overflow bug.
56589
556a2007
AJ
565902011-10-12 Andreas Jaeger <aj@suse.de>
56591
56592 [BZ #13268]
56593 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
56594
538faaa7
UD
565952011-10-15 Ulrich Drepper <drepper@gmail.com>
56596
ab6737ff
UD
56597 * libio/iofwide.c (do_length): Avoid warning.
56598
538faaa7
UD
56599 * ctype/ctype.h (__isctype_f): Add missing __THROW.
56600
396a21b1
UD
566012011-10-14 Ulrich Drepper <drepper@gmail.com>
56602
cdf2901f
UD
56603 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
56604
38ad40ce
UD
56605 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
56606 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
56607 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
56608 * sysdeps/i386/i686/fpu/e_log.S: New file.
56609 * sysdeps/i386/i686/fpu/e_logf.S: New file.
56610 * sysdeps/i386/i686/fpu/e_logl.S: New file.
56611
396a21b1
UD
56612 * ctype/ctype.h: Add support for inlined isXXX functions when
56613 compiling C++ code.
56614
6b1f68c9
AS
566152011-10-14 Andreas Schwab <schwab@redhat.com>
56616
349290c0
AS
56617 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56618
6b1f68c9
AS
56619 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
56620
f2282d42
RM
566212011-10-13 Roland McGrath <roland@hack.frob.com>
56622
56623 [BZ #13291]
56624 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
56625
5298ffa8
AS
566262011-10-13 Andreas Schwab <schwab@redhat.com>
56627
714fad23
AS
56628 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
56629 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
56630 feraiseexcept.
56631
81dcc7fb
AS
56632 * sysdeps/x86_64/memrchr.S: Check for zero size.
56633
5298ffa8
AS
56634 * string/stratcliff.c: Add memrchr tests.
56635
951fbcec
LD
566362011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56637
56638 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56639 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
56640 rawmemchr-sse2 rawmemchr-sse2-bsf.
56641 * sysdeps/i386/i686/multiarch/memchr.S: New file.
56642 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
56643 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
56644 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
56645 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
56646 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
56647 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
56648 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
56649 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
56650 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
56651 * string/memrchr.c (MEMRCHR): New macro.
56652
0ac5ae23
UD
566532011-10-12 Ulrich Drepper <drepper@gmail.com>
56654
56655 Add integration with gcc's -ffinite-math-only and optimize wrapper
56656 functions in libm.
56657 * Versions.def: Define GLIBC_2.15 version for libm.
56658 * math/Makefile (headers): Add bits/math-finite.h.
56659 * math/bits/math-finite.h: New file.
56660 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
56661 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
56662 * math/e_acoshl.c: Add __*_finite alias.
56663 * math/e_acosl.c: Likewise.
56664 * math/e_asinl.c: Likewise.
56665 * math/e_atan2l.c: Likewise.
56666 * math/e_atanhl.c: Likewise.
56667 * math/e_coshl.c: Likewise.
56668 * math/e_exp10.c: Likewise.
56669 * math/e_exp10f.c: Likewise.
56670 * math/e_exp10l.c: Likewise.
56671 * math/e_exp2l.c: Likewise.
56672 * math/e_fmodl.c: Likewise.
56673 * math/e_gammal_r.c: Likewise.
56674 * math/e_hypotl.c: Likewise.
56675 * math/e_j0l.c: Likewise.
56676 * math/e_j1l.c: Likewise.
56677 * math/e_jnl.c: Likewise.
56678 * math/e_lgammal_r.c: Likewise.
56679 * math/e_log10l.c: Likewise.
56680 * math/e_log2l.c: Likewise.
56681 * math/e_logl.c: Likewise.
56682 * math/e_powl.c: Likewise.
56683 * math/e_sinhl.c: Likewise.
56684 * math/e_sqrtl.c: Likewise.
56685 * math/e_scalb.c: Completely rewritten and optimized.
56686 * math/e_scalbf.c: Likewise.
56687 * math/e_scalbl.c: Likewise.
56688 * math/w_acos.c: Likewise.
56689 * math/w_acosf.c: Likewise.
56690 * math/w_acosl.c: Likewise.
56691 * math/w_acosh.c: Likewise.
56692 * math/w_acoshf.c: Likewise.
56693 * math/w_acoshl.c: Likewise.
56694 * math/w_asin.c: Likewise.
56695 * math/w_asinf.c: Likewise.
56696 * math/w_asinl.c: Likewise.
56697 * math/w_atan2.c: Likewise.
56698 * math/w_atan2f.c: Likewise.
56699 * math/w_atan2l.c: Likewise.
56700 * math/w_atanh.c: Likewise.
56701 * math/w_atanhf.c: Likewise.
56702 * math/w_atanhl.c: Likewise.
56703 * math/w_exp10.c: Likewise.
56704 * math/w_exp10f.c: Likewise.
56705 * math/w_exp10l.c: Likewise.
56706 * math/w_fmod.c: Likewise.
56707 * math/w_fmodf.c: Likewise.
56708 * math/w_fmodl.c: Likewise.
56709 * math/w_j0.c: Likewise.
56710 * math/w_j0f.c: Likewise.
56711 * math/w_j0l.c: Likewise.
56712 * math/w_j1.c: Likewise.
56713 * math/w_j1f.c: Likewise.
56714 * math/w_j1l.c: Likewise.
56715 * math/w_jn.c: Likewise.
56716 * math/w_jnf.c: Likewise.
56717 * math/w_log.c: Likewise.
56718 * math/w_logf.c: Likewise.
56719 * math/w_logl.c: Likewise.
56720 * math/w_log10.c: Likewise.
56721 * math/w_log10f.c: Likewise.
56722 * math/w_log10l.c: Likewise.
56723 * math/w_log2.c: Likewise.
56724 * math/w_log2f.c: Likewise.
56725 * math/w_log2l.c: Likewise.
56726 * math/w_pow.c: Likewise.
56727 * math/w_powf.c: Likewise.
56728 * math/w_powl.c: Likewise.
56729 * math/w_remainder.c: Likewise.
56730 * math/w_remainderf.c: Likewise.
56731 * math/w_remainderl.c: Likewise.
56732 * math/w_scalb.c: Likewise.
56733 * math/w_scalbf.c: Likewise.
56734 * math/w_scalbl.c: Likewise.
56735 * math/w_sqrt.c: Likewise.
56736 * math/w_sqrtf.c: Likewise.
56737 * math/w_sqrtl.c: Likewise.
56738 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
56739 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
56740 used.
56741 * math/math_private.h: Declare __kernel_standard_f.
56742 * math/w_cosh.c: Remove cruft and optimize a bit.
56743 * math/w_coshf.c: Likewise.
56744 * math/w_coshl.c: Likewise.
56745 * math/w_exp2.c: Likewise.
56746 * math/w_exp2f.c: Likewise.
56747 * math/w_exp2l.c: Likewise.
56748 * math/w_hypot.c: Likewise.
56749 * math/w_hypotf.c: Likewise.
56750 * math/w_hypotl.c: Likewise.
56751 * math/w_lgamma.c: Likewise.
56752 * math/w_lgamma_r.c: Likewise.
56753 * math/w_lgammaf.c: Likewise.
56754 * math/w_lgammaf_r.c: Likewise.
56755 * math/w_lgammal.c: Likewise.
56756 * math/w_lgammal_r.c: Likewise.
56757 * math/w_sinh.c: Likewise.
56758 * math/w_sinhf.c: Likewise.
56759 * math/w_sinhl.c: Likewise.
56760 * math/w_tgamma.c: Likewise.
56761 * math/w_tgammaf.c: Likewise.
56762 * math/w_tgammal.c: Likewise.
56763 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56764 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56765 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
56766 Minor optimizations. Pretty printing. Remove cruft.
56767 * sysdeps/i386/fpu/e_acosf.S: Likewise.
56768 * sysdeps/i386/fpu/e_acosh.S: Likewise.
56769 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56770 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56771 * sysdeps/i386/fpu/e_acosl.c: Likewise.
56772 * sysdeps/i386/fpu/e_asin.S: Likewise.
56773 * sysdeps/i386/fpu/e_asinf.S: Likewise.
56774 * sysdeps/i386/fpu/e_atan2.S: Likewise.
56775 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
56776 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
56777 * sysdeps/i386/fpu/e_atanh.S: Likewise.
56778 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56779 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56780 * sysdeps/i386/fpu/e_exp10.S: Likewise.
56781 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
56782 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
56783 * sysdeps/i386/fpu/e_exp2.S: Likewise.
56784 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
56785 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
56786 * sysdeps/i386/fpu/e_fmod.S: Likewise.
56787 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
56788 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
56789 * sysdeps/i386/fpu/e_hypot.S: Likewise.
56790 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
56791 * sysdeps/i386/fpu/e_log.S: Likewise.
56792 * sysdeps/i386/fpu/e_log10.S: Likewise.
56793 * sysdeps/i386/fpu/e_log10f.S: Likewise.
56794 * sysdeps/i386/fpu/e_log10l.S: Likewise.
56795 * sysdeps/i386/fpu/e_log2.S: Likewise.
56796 * sysdeps/i386/fpu/e_log2f.S: Likewise.
56797 * sysdeps/i386/fpu/e_log2l.S: Likewise.
56798 * sysdeps/i386/fpu/e_logf.S: Likewise.
56799 * sysdeps/i386/fpu/e_logl.S: Likewise.
56800 * sysdeps/i386/fpu/e_pow.S: Likewise.
56801 * sysdeps/i386/fpu/e_powf.S: Likewise.
56802 * sysdeps/i386/fpu/e_powl.S: Likewise.
56803 * sysdeps/i386/fpu/e_remainder.S: Likewise.
56804 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
56805 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
56806 * sysdeps/i386/fpu/e_scalb.S: Likewise.
56807 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56808 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56809 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
56810 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
56811 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
56812 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56813 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56814 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56815 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56816 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56817 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56818 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
56819 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56820 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56821 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56822 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56823 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
56824 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56825 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56826 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56827 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56828 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56829 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56830 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56831 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56832 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56833 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
56834 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56835 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56836 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
56837 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
56838 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56839 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
56840 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
56841 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
56842 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56843 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
56844 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56845 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
56846 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
56847 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
56848 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
56849 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
56850 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
56851 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
56852 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
56853 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
56854 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
56855 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
56856 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56857 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
56858 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
56859 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
56860 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
56861 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
56862 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
56863 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
56864 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
56865 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56866 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
56867 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
56868 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
56869 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
56870 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
56871 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
56872 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
56873 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
56874 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56875 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56876 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
56877 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
56878 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
56879 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
56880 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
56881 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
56882 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
56883 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
56884 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
56885 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
56886 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
56887 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56888 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
56889 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
56890 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56891 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
56892 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56893 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
56894 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
56895 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56896 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56897 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
56898 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56899 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
56900 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
56901 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
56902 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56903 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56904 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56905 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
56906 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56907 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56908 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56909 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
56910 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
56911 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
56912 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
56913 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
56914 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
56915 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
56916 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56917 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56918 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56919 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56920 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
56921 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56922 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
56923 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
56924 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
56925 (__isnanf): Likewise.
56926 (__isinf_ns): Likewise.
56927 (__isinf_nsf): Likewise.
56928 (__finite): Likewise.
56929 (__finitef): Likewise.
56930 (__ieee754_sqrt): Define as macro.
56931 (__ieee754_sqrtf): Define as macro.
56932 (__ieee754_sqrtl): Define as macro.
56933 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
56934 inlined copy.
56935 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
56936 __FINITE_MATH_ONLY__ consistent.
56937 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
56938
12cc2fcd
AS
569392011-10-10 Andreas Schwab <schwab@linux-m68k.org>
56940
a843a204
AS
56941 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
56942 of rawmemchr.
56943
12cc2fcd
AS
56944 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
56945
c853acd5
UD
569462011-10-09 Ulrich Drepper <drepper@gmail.com>
56947
56948 * po/ja.po: Update from translation team.
56949
c658d255
RM
569502011-10-08 Roland McGrath <roland@hack.frob.com>
56951
110946e4
RM
56952 * locale/programs/locarchive.c (prepare_address_space): New function.
56953 (create_archive, enlarge_archive, open_archive): Use it.
56954
50604220
RM
56955 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
56956 inside [SHARED], where it is used.
56957
c658d255
RM
56958 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
56959
56960 * nss/getent.c (netgroup_keys): Remove unused variable.
56961 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
56962
6a621eb7
UD
569632011-10-08 Ulrich Drepper <drepper@gmail.com>
56964
7edb55ce
UD
56965 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
56966 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
56967 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
56968 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
56969 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
56970 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
56971 * math/Makefile (libm-calls): Add s_isinf_ns.
56972 * math/divtc3.c: Use __isinf_nsl instead of isinf.
56973 * math/multc3.c: Likewise.
56974 * math/s_casin.c: Likewise.
56975 * math/s_casinf.c: Likewise.
56976 * math/s_casinl.c: Likewise.
56977 * math/s_ccos.c: Likewise.
56978 * math/s_ccosf.c: Likewise.
56979 * math/s_ccosl.c: Likewise.
56980 * math/s_ctan.c: Likewise.
56981 * math/s_ctanf.c: Likewise.
56982 * math/s_ctanh.c: Likewise.
56983 * math/s_ctanhf.c: Likewise.
56984 * math/s_ctanhl.c: Likewise.
56985 * math/s_ctanl.c: Likewise.
56986 * math/w_fmod.c: Likewise.
56987 * math/w_fmodf.c: Likewise.
56988 * math/w_fmodl.c: Likewise.
56989 * math/w_remainder.c: Likewise.
56990 * math/w_remainderf.c: Likewise.
56991 * math/w_remainderl.c: Likewise.
56992 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
56993 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
56994 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
56995 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
56996 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
56997 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
56998 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
56999 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
57000
187da0ae
UD
57001 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
57002 of the number.
57003 * stdio-common/printf_fphex.c: Likewise.
57004 * stdio-common/printf_size.c: Likewise.
57005
9277c064
UD
57006 * math/e_exp10.c: Include math_private.h using <...> not "...".
57007 * math/e_exp10f.c: Likewise.
57008 * math/e_exp10l.c: Likewise.
57009 * math/e_exp2l.c: Likewise.
57010 * math/e_j0l.c: Likewise.
57011 * math/e_j1l.c: Likewise.
57012 * math/e_jnl.c: Likewise.
57013 * math/e_lgammal_r.c: Likewise.
57014 * math/e_rem_pio2l.c: Likewise.
57015 * math/e_scalb.c: Likewise.
57016 * math/e_scalbf.c: Likewise.
57017 * math/e_scalbl.c: Likewise.
57018 * math/k_cosl.c: Likewise.
57019 * math/k_sinl.c: Likewise.
57020 * math/k_tanl.c: Likewise.
57021 * math/s_cacoshf.c: Likewise.
57022 * math/s_catan.c: Likewise.
57023 * math/s_catanf.c: Likewise.
57024 * math/s_catanh.c: Likewise.
57025 * math/s_catanhf.c: Likewise.
57026 * math/s_catanhl.c: Likewise.
57027 * math/s_catanl.c: Likewise.
57028 * math/s_ccosh.c: Likewise.
57029 * math/s_ccoshf.c: Likewise.
57030 * math/s_ccoshl.c: Likewise.
57031 * math/s_cexp.c: Likewise.
57032 * math/s_cexpf.c: Likewise.
57033 * math/s_cexpl.c: Likewise.
57034 * math/s_clog.c: Likewise.
57035 * math/s_clog10.c: Likewise.
57036 * math/s_clog10f.c: Likewise.
57037 * math/s_clog10l.c: Likewise.
57038 * math/s_clogf.c: Likewise.
57039 * math/s_clogl.c: Likewise.
57040 * math/s_csin.c: Likewise.
57041 * math/s_csinf.c: Likewise.
57042 * math/s_csinh.c: Likewise.
57043 * math/s_csinhf.c: Likewise.
57044 * math/s_csinhl.c: Likewise.
57045 * math/s_csinl.c: Likewise.
57046 * math/s_csqrt.c: Likewise.
57047 * math/s_csqrtf.c: Likewise.
57048 * math/s_csqrtl.c: Likewise.
57049 * math/s_ctan.c: Likewise.
57050 * math/s_ctanf.c: Likewise.
57051 * math/s_ctanh.c: Likewise.
57052 * math/s_ctanhf.c: Likewise.
57053 * math/s_ctanhl.c: Likewise.
57054 * math/s_ctanl.c: Likewise.
57055 * math/s_ldexp.c: Likewise.
57056 * math/s_ldexpf.c: Likewise.
57057 * math/s_ldexpl.c: Likewise.
57058 * math/s_significand.c: Likewise.
57059 * math/s_significandf.c: Likewise.
57060 * math/s_significandl.c: Likewise.
57061 * math/w_acos.c: Likewise.
57062 * math/w_acosf.c: Likewise.
57063 * math/w_acosh.c: Likewise.
57064 * math/w_acoshf.c: Likewise.
57065 * math/w_acoshl.c: Likewise.
57066 * math/w_acosl.c: Likewise.
57067 * math/w_asin.c: Likewise.
57068 * math/w_asinf.c: Likewise.
57069 * math/w_asinl.c: Likewise.
57070 * math/w_atan2.c: Likewise.
57071 * math/w_atan2f.c: Likewise.
57072 * math/w_atan2l.c: Likewise.
57073 * math/w_atanh.c: Likewise.
57074 * math/w_atanhf.c: Likewise.
57075 * math/w_atanhl.c: Likewise.
57076 * math/w_cosh.c: Likewise.
57077 * math/w_coshf.c: Likewise.
57078 * math/w_coshl.c: Likewise.
57079 * math/w_dremf.c: Likewise.
57080 * math/w_exp10.c: Likewise.
57081 * math/w_exp10f.c: Likewise.
57082 * math/w_exp10l.c: Likewise.
57083 * math/w_exp2.c: Likewise.
57084 * math/w_exp2f.c: Likewise.
57085 * math/w_fmod.c: Likewise.
57086 * math/w_fmodf.c: Likewise.
57087 * math/w_fmodl.c: Likewise.
57088 * math/w_hypot.c: Likewise.
57089 * math/w_hypotf.c: Likewise.
57090 * math/w_hypotl.c: Likewise.
57091 * math/w_j0.c: Likewise.
57092 * math/w_j0f.c: Likewise.
57093 * math/w_j0l.c: Likewise.
57094 * math/w_j1.c: Likewise.
57095 * math/w_j1f.c: Likewise.
57096 * math/w_j1l.c: Likewise.
57097 * math/w_jn.c: Likewise.
57098 * math/w_jnf.c: Likewise.
57099 * math/w_jnl.c: Likewise.
57100 * math/w_lgamma.c: Likewise.
57101 * math/w_lgamma_r.c: Likewise.
57102 * math/w_lgammaf.c: Likewise.
57103 * math/w_lgammaf_r.c: Likewise.
57104 * math/w_lgammal.c: Likewise.
57105 * math/w_lgammal_r.c: Likewise.
57106 * math/w_log.c: Likewise.
57107 * math/w_log10.c: Likewise.
57108 * math/w_log10f.c: Likewise.
57109 * math/w_log10l.c: Likewise.
57110 * math/w_log2.c: Likewise.
57111 * math/w_log2f.c: Likewise.
57112 * math/w_log2l.c: Likewise.
57113 * math/w_logf.c: Likewise.
57114 * math/w_logl.c: Likewise.
57115 * math/w_pow.c: Likewise.
57116 * math/w_powf.c: Likewise.
57117 * math/w_powl.c: Likewise.
57118 * math/w_remainder.c: Likewise.
57119 * math/w_remainderf.c: Likewise.
57120 * math/w_remainderl.c: Likewise.
57121 * math/w_scalb.c: Likewise.
57122 * math/w_scalbf.c: Likewise.
57123 * math/w_scalbl.c: Likewise.
57124 * math/w_sinh.c: Likewise.
57125 * math/w_sinhf.c: Likewise.
57126 * math/w_sinhl.c: Likewise.
57127 * math/w_sqrt.c: Likewise.
57128 * math/w_sqrtf.c: Likewise.
57129 * math/w_sqrtl.c: Likewise.
57130 * math/w_tgamma.c: Likewise.
57131 * math/w_tgammaf.c: Likewise.
57132 * math/w_tgammal.c: Likewise.
57133
6a621eb7
UD
57134 * po/ja.po: Update from translation team.
57135
bf582445
AJ
571362011-09-29 Andreas Jaeger <aj@suse.de>
57137
f9efbf3a
AJ
57138 [BZ #13179]
57139 * sunrpc/netname.c (netname2host): Fix logic.
57140
bf582445
AJ
57141 [BZ #6779]
57142 [BZ #6783]
57143 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
57144 correctly.
57145 * math/w_remainder.c (__remainder): Likewise.
57146 * math/w_remainderf.c (__remainderf): Likewise.
57147 * math/libm-test.inc (remainder_test): Add test cases.
57148
48693bea
AK
571492011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57150
57151 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
57152 sdiv_qrnnd.
57153
42622229
LD
571542011-10-07 Ulrich Drepper <drepper@gmail.com>
57155
57156 * string/test-memcmp.c: Avoid unncessary #defines.
57157 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57158
093ecf92
LD
571592011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57160
57161 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
57162 Use new sse2 version for core i3 - i7 as it's faster
57163 than sse42 version.
57164 (bit_Prefer_PMINUB_for_stringop): New.
57165 * sysdeps/x86_64/rawmemchr.S: Update.
57166 Replace with faster SSE2 version.
57167 * sysdeps/x86_64/memrchr.S: New file.
57168 * sysdeps/x86_64/memchr.S: Update.
57169 Replace with faster SSE2 version.
57170
fde56e5c
MP
571712011-09-12 Marek Polacek <mpolacek@redhat.com>
57172
57173 * elf/dl-load.c (lose): Add cast to avoid warning.
57174
21fd49a9
UD
571752011-10-07 Ulrich Drepper <drepper@gmail.com>
57176
5a06e643
UD
57177 * po/ca.po: Update from translation team.
57178
684ae515
UD
57179 * inet/getnetgrent_r.c: Hook up nscd.
57180 * nscd/Makefile (routines): Add nscd_netgroup.
57181 (nscd-modules): Add netgroupcache.
57182 (CFLAGS-netgroupcache.c): Define.
57183 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
57184 (cache_search): Add const to second parameter.
57185 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
57186 INNETGR.
57187 (dbs): Add netgrdb entry.
57188 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
57189 (verify_persistent_db): Handle netgrdb.
57190 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
57191 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
57192 GETFDNETGR.
57193 (netgroup_response_header): Define.
57194 (innetgroup_response_header): Define.
57195 (datahead): Add netgroup_response_header and innetgroup_response_header
57196 elements.
57197 * nscd/nscd.conf: Add entries for netgroup cache.
57198 * nscd/nscd.h (dbtype): Add netgrdb.
57199 (_PATH_NSCD_NETGROUP_DB): Define.
57200 (netgroup_iov_disabled): Declare.
57201 (xmalloc, xcalloc, xrealloc): Move declarations here.
57202 (cache_search): Adjust prototype.
57203 Add netgroup-related prototypes.
57204 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
57205 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
57206 (__nscd_innetgr): Declare.
57207 * nscd/selinux.c (perms): Use access_vector_t as element type and
57208 add netgroup-related initializers.
57209 * nscd/netgroupcache.c: New file.
57210 * nscd/nscd_netgroup.c: New file.
57211 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
57212 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
57213 For four parameters use innetgr.
57214 * nss/nss_files/files-init.c: Add definition and callback for netgr.
57215 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
57216 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
57217 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
57218
21fd49a9
UD
57219 * nscd/connections.c (register_traced_file): Don't register file
57220 for disabled databases.
57221
054c0457
UD
572222011-10-06 Ulrich Drepper <drepper@gmail.com>
57223
32b63198
UD
57224 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
57225
054c0457
UD
57226 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
57227 from tree and freeing node.
57228
64031225
JO
572292011-09-25 Jiri Olsa <jolsa@redhat.com>
57230
57231 * nss/nsswitch.c (__nss_database_lookup): Handle
57232 nss_parse_service_list out of memory case.
57233
0490345c
JO
572342011-09-15 Jiri Olsa <jolsa@redhat.com>
57235
57236 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
57237 out of memory case.
57238
3a62d00d
AS
572392011-10-04 Andreas Schwab <schwab@redhat.com>
57240
57241 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
57242 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
57243 pass it down.
57244 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
57245 elf_machine_rela, elf_machine_lazy_rel.
57246 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
57247 (ELF_DYNAMIC_DO_REL): Likewise.
57248 (ELF_DYNAMIC_DO_RELA): Likewise.
57249 (ELF_DYNAMIC_RELOCATE): Likewise.
57250 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
57251 to ELF_DYNAMIC_DO_REL.
57252 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
57253 (dl_main): In trace mode always set __RTLD_NOIFUNC.
57254 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
57255 elf_machine_rela.
57256 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
57257 skip_ifunc, don't call ifunc function if non-zero.
57258 (elf_machine_rela): Likewise.
57259 (elf_machine_lazy_rel): Likewise.
57260 (elf_machine_lazy_rela): Likewise.
57261 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
57262 (elf_machine_lazy_rel): Likewise.
57263 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
57264 Likewise.
57265 (elf_machine_lazy_rel): Likewise.
57266 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57267 Likewise.
57268 (elf_machine_lazy_rel): Likewise.
57269 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
57270 (elf_machine_lazy_rel): Likewise.
57271 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
57272 (elf_machine_lazy_rel): Likewise.
57273 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57274 (elf_machine_lazy_rel): Likewise.
57275 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
57276 (elf_machine_lazy_rel): Likewise.
57277 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
57278 (elf_machine_lazy_rel): Likewise.
57279 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
57280 (elf_machine_lazy_rel): Likewise.
57281
68577918
UD
572822011-09-28 Ulrich Drepper <drepper@gmail.com>
57283
57284 * nss/nss_files/files-init.c (_nss_files_init): Use static
57285 initialization for all the *_traced_file variables.
57286
68822d74
AS
572872011-09-28 Andreas Schwab <schwab@redhat.com>
57288
57289 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57290
2056100b
RM
572912011-09-27 Roland McGrath <roland@hack.frob.com>
57292
57293 [BZ #13226]
57294 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
57295
32c76b63
AS
572962011-09-27 Andreas Schwab <schwab@redhat.com>
57297
57298 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57299 Reread the line before reparsing it.
57300
bf972c9d
AS
573012011-09-26 Andreas Schwab <schwab@redhat.com>
57302
57303 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
57304
e057a1b5
JM
573052011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
57306 Maxim Kuvyrkov <maxim@codesourcery.com>
57307 Joseph Myers <joseph@codesourcery.com>
57308
57309 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
57310 if needed for __stack_chk_guard.
57311
bc7e1c36
RM
573122011-09-19 Roland McGrath <roland@hack.frob.com>
57313
ecb1482f
RM
57314 * sysdeps/posix/spawni.c (script_execute): Always define it.
57315 It will be optimized away if unused.
57316 (maybe_script_execute): New function.
57317 (__spawni): Call it.
57318
bc7e1c36
RM
57319 * Makerules: Don't include tls.make.
57320 (config-tls): Always set to thread.
57321 * tls.make.c: File removed.
57322
1c3b002b
MF
573232011-09-19 Mike Frysinger <vapier@gentoo.org>
57324
57325 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
57326 * config.make.in (CPPFLAGS-config): New substituted variable.
57327
2840865d
UD
573282011-09-15 Ulrich Drepper <drepper@gmail.com>
57329
88738eb6
UD
57330 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
57331
cbf645a6 57332 [BZ #13192]
2840865d
UD
57333 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
57334 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
57335
b402e91a
RM
573362011-09-15 Roland McGrath <roland@hack.frob.com>
57337
57338 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
57339 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
57340 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57341 (CALL_FAIL): Likewise.
57342 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
57343 (CALL_FAIL): Macro removed.
57344 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
57345
4c1a1f71
UD
573462011-09-15 Ulrich Drepper <drepper@gmail.com>
57347
57348 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
57349 for __FINITE_MATH_ONLY__ == 1.
57350
edc121be
AS
573512011-09-15 Andreas Schwab <schwab@redhat.com>
57352
57353 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
57354 __ieee754_sqrt instead of sqrt.
57355 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
57356 __ieee754_sqrtf instead of sqrtf.
57357 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
57358 __floorf instead of floorf.
57359 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
57360 __floorf, __truncf instead of floorf, truncf.
57361
cd205654
UD
573622011-09-14 Ulrich Drepper <drepper@gmail.com>
57363
ee4d0315
UD
57364 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
57365
cd205654
UD
57366 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
57367 __extern_always_inline.
57368 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
57369 32-bit.
57370
48b67d71
AS
573712011-09-14 Andreas Schwab <schwab@redhat.com>
57372
57373 * elf/rtld.c (dl_main): Also relocate in dependency order when
57374 doing symbol dependency testing.
57375
1ae12c75
AS
573762011-09-13 Andreas Schwab <schwab@linux-m68k.org>
57377
57378 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57379 Always define `refsym'.
57380
995a80df
AS
573812011-09-13 Andreas Schwab <schwab@redhat.com>
57382
e529793b
AS
57383 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
57384 (__FD_ELT): Renamed from __FDELT.
57385 * misc/bits/select2.h (__FD_ELT): Likewise.
57386 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
57387 __FD_MASK instead of __FDELT, __FDMASK.
57388 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57389 Likewise.
57390 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57391 Likewise.
57392
52d4fef8
AS
57393 * elf/Makefile (gen-ldd): Fix pattern.
57394
995a80df
AS
57395 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
57396 (init_tls): Likewise.
57397
8682f8b0
UD
573982011-09-12 Ulrich Drepper <drepper@gmail.com>
57399
57400 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
57401
de82006d
AS
574022011-09-12 Andreas Schwab <schwab@redhat.com>
57403
a7c8e6a1
AS
57404 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
57405 `struct cmsghdr *' instead of `void *'.
57406 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
57407 Likewise.
57408
0f31fe77
AS
574092011-09-11 Andreas Schwab <schwab@linux-m68k.org>
57410
57411 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
57412 if non-absolute.
57413 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
57414 ldd_rewrite_script.
0f31fe77 57415
32b4c839
UD
574162011-09-11 Ulrich Drepper <drepper@gmail.com>
57417
83cd1420
UD
57418 * configure.in: Remove --with-tls option.
57419 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
57420 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
57421 out in case it is missing.
57422 * sysdeps/ia64/elf/configure.in: Likewise.
57423 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
57424 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
57425 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
57426 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
57427 * sysdeps/sh/elf/configure.in: Likewise.
57428 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
57429 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
57430 * sysdeps/x86_64/elf/configure.in: Likewise.
57431 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
57432 * sysdeps/mach/hurd/tls.h: Likewise.
57433
633f745d
UD
57434 [BZ #13067]
57435 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
57436
f318beb8
UD
57437 [BZ #13090]
57438 * configure.in: Fix use of AC_INIT.
57439
32b4c839
UD
57440 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
57441
3ce1f295
UD
574422011-09-10 Ulrich Drepper <drepper@gmail.com>
57443
bb016596
UD
57444 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
57445 __set_errno.
8e58439c
UD
57446 * malloc/hooks.c: Likewise.
57447
aebae053 57448 [BZ #11929]
02d46fc4
UD
57449 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
57450 variables statically.
57451 (narenas): Initialize.
57452 (list_lock): Initialize.
bb016596
UD
57453 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
57454 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
57455 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
57456 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
57457 Add initializers to main_arena and mp_.
57458 (malloc_state): Remove pagesize member. Change all users to use
57459 GLRO(dl_pagesize).
57460
57461 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
57462 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
57463 is always initialized.
57464
22a89187
UD
57465 * malloc/malloc.c: Removed unused configurations and dead code.
57466 * malloc/arena.c: Likewise.
57467 * malloc/hooks.c: Likewise.
02d46fc4 57468 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 57469
d063d164
UD
57470 * include/tls.h: Removed. USE___THREAD must always be defined.
57471 * bits/libc-tsd.h: Don't handle !USE___THREAD.
57472 * elf/dl-libc.c: Likewise.
57473 * elf/dl-tsd.c: Likewise.
57474 * include/errno.h: Likewise.
57475 * include/netdb.h: Likewise.
57476 * include/resolv.h: Likewise.
57477 * inet/herrno-loc.c: Likewise.
57478 * inet/herrno.c: Likewise.
57479 * malloc/arena.c: Likewise.
57480 * malloc/hooks.c: Likewise.
57481 * malloc/malloc.c: Likewise.
57482 * resolv/res-state.c: Likewise.
57483 * resolv/res_libc.c: Likewise.
57484 * sysdeps/i386/dl-machine.h: Likewise.
57485 * sysdeps/ia64/dl-machine.h: Likewise.
57486 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
57487 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
57488 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
57489 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
57490 * sysdeps/sh/dl-machine.h: Likewise.
57491 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
57492 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
57493 * sysdeps/unix/i386/sysdep.S: Likewise.
57494 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57495 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
57496 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
57497 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57498 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
57499 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57500 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
57501 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
57502 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57503 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57504 * sysdeps/unix/x86_64/sysdep.S: Likewise.
57505 * sysdeps/x86_64/dl-machine.h: Likewise.
57506 * tls.make.c: Likewise.
57507
3ce1f295
UD
57508 * configure.in: Remove --with-__thread option. Make tests for
57509 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
57510 tls_model attribute fail if no support is available. Remove
57511 USE_IN_LIBIO.
57512 * Makeconfig: Adjust for dropped configure option. All features are
57513 now mandatory.
57514 * Makerules: Likewise.
57515 * Versions.def: Likewise.
57516 * argp/argp-fmtstream.c: Likewise.
57517 * argp/argp-fmtstream.h: Likewise.
57518 * argp/argp-help.c: Likewise.
57519 * assert/assert.c: Likewise.
57520 * config.h.in: Likewise.
57521 * config.make.in: Likewise.
57522 * configure: Likewise.
57523 * configure.in: Likewise.
57524 * csu/Versions: Likewise.
57525 * csu/init.c: Likewise.
57526 * elf/tst-audit2.c: Likewise.
57527 * elf/tst-tls10.c: Likewise.
57528 * elf/tst-tls10.h: Likewise.
57529 * elf/tst-tls11.c: Likewise.
57530 * elf/tst-tls12.c: Likewise.
57531 * elf/tst-tls14.c: Likewise.
57532 * elf/tst-tlsmod11.c: Likewise.
57533 * elf/tst-tlsmod12.c: Likewise.
57534 * elf/tst-tlsmod13.c: Likewise.
57535 * elf/tst-tlsmod13a.c: Likewise.
57536 * elf/tst-tlsmod14a.c: Likewise.
57537 * elf/tst-tlsmod15b.c: Likewise.
57538 * elf/tst-tlsmod16a.c: Likewise.
57539 * elf/tst-tlsmod16b.c: Likewise.
57540 * elf/tst-tlsmod7.c: Likewise.
57541 * elf/tst-tlsmod8.c: Likewise.
57542 * elf/tst-tlsmod9.c: Likewise.
57543 * gmon/gmon.c: Likewise.
57544 * grp/fgetgrent_r.c: Likewise.
57545 * grp/putgrent.c: Likewise.
57546 * hurd/fopenport.c: Likewise.
57547 * include/libc-symbols.h: Likewise.
57548 * include/tls.h: Likewise.
57549 * intl/gettextP.h: Likewise.
57550 * intl/loadinfo.h: Likewise.
57551 * locale/global-locale.c: Likewise.
57552 * locale/localeinfo.h: Likewise.
57553 * mach/devstream.c: Likewise.
57554 * malloc/arena.c: Likewise.
57555 * malloc/set-freeres.c: Likewise.
57556 * misc/err.c: Likewise.
57557 * misc/getttyent.c: Likewise.
57558 * misc/mntent_r.c: Likewise.
57559 * posix/getopt.c: Likewise.
57560 * posix/wordexp.c: Likewise.
57561 * pwd/fgetpwent_r.c: Likewise.
57562 * resolv/Versions: Likewise.
57563 * resolv/res_hconf.c: Likewise.
57564 * shadow/fgetspent_r.c: Likewise.
57565 * shadow/putspent.c: Likewise.
57566 * stdio-common/printf_fphex.c: Likewise.
57567 * stdio-common/tmpfile.c: Likewise.
57568 * stdlib/abort.c: Likewise.
57569 * stdlib/fmtmsg.c: Likewise.
57570 * sunrpc/auth_unix.c: Likewise.
57571 * sunrpc/clnt_perr.c: Likewise.
57572 * sunrpc/clnt_tcp.c: Likewise.
57573 * sunrpc/clnt_udp.c: Likewise.
57574 * sunrpc/clnt_unix.c: Likewise.
57575 * sunrpc/openchild.c: Likewise.
57576 * sunrpc/svc_simple.c: Likewise.
57577 * sunrpc/svc_tcp.c: Likewise.
57578 * sunrpc/svc_udp.c: Likewise.
57579 * sunrpc/svc_unix.c: Likewise.
57580 * sunrpc/xdr.c: Likewise.
57581 * sunrpc/xdr_array.c: Likewise.
57582 * sunrpc/xdr_rec.c: Likewise.
57583 * sunrpc/xdr_ref.c: Likewise.
57584 * sunrpc/xdr_stdio.c: Likewise.
57585
1248c1c4
PB
575862011-09-09 Ulrich Drepper <drepper@gmail.com>
57587
57588 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57589
575902011-07-03 Andreas Jaeger <aj@suse.de>
57591
57592 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
57593 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
57594 regenerate with gen-libm-tests.pl.
57595
575962010-05-12 Petr Baudis <pasky@suse.cz>
57597
57598 [BZ #11589]
57599 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
57600 around j0() zero points by switching to j1().
57601 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57602 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57603 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57604 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57605
f22e1074
UD
576062011-09-09 Ulrich Drepper <drepper@gmail.com>
57607
f19009c1
UD
57608 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
57609 instead of 0.
57610 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 57611 instead of 0.
f19009c1
UD
57612 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57613 Patch in part by Pavel Roskin <proski@gnu.org>.
57614
3f8cc204
UD
57615 [BZ #13138]
57616 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
57617 realloc.
57618 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
57619 Free memory block if necessary.
57620
f22e1074
UD
57621 [BZ #12847]
57622 * libio/genops.c (INTDEF): For string streams the _lock pointer can
57623 be NULL. Don't lock in this case.
57624
0a2349f9
RM
576252011-09-09 Roland McGrath <roland@hack.frob.com>
57626
57627 * elf/elf.h (ELFOSABI_GNU): New macro.
57628 (ELFOSABI_LINUX): Define to that.
57629
f3cdd467
DZ
576302011-07-29 Denis Zaitceff <zaitceff@gmail.com>
57631
57632 * string/strncat.c (strncat): Undef the symbol in case it has been
57633 defined in bits/string.h.
57634
74718d13
UD
576352011-09-09 Ulrich Drepper <drepper@gmail.com>
57636
633e9e0f
UD
57637 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
57638
0a2349f9 57639 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
57640 link map.
57641
f9924780
AJ
576422011-08-17 Andreas Jaeger <aj@suse.de>
57643
57644 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
57645
7f5517aa
PP
576462011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
57647 Ian Lance Taylor <iant@google.com>
57648
57649 * math/libm-test.inc (lround_test): New testcase.
57650 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
57651
762011fe
UD
576522011-09-08 Ulrich Drepper <drepper@gmail.com>
57653
92963737
UD
57654 * Makefile: Remove support for automatic cvs check-ins.
57655 * Makerules: Likewise.
57656 * config.make.in: Likewise.
57657 * configure.in: Likewise.
57658 * intl/Makefile: Likewise.
57659 * locale/Makefile: Likewise.
57660 * po/Makefile: Likewise.
57661 * posix/Makefile: Likewise.
57662 * sysdeps/gnu/Makefile: Likewise.
57663 * sysdeps/mach/hurd/Makefile: Likewise.
57664 * sysdeps/sparc/sparc32/Makefile: Likewise.
57665
b0727fd8
JS
57666 [BZ #13118]
57667 * posix/Makefile (bug-regex32-ENV): Define.
57668 Patch by John Stanley <jpsinthemix@verizon.net>.
57669
a0f33f99
UD
57670 * misc/Makefile (headers): Add bits/select2.h.
57671 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
57672 * misc/bits/select2.h: New file.
57673 * include/bits/select2.h: New file.
57674 * debug/Makefile (routines): Add fdelt_chk.
57675 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
57676 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
57677 FD_ISSET.
57678 * debug/fdelt_chk.c: New file.
57679
762011fe
UD
57680 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
57681 * wcsmbs/test-wmemcmp.c: Likewise.
57682 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 57683 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
57684
576852011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57686
57687 * string/Makefile (strop-tests): Add memcmp.
57688 * string/test-wmemcmp.c: New file.
57689 * string/test-memcmp.c: Add wmemcmp support.
57690
7f513ec8
RM
576912011-09-08 Roland McGrath <roland@hack.frob.com>
57692
0442afb4
RM
57693 [BZ #13153]
57694 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
57695 2011-07-19 change.
57696
7f513ec8
RM
57697 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
57698 garbage value in a __mach_port_mod_refs call in the cases of the
57699 task-self and thread-self ports.
57700
a12b2239
ST
577012011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
57702
57703 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
57704
610f9ab4
AS
577052011-09-08 Andreas Schwab <schwab@redhat.com>
57706
7f513ec8 57707 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 57708
48882a1a
LD
577092011-09-07 Ulrich Drepper <drepper@gmail.com>
57710
b49865be
UD
57711 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
57712
fdc86bc9
UD
57713 * elf/dl-libc.c (dlerror_run): Pass back error code from
57714 dl_catch_error.
57715
c966526a
UD
57716 [BZ #13123]
57717 * elf/dl-load.c (lose): Free l_origin if it is valid.
57718
48882a1a
LD
57719 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
57720 names.
57721 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
57722 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57723 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
57724 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57725 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
57726 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
57727
77a2a8b4
AZ
577282011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57729
57730 * sysdeps/powerpc/fpu/e_hypot.c: New file.
57731 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
57732 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
57733 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
57734 * sysdeps/powerpc/fpu/k_cosf.c: New file.
57735 * sysdeps/powerpc/fpu/k_sinf.c: New file.
57736 * sysdeps/powerpc/fpu/s_cosf.c: New file.
57737 * sysdeps/powerpc/fpu/s_sinf.c: New file.
57738 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
57739 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
57740
24f579d8
AM
577412011-08-15 Alan Modra <amodra@gmail.com>
57742
57743 [BZ #13092]
57744 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
57745 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
57746 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
57747 ppc_mcount to static-only-routines.
57748 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
57749 __mcount_internal.
57750 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
57751 __mcount_internal with usual JUMPTARGET. Remove useless nop.
57752
3d4837df
UD
577532011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
57754
57755 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
57756 for finite and infinity parameters.
57757
22700377
WS
577582011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
57759
57760 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
57761 and add nop instructions for throughput optimization.
57762 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57763
5025581e
WS
577642011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
57765
57766 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
57767 aligned copy for power7 with vector-scalar instructions.
57768 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
57769
08a300c9
L
577702011-07-24 H.J. Lu <hongjiu.lu@intel.com>
57771
57772 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
57773 AVX check.
57774
59178ef9
AS
577752011-09-07 Andreas Schwab <schwab@redhat.com>
57776
57777 [BZ #13144]
57778 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
57779 last change.
57780
e38ba7ab
UD
577812011-09-07 Ulrich Drepper <drepper@gmail.com>
57782
57783 * sysdeps/unix/sysv/linux/x86_64/init-first.c
57784 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
57785 syscall wrapper around clock_gettime in __vdso_clock_gettime.
57786 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
57787 clock_gettime.
57788
d53a73ac
UD
577892011-09-06 Ulrich Drepper <drepper@gmail.com>
57790
fc8bffcc
UD
57791 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
57792 Forgot to demangle the pointer.
57793
ceaa0c5d
UD
57794 * sysdeps/i386/sysdep.h: Define atom_text_section.
57795 * sysdeps/x86_64/sysdep.h: Likewise.
57796 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
57797 section with atom_text_section.
57798 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57799 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57800 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
57801 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
57802 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
57803
a77d3c17
UD
57804 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
57805 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
57806 already be defined. Change to take two parameters and don't assign
57807 result to variable. Adjust all users.
57808 Define INTERNAL_GETTIME if not already defined.
57809 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
57810 call.
57811 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
57812 HAVE_CLOCK_GETTIME_VSYSCALL.
57813 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
57814
d53a73ac
UD
57815 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
57816 gettimeofday vsyscall, just use time.
57817
a8f84144
AS
578182011-09-06 Andreas Schwab <schwab@redhat.com>
57819
57820 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
57821 <errno.h>.
57822
ef606249
UD
578232011-09-06 Ulrich Drepper <drepper@gmail.com>
57824
57825 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
57826 syscall on x86-64.
57827 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
57828 syscall.
57829 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
57830 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
57831 syscall if possible.
57832
6585cb60
UD
578332011-09-05 Ulrich Drepper <drepper@gmail.com>
57834
57835 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
57836 e_ident. Don't pass to find_mapsXX.
57837 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
57838
a5f524e4
LD
578392011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57840
57841 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57842 strchr-sse2-no-bsf strrchr-sse2-no-bsf
57843 * sysdeps/x86_64/multiarch/strchr.S: Update.
57844 Check bit_slow_BSF bit.
57845 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57846 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
57847 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
57848
554881ef
UD
578492011-09-05 Ulrich Drepper <drepper@gmail.com>
57850
d96de963
UD
57851 [BZ #13134]
57852 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
57853 before glibc 2.15.
57854 (tryshell): Define.
57855 (__spawni): Change last parameter to be flag. Test
57856 SPAWN_XFLAGS_USE_PATH flag to use path or not.
57857 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
57858 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
57859 * posix/spawni.c: Likewise.
57860 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
57861 * posix/spawnp.c: Likewise. Change normal version to use
57862 SPAWN_XFLAGS_USE_PATH.
57863 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
57864 SPAWN_XFLAGS_TRY_SHELL.
57865
d48e5868
UD
57866 [BZ #13150]
57867 * posix/glob.h: Remove gcc 1.x support.
57868
554881ef
UD
57869 [BZ #13068]
57870 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
57871
693fb948
LD
578722011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57873
57874 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57875 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
57876 strrchr-sse2-bsf
57877 * sysdeps/i386/i686/multiarch/strchr.S: New file.
57878 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
57879 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
57880 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
57881 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
57882 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
57883
1b48c537
UD
578842011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57885
49d42c37
UD
57886 * sysdeps/x86_64/wcscmp.S: New file.
57887
1b48c537
UD
57888 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
57889 wcscmp-c wcscmp-sse2
57890 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
57891 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
57892 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
57893 * wcsmbs/wcscmp.c: Allow renaming.
57894
15c95c5d
DM
578952011-09-05 David S. Miller <davem@davemloft.net>
57896
57897 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
57898 stack slot, rather than the struct return pointer slot.
57899 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
57900 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
57901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
57902 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
57903
2f0ad8f3
UD
579042011-09-05 Ulrich Drepper <drepper@gmail.com>
57905
d88ae418
UD
57906 * po/ja.po: Update from translation team.
57907
2f0ad8f3
UD
57908 [BZ #13144]
57909 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
57910 kernel in 64-bit binaries.
57911
5f4318d1
DM
579122011-09-01 David S. Miller <davem@davemloft.net>
57913
57914 * elf/elf.h (HWCAP_SPARC_*): Move to..
57915 * sysdeps/sparc/sysdep.h: this new file and add new values.
57916 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
57917 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
57918 _DL_HWCAP_COUNT to 24.
57919 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
57920 entries.
57921 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
57922 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
57923 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
57924 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
57925 instead of magic constants.
57926 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57927
3ba57516
DM
579282011-08-31 David S. Miller <davem@davemloft.net>
57929
57930 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
57931 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
57932 Reimplement to do errno handling inline.
57933 (SYSCALL_ERROR_HANDLER): New macro.
57934 (__SYSCALL_STRING): Do not do errno handling in asm.
57935 (__CLONE_SYSCALL_STRING): Delete.
57936 (__INTERNAL_SYSCALL_STRING): Delete.
57937 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
57938 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
57939 (PSEUDO): Reimplement to do errno handling inline.
57940 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
57941 (SYSCALL_ERROR_HANDLER): New macro.
57942 (__SYSCALL_STRING): Do not do errno handling in asm.
57943 (__CLONE_SYSCALL_STRING): Delete.
57944 (__INTERNAL_SYSCALL_STRING): Delete.
57945 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
57946 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
57947 i386.
57948 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
57949 (inline_syscall*): Add 'err' argument.
57950 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
57951 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
57952 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
57953 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
57954
57955 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
57956 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
57957
2bc17433
AS
579582011-08-30 Andreas Schwab <schwab@redhat.com>
57959
57960 * elf/rtld.c (dl_main): Relocate objects in dependency order.
57961
fbeb5f4d
JO
579622011-08-29 Jiri Olsa <jolsa@redhat.com>
57963
57964 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
57965 directive.
57966
ad69cc26
DM
579672011-08-24 David S. Miller <davem@davemloft.net>
57968
57969 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
57970
39dd69df
AS
579712011-08-24 Andreas Schwab <schwab@redhat.com>
57972
57973 * elf/Makefile: Add rules to build and run unload8 test.
57974 * elf/unload8.c: New file.
57975 * elf/unload8mod1.c: New file.
57976 * elf/unload8mod1x.c: New file.
57977 * elf/unload8mod2.c: New file.
57978 * elf/unload8mod3.c: New file.
57979
57980 * elf/dl-close.c (_dl_close_worker): Reset private search list if
57981 it wasn't used.
57982
2c0b250a
DM
579832011-08-23 David S. Miller <davem@davemloft.net>
57984
57985 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
57986 subtract stack bias.
57987 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
57988 %sp not %fp in calculations.
57989 (_JMPBUF_UNWINDS_ADJ): Likewise.
57990
22044b48
DM
57991 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
57992 (aio_suspend): Call it to force an exception region around the
57993 AIO_MISC_WAIT() invocation.
57994
2cae4995
AS
579952011-08-23 Andreas Schwab <schwab@redhat.com>
57996
57997 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
57998 backslash.
57999
873a772e
AJ
580002011-07-04 Aurelien Jarno <aurelien@aurel32.net>
58001
58002 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
58003 protection macro.
58004 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
58005 and <dl-machine.h>.
58006 (Elf64_FuncDesc): Remove.
58007
25ad0df1
DM
580082011-08-22 David S. Miller <davem@davemloft.net>
58009
58010 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
58011 sigaltstack check, add missing cfi directives.
58012 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
58013 missing cfi directives, and sigaltstack handling.
58014
e888bcbe
AS
580152011-08-16 Andreas Schwab <schwab@redhat.com>
58016
58017 [BZ #11724]
58018 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
58019 object is seen twice.
58020 * elf/dl-fini.c (_dl_sort_fini): Likewise.
58021
58022 * elf/Makefile (distribute): Add tst-initorder2.c.
58023 (tests): Add tst-initorder2.
58024 (modules-names): Add tst-initorder2a tst-initorder2b
58025 tst-initorder2c tst-initorder2d. Add rules to build them.
58026 ($(objpfx)tst-initorder2.out): New rule.
58027 * elf/tst-initorder2.c: New file.
58028 * elf/tst-initorder2.exp: New file.
58029
87162f46
AS
580302011-08-22 Andreas Schwab <schwab@redhat.com>
58031
70538b7f
AS
58032 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
58033
f55ffe58
AS
58034 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
58035 dependencies back to end of function.
58036
87162f46
AS
58037 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58038 $(elfobjdir)/ld.so.
58039
91b392a4
UD
580402011-08-21 Ulrich Drepper <drepper@gmail.com>
58041
58042 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
58043 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
58044 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
58045 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
58046 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
58047 of __vdso_gettimeofday.
58048 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
58049 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
58050 attribute_hidden.
58051 (_libc_vdso_platform_setup): Remove initialization of
58052 __vdso_gettimeofday and __vdso_time.
58053
5c43483f
UD
580542011-08-20 Ulrich Drepper <drepper@gmail.com>
58055
775a77e7
UD
58056 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
58057 and fgetc_unlocked.
58058 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
58059 getc_unlocked.
89f447ed 58060
49c74ba9
UD
58061 * elf/dl-open.c (add_to_global): Report additions to the global scope
58062 for LD_DEBUG=scopes.
58063 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 58064 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 58065
5c43483f
UD
58066 [BZ #13114]
58067 * stdio-common/Makefile (tests): Add bug24.
58068 * stdio-common/bug24.c: New file.
58069
a101b025
AJ
580702011-08-19 Andreas Jaeger <aj@suse.de>
58071
58072 [BZ #13114]
58073 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
58074 non-existant file when using close-on-exec mode.
58075
c88f1766
UD
580762011-08-20 Ulrich Drepper <drepper@gmail.com>
58077
0276a718
UD
58078 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
58079 the very first instruction.
58080
c88f1766
UD
58081 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
58082 the CFI state in the end.
58083 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
58084 inclusion of dl-trampoline.h.
58085 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
58086
51ccffa0
AS
580872011-08-19 Andreas Schwab <schwab@redhat.com>
58088
94d7165f
AS
58089 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
58090 expectations for long double.
58091
51ccffa0
AS
58092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
58093 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
58094
fd708658 580952011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
58096
58097 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
58098 artificual limit depends upon the system page size.
58099
44f0a71e
UD
581002011-08-17 Ulrich Drepper <drepper@gmail.com>
58101
58102 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
58103 * resolv/Makefile: Define CFLAGS-libresolv.
58104
8de79a24
AS
581052011-08-17 Andreas Schwab <schwab@redhat.com>
58106
58107 * nss/makedb.c (compute_tables): Make variables used in nested
58108 function static.
58109
27724598
UD
581102011-08-17 Ulrich Drepper <drepper@gmail.com>
58111
c5305d88
UD
58112 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
58113 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
58114 if buffer was too small.
58115
27724598
UD
58116 * elf/pldd.c (main): Attach to all threads in the process.
58117 Rewrite /proc handling to use *at functions.
58118
076fe015
UD
581192011-08-16 Ulrich Drepper <drepper@gmail.com>
58120
174baab3
UD
58121 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
58122 specifies first scope to show.
58123 (dl_open_worker): Update callers. Move printing scope of new
58124 object to before the relocation.
44f0a71e 58125 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
58126 * sysdeps/generic/ldsodefs.h: Update declaration.
58127
076fe015
UD
58128 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
58129 string for the scope number.
58130
a60df2c3
UD
581312011-08-14 Ulrich Drepper <drepper@gmail.com>
58132
58133 * nscd/servicescache.c (cache_addserv): Make sure written is always
58134 initialized.
58135
5e4287d1
RM
581362011-08-14 Roland McGrath <roland@hack.frob.com>
58137
85ae0589
RM
58138 * sysdeps/i386/i486/bits/atomic.h
58139 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
58140 statement expression, so as to suppress "set but not used" warning.
58141 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
58142
69f63097
RM
58143 * string/strncat.c (STRNCAT): Use prototype definition.
58144
675456ef
RM
58145 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
58146 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
58147 -Iprograms here.
58148 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
58149 (localedef-modules): Add localedef.
58150 (locale-modules): Add locale.
58151
5e4287d1
RM
58152 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
58153 * elf/rtld.c (dl_main): Invert order of assignment in last change,
58154 to avoid a warning.
58155
9c96ff23
DM
581562011-08-14 David S. Miller <davem@davemloft.net>
58157
58158 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
58159 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
58160
f9ddf089
UD
581612011-08-13 Ulrich Drepper <drepper@gmail.com>
58162
44f0a71e 58163 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
58164 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
58165 * elf/rtld.c (dl_main): Set l_name of vDSO.
58166 Call _dl_show_scope when DL_DEBUG_SCOPES.
58167 (process_dl_debug): Recognize scopes flag and also set it for all.
58168 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
58169 Declare _dl_show_scope.
58170
1dc27704
UD
58171 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
58172 (do_dlopen): Pass caller_dlopen to dl_open.
58173 (__libc_dlopen_mode): Initialize caller_dlopen.
58174
f9ddf089
UD
58175 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
58176 of libc. Make tolower call locale-independent. Optimize a bit by
58177 using isdigit instead of isalnum.
58178 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
58179
9ac533d3
UD
581802011-08-12 Ulrich Drepper <drepper@gmail.com>
58181
58182 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
58183 was a dependency or dynamically loaded.
58184
89edf2e9
UD
581852011-08-11 Ulrich Drepper <drepper@gmail.com>
58186
8e999d29
UD
58187 * intl/l10nflist.c: Allow architecture-specific pop function.
58188 * sysdeps/x86_64/l10nflist.c: New file.
58189
89edf2e9
UD
58190 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
58191 classification.
58192
14d96785
AS
581932011-08-10 Andreas Schwab <schwab@redhat.com>
58194
58195 * include/dirent.h: Add libc_hidden_proto for scandirat and
58196 scandirat64. Don't declare __scandirat64.
58197 * dirent/scandirat.c: Add libc_hidden_def.
58198 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
58199 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
58200
6761ac04
DM
582012011-08-10 David S. Miller <davem@davemloft.net>
58202
58203 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
58204 enum.
58205 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58206 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58207 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58208
c55fbd1e
UD
582092011-08-09 Ulrich Drepper <drepper@gmail.com>
58210
58211 * Versions.def [libc]: Add GLIBC_2.15.
58212 * dirent/Makefile (routines): Add scandirat and scandirat64.
58213 * dirent/Versions [libc]: Export scandirat and scandirat64 for
58214 GLIBC_2.15.
58215 * dirent/dirent.h: Declare scandirat and scandirat64.
58216 * dirent/scandirat.c: New file.
58217 * dirent/scandirat64.c: New file.
58218 * sysdeps/wordsize-64/scandirat.c: New file.
58219 * sysdeps/wordsize-64/scandirat64.c: New file.
58220 * dirent/opendir.c: Define opendirat.
58221 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
58222 using scandirat.
58223 * dirent/scandir64.c: Adjust for scandir.c change.
58224 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
58225 __scandirat64, and __scandir_cancel_handler.
58226 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
58227 additional parameter and use openat instead of open (outside of ld.so).
58228 Add new __opendir as wrapper around __opendirat.
58229 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
58230 here without requiring old scandirat implementation.
58231
879165f2
UD
582322011-08-08 Ulrich Drepper <drepper@gmail.com>
58233
58234 * dirent/scandir.c (cancel_handler): Renamed to
58235 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
58236 defined. Adjust users.
58237 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
58238 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
58239
cb7e923b
UD
582402011-08-04 Ulrich Drepper <drepper@gmail.com>
58241
16292edd
UD
58242 * string/test-string.h (IMPL): Use __STRING to expand name and then
58243 stringify it.
58244
cb7e923b
UD
58245 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
58246 of cleanups.
58247
cff82933
LD
582482011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58249
58250 * string/Makefile: Update.
58251 (strop-tests): Append strncat.
58252 * string/test-wcscmp.c: New file.
58253 New comprehensive test for wcscmp.
58254 * string/test-strcmp.c: Update.
58255 (WIDE): New define.
58256
9be9bfcc
AS
582572011-07-22 Andreas Schwab <schwab@redhat.com>
58258
58259 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
58260 line.
58261
2e96f1c7
AS
582622011-07-26 Andreas Schwab <schwab@redhat.com>
58263
58264 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58265 encoding to ACE if AI_IDN.
58266
85188888
JJ
582672011-08-01 Jakub Jelinek <jakub@redhat.com>
58268
58269 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
58270 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
58271
5fa16e9b
LD
582722011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58273
58274 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
58275 Fix overflow bug in strncat.
58276 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
58277
58278 * string/test-strncat.c: Update.
58279 Add new tests for checking overflow bugs.
58280
582812011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58282
58283 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58284 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
58285 * sysdeps/i386/i686/multiarch/strcat.S: New file.
58286 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
58287 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
58288 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
58289 * sysdeps/i386/i686/multiarch/strncat.S: New file.
58290 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
58291 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
58292
58293 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
58294 (USE_AS_STRCAT): Define.
58295 Add strcat and strncat support.
58296 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58297
8c1a459f
AS
582982011-07-25 Andreas Schwab <schwab@redhat.com>
58299
58300 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
58301 __n bigger than INT_MAX+1.
58302 (__strncmp_g): Likewise.
58303
bba33c28
UD
583042011-07-23 Ulrich Drepper <drepper@gmail.com>
58305
798be72d
UD
58306 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
58307 * libio/stido.h: Likewise.
58308
8accd4dc
UD
58309 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
58310 (AF_NFC): Define.
58311 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
58312 (AF_NFC): Define.
58313
cbff0d96
UD
58314 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
58315 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58316 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58317 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
58318 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58319
9191c04a
UD
58320 [BZ #13021]
58321 * scripts/test-installation.pl: Don't expect libnss_test1 to be
58322 installed.
58323
bba33c28
UD
58324 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
58325 typo.
58326 (_dl_x86_64_save_sse): Likewise.
58327
90f139dd
UD
583282011-07-22 Ulrich Drepper <drepper@gmail.com>
58329
1aae088a
UD
58330 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
58331 OSXSAVE.
58332 (_dl_x86_64_save_sse): Likewise.
58333
8e2045f5
UD
58334 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
58335
90f139dd
UD
58336 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
58337
1d002f25
AS
583382011-07-21 Andreas Schwab <schwab@redhat.com>
58339
58340 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
58341 change.
58342 (_dl_x86_64_save_sse): Use correct AVX check.
58343
21137f89
UD
583442011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58345
58346 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
58347 bug in strncpy/strncat.
58348 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
58349
a65c0b7a
UD
583502011-07-21 Ulrich Drepper <drepper@gmail.com>
58351
58352 * string/tester.c (test_strcat): Add tests for different alignments
58353 of source and destination.
58354 (test_strncat): Likewise.
58355
6986b98a
UD
583562011-07-20 Ulrich Drepper <drepper@gmail.com>
58357
90bb2039
UD
58358 [BZ #12852]
58359 * posix/glob.c (glob): Check passed in values before using them in
58360 expressions to avoid some overflows.
58361 (glob_in_dir): Likewise.
58362
5644ef54
UD
58363 [BZ #13007]
58364 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
58365 check for AVX enablement so that we don't crash with old kernels and
58366 new hardware.
58367 * elf/tst-audit4.c: Add same checks here.
58368 * elf/tst-audit6.c: Likewise.
58369
58370 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 58371
bfc9dc9b
AS
583722011-07-09 Andreas Schwab <schwab@linux-m68k.org>
58373
58374 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
58375
702e64bb
UD
583762011-07-20 Ulrich Drepper <drepper@gmail.com>
58377
58378 * po/cs.po: Update from translation team.
58379 * po/bg.po: Likewise.
58380
295e904f
MP
583812011-07-12 Marek Polacek <mpolacek@redhat.com>
58382
58383 * misc/sys/cdefs.h: Add support for const attribute.
58384 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
58385 to gnu_dev_{major,minor,makedev} functions.
58386
3ff94596
MP
583872011-07-20 Marek Polacek <mpolacek@redhat.com>
58388
58389 * intl/dcigettext.c (get_output_charset): Add missing bracket.
58390
28b59fca
AS
583912011-07-20 Andreas Schwab <schwab@redhat.com>
58392
58393 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
58394 strlen results.
58395
19df733e
AK
583962011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58397
58398 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
58399 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
58400 register in order to avoid conflicts with the soft frame pointer
58401 being held in r11 when necessary.
58402 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
58403 (INTERNAL_VSYSCALL_NCS): Likewise.
58404
c8835729
MP
584052011-07-14 Marek Polacek <mpolacek@redhat.com>
58406
58407 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
58408 * elf/dl-fini.c (_dl_fini): Adjust caller.
58409 * elf/dl-close.c (_dl_close_worker): Likewise.
58410 * sysdeps/generic/ldsodefs.h: Adjust declaration.
58411
b902330c
MP
584122011-07-15 Marek Polacek <mpolacek@redhat.com>
58413
8991e135
MP
58414 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
58415 "aux_cache->nlibs < 0".
58416
b902330c
MP
58417 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
58418 in the reload-count case.
58419
99710781
LD
584202011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58421
58422 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58423 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
58424 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
58425 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
58426 * sysdeps/x86_64/multiarch/strcat.S: New file.
58427 * sysdeps/x86_64/multiarch/strncat.S: New file.
58428 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
58429 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
58430 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
58431 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
58432 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
58433 (USE_AS_STRCAT): Define.
58434 Add strcat and strncat support.
58435 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58436 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
58437 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
58438 * string/strncat.c: Update.
58439 (USE_AS_STRNCAT): Define.
58440 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58441 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
58442 and i7.
58443 * sysdeps/x86_64/multiarch/init-arch.h
58444 (bit_Prefer_PMINUB_for_stringop): New.
58445 (index_Prefer_PMINUB_for_stringop): Likewise.
58446 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
58447 bit_Prefer_PMINUB_for_stringop.
58448
7dc6bd90
UD
584492011-07-19 Ulrich Drepper <drepper@gmail.com>
58450
58451 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
58452 buffer64.
58453 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
58454 of casting of buffer.
58455 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
58456 buffer32 and buffer64.
58457 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
58458 writes instead of casting of buffer.
58459 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
58460 buffer32.
58461 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
58462 casting of buffer.
58463
e0e72284
AS
584642011-07-19 Andreas Schwab <schwab@redhat.com>
58465
58466 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
58467
feb1eb0b
UD
584682011-07-19 Ulrich Drepper <drepper@gmail.com>
58469
58470 * nscd/nscd.c (termination_handler): Don't do anything for a database
58471 if it has not yet been initialized.
58472
298711ff
UD
584732011-07-18 Ulrich Drepper <drepper@gmail.com>
58474
58475 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58476
584772011-07-15 Marek Polacek <mpolacek@redhat.com>
58478
58479 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58480
f9d68389
UD
584812011-07-18 Ulrich Drepper <drepper@gmail.com>
58482
58483 * po/nl.po: Update from translation team.
58484 * po/sv.po: Likewise.
58485
db290cf5
RM
584862011-07-16 Roland McGrath <roland@hack.frob.com>
58487
58488 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
58489 now disallowed by GCC.
5c550700 58490
fd5e21c7
RM
58491 * configure.in (use-default-link): Default to yes if a test -shared
58492 link meets our qualifications.
58493 * configure: Regenerated.
58494
5c550700
RM
58495 * config.make.in (output-format): New variable.
58496 * configure.in: Check for ld --print-output-format support.
58497 * configure: Regenerated.
58498 * Makerules ($(common-objpfx)format.lds)
58499 [$(output-format) != unknown]: Just use $(output-format),
58500 instead of the linker-script munging.
58501
9fa2c032
RM
585022011-07-14 Roland McGrath <roland@hack.frob.com>
58503
a6928d51
RM
58504 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
58505 of $(common-objpfx)shlib.lds.
58506 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
58507
661607b3
RM
58508 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
58509 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
58510
9fa2c032
RM
58511 * configure.in (-z relro check): Adjust test code to add a large
58512 writable data section after it.
58513 * configure: Regenerated.
58514
defe9061
RM
585152011-07-11 Roland McGrath <roland@hack.frob.com>
58516
58517 * configure.in (-z relro check): Fix test code to make the variable
58518 truly const.
58519 * configure: Regenerated.
58520
319b9ad4
UD
585212011-07-11 Ulrich Drepper <drepper@gmail.com>
58522
58523 * nscd/nscd.h (struct traced_file): Define.
58524 (struct database_dyn): Remove inotify_descr, reset_res, and filename
58525 elements. Add traced_files.
58526 (inotify_fd): Declare.
58527 (register_traced_file): Declare.
58528 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
58529 (inotify_fd): Export.
58530 (resolv_conf_descr): Remove.
58531 (nscd_init): Move inotify descriptor creation to main.
58532 Don't register files for notification here.
58533 (register_traced_file): New function.
58534 (invalidate_cache): Don't use reset_res to determine whether to call
58535 res_init, go through the list of registered files.
58536 (main_loop_poll): The inotify descriptors are now stored in the
58537 structures for the traced files.
58538 (main_loop_epoll): Likewise
58539 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
58540 to __nss_disable_nscd.
58541 * nscd/cache.c (prune_cache): There is no single inotify descriptor
58542 for a database anymore. Check the records for all the registered
58543 files instead.
58544 * nss/Makefile (libnss_files-routines): Add files-init.
58545 (libnss_db-routines): Add db-init.
58546 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
58547 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
58548 * nss/nss_db/db-init.c: New file.
58549 * nss/nss_files/files-init.c: New file.
58550 * nss/nsswitch.c (nss_load_library): New function. Broken out of
58551 __nss_lookup_function.
58552 (__nss_lookup_function): Call nss_load_library.
58553 (nss_load_all_libraries): New function.
58554 (__nss_disable_nscd): Take parameter with callback function for files
58555 to register. Set is_nscd. Load all the DSOs for the NSS modules
58556 used for the cached services.
58557 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
58558 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
58559 options for features to all the files in nscd.
58560
58561 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
58562
23bee3e8
RM
585632011-07-10 Roland McGrath <roland@hack.frob.com>
58564
58565 * csu/elf-init.c (__libc_csu_init): Comment typo.
58566
46a5b7f0
UD
585672011-07-09 Ulrich Drepper <drepper@gmail.com>
58568
58569 * po/pl.po: Update from translation team.
58570 * po/ja.po: Likewise.
58571 * po/ru.po: Likewise.
58572 * po/ko.po: Likewise.
58573 * po/fr.po: Likewise.
58574
d30cf5bb
RM
585752011-07-09 Roland McGrath <roland@hack.frob.com>
58576
113ddea4
RM
58577 * configure.in (.ctors/.dtors header and trailer check):
58578 Use an empirical test on a built program.
58579 * configure: Regenerated.
58580
574920b4
RM
58581 * configure.in (-z relro check): Use an empirical test on a built DSO.
58582 Detect, but do not require, on ia64.
58583 * configure: Regenerated.
58584
d30cf5bb
RM
58585 * configure.in (READELF): Find it with AC_CHECK_TOOL.
58586 Update tests that use readelf to use $READELF instead.
58587 * configure: Regenerated.
58588
8538fdb3
UD
585892011-07-08 Ulrich Drepper <drepper@gmail.com>
58590
58591 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
58592 if the result is not used.
58593
04d08991
AJ
585942011-07-05 Andreas Jaeger <aj@suse.de>
58595
58596 [BZ#9696]
58597 * stdlib/tst-strtod.c: Add testcase.
58598
de283087
AD
585992011-07-07 Ulrich Drepper <drepper@gmail.com>
58600
4e5f31c8 58601 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 58602 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
58603 The latter has a higher limit. Take additional parameter to pass to
58604 the new function.
58605 (__pathconf): Pass file to __statfs_link_max.
58606 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
58607 __statfs_link_max.
58608 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
58609 __statfs_link_max.
58610
de283087
AD
58611 [BZ #12868]
58612 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
58613 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58614 Handle Lustre.
58615 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
58616 (__statfs_filesize_max): Likewise.
58617 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
58618
c75fa153
AJ
586192011-07-05 Andreas Jaeger <aj@suse.de>
58620
58621 * resolv/res_comp.c (dn_skipname): Remove unused variable.
58622
1a544854
UD
586232011-07-06 Marek Polacek <mpolacek@redhat.com>
58624
58625 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
58626 `status' variable.
58627 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
58628 Likewise.
58629
6f0eec67
UD
586302011-07-04 H.J. Lu <hongjiu.lu@intel.com>
58631
58632 * Makefile (strop-tests): Add strncat.
58633 * string/test-strncat.c: New file.
58634
aae30307
UD
586352011-06-30 Marek Polacek <mpolacek@redhat.com>
58636
58637 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
58638
c0cfb5eb
UD
586392011-06-21 Andreas Jaeger <aj@suse.de>
58640
58641 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
58642 Copy rule from iconvdata/Makefile.
58643
01636b21
UD
586442011-07-06 Ulrich Drepper <drepper@gmail.com>
58645
58646 [BZ #12922]
58647 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
58648 but no long options are defined, just return 'W'.
58649
9895c8bc
UD
586502011-06-22 Marek Polacek <mpolacek@redhat.com>
58651
58652 [BZ #9696]
58653 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
58654
5d4cf042
UD
586552011-07-06 Ulrich Drepper <drepper@gmail.com>
58656
58657 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
58658 netgroups to read.
960e5535 58659 (innetgr): Likewise.
5d4cf042 58660
751eb97e
RM
586612011-07-05 Roland McGrath <roland@hack.frob.com>
58662
58663 * config.make.in (install_root): Default to $(DESTDIR).
58664
f15f1e45
UD
586652011-07-05 Ulrich Drepper <drepper@gmail.com>
58666
58667 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
58668
4e34ac6a
RM
586692011-07-02 Roland McGrath <roland@hack.frob.com>
58670
5e9b6af4
RM
58671 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
58672
84f9ea0f
RM
58673 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
58674 containing directory rather than embedding absolute directory names.
58675
ea5ee9f7
RM
58676 * scripts/check-local-headers.sh: Rewritten using awk.
58677 Match by word, not by line. Print error messages for matches.
58678 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
58679
1b74661a
RM
58680 * Makerules [shlib-lds-flags empty]:
58681 ($(common-objpfx)libc_pic.opts): New target.
58682 ($(common-objpfx)libc_pic.os.clean): New target.
58683 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
58684
58685 * config.make.in (OBJCOPY): New variable.
58686 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
58687 * configure: Regenerated.
58688
f781ef40
RM
58689 * config.make.in (use-default-link): New variable.
58690 * configure.in (use_default_link): Grok --with-default-link to set it.
58691 * configure: Regenerated.
58692 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
58693 (shlib-lds, shlib-lds-flags): Define to empty.
58694
2d4fa81e
RM
58695 * Makerules (shlib-lds): New variable.
58696 (shlib-lds-flags): New variable.
58697 (build-shlib, build-moduile, build-module-asneeded): Use it.
58698 ($(common-objpfx)libc.so): Use $(shlib-lds).
58699 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
58700 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
58701
31fffa6b
RM
58702 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
58703 DT_FLAGS/DT_FLAGS_1 with zero flags.
58704
4e34ac6a
RM
58705 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
58706 linker script munging.
58707
fcfc776b
UD
587082011-07-02 Ulrich Drepper <drepper@gmail.com>
58709
58710 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
58711 as 128-bit value.
58712 * crypt/sha512.c (sha512_process_block): Perform total addition using
58713 128-bit if possible.
58714 (__sha512_finish_ctx): Likewise.
58715 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
58716 as 64-bit value.
58717 * crypt/sha256.c (SWAP64): Define.
58718 (sha256_process_block): Perform total addition using 64-bit if
58719 possible.
58720 (__sha256_finish_ctx): Likewise.
58721
99231d9a
UD
587222011-07-01 Ulrich Drepper <drepper@gmail.com>
58723
58724 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
58725 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58726 * nscd/hstcache.c (cache_addhst): Likewise.
58727 * nscd/grpcache.c (cache_addgr): Likewise.
58728 * nscd/aicache.c (addhstaiX): Likewise
58729 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
58730
445b4a53
TK
587312011-07-01 Thorsten Kukuk <kukuk@suse.de>
58732
58733 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
58734 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58735 * nscd/hstcache.c (cache_addhst): Likewise.
58736 * nscd/grpcache.c (cache_addgr): Likewise.
58737 * nscd/aicache.c (addhstaiX): Likewise
58738
6d4d8e8e
AS
587392011-07-01 Andreas Schwab <schwab@redhat.com>
58740
58741 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
58742 domain only when needed.
58743
89f654c5
AS
587442011-06-30 Andreas Schwab <schwab@redhat.com>
58745
58746 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
58747 is always restored.
58748
cf3b23ff
UD
587492011-06-29 Ulrich Drepper <drepper@gmail.com>
58750
58751 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
58752 are re-adding the entry.
58753 * nscd/servicescache.c (cache_addserv): Likewise.
58754
751626f9
AJ
587552011-06-30 Aurelien Jarno <aurelien@aurel32.net>
58756
58757 * sysdeps/generic/dl-irel.h: fix protection against multiple
58758 inclusions.
58759 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
58760
9113ea1f
UD
587612011-06-28 Ulrich Drepper <drepper@gmail.com>
58762
5c0b8d90
UD
58763 [BZ #12935]
58764 * malloc/memusage.sh: Fix quoting in message.
58765 * debug/xtrace.sh: Likewise.
58766
9113ea1f
UD
58767 * configure.in: Remove support for --experimental-malloc option, make
58768 it the default.
58769 * config.make.in: Likewise.
58770 * malloc/Makefile: Likewise.
58771
a4172181
AS
587722011-06-27 Andreas Schwab <schwab@redhat.com>
58773
58774 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
58775 two-byte characters.
58776
78a7eee7
RM
587772011-06-27 Roland McGrath <roland@hack.frob.com>
58778
62bede13
RM
58779 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
58780 AC_CACHE_CHECK invocation.
58781 * configure: Regenerated.
58782
78a7eee7
RM
58783 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
58784
5ce33a62
UD
587852011-06-27 Ulrich Drepper <drepper@gmail.com>
58786
034807a9
UD
58787 [BZ #12350]
58788 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
58789 bit from old_res_options.
58790
4902da17
UD
58791 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
58792
5ce33a62
UD
58793 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
58794 value type for setfct.
58795
c2344f56
L
587962011-06-23 H.J. Lu <hongjiu.lu@intel.com>
58797
58798 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58799 __gettimeofday instead of gettimeofday.
58800
68468076
UD
588012011-06-26 Ulrich Drepper <drepper@gmail.com>
58802
58803 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
58804
acb0d739
L
588052011-06-24 H.J. Lu <hongjiu.lu@intel.com>
58806
58807 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
58808
58809 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
58810 info.
58811
8912479f
L
588122011-06-22 H.J. Lu <hongjiu.lu@intel.com>
58813
58814 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58815 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58816 strcpy-sse2-unaligned strncpy-sse2-unaligned
58817 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
58818 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
58819 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
58820 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
58821 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
58822 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
58823 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
58824 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
58825 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
58826 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
58827 (STRCPY): Support SSE2 and SSSE3 versions.
58828
d5495a11
UD
588292011-06-24 Ulrich Drepper <drepper@gmail.com>
58830
58831 [BZ #12874]
58832 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
58833 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
58834 kernels which artificially limit size of requests.
58835
0b1cbaae
L
588362011-06-22 H.J. Lu <hongjiu.lu@intel.com>
58837
58838 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58839 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58840 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
58841 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
58842 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
58843 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
58844 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
58845 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
58846 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
58847 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
58848 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
58849 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
58850 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
58851 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
58852 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
58853 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58854 Enable unaligned load optimization for Intel Core i3, i5 and i7
58855 processors.
58856 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
58857 Define.
58858 (index_Fast_Unaligned_Load): Define.
58859 (HAS_FAST_UNALIGNED_LOAD): Define.
58860
07f494a0
MP
588612011-06-23 Marek Polacek <mpolacek@redhat.com>
58862
58863 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
58864
fa3fc0fe
UD
588652011-06-22 Ulrich Drepper <drepper@gmail.com>
58866
58867 [BZ #12907]
58868 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
58869 until it is clear that the information is realy needed.
58870 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
58871
e12df166
AS
588722011-06-22 Andreas Schwab <schwab@redhat.com>
58873
58874 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
58875
852eb34d
UD
588762011-06-22 Ulrich Drepper <drepper@gmail.com>
58877
84e2a551
UD
58878 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58879 /sys/devices/system/cpu/online if it is usable.
58880
852eb34d
UD
58881 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
58882 reading the information from the /proc filesystem to once a second.
58883
6e502e19
UD
588842011-06-21 Andreas Jaeger <aj@suse.de>
58885
58886 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
58887 NULL after inclusion of kernel headers.
58888
75d39ff2
UD
588892011-06-21 Ulrich Drepper <drepper@gmail.com>
58890
51f9aa6a
UD
58891 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
58892 calls to internal_setent.
58893
c0244a9d
UD
58894 [BZ #12885]
58895 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
58896 addresses using gethostbyname4_r ignore IPv4 addresses.
58897
c5e3c2ae
UD
58898 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
58899 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
58900
75d39ff2
UD
58901 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
58902
42675c6f
DM
589032011-06-20 David S. Miller <davem@davemloft.net>
58904
58905 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
58906 inclusions.
58907 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
58908
58909 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
58910 (elf_irel): Use it.
58911 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
58912 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
58913 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
58914 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
58915 * sysdeps/x86_64/dl-irel.h: Likewise.
58916
58917 * elf/dl-runtime.c: Use elf_ifunc_invoke.
58918 * elf/dl-sym.c: Likewise.
58919
57912a71
UD
589202011-06-15 Ulrich Drepper <drepper@gmail.com>
58921
58922 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
58923 need to dereference resplen2.
58924
ee22793d
AS
589252011-06-14 Andreas Schwab <schwab@redhat.com>
58926
58927 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
58928
a9e836b0
UD
589292011-06-15 Ulrich Drepper <drepper@gmail.com>
58930
77fb9117
UD
58931 * Makeconfig: Define vardbdir and inst_vardbdir.
58932 * nss/Makefile: Add rules to install db-Makefile.
58933
40c1b22c
UD
58934 * nss/nss_db/db-XXX.c: Cleanup.
58935
9f2da732
UD
58936 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
58937 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
58938 GLIBC_PRIVATE.
58939 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
58940 * nss/makedb.c: Implement -g option to specify that value strings
58941 are generated and should not be added to table iterated over for
58942 get*ent calls.
58943 * nss/nss_db/db-initgroups.c: New file.
58944
82e9a1f7
UD
58945 * nss/getent.c: Add support for initgroups lookups through getgrouplist
58946 interface.
58947
c41af17e
UD
58948 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
58949 (internal_getgrouplist): Adjust to name change.
58950 Update use_initgroups_entry if this is not the first call.
58951 * nss/databases.def: Add initgroups entry.
58952
a9e836b0
UD
58953 * nss/makedb.c (compute_tables): Check result of multiple hash table
58954 sizes to minimize maximum chain length.
58955
2666d441
UD
589562011-06-14 Ulrich Drepper <drepper@gmail.com>
58957
58958 * Versions.def: Add entry for libnss_db.
58959 * shlib-versions: Likewise.
58960 * nss/Makefile: Add rules to build libnss_db.
58961 * nss/Versions: Add libnss_db information. Organize libnss_files
58962 entries better.
58963 * nss/db-Makefile: Add gshadow support. Change rules for the new
58964 makedb progra. Some minor improvements to generate smaller files.
58965 * nss/nss_db/nss_db.h: Move NSS database header data structures to
58966 here from...
58967 * nss/makedb.c: ...here.
58968 Improve database format to be smaller and require less memory at
58969 runtime.
58970 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
58971 db anymore.
58972 * nss/nss_db/db-netgrp.c: Likewise.
58973 * nss/nss_db/db-open.c: Likewise.
58974 * nss/nss_files/flies-XXX.x: Adjust comments.
58975 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
58976 * nss/nss_files/files-grp.c: Likewise.
58977 * nss/nss_files/files-hosts.c: Likewise.
58978 * nss/nss_files/files-network.c: Likewise.
58979 * nss/nss_files/files-proto.c: Likewise.
58980 * nss/nss_files/files-pwd.c: Likewise.
58981 * nss/nss_files/files-rpc.c: Likewise.
58982 * nss/nss_files/files-service.c: Likewise.
58983 * nss/nss_files/files-sgrp.c: Likewise.
58984 * nss/nss_files/files-spwd.c: Likewise.
58985 * nss/nss_db/db-alias.c: Removed.
58986 * nss/nss_db/dummy-db.h: Removed.
58987
9ee76b5a
UD
589882011-06-02 Ulrich Drepper <drepper@gmail.com>
58989
58990 * nss/makedb.c: Rewritten to not use database library.
58991 * nss/Makefile: Update to build new makedb program.
58992
c71ca1f8
AJ
589932011-06-14 Andreas Jaeger <aj@suse.de>
58994
58995 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
58996 memset declaration.
58997
3154bfb8
UD
589982011-06-10 Andreas Schwab <schwab@redhat.com>
58999
59000 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
59001 tmpbuf.
59002
b350afab
RM
590032011-06-10 Roland McGrath <roland@hack.frob.com>
59004
decd4e50
RM
59005 * Makerules (shlib.lds): Fail if the linker script comes out empty.
59006 * elf/Makefile ($(objpfx)ld.so): Likewise.
59007
5615eaf2
RM
59008 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
59009 Don't list ld.so twice in dependencies.
59010
59011 * posix/bug-regex31.c: Include <stdlib.h>.
59012
59013 * nscd/hstcache.c (cache_addhst): Remove unused variable.
59014
59015 * nis/nss_compat/compat-spwd.c
59016 (getspent_next_nss_netgr): Remove unused variable.
59017 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
59018
59019 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
59020 nonmembers" output to use the right array.
59021
59022 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
59023
59024 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
59025
59026 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
59027 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
59028 * catgets/gencat.c (read_input_file): Likewise.
59029 * locale/programs/locarchive.c (enlarge_archive): Likewise.
59030
59031 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
59032 variable definition inside #if's controlling its use.
59033
59034 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
59035
59036 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
59037
59038 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
59039
59040 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
59041 unreachable code.
59042
59043 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
59044
b68e08db
RM
59045 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
59046 * configure: Regenerated.
59047
b350afab
RM
59048 * Makerules: Revert last change.
59049 * elf/Makefile: Likewise.
59050
28368601
RM
590512011-06-09 Roland McGrath <roland@hack.frob.com>
59052
59053 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
59054 * elf/Makefile ($(objpfx)librtld.os): Likewise.
59055 (reloc-link): Likewise.
59056
11988f8f
UD
590572011-06-09 Ulrich Drepper <drepper@gmail.com>
59058
59059 * elf/Makefile: Add rules to build pldd.
59060 * elf/pldd.c: New file.
59061 * elf/pldd-xx.c: New file.
59062
e80fab37
UD
590632011-06-07 Ulrich Drepper <drepper@gmail.com>
59064
59065 * version.h: Update for 2.15 development version.
59066
9b849836
DM
590672011-06-07 David S. Miller <davem@davemloft.net>
59068
59069 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
59070 ifuncs.
59071 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
59072 elf_machine_lazy_rel): Likewise.
59073 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
59074 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
59075 elf_machine_lazy_rel): Likewise.
59076 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
59077 dl_hwcap via passed in argument.
59078 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
59079 Likewise.
59080
5a31b283
AK
590812011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59082
59083 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
59084
069e52f8
RM
590852011-06-06 Roland McGrath <roland@hack.frob.com>
59086
59087 [BZ #12849]
59088 * manual/fdl-1.1.texi: New file, verbatim from:
59089 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
59090 * manual/lgpl-2.1.texi: New file, verbatim from:
59091 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
59092 * manual/Makefile (licenses): New variable, list those new file names.
59093 (texis): Use it.
59094 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
59095
59096 * manual/fdl.texi: File removed.
59097 * manual/lesser.texi: File removed.
59098 * manual/libc.texinfo (Copying, Documentation License):
59099 Use new @include file names, put @appendix directive before @include.
59100
f16846a5
JJ
591012011-06-04 Jakub Jelinek <jakub@redhat.com>
59102
59103 [BZ #12841]
59104 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
59105 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
59106 (mq_open): Add __NTH.
59107
3d29045b
L
591082011-06-02 H.J. Lu <hongjiu.lu@intel.com>
59109
59110 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59111 Assume Intel Core i3/i5/i7 processor if AVX is available.
59112
8c297311
UD
591132011-05-31 Ulrich Drepper <drepper@gmail.com>
59114
59115 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
59116 typo.
59117
c8fc0c91
UD
591182011-05-31 Andreas Schwab <schwab@redhat.com>
59119
59120 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
59121 memory. Use alloca_account. Fix memory leak when retrying.
59122
5b27a807
UD
591232011-05-31 Ulrich Drepper <drepper@gmail.com>
59124
356f8bc6
UD
59125 * version.h (RELEASE): Bump for 2.14 release.
59126 * include/features.h (__GLIBC_MINOR__): Bump to 14.
59127
5b27a807
UD
59128 * config.make.in (RANLIB): Remove entry.
59129
01f16ab0
UD
591302011-05-30 Ulrich Drepper <drepper@gmail.com>
59131
41fce8bd
UD
59132 * po/Makefile (po-sed-cmd): Add ksh to extensions.
59133 (libc.pot): Work around missing support for .ksh extension in xgettext.
59134
4769ae77
UD
59135 [BZ #12684]
59136 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
59137 if both request failed.
59138 (send_dg): In case of server errors clear resplen or *resplen2.
59139
6b1e7d19
UD
59140 [BZ #12454]
59141 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
59142 when there are multiple maps.
59143 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
59144 (_dl_fini): Remove test here.
59145
01f16ab0
UD
59146 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
59147
b1ebd700
UD
591482011-05-29 Ulrich Drepper <drepper@gmail.com>
59149
7ae22829
UD
59150 [BZ #12350]
59151 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
59152 bit from old_res_options.
59153 (gaih_inet): Likewise.
59154
553149f6 59155 [BZ #11099]
18a84741 59156 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
59157 as signed.
59158
652ffab1
UD
59159 * resolv/res_init.c (res_setoptions): Make the code more compact.
59160
16985fd0
UD
59161 [BZ #11558]
59162 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
59163 set RES_USEVC.
59164
0464f746
UD
59165 [BZ #11634]
59166 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
59167
7d17596c
UD
59168 * malloc/malloc.h: Mark malloc hook variables as deprecated.
59169
cf6bbbd7
UD
59170 [BZ #11781]
59171 * malloc/malloc.h: Declare malloc hook variables as volatile.
59172
13f1ab36
UD
59173 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
59174 in last patch.
59175
b1ebd700
UD
59176 [BZ #11799]
59177 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 59178 raise in the comment.
80e2212d
UD
59179 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
59180 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59181 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 59182
ce67228d
UD
591832011-05-28 Ulrich Drepper <drepper@gmail.com>
59184
8887a920
UD
59185 [BZ #12811]
59186 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
59187 grow the buffers more if it already has to be sufficient.
59188 (build_wcs_upper_buffer): Likewise.
59189 * posix/regexec.c (check_matching): Likewise.
59190 (clean_state_log_if_needed): Likewise.
59191 (extend_buffers): Don't enlarge buffers beyond size of the input
59192 buffer.
59193 Patches mostly by Emil Wojak <emil@wojak.eu>.
59194 * posix/bug-regex32.c: New file.
59195 * posix/Makefile (tests): Add bug-regex32.
59196
4f031072
UD
59197 * locale/findlocale.c (_nl_find_locale): Return right away if
59198 _nl_explode_name failed.
59199 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
59200
d0478f0c
UD
59201 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
59202
de81b246
UD
59203 * debug/xtrace.sh: Unify messages.
59204 * malloc/memusage.sh: Likewise.
59205
c738465a
UD
59206 [BZ #12813]
59207 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
59208 time symbol from vDSO. Substitute with vsyscall if not available.
59209 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
59210 __vdso_time.
59211
f1f929d7
UD
59212 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
59213 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
59214 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
59215 Add sendmmsg and internal_sendmmsg.
59216 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
59217 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
59218 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
59219
ce67228d
UD
59220 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
59221 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
59222 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
59223
e57420c6
UD
592242011-05-27 Ulrich Drepper <drepper@gmail.com>
59225
a8509ca5
UD
59226 [BZ #12813]
59227 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
59228 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
59229 available.
59230 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
59231 __vdso_getcpu.
59232
e57420c6
UD
59233 [BZ #12814]
59234 * iconvdata/Makefile (tests): Add bug-iconv9.
59235 * iconvdata/bug-iconv9.c: New file.
59236
4d07db15
AS
592372011-05-27 Andreas Schwab <schwab@redhat.com>
59238
59239 [BZ #12814]
59240 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
59241
ea486f69
JJ
592422011-05-25 Jakub Jelinek <jakub@redhat.com>
59243
59244 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59245 (struct user_regs_struct): Change intcs field back to cs.
59246
6f038433
UD
592472011-05-25 Ulrich Drepper <drepper@gmail.com>
59248
59249 * po/ja.po: Update from translation team.
59250
67f86a25
UD
592512011-05-23 Ulrich Drepper <drepper@gmail.com>
59252
59253 [BZ #12795]
59254 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
59255 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
59256
def7fbd6
AS
592572011-05-20 Andreas Schwab <schwab@redhat.com>
59258
59259 * stdlib/longlong.h: Update from GCC.
59260
f50ef8f1
AS
592612011-05-23 Andreas Schwab <schwab@redhat.com>
59262
59263 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
59264 parameter name.
59265 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
59266 Add parameter name.
59267 (__sysconf): Pass it down.
59268
de7ce8f1
UD
592692011-05-22 Ulrich Drepper <drepper@gmail.com>
59270
f2962a71
UD
59271 [BZ #12671]
59272 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
59273 some situations.
59274 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
59275 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
59276 add in in __libc_use_alloca calls. Adjust callers.
59277 (glob): Use malloc in some situations.
59278
de7ce8f1
UD
59279 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
59280 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
59281 pltexit.
59282
aec84f53
UD
592832011-05-21 Ulrich Drepper <drepper@gmail.com>
59284
05bb4a68
UD
59285 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
59286 and CLOCK_BOOTTIME_ALARM.
59287
7ea72f99
UD
59288 [BZ #12782]
59289 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
59290 is returned.
59291
7e4afad5
UD
59292 * string/_strerror.c (__strerror_r): Print negative errors as signed
59293 numbers.
59294
8e211fec
UD
59295 [BZ #12777]
59296 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
59297 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
59298 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
59299
f7d82dc9
UD
59300 * configure.in: Fix typo in redirection and correct removal of test
59301 files in two cases.
59302
cc9e536d
UD
59303 [BZ #12788]
59304 * locale/setlocale.c (new_composite_name): Fix test to check for
59305 identical name of all categories.
59306
aec84f53
UD
59307 [BZ #12792]
59308 * libio/filedoalloc.c (local_isatty): New function.
59309 (_IO_file_doallocate): Use local_isatty.
59310 * stdio-common/perror.c (perror): In case a new stream is used
59311 forward the stream error.
59312 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
59313 error flag.
59314
78e64fdc
RT
593152011-05-20 Ulrich Drepper <drepper@gmail.com>
59316
34a9094f
UD
59317 [BZ #11869]
59318 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
59319 alloca.
59320 * include/alloca.h (extend_alloca_account): Define.
59321
78e64fdc
RT
59322 [BZ #11857]
59323 * posix/regex.h: Fix comments with documentation of user-accessible
59324 fields after compilation and describe correct free'ing of pattern
59325 after re_compile_pattern.
59326 Patch by Reuben Thomas <rrt@sc3d.org>.
59327
457bddfc
RA
593282011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
59329
59330 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
59331 and -mno-altivec to prevent the compiler from using Altivec and/or
59332 VSX instructions when the corresponding registers are not available.
59333
a4527b51
AS
593342011-05-19 Andreas Schwab <schwab@redhat.com>
59335
59336 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
59337
ed690b2f
UD
593382011-05-19 Ulrich Drepper <drepper@gmail.com>
59339
59340 * libio/freopen.c (freopen): Use __dup2, not dup2.
59341 * libio/freopen64.c (freopen64): Likewise.
59342
8db73634
L
593432011-05-17 H.J. Lu <hongjiu.lu@intel.com>
59344
59345 [BZ #12775]
59346 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
59347 * math/Makefile (tests): Add test-powl.
59348 (CFLAGS-test-powl.c): Define.
59349 * math/test-powl.c: New file.
59350
0a197a9d
L
593512011-05-16 H.J. Lu <hongjiu.lu@intel.com>
59352
59353 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
59354
ee30c380
UD
593552011-05-17 Ulrich Drepper <drepper@gmail.com>
59356
59357 [BZ #11837]
59358 * iconvdata/gb18030.c: Update to GB18020-2005.
59359
6ce75379
UD
593602011-05-16 Ulrich Drepper <drepper@gmail.com>
59361
a4b89fd8
AR
59362 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
59363 RE_SYNTAX_POSIX_AWK): Update to match recent development.
59364 Patch by Aharon Robbins <arnold@skeeve.com>.
59365
ea389b12
UD
59366 [BZ #11892]
59367 * stdlib/putenv.c (putenv): Don't always create copy of the variable
59368 on the stack.
59369
68a3f91f
UD
59370 [BZ #11895]
59371 * misc/pselect.c (__pselect): Handle timeout value errors hidden
59372 through underflows.
59373
15cc7dd1
UD
59374 [BZ #12766]
59375 * misc/error.c (error_at_line): Ensure file_name and old_file_name
59376 point to strings before performing equality test for error_one_per_line
59377 mode.
59378
f3799213
UD
59379 [BZ #11697]
59380 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
59381
d79a9c94
UD
59382 [BZ #11820]
59383 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59384 (struct user_fpregs_struct): Avoid __uint*_t types.
59385
56e5eb46
UD
59386 [BZ #6420]
59387 * malloc/mtrace.c (tr_where): Add additional parameter to point to
59388 symbol info. Use it instead of calling _dl_addr locally.
59389 (lock_and_info): New function.
59390 (tr_freehook): Call lock_and_info and pass symbol info as additional
59391 parameter to tr_where.
59392 (tr_mallochook): Likewise.
59393 (tr_reallochook): Likewise.
59394 (tr_memalignhook): Likewise.
59395
6ce75379
UD
59396 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
59397 used and couldn't be at all thread-safe.
59398
f8a3b5bf
UD
593992011-05-15 Ulrich Drepper <drepper@gmail.com>
59400
94b7cc37
UD
59401 * libio/freopen.c (freopen): Don't close old file descriptor
59402 before the new one is opened. Instead dup the new file descriptor
59403 to the old one after the new stream is created.
59404 * libio/freopen64.c (freopen64): Likewise.
59405 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
59406 * libio/fileops.c (_IO_new_file_close_it): Handle new
59407 _IO_FLAGS2_NOCLOSE flag.
59408 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
59409 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
59410 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
59411 _IO_FLAGS2_NOCLOSE flag.
59412 * include/unistd.h: Add hidden_proto for dup3.
59413 Define __have_dup3.
59414 * io/dup3.c: Define hidden symbol.
59415 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
59416
bd25564e
UD
59417 [BZ #7101]
59418 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
59419 when an incomplete long option is used.
59420 * posix/tst-getopt_long1.c: New file.
59421 * posix/Makefile (tests): Add tst-getopt_long1.
59422
c84cfef4
UD
59423 [BZ #10138]
59424 * scripts/config.guess: Update from autoconf-2.68.
59425 * scripts/config.sub: Likewise.
59426
3b85df27
UD
59427 [BZ #10157]
59428 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
59429 tests into ...
59430 (has_cpuclock): ...this. New function.
59431 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
59432 macro here based on has_cpuclock code.
59433
15a856b1
UD
59434 [BZ #10149]
59435 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59436 First byte (not low byte) is now always NUL.
59437 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
59438
05f399e6
UD
59439 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59440 Use non-cancelable interfaces.
59441
10a52685 59442 [BZ #9809]
94ecc67d
UD
59443 * locale/iso-639.def: Add entry for Sorani.
59444
f8a3b5bf
UD
59445 [BZ #11901]
59446 * include/stdlib.h: Move include protection to the right place.
59447 Define abort_msg_s. Declare __abort_msg with it.
59448 * stdlib/abort.c (__abort_msg): Adjust type.
59449 * assert/assert.c (__assert_fail_base): New function. Majority
59450 of code from __assert_fail. Allocate memory for __abort_msg with
59451 mmap.
59452 (__assert_fail): Now call __assert_fail_base.
59453 * assert/assert-perr.c: Remove bulk of implementation. Use
59454 __assert_fail_base.
59455 * include/assert.hL Declare __assert_fail_base.
59456 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
59457 mmap.
59458 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
59459
1af4e298
UD
594602011-05-14 Ulrich Drepper <drepper@gmail.com>
59461
f8a3b5bf 59462 [BZ #11952]
d26dfc60
MG
59463 [BZ #12453]
59464 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
59465 until all modules are registered in the DTV.
59466 * elf/Makefile: Add rules to build and run tst-tls19.
59467 * elf/tst-tls19.c: New file.
59468 * elf/tst-tls19mod1.c: New file.
59469 * elf/tst-tls19mod2.c: New file.
59470 * elf/tst-tls19mod3.c: New file.
59471 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
59472
2fc54d6f
UD
59473 [BZ #12083]
59474 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
59475 correctly.
59476
98d76b46
UD
59477 [BZ #12601]
59478 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
59479 two-byte sequence errors.
59480 * iconvdata/Makefile (tests): Add bug-iconv8.
59481 * iconvdata/bug-iconv8.c: New file.
59482
da3c19ef
UD
59483 [BZ #12626]
59484 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
59485 buf2 definition.
59486
ca408c15
UD
59487 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
59488
d6f67f7d
UD
59489 [BZ #12432]
59490 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
59491 (dummy_getcfa): New function.
59492 (init): Get _Unwind_GetCFA address, use dummy if not found.
59493 (backtrace_helper): In recursion check, also check whether CFA changes.
59494 (__backtrace): Completely initialize arg.
59495
1af4e298 59496 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
59497 storing incomplete byte sequence in state object. Avoid testing for
59498 guaranteed too small input if we know there is enough data available.
1af4e298 59499
da62f81b
AS
595002011-05-11 Andreas Schwab <schwab@redhat.com>
59501
59502 * Makeconfig (+link-pie): Indent.
59503 * Rules (binaries-pie): Define if $(have-fpie) and
59504 $(build-shared).
59505 (binaries-shared): Also filter out $(binaries-pie).
59506 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
59507 * nscd/Makefile (others-pie): Add nscd.
59508 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
59509 ($(objpfx)nscd): Remove command override.
59510 * login/Makefile (others-pie): Add pt_chown.
59511 ($(objpfx)pt_chown): Remove command override.
59512 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
59513 remove command overrides.
59514
fcabc0f8
UD
595152011-05-13 Ulrich Drepper <drepper@gmail.com>
59516
20030ae6
UD
59517 * libio/tst_putwc.c: Fix error messages.
59518
fcabc0f8
UD
59519 [BZ #12724]
59520 * libio/fileops.c (_IO_new_file_close_it): Always flush when
59521 currently writing and seek to current position when not.
59522 * libio/Makefile (tests): Add bug-fclose1.
59523 * libio/bug-fclose1.c: New file.
59524
320a5dc0
PB
595252011-05-12 Ulrich Drepper <drepper@gmail.com>
59526
59527 [BZ #12511]
59528 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
59529 don't set DF_1_NODELETE here.
59530 (do_lookup_x): When entering new entry test for copy relocation
59531 and if necessary set DF_1_NODELETE flag.
59532 * elf/tst-unique4.cc: New file.
59533 * elf/tst-unique4.h: New file.
59534 * elf/tst-unique4lib.cc: New file.
59535 * elf/Makefile: Add rules to build and run tst-unique4.
59536 Patch by Piotr Bury <pbury@goahead.com>.
59537
22836f52
UD
595382011-05-11 Ulrich Drepper <drepper@gmail.com>
59539
f574184a
UD
59540 [BZ #12052]
59541 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
59542
e1fb097f
UD
59543 [BZ #12625]
59544 * misc/mntent_r.c (addmntent): Flush the stream after the output
59545
22836f52
UD
59546 [BZ #12393]
59547 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
59548 (is_trusted_path_normalize): Skip initial colon. Append slash
59549 to empty buffer. Duplicate is_trusted_path code but allow
59550 constructed patch to be prefix.
59551 (is_dst): Allow $ORIGIN followed by /.
59552 (_dl_dst_substitute): Correct clearing of check_for_trusted.
59553 Correct testing of result of is_trusted_path_normalize
59554 (decompose_rpath): Fix warning.
59555
7b3b0b2a
UD
595562011-05-10 Ulrich Drepper <drepper@gmail.com>
59557
59558 [BZ #11257]
59559 * grp/initgroups.c (internal_getgrouplist): When we found the service
59560 list through the initgroups entry in nsswitch.conf do not always
59561 continue on a successful lookup. Don't always use the
eac80ce2 59562 __nss_group_database value if it is set.
7b3b0b2a
UD
59563 * nss/nsswitch.conf (initgroups): Change action for successful db
59564 lookup to continue for compatibility.
59565
2a81eaa5
UD
595662011-05-09 Ulrich Drepper <drepper@gmail.com>
59567
be97a69e
UD
59568 [BZ #11532]
59569 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
59570 and CP774 modules.
59571 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
59572 and CP774 modules.
59573 * iconvdata/tst-tables.sh: Likewise.
59574 * iconvdata/cp770.c: New file.
59575 * iconvdata/cp771.c: New file.
59576 * iconvdata/cp772.c: New file.
59577 * iconvdata/cp773.c: New file.
59578 * iconvdata/cp774.c: New file.
59579 * iconvdata/testdata/CP770: New file.
59580 * iconvdata/testdata/CP770..UTF8: New file.
59581 * iconvdata/testdata/CP771: New file.
59582 * iconvdata/testdata/CP771..UTF8: New file.
59583 * iconvdata/testdata/CP772: New file.
59584 * iconvdata/testdata/CP772..UTF8: New file.
59585 * iconvdata/testdata/CP773: New file.
59586 * iconvdata/testdata/CP773..UTF8: New file.
59587 * iconvdata/testdata/CP774: New file.
59588 * iconvdata/testdata/CP774..UTF8: New file.
59589
59590 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
59591 END CHARMAP line.
59592 * iconvdata/gen-8bit-gap.sh: Likewise.
59593 * iconvdata/gen-8bit.sh: Likewise.
59594
c1e9e399
UD
59595 * locale/iso-639.def: Add ary entry.
59596
24c55fb3 59597 [BZ #11258]
96b4b1b0
UD
59598 * locale/C-translit.h.in: Add U20A1 transliteration.
59599
bdc2f971
KB
59600 [BZ #12178]
59601 * locale/iso-639.def: Add wae entry.
59602 Patch by Kevin Bortis <bortis@translate-wae.ch>.
59603
2952b117
UD
59604 [BZ #12545]
59605 * locale/programs/localedef.c (construct_output_path): Use ssize_t
59606 for n.
59607
2a81eaa5
UD
59608 [BZ #12711]
59609 * locale/C-translit.h.in: Add entry for U20B9.
59610 Patch by pravin.d.s@gmail.com.
59611
28377d1b
UD
596122011-05-08 Ulrich Drepper <drepper@gmail.com>
59613
7fb90fb8
UD
59614 [BZ #12713]
59615 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
59616 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
59617 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
59618 in rtld. Use *stat64.
7fb90fb8 59619 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 59620 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 59621 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
59622 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
59623 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
59624 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
59625 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
59626 __fstatat64 macros.
7fb90fb8
UD
59627 * include/dirent.h: Add libc_hidden_proto for rewinddir.
59628 * dirent/rewinddir.c: Add libc_hidden_def.
59629 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 59630 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 59631
28377d1b
UD
59632 * include/dirent.h (__alloc_dir): Add flags parameter.
59633 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
59634 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
59635 __alloc_dir.
59636 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
59637 from fdopendir if O_CLOEXEC is already set.
59638
66bdbaa4
AM
596392011-03-15 Alan Modra <amodra@gmail.com>
59640
59641 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
59642 l_tls_firstbyte_offset non-zero. Save padding offset in
59643 l_tls_firstbyte_offset for later use.
59644 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
59645 freeing static tls block.
59646
95721191
JN
596472011-03-05 Jonathan Nieder <jrnieder@gmail.com>
59648
59649 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
59650 where #ifdef was intended. The intent is to prevent ARG_MAX from
59651 being defined by the kernel headers.
59652
f87dfb1f
UD
596532011-05-07 Ulrich Drepper <drepper@gmail.com>
59654
59655 [BZ #12734]
59656 * resolv/resolv.h: Define RES_NOTLDQUERY.
59657 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
59658 no-tld-query and set RES_NOTLDQUERY.
59659 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
59660 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
59661 modern BIND to search name as TLD unless forbidden.
59662
47c3cd7a
UD
596632011-05-07 Petr Baudis <pasky@suse.cz>
59664 Ulrich Drepper <drepper@gmail.com>
59665
59666 [BZ #12393]
59667 * elf/dl-load.c (fillin_rpath): Move trusted path check...
59668 (is_trusted_path): ...to here.
c1e9ea35 59669 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 59670 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 59671 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 59672
8a35c912
PP
596732011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
59674
59675 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
59676 __BEGIN/__END_DECLS.
59677
acd41f47
UD
596782011-05-06 Ulrich Drepper <drepper@gmail.com>
59679
59680 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
59681 NSS_STATUS_NOTFOUND if no record was found.
59682
597df647
AS
596832011-05-05 Andreas Schwab <schwab@redhat.com>
59684
59685 * sunrpc/Makefile (headers): Add rpc/netdb.h.
59686 (headers-not-in-tirpc): Remove rpc/netdb.h
59687 * resolv/netdb.h: Revert last change.
59688
b9af1301
PP
596892011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
59690
59691 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
59692 circular dependency between libgcc.a and libc.a.
59693
4e34d5f5
AS
596942011-05-05 Andreas Schwab <schwab@redhat.com>
59695
59696 * resolv/netdb.h: Don't include <rpc/netdb.h>.
59697 * nis/Makefile: Don't install rpcsvc/*.
59698 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
59699 instead of <rpc/types.h>.
59700 (MAXHOSTNAMELEN): Define.
59701
00ee369c
AS
597022011-05-03 Andreas Schwab <schwab@redhat.com>
59703
59704 * elf/ldconfig.c (add_dir): Don't crash on empty path.
59705
0b592a30
MB
597062011-04-28 Maciej Babinski <mbabinski@google.com>
59707
59708 [BZ #12714]
59709 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
59710 gethostbyname4_r when IPv6 results are possible.
59711
6e04cbbe
UD
597122011-05-02 Ulrich Drepper <drepper@gmail.com>
59713
59714 [BZ #12723]
59715 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
59716 _PC_PIPE_BUF handling.
59717
e4ecafe0
BH
597182011-04-30 Bruno Haible <bruno@clisp.org>
59719
59720 [BZ #12717]
59721 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
59722 * resolv/netdb.h (getnameinfo): Change type of flags parameter
59723 to 'int'.
59724 * inet/getnameinfo.c (getnameinfo): Likewise.
59725
125ee683
UD
597262011-04-29 Ulrich Drepper <drepper@gmail.com>
59727
59728 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
59729 to groups setting in database lookup.
59730 * nss/nsswitch.conf: Add initgroups entry.
59731
b722481a
EB
597322011-04-22 Ulrich Drepper <drepper@gmail.com>
59733
59734 [BZ #12685]
59735 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
59736 mode string.
59737 Patch by Eric Blake <eblake@redhat.com>.
59738
4df46dbd
L
597392011-04-20 H.J. Lu <hongjiu.lu@intel.com>
59740
59741 * sunrpc/Makefile (need-export-routines): Add svc_run.
59742 (routines): Remove svc_run.
59743 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
59744 * sunrpc/clnt_perr.c (clnt_perrno): Export.
59745 * sunrpc/svc_run.c (svc_run): Likewise.
59746 * sunrpc/svc_udp.c (svcudp_create): Likewise.
59747
e84142d2
UD
597482011-04-21 Ulrich Drepper <drepper@gmail.com>
59749
59750 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
59751 problem in reallocation in last patch.
59752
877175d8
UD
597532011-04-20 Ulrich Drepper <drepper@gmail.com>
59754
59755 * sunrpc/Makefile: Move inclusion of Rules.
59756
ab8eed78
UD
597572011-04-19 Ulrich Drepper <drepper@gmail.com>
59758
59759 * nss/nss_files/files-initgroups.c: New file.
59760 * nss/Makefile (libnss_files-routines): Add files-initgroups.
59761 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
59762 _nss_files_initgroups_dyn.
59763
e3d8f584
RS
597642011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
59765
59766 * elf/elf.h (R_ARM_IRELATIVE): Define.
59767
af190f45
UD
597682011-04-19 Ulrich Drepper <drepper@gmail.com>
59769
59770 * po/ru.po: Update from translation team.
59771
53cf59ef
UD
597722011-04-17 Ulrich Drepper <drepper@gmail.com>
59773
59774 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
59775 dependencies.
59776
4c559bcd
MF
597772011-02-06 Mike Frysinger <vapier@gentoo.org>
59778
59779 [BZ #12653]
59780 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
59781 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
59782 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
59783 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
59784 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
59785
4420675c
AS
597862011-03-28 Andreas Schwab <schwab@linux-m68k.org>
59787
59788 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
59789 differing bytes.
59790 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59791 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59792 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59793
75ea32ab
UD
597942011-04-17 Ulrich Drepper <drepper@gmail.com>
59795
59796 [BZ #12420]
59797 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
59798 storing it.
59799 * stdlib/bug-getcontext.c: New file.
59800 * stdlib/Makefile: Add rules to build and run bug-getcontext.
59801
27390476
AK
598022011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59803
59804 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
59805 instructions into .machine "z9-109".
59806 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
59807 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
59808
10442705
AK
598092011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59810
59811 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
59812 between environment variables and auxiliary vector.
59813
7b57bfe5
UD
598142011-04-16 Ulrich Drepper <drepper@gmail.com>
59815
59816 * Makefile: Add rules to build linkobj/libc.so.
59817 * include/libc-symbols.h: Define libc_hidden_nolink.
59818 * include/rpc/auth.h: Mark functions which are to be hidden.
59819 * include/rpc/auth_des.h: Likewise.
59820 * include/rpc/auth_unix.h: Likewise.
59821 * include/rpc/clnt.h: Likewise.
59822 * include/rpc/des_crypt.h: Likewise.
59823 * include/rpc/key_prot.h: Likewise.
59824 * include/rpc/pmap_clnt.h: Likewise.
59825 * include/rpc/pmap_prot.h: Likewise.
59826 * include/rpc/pmap_rmt.h: Likewise.
59827 * include/rpc/rpc_msg.h: Likewise.
59828 * include/rpc/svc.h: Likewise.
59829 * include/rpc/svc_auth.h: Likewise.
59830 * include/rpc/xdr.h: Likewise.
59831 * nis/Makefile: Link all DSOs against linkobj/libc.so.
59832 * nss/Makefile: Likewise.
59833 * sunrpc/Makefile: Don't install headers. Build library with normal
59834 entry points. Don't build rpcinfo. Link RPC tests appropriately.
59835 * sunrpc/auth_des.c: Hide exported symbols by default, export some
59836 for the compat linking library. Remove use of INTDEF/INTUSE.
59837 * sunrpc/auth_none.c: Likewise.
59838 * sunrpc/auth_unix.c: Likewise.
59839 * sunrpc/authdes_prot.c: Likewise.
59840 * sunrpc/authuxprot.c: Likewise.
59841 * sunrpc/clnt_gen.c: Likewise.
59842 * sunrpc/clnt_perr.c: Likewise.
59843 * sunrpc/clnt_raw.c: Likewise.
59844 * sunrpc/clnt_simp.c: Likewise.
59845 * sunrpc/clnt_tcp.c: Likewise.
59846 * sunrpc/clnt_udp.c: Likewise.
59847 * sunrpc/clnt_unix.c: Likewise.
59848 * sunrpc/des_crypt.c: Likewise.
59849 * sunrpc/des_soft.c: Likewise.
59850 * sunrpc/get_myaddr.c: Likewise.
59851 * sunrpc/key_call.c: Likewise.
59852 * sunrpc/key_prot.c: Likewise.
59853 * sunrpc/netname.c: Likewise.
59854 * sunrpc/pm_getmaps.c: Likewise.
59855 * sunrpc/pm_getport.c: Likewise.
59856 * sunrpc/pmap_clnt.c: Likewise.
59857 * sunrpc/pmap_prot.c: Likewise.
59858 * sunrpc/pmap_prot2.c: Likewise.
59859 * sunrpc/pmap_rmt.c: Likewise.
59860 * sunrpc/publickey.c: Likewise.
59861 * sunrpc/rpc_cmsg.c: Likewise.
59862 * sunrpc/rpc_common.c: Likewise.
59863 * sunrpc/rpc_dtable.c: Likewise.
59864 * sunrpc/rpc_prot.c: Likewise.
59865 * sunrpc/rpc_thread.c: Likewise.
59866 * sunrpc/rtime.c: Likewise.
59867 * sunrpc/svc.c: Likewise.
59868 * sunrpc/svc_auth.c: Likewise.
59869 * sunrpc/svc_authux.c: Likewise.
59870 * sunrpc/svc_raw.c: Likewise.
59871 * sunrpc/svc_run.c: Likewise.
59872 * sunrpc/svc_simple.c: Likewise.
59873 * sunrpc/svc_tcp.c: Likewise.
59874 * sunrpc/svc_udp.c: Likewise.
59875 * sunrpc/svc_unix.c: Likewise.
59876 * sunrpc/svcauth_des.c: Likewise.
59877 * sunrpc/xcrypt.c: Likewise.
59878 * sunrpc/xdr.c: Likewise.
59879 * sunrpc/xdr_array.c: Likewise.
59880 * sunrpc/xdr_float.c: Likewise.
59881 * sunrpc/xdr_intXX_t.c: Likewise.
59882 * sunrpc/xdr_mem.c: Likewise.
59883 * sunrpc/xdr_rec.c: Likewise.
59884 * sunrpc/xdr_ref.c: Likewise.
59885 * sunrpc/xdr_sizeof.c: Likewise.
59886 * sunrpc/xdr_stdio.c: Likewise.
59887
e6c61494
UD
598882011-04-10 Ulrich Drepper <drepper@gmail.com>
59889
59890 [BZ #12650]
59891 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
59892 * sysdeps/ia64/dl-tls.h: Likewise.
59893 * sysdeps/powerpc/dl-tls.h: Likewise.
59894 * sysdeps/s390/dl-tls.h: Likewise.
59895 * sysdeps/sh/dl-tls.h: Likewise.
59896 * sysdeps/sparc/dl-tls.h: Likewise.
59897 * sysdeps/x86_64/dl-tls.h: Likewise.
59898 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
59899
34fe483e
AS
599002011-03-14 Andreas Schwab <schwab@redhat.com>
59901
59902 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
59903 rpath element also skip the following colon.
59904 (expand_dynamic_string_token): Add is_path parameter and pass
59905 down to DL_DST_REQUIRED and _dl_dst_substitute.
59906 (decompose_rpath): Call expand_dynamic_string_token with
59907 non-zero is_path. Ignore empty rpaths.
59908 (_dl_map_object_from_fd): Call expand_dynamic_string_token
59909 with zero is_path.
59910
f12a32e6
AS
599112011-04-08 Andreas Schwab <schwab@linux-m68k.org>
59912
59913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
59914 Make cancelable.
59915
38a7d692
UD
599162011-04-09 Ulrich Drepper <drepper@gmail.com>
59917
59918 [BZ #12655]
59919 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
59920 Patch by Filipe David Manana <fdmanana@apache.org>.
59921
e451d22b
AS
599222011-04-07 Andreas Schwab <schwab@redhat.com>
59923
59924 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
59925 Maintain aligned stack.
59926 (CHECK_RSP): Remove unused macro.
59927
dedc7c7b
UD
599282011-04-03 Ulrich Drepper <drepper@gmail.com>
59929
59930 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
59931 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
59932
94521213
UD
599332011-04-02 Ulrich Drepper <drepper@gmail.com>
59934
59935 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
59936
8cb700c0 59937 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 59938
0354e355
L
599392011-03-26 H.J. Lu <hongjiu.lu@intel.com>
59940
59941 [BZ #12518]
59942 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
59943 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
59944 * sysdeps/x86_64/memmove.c: New file.
59945 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
59946 (memcpy): Renamed to ...
59947 (__new_memcpy): This.
59948 (memcpy): Provide GLIBC_2_14 memcpy.
59949 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
59950 (memcpy): Provide GLIBC_2_2_5 memcpy.
59951
8593482f
UD
599522011-04-01 Ulrich Drepper <drepper@gmail.com>
59953
59954 [BZ #12631]
59955 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
59956
81a5726b
AS
599572011-03-30 Andreas Schwab <schwab@redhat.com>
59958
59959 * misc/syncfs.c: New file.
59960 * misc/Makefile (routines): Add syncfs.
59961 * posix/unistd.h: Declare syncfs.
59962 * sysdeps/unix/syscalls.list: Add syncfs.
59963
00e5419f
AS
599642011-04-01 Andreas Schwab <schwab@redhat.com>
59965
59966 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
59967 open_by_handle_at.
59968 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
59969 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59970 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59971 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59972 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59973 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
59974 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59975
748876bf
UD
599762011-04-01 Ulrich Drepper <drepper@gmail.com>
59977
658e451d
UD
59978 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
59979 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59980 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
59981 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59982 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59983 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59984 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59985
748876bf
UD
59986 * io/Makefile: Compile fallocate.c, fallocate64.c, and
59987 sync_file_range.c with -fexceptions.
59988 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
59989 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
59990 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
59991 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
59992 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
59993 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
59994 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
59995 sync_file_range as cancellation point
59996 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
59997 now a wrapper around __call_sync_file_range with cancellation handling.
59998 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
59999 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
60000 function name to __call_sync_file_range.
60001 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
60002 Add call_sync_file_range.
748876bf 60003
6e63d5e1
AS
600042011-04-01 Andreas Schwab <schwab@redhat.com>
60005
60006 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 60007 bits/timex.h.
6e63d5e1 60008
46998f74
UD
600092011-04-01 Ulrich Drepper <drepper@gmail.com>
60010
4c1423ed
UD
60011 * iconv/iconv.h: Fix typo in comment.
60012 * io/fcntl.h: Likewise.
60013 * libio/stdio.h: Likewise.
60014 * posix/spawn.h: Likewise.
60015 * posix/unistd.h: Likewise.
60016 * stdlib/stdlib.h: Likewise.
60017 * time/time.h: Likewise.
60018 * wcsmbs/wchar.h: Likewise.
60019
158648c0
UD
60020 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
60021 open_by_handle): Add.
60022 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
60023 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
60024 Augment a few comments.
60025 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60026 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60027 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60028 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60029 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60030 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
60031 open_by_handle.
60032
46998f74
UD
60033 * io/fcntl.h (AT_EMPTY_PATH): Define.
60034
83fe108b
UD
600352011-03-30 Ulrich Drepper <drepper@gmail.com>
60036
60037 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
60038 * sysdeps/unix/sysv/linux/bits/time.h: New file.
60039 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
60040 to...
60041 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
60042 * Versions.def: Add GLIBC_2.14.
60043 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
60044 Export.
83fe108b 60045
bb242059
UD
600462011-03-22 Ulrich Drepper <drepper@gmail.com>
60047
60048 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
60049 round counter.
60050 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60051
c97a1282
L
600522011-03-20 H.J. Lu <hongjiu.lu@intel.com>
60053
60054 [BZ #12597]
60055 * string/test-strncmp.c (do_page_test): New function.
60056 (check2): Likewise.
60057 (test_main): Call check2.
60058 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
60059
2a115601
UD
600602011-03-20 Ulrich Drepper <drepper@gmail.com>
60061
60062 [BZ #12587]
60063 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
60064 Handle cache information in CPU leaf 4.
60065 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60066
8126d904
UD
600672011-03-18 Ulrich Drepper <drepper@gmail.com>
60068
042c49c6 60069 [BZ #12583]
8126d904
UD
60070 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
60071 character representation.
60072 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
60073
ccfe366e
RA
600742011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
60075
60076 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
60077 END(__isnan) to END(__isnanf) to match function entry point/label
60078 EALIGN(__isnanf,...).
60079
c6e13027
JJ
600802011-03-10 Jakub Jelinek <jakub@redhat.com>
60081
60082 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
60083
33f85a3f
UD
600842011-03-10 Ulrich Drepper <drepper@gmail.com>
60085
028478fa
UD
60086 [BZ #12510]
60087 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
60088 copy from the symbol referenced in the relocation to initialize the
60089 used variable.
60090 Patch by Piotr Bury <pbury@goahead.com>.
60091 * elf/Makefile: Add rules to build and tst-unique3.
60092 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
60093 * elf/tst-unique3.cc: New file.
60094 * elf/tst-unique3.h: New file.
60095 * elf/tst-unique3lib.cc: New file.
60096 * elf/tst-unique3lib2.cc: New file.
60097
33f85a3f
UD
60098 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
60099
03592fc7
MF
601002011-03-10 Mike Frysinger <vapier@gentoo.org>
60101
60102 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
60103 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
60104 to _start.
03592fc7 60105
6a5ee102
UD
601062011-03-06 Ulrich Drepper <drepper@gmail.com>
60107
60108 * elf/dl-load.c (_dl_map_object): If we are looking for the first
60109 to-be-loaded object along a path to loader is ld.so.
60110
7e4ba49c
HJ
601112011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
60112 Ulrich Drepper <drepper@gmail.com>
60113
60114 * sysdeps/x86_64/memset.S: After aligning destination, code
60115 branches to different locations depending on the value of
60116 misalignment, when multiarch is enabled. Fix this.
60117
601182011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
60119
60120 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
60121 Set _x86_64_preferred_memory_instruction for AMD processsors.
60122 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60123 Set bit_Prefer_SSE_for_memop for AMD processors.
60124
13a804de
UD
601252011-03-04 Ulrich Drepper <drepper@gmail.com>
60126
60127 * libio/fmemopen.c (fmemopen): Optimize a bit.
60128
9d25c392
AS
601292011-03-03 Andreas Schwab <schwab@redhat.com>
60130
60131 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
60132
a5543c6a
RM
601332011-03-03 Roland McGrath <roland@redhat.com>
60134
60135 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
60136
012d35f7
DM
601372011-02-28 Aurelien Jarno <aurelien@aurel32.net>
60138
7e4ba49c 60139 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
60140 __bzero_ultra1 instead of __memset_ultra1.
60141
4bff6e01
AS
601422011-02-23 Andreas Schwab <schwab@redhat.com>
60143 Ulrich Drepper <drepper@gmail.com>
60144
60145 [BZ #12509]
60146 * include/link.h (struct link_map): Add l_orig_initfini.
60147 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
60148 returning unsuccessfully.
60149 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
60150 close of a file loaded at startup, restore the original l_initfini
60151 list.
60152 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
60153 list, store the pointer.
60154 * elf/Makefile ($(objpfx)noload-mem): New rule.
60155 (noload-ENV): Define.
60156 (tests): Add $(objpfx)noload-mem.
60157 * elf/noload.c: Include <memcheck.h>.
60158 (main): Call mtrace. Close all opened handles.
60159
f2092faf
AS
601602011-02-17 Andreas Schwab <schwab@redhat.com>
60161
60162 [BZ #12454]
60163 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
60164 dependencies are missing.
60165
6c8a2e88
ST
601662011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
60167
f2092faf 60168 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
60169 Hurd needs munmap.
60170 * sysdeps/mach/hurd/ifreq.h: New file.
60171
84a42118
PB
601722011-01-27 Petr Baudis <pasky@suse.cz>
60173 Ulrich Drepper <drepper@gmail.com>
60174
071f805e 60175 [BZ 12445]#
84a42118
PB
60176 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
60177 to extend_alloca().
60178 * stdio-common/bug23.c: New file.
60179 * stdio-common/Makefile (tests): Add bug23.
60180
e23fe25b
AS
601812010-09-28 Andreas Schwab <schwab@redhat.com>
60182 Ulrich Drepper <drepper@gmail.com>
60183
60184 [BZ #12489]
60185 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
60186 before performing relro protection. At old place add assertion
60187 to make sure nothing changed.
60188
d3f02e10
NS
601892011-02-17 Nathan Sidwell <nathan@codesourcery.com>
60190 Glauber de Oliveira Costa <glommer@gmail.com>
60191
60192 * elf/elf.h: Add new ARM TLS relocs.
60193
d55fd7a5
RA
601942011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
60195
60196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
60197 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
60198 cast from r3.
60199 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
60200 'tests' variable.
60201 * sysdeps/wordsize-64/tst-writev.c: New file.
60202
2206397e
RA
602032011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
60204
60205 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
60206 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
60207 insns in _dl_start to prevent a TOC reference before relocs are
60208 resolved.
60209
e9433893
UD
602102011-02-15 Ulrich Drepper <drepper@gmail.com>
60211
60212 [BZ #12469]
60213 * Makeconfig: Remove RANLIB definition.
60214 * Makerules: Don't use RANLIB.
60215 * aclocal.m4: Remove ranlib test.
60216 * configure.in: No need to check for ranlib.
60217 * elf/rtld-Rules: Don't use RANLIB.
60218
f75286c6
ST
602192011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
60220
8e31c82d
ST
60221 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
60222 protection macro.
60223 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
60224 inclusion protection macro.
60225
f75286c6
ST
60226 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
60227 SIGRTMIN and SIGRTMAX and print information in that case only when
60228 SIGRTMIN is defined.
60229
c1d0e639
JJ
602302011-02-11 Jakub Jelinek <jakub@redhat.com>
60231
60232 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
60233 arginfo fn returning -1.
60234
60235 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
60236 and thousands string is zero terminated.
60237
edf9294e
AS
602382011-02-03 Andreas Schwab <schwab@redhat.com>
60239
60240 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
60241 sysdeps/unix/sysv/linux/bits/socket.h.
60242
2b7e92df
ST
602432011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
60244
edf9294e
AS
60245 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
60246 (__CPU_COUNT): Remove old macros.
60247 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
60248 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
60249 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
60250 (__sched_cpualloc, __sched_cpufree): Add declarations.
60251
a4c7ea7b
UD
602522011-02-05 Ulrich Drepper <drepper@gmail.com>
60253
60254 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
60255 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
60256 * nscd/aicache.c (addhstaiX): Return timeout of added value.
60257 (readdhstai): Return value of addhstaiX call.
60258 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
60259 (addgrbyX): Return value returned by cache_addgr.
60260 (readdgrbyname): Return value returned by addgrbyX.
60261 (readdgrbygid): Likewise.
60262 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
60263 (addpwbyX): Return value returned by cache_addpw.
60264 (readdpwbyname): Return value returned by addhstbyX.
60265 (readdpwbyuid): Likewise.
60266 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
60267 (addservbyX): Return value returned by cache_addserv.
60268 (readdservbyname): Return value returned by addservbyX:
60269 (readdservbyport): Likewise.
60270 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
60271 (addhstbyX): Return value returned by cache_addhst.
60272 (readdhstbyname): Return value returned by addhstbyX.
60273 (readdhstbyaddr): Likewise.
60274 (readdhstbynamev6): Likewise.
60275 (readdhstbyaddrv6): Likewise.
60276 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
60277 (readdinitgroups): Return value returned by addinitgroupsX.
60278 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
60279 (prune_cache): Keep track of timeout value of re-added entries.
60280 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
60281 * nscd/nscd.h: Adjust prototypes of readd* functions.
60282
a0bf67cc
RM
602832011-02-04 Roland McGrath <roland@redhat.com>
60284
60285 * nis/nis_server.c (nis_servstate): Use the right name for 0.
60286 (nis_stats): Likewise.
60287 * nis/nis_modify.c (nis_modify): Likewise.
60288 * nis/nis_remove.c (nis_remove): Likewise.
60289 * nis/nis_add.c (nis_add): Likewise.
60290
60291 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
60292
60293 * posix/fnmatch_loop.c: Add some consts.
60294
60295 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
60296
435b95eb
L
602972011-02-02 H.J. Lu <hongjiu.lu@intel.com>
60298
60299 [BZ #12460]
60300 * config.make.in (config-cflags-novzeroupper): Define.
60301 * configure.in: Substitute libc_cv_cc_novzeroupper.
60302 * elf/Makefile (AVX-CFLAGS): Define.
60303 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
60304 (CFLAGS-tst-auditmod4a.c): Likewise.
60305 (CFLAGS-tst-auditmod4b.c): Likewise.
60306 (CFLAGS-tst-auditmod6b.c): Likewise.
60307 (CFLAGS-tst-auditmod6c.c): Likewise.
60308 (CFLAGS-tst-auditmod7b.c): Likewise.
60309 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
60310
8517b15e
UD
603112011-02-02 Ulrich Drepper <drepper@gmail.com>
60312
60313 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
60314 function to the callback.
60315 Patch partly by Jiri Olsa <jolsa@redhat.com>.
60316
10a656fe
AS
603172011-02-02 Andreas Schwab <schwab@redhat.com>
60318
60319 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
60320 of errno.
60321
968dad0a
UD
603222011-01-19 Ulrich Drepper <drepper@gmail.com>
60323
9f94d2ea 60324 [BZ #11724]
968dad0a
UD
60325 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
60326 of constructors.
60327 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
60328 of destructors.
60329 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
60330
60331 [BZ #11724]
60332 * elf/Makefile: Add rules to build and run new test.
60333 * elf/tst-initorder.c: New file.
60334 * elf/tst-initorder.exp: New file.
60335 * elf/tst-initordera1.c: New file.
60336 * elf/tst-initordera2.c: New file.
60337 * elf/tst-initordera3.c: New file.
60338 * elf/tst-initordera4.c: New file.
60339 * elf/tst-initorderb1.c: New file.
60340 * elf/tst-initorderb2.c: New file.
60341 * elf/tst-order-a1.c: New file.
60342 * elf/tst-order-a2.c: New file.
60343 * elf/tst-order-a3.c: New file.
60344 * elf/tst-order-a4.c: New file.
60345 * elf/tst-order-b1.c: New file.
60346 * elf/tst-order-b2.c: New file.
60347 * elf/tst-order-main.c: New file.
60348 New test case by George Gensure <werkt0@gmail.com>.
60349
86e92359
UD
603502010-10-01 Andreas Schwab <schwab@redhat.com>
60351
60352 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60353 decoding ACE if AI_CANONIDN.
60354
5d5732b0
UD
603552011-01-18 Ulrich Drepper <drepper@gmail.com>
60356
60357 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
60358
a77e8cbc
UD
603592011-01-17 Ulrich Drepper <drepper@gmail.com>
60360
6392473f
UD
60361 * version.h (RELEASE): Bump for 2.13 release.
60362 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
60363
620a0529
UD
60364 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
60365
18ba70a5
UD
60366 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
60367 MADV_NOHUGEPAGE.
32465c3e
UD
60368 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
60369 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
60370 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
60371 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
60372 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
60373 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60374
c0dafcf1
UD
60375 * posix/getconf.c: Update copyright year.
60376 * catgets/gencat.c: Likewise.
60377 * csu/version.c: Likewise.
60378 * debug/catchsegv.sh: Likewise.
60379 * debug/xtrace.sh: Likewise.
60380 * elf/ldconfig.c: Likewise.
60381 * elf/ldd.bash.in: Likewise.
60382 * elf/sprof.c (print_version): Likewise.
60383 * iconv/iconv_prog.c: Likewise.
60384 * iconv/iconvconfig.c: Likewise.
60385 * locale/programs/locale.c: Likewise.
60386 * locale/programs/localedef.c: Likewise.
60387 * malloc/memusage.sh: Likewise.
60388 * malloc/mtrace.pl: Likewise.
60389 * nscd/nscd.c (print_version): Likewise.
60390 * nss/getent.c: Likewise.
60391
a77e8cbc
UD
60392 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
60393 PF_CAIF, and PF_ALG.
60394 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60395
77e8bddf
AS
603962011-01-16 Andreas Schwab <schwab@linux-m68k.org>
60397
1f20b93a
AS
60398 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
60399 (modules-names): Use them.
60400 (ifunc-test-modules, ifunc-pie-tests): Define.
60401 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
60402 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
60403 (test-extras): Likewise.
60404 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
60405 $(compile-command.c).
60406 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
60407 (all-built-dso): Define.
60408 (check-textrel.out, check-execstack.out): Depend on it.
60409
77e8bddf
AS
60410 * configure.in: Don't override --enable-multi-arch.
60411
bc425b33
UD
604122011-01-15 Ulrich Drepper <drepper@gmail.com>
60413
60414 [BZ #6812]
60415 * nscd/hstcache.c (tryagain): Define.
60416 (cache_addhst): Return tryagain not notfound for temporary errors.
60417 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
60418 failed.
60419
794c3ad3
UD
604202011-01-14 Ulrich Drepper <drepper@gmail.com>
60421
70181fdd
UD
60422 [BZ #10563]
60423 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
60424 to make the syscall.
60425 * sysdeps/unix/sysv/linux/setgroups.c: New file.
60426
794c3ad3
UD
60427 [BZ #12378]
60428 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
60429 and fall back to matching as normal character if the string ends before
60430 the matching ']' is found. This is what POSIX requires.
60431 * posix/testfnm.c: Adjust test result.
60432 * posix/globtest.sh: Adjust test result. Add new test.
60433 * posix/tst-fnmatch.input: Likewise.
60434 * posix/tst-fnmatch2.c: Add new test.
60435
68dc9497
AS
604362010-12-28 Andreas Schwab <schwab@linux-m68k.org>
60437
60438 * elf/Makefile (check-execstack): Revert last change. Depend on
60439 check-execstack.h.
60440 (check-execstack.h): New target.
60441 (generated): Add check-execstack.h.
60442 * elf/check-execstack.c: Include "check-execstack.h".
60443 (main): Revert last change.
60444 (handle_file): Return zero if GNU_STACK is absent and
60445 DEFAULT_STACK_PERMS doesn't include PF_X.
60446
451f001b
UD
604472011-01-13 Ulrich Drepper <drepper@gmail.com>
60448
cfa28e56
UD
60449 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
60450 in child fails because the descriptor is already closed.
8cf8ce17
UD
60451 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
60452 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
60453 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 60454
1086d70d
UD
60455 [BZ #12397]
60456 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
60457 syscall.
60458
451f001b
UD
60459 [BZ #10484]
60460 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
60461 temporary buffer used to handle multi lookups locally.
a85b5cb4 60462 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 60463
08769175
UD
604642011-01-12 Ulrich Drepper <drepper@gmail.com>
60465
60466 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
60467 loader is ld.so.
60468
5e49c52e
UD
604692011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
60470
60471 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
60472 alignment for SSE2.
60473
60522a5f
UD
604742011-01-12 Ulrich Drepper <drepper@gmail.com>
60475
60476 [BZ #12394]
60477 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
60478 characters. When rounding increased number of integer digits recompute
60479 number of groups.
60480 * stdio-common/tst-grouping.c: New file.
60481 * stdio-common/Makefile: Add rules to build and run tst-grouping.
60482
f257bbd7
UD
604832011-01-09 Ulrich Drepper <drepper@gmail.com>
60484
60485 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
60486 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
60487
60488 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
60489 void.
60490 * bits/select.h: Likewise.
60491
fa9c15cb
UD
604922011-01-08 Ulrich Drepper <drepper@gmail.com>
60493
60494 * po/ja.po: Update from translation team.
60495
16c2895f
DM
604962011-01-04 David S. Miller <davem@sunset.davemloft.net>
60497
60498 [BZ #11155]
60499 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
60500 implementation just like for lxstat, fxstatat, et al.
60501
2543fef2
JM
605022010-12-27 Jim Meyering <meyering@redhat.com>
60503
60504 [BZ #12348]
60505 * posix/regexec.c (build_trtable): Return failure indication upon
60506 calloc failure. Otherwise, re_search_internal could infloop on OOM.
60507
98727dbe
UD
605082010-12-25 Ulrich Drepper <drepper@gmail.com>
60509
5bd6dc5c
UD
60510 [BZ #12201]
60511 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
60512 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
60513 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
60514 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
60515
97983464
UD
60516 [BZ #12207]
60517 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
60518
98727dbe
UD
60519 [BZ #12204]
60520 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
60521 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
60522
4a531bb0
L
605232010-12-15 H.J. Lu <hongjiu.lu@intel.com>
60524
60525 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
60526 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
60527 script has SORT_BY_INIT_PRIORITY.
60528 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
60529 NO_CTORS_DTORS_SECTIONS is defined.
60530 * elf/soinit.c: Likewise.
60531 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
60532 NO_CTORS_DTORS_SECTIONS is defined.
60533 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
60534 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
60535 * sysdeps/sh/init-first.c: Likewise.
60536 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
60537
07eb4b71
UD
605382010-12-24 Ulrich Drepper <drepper@gmail.com>
60539
60540 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
60541 always use the slow path.
60542
30950a5f
RA
605432010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
60544
60545 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
60546 similar rule which adds the sysdep directories to the header search in
60547 order to pick up the correct platform stackinfo.h.
60548 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
60549 perform test if it is, otherwise return successfully without testing.
60550 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
60551 DEFAULT_STACK_PERMS define in stackinfo.h.
60552 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
60553 defined in stackinfo.h.
60554 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
60555 DEFAULT_STACK_PERMS defined in stackinfo.h.
60556 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
60557 * sysdeps/ia64/stackinfo.h: Likewise.
60558 * sysdeps/s390/stackinfo.h: Likewise.
60559 * sysdeps/sh/stackinfo.h: Likewise.
60560 * sysdeps/sparc/stackinfo.h: Likewise.
60561 * sysdeps/x86_64/stackinfo.h: Likewise.
60562 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
60563 PF_X for powerpc64. Retain PF_X for powerpc32.
60564
db753e2c
UD
605652010-12-19 Ulrich Drepper <drepper@gmail.com>
60566
14b697f7
UD
60567 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
60568 accurately.
db753e2c
UD
60569 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
60570 GETDENTS_64BIT_ALIGNED.
60571
28300719
UD
605722010-12-14 Ulrich Drepper <dreper@gmail.com>
60573
14b697f7 60574 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 60575
4f197237
AS
605762010-12-10 Andreas Schwab <schwab@redhat.com>
60577
dbb0472f
AS
60578 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
60579 _GNU_SOURCE.
60580
4f197237
AS
60581 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
60582 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
60583 Remove __restrict.
60584 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
60585 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
60586
fb88ac72
UD
605872010-12-09 Ulrich Drepper <drepper@gmail.com>
60588
60589 [BZ #11655]
60590 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
60591 are initialized.
60592
42acbb92
JJ
605932010-12-09 Jakub Jelinek <jakub@redhat.com>
60594
60595 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
60596
c038d98d
UD
605972010-12-03 Ulrich Drepper <drepper@gmail.com>
60598
60599 * po/it.po: Update from translation team.
60600
3a4a2499
L
606012010-12-01 H.J. Lu <hongjiu.lu@intel.com>
60602
60603 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
60604 unused codes.
60605
1e24cf6e
UD
606062010-11-30 Ulrich Drepper <drepper@gmail.com>
60607
60608 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
60609
a7690819
AS
606102010-11-24 Andreas Schwab <schwab@redhat.com>
60611
60612 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
60613 specially.
60614 (gaih_getanswer_slice): Likewise.
60615
3bf8d1b1
JJ
606162010-10-20 Jakub Jelinek <jakub@redhat.com>
60617
60618 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
60619
6db52fbb
PB
606202010-05-31 Petr Baudis <pasky@suse.cz>
60621
60622 [BZ #11149]
60623 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
60624 silently even in the chroot mode.
60625
eaca7569
UD
606262010-11-22 Ulrich Drepper <drepper@gmail.com>
60627
60628 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
60629 last patch a bit. Pretty printing
60630
3056dcdb
UD
606312010-05-31 Petr Baudis <pasky@suse.cz>
60632
60633 [BZ #10085]
60634 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
60635 initialization of skip_initgroups_dyn.
60636
cf7c9078
UD
606372010-11-19 Ulrich Drepper <drepper@gmail.com>
60638
60639 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
60640 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60641
a1fb5e3e
UD
606422010-11-16 Ulrich Drepper <drepper@gmail.com>
60643
60644 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
60645
3540d66b
AS
606462010-11-11 Andreas Schwab <schwab@redhat.com>
60647
60648 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
60649 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
60650 (tst-fnmatch-ENV): Set MALLOC_TRACE.
60651 ($(objpfx)tst-fnmatch-mem): New rule.
60652 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
60653 * posix/tst-fnmatch.c (main): Call mtrace.
60654
13b69574
L
606552010-11-11 H.J. Lu <hongjiu.lu@intel.com>
60656
60657 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60658 Support Intel processor model 6 and model 0x2c.
60659
da93d214
LM
606602010-11-10 Luis Machado <luisgpm@br.ibm.com>
60661
60662 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
60663 signed comparison.
60664
8ca52c6e
L
606652010-11-09 H.J. Lu <hongjiu.lu@intel.com>
60666
60667 [BZ #12205]
60668 * string/test-strncasecmp.c (check_result): New function.
60669 (do_one_test): Use it.
60670 (check1): New function.
60671 (test_main): Use it.
60672 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
60673 Support strcasecmp and strncasecmp.
60674
69da074d
UD
606752010-11-08 Ulrich Drepper <drepper@gmail.com>
60676
60677 [BZ #12194]
60678 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
60679 * sysdeps/x86_64/bits/byteswap.h: Likewise.
60680
ff02d528
L
606812010-11-07 H.J. Lu <hongjiu.lu@intel.com>
60682
60683 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
60684 IFUNC support.
60685 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60686 memset-x86-64.
60687 * sysdeps/x86_64/multiarch/bzero.S: New file.
60688 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
60689 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
60690 * sysdeps/x86_64/multiarch/memset.S: New file.
60691 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
60692 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60693 Set bit_Prefer_SSE_for_memop for Intel processors.
60694 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
60695 Define.
60696 (index_Prefer_SSE_for_memop): Define.
60697 (HAS_PREFER_SSE_FOR_MEMOP): Define.
60698
344d0b54
LM
606992010-11-04 Luis Machado <luisgpm@br.ibm.com>
60700
60701 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
60702 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
60703
c0dde15b
UD
607042010-11-03 H.J. Lu <hongjiu.lu@intel.com>
60705
60706 [BZ #12191]
60707 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60708 (__x86_64_raw_data_cache_size_half): Likewise.
60709 (__x86_64_raw_shared_cache_size): Likewise.
60710 (__x86_64_raw_shared_cache_size_half): Likewise.
60711
60712 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60713 (__x86_64_raw_data_cache_size_half): Likewise.
60714 (__x86_64_raw_shared_cache_size): Likewise.
60715 (__x86_64_raw_shared_cache_size_half): Likewise.
60716 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
60717 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
60718 and __x86_64_raw_shared_cache_size_half. Round
60719 __x86_64_data_cache_size_half, __x86_64_data_cache_size
60720 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
60721 to multiple of 256 bytes.
60722
0e516e0e
MS
607232010-11-03 Ulrich Drepper <drepper@gmail.com>
60724
60725 [BZ #12167]
60726 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
60727 of inacessible symlinks. Verify result of symlink before returning it.
60728 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
60729 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
60730
0e012e87
ER
607312010-10-28 Erich Ritz <erichritz@gmail.com>
60732
60733 * math/math.h (isinf): Fix typo in comment.
60734
de0ff7bc
UD
607352010-11-01 Ulrich Drepper <drepper@gmail.com>
60736
60737 * po/da.po: Update from translation team.
60738
fa41c84d
UD
607392010-10-26 Ulrich Drepper <drepper@gmail.com>
60740
60741 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
60742 is added to the list.
60743
f0967738
AK
607442010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60745 Ulrich Drepper <drepper@gmail.com>
60746
60747 * elf/dl-object.c (_dl_new_object): Don't append the new object to
60748 the global list here. Move code to...
60749 (_dl_add_to_namespace_list): ...here. New function.
60750 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
60751 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
60752 * elf/dl-load.c (lose): Don't remove the element from the list.
60753 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
60754 (_dl_map_object): Likewise.
60755
607562010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
60757
60758 [BZ #12159]
60759 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
60760 into all bytes of SSE register.
60761 Patch by Richard Li <richardpku@gmail.com>.
60762
f0967738 607632010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
60764
60765 [BZ #12140]
60766 * malloc/malloc.c (_int_free): Fill correct number of bytes when
60767 perturbing.
60768
d0b9e94f
MB
607692010-10-20 Michael B. Brutman <brutman@us.ibm.com>
60770
60771 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
60772 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
60773 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
60774 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
60775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
60776 submachine.
60777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
60778
8e9f92e9
AS
607792010-10-22 Andreas Schwab <schwab@redhat.com>
60780
60781 * include/dlfcn.h (__RTLD_SECURE): Define.
60782 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
60783 mode & __RTLD_SECURE instead.
60784 (open_path): Rename preloaded parameter to secure.
60785 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
60786 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
60787 * elf/dl-deps.c (openaux): Likewise.
60788 * elf/rtld.c (struct map_args): Remove is_preloaded.
60789 (map_doit): Don't use it.
60790 (dl_main): Likewise.
60791 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
60792 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
60793
bc96fbda
AS
607942010-09-09 Andreas Schwab <schwab@redhat.com>
60795
60796 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
60797 (sysd-rules-targets): Remove duplicates.
60798 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
60799 rtld-%.$o dependency.
60800
22cd1c9b
AS
608012010-10-18 Andreas Schwab <schwab@redhat.com>
60802
60803 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
60804 _dl_map_object do it.
60805
18edac48
UD
608062010-10-19 Ulrich Drepper <drepper@gmail.com>
60807
60808 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
60809 fast fma builtins, define the macros in the C99 standard.
60810 (FP_FAST_FMAF): Likewise.
60811 (FP_FAST_FMAL): Likewise.
60812 * sysdeps/x86_64/bits/mathdef.h: Likewise.
60813
60814 * bits/mathdef.h: Update copyright year.
60815 * sysdeps/powerpc/bits/mathdef.h: Likewise.
60816
d2050124
MM
608172010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
60818
60819 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
60820 builtins, define the macros in the C99 standard.
60821 (FP_FAST_FMAF): Likewise.
60822 (FP_FAST_FMAL): Likewise.
60823 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
60824 multiply/add.
60825 (FP_FAST_FMAF): Likewise.
60826
475facd1
JJ
608272010-10-15 Jakub Jelinek <jakub@redhat.com>
60828
60829 [BZ #3268]
60830 * math/libm-test.inc (fma_test): Some new testcases.
60831 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
60832 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
60833 y and infinite z. Do multiplication by C already in long double.
60834 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
60835 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
60836 y and infinite z. Do bitwise or of inexact bit into u.d.
60837 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
60838 * sysdeps/i386/fpu/s_fmaf.S: Removed.
60839 * sysdeps/i386/fpu/s_fma.S: Removed.
60840 * sysdeps/i386/fpu/s_fmal.S: Removed.
60841
7c08a05c
JJ
608422010-10-16 Jakub Jelinek <jakub@redhat.com>
60843
60844 [BZ #3268]
60845 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
60846 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
60847 computation is not scheduled after fetestexcept. Fix value
60848 of minimum denormal long double.
60849
f3f7372d
JJ
608502010-10-14 Jakub Jelinek <jakub@redhat.com>
60851
60852 [BZ #3268]
60853 * math/libm-test.inc (fma_test): Add some more tests.
60854 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
60855 correctly.
60856
14d43591
AS
608572010-10-15 Andreas Schwab <schwab@redhat.com>
60858
60859 * scripts/data/localplt-s390-linux-gnu.data: New file.
60860 * scripts/data/localplt-s390x-linux-gnu.data: New file.
60861
5e908464
JJ
608622010-10-13 Jakub Jelinek <jakub@redhat.com>
60863
60864 [BZ #3268]
60865 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
60866 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
60867 instead of dbl-64.
60868 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
60869 inlines.
60870 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
60871 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
60872 if one of x and y is very large and the other is subnormal.
60873 * sysdeps/s390/fpu/s_fmaf.c: New file.
60874 * sysdeps/s390/fpu/s_fma.c: New file.
60875 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
60876 * sysdeps/powerpc/fpu/s_fma.S: New file.
60877 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
60878 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
60879 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
60880
608812010-10-12 Jakub Jelinek <jakub@redhat.com>
60882
60883 [BZ #3268]
60884 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
60885 fma tests.
60886 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
60887 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
60888 * sysdeps/i386/i686/multiarch/s_fma.c: Include
60889 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
60890 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
60891 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
60892 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
60893
b833d51f
UD
608942010-10-12 Ulrich Drepper <drepper@redhat.com>
60895
60896 [BZ #12078]
60897 * posix/regcomp.c (parse_branch): One more memory leak plugged.
60898 * posix/bug-regex31.input: Add test case.
60899
1751705d
UD
609002010-10-11 Ulrich Drepper <drepper@gmail.com>
60901
e9b9cbf5
UD
60902 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
60903 * posix/bug-regex31.input: New file.
60904
60905 [BZ #12078]
60906 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
60907 (parse_sub_exp): Fix last change, use postorder.
60908
ef06edbe
UD
60909 * posix/bug-regex31.c: New file.
60910 * posix/Makefile: Add rules to build and run bug-regex31.
60911
a129c80d
UD
60912 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
60913
60914 [BZ #12078]
60915 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
60916
b76b818e
UD
60917 [BZ #12108]
60918 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
60919 to have entries in sys_siglist.
60920
1751705d
UD
60921 [BZ #12093]
60922 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
60923 be NULL.
60924
9ff8d36f
JJ
609252010-10-07 Jakub Jelinek <jakub@redhat.com>
60926
60927 [BZ #3268]
60928 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
60929 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
60930 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
60931 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
60932 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
60933 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
60934 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
60935 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
60936 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
60937 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
60938 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
60939 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
60940 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
60941 * math/ftestexcept.c (fetestexcept): Likewise.
60942 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
60943 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
60944 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
60945 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
60946 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
60947 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
60948 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60949
af325969
UD
609502010-10-11 Ulrich Drepper <drepper@gmail.com>
60951
c579b202 60952 [BZ #12107]
af325969
UD
60953 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
60954 newline.
60955
67a67b95
UD
609562010-10-06 Ulrich Drepper <drepper@gmail.com>
60957
60958 * string/bug-strstr1.c: New file.
60959 * string/Makefile: Add rules to build and run bug-strstr1.
60960
5fb308bc
EB
609612010-10-05 Eric Blake <eblake@redhat.com>
60962
60963 [BZ #12092]
60964 * string/str-two-way.h (two_way_long_needle): Always clear memory
60965 when skipping input due to the shift table.
60966
45db99c7
UD
609672010-10-03 Ulrich Drepper <drepper@gmail.com>
60968
3b111893
UD
60969 [BZ #12005]
60970 * malloc/mcheck.c: Handle large requests.
60971
45db99c7
UD
60972 [BZ #12077]
60973 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
60974 for strncmp and strncasecmp.
60975 * string/stratcliff.c: Add tests for strcmp and strncmp.
60976 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
60977
cf7a1eb8
NI
609782010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
60979
60980 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
60981 __set_fpscr.
60982
6484ba5e
AJ
609832010-09-30 Andreas Jaeger <aj@suse.de>
60984
60985 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
60986 (CGROUP_SUPER_MAGIC): Define.
60987 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60988 Handle btrfs and cgroup file systems.
60989 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
60990 Likewise.
60991
91c42559
LM
609922010-09-27 Luis Machado <luisgpm@br.ibm.com>
60993
60994 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
60995 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
60996
87a97932
AK
609972010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60998
60999 [BZ #12067]
61000 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
61001 trying to locate the ELF header.
61002
c21cc9bc
AS
610032010-09-27 Andreas Schwab <schwab@redhat.com>
61004
61005 [BZ #11611]
61006 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
61007 Mask out sign-bit copies when constructing f_fsid.
61008
315970f6
PB
610092010-09-24 Petr Baudis <pasky@suse.cz>
61010
61011 * debug/stack_chk_fail_local.c: Add missing licence exception.
61012 * debug/warning-nop.c: Likewise.
61013
1ac7a2c7
JM
610142010-09-15 Joseph Myers <joseph@codesourcery.com>
61015
61016 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
61017 implementing getdents64 using getdents syscall, set d_type if
61018 __ASSUME_GETDENTS32_D_TYPE.
61019
56801c50
AS
610202010-09-16 Andreas Schwab <schwab@redhat.com>
61021
61022 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
61023 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
61024
dda51327
UD
610252010-09-21 Ulrich Drepper <drepper@redhat.com>
61026
61027 [BZ #12037]
61028 * posix/unistd.h: Undo change of feature selection for ftruncate from
61029 2010-01-11.
61030
8ffcee4a
UD
610312010-09-20 Ulrich Drepper <drepper@redhat.com>
61032
a545ecd9 61033 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
61034 detection.
61035
e24f0a8b
AS
610362010-09-20 Andreas Schwab <schwab@redhat.com>
61037
61038 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
61039 fanotify_mark.
61040 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61041
7291c56f
AS
610422010-09-14 Andreas Schwab <schwab@redhat.com>
61043
61044 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
61045 variables after CHECK_SP call.
61046 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
61047
bc5fb037
AS
610482010-09-13 Andreas Schwab <schwab@redhat.com>
61049 Ulrich Drepper <drepper@redhat.com>
61050
61051 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
61052 re-relocationg ld.so.
61053 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
61054 _dl_init_paths call.
61055 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
61056 here anymore.
61057
e66e7419
UD
610582010-09-14 Ulrich Drepper <drepper@redhat.com>
61059
61060 * resolv/res_init.c (__res_vinit): Count the default server we added.
61061
c044aa75
CLT
610622010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
61063 Ulrich Drepper <drepper@redhat.com>
61064
61065 [BZ #11968]
61066 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
61067 (____longjmp_chk): Use %ebx for saving value across system call.
61068 Add unwind info.
61069
32cf4069
AS
610702010-09-06 Andreas Schwab <schwab@redhat.com>
61071
61072 * manual/Makefile: Don't mix pattern rules with normal rules.
61073
817328ee
AS
610742010-09-05 Andreas Schwab <schwab@linux-m68k.org>
61075
61076 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
61077 operation.
61078 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
61079 * libio/iofopncook.c (_IO_cookie_init): Likewise.
61080 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
61081 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
61082 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61083 Likewise.
61084
29fddf61
UD
610852010-09-04 Ulrich Drepper <drepper@redhat.com>
61086
61087 [BZ #11979]
61088 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
61089 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
61090
0959ffc9
UD
610912010-09-02 Ulrich Drepper <drepper@redhat.com>
61092
61093 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
61094 * sysdeps/x86_64/addmul_1.S: Likewise.
61095 * sysdeps/x86_64/lshift.S: Likewise.
61096 * sysdeps/x86_64/mul_1.S: Likewise.
61097 * sysdeps/x86_64/rshift.S: Likewise.
61098 * sysdeps/x86_64/sub_n.S: Likewise.
61099 * sysdeps/x86_64/submul_1.S: Likewise.
61100
ece29840
ST
611012010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
61102
0959ffc9
UD
61103 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
61104 Define __sched_param instead of SCHED_* and sched_param when
ece29840 61105 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 61106 * bits/sched.h [__need_schedparam]
ece29840 61107 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
61108 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
61109 (__defined_schedparam): Define to 1.
ece29840
ST
61110 (__sched_param): New structure, identical to sched_param.
61111 (__need_schedparam): Undefine.
61112
e53a31fe
MF
611132010-08-31 Mike Frysinger <vapier@gentoo.org>
61114
fdc0c10d
MF
61115 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
61116 (epoll_create1): Declare.
61117
e53a31fe
MF
61118 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
61119
a726d796
AS
611202010-08-31 Andreas Schwab <schwab@redhat.com>
61121
61122 [BZ #7066]
61123 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
61124 shifting retval into place.
61125
2f3e3dc7
UD
611262010-09-01 Ulrich Drepper <drepper@redhat.com>
61127
f2933da9
UD
61128 * nis/rpcsvc/nis.h: Update copyright notice.
61129 * nis/rpcsvc/nis.x: Likewise.
61130 * nis/rpcsvc/nis_callback.h: Likewise.
61131 * nis/rpcsvc/nis_callback.x: Likewise.
61132 * nis/rpcsvc/nis_object.x: Likewise.
61133 * nis/rpcsvc/nis_tags.h: Likewise.
61134 * nis/rpcsvc/yp.h: Likewise.
61135 * nis/rpcsvc/yp.x: Likewise.
61136 * nis/rpcsvc/ypupd.h: Likewise.
61137 * nis/yp_xdr.c: Likewise.
61138 * nis/ypupdate_xdr.c: Likewise.
61139
2f3e3dc7
UD
61140 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
61141 mainly the body of pmap_getport. Add parameters to specify timeouts.
61142 (pmap_getport): Use __libc_rpc_getport.
61143 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
61144 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
61145 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
61146
f3dcc2f9
AS
611472010-08-31 Andreas Schwab <schwab@linux-m68k.org>
61148
61149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
61150 fanotify_mark.
61151
6d34eb5b
RM
611522010-08-27 Roland McGrath <roland@redhat.com>
61153
61154 * sysdeps/i386/i686/multiarch/Makefile
61155 (CFLAGS-varshift.c): New variable.
61156
9ea3de11
UD
611572010-08-27 Ulrich Drepper <drepper@redhat.com>
61158
c96d23fc
UD
61159 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
61160 * sysdeps/i386/i686/multiarch/varshift.c: New file.
61161
9ea3de11
UD
61162 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
61163
61164 * sysdeps/x86_64/strlen.S: Minimal code improvement.
61165
623aac7f
L
611662010-08-26 H.J. Lu <hongjiu.lu@intel.com>
61167
61168 * sysdeps/x86_64/strlen.S: Unroll the loop.
61169 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61170 strlen-sse2 strlen-sse2-bsf.
61171 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
61172 __strlen_no_bsf if bit_Slow_BSF is set.
61173 (__strlen_sse42): Removed.
61174 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
61175 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
61176
8b2b7715
RM
611772010-08-25 Roland McGrath <roland@redhat.com>
61178
61179 * sysdeps/x86_64/multiarch/varshift.S: File removed.
61180 * sysdeps/x86_64/multiarch/varshift.c: New file.
61181 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
61182 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
61183 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
61184 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
61185
e73015f2
L
611862010-08-25 H.J. Lu <hongjiu.lu@intel.com>
61187
61188 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61189 strlen-sse2 strlen-sse2-bsf.
61190 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
61191 __strlen_sse2_bsf if bit_Slow_BSF is unset.
61192 (__strlen_sse2): Removed.
61193 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
61194 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
61195 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
61196 bit_Slow_BSF for Atom.
61197 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
61198 (index_Slow_BSF): Define.
61199 (HAS_SLOW_BSF): Define.
61200
df24a73e
UD
612012010-08-25 Ulrich Drepper <drepper@redhat.com>
61202
61203 [BZ #10851]
61204 * resolv/res_init.c (__res_vinit): When no server address at all
61205 is given default to loopback.
61206
f2ac4868
RM
612072010-08-24 Roland McGrath <roland@redhat.com>
61208
09055553
RM
61209 * configure.in: Remove config-name.h generation.
61210 * configure: Regenerated.
61211 * config-name.in: File removed.
61212 * scripts/config-uname.sh: New file.
61213 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
61214 ($(objdir)config-name.h): New target.
61215
f2ac4868
RM
61216 * sunrpc/rpc_parse.h: Avoid nested comment.
61217
73f27d5e
RH
612182010-08-24 Richard Henderson <rth@redhat.com>
61219 Ulrich Drepper <drepper@redhat.com>
61220 H.J. Lu <hongjiu.lu@intel.com>
61221
61222 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
61223 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
61224 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
61225 Replace _mm_srli_si128 with __m128i_shift_right. Replace
61226 _mm_alignr_epi8 with _mm_loadu_si128.
61227 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
61228 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
61229 (__m128i_shift_right): Removed.
61230 * sysdeps/i386/i686/multiarch/varshift.h: New file.
61231 * sysdeps/i386/i686/multiarch/varshift.S: New file.
61232 * sysdeps/x86_64/multiarch/varshift.h: New file.
61233 * sysdeps/x86_64/multiarch/varshift.S: New file.
61234
84b9230c
MF
612352010-08-21 Mike Frysinger <vapier@gentoo.org>
61236
61237 * configure.in: Move assembler checks to before sysdep dir checking.
61238
9bbd0ddc
PB
612392010-08-20 Petr Baudis <pasky@suse.cz>
61240
61241 * LICENSES: Sync the sunrpc license.
61242
9da4bb31
UD
612432010-08-19 Ulrich Drepper <drepper@redhat.com>
61244
a7ab6ec8
UD
61245 * sunrpc/auth_des.c: Update copyright notice once again.
61246 * sunrpc/auth_none.c: Likewise.
61247 * sunrpc/auth_unix.c: Likewise.
61248 * sunrpc/authdes_prot.c: Likewise.
61249 * sunrpc/authuxprot.c: Likewise.
61250 * sunrpc/bindrsvprt.c: Likewise.
61251 * sunrpc/clnt_gen.c: Likewise.
61252 * sunrpc/clnt_perr.c: Likewise.
61253 * sunrpc/clnt_raw.c: Likewise.
61254 * sunrpc/clnt_simp.c: Likewise.
61255 * sunrpc/clnt_tcp.c: Likewise.
61256 * sunrpc/clnt_udp.c: Likewise.
61257 * sunrpc/clnt_unix.c: Likewise.
61258 * sunrpc/des_crypt.c: Likewise.
61259 * sunrpc/des_soft.c: Likewise.
61260 * sunrpc/get_myaddr.c: Likewise.
61261 * sunrpc/getrpcport.c: Likewise.
61262 * sunrpc/key_call.c: Likewise.
61263 * sunrpc/key_prot.c: Likewise.
61264 * sunrpc/openchild.c: Likewise.
61265 * sunrpc/pm_getmaps.c: Likewise.
61266 * sunrpc/pm_getport.c: Likewise.
61267 * sunrpc/pmap_clnt.c: Likewise.
61268 * sunrpc/pmap_prot.c: Likewise.
61269 * sunrpc/pmap_prot2.c: Likewise.
61270 * sunrpc/pmap_rmt.c: Likewise.
61271 * sunrpc/rpc/auth.h: Likewise.
61272 * sunrpc/rpc/auth_unix.h: Likewise.
61273 * sunrpc/rpc/clnt.h: Likewise.
61274 * sunrpc/rpc/des_crypt.h: Likewise.
61275 * sunrpc/rpc/key_prot.h: Likewise.
61276 * sunrpc/rpc/netdb.h: Likewise.
61277 * sunrpc/rpc/pmap_clnt.h: Likewise.
61278 * sunrpc/rpc/pmap_prot.h: Likewise.
61279 * sunrpc/rpc/pmap_rmt.h: Likewise.
61280 * sunrpc/rpc/rpc.h: Likewise.
61281 * sunrpc/rpc/rpc_des.h: Likewise.
61282 * sunrpc/rpc/rpc_msg.h: Likewise.
61283 * sunrpc/rpc/svc.h: Likewise.
61284 * sunrpc/rpc/svc_auth.h: Likewise.
61285 * sunrpc/rpc/types.h: Likewise.
61286 * sunrpc/rpc/xdr.h: Likewise.
61287 * sunrpc/rpc_clntout.c: Likewise.
61288 * sunrpc/rpc_cmsg.c: Likewise.
61289 * sunrpc/rpc_common.c: Likewise.
61290 * sunrpc/rpc_cout.c: Likewise.
61291 * sunrpc/rpc_dtable.c: Likewise.
61292 * sunrpc/rpc_hout.c: Likewise.
61293 * sunrpc/rpc_main.c: Likewise.
61294 * sunrpc/rpc_parse.c: Likewise.
61295 * sunrpc/rpc_parse.h: Likewise.
61296 * sunrpc/rpc_prot.c: Likewise.
61297 * sunrpc/rpc_sample.c: Likewise.
61298 * sunrpc/rpc_scan.c: Likewise.
61299 * sunrpc/rpc_scan.h: Likewise.
61300 * sunrpc/rpc_svcout.c: Likewise.
61301 * sunrpc/rpc_tblout.c: Likewise.
61302 * sunrpc/rpc_util.c: Likewise.
61303 * sunrpc/rpc_util.h: Likewise.
61304 * sunrpc/rpcinfo.c: Likewise.
61305 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
61306 * sunrpc/rpcsvc/key_prot.x: Likewise.
61307 * sunrpc/rpcsvc/klm_prot.x: Likewise.
61308 * sunrpc/rpcsvc/mount.x: Likewise.
61309 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
61310 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
61311 * sunrpc/rpcsvc/rex.x: Likewise.
61312 * sunrpc/rpcsvc/rstat.x: Likewise.
61313 * sunrpc/rpcsvc/rusers.x: Likewise.
61314 * sunrpc/rpcsvc/sm_inter.x: Likewise.
61315 * sunrpc/rpcsvc/spray.x: Likewise.
61316 * sunrpc/rpcsvc/yppasswd.x: Likewise.
61317 * sunrpc/rtime.c: Likewise.
61318 * sunrpc/svc.c: Likewise.
61319 * sunrpc/svc_auth.c: Likewise.
61320 * sunrpc/svc_authux.c: Likewise.
61321 * sunrpc/svc_raw.c: Likewise.
61322 * sunrpc/svc_run.c: Likewise.
61323 * sunrpc/svc_simple.c: Likewise.
61324 * sunrpc/svc_tcp.c: Likewise.
61325 * sunrpc/svc_udp.c: Likewise.
61326 * sunrpc/svc_unix.c: Likewise.
61327 * sunrpc/svcauth_des.c: Likewise.
61328 * sunrpc/xcrypt.c: Likewise.
61329 * sunrpc/xdr.c: Likewise.
61330 * sunrpc/xdr_array.c: Likewise.
61331 * sunrpc/xdr_float.c: Likewise.
61332 * sunrpc/xdr_mem.c: Likewise.
61333 * sunrpc/xdr_rec.c: Likewise.
61334 * sunrpc/xdr_ref.c: Likewise.
61335 * sunrpc/xdr_sizeof.c: Likewise.
61336 * sunrpc/xdr_stdio.c: Likewise.
61337
9da4bb31
UD
61338 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
61339 handling.
61340
bdaa77bc
AS
613412010-08-19 Andreas Schwab <schwab@redhat.com>
61342
61343 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
61344
fe2f79db
LM
613452010-08-19 Luis Machado <luisgpm@br.ibm.com>
61346
61347 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
61348 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
61349 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
61350 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
61351 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
61352 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
61353 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
61354 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
61355 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
61356 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
61357 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
61358 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
61359 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
61360 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
61361
b9b42ee0
AB
613622010-07-26 Anton Blanchard <anton@samba.org>
61363
61364 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
61365 * malloc/arena.c (heap_trim): Likewise.
61366
1c06ba31
UD
613672010-08-16 Ulrich Drepper <drepper@redhat.com>
61368
61369 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
61370 here. Not...
61371 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
61372 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
61373
f8392f40
L
613742010-08-12 H.J. Lu <hongjiu.lu@intel.com>
61375
61376 * sysdeps/i386/elf/Makefile: New file.
61377
3162f12e
AS
613782010-08-14 Andreas Schwab <schwab@linux-m68k.org>
61379
61380 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
61381 from fanotify_init.
61382 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
61383 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61384
28c90b2c
UD
613852010-08-15 Ulrich Drepper <drepper@redhat.com>
61386
61387 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
61388 of strncasecmp_l.
1feccb6c 61389 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 61390
ca6bb004
UD
613912010-08-14 Ulrich Drepper <drepper@redhat.com>
61392
e9f82e0d
UD
61393 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61394 strncase_l-nonascii.
61395 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61396 Add strncase_l-ssse3.
61397 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
61398 * sysdeps/x86_64/strcmp.S: Likewise.
61399 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
61400 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
61401 * sysdeps/x86_64/strncase.S: New file.
61402 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
61403 * sysdeps/x86_64/strncase_l.S: New file.
61404 * string/Makefile (strop-tests): Add strncasecmp.
61405 * string/test-strncasecmp.c: New file.
61406
61407 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
61408 warning.
61409
ca6bb004
UD
61410 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
61411 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
61412
052fa7b3
AS
614132010-08-14 Andreas Schwab <schwab@linux-m68k.org>
61414
61415 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
61416
962dba78
UD
614172010-08-12 Ulrich Drepper <drepper@redhat.com>
61418
61419 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
61420 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
61421 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
61422
bebff237
AM
614232010-05-01 Alan Modra <amodra@gmail.com>
61424
61425 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
61426 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
61427 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
61428 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
61429 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
61430 tidying. Don't tail-call __sigjmp_save for static lib.
61431 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
61432 save location.
61433 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
61434 (CALL_MCOUNT): Add eh info, and nop after bl.
61435 (TAIL_CALL_SYSCALL_ERROR): New macro.
61436 (PSEUDO_RET): Use it.
61437 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
61438 Correct save location of integer regs and cr.
61439 (_dl_profile_resolve): Correct cr save location. Delete nops
61440 after bl when SHARED. Reduce cfi size a little by better
61441 placement of cfi directives.
61442 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
61443 make a stack frame. Instead use parm save area as a temp.
61444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
61445 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
61446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
61447 Don't make a stack frame for parent, use parm save area.
61448 Increase child stack frame to 112 bytes. Don't save unused reg,
61449 and adjust reg usage. Set up cfi on error recovery and
61450 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
61451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
61452 (__makecontext): Add dummy nop after jump to exit.
61453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
61454 Use correct parm save area and cr save, reduce stack frame.
61455 Correct cfi for possible PSEUDO_RET frame setup.
61456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
61457 Branch to local label emitted by PSEUDO_RET rather than
61458 __syscall_error.
61459
02637374
AS
614602010-08-12 Andreas Schwab <schwab@redhat.com>
61461
61462 [BZ #11904]
61463 * locale/programs/locale.c (print_assignment): New function.
61464 (show_locale_vars): Use it.
61465
c3e2f19b
UD
614662010-08-11 Ulrich Drepper <drepper@redhat.com>
61467
3cdaa6ad
UD
61468 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
61469 field.
61470 (struct statfs64): Likewise.
61471 (_STATFS_F_FLAGS): Define.
61472 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
61473 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61474 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
61475 (ST_VALID): Define locally.
61476 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
61477 __statvfs_getflags, use the provided value.
61478 * sysdeps/unix/sysv/linux/kernel-features.h: Define
61479 __ASSUME_STATFS_F_FLAGS.
61480
754f7da3
UD
61481 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
61482
10b3bedc
UD
61483 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
61484 Add sys/fanotify.h.
61485 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
61486 fanotify_mask for GLIBC_2.13.
61487 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
61488 fanotify_init and fanotify_mark.
61489 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61490 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
61491
c08fb0d7
UD
61492 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
61493 Add prlimit.
61494 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
61495 prlimit64 for GLIBC_2.13.
61496 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
61497 prlimit64.
61498 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
61499 syscall.
61500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
61501 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61502 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
61503 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
61504 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
61505 add prlimit alias.
61506 * sysdeps/unix/sysv/linux/prlimit.c: New file.
61507
15bac72b
UD
61508 [BZ #11903]
61509 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
61510 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
61511
c3e2f19b
UD
61512 * nss/Makefile: Add rules to build and run tst-nss-test1.
61513 * shlib-versions: Add entry for libnss_test1.
61514 * nss/nss_test1.c: New file.
61515 * nss/tst-nss-test1.c: New file.
61516
61517 * nss/nsswitch.c (__nss_database_custom): Define new variable.
61518 (__nss_configure_lookup): Set appropriate entry in
61519 __nss_configure_lookup to true.
61520 * nss/nsswitch.h: Define enum with indeces of databases in
61521 databases and __nss_database_custom arrays. Declare
61522 __nss_database_custom.
61523 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
61524 to avoid using nscd when custom rules are installed.
61525 * nss/getXXbyYY_r.c: Likewise.
61526 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61527
61528 * nss/nss_files/files-parse.c: Whitespace fixes.
61529
f15ce4d8
UD
615302010-08-09 Ulrich Drepper <drepper@redhat.com>
61531
61532 [BZ #11883]
61533 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
61534 * posix/fnmatch_loop.c: Likewise.
61535
d22e4cc9
AK
615362010-07-17 Andi Kleen <ak@linux.intel.com>
61537
61538 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
61539 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
61540 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
61541 * Versions.def [GLIBC_2.13]: Add.
61542
805bc17d
UD
615432010-08-06 Ulrich Drepper <drepper@redhat.com>
61544
61545 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61546 Also fail if tpwd after pwuid call is NULL.
61547
5a42321d
ST
615482010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
61549
61550 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
61551 when converting to ms.
61552
fd3ebeda
ST
615532010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
61554
61555 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
61556 EOPNOTSUPP errors with ENOTTY.
61557 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
61558 EOPNOTSUPP errors with ENOTTY.
61559
73507d3a
UD
615602010-07-31 Ulrich Drepper <drepper@redhat.com>
61561
61562 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61563 Add strcasecmp_l-ssse3.
61564 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
61565 strcasecmp.
61566 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
61567 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
61568 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
61569
fe36dd02
UD
615702010-07-30 Ulrich Drepper <drepper@redhat.com>
61571
66f6765a
UD
61572 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
61573
42e08a54
UD
61574 * string/Makefile (strop-tests): Add strcasecmp.
61575 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61576 strcasecmp_l-nonascii.
61577 (gen-as-const-headers): Add locale-defines.sym.
61578 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
61579 * sysdeps/x86_64/strcasecmp.S: New file.
61580 * sysdeps/x86_64/strcasecmp_l.S: New file.
61581 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
61582 * sysdeps/x86_64/locale-defines.sym: New file.
61583 * string/test-strcasecmp.c: New file.
61584
fe36dd02
UD
61585 * string/test-strcasestr.c: Test both ends of the range of characters.
61586 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
61587
48cbc0d6
RM
615882010-07-29 Roland McGrath <roland@redhat.com>
61589
76e6d6bc 61590 [BZ #11856]
48cbc0d6
RM
61591 * manual/locale.texi (Yes-or-No Questions): Fix example code.
61592
880113d9
UD
615932010-07-27 Ulrich Drepper <drepper@redhat.com>
61594
61595 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
61596 for ld.so.
61597
deb9cabb
AS
615982010-07-27 Andreas Schwab <schwab@redhat.com>
61599
61600 * manual/memory.texi (Malloc Tunable Parameters): Document
61601 M_PERTURB.
61602
1c7570ff
RM
616032010-07-26 Roland McGrath <roland@redhat.com>
61604
61605 [BZ #11840]
61606 * configure.in (-fgnu89-inline check): Set and substitute
61607 gnu89_inline, not libc_cv_gnu89_inline.
61608 * configure: Regenerated.
61609 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
61610
24fb0f88
UD
616112010-07-26 Ulrich Drepper <drepper@redhat.com>
61612
61613 * string/test-strnlen.c: New file.
61614 * string/Makefile (strop-tests): Add strnlen.
61615 * string/tester.c (test_strnlen): Add a few more test cases.
61616 * string/tst-strlen.c: Better error reporting.
61617
61618 * sysdeps/x86_64/strnlen.S: New file.
61619
8e96b93a
UD
616202010-07-24 Ulrich Drepper <drepper@redhat.com>
61621
61622 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
61623 lower-latency instructions.
61624
dbc676d4
UD
616252010-07-23 Ulrich Drepper <drepper@redhat.com>
61626
61627 * string/test-strcasestr.c: New file.
61628 * string/test-strstr.c: New file.
61629 * string/Makefile (strop-tests): Add strstr and strcasestr.
61630 * string/str-two-way.h: Don't undefine MAX.
61631 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
61632
f6a31e0e
AS
616332010-07-21 Andreas Schwab <schwab@redhat.com>
61634
61635 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61636 strcasestr-nonascii.
61637 (CFLAGS-strcasestr-nonascii.c): Define.
61638 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
61639 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
61640 Remove unused attribute.
61641
5dbc3b6c
RM
616422010-07-20 Roland McGrath <roland@redhat.com>
61643
61644 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
61645 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
61646 ld.so.cache was broken. With it, there is no way to disable dsocaps
61647 like LD_HWCAP_MASK can disable hwcaps.
61648
23d101d8
EPM
616492010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
61650
61651 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
61652
cc9f2e47
UD
616532010-07-16 Ulrich Drepper <drepper@redhat.com>
61654
61655 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
61656 call in strcasestr.
61657 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
61658 __strcasestr_sse42_nonascii.
61659 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
61660 strcasestr-nonascii.c.
61661 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
61662
77c1b069
LM
616632010-06-15 Luis Machado <luisgpm@br.ibm.com>
61664
61665 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
61666 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
61667 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
61668 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
61669
440566c3
UD
616702010-07-09 Ulrich Drepper <drepper@redhat.com>
61671
61672 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
61673 fcntl.
61674
5be9d05d
AS
616752010-07-06 Andreas Schwab <schwab@redhat.com>
61676
c30b7ee2 61677 [BZ #11577]
5be9d05d
AS
61678 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
61679 dl_signal_cerror.
61680
8a492a67
UD
616812010-07-06 Ulrich Drepper <drepper@redhat.com>
61682
61683 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
61684 _PC_PIPE_BUF using F_GETPIPE_SZ.
61685
713df3d5
RM
616862010-07-05 Roland McGrath <roland@redhat.com>
61687
61688 * manual/arith.texi (Rounding Functions): Fix rint description
61689 implicit in round description.
61690
702e8f14
UD
616912010-07-02 Ulrich Drepper <drepper@redhat.com>
61692
61693 * elf/Makefile: Fix linking for a few tests to make recent linker
61694 happy.
61695
52ed8be9
AS
616962010-06-30 Andreas Schwab <schwab@redhat.com>
61697
61698 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
61699 $(common-objpfx)libc_nonshared.a.
61700
f47c9a11
LM
617012010-06-21 Luis Machado <luisgpm@br.ibm.com>
61702
61703 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
61704 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
61705 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61706 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61707 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
61708 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
61709 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61710 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
61712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
61713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
61714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
61716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
61718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
61719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
61720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
61721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
61723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
61725 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
61726 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
61727 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
61728 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
61729 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
61730 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
61731 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
61732 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
61733 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
61734 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
61735 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
61736 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
61737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
61738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
61739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
61740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
61741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
61742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
61743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
61744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
61745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
61746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
61747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
61748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
61749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
61750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
61751
6fb8cbcb
L
617522010-06-25 H.J. Lu <hongjiu.lu@intel.com>
61753
61754 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
61755 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
61756 * string/memmove.c (memmove): Renamed to ...
61757 (MEMMOVE): ...this. Default to memmove.
61758 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
61759 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
61760 (END_CHK): Define.
61761 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61762 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
61763 mempcpy-ssse3-back memmove-ssse3-back.
61764 * sysdeps/x86_64/multiarch/bcopy.S: New file .
61765 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
61766 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
61767 * sysdeps/x86_64/multiarch/memcpy.S: New file.
61768 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
61769 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
61770 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
61771 * sysdeps/x86_64/multiarch/memmove.c: New file.
61772 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
61773 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
61774 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
61775 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
61776 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
61777 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
61778 Define.
61779 (index_Fast_Copy_Backward): Define.
61780 (HAS_ARCH_FEATURE): Define.
61781 (HAS_FAST_REP_STRING): Define.
61782 (HAS_FAST_COPY_BACKWARD): Define.
61783
4e733bac 617842010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
61785
61786 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61787 Restore proper fallback handling.
61788
63c4ed22
UD
617892010-06-19 Ulrich Drepper <drepper@redhat.com>
61790
ac2b484c
UD
61791 [BZ #11701]
61792 * posix/group_member.c (__group_member): Correct checking loop.
61793
63c4ed22
UD
61794 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
61795 OOM in getpwuid_r correctly. Return error number when the caller
61796 should return, otherwise -1.
61797 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
61798 call returning > 0 value.
61799 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
61800
765ade4b
AS
618012010-06-07 Andreas Schwab <schwab@redhat.com>
61802
61803 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
61804 libc_nonshared.a from targets in modules-names.
61805
80da2e09
KS
618062010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
61807
61808 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
61809 requires it.
61810
158db122
LM
618112010-06-10 Luis Machado <luisgpm@br.ibm.com>
61812
61813 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
61814 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
61815 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
61816 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
61817
caa78cf8
AS
618182010-06-02 Andreas Schwab <schwab@redhat.com>
61819
61820 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
61821
b2ef2c01
UD
618222010-06-14 Ulrich Drepper <drepper@redhat.com>
61823
61824 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
61825 and F_GETPIPE_SZ.
61826 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61827 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61828 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61829 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61830 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61831 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
61832
fbd643b6
RM
618332010-06-14 Roland McGrath <roland@redhat.com>
61834
61835 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
61836
f32f2869
JJ
618372010-06-07 Jakub Jelinek <jakub@redhat.com>
61838
61839 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
61840 __REDIRECT followed by __THROW.
61841 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
61842 * posix/getopt.h (getopt): Likewise.
61843
2a50c078
EPM
618442010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
61845
61846 * hurd/lookup-at.c (__file_name_lookup_at): Accept
61847 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
61848 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
61849 in AT_FLAGS.
61850 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
61851 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
61852
eb5ad2eb
LM
618532010-05-28 Luis Machado <luisgpm@br.ibm.com>
61854
61855 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
61856
3c88fe1e
L
618572010-05-26 H.J. Lu <hongjiu.lu@intel.com>
61858
61859 [BZ #11640]
61860 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61861 Properly check family and model.
61862
d2f73151
TY
618632010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
61864
61865 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
61866
ebd2e13d
LM
618672010-05-24 Luis Machado <luisgpm@br.ibm.com>
61868
61869 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
61870
b32b8b45
UD
618712010-05-21 Ulrich Drepper <drepper@redhat.com>
61872
61873 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
61874 symbol reference.
61875
9acbe24d
AS
618762010-05-19 Andreas Schwab <schwab@redhat.com>
61877
61878 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
61879 symbol reference.
61880
f0ccf6ea
AS
618812010-05-21 Andreas Schwab <schwab@redhat.com>
61882
3d04ff3a
AS
61883 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
61884 and internal_recvmmsg.
61885 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
61886 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
61887 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
61888 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
61889
f0ccf6ea
AS
61890 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
61891 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
61892 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
61893
5b08ac57
AS
618942010-05-20 Andreas Schwab <schwab@redhat.com>
61895
61896 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
61897
4828935d
LM
618982010-05-17 Luis Machado <luisgpm@br.ibm.com>
61899
61900 POWER7 optimizations.
61901 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
61902 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
61903
373d545e
UD
619042010-05-19 Ulrich Drepper <drepper@redhat.com>
61905
61906 * version.h: Update for 2.13 development version.
61907
21a2b1ae
AS
619082010-05-12 Andrew Stubbs <ams@codesourcery.com>
61909
61910 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
61911 exceptions. Return 0.
61912
3f7dcb2b
RM
619132010-05-07 Roland McGrath <roland@redhat.com>
61914
61915 * elf/ldconfig.c (main): Add a const.
61916
5f24d53a 619172010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 61918
a160f8d8
UD
61919 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
61920 (args_options): Add no-idn option.
61921 (ahosts_keys_int): Add idn_flags to ai_flags.
61922 (parse_option): Handle 'i' option to clear idn_flags.
61923
5f24d53a
UD
61924 * malloc/malloc.c (_int_free): Possible race in the most recently
61925 added check. Only act on the data if no current modification
61926 happened.
265bb1ce
UD
61927
61928See ChangeLog.17 for earlier changes.