]> git.ipfire.org Git - thirdparty/glibc.git/blame_incremental - ChangeLog
Fix some warnings in the absence of FP round/exception support
[thirdparty/glibc.git] / ChangeLog
... / ...
CommitLineData
12014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
2
3 * math/test-fenv.c (test_single_exception, set_single_exc,
4 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
5 feexcp_mask_test, feenable_test, fe_single_test): Add
6 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
7 case where they are not used.
8 * math/libm-test.inc: Likewise.
9 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
10 unused in the absence of FP rounding/exception support.
11 * stdio-common/tst-printf-round.c: Likewise.
12 * stdlib/tst-strtod-round.c: Likewise.
13 * stdlib/tst-strtod-underflow.c: Likewise.
14
152014-12-30 Joseph Myers <joseph@codesourcery.com>
16
17 [BZ #17723]
18 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
19 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
20 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21 __feraiseexcept and define as weak alias of __feraiseexcept. Use
22 libm_hidden_weak.
23 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
24 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
25 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
26 libm_hidden_def.
27 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28 __feraiseexcept and define as weak alias of __feraiseexcept. Use
29 libm_hidden_weak.
30 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
31 Likewise.
32 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
33 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
34 __feraiseexcept and define as weak alias of __feraiseexcept. Use
35 libm_hidden_weak.
36 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
37 libm_hidden_def.
38 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
39 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
40 (__feraiseexcept): Likewise.
41 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
42 __feraiseexcept and define as weak alias of __feraiseexcept. Use
43 libm_hidden_weak.
44 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
45 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
46 libm_hidden_def.
47 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
48 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
49 Use libm_hidden_def.
50 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
51 libm_hidden_def.
52 (feraiseexcept): Define as weak not strong alias. Use
53 libm_hidden_weak.
54 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
55 New inline function. Factored out of ...
56 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
57 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
58 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
59 feraiseexcept.
60 * math/w_acos.c (__acos): Likewise.
61 * math/w_asin.c (__asin): Likewise.
62 * math/w_ilogb.c (__ilogb): Likewise.
63 * math/w_j0.c (y0): Likewise.
64 * math/w_j1.c (y1): Likewise.
65 * math/w_jn.c (yn): Likewise.
66 * math/w_log.c (__log): Likewise.
67 * math/w_log10.c (__log10): Likewise.
68 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
69 * sysdeps/aarch64/fpu/math_private.h
70 (libc_feupdateenv_test_aarch64): Likewise.
71 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
72 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
73 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
74 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
75 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
76 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
77 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
78 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
79 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
80 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
81
822014-12-30 H.J. Lu <hongjiu.lu@intel.com>
83
84 [BZ #17732]
85 * io/test-utime.c (main): Replace %ld with %jd and cast to
86 intmax_t.
87 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
88 * nptl/tst-mutex5.c: Include <stdint.h>.
89 (do_test): Replace %ld with %jd and cast to intmax_t.
90 * posix/tst-regex.c (run_test): Likewise.
91 (run_test_backwards): Likewise.
92 * rt/tst-clock.c: Include <stdint.h>.
93 (clock_test): Replace %ld with %jd and cast to intmax_t.
94 * rt/tst-cpuclock1.c: Include <stdint.h>.
95 (do_test): Replace %lu with %ju and cast to uintmax_t.
96 * rt/tst-cpuclock2.c: Include <stdint.h>.
97 (do_test): Replace %lu with %ju and cast to uintmax_t.
98 * rt/tst-mqueue1.c: Include <stdint.h>.
99 (check_attrs): Replace %ld with %jd and cast to intmax_t.
100 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
101 intmax_t.
102 * rt/tst-mqueue4.c (do_test): Likewise.
103 * rt/tst-timer4.c: Include <stdint.h>.
104 (check_ts): Replace %ld with %jd and cast to intmax_t.
105 (do_test): Likewise.
106 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
107 and cast to intmax_t.
108 * sysdeps/pthread/tst-timer.c (main): Likewise.
109 * time/clocktest.c (main): Likewise.
110 * time/tst-posixtz.c (do_test): Likewise.
111 * timezone/tst-timezone.c (main): Likewise.
112
1132014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
114 H.J. Lu <hongjiu.lu@intel.com>
115
116 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
117 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
118 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
119 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
120 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
121 version if bit_Fast_Unaligned_Load is set.
122 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
123 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
124 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
125 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
126 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
127 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
128 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
129 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
130 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
131 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
132 to 4.
133 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
134 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
135 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
136 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
137
1382014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
139
140 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
141 instead of #if to avoid a Wundef warning.
142 * stdlib/tst-limits.c (do_test): Likewise.
143
144 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
145 parallel other exception macros.
146 (fegetenv): Convert from macro to extern inline so that it applies
147 retroactively to inline functions already seen by the compiler.
148 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
149
150 * posix/Makefile (before-compile): Use $(objpfx) for
151 posix-conf-vars-def.h.
152
1532014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
154
155 * posix/getconf.c (main): Use size_t for type of I.
156 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
157 NSPEC.
158
159 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
160 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
161 * posix/posix-envs.def: Likewise.
162 * sysdeps/posix/sysconf.c: Likewise.
163 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
164 (specs): Remove array.
165 * scripts/gen-posix-conf-vars.awk: Support generation of specs
166 array.
167
168 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
169 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
170 (__sysconf): Use CONF_IS_* macros.
171
172 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
173 ($(objpfx)posix-conf-vars-def.h): New target.
174 * posix/posix-conf-vars.list: New file.
175 * posix/posix-conf-vars.h: New file.
176 * posix/confstr.c: Include posix-conf-vars.h.
177 (confstr): Use CONF_IS_* macros.
178 * posix/posix-envs.def: Include posix-conf-vars.h. Use
179 CONF_IS_* macros.
180 * scripts/gen-posix-conf-vars.awk: New file.
181
1822014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
183
184 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
185 fegetround): Add no-op macros to avoid linknamespace issues.
186
187 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
188 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
189
190 * sysdeps/unix/sysv/linux/tile/sysdep.h
191 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
192 assembly-specific section to avoid a redefinition warning.
193
194 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
195 long before casting to pointer to avoid a cast warning.
196
1972014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
198
199 * sysdeps/tile/tilegx/Implies: New file.
200
2012014-12-23 Richard Earnshaw <rearnsha@arm.com>
202
203 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
204
2052014-12-23 Florian Weimer <fweimer@redhat.com>
206
207 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
208
2092014-12-22 Joseph Myers <joseph@codesourcery.com>
210
211 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
212 not define.
213 * sysdeps/unix/sysv/linux/utimes.c: Do not include
214 <kernel-features.h>.
215 (__utimes) [__NR_utimes]: Make code unconditional.
216 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
217 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
218 (__ASSUME_UTIMES): Do not undefine.
219 * sysdeps/unix/sysv/linux/tile/kernel-features.h
220 (__ASSUME_UTIMES): Likewise.
221 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
222 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
223 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
224 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
225
2262014-12-22 Steve Ellcey <sellcey@imgtec.com>
227
228 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
229
2302014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
231
232 [BZ #17747]
233 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
234 alias to weak alias for j0l, y0l.
235 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
236 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
237
238 [BZ #17746]
239 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
240 conversion.
241
2422014-12-22 Steve Ellcey <sellcey@imgtec.com>
243
244 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
245 to zero if not already defined.
246
2472014-12-22 Joseph Myers <joseph@codesourcery.com>
248
249 [BZ #17724]
250 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
251 (__kernel_standard_f): Remove. Moved to k_standardf.c.
252 (__kernel_standard_l): Remove. Moved to k_standardl.c with
253 (char *) casts added.
254 * sysdeps/ieee754/k_standardf.c: New file.
255 * sysdeps/ieee754/k_standardl.c: Likewise.
256 * math/Makefile (libm-support): Remove k_standard.
257 (libm-calls): Add k_standard.
258
2592014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
260
261 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
262 Optimize to avoid an unnecessary FPCR read.
263
2642014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
265
266 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
267 Optimize to reduce FPCR/FPSR accesses.
268
2692014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
270
271 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
272 Call libc_fetestexcept_aarch64.
273
2742014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
275
276 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
277 Call libc_fesetround_aarch64.
278
2792014-12-22 Joseph Myers <joseph@codesourcery.com>
280
281 [BZ #17733]
282 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
283 (__bind): Do not define as weak alias.
284 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
285 define.
286 (__getsockname): Do not define as weak alias.
287
2882014-12-22 Will Newton <will.newton@linaro.org>
289
290 * manual/install.texi: Document that we require bison 2.7
291 or above.
292 * INSTALL: Regenerate.
293 * configure.ac: Use AC_CHECK_PROG_VER instead of
294 AC_PATH_PROG when checking for bison and check for
295 version 2.7 or above.
296 * configure: Regenerate.
297
2982014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
299
300 [BZ #17745]
301 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
302 * sysdeps/tile/ffsll.c (ffsll): To here.
303
304 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
305
3062014-12-21 H.J. Lu <hongjiu.lu@intel.com>
307
308 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
309 if not defined.
310 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
311 definition.
312 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
313 hidden ___tls_get_addr.
314 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
315 hidden __tls_get_addr.
316 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
317 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
318 Likewise.
319
3202014-12-21 Andreas Schwab <schwab@linux-m68k.org>
321
322 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
323 _dl_init call.
324
3252014-12-21 H.J. Lu <hongjiu.lu@intel.com>
326
327 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
328 from "call _dl_init@PLT".
329 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
330
3312014-12-21 Anders Kaseorg <andersk@mit.edu>
332
333 * manual/search.texi: (Array Sort Function): Clarify stable sorting
334 guarantees.
335
3362014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
337
338 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
339
3402014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
341
342 [BZ #17744]
343 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
344 strnlen.
345
3462014-12-19 Steve Ellcey <sellcey@imgtec.com>
347
348 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
349 of multu on MIPSr6.
350 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
351 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
352 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
353 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
354 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
355
3562014-12-19 Steve Ellcey <sellcey@imgtec.com>
357
358 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
359 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
360 (PTR_SUBU): Use subu for mips32r6/mips64r6.
361 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
362 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
363 mips32r6/mips64r6.
364 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
365
3662014-12-19 Ondřej Bílka <neleai@seznam.cz>
367
368 * string/strncat.c (STRNCAT): Simplify implementation.
369
3702014-12-19 David S. Miller <davem@davemloft.net>
371
372 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
373 access the quad as both a long double and as a series of 4 words.
374
375 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
376 link_map->l_info array access.
377
3782014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
379
380 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
381
382 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
383 * math/atest-exp2.c (TIMEOUT): Likewise.
384 * math/atest-sincos.c (TIMEOUT): Likewise.
385
3862014-12-19 H.J. Lu <hongjiu.lu@intel.com>
387
388 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
389 -Wno-error with -fno-builtin-lround.
390
3912014-12-19 Torvald Riegel <triegel@redhat.com>
392
393 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
394 Contains futex constants and functions moved over from ...
395 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
396 <lowlevellock-futex.h>.
397 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
398 (lll_timedwait_tid): Add comments and parentheses around macro
399 arguments.
400
4012014-12-19 Torvald Riegel <triegel@redhat.com>
402
403 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
404 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
405 (__lll_private_flag): Remove.
406 (lll_futex_wait): Likewise.
407 (lll_futex_timed_wait): Likewise.
408 (lll_futex_wake): Likewise.
409 (lll_futex_requeue): Likewise.
410 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
411 (__lll_timedwait_tid): Spell out argument names.
412 (lll_timedwait_tid): Add comments and parentheses around macro
413 arguments.
414 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
415 LLL_SHARED and LLL_PRIVATE usable from assembly code.
416
4172014-12-19 Torvald Riegel <triegel@redhat.com>
418
419 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
420 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
421 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
422 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
423 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
424 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
425 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
426 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
427 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
428 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
429 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
430 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
431 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
432 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
433 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
434 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
435 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
436 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
437 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
438
4392014-12-19 H.J. Lu <hongjiu.lu@intel.com>
440
441 * sysdeps/x86_64/x32/Makefile: New file.
442
4432014-12-19 H.J. Lu <hongjiu.lu@intel.com>
444
445 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
446 1L with (mp_limb_t) 1.
447
4482014-12-17 Roland McGrath <roland@hack.frob.com>
449
450 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
451 * nptl/libc_pthread_init.c: ... here.
452 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
453 * nptl/register-atfork.c: ... here.
454
455 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
456 Use pthread_sigmask rather than INTERNAL_SYSCALL.
457 Use assert_perror to check its return value.
458 (__gai_create_helper_thread): Likewise.
459
460 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
461
462 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
463
4642014-12-17 Joseph Myers <joseph@codesourcery.com>
465
466 [BZ #17725]
467 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
468 __profil_counter.
469 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
470 Likewise.
471 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
472 Likewise.
473 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
474 Likewise.
475 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
476 (profil_counter): Likewise.
477 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
478 (profil_counter): Likewise.
479 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
480 Likewise.
481 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
482 Likewise.
483 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
484 (profil_counter): Likewise.
485 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
486 Likewise.
487 [!__profil_counter] (profil_counter): Define as weak alias of
488 __profil_counter.
489 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
490 (profil_counter): Rename to __profil_counter.
491 [!__profil_counter] (profil_counter): Define as weak alias of
492 __profil_counter.
493 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
494 (profil_counter): Rename to __profil_counter.
495 [!__profil_counter] (profil_counter): Define as weak alias of
496 __profil_counter.
497 * sysdeps/posix/profil.c: Update comment referring to
498 profil_counter.
499 (__profil): Use __profil_counter instead of profil_counter.
500 * sysdeps/posix/sprofil.c (profil_counter): Rename to
501 __profil_counter. Use __profil_counter_ushort and
502 __profil_counter_uint in definitions.
503 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
504 instead of profil_counter_uint and profil_counter_ushort.
505
506 [BZ #17722]
507 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
508 define as weak alias of __inet_makeaddr.
509 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
510 as weak alias of __inet_addr.
511 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
512 as weak alias of __inet_pton. Use libc_hidden_weak.
513 * include/arpa/inet.h (__inet_pton): Declare. Use
514 libc_hidden_proto.
515 (inet_makeaddr): Don't use libc_hidden_proto.
516 (__inet_makeaddr): Declare. Use libc_hidden_proto.
517 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
518 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
519 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
520 Remove variable.
521 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
522 (test-xfail-POSIX/time.h/linknamespace): Likewise.
523
5242014-12-17 Steve Ellcey <sellcey@imgtec.com>
525
526 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
527
5282014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
529
530 * stdio-common/bug-vfprintf-nargs.c (do_test):
531 Cast value to intptr_t to avoid format warning
532 for usage with PRIdPTR printing macro.
533
5342014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
535
536 * libio/tst-widetext.c (do_test):
537 Use format type %td instead of %Zd for ptrdiff_t
538 in order to avoid format warning.
539
5402014-12-17 Andreas Schwab <schwab@suse.de>
541
542 * nscd/mem.c (gc): Add size_t cast to match printf format.
543
5442014-12-16 Roland McGrath <roland@hack.frob.com>
545
546 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
547 (init): Apply PTR_MANGLE to pointers before storing them.
548 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
549 before using them.
550
5512014-12-16 Joseph Myers <joseph@codesourcery.com>
552
553 [BZ #17719]
554 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
555 define as weak alias of __memrchr.
556 (__memrchr): Do not define as strong alias of memrchr.
557 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
558 Remove variable.
559 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
560 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
561 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
562
563 [BZ #17717]
564 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
565 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
566 (if_indextoname): Rename to __if_indextoname and define as weak
567 alias of __if_indextoname. Use libc_hidden_weak.
568 (if_freenameindex): Rename to __if_freenameindex and define as
569 weak alias of __if_freenameindex.
570 (if_nameindex): Rename to __if_nameindex and define as weak alias
571 of __if_nameindex.
572 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
573 __if_nametoindex and define as weak alias of __if_nametoindex.
574 Use libc_hidden_weak.
575 (if_freenameindex): Rename to __if_freenameindex and define as
576 weak alias of __if_freenameindex.
577 (if_nameindex): Rename to __if_nameindex and define as weak alias
578 of __if_nameindex.
579 (if_indextoname): Rename to __if_indextoname and define as weak
580 alias of __if_indextoname. Use libc_hidden_weak.
581 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
582 __if_nametoindex and define as weak alias of __if_nametoindex.
583 Use libc_hidden_weak.
584 (if_freenameindex): Rename to __if_freenameindex and define as
585 weak alias of __if_freenameindex. Use libc_hidden_weak.
586 (if_nameindex_netlink): Use __if_freenameindex instead of
587 if_freenameindex.
588 (if_nameindex): Rename to __if_nameindex and define as weak alias
589 of __if_nameindex. Use libc_hidden_weak.
590 (if_indextoname): Rename to __if_indextoname and define as weak
591 alias of __if_indextoname. Use libc_hidden_weak.
592 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
593 libc_hidden_proto.
594 [!_ISOMAC] (__if_freenameindex): Likewise.
595 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
596 if_nametoindex.
597 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
598 variable.
599 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
600 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
601 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
602 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
603 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
604 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
605 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
606
607 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
608 Remove variable.
609 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
610 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
611
6122014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
613
614 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
615 subscript above bounds'
616
617 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
618 bounds.
619
6202014-12-16 Arjun Shankar <arjun.is@lostca.se>
621
622 * libio/tst-fopenloc.c: Use test-skeleton.c.
623
624 * stdlib/tst-bsearch.c: Use test-skeleton.c.
625 (entry): Rename to ITEM.
626 (do_test, comp): Adjust.
627
628 * stdio-common/tst-fseek.c: Use test-skeleton.c.
629
6302014-12-16 Torvald Riegel <triegel@redhat.com>
631
632 * string/tester.c: Include <libc-internal.h>.
633 (test_memset): Ignore -Wmemset-transposed-args.
634
6352014-12-16 Torvald Riegel <triegel@redhat.com>
636
637 * misc/tst-mntent2.c (do_test): Fix warning.
638
6392014-12-16 Torvald Riegel <triegel@redhat.com>
640
641 * elf/tst-unique4lib.cc(a): Mark as used.
642
6432014-12-16 Florian Weimer <fweimer@redhat.com>
644
645 [BZ #17630]
646 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
647 names.
648
6492014-12-16 Allan McRae <allan@archlinux.org>
650
651 * stdio-common/Makefile (tests): Re-add bug26.
652
6532014-12-15 Ondřej Bílka <neleai@seznam.cz>
654
655 [BZ #17657]
656 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
657 static array.
658
6592014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
660
661 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
662 (__lll_lock_wait): Likewise.
663 (__lll_timedlock_wait): Likewise.
664 (__lll_timedwait_tid): Likewise.
665 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
666 (__lll_robust_timedlock_wait): Likewise.
667 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
668 (lll_cond_trylock): Likewise.
669 (__lll_lock): Likewise.
670 (__lll_robust_lock): Likewise.
671 (__lll_cond_lock): Likewise.
672 (lll_robust_cond_lock): Likewise.
673 (__lll_timedlock): Likewise.
674 (__lll_robust_timedlock): Likewise.
675 (__lll_unlock): Likewise.
676 (__lll_robust_unlock): Likewise.
677 (lll_wait_tid): Likewise.
678 (lll_timedwait_tid): Likewise.
679
6802014-12-15 Torvald Riegel <triegel@redhat.com>
681
682 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
683
6842014-12-15 Torvald Riegel <triegel@redhat.com>
685
686 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
687
6882014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
689
690 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
691 * stdio-common/tst-sprintf.c: Likewise.
692
6932014-12-15 Torvald Riegel <triegel@redhat.com>
694
695 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
696
6972014-12-15 Jeff Law <law@redhat.com>
698
699 [BZ #16617]
700 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
701 on the heap. (CVE-2012-3406)
702 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
703 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
704 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
705
7062014-12-15 Will Newton <will.newton@linaro.org>
707
708 * manual/install.texi: Bump required version of texinfo
709 to 4.7 from 4.5.
710 * INSTALL: Regenerated.
711 * configure.ac: Check for makeinfo version 4.7 and above.
712 * configure: Regenerated.
713
7142014-12-12 Roland McGrath <roland@hack.frob.com>
715
716 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
717 PREFIX, string constant to insert between directory and name.
718 * sysdeps/posix/shm_open.c: Update caller.
719 * sysdeps/posix/shm_unlink.c: Likewise.
720 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
721 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
722 (SEM_SHM_PREFIX): New macro.
723 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
724 [$(have-thread-library) = no].
725 * nptl/Makefile (libpthread-routines): Add shm-directory.
726 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
727 * sysdeps/nptl/shm-directory.h: New file.
728 * sysdeps/posix/shm-directory.c
729 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
730 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
731 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
732 INTERNAL_SYSCALL.
733 (__where_is_shmfs): Function removed.
734 (mountpoint, defaultmount, defaultdir, __namedsem_once):
735 Variables removed.
736 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
737 Use SHM_GET_NAME.
738 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
739
740 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
741 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
742 unconditional for use inside libpthread.
743 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
744
7452014-12-12 Roland McGrath <roland@hack.frob.com>
746
747 * nptl/pthread_getaffinity.c: New file.
748 * nptl/pthread_setaffinity.c: New file.
749 * nptl/pthread_getname.c: New file.
750 * nptl/pthread_setname.c: New file.
751
752 * nptl/pthread_create.c (START_THREAD_DEFN)
753 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
754
7552014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
756 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
757
758 * resolv/res_send.c (send_vc): Disable warning resplen may
759 be used uninitialized.
760
7612014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
762
763 * nptl/tst-mutex6.c
764 (ATTR_NULL): New define checks ATTR against NULL.
765 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
766 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
767
7682014-12-11 James Lemke <jwlemke@codesourcery.com>
769
770 [BZ #17581]
771 * malloc/hooks.c
772 (mem2mem_check): Revert my previous change.
773 (malloc_check_get_size): Revert my previous change.
774 (mem2chunk_check): Revert my previous change.
775
7762014-12-11 Roland McGrath <roland@hack.frob.com>
777
778 * sysdeps/posix/shm-directory.c: New file.
779 * sysdeps/posix/shm-directory.h: New file.
780 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
781 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
782 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
783 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
784 Transmute EPERM to EACCES.
785 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
786 from ...
787 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
788 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
789
7902014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
791
792 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
793 pointer and cast to uintptr_t.
794 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
795 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
796 Add cast to avoid warning.
797 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
798
7992014-12-11 Joseph Myers <joseph@codesourcery.com>
800
801 * nptl/semaphore.h: Move to ...
802 * sysdeps/pthread/semaphore.h: ... here.
803 * Makefile (installed-headers): Change nptl/semaphore.h to
804 sysdeps/pthread/semaphore.h.
805
8062014-12-11 Roland McGrath <roland@hack.frob.com>
807
808 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
809 generated error format strings.
810
811 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
812 -Wformat-extra-args warnings for scanf formats.
813 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
814 test of zero-length format (duh).
815 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
816 corner-case scanf format test.
817 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
818 generated fprintf format string.
819 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
820 corner-case sprintf format tests.
821 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
822 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
823 -Wformat-extra-args warnings throughout.
824 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
825 (CFLAGS-scanf4.c): Likewise.
826 (CFLAGS-scanf7.c): Likewise.
827 (CFLAGS-tst-sprintf.c): Likewise.
828 (CFLAGS-tst-printf.c): Likewise.
829 (CFLAGS-tst-printfsz.c): Likewise.
830
8312014-12-11 Joseph Myers <joseph@codesourcery.com>
832
833 * include/cpio.h: New file.
834 * include/fmtmsg.h: Likewise.
835
836 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
837 corresponding format argument to size_t.
838 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
839 arguments.
840 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
841 corresponding format argument to size_t.
842 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
843 arguments.
844 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
845 corresponding format argument to size_t.
846 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
847 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
848 (CFLAGS-tst-mbswcs2.c): Likewise.
849 (CFLAGS-tst-mbswcs3.c): Likewise.
850 (CFLAGS-tst-mbswcs4.c): Likewise.
851 (CFLAGS-tst-mbswcs5.c): Likewise.
852 (CFLAGS-tst-trans.c): Likewise
853
8542014-12-11 Roland McGrath <roland@hack.frob.com>
855
856 * posix/regexbug1.c (main): Use "%s" format with regerror results,
857 rather than assuming they won't contain any '%'s.
858
8592014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
860
861 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
862 inhibit_loop_to_libcall to avoid recursive calls.
863 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
864 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
865
8662014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
867
868 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
869 prototype.
870
8712014-12-11 Steve Ellcey <sellcey@imgtec.com>
872
873 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
874 integer value instead of boolean.
875
8762014-12-11 Steve Ellcey <sellcey@imgtec.com>
877
878 * malloc/malloc.c: Fix powerof2 check.
879
8802014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
881
882 * locale/programs/locfile.h (maybe_swap_uint32):
883 Remove inline and add unused attribute.
884
8852014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
886
887 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
888 Truncating assembler expression to a .long expression.
889
8902014-12-11 Andreas Schwab <schwab@suse.de>
891
892 * elf/rtld.c (struct map_args): Constify str member.
893 (do_preload): Constify fname argument.
894
8952014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
896
897 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
898 constants definition.
899
9002014-12-11 Andreas Schwab <schwab@suse.de>
901
902 [BZ #16657]
903 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
904 FORCE_ELISION instead of DO_ELISION.
905 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
906 Remove.
907 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
908 Likewise.
909
910 * iconvdata/gconv-modules: Remove duplicate entry.
911
9122014-12-11 Will Newton <will.newton@linaro.org>
913
914 Merge gettext 0.19.3 into intl/.
915
916 This involves a number of cosmetic changes to comments
917 and ANSI function definitions and prototypes throughout
918 all the files. The gettext copyright header is used but
919 with the date ranges taken from the glibc copy.
920
921 * NEWS: Add gettext merge to 2.21.
922 * intl/bindtextdom.c: Switch to gettext copyright.
923 Use ANSI definitions and prototypes.
924 Use gl_* locking primitives rather than __libc_* ones.
925 Use __builtin_expect rather than __glibc_likely/unlikely.
926 * intl/dcgettext.c: Switch to gettext copyright.
927 Use ANSI definitions and prototypes.
928 * intl/dcigettext.c: Switch to gettext copyright.
929 Use ANSI definitions and prototypes.
930 (INTDIV0_RAISES_SIGFPE): New define.
931 Use gl_* locking primitives rather than __libc_* ones.
932 Include eval-plural.h instead of plural-eval.c.
933 Use __builtin_expect rather than __glibc_likely/unlikely.
934 * intl/dcngettext.c: Switch to gettext copyright.
935 Use ANSI definitions and prototypes.
936 * intl/dgettext.c: Likewise.
937 * intl/dngettext.c: Likewise.
938 * intl/plural-eval.c: Renamed to...
939 * intl/eval-plural.h: ...this.
940 * intl/explodename.c: Switch to gettext copyright.
941 Use ANSI definitions and prototypes.
942 (_nl_explode_name): Use strchr instead of __rawmemchr.
943 * intl/finddomain.c: Switch to gettext copyright.
944 Use ANSI definitions and prototypes.
945 Use gl_* locking primitives rather than __libc_* ones.
946 (_nl_find_domain): Use malloc rather than alloca for
947 allocation of temporary locale name.
948 * intl/gettext.c: Switch to gettext copyright.
949 Use ANSI definitions and prototypes.
950 * intl/gettextP.h: Switch to gettext copyright.
951 Use ANSI definitions and prototypes.
952 Use gl_* locking primitives rather than __libc_* ones.
953 * intl/gmo.h: Switch to gettext copyright.
954 (struct sysdep_string): Move struct segment_pair outside of
955 struct definition.
956 * intl/hash-string.c: Use ANSI definitions and prototypes.
957 * intl/hash-string.h: Switch to gettext copyright.
958 Use ANSI definitions and prototypes.
959 * intl/l10nflist.c: Switch to gettext copyright.
960 Use ANSI definitions and prototypes.
961 (_nl_normalize_codeset): Avoid integer overflow.
962 * intl/loadinfo.h: Switch to gettext copyright.
963 Use ANSI definitions and prototypes.
964 (LIBINTL_DLL_EXPORTED): New define.
965 (PATH_SEPARATOR): New define.
966 * intl/loadmsgcat.c: Switch to gettext copyright.
967 * intl/localealias.c: Switch to gettext copyright.
968 Use ANSI definitions and prototypes.
969 (_nl_expand_alias): Use PATH_SEPARATOR.
970 * intl/ngettext.c: Switch to gettext copyright.
971 Use ANSI definitions and prototypes.
972 * intl/plural-exp.c: Likewise.
973 * intl/plural-exp.h: Switch to gettext copyright.
974 Use ANSI definitions and prototypes.
975 (struct expression): Move definition of enum operator outside
976 of struct definition.
977 * intl/plural.c: Regenerate.
978 * intl/plural.y: Switch to gettext copyright.
979 Use ANSI definitions and prototypes.
980 Port to bison 3.0.
981 * intl/textdomain.c: Switch to gettext copyright.
982 Use ANSI definitions and prototypes.
983 Use gl_* locking primitives rather than __libc_* ones.
984
9852014-12-10 Steve Ellcey <sellcey@imgtec.com>
986
987 * debug/warning-nop.c: Add used atrribute.
988
9892014-12-10 Joseph Myers <joseph@codesourcery.com>
990
991 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
992
993 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
994 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
995 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
996
9972014-12-10 Joseph Myers <joseph@codesourcery.com>
998 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
999
1000 [BZ #17634]
1001 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
1002 Undefine after defining function. Define as weak alias of
1003 __wcschr. Use libc_hidden_weak.
1004 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
1005 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
1006 (libc_hidden_def): Also define __GI___wcschr alias.
1007 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
1008 __wcschr and define as weak alias of __wcschr.
1009 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
1010 __wcschr.
1011 [!WCSCHR] (DEFAULT_WCSCHR): Define.
1012 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
1013 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
1014 libc_hidden_weak. Do not use libc_hidden_def.
1015 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
1016 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
1017 __GI___wcschr alias.
1018 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
1019 [IS_IN (libc)] (wcschr): Define as macro expanding to
1020 __redirect_wcschr.
1021 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
1022 [IS_IN (libc)] (__wcschr_power6): Likewise.
1023 [IS_IN (libc)] (__wcschr_power7): Likewise.
1024 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
1025 instead of wcschr.
1026 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
1027 __libc_wcschr.
1028 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
1029 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
1030 __wcschr and define as weak alias of __wcschr. Use
1031 libc_hidden_builtin_def.
1032 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
1033 as weak alias of __wcschr. Use libc_hidden_weak.
1034 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
1035 wcschr.
1036 * time/era.c (_nl_init_era_entries): Likewise.
1037 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
1038 variable.
1039 (test-xfail-XPG3/time.h/linknamespace): Likewise.
1040 (test-xfail-XPG4/time.h/linknamespace): Likewise.
1041
10422014-12-10 Joseph Myers <joseph@codesourcery.com>
1043
1044 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
1045 format for long int variable.
1046
10472014-12-10 Anders Kaseorg <andersk@MIT.EDU>
1048
1049 [BZ #10672]
1050 * manual/search.texi: (Array Sort Function): Remove claim how to make
1051 qsort stable.
1052
10532014-12-10 Andreas Schwab <schwab@suse.de>
1054
1055 [BZ #12847]
1056 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
1057 user-controlled locks.
1058
10592014-12-10 Richard Earnshaw <rearnsha@arm.com>
1060
1061 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
1062 register.
1063
10642014-12-10 Joseph Myers <joseph@codesourcery.com>
1065
1066 * configure.ac (--disable-werror): New configure option.
1067 (enable_werror): New AC_SUBST.
1068 * configure: Regenerated.
1069 * config.make.in (enable-werror): New variable.
1070 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
1071 -Wno-error=undef.
1072 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
1073 * manual/install.texi (Configuring and compiling): Document
1074 --disable-werror.
1075 * INSTALL: Regenerated.
1076 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
1077 (CFLAGS-tst-chk2.c): Likewise.
1078 (CFLAGS-tst-chk3.c): Likewise.
1079 (CFLAGS-tst-chk4.cc): Likewise.
1080 (CFLAGS-tst-chk5.cc): Likewise.
1081 (CFLAGS-tst-chk6.cc): Likewise.
1082 (CFLAGS-tst-lfschk1.c): Likewise.
1083 (CFLAGS-tst-lfschk2.c): Likewise.
1084 (CFLAGS-tst-lfschk3.c): Likewise.
1085 (CFLAGS-tst-lfschk4.cc): Likewise.
1086 (CFLAGS-tst-lfschk5.cc): Likewise.
1087 (CFLAGS-tst-lfschk6.cc): Likewise.
1088
1089 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
1090 (main): Disable -Wdeprecated-declarations around calls to
1091 register_printf_function.
1092
1093 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
1094 (do_test): Disable -Wdiv-by-zero around some calls to
1095 fwrite_unlocked and fread_unlocked.
1096
1097 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
1098 (DIAG_POP_NEEDS_COMMENT): Likewise.
1099 (_DIAG_STR1): Likewise.
1100 (_DIAG_STR): Likewise.
1101 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
1102 * stdio-common/bug21.c: Include <libc-internal.h>.
1103 (do_test): Disable -Wformat around call to sscanf.
1104 * stdio-common/scanf14.c: Include <libc-internal.h>.
1105 (main): Disable -Wformat around some calls to scanf functions.
1106
11072014-12-09 Torvald Riegel <triegel@redhat.com>
1108
1109 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
1110
11112014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1112
1113 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
1114 stack variable alignment.
1115
11162014-12-06 Joseph Myers <joseph@codesourcery.com>
1117
1118 [BZ #17682]
1119 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
1120 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
1121 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
1122 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
1123 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
1124 __getrlimit instead of getrlimit.
1125 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
1126 __gettimeofday instead of gettimeofday.
1127 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1128 Likewise.
1129 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1130 Likewise.
1131 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1132 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
1133 Remove variable.
1134 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1135 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1136
11372014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1138
1139 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
1140 for wide-character tests.
1141
11422014-12-04 Roland McGrath <roland@hack.frob.com>
1143
1144 * io/openat64.c: #include <libc-internal.h>
1145 (__openat64): Prototypify. Use ignore_value on MODE.
1146 * io/openat.c: Likewise.
1147 * misc/reboot.c: #include <libc-internal.h>
1148 (reboot): Prototypify. Use ignore_value on HOWTO.
1149 * misc/ptrace.c: #include <libc-internal.h>
1150 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
1151
11522014-12-04 Joseph Myers <joseph@codesourcery.com>
1153
1154 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
1155 XPG4, UNIX98 and XOPEN2K.
1156 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
1157 Remove variable.
1158 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1159
11602014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1161
1162 * libio/fileops.c: Use ISO C style for function definitions.
1163 * libio/iofopen.c: Likewise.
1164 * libio/wfileops.c: Likewise.
1165
1166 [BZ #17653]
1167 * libio/fileops.c (_IO_new_file_underflow): Unset cached
1168 offset on EOF.
1169 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
1170 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
1171 (fgets_func): Function pointer to fgets and fgetws.
1172 (do_ftell_test): Add test to verify ftell value after read
1173 EOF.
1174 (do_test): Set fgets_func.
1175
1176 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
1177 O_TRUNC flag for w and w+ modes.
1178 (do_rewind_test): Likewise.
1179 (do_ftell_test): Likewise.
1180 (do_write_test): Likewise.
1181
1182 [BZ #17647]
1183 * libio/fileops.c (do_ftell): Seek only when there are
1184 unflushed writes.
1185 * libio/wfileops.c (do_ftell_wide): Likewise.
1186 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
1187 test case.
1188 (do_one_test): Call it.
1189
11902014-12-03 Joseph Myers <joseph@codesourcery.com>
1191
1192 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
1193 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
1194 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
1195 Remove variable.
1196 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1197 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1198 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1199
12002014-12-02 Joseph Myers <joseph@codesourcery.com>
1201
1202 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
1203 Remove variable.
1204 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1205
1206 [BZ #17668]
1207 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
1208 as weak alias of __getifaddrs. Use libc_hidden_weak.
1209 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1210 __freeifaddrs. Use libc_hidden_weak.
1211 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
1212 define as weak alias of __getifaddrs. Use libc_hidden_weak.
1213 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1214 __freeifaddrs. Use libc_hidden_weak.
1215 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
1216 __getifaddrs and define as weak alias of __getifaddrs. Use
1217 libc_hidden_weak.
1218 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1219 __freeifaddrs. Use libc_hidden_weak.
1220 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
1221 Remove variable.
1222 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1223 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1224
12252014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
1226
1227 [BZ #17601]
1228 * sysdeps/mips/start.S (__start): Use indirect jump to call
1229 __libc_start_main.
1230
12312014-12-02 Joseph Myers <joseph@codesourcery.com>
1232
1233 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
1234
1235 * nptl/tst-mutex1.c: Include <stdbool.h>.
1236 [!ATTR] (ATTR_NULL): New macro.
1237 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
1238 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
1239 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
1240
1241 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
1242 to char *.
1243
1244 [BZ #17665]
1245 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
1246 Change conditional to [__USE_MISC].
1247
1248 [BZ #17664]
1249 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
1250 fgets_unlocked.
1251 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
1252 __fgets_unlocked.
1253 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
1254 fgets_unlocked.
1255 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
1256 Remove variable.
1257 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1258 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1259 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1260 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1261 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1262 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1263 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1264 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1265 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1266
1267 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
1268
12692014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1270
1271 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1272 Remove strpbrk objects.
1273 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1274 (__libc_ifunc_impl_list): Remove strpbrk implementation.
1275 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
1276 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
1277 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
1278 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
1279
1280 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1281 Remove strcspn objects.
1282 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1283 (__libc_ifunc_impl_list): Remove strcspn implementation.
1284 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
1285 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
1286 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
1287 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
1288
1289 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1290 Remove strspn objetcs.
1291 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1292 (__libc_ifunc_impl_list): Remove strspn implementation.
1293 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
1294 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1295 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
1296 * sysdeps/powerpc/powerpc64/strspn.S: New file.
1297
12982014-12-01 James Lemke <jwlemke@codesourcery.com>
1299
1300 [BZ #17581]
1301 * malloc/hooks.c
1302 (mem2mem_check): Add a terminator to the chain of checking blocks.
1303 (malloc_check_get_size): Use it here.
1304 (mem2chunk_check): Ditto.
1305
13062014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1307
1308 * sysdeps/powerpc/powerpc64/strtok.S: New file.
1309 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
1310
13112014-11-29 Carlos O'Donell <carlos@redhat.com>
1312
1313 * bits/ioctl-types.h: Indent preprocessor directives correctly.
1314
1315 * nptl/nptl-init.c: Include libc-internal.h.
1316 (__pthread_initialize_minimal_internal): Use ROUND_UP.
1317
1318 * elf/ldconfig.c (search_dir): Expand comment.
1319
13202014-11-29 Joseph Myers <joseph@codesourcery.com>
1321
1322 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
1323 variable.
1324 (linknamespace-symlist-stdlibs-tests): Likewise.
1325 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
1326 instead of $(objpfx)symlist-stdlibs.
1327 (linknamespace-libs-isoc): New variable.
1328 (linknamespace-libs): Use $(linknamespace-libs-isoc).
1329 (linknamespace-libs-ISO): New variable.
1330 (linknamespace-libs-ISO99): Likewise.
1331 (linknamespace-libs-ISO11): Likewise.
1332 (linknamespace-libs-XPG3): Likewise.
1333 (linknamespace-libs-XPG4): Likewise.
1334 (linknamespace-libs-POSIX): Likewise.
1335 (linknamespace-libs-UNIX98): Likewise.
1336 (linknamespace-libs-XOPEN2K): Likewise.
1337 (linknamespace-libs-POSIX2008): Likewise.
1338 (linknamespace-libs-XOPEN2K8): Likewise.
1339 ($(objpfx)symlist-stdlibs): Replace by
1340 $(linknamespace-symlist-stdlibs-tests). Use
1341 $(linknamespace-libs-$*) as set of libraries.
1342 ($(linknamespace-header-tests)): Update dependencies. Use
1343 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
1344 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
1345 * conform/linknamespace.pl: Remove comment about considering
1346 definitions of symbols from irrelevant libraries.
1347
13482014-11-28 H.J. Lu <hongjiu.lu@intel.com>
1349
1350 [BZ #13862]
1351 * elf/dl-tls.c: Include <atomic.h>.
1352 (oom): Remove #ifdef SHARED/#endif.
1353 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
1354 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
1355 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
1356 big enough.
1357 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
1358 * nptl/Makefile (tests): Add tst-stack4.
1359 (modules-names): Add tst-stack4mod.
1360 ($(objpfx)tst-stack4): New.
1361 (tst-stack4mod.sos): Likewise.
1362 ($(objpfx)tst-stack4.out): Likewise.
1363 ($(tst-stack4mod.sos)): Likewise.
1364 (clean): Likewise.
1365 * nptl/tst-stack4.c: New file.
1366 * nptl/tst-stack4mod.c: Likewise.
1367
13682014-11-27 J. Brown <jb999@gmx.de>
1369
1370 * sysdeps/x86/bits/string.h: Add recent CPUs.
1371
13722014-11-27 Joseph Myers <joseph@codesourcery.com>
1373
1374 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
1375 sigblock.
1376
1377 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
1378 feof.
1379
1380 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
1381 variable.
1382
13832014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
1384
1385 * nscd/connections.c: Include libc-internal.h because of macro
1386 usage ignore_value.
1387
13882014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1389
1390 * string/bits/string3.h (__warn_memset_zero_len): Don't
1391 declare for gcc newer than 5.0.
1392 (memset): Don't test for zero-length __LEN for gcc newer than
1393 5.0.
1394
13952014-11-27 Joseph Myers <joseph@codesourcery.com>
1396
1397 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
1398 size_t for %zu format.
1399
1400 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
1401 difference, not %ju.
1402
14032014-11-26 Joseph Myers <joseph@codesourcery.com>
1404
1405 * include/libc-internal.h (ignore_value): New macro.
1406 * nscd/connections.c (restart): Wrap calls to setuid and setgid
1407 with ignore_value.
1408
1409 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
1410 definition.
1411
1412 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
1413 pthread_cleanup_push to void *.
1414
1415 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
1416 Undefine.
1417
1418 [BZ #16619]
1419 [BZ #16740]
1420 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
1421 instead of 1L << 52.
1422
1423 * libio/bug-rewind.c (do_test): Check fwscanf return values.
1424 * libio/bug-rewind2.c (do_test): Likewise.
1425
1426 * debug/test-stpcpy_chk-ifunc.c: Remove file.
1427 * debug/test-strcpy_chk-ifunc.c: Likewise.
1428 * wcsmbs/test-wcschr-ifunc.c: Likewise.
1429 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1430 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1431 * wcsmbs/test-wcslen-ifunc.c: Likewise.
1432 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1433 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1434 * Rules [$(multi-arch) = no] (tests): Do not filter out
1435 $(tests-ifunc).
1436 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
1437 * debug/Makefile (tests-ifunc): Remove variable.
1438 (tests): Do not add $(tests-ifunc).
1439 * wcsmbs/Makefile (tests-ifunc): Remove variable.
1440 (tests): Do not add $(tests-ifunc).
1441 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
1442 [TEST_IFUNC]: Remove conditionals.
1443 * string/test-string.h (TEST_IFUNC): Remove macro.
1444 [TEST_IFUNC]: Remove conditionals.
1445
1446 * string/test-strchr.c [!WIDE] (L): New macro.
1447 [WIDE] (L): Likewise.
1448 (check1): Use CHAR instead of char. Use L on string and character
1449 constants.
1450
14512014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
1452
1453 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
1454 tests.
1455 * sysdeps/powerpc/bits/atomic.h
1456 (__arch_atomic_exchange_and_add_32_acq): Add definition.
1457 (__arch_atomic_exchange_and_add_32_rel): Likewise.
1458 (atomic_exchange_and_add_acq): Likewise.
1459 (atomic_exchange_and_add_rel): Likewise.
1460 * sysdeps/powerpc/powerpc32/bits/atomic.h
1461 (__arch_atomic_exchange_and_add_64_acq): Add definition.
1462 (__arch_atomic_exchange_and_add_64_rel): Likewise.
1463 * sysdeps/powerpc/powerpc64/bits/atomic.h
1464 (__arch_atomic_exchange_and_add_64_acq): Add definition.
1465 (__arch_atomic_exchange_and_add_64_rel): Likewise.
1466
14672014-11-26 Torvald Riegel <triegel@redhat.com>
1468
1469 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
1470 Change synchronization of __sched_fifo_min_prio and
1471 __sched_fifo_max_prio.
1472 * nptl/pthread_mutexattr_getprioceiling.c
1473 (pthread_mutexattr_getprioceiling): Likewise.
1474 * nptl/pthread_mutexattr_setprioceiling.c
1475 (pthread_mutexattr_setprioceiling): Likewise.
1476 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1477 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
1478 Likewise.
1479
14802014-11-26 Joseph Myers <joseph@codesourcery.com>
1481
1482 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
1483 void.
1484
14852014-11-25 Joseph Myers <joseph@codesourcery.com>
1486
1487 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
1488 third argument const.
1489
14902014-11-25 Paul Eggert <eggert@cs.ucla.edu>
1491
1492 fnmatch: work around GCC compiler warning bug with uninit var
1493 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
1494 This works around a bug with x86-64 GCC 4.9.2 and earlier
1495 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
1496 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
1497 used uninitialized in this function [-Wmaybe-uninitialized]".
1498
14992014-11-25 Joseph Myers <joseph@codesourcery.com>
1500
1501 * posix/bug-regex31.c (main): Return RES not 0.
1502
15032014-11-25 Anton Blanchard <anton@samba.org>
1504
1505 * sysdeps/powerpc/bits/atomic.h
1506 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
1507
15082014-11-24 Sterling Augustine <saugustine@google.com>
1509
1510 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
1511
15122014-11-24 Ryan Cumming <etaoins@gmail.com>
1513
1514 [BZ #17608]
1515 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
1516
15172014-11-24 Joseph Myers <joseph@codesourcery.com>
1518
1519 [BZ #17633]
1520 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
1521 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
1522 variable.
1523 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1524 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1525
15262014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
1527
1528 * string/strncpy.c (strncpy): Improve performance by using memset.
1529
15302014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
1531
1532 * string/strcpy.c (strcpy):
1533 Improve performance by using strlen and memcpy.
1534
15352014-11-24 Leonhard Holz <leonhard.holz@web.de>
1536
1537 * string/strcoll_l.c (get_next_seq): __always_inline.
1538 * string/strcoll_l.c (do_compare): __always_inline.
1539
15402014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1541
1542 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
1543 defined.
1544 * include/mqueue.h: Likewise.
1545 * include/stdlib.h: Likewise.
1546
1547 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
1548 (get_null_defines): Adjust.
1549 * sunrpc/Makefile: Adjust comment.
1550 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
1551 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
1552 (CFLAGS-interp.c): Likewise.
1553 (CFLAGS-ldconfig.c): Likewise.
1554 (CPPFLAGS-.os): Likewise.
1555 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1556 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1557 * extra-modules.mk (extra-modules.mk): Likewise.
1558 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
1559 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
1560 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
1561 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
1562 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
1563 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
1564 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
1565 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
1566 * iconvdata/Makefile (CPPFLAGS): Likewise.
1567 (cpp-srcs-left): Add libof for all iconvdata routines.
1568 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
1569 * include/assert.h: Likewise.
1570 * include/ctype.h: Likewise.
1571 * include/errno.h: Likewise.
1572 * include/libc-symbols.h: Likewise.
1573 * include/math.h: Likewise.
1574 * include/netdb.h: Likewise.
1575 * include/resolv.h: Likewise.
1576 * include/stdio.h: Likewise.
1577 * include/stdlib.h: Likewise.
1578 * include/string.h: Likewise.
1579 * include/sys/stat.h: Likewise.
1580 * include/wctype.h: Likewise.
1581 * intl/l10nflist.c: Likewise.
1582 * libidn/idn-stub.c: Likewise.
1583 * libio/libioP.h: Likewise.
1584 * nptl/libc_multiple_threads.c: Likewise.
1585 * nptl/pthreadP.h: Likewise.
1586 * posix/regex_internal.h: Likewise.
1587 * resolv/res_hconf.c: Likewise.
1588 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
1589 * sysdeps/arm/memmove.S: Likewise.
1590 * sysdeps/arm/sysdep.h: Likewise.
1591 * sysdeps/generic/_itoa.h: Likewise.
1592 * sysdeps/generic/symbol-hacks.h: Likewise.
1593 * sysdeps/gnu/errlist.awk: Likewise.
1594 * sysdeps/gnu/errlist.c: Likewise.
1595 * sysdeps/i386/i586/memcpy.S: Likewise.
1596 * sysdeps/i386/i586/memset.S: Likewise.
1597 * sysdeps/i386/i686/memcpy.S: Likewise.
1598 * sysdeps/i386/i686/memmove.S: Likewise.
1599 * sysdeps/i386/i686/mempcpy.S: Likewise.
1600 * sysdeps/i386/i686/memset.S: Likewise.
1601 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1602 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1603 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
1604 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
1605 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1606 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1607 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
1608 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1609 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1610 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1611 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1612 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1613 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1614 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1615 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1616 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1617 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
1618 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
1619 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
1620 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1621 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1622 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1623 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1624 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1625 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1626 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1627 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
1628 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1629 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
1630 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
1631 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1632 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1633 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1634 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1635 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1636 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
1637 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1638 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1639 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
1640 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
1641 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1642 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1643 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
1644 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
1645 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1646 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1647 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
1648 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
1649 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1650 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
1651 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1652 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
1653 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
1654 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1655 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
1656 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
1657 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1658 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
1659 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
1660 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1661 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
1662 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1663 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
1664 * sysdeps/nptl/bits/libc-lock.h: Likewise.
1665 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1666 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
1667 * sysdeps/posix/closedir.c: Likewise.
1668 * sysdeps/posix/opendir.c: Likewise.
1669 * sysdeps/posix/readdir.c: Likewise.
1670 * sysdeps/posix/rewinddir.c: Likewise.
1671 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
1672 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
1673 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1674 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1675 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1676 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
1677 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
1678 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
1679 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
1680 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
1681 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
1682 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
1683 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
1684 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
1685 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
1686 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
1687 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
1688 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
1689 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
1690 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
1691 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
1692 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
1693 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
1694 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
1695 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
1696 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
1697 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
1698 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
1699 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
1700 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
1701 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1702 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
1703 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1704 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
1705 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1706 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
1707 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1708 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1709 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
1710 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
1711 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
1712 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
1713 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
1714 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
1715 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
1716 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
1717 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
1718 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
1719 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
1720 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
1721 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
1722 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
1723 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1724 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
1725 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
1726 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
1727 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
1728 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
1729 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
1730 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
1731 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
1732 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
1733 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1734 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
1735 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
1736 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
1737 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
1738 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
1739 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
1740 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
1741 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
1742 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
1743 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
1744 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
1745 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
1746 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
1747 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
1748 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
1749 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1750 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
1751 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1752 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1753 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1754 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
1755 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1756 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
1757 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
1758 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1759 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1760 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1761 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
1762 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
1763 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
1764 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1765 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1766 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
1767 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1768 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1769 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
1770 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
1771 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1772 * sysdeps/unix/alpha/sysdep.S: Likewise.
1773 * sysdeps/unix/alpha/sysdep.h: Likewise.
1774 * sysdeps/unix/make-syscalls.sh: Likewise.
1775 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1776 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1777 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1778 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
1779 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1780 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
1781 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
1782 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1783 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1784 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
1785 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1786 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1787 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1788 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1789 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1790 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
1791 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1792 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1793 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1794 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1795 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1796 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1797 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1798 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1799 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1800 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1801 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1804 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
1805 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1806 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1807 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
1808 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1809 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1810 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1811 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
1812 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1813 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1814 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1815 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1816 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1817 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1818 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1819 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1820 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1821 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1822 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1823 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1824 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1825 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1826 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1827 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1828 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1829 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1830 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1831 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1832 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1833 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
1834 * sysdeps/x86_64/memcpy.S: Likewise.
1835 * sysdeps/x86_64/memmove.c: Likewise.
1836 * sysdeps/x86_64/memset.S: Likewise.
1837 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
1838 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1839 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1840 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
1841 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1842 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1843 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1844 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1845 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1846 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1847 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1848 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1849 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
1850 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1851 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1852 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
1853 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1854 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1855 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
1856 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1857 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
1858 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1859 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1860 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1861 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1862 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1863 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1864 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
1865 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
1866 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1867 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
1868 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1869 * sysdeps/x86_64/strcmp.S: Likewise.
1870
1871 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
1872
1873 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
1874 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
1875 * elf/rtld-Rules: Likewise.
1876 * elf/setup-vdso.h: Likewise.
1877 * include/assert.h: Likewise.
1878 * include/bits/stdlib-float.h: Likewise.
1879 * include/errno.h: Likewise.
1880 * include/sys/stat.h: Likewise.
1881 * include/unistd.h: Likewise.
1882 * sysdeps/aarch64/setjmp.S: Likewise.
1883 * sysdeps/alpha/setjmp.S: Likewise.
1884 * sysdeps/arm/__longjmp.S: Likewise.
1885 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
1886 * sysdeps/arm/setjmp.S: Likewise.
1887 * sysdeps/arm/sysdep.h: Likewise.
1888 * sysdeps/generic/_itoa.h: Likewise.
1889 * sysdeps/generic/dl-sysdep.h: Likewise.
1890 * sysdeps/generic/ldsodefs.h: Likewise.
1891 * sysdeps/i386/dl-tls.h: Likewise.
1892 * sysdeps/i386/setjmp.S: Likewise.
1893 * sysdeps/m68k/setjmp.c: Likewise.
1894 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
1895 * sysdeps/mach/hurd/opendir.c: Likewise.
1896 * sysdeps/posix/getcwd.c: Likewise.
1897 * sysdeps/posix/opendir.c: Likewise.
1898 * sysdeps/posix/profil.c: Likewise.
1899 * sysdeps/powerpc/dl-procinfo.h: Likewise.
1900 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1901 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1902 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1903 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1904 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
1905 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1906 * sysdeps/s390/dl-tls.h: Likewise.
1907 * sysdeps/s390/s390-32/setjmp.S: Likewise.
1908 * sysdeps/s390/s390-64/setjmp.S: Likewise.
1909 * sysdeps/sh/sh3/setjmp.S: Likewise.
1910 * sysdeps/sh/sh4/setjmp.S: Likewise.
1911 * sysdeps/unix/alpha/sysdep.h: Likewise.
1912 * sysdeps/unix/arm/sysdep.S: Likewise.
1913 * sysdeps/unix/i386/sysdep.S: Likewise.
1914 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1915 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1916 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1917 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1918 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1919 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1920 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1921 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1922 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1923 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1924 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1925 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1926 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1929 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1930 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1931 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1932 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1933 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1934 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1935 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1936 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1937 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1938 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1939 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1940 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1941 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1942 * sysdeps/x86_64/setjmp.S: Likewise.
1943
1944 * include/math.h: Use IS_IN instead of IS_IN_libm.
1945 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
1946 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1947 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1948 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1949 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1950 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1951 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1952 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1953 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1954 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1955 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
1956 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
1957 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
1958 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
1959 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
1960 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
1961 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
1962 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
1963 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
1964 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
1965 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
1966 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
1967 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
1968 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
1969 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
1970 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1971 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
1972 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
1973 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
1974 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
1975 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
1976 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1977 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
1979 Likewise.
1980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
1981 Likewise.
1982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
1983 Likewise.
1984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
1985 Likewise.
1986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
1987 Likewise.
1988 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1989 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
1990 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1991 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1992 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1993 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
1995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
1999 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2000 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2001 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2002 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2003 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2004 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2005 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2006 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2007 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2008 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2009 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2010 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2011 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2012 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
2013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2014 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
2015
2016 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
2017 * nptl/pthreadP.h: Likewise.
2018 * nptl_db/structs.def: Likewise.
2019 * sysdeps/arm/sysdep.h: Likewise.
2020 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2021 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2022 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
2023 * sysdeps/unix/alpha/sysdep.h: Likewise.
2024 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2025 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2026 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2027 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2028 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2029 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2030 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2031 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2032 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2033 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2034 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2035 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2036 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2037 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2040 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2041 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2042 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2043 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2044 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2045 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2046 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2047 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2048 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
2049 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2050
2051 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
2052 * nptl/pthreadP.h: Likewise.
2053 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2054 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2055 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2056 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2057 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2058 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2059 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2060 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2061 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2062 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2063 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2064 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2066 Likewise.
2067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2068 Likewise.
2069 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2070 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2071 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2072 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2073 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2074 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2075 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2076 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2077
2078 * dlfcn/dladdr.c: Use IS_IN.
2079 * dlfcn/dladdr1.c: Likewise.
2080 * dlfcn/dlclose.c: Likewise.
2081 * dlfcn/dlerror.c: Likewise.
2082 * dlfcn/dlinfo.c: Likewise.
2083 * dlfcn/dlmopen.c: Likewise.
2084 * dlfcn/dlopen.c: Likewise.
2085 * dlfcn/dlsym.c: Likewise.
2086 * dlfcn/dlvsym.c: Likewise.
2087
2088 * include/ifaddrs.h: Use IS_IN.
2089 * inet/check_pf.c: Likewise.
2090 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2091 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
2092
2093 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
2094 IS_IN_ldconfig.
2095 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
2096 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
2097
2098 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
2099 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
2100 IS_IN (libc).
2101
2102 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
2103
2104 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
2105 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2106 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2107 * include/libc-symbols.h (IS_IN_LIB): New macro.
2108 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
2109 * include/netdb.h: Likewise.
2110 * include/stap-probe.h: Remove all uses of IN_LIB.
2111
2112 * Makeconfig (module-cppflags-real): Define MODULE_NAME
2113 instead of IN_MODULE.
2114 * include/libc-symbols.h (IN_MODULE): Define using
2115 MODULE_NAME.
2116 (PASTE_NAME, PASTE_NAME1): New macros.
2117 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
2118 of IN_LIB.
2119 (STAP_PROBE_ASM): Likewise.
2120
21212014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
2122
2123 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
2124 __mach_init in dlopened libc.
2125
21262014-11-22 Mike Frysinger <vapier@gentoo.org>
2127
2128 * sysdeps/arm/preconfigure.ac: Delete EABI check.
2129 * sysdeps/arm/preconfigure: Regenerate.
2130
21312014-11-21 Roland McGrath <roland@hack.frob.com>
2132
2133 * nptl/pthread_create.c (__pthread_create_2_1): Set
2134 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
2135 when copying values from IATTR into PD.
2136
21372014-11-21 Will Newton <will.newton@linaro.org>
2138 Andrew Pinski <andrew.pinski@caviumnetworks.com>
2139
2140 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
2141 Refactor inline-asm. Also add comment.
2142
2143 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
2144 ElfW macro instead of hardcoded Elf64 types.
2145 (la_aarch64_gnu_pltenter): Likewise.
2146 * sysdeps/aarch64/dl-machine.h
2147 (elf_machine_runtime_setup): Use ElfW(Addr).
2148
2149 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
2150 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
2151 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
2152 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
2153 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
2154 (R_AARCH64_TLS_DTPMOD64): Rename to ..
2155 (R_AARCH64_TLS_DTPMOD): This.
2156 (R_AARCH64_TLS_DTPREL64): Rename to ...
2157 (R_AARCH64_TLS_DTPREL): This.
2158 (R_AARCH64_TLS_TPREL64): Rename to ...
2159 (R_AARCH64_TLS_TPREL): This.
2160 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
2161 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
2162 R_AARCH64_TLS_TPREL64.
2163 (elf_machine_rela): Likewise.
2164
21652014-11-21 Torvald Riegel <triegel@redhat.com>
2166
2167 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
2168 by setting it to 0. 64b atomics are not supported currently.
2169
21702014-11-21 Alexandre Oliva <aoliva@redhat.com>
2171
2172 [BZ #16469]
2173 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
2174 search domain names.
2175
21762014-11-21 Alexandre Oliva <aoliva@redhat.com>
2177
2178 [BZ #16469]
2179 * NEWS: Update.
2180 * resolv/res_query.c (__libc_res_nquerydomain): Retain
2181 trailing dot.
2182 * posix/tst-getaddrinfo5.c: New.
2183 * posix/Makefile (tests): Add it.
2184
21852014-11-21 Alexandre Oliva <aoliva@redhat.com>
2186
2187 [BZ #14498]
2188 * NEWS: Fixed.
2189 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
2190 after parsing line but before break_if_match.
2191 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
2192 if there is a protocol mismatch.
2193
21942014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
2195
2196 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
2197 because the potential race is on the user-supplied stream.
2198
21992014-11-21 Alexandre Oliva <aoliva@redhat.com>
2200
2201 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
2202 string literal if not passed a buffer.
2203 * manual/job.texi (ctermid): Update reasoning, note deviation
2204 from posix, suggest mtasurace when not passed a buffer, for
2205 future non-preliminary safety notes.
2206
22072014-11-21 Alexandre Oliva <aoliva@redhat.com>
2208
2209 * manual/users.texi (cuserid): Fix MT-Safety note for the case
2210 of not passing it a buffer.
2211 Reported by Peng Haitao.
2212
22132014-11-21 Alexandre Oliva <aoliva@redhat.com>
2214
2215 * manual/Makefile ($(objpfx)stamp-summary): Require
2216 check-safety.sh to pass.
2217 * manual/check-safety.sh: Wish for verification that every
2218 @deftypefn and @deftypefun is followed by a @safety remark.
2219
22202014-11-20 Roland McGrath <roland@hack.frob.com>
2221
2222 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
2223
2224 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
2225 PTHREAD_CANCEL_ASYNCHRONOUS.
2226 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
2227 send SIGCANCEL.
2228
2229 * nptl/default-sched.h: New file.
2230 * sysdeps/unix/sysv/linux/default-sched.h: New file.
2231 * nptl/pthread_create.c: Include it.
2232 (__pthread_create_2_1): Use collect_default_sched instead of making
2233 Linux syscalls here directly.
2234
22352014-11-20 Torvald Riegel <triegel@redhat.com>
2236
2237 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
2238 __pthread_once): Use C11 atomics.
2239
22402014-11-20 Torvald Riegel <triegel@redhat.com>
2241
2242 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
2243
22442014-11-20 Torvald Riegel <triegel@redhat.com>
2245
2246 * include/atomic.h (__atomic_link_error, __atomic_check_size,
2247 atomic_thread_fence_acquire, atomic_thread_fence_release,
2248 atomic_thread_fence_seq_cst, atomic_load_relaxed,
2249 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
2250 atomic_compare_exchange_weak_relaxed,
2251 atomic_compare_exchange_weak_acquire,
2252 atomic_compare_exchange_weak_release,
2253 atomic_exchange_acquire, atomic_exchange_release,
2254 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
2255 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
2256 atomic_fetch_and_acquire,
2257 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
2258
22592014-11-20 Torvald Riegel <triegel@redhat.com>
2260
2261 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
2262 USE_ATOMIC_COMPILER_BUILTINS): Define.
2263 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
2264 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2265 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
2266 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2267 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
2268 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2269 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
2270 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2271 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
2272 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2273 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
2274 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2275 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
2276 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2277 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
2278 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2279 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2280 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2281 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2282 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2283 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
2284 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2285 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2286 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2287 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
2288 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2289 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2290 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2291 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
2292 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2293 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
2294 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2295 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
2296 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2297 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2298 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2299 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
2300 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2301 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
2302 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2303
23042014-11-19 Roland McGrath <roland@hack.frob.com>
2305
2306 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
2307 the sched_priority value here. It was already checked when the user
2308 called pthread_attr_setschedparam.
2309
2310 * nptl/tst-bad-schedattr.c: New file.
2311 * nptl/Makefile (tests): Add it.
2312
23132014-11-19 Carlos O'Donell <carlos@redhat.com>
2314 Florian Weimer <fweimer@redhat.com>
2315 Joseph Myers <joseph@codesourcery.com>
2316 Adam Conrad <adconrad@0c3.net>
2317 Andreas Schwab <schwab@suse.de>
2318 Brooks <bmoses@google.com>
2319
2320 [BZ #17625]
2321 * wordexp-test.c (__dso_handle): Add prototype.
2322 (__register_atfork): Likewise.
2323 (__app_register_atfork): New function.
2324 (registered_forks): New global.
2325 (register_fork): New function.
2326 (test_case): Add 3 new tests for WRDE_CMDSUB.
2327 (main): Call __app_register_atfork.
2328 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
2329 fork count is non-zero fail the test.
2330 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
2331 is set.
2332 (parse_dollars): Remove check for WRDE_NOCMD.
2333 (parse_dquote): Likewise.
2334
23352014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2336
2337 * Makeconfig (built-modules): List non-library modules to be
2338 built.
2339 (module-cppflags): Include libc-modules.h for
2340 everything except shlib-versions.v.i.
2341 (CPPFLAGS): Use it.
2342 (before-compile): Add libc-modules.h.
2343 ($(common-objpfx)libc-modules.h,
2344 $(common-objpfx)libc-modules.stmp): New targets.
2345 (common-generated): Add libc-modules.h and libc-modules.stmp.
2346 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
2347 * include/libc-symbols.h: Don't include libc-modules.h.
2348 * include/libc-modules.h: Remove file.
2349 * scripts/gen-libc-modules.awk: New script to generate
2350 libc-modules.h.
2351 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
2352 Depend on libc-modules.stmp.
2353
2354 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
2355
2356 * Makeconfig (in-module): Get value of libof set for the
2357 translation unit.
2358 (CPPFLAGS): Use $(in-module).
2359 * Makerules: Don't suffix routine names for nonlib.
2360 * include/libc-modules.h: New file.
2361 * include/libc-symbols.h: Include libc-modules.h
2362 (IS_IN): New macro to replace IS_IN_* macros.
2363 * elf/Makefile: Set libof-* for each routine.
2364 * elf/rtld-Rules: Likewise.
2365 * extra-modules.mk: Likewise.
2366 * iconv/Makefile: Likewise.
2367 * iconvdata/Makefile: Likewise.
2368 * locale/Makefile: Likewise.
2369 * malloc/Makefile: Likewise.
2370 * nss/Makefile: Likewise.
2371 * sysdeps/gnu/Makefile: Likewise.
2372 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
2373 * sysdeps/unix/sysv/linux/Makefile: Likewise.
2374 * sysdeps/s390/s390-64/Makefile: Likewise.
2375 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
2376 CPPFLAGS for nscd instead of nonlib.
2377
23782014-11-18 Roland McGrath <roland@hack.frob.com>
2379
2380 * nptl/createthread.c: New file.
2381
2382 * nptl/createthread.c: Moved ...
2383 * sysdeps/unix/sysv/linux/createthread.c: ... here.
2384
2385 * nptl/createthread.c: Add proper top-line comment.
2386 (do_clone): Folded into ...
2387 (create_thread): ... here. Take new arguments STOPPED_START and
2388 THREAD_RAN. Always set PD->stopped_start to something here. Don't
2389 increment __nptl_threads, do event-reporting logic, do
2390 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
2391 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
2392 resource cleanup if sched_setaffinity or sched_setscheduler fails,
2393 just send SIGCANCEL.
2394 * nptl/pthread_create.c: Forward-declare create_thread before
2395 including createthread.c.
2396 (start_thread): Use new macro START_THREAD_DEFN to replace defining
2397 declaration, and new macro START_THREAD_SELF to replace argument.
2398 Remove return statement.
2399 (report_thread_creation): New function.
2400 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
2401 synchronization logic, and __nptl_nthreads increment here, around
2402 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
2403 PD->parent_cancelhandling here, before create_thread. When
2404 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
2405 __deallocate_stack, and ENOMEM translation here.
2406
24072014-11-18 Joseph Myers <joseph@codesourcery.com>
2408
2409 [BZ #17616]
2410 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
2411 (mptwo): Rename to __mptwo.
2412 (__inv): Use __mptwo instead of mptwo.
2413 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
2414 (mptwo): Rename to __mptwo.
2415 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
2416 of mpone and __mptwo instead of mptwo.
2417 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
2418 instead of mpone.
2419 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2420 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
2421 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
2422 of mpone and __mptwo instead of mptwo.
2423 (__mpranred): Use __mpone instead of mpone.
2424 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
2425 variable.
2426 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2427 (test-xfail-ISO99/math.h/linknamespace): Likewise.
2428 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2429 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2430 (test-xfail-ISO11/math.h/linknamespace): Likewise.
2431 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2432 (test-xfail-XPG3/math.h/linknamespace): Likewise.
2433 (test-xfail-XPG4/math.h/linknamespace): Likewise.
2434 (test-xfail-POSIX/math.h/linknamespace): Likewise.
2435 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2436 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2437 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2438 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2439 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2440 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2441 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2442 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2443 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2444 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2445
24462014-11-18 Tom de Vries <tom@codesoucery.com>
2447
2448 * manual/signal.texi (Primitives Interrupted by Signals): In section,
2449 replace BSD Handler xref with BSD Signal Handling.
2450
24512014-11-17 Richard Henderson <rth@redhat.com>
2452
2453 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
2454 (_FP_PACK_RAW_2): Remove.
2455 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
2456 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
2457 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
2458 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
2459 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
2460 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
2461 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
2462 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
2463 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
2464 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
2465 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
2466 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
2467 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
2468 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
2469 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
2470 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
2471
24722014-11-14 Roland McGrath <roland@hack.frob.com>
2473
2474 * signal/signal.h [__USE_MISC]
2475 (struct sigvec): Remove type.
2476 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
2477 (sigvec): Remove declaration.
2478 * sysdeps/posix/sigvec.c: Moved ...
2479 * signal/sigvec.c: ... here, replacing old file.
2480 (struct sigvec): New type, copied from old signal.h definition.
2481 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
2482 (__sigvec): Convert definition to prototype.
2483 (sigvec): Replace weak_alias with compat_symbol.
2484 * signal/Versions (libc: GLIBC_2.21): New version set.
2485 * include/signal.h: Remove __sigvec declaration.
2486 * sysdeps/unix/bsd/sigvec.c: Remove file.
2487 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
2488 * manual/signal.texi (BSD Handler): Remove subsection.
2489 Move siginterrupt up to ...
2490 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
2491 (Blocking in BSD): Fold subsection into its parent.
2492 * NEWS: Mention sigvec removal.
2493
24942014-11-14 Joseph Myers <joseph@codesourcery.com>
2495
2496 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
2497 (DLA_FMS): Make definition conditional only on [__FMA4__].
2498 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
2499 definition.
2500
2501 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
2502 Make definition conditional only on [PROF].
2503 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
2504 definition.
2505 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
2506 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
2507
2508 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
2509 !__GNUC__].
2510 * include/signal.h (__sigpause): Move declaration above call to
2511 libc_hidden_proto.
2512 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
2513 variable.
2514 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2515 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2516
25172014-11-14 David S. Miller <davem@davemloft.net>
2518
2519 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
2520 Define before including <string/memcpy.c> and <string/mempcpy.c>.
2521
25222014-11-14 Joseph Myers <joseph@codesourcery.com>
2523
2524 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
2525 * configure: Regenerated.
2526 * manual/install.texi (Tools for Compilation): Document a
2527 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
2528 compiler verified to work.
2529 * INSTALL: Regenerated.
2530
2531 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
2532 redeclare with asm name.
2533 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
2534 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
2535 including <string.h>.
2536 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2537 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
2538 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2539 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
2540 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2541 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2542 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2543
25442014-11-13 Joseph Myers <joseph@codesourcery.com>
2545
2546 * stdlib/strtol.c (__strtol): Use prototype definition.
2547
2548 [BZ #17594]
2549 * stdlib/strtol.c (SYM__): New macro.
2550 (SYM__1): Likewise.
2551 (__strtol): Likewise.
2552 (strtol): Rename to __strtol and define as weak alias of
2553 __strtol. Use libc_hidden_weak.
2554
25552014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2556
2557 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
2558 Use numbered labels in inline assembly.
2559
25602014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2561
2562 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
2563 Add setjmp LIBC_PROBE.
2564 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
2565 Likewise.
2566 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
2567 Add longjmp, longjmp_target LIBC_PROBE.
2568 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
2569 Likewise.
2570
25712014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2572
2573 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2574 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
2575 to get rid of unused variable warning.
2576
25772014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2578
2579 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
2580 Check for unwind_backtrace == NULL only in SHARED case.
2581 (__backchain_backtrace): Compile only in SHARED case.
2582 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
2583 Likewise.
2584 (__backchain_backtrace): Declare as static.
2585
25862014-11-12 Roland McGrath <roland@hack.frob.com>
2587
2588 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
2589 (__libc_multiple_threads_ptr): Variable moved ...
2590 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
2591
25922014-11-12 Joseph Myers <joseph@codesourcery.com>
2593
2594 * conform/GlibcConform.pm: New file.
2595 * conform/conformtest.pl: Use GlibcConform module.
2596 * conform/linknamespace.pl: New file.
2597 * conform/list-header-symbols.pl: Likewise.
2598 * conform/Makefile (linknamespace-symlists-base): New variable.
2599 (linknamespace-symlists-tests): Likewise.
2600 (linknamespace-header-base): Likewise.
2601 (linknamespace-header-tests): Likewise.
2602 (tests-special): Add new tests.
2603 ($(linknamespace-symlists-tests)): New rule.
2604 (linknamespace-libs): New variable.
2605 ($(objpfx)symlist-stdlibs): New rule.
2606 ($(linknamespace-header-tests)): Likewise.
2607 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
2608 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
2609 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
2610 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
2611 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
2612 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
2613 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
2614 (test-xfail-ISO/math.h/linknamespace): Likewise.
2615 (test-xfail-ISO/signal.h/linknamespace): Likewise.
2616 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
2617 (test-xfail-ISO/time.h/linknamespace): Likewise.
2618 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2619 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
2620 (test-xfail-ISO99/math.h/linknamespace): Likewise.
2621 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2622 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2623 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2624 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2625 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2626 (test-xfail-ISO11/math.h/linknamespace): Likewise.
2627 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2628 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2629 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2630 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2631 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
2632 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
2633 (test-xfail-XPG3/math.h/linknamespace): Likewise.
2634 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
2635 (test-xfail-XPG3/search.h/linknamespace): Likewise.
2636 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
2637 (test-xfail-XPG3/time.h/linknamespace): Likewise.
2638 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
2639 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2640 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2641 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
2642 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2643 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2644 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
2645 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
2646 (test-xfail-XPG4/math.h/linknamespace): Likewise.
2647 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
2648 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2649 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2650 (test-xfail-XPG4/search.h/linknamespace): Likewise.
2651 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2652 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
2653 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
2654 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
2655 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
2656 (test-xfail-XPG4/time.h/linknamespace): Likewise.
2657 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
2658 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2659 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
2660 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2661 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2662 (test-xfail-POSIX/math.h/linknamespace): Likewise.
2663 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
2664 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
2665 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2666 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2667 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
2668 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2669 (test-xfail-POSIX/time.h/linknamespace): Likewise.
2670 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
2671 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2672 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2673 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2674 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2675 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2676 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2677 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2678 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2679 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2680 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
2681 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2682 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2683 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2684 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
2685 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2686 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
2687 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
2688 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2689 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2690 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2691 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2692 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2693 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2694 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
2695 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
2696 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2697 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
2698 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2699 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
2700 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2701 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2702 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2703 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
2704 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2705 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2706 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2707 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
2708 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
2709 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
2710 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2711 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2712 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
2713 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2714 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
2715 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
2716 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2717 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2718 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2719 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2720 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2721 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2722 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2723 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2724 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2725 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2726 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
2727 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2728 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2729 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
2730 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2731 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2732 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2733 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2734 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2735 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2736 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2737 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2738 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2739 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
2740 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2741 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2742 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2743 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2744 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
2745 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2746 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2747 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
2748 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2749 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2750 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
2751 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2752 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2753 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2754 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2755 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2756 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2757 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2758 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2759 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
2760 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2761 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
2762 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2763 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2764 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
2765 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2766 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2767 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2768
2769 [BZ #17589]
2770 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
2771 of fgets_unlocked.
2772
2773 [BZ #17585]
2774 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
2775 (memmem): Rename to __memmem and define as weak alias of
2776 __memmem. Use libc_hidden_weak.
2777 (__memmem): Use libc_hidden_def.
2778 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
2779 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
2780 memmem.
2781
2782 [BZ #17582]
2783 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
2784 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
2785 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
2786 and define as weak alias of __fgets_unlocked. Use
2787 libc_hidden_weak.
2788 (__fgets_unlocked): Use libc_hidden_def.
2789 * include/stdio.h (__fgets_unlocked): Declare. Use
2790 libc_hidden_proto.
2791 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
2792 __fgets_unlocked instead of fgets_unlocked.
2793 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
2794 (GET_NPROCS_CONF_PARSER): Likewise.
2795 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
2796 (GET_NPROCS_CONF_PARSER): Likewise.
2797
2798 [BZ #17574]
2799 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
2800 weak alias of __wmemset. Use libc_hidden_weak.
2801 (__wmemset): Use libc_hidden_def.
2802 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
2803 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
2804 of wmemset.
2805
2806 [BZ #17573]
2807 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
2808 with asm name __mempcpy.
2809 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
2810
2811 [BZ #17572]
2812 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
2813 and define as weak alias of __rawmemchr.
2814 (__rawmemchr): Do not define as strong alias of rawmemchr.
2815
2816 [BZ #17571]
2817 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
2818 alias of __qsort_r.
2819 (qsort): Call __qsort_r instead of qsort_r.
2820 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
2821 (__qsort_r): Declare. Call libc_hidden_proto.
2822 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
2823 instead of qsort_r.
2824 * nscd/gai.c (__qsort_r): Define to qsort_r.
2825 * posix/tst-rfc3484.c (__qsort_r): Likewise.
2826 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
2827 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
2828
2829 [BZ #17570]
2830 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
2831 define as weak alias of __malloc_info.
2832
2833 [BZ #17584]
2834 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
2835 as weak alias of __rewinddir. Don't use libc_hidden_def.
2836 (__rewinddir): Use libc_hidden_def.
2837 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
2838 as weak alias of __rewinddir. Don't use libc_hidden_def.
2839 (__rewinddir): Use libc_hidden_def.
2840 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
2841 weak alias of __rewinddir. Don't use libc_hidden_def.
2842 (__rewinddir): Use libc_hidden_def.
2843 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
2844 (__rewinddir): Use libc_hidden_proto.
2845 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
2846 rewinddir.
2847 (__getcwd): Use __rewinddir instead of rewinddir.
2848
2849 [BZ #17583]
2850 * libio/fileno.c (fileno): Rename to __fileno and define as weak
2851 alias of __fileno. Use libc_hidden_weak.
2852 (__fileno): Use libc_hidden_def.
2853 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
2854 * libio/ftello.c (ftello): Rename to __ftello and define as weak
2855 alias of __ftello.
2856 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
2857 __ftello.
2858 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
2859 (__fread_unlocked): Define as strong alias of _IO_fread. Use
2860 libc_hidden_def.
2861 (fread_unlocked): Don't use libc_hidden_ver.
2862 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
2863 and define as weak alias of __fread_unlocked. Don't use
2864 libc_hidden_def.
2865 (__fread_unlocked): Use libc_hidden_def.
2866 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
2867 (ftello): Don't use libc_hidden_proto.
2868 (__ftello): Declare. Use libc_hidden_proto.
2869 (fread_unlocked): Don't use libc_hidden_proto.
2870 (__fread_unlocked): Declare. Use libc_hidden_proto.
2871 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
2872 and __ftello instead of fileno, fread_unlocked and ftello.
2873
28742012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2875
2876 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
2877 GOT12.
2878 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2879 Likewise.
2880 (_dl_start_user): Likewise.
2881 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
2882
28832014-11-12 Carlos O'Donell <carlos@redhat.com>
2884 Siddhesh Poyarekar <siddhesh@redhat.com>
2885
2886 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
2887 Move argv and envp down instead of moving argc up.
2888 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
2889
28902014-11-12 Leonhard Holz <leonhard.holz@web.de>
2891
2892 [BZ #17506]
2893 * test-skeleton.c (main): Return successful if one of
2894 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
2895 * string/tst-strcoll-overflow.c: Define expected status.
2896
28972014-11-12 Tatiana Udalova <t.udalova@samsung.com>
2898
2899 [BZ #17475]
2900 * locale/iso-639.def: Define Bhili and Tulu language codes.
2901
29022014-11-11 Alan Hayward <alan.hayward@arm.com>
2903
2904 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
2905
29062014-11-10 Renlin Li <Renlin.Li@arm.com>
2907
2908 [BZ #17555]
2909 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
2910
29112014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
2912
2913 * configure.ac: Updated check of minimal required version to
2914 2.22.
2915 * manual/install.texi (Tools for Compilation): Updated version
2916 number.
2917 * configure: Regenerated.
2918 * INSTALL: Likewise.
2919
29202014-11-07 Andreas Schwab <schwab@linux-m68k.org>
2921
2922 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
2923 __tls_get_addr.
2924
29252014-11-07 Joseph Myers <joseph@codesourcery.com>
2926
2927 * include/sys/wait.h (__libc_waitpid): Remove declaration.
2928 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
2929 (__waitpid): Don't define as alias. Use libc_hidden_def not
2930 libc_hidden_weak.
2931 (waitpid): Define as alias of __waitpid.
2932 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
2933 __waitpid.
2934 (__waitpid): Don't define as alias. Use libc_hidden_def not
2935 libc_hidden_weak.
2936 (waitpid): Define as alias of __waitpid.
2937 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
2938 __libc_waitpid alias.
2939 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
2940 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
2941 Likewise.
2942 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
2943 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
2944 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
2945 alias.
2946 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
2947 __waitpid.
2948 (__waitpid): Don't define as alias. Use libc_hidden_def not
2949 libc_hidden_weak.
2950 (waitpid): Define as alias of __waitpid.
2951
29522014-11-06 Carlos O'Donell <carlos@redhat.com>
2953
2954 * manual/llio.texi: Add comment that write safety has been
2955 fixed in Linux.
2956
2957 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
2958 (localplt-build-dso): Add elf/ld.so.
2959 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
2960 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
2961 and free for ld.so.
2962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
2963 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
2964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
2965 Likewise.
2966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2967 Likewise.
2968 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
2969 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
2970 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
2971 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
2972 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
2973 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
2974 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
2975 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
2976 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
2977 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
2978 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2979
29802014-11-05 Joseph Myers <joseph@codesourcery.com>
2981
2982 [BZ #14132]
2983 * include/libc-symbols.h (INTUSE): Remove macro.
2984 (INTDEF): Likewise.
2985 (INTVARDEF): Likewise.
2986 (_INTVARDEF): Likewise.
2987 (INTDEF2): Likewise.
2988 (INTVARDEF2): Likewise.
2989 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
2990 rtld_hidden_def instead of INTVARDEF.
2991 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
2992 (_dl_starting_up_internal): Remove declaration.
2993 (_dl_starting_up): Use rtld_hidden_proto.
2994 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
2995 declaration.
2996 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
2997 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
2998 _dl_starting_up.
2999 * elf/dl-writev.h (_dl_writev): Likewise.
3000 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
3001 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
3002 _dl_starting_up_internal.
3003
30042014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3005
3006 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3007 test-skeleton.c.
3008
30092014-11-05 Will Newton <will.newton@linaro.org>
3010
3011 * benchtests/Makefile: (bench-malloc): Add malloc thread
3012 scalability benchmark.
3013 * benchtests/bench-malloc-threads.c: New file.
3014
30152014-11-05 Richard Earnshaw <rearnsha@arm.com>
3016
3017 * sysdeps/aarch64/strchrnul.S: New file.
3018
30192014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3020
3021 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
3022 definition.
3023 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3024 Likwise.
3025 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3026 Likewise.
3027 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3028 Likewise.
3029 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3030 Likewise.
3031 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3032 Likewise.
3033
30342014-11-05 Arjun Shankar <arjun.is@lostca.se>
3035
3036 * catgets/test-gencat.c: Use test-skeleton.c.
3037 * catgets/tst-catgets.c: Likewise.
3038 * csu/tst-empty.c: Likewise.
3039 * elf/tst-audit2.c: Likewise.
3040 * elf/tst-global1.c: Likewise.
3041 * elf/tst-pathopt.c: Likewise.
3042 * elf/tst-piemod1.c: Likewise.
3043 * elf/tst-tls10.c: Likewise.
3044 * elf/tst-tls11.c: Likewise.
3045 * elf/tst-tls12.c: Likewise.
3046 * gnulib/tst-gcc.c: Likewise.
3047 * iconvdata/tst-e2big.c: Likewise.
3048 * iconvdata/tst-loading.c: Likewise.
3049 * iconv/tst-iconv1.c: Likewise.
3050 * iconv/tst-iconv2.c: Likewise.
3051 * inet/test-inet6_opt.c: Likewise.
3052 * inet/tst-gethnm.c: Likewise.
3053 * inet/tst-network.c: Likewise.
3054 * inet/tst-ntoa.c: Likewise.
3055 * intl/tst-codeset.c: Likewise.
3056 * intl/tst-gettext2.c: Likewise.
3057 * intl/tst-gettext3.c: Likewise.
3058 * intl/tst-ngettext.c: Likewise.
3059 * intl/tst-translit.c: Likewise.
3060 * io/test-stat.c: Likewise.
3061 * libio/test-fmemopen.c: Likewise.
3062 * libio/tst-freopen.c: Likewise.
3063 * libio/tst-sscanf.c: Likewise.
3064 * libio/tst-ungetwc1.c: Likewise.
3065 * libio/tst-ungetwc2.c: Likewise.
3066 * libio/tst-widetext.c: Likewise.
3067 * localedata/tst-ctype.c: Likewise.
3068 * localedata/tst-digits.c: Likewise.
3069 * localedata/tst-leaks.c: Likewise.
3070 * localedata/tst-mbswcs1.c: Likewise.
3071 * localedata/tst-mbswcs2.c: Likewise.
3072 * localedata/tst-mbswcs3.c: Likewise.
3073 * localedata/tst-mbswcs4.c: Likewise.
3074 * localedata/tst-mbswcs5.c: Likewise.
3075 * localedata/tst-setlocale.c: Likewise.
3076 * localedata/tst-trans.c: Likewise.
3077 * localedata/tst-wctype.c: Likewise.
3078 * localedata/tst-xlocale1.c: Likewise.
3079 * login/tst-grantpt.c: Likewise.
3080 * malloc/tst-calloc.c: Likewise.
3081 * malloc/tst-malloc.c: Likewise.
3082 * malloc/tst-mallocstate.c: Likewise.
3083 * malloc/tst-mcheck.c: Likewise.
3084 * malloc/tst-mtrace.c: Likewise.
3085 * malloc/tst-obstack.c: Likewise.
3086 * math/atest-exp2.c: Likewise.
3087 * math/atest-exp.c: Likewise.
3088 * math/atest-sincos.c: Likewise.
3089 * math/test-matherr.c: Likewise.
3090 * math/test-misc.c: Likewise.
3091 * math/test-powl.c: Likewise.
3092 * math/tst-definitions.c: Likewise.
3093 * misc/tst-dirname.c: Likewise.
3094 * misc/tst-efgcvt.c: Likewise.
3095 * misc/tst-fdset.c: Likewise.
3096 * misc/tst-hsearch.c: Likewise.
3097 * misc/tst-mntent2.c: Likewise.
3098 * nptl/tst-sem7.c: Likewise.
3099 * nptl/tst-sem8.c: Likewise.
3100 * nptl/tst-sem9.c: Likewise.
3101 * nss/test-netdb.c: Likewise.
3102 * posix/tst-fnmatch.c: Likewise.
3103 * posix/tst-getlogin.c: Likewise.
3104 * posix/tst-gnuglob.c: Likewise.
3105 * posix/tst-mmap.c: Likewise.
3106 * pwd/tst-getpw.c: Likewise.
3107 * resolv/tst-inet_ntop.c: Likewise.
3108 * rt/tst-timer.c: Likewise.
3109 * stdio-common/test-fseek.c: Likewise.
3110 * stdio-common/test-popen.c: Likewise.
3111 * stdio-common/test-vfprintf.c: Likewise.
3112 * stdio-common/tst-cookie.c: Likewise.
3113 * stdio-common/tst-fileno.c: Likewise.
3114 * stdio-common/tst-gets.c: Likewise.
3115 * stdio-common/tst-obprintf.c: Likewise.
3116 * stdio-common/tst-perror.c: Likewise.
3117 * stdio-common/tst-sprintf2.c: Likewise.
3118 * stdio-common/tst-sprintf3.c: Likewise.
3119 * stdio-common/tst-sprintf.c: Likewise.
3120 * stdio-common/tst-swprintf.c: Likewise.
3121 * stdio-common/tst-tmpnam.c: Likewise.
3122 * stdio-common/tst-unbputc.c: Likewise.
3123 * stdio-common/tst-wc-printf.c: Likewise.
3124 * stdlib/tst-environ.c: Likewise.
3125 * stdlib/tst-fmtmsg.c: Likewise.
3126 * stdlib/tst-limits.c: Likewise.
3127 * stdlib/tst-rand48-2.c: Likewise.
3128 * stdlib/tst-rand48.c: Likewise.
3129 * stdlib/tst-random2.c: Likewise.
3130 * stdlib/tst-random.c: Likewise.
3131 * stdlib/tst-strtol.c: Likewise.
3132 * stdlib/tst-strtoll.c: Likewise.
3133 * stdlib/tst-tls-atexit.c: Likewise.
3134 * stdlib/tst-xpg-basename.c: Likewise.
3135 * string/test-ffs.c: Likewise.
3136 * string/tst-bswap.c: Likewise.
3137 * string/tst-inlcall.c: Likewise.
3138 * string/tst-strtok.c: Likewise.
3139 * string/tst-strxfrm.c: Likewise.
3140 * sysdeps/x86_64/tst-audit10.c: Likewise.
3141 * sysdeps/x86_64/tst-audit3.c: Likewise.
3142 * sysdeps/x86_64/tst-audit4.c: Likewise.
3143 * sysdeps/x86_64/tst-audit5.c: Likewise.
3144 * time/tst-ftime_l.c: Likewise.
3145 * time/tst-getdate.c: Likewise.
3146 * time/tst-mktime3.c: Likewise.
3147 * time/tst-mktime.c: Likewise.
3148 * time/tst-posixtz.c: Likewise.
3149 * time/tst-strptime2.c: Likewise.
3150 * time/tst-strptime3.c: Likewise.
3151 * wcsmbs/tst-btowc.c: Likewise.
3152 * wcsmbs/tst-mbrtowc.c: Likewise.
3153 * wcsmbs/tst-mbsrtowcs.c: Likewise.
3154 * wcsmbs/tst-wchar-h.c: Likewise.
3155 * wcsmbs/tst-wcpncpy.c: Likewise.
3156 * wcsmbs/tst-wcrtomb.c: Likewise.
3157 * wcsmbs/tst-wcsnlen.c: Likewise.
3158 * wcsmbs/tst-wcstof.c: Likewise.
3159
31602014-11-04 Joseph Myers <joseph@codesourcery.com>
3161
3162 [BZ #14132]
3163 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
3164 INTDEF.
3165 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
3166 declaration.
3167 (_dl_mcount): Use rtld_hidden_proto.
3168 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
3169 _dl_mcount.
3170 * elf/rtld.c (_rtld_global_ro): Likewise.
3171
3172 [BZ #14132]
3173 * elf/dl-init.c (_dl_init): Don't use INTDEF.
3174 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
3175 of _dl_init_internal.
3176 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
3177 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
3178 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
3179 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
3180 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
3181 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
3182 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
3183 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
3184 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
3185 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
3186 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
3187 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
3188 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3189 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3190 * sysdeps/tile/dl-start.S (_start): Likewise.
3191 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
3192 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
3193
3194 [BZ #14132]
3195 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
3196 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
3197 (rtld_progname): Make macro definition unconditional.
3198 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
3199 INTDEF.
3200 (dlmopen_doit): Do not use INTUSE with _dl_argv.
3201 (dl_main): Likewise.
3202 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
3203 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
3204 instead of _dl_argv_internal.
3205 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3206 __GI__dl_argv instead of INTUSE(_dl_argv).
3207 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
3208 __GI__dl_argv instead of _dl_argv_internal.
3209
3210 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
3211 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
3212 macro.
3213 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
3214 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
3215 New macro.
3216 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
3217 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
3218 macro.
3219 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
3220 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
3221
32222014-11-04 Andreas Schwab <schwab@suse.de>
3223
3224 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
3225
32262014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3227
3228 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
3229 mtvsrd instruction in binary form.
3230
32312014-11-03 Andreas Schwab <schwab@suse.de>
3232
3233 [BZ #17522]
3234 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
3235 for less than MB_LEN_MAX use a local buffer of that size.
3236 * libio/tst-fputws.c: New file.
3237 * libio/Makefile (tests): Add tst-fputws.
3238
32392014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
3240
3241 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
3242 the size of the fpu_fr.fpu_dregs[] array.
3243
32442014-11-01 Joseph Myers <joseph@codesourcery.com>
3245
3246 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
3247 (__nanosleep): Do not define as alias.
3248 (nanosleep): Define as alias of __nanosleep.
3249 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
3250 __libc_nanosleep name.
3251
32522014-10-31 Joseph Myers <joseph@codesourcery.com>
3253
3254 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
3255 install.texi in comment.
3256
32572014-10-31 Torvald Riegel <triegel@redhat.com>
3258
3259 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
3260 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
3261 ... add here and use lwsync or sync ...
3262 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
3263 ... and add here using lwsync.
3264
32652014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
3266
3267 * elf/dl-machine-reject-phdr.h: New file.
3268 * elf/dl-load.c: #include that.
3269 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
3270 if that returned true.
3271
32722014-10-31 Roland McGrath <roland@hack.frob.com>
3273
3274 [BZ #17496]
3275 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
3276 gen-as-const-headers chunk. Add a big scare comment after the last
3277 safe place to touch before-compile.
3278
32792014-10-31 Joseph Myers <joseph@codesourcery.com>
3280
3281 * manual/install.texi (Tools for Compilation): Update autoconf
3282 version requirements.
3283 * INSTALL: Regenerated.
3284
3285 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
3286 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
3287 (__libc_pselect): Likewise.
3288
3289 [BZ #14138]
3290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
3291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3294
32952014-10-31 Torvald Riegel <triegel@redhat.com>
3296
3297 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
3298 correct barrier instruction.
3299 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
3300 Likewise.
3301 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
3302 Likewise.
3303
33042014-10-30 Roland McGrath <roland@hack.frob.com>
3305
3306 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
3307 after defining inlines. Instead, just use parens to defeat macro
3308 expansion of __isctype in its declaration.
3309
33102014-10-30 Joseph Myers <joseph@codesourcery.com>
3311
3312 * include/sys/uio.h (__libc_readv): Remove declaration.
3313 (__libc_writev): Likewise.
3314 * misc/readv.c (__libc_readv): Rename to __readv.
3315 (__readv): Do not define as alias.
3316 (readv): Define as alias of __readv.
3317 * misc/writev.c (__libc_writev): Rename to __writev.
3318 (__writev): Do not define as alias.
3319 (writev): Define as alias of __writev.
3320 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
3321 (__readv): Do not define as alias.
3322 (readv): Define unconditionally as alias of __readv.
3323 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
3324 (__writev): Do not define as alias.
3325 (writev): Define unconditionally as alias of __writev.
3326 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
3327 name.
3328 (writev): Do not define __libc_writev name.
3329
33302014-10-30 Roland McGrath <roland@hack.frob.com>
3331
3332 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
3333 (convert_charseq): New function, broken out of ...
3334 (use_from_charmap): ... here. Call it.
3335 (use_to_charmap): Use convert_charseq and free instead of duplicating
3336 its code with a variable-length stack struct.
3337
33382014-10-30 Joseph Myers <joseph@codesourcery.com>
3339
3340 * include/fcntl.h (__libc_creat): Remove declaration.
3341 * io/creat.c (__libc_creat): Rename to creat.
3342 (creat): Do not define as alias.
3343 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
3344 of creat instead of __libc_creat.
3345 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
3346 to creat.
3347 (creat): Do not define as alias.
3348 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
3349 __libc_creat.
3350 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
3351 __libc_creat name.
3352 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
3353 Likewise.
3354
33552014-10-29 Carlos O'Donell <carlos@redhat.com>
3356
3357 * manual/llio.texi: Add comments discussing why write() may be
3358 considered MT-unsafe on Linux.
3359
33602014-10-28 Carlos O'Donell <carlos@redhat.com>
3361
3362 * dl-load.c (local_strdup): Remove.
3363 (expand_dynamic_string_token): Use __strdup.
3364 (decompose_rpath): Likewise.
3365 (_dl_map_object): Likewise.
3366
33672014-10-28 Joseph Myers <joseph@codesourcery.com>
3368
3369 [BZ #14132]
3370 * sysdeps/generic/unwind-dw2-fde.c
3371 (__register_frame_info_bases_internal): Do not declare.
3372 (__register_frame_info_table_bases_internal): Likewise.
3373 (__deregister_frame_info_bases_internal): Likewise.
3374 (__register_frame_info_bases): Declare and use hidden_proto before
3375 definition. Use hidden_def instead of INTDEF.
3376 (__register_frame_info_table_bases): Likewise.
3377 (__deregister_frame_info_bases): Likewise.
3378 (__register_frame_info): Do not use INTUSE.
3379 (__register_frame): Likewise.
3380 (__register_frame_info_table): Likewise.
3381 (__register_frame_table): Likewise.
3382 (__deregister_frame_info): Likewise.
3383 (__deregister_frame): Likewise.
3384
33852014-10-27 Gratian Crisan <gratian.crisan@ni.com>
3386
3387 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3388 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
3389 not undefine.
3390 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
3391 Likewise.
3392 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
3393 Likewise.
3394
33952014-10-27 Joseph Myers <joseph@codesourcery.com>
3396
3397 [BZ #14138]
3398 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
3399 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
3400 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
3401 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
3402 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
3403 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
3404 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
3405 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
3406 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
3407 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
3408 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
3409 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
3410 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
3411 syscall.
3412 (setfsuid): Likewise.
3413 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
3414 (setfsuid): Likewise.
3415 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
3416 (setfsuid): Likewise.
3417 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
3418 Likewise.
3419 (setfsuid): Likewise.
3420 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
3421 (setfsuid): Likewise.
3422 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
3423 Likewise.
3424 (setfsuid): Likewise.
3425
34262014-10-27 Andreas Schwab <schwab@suse.de>
3427
3428 [BZ #17501]
3429 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
3430 check for Slow_SSE4_2 feature bit.
3431 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
3432 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3433 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
3434 Likewise. Fix check for Fast_Unaligned_Load feature bit.
3435
34362014-10-24 Roland McGrath <roland@hack.frob.com>
3437
3438 * configure.ac: Validate compiler version with a empirical test of
3439 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
3440 $CC -v output.
3441 * configure: Regenerated.
3442
3443 * inet/htons.c (htons): Prototypify.
3444 * inet/htonl.c (htonl): Likewise.
3445
34462014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3447
3448 * string/strncat.c (strncat): Improve performance by using strlen.
3449
34502014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3451
3452 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
3453
34542014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3455
3456 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
3457 Call libc_fetestexcept_aarch64.
3458
34592014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3460
3461 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
3462 Call libc_feholdexcept_aarch64.
3463
34642014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3465
3466 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
3467 Call get_rounding_mode.
3468
34692014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3470
3471 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3472 Simplify logic.
3473
34742014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3475
3476 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
3477 Simplify logic.
3478
34792014-10-24 Joseph Myers <joseph@codesourcery.com>
3480
3481 [BZ #14138]
3482 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
3483 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
3484 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
3485 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
3486 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
3487 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
3488 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
3489 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
3490 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
3491 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
3492 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3493 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
3494 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
3495 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
3496 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
3497 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
3498 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
3499 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
3500 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
3501 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
3502 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
3503 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
3504 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
3505 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
3506 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
3507 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
3508 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
3509 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
3510 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
3511 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
3512 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
3513 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
3514 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
3515 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
3516 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
3517 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
3518 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
3519 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
3520 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
3521 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
3522 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
3523 syscall.
3524 (geteuid): Likewise.
3525 (getgid): Likewise.
3526 (getuid): Likewise.
3527 (getresgid): Likewise.
3528 (getresuid): Likewise.
3529 (getgroups): Likewise.
3530 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
3531 (geteuid): Likewise.
3532 (getgid): Likewise.
3533 (getuid): Likewise.
3534 (getresgid): Likewise.
3535 (getresuid): Likewise.
3536 (getgroups): Likewise.
3537 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
3538 (geteuid): Likewise.
3539 (getgid): Likewise.
3540 (getuid): Likewise.
3541 (getresgid): Likewise.
3542 (getresuid): Likewise.
3543 (getgroups): Likewise.
3544 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
3545 Likewise.
3546 (geteuid): Likewise.
3547 (getgid): Likewise.
3548 (getuid): Likewise.
3549 (getresgid): Likewise.
3550 (getresuid): Likewise.
3551 (getgroups): Likewise.
3552 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
3553 (geteuid): Likewise.
3554 (getgid): Likewise.
3555 (getuid): Likewise.
3556 (getresgid): Likewise.
3557 (getresuid): Likewise.
3558 (getgroups): Likewise.
3559 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
3560 Likewise.
3561 (geteuid): Likewise.
3562 (getgid): Likewise.
3563 (getuid): Likewise.
3564 (getgroups): Likewise.
3565
3566 [BZ #14138]
3567 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
3568 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
3569 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
3570 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3571 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
3572 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
3573 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
3574 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
3575 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
3576 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
3577 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
3578 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
3579 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
3580 __chown.
3581 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
3582 (lchown): Likewise.
3583 (fchown): Likewise.
3584 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
3585 Likewise.
3586 (lchown): Likewise.
3587 (fchown): Likewise.
3588 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
3589 (lchown): Likewise.
3590 (fchown): Likewise.
3591 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
3592 Likewise.
3593 (lchown): Likewise.
3594 (fchown): Likewise.
3595
35962014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3597
3598 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
3599 Simplify logic.
3600
36012014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3602
3603 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3604 Cleanup logic.
3605
36062014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3607
3608 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3609 Remove unused include.
3610
36112014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3612
3613 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
3614 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
3615 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
3616 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
3617
36182014-10-23 Carlos O'Donell <carlos@systemhalted.org>
3619 Helge Deller <deller@gmx.de>
3620
3621 [BZ #17508]
3622 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
3623 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
3624 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
3625
36262014-10-23 Joseph Myers <joseph@codesourcery.com>
3627
3628 [BZ #14132]
3629 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
3630 Remove macro definition.
3631 (__ashrdi3_v_glibc20): Likewise.
3632 (__lshrdi3_v_glibc20): Likewise.
3633 (__cmpdi2_v_glibc20): Likewise.
3634 (__ucmpdi2_v_glibc20): Likewise.
3635 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
3636 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
3637 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
3638 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
3639 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
3640 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
3641
36422014-10-22 Roland McGrath <roland@hack.frob.com>
3643
3644 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
3645 old GNU extension [0] syntax.
3646 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
3647 alloca rather than an array member with variable length.
3648 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
3649 * nscd/nscd.c (invalidate_db): New function, broken out of ...
3650 (parse_opt): ... here. Likewise use alloca there.
3651 Validate the -i argument before checking for rootness.
3652 (send_shutdown): New function, broken out of ...
3653 (parse_opt): ... here.
3654
36552014-10-22 Roland McGrath <roland@hack.frob.com>
3656
3657 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
3658 macro to get at the _rt_local_ro field.
3659 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
3660 ([PIC] case) or _dl_hwcap ([!PIC] case).
3661 * sysdeps/arm/setjmp.S: Likewise.
3662
3663 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
3664 * sysdeps/arm/configure.ac: New check to define it.
3665 * sysdeps/arm/configure: Regenerated.
3666 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
3667 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
3668 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
3669 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
3670 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
3671 Use move/movt pair instead of a load.
3672 (LDST_GLOBAL): Macro removed.
3673 (LDR_GLOBAL): New macro replaces it.
3674 (LDR_HIDDEN): New macro.
3675 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
3676 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
3677
3678 * setjmp/tst-setjmp-static.c: New file.
3679 * setjmp/Makefile (tests): Add it.
3680 (tests-static): New variable.
3681
36822014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
3683
3684 [BZ #17485]
3685 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
3686
36872014-10-21 Joseph Myers <joseph@codesourcery.com>
3688
3689 [BZ #14132]
3690 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
3691
36922014-10-21 Roland McGrath <roland@hack.frob.com>
3693
3694 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
3695
36962014-10-20 Roland McGrath <roland@hack.frob.com>
3697
3698 * io/fts.c (dirent_not_directory): New function.
3699 (fts_build): Call it.
3700
37012014-10-20 Roland McGrath <roland@hack.frob.com>
3702
3703 * nptl/version.c (__nptl_main): Use normal __write rather than
3704 INTERNAL_SYSCALL.
3705 (banner): Update copyright years.
3706
3707 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
3708 gettimeofday.
3709 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3710 * nptl/pthread_cond_timedwait.c: Likewise.
3711 * nptl/pthread_mutex_timedlock.c: Likewise.
3712 * nptl/sem_timedwait.c: Likewise.
3713
3714 * sysdeps/nptl/bits/libc-lock.h
3715 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3716 (__libc_lock_init_recursive): Return void, not 0.
3717 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
3718 (__libc_rwlock_init): Likewise.
3719 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
3720
37212014-10-20 Torvald Riegel <triegel@redhat.com>
3722
3723 [BZ #15215]
3724 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
3725 (__pthread_once_slow): ... here.
3726 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
3727 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
3728
37292014-10-20 Torvald Riegel <triegel@redhat.com>
3730
3731 [BZ #15215]
3732 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
3733 __PTHREAD_ONCE_FORK_GEN_INCR): New.
3734 * sysdeps/nptl/fork.c (__libc_fork): Use them.
3735 * nptl/pthread_once.c (__pthread_once): Likewise.
3736 Update comments.
3737
37382014-10-20 Joseph Myers <joseph@codesourcery.com>
3739
3740 [BZ #14138]
3741 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
3742 name.
3743 (writev): Use __libc_writev as strong name.
3744 * sysdeps/unix/sysv/linux/readv.c: Remove file.
3745 * sysdeps/unix/sysv/linux/writev.c: Likewise.
3746
37472014-10-17 Roland McGrath <roland@hack.frob.com>
3748
3749 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
3750
3751 * sysdeps/i386/nptl/tls.h
3752 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
3753 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
3754 New macros.
3755 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
3756 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
3757 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
3758 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
3759 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
3760 Call CHECK_THREAD_SYSINFO instead of doing an assert.
3761
3762 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3763 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
3764 on [__NR_futex].
3765 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
3766 broken out of ...
3767 (__pthread_mutex_init): ... here. Call it.
3768 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
3769 Conditionalize PI cases on [__NR_futex].
3770 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3771 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
3772 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3773
3774 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
3775 conditional on [SIGSETXID].
3776 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
3777 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
3778 is defined. Likewise for SIGSETXID.
3779 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
3780 Conditionalize definitions on [SIGSETXID].
3781 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
3782 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
3783 unblocking on [SIGCANCEL].
3784
3785 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
3786 [__NR_set_robust_list].
3787
37882014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3789
3790 * string/strcoll_l.c (get_next_seq): Fix up formatting.
3791 (do_compare): Likewise.
3792
37932014-10-17 Leonhard Holz <leonhard.holz@web.de>
3794
3795 [BZ #15884]
3796 * string/strcoll_l.c: Don't include stdio.h.
3797 (coll_seq): Remove members idxarr and rulearr.
3798 (get_next_seq_cached): Remove function.
3799 (get_next_seq): Likewise.
3800 (get_next_seq_nocache): Rename to get_next_seq.
3801 (do_compare): Remove function.
3802 (do_compare_nocache): Rename to do_compare.
3803 (STRCOLL): Remove weight and rules cache.
3804
38052014-10-16 Roland McGrath <roland@hack.frob.com>
3806
3807 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
3808 * sysdeps/arm/sfp-machine.h: ... to here.
3809 * sysdeps/arm/Implies: Remove arm/soft-fp.
3810
38112014-10-14 Joseph Myers <joseph@codesourcery.com>
3812
3813 * conform/data/sys/utsname.h-data (*_t): Allow.
3814 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
3815 [POSIX] (WEXITED): Do not expect constant.
3816 [POSIX] (WSTOPPED): Likewise.
3817 [POSIX] (WNOHANG): Likewise.
3818 [POSIX] (WNOWAIT): Likewise.
3819 [POSIX] (siginfo_t): Do not expect type or elements.
3820 [POSIX] (pid_t): Do not expect type.
3821 [POSIX] (signal.h): Do not allow header.
3822 [POSIX] (sys/resource.h): Likewise.
3823 [POSIX] (si_*): Do not allow pattern.
3824 [POSIX] (W*): Likewise.
3825 [POSIX] (P_*): Likewise.
3826 [POSIX] (BUS_*): Likewise.
3827 [POSIX] (CLD_*): Likewise.
3828 [POSIX] (FPE_*): Likewise.
3829 [POSIX] (ILL_*): Likewise.
3830 [POSIX] (POLL_*): Likewise.
3831 [POSIX] (SEGV_*): Likewise.
3832 [POSIX] (SI_*): Likewise.
3833 [POSIX] (TRAP_*): Likewise.
3834 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
3835 variable.
3836
38372014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
3838
3839 [BZ #12926]
3840 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
3841 infinite loop when __recvmsg returns 0.
3842
38432014-10-10 Joseph Myers <joseph@codesourcery.com>
3844
3845 * CANCEL-FCT-WAIVE: Remove file.
3846 * CANCEL-FILE-WAIVE: Likewise.
3847
3848 [BZ #14132]
3849 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
3850 instead of INTVARDEF.
3851 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3852 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
3853 rtld_hidden_data_def instead of INTVARDEF.
3854 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3855 * elf/dl-deps.c (expand_dst): Likewise.
3856 * elf/dl-load.c (_dl_dst_count): Likewise.
3857 (_dl_dst_substitute): Likewise.
3858 (decompose_rpath): Likewise.
3859 (_dl_init_paths): Likewise.
3860 (open_path): Likewise.
3861 (_dl_map_object): Likewise.
3862 * elf/rtld.c (dl_main): Likewise.
3863 (process_dl_audit): Likewise.
3864 (process_envvars): Likewise.
3865 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
3866 Remove declaration.
3867 (__libc_enable_secure): Use rtld_hidden_proto.
3868
38692014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3870
3871 * elf/dl-load.c
3872 (add_path): New function broken out of _dl_rtld_di_serinfo.
3873 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
3874
38752014-10-09 Joseph Myers <joseph@codesourcery.com>
3876
3877 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
3878 parentheses around macro arguments.
3879 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
3880 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
3881 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
3882 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
3883 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
3884 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3885 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3886 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
3887 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
3888 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
3889 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
3890 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
3891 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
3892 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
3893 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
3894 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
3895 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
3896 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
3897 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
3898 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
3899 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
3900 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
3901 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
3902 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3903 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3904 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
3905 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
3906 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
3907 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
3908 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
3909 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
3910 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
3911 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
3912 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
3913 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
3914 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
3915 Likewise.
3916 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
3917 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3918 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3919 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
3920 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
3921 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
3922 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
3923 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
3924 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
3925 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
3926 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
3927 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
3928 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
3929 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
3930 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
3931 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3932 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3933 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
3934 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
3935 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
3936 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
3937 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
3938 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
3939 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
3940 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
3941 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
3942 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
3943 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
3944 (_FP_FRAC_SRS_1): Likewise.
3945 (_FP_FRAC_CLZ_1): Likewise.
3946 (_FP_MUL_MEAT_1_imm): Likewise.
3947 (_FP_MUL_MEAT_1_wide): Likewise.
3948 (_FP_MUL_MEAT_1_hard): Likewise.
3949 (_FP_SQRT_MEAT_1): Likewise.
3950 (_FP_FRAC_ASSEMBLE_1): Likewise.
3951 (_FP_FRAC_DISASSEMBLE_1): Likewise.
3952 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
3953 (__FP_CLZ_2): Likewise.
3954 (_FP_MUL_MEAT_2_wide): Likewise.
3955 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3956 (_FP_MUL_MEAT_2_gmp): Likewise.
3957 (_FP_MUL_MEAT_2_120_240_double): Likewise.
3958 (_FP_SQRT_MEAT_2): Likewise.
3959 (_FP_FRAC_ASSEMBLE_2): Likewise.
3960 (_FP_FRAC_DISASSEMBLE_2): Likewise.
3961 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
3962 (_FP_FRAC_CLZ_4): Likewise.
3963 (_FP_MUL_MEAT_4_wide): Likewise.
3964 (_FP_MUL_MEAT_4_gmp): Likewise.
3965 (_FP_SQRT_MEAT_4): Likewise.
3966 (_FP_FRAC_ASSEMBLE_4): Likewise.
3967 (_FP_FRAC_DISASSEMBLE_4): Likewise.
3968 * soft-fp/op-common.h (_FP_CMP): Likewise.
3969 (_FP_CMP_EQ): Likewise.
3970 (_FP_CMP_UNORD): Likewise.
3971 (_FP_TO_INT): Likewise.
3972 (_FP_FROM_INT): Likewise.
3973 [!__FP_CLZ] (__FP_CLZ): Likewise.
3974 (_FP_DIV_HELP_imm): Likewise.
3975 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
3976 Likewise.
3977 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
3978 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
3979 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
3980 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
3981 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
3982 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3983 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3984 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
3985 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
3986 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
3987 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
3988 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
3989 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
3990 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
3991 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
3992 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
3993 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
3994 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
3995 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
3996 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
3997 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
3998 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
3999 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
4000 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4001 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4002 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
4003 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
4004 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
4005 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
4006 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
4007 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
4008 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
4009 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
4010 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
4011 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
4012 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
4013 (FP_UNPACK_RAW_SP): Likewise.
4014 (FP_PACK_RAW_S): Likewise.
4015 (FP_PACK_RAW_SP): Likewise.
4016 (FP_UNPACK_S): Likewise.
4017 (FP_UNPACK_SP): Likewise.
4018 (FP_UNPACK_SEMIRAW_S): Likewise.
4019 (FP_UNPACK_SEMIRAW_SP): Likewise.
4020 (FP_PACK_S): Likewise.
4021 (FP_PACK_SP): Likewise.
4022 (FP_PACK_SEMIRAW_S): Likewise.
4023 (FP_PACK_SEMIRAW_SP): Likewise.
4024 (_FP_SQRT_MEAT_S): Likewise.
4025 (FP_CMP_S): Likewise.
4026 (FP_CMP_EQ_S): Likewise.
4027 (FP_CMP_UNORD_S): Likewise.
4028 (FP_TO_INT_S): Likewise.
4029 (FP_FROM_INT_S): Likewise.
4030
4031 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
4032
4033 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
4034 (FP_EX_INVALID_IMZ): Likewise.
4035 (FP_EX_INVALID_IMZ_FMA): Likewise.
4036 (FP_EX_INVALID_ISI): Likewise.
4037 (FP_EX_INVALID_ZDZ): Likewise.
4038 (FP_EX_INVALID_IDI): Likewise.
4039 (FP_EX_INVALID_SQRT): Likewise.
4040 (FP_EX_INVALID_CVI): Likewise.
4041 (FP_EX_INVALID_VC): Likewise.
4042 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
4043 "invalid" exceptions.
4044 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
4045 (_FP_ADD_INTERNAL): Likewise.
4046 (_FP_MUL): Likewise.
4047 (_FP_FMA): Likewise.
4048 (_FP_DIV): Likewise.
4049 (_FP_CMP_CHECK_NAN): Likewise.
4050 (_FP_SQRT): Likewise.
4051 (_FP_TO_INT): Likewise.
4052 (FP_EXTEND): Likewise.
4053
40542014-10-09 Allan McRae <allan@archlinux.org>
4055
4056 * po/fr.po: Update French translation from translation project.
4057
40582014-10-09 Joseph Myers <joseph@codesourcery.com>
4059
4060 [BZ #14132]
4061 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
4062 of INTDEF.
4063 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
4064 (__cxa_atexit): Use libc_hidden_proto.
4065 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
4066
4067 [BZ #14132]
4068 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
4069 declaration.
4070 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
4071 [!_ISOMAC] (__iswspace_l_internal): Likewise.
4072 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
4073 [!_ISOMAC] (__iswctype_internal): Likewise.
4074 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
4075 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
4076 alias.
4077 (fcntl): Remove __fcntl_internal alias.
4078 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
4079 __connect_internal alias.
4080 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
4081 Likewise.
4082
4083 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
4084 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
4085 FP_DENORM_ZERO.
4086 (_FP_CHECK_FLUSH_ZERO): New macro.
4087 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
4088 (_FP_CMP): Likewise.
4089 (_FP_CMP_EQ): Likewise.
4090 (_FP_TO_INT): Do not set inexact for subnormal arguments if
4091 FP_DENORM_ZERO.
4092 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
4093 (FP_TRUNC): Likewise.
4094
4095 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
4096 treated as invalid conversion, not as normal exponent.
4097
4098 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
4099 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
4100 (_FP_CMP_EQ): Likewise.
4101 (_FP_CMP_UNORD): Likewise.
4102 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
4103 (FP_CMP_EQ_D): Likewise.
4104 (FP_CMP_UNORD_D): Likewise.
4105 * soft-fp/extended.h (FP_CMP_E): Likewise.
4106 (FP_CMP_EQ_E): Likewise.
4107 (FP_CMP_UNORD_E): Likewise.
4108 * soft-fp/quad.h (FP_CMP_Q): Likewise.
4109 (FP_CMP_EQ_Q): Likewise.
4110 (FP_CMP_UNORD_Q): Likewise.
4111 * soft-fp/single.h (FP_CMP_S): Likewise.
4112 (FP_CMP_EQ_S): Likewise.
4113 (FP_CMP_UNORD_S): Likewise.
4114 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
4115 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
4116 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
4117 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
4118 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
4119 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
4120 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
4121 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
4122 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
4123 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
4124 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
4125 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
4126 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
4127 to FP_CMP_Q.
4128 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
4129 FP_CMP_Q.
4130 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
4131 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
4132 FP_CMP_EQ_Q.
4133 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
4134 FP_CMP_Q.
4135 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
4136 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
4137 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
4138 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
4139 FP_CMP_EQ_Q.
4140 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
4141 FP_CMP_Q.
4142 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
4143 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
4144 FP_CMP_EQ_Q.
4145 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
4146 FP_CMP_Q.
4147 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
4148 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
4149 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
4150 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
4151 FP_CMP_EQ_Q.
4152
4153 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
4154 a subnormal result, set the underflow exception if trapping on
4155 underflow is enabled.
4156 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
4157 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
4158 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
4159 redefine to 0.
4160 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
4161 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4162 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4163 * soft-fp/extendxftf2.c (__extendxftf2): Use
4164 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
4165
4166 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
4167 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
4168 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4169 FP_HANDLE_EXCEPTIONS.
4170 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
4171 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4172 FP_HANDLE_EXCEPTIONS.
4173 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
4174 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4175 FP_HANDLE_EXCEPTIONS.
4176 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
4177 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4178 FP_HANDLE_EXCEPTIONS.
4179
41802014-10-08 Joseph Myers <joseph@codesourcery.com>
4181
4182 [BZ #14132]
4183 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
4184 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
4185 use INTUSE.
4186 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
4187 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
4188 Remove alias.
4189 (__adjtimex): Define using libc_hidden_ver.
4190 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
4191 Remove declaration.
4192 (ntp_gettime): Call __adjtimex directly.
4193 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
4194 Remove declaration.
4195 (ntp_gettimex): Call __adjtimex directly.
4196 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
4197 __adjtimex_internal alias.
4198
41992014-10-08 Roland McGrath <roland@hack.frob.com>
4200
4201 [BZ #17460]
4202 * nscd/nscd.c (more_help): Rewrite list of tables collection
4203 using xstrdup and asprintf.
4204
4205 * nscd/nscd_conf.c: Remove local xstrdup declaration.
4206
42072014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4208 Roland McGrath <roland@hack.frob.com>
4209
4210 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
4211 (do_lookup_unique): ... local function 'enter' here; update callers.
4212
42132014-10-06 Joseph Myers <joseph@codesourcery.com>
4214
4215 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
4216 compat_symbol calls on [SHARED].
4217 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
4218 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
4219 Remove.
4220 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4221 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
4222 (oldsetrlimit): Remove.
4223 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4225 (lchown): New syscall entry.
4226 (oldsetrlimit): Remove.
4227 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4228 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
4229 (oldsetrlimit): Remove.
4230 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4231
4232 [BZ #14138]
4233 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
4234 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
4235 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
4236 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
4237 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4238 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
4239 (fchown): Likewise.
4240 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
4241 (fchown): Likewise.
4242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
4243 Likewise.
4244
42452014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4246
4247 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
4248 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
4249 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
4250 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
4251 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
4252 Likewise.
4253 (__old_sem_post): Likewise.
4254
42552014-10-06 Chris Metcalf <cmetcalf@tilera.com>
4256
4257 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
4258 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
4259 HAVE_CLOCK_GETTIME_VSYSCALL macros.
4260 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
4261 Use INLINE_VSYSCALL macro.
4262 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
4263 __vdso_clock_gettime.
4264 * sysdeps/unix/sysv/linux/tile/init-first.c
4265 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
4266 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
4267 __vdso_clock_gettime.
4268
4269 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
4270 to set up frame more cleanly.
4271
4272 * sysdeps/tile/memcmp.c: New file.
4273
4274 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
4275
4276 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
4277 * sysdeps/tile/tilegx/strcasestr.c: New file.
4278 * sysdeps/tile/tilegx/strnlen.c: New file.
4279 * sysdeps/tile/tilegx/strstr.c: New file.
4280
4281 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
4282
42832014-10-06 Arjun Shankar <arjun.is@lostca.se>
4284
4285 * nptl/tst-setuid3.c: Write errors to stdout.
4286
42872014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4288
4289 * elf/dl-deps.c
4290 (preload): New functions broken out of _dl_map_object_deps.
4291 (_dl_map_object_deps): Remove a nested function. Update call sites.
4292
42932014-10-01 Joseph Myers <joseph@codesourcery.com>
4294
4295 [BZ #14138]
4296 * sysdeps/unix/sysv/linux/execve.c: Remove file.
4297 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
4298
42992014-10-01 Steve Ellcey <sellcey@mips.com>
4300
4301 * sysdeps/mips/strcmp.S: New.
4302
43032014-09-30 Joseph Myers <joseph@codesourcery.com>
4304
4305 [BZ #14138]
4306 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
4307 (linkat): Likewise.
4308 (mkdirat): Likewise.
4309 (readlinkat): Likewise.
4310 (renameat): Likewise.
4311 (symlinkat): Likewise.
4312 (unlinkat): Likewise.
4313 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
4314 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
4315 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
4316 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
4317 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
4318 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
4319 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
4320
43212014-09-30 Will Newton <will.newton@linaro.org>
4322
4323 * math/math.h: Define long double math functions if
4324 _LIBC_TEST is defined.
4325 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
4326
4327 * localedata/Makefile: Move assignment to tests-special
4328 into an ifdef testing run-built-tests.
4329 * timezone/Makefile: Likewise.
4330
43312014-09-29 Joseph Myers <joseph@codesourcery.com>
4332
4333 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
4334 with $(BASH) not $(SHELL).
4335
43362014-09-29 Carlos O'Donell <carlos@redhat.com>
4337 Matthew LeGendre <legendre1@llnl.gov>
4338
4339 [BZ #17411]
4340 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
4341 l_reloc_result.
4342
43432014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4344
4345 * stdio-common/printf_fp.c
4346 (hack_digit): New function, broken out of ...
4347 (__printf_fp): ... local function here. Update call sites.
4348 hack_digit now takes an additional parameter that is a pointer
4349 to a struct of the referenced locals. Those locals moved inside
4350 the struct and references updated.
4351
43522014-09-29 H.J. Lu <hongjiu.lu@intel.com>
4353
4354 * aclocal.m4: Require autoconf 2.69.
4355 * configure: Regenerated.
4356 * sysdeps/aarch64/configure: Likewise.
4357 * sysdeps/alpha/configure: Likewise.
4358 * sysdeps/arm/armv7/configure: Likewise.
4359 * sysdeps/arm/configure: Likewise.
4360 * sysdeps/ia64/configure: Likewise.
4361 * sysdeps/mach/configure: Likewise.
4362 * sysdeps/mips/configure: Likewise.
4363 * sysdeps/s390/configure: Likewise.
4364 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
4365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
4366
4367 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
4368 file.
4369 * sysdeps/ia64/configure.ac: Likewise.
4370
43712014-09-26 Joseph Myers <joseph@codesourcery.com>
4372
4373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
4374 specify symbol version for ld.so. Do not include entry for
4375 libpthread.
4376 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4377 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4378 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4379
4380 [BZ #14171]
4381 * Makeconfig [$(build-shared) = yes]
4382 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
4383 makefiles.
4384 [$(build-shared) = yes && $(soversions.mk-done) = t]
4385 ($(common-objpfx)gnu/lib-names.h): Remove rule.
4386 [$(build-shared) = yes && $(soversions.mk-done) = t]
4387 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
4388 to Makerules.
4389 [$(build-shared) = yes && $(soversions.mk-done) = t]
4390 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
4391 here.
4392 [$(build-shared) = yes && $(soversions.mk-done) = t]
4393 (common-generated): Don't append gnu/lib-names.h and
4394 gnu/lib-names.stmp here.
4395 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
4396 (lib-names-h-abi): New variable.
4397 [$(build-shared) = yes && $(soversions.mk-done) = t]
4398 (lib-names-stmp-abi): Likewise.
4399 [$(build-shared) = yes && $(soversions.mk-done) = t &&
4400 abi-variants] (before-compile): Append
4401 $(common-objpfx)$(lib-names-h-abi).
4402 [$(build-shared) = yes && $(soversions.mk-done) = t &&
4403 abi-variants] (common-generated): Append gnu/lib-names.h.
4404 [$(build-shared) = yes && $(soversions.mk-done) = t &&
4405 abi-variants] (install-others-nosubdir): Depend on
4406 $(inst_includedir)/$(lib-names-h-abi).
4407 [$(build-shared) = yes && $(soversions.mk-done) = t &&
4408 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
4409 [$(build-shared) = yes && $(soversions.mk-done) = t]
4410 ($(common-objpfx)$(lib-names-h-abi)): New rule.
4411 [$(build-shared) = yes && $(soversions.mk-done) = t]
4412 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
4413 [$(build-shared) = yes && $(soversions.mk-done) = t]
4414 (common-generated): Append $(lib-names-h-abi) and
4415 $(lib-names-stmp-abi).
4416 * scripts/lib-names.awk: Do not handle multi being set.
4417 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
4418 Remove variable.
4419 (abi-lp64_be-ld-soname): Likewise.
4420 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
4421 Likewise.
4422 (abi-hard-ld-soname): Likewise.
4423 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
4424 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
4425 Remove variable.
4426 (abi-o32_hard-ld-soname): Likewise.
4427 (abi-o32_soft_2008-ld-soname): Likewise.
4428 (abi-o32_hard_2008-ld-soname): Likewise.
4429 (abi-n32_soft-ld-soname): Likewise.
4430 (abi-n32_hard-ld-soname): Likewise.
4431 (abi-n32_soft_2008-ld-soname): Likewise.
4432 (abi-n32_hard_2008-ld-soname): Likewise.
4433 (abi-n64_soft-ld-soname): Likewise.
4434 (abi-n64_hard-ld-soname): Likewise.
4435 (abi-n64_soft_2008-ld-soname): Likewise.
4436 (abi-n64_hard_2008-ld-soname): Likewise.
4437 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
4438 Likewise.
4439 (abi-64-v2-ld-soname): Likewise.
4440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
4441 ld.so entries.
4442 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
4443 variable.
4444 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
4445 entry.
4446 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
4447 variable.
4448 (abi-64-ld-soname): Likewise.
4449 (abi-x32-ld-soname): Likewise.
4450 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
4451 entry.
4452 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4453
44542014-09-23 Joseph Myers <joseph@codesourcery.com>
4455
4456 [BZ #14138]
4457 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
4458 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
4459 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
4460 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
4461 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
4462 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
4463 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
4464 syscall entry for GLIBC_2.2 symbol version.
4465 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
4466 Likewise.
4467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4468 (setrlimit): Likewise.
4469 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
4470 Likewise.
4471
44722014-09-23 Will Newton <will.newton@linaro.org>
4473
4474 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
4475 _LINUX_ARM_SYSDEP_H include guard too.
4476 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
4477 define.
4478
44792014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4480
4481 * sysdeps/unix/sysv/linux/eventfd.c:
4482 Make first argument unsigned.
4483 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
4484 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
4485
44862014-09-20 Ondřej Bílka <neleai@seznam.cz>
4487
4488 * socket/recvmmsg.c (recvmmsg): Drop const argument.
4489 * socket/sys/socket.h: Likewise
4490 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
4491
44922014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4493
4494 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
4495
44962014-09-17 Arjun Shankar <arjun.is@lostca.se>
4497
4498 * time/tst-ftime.c: New test.
4499 * time/Makefile (tests): Add tst-ftime.
4500
45012014-09-17 Joseph Myers <joseph@codesourcery.com>
4502
4503 * soft-fp/extended.h: Fix comment formatting.
4504 * soft-fp/op-1.h: Likewise.
4505 * soft-fp/op-2.h: Likewise.
4506 * soft-fp/op-4.h: Likewise.
4507 * soft-fp/op-8.h: Likewise.
4508 * soft-fp/op-common.h: Likewise.
4509 * soft-fp/soft-fp.h: Likewise.
4510
4511 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
4512
45132014-09-16 Joseph Myers <joseph@codesourcery.com>
4514
4515 [BZ #6652]
4516 * Makeconfig (soversions-default-setname): Remove variable.
4517 ($(common-objpfx)soversions.i): Don't pass default_setname to
4518 soversions.awk.
4519 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
4520 oldest_abi to abi-versions.awk.
4521 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
4522 * config.make.in (oldest-abi): Remove variable.
4523 * configure.ac (--enable-oldest-abi): Remove configure option.
4524 * configure: Regenerated.
4525 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
4526 text.
4527 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
4528 * scripts/soversions.awk: Do not handle default_setname variable.
4529 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
4530 variable.
4531 * sysdeps/mach/hurd/configure: Regenerated.
4532 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
4533 variable.
4534 * sysdeps/unix/sysv/linux/configure: Regenerated.
4535
45362014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4537
4538 * elf/Makefile (CFLAGS-interp.c): Remove.
4539 ($(elf-objpfx)runtime-linker.h): Generate header with linker
4540 path string.
4541 * elf/interp.c: Include generated runtime-linker.h
4542
4543 * Makerules (lib%.so): Don't include $(+interp) in
4544 prerequisites.
4545 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
4546 * dlfcn/eval.c: Remove file.
4547
4548 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
4549 macros.
4550
4551 [BZ #17266]
4552 * misc/sys/cdefs.h: Define __extern_always_inline for clang
4553 4.2 and newer.
4554
4555 [BZ #17370]
4556 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
4557
45582014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4559 Jakub Jelinek <jakub@redhat.com>
4560
4561 [BZ #17266]
4562 * libio/stdio.h: Check definition of __fortify_function
4563 instead of __extern_always_inline to include bits/stdio2.h.
4564 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
4565 check if __extern_always_inline is defined.
4566 [__USE_MISC || __USE_XOPEN]: Likewise.
4567 [__USE_ISOC99] Likewise.
4568 * misc/sys/cdefs.h (__fortify_function): Define only if
4569 __extern_always_inline is defined.
4570 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
4571 __extern_always_inline and __extern_inline only for g++-4.3
4572 and newer or a compatible gcc.
4573
45742014-09-15 Andreas Schwab <schwab@linux-m68k.org>
4575
4576 [BZ #17371]
4577 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4578 last change to handle zero prefix length.
4579
45802014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4581
4582 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
4583 _SC_REGEX_VERSION.
4584
4585 * posix/getconf.c (vars): Add _POSIX_IPV6 and
4586 _POSIX_RAW_SOCKETS.
4587
45882014-09-13 Allan McRae <allan@archlinux.org>
4589
4590 * po/ru.po: Update Russian translation from translation project.
4591
45922014-09-12 Roland McGrath <roland@hack.frob.com>
4593
4594 * locale/programs/locale.c (show_locale_vars): Inline local function
4595 into its sole call site. Clean up some style nits.
4596 (print_item): New function, broken out of ...
4597 (show_info): ... local function here. Clean up style nits.
4598
4599 * locale/programs/ld-ctype.c (set_one_default): New function, broken
4600 out of ...
4601 (set_class_defaults): ... local function set_default here.
4602 Define set_default as a macro locally to pass constant parameters.
4603 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
4604 rather than a shared local.
4605
4606 * stdlib/rpmatch.c (try): New function, broken out of ...
4607 (rpmatch): ... local function here. Also, prototypify definition.
4608
46092014-09-12 Joseph Myers <joseph@codesourcery.com>
4610
4611 * scripts/soversions.awk: Do not handle configuration names.
4612 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
4613 vendor and os variables to soversions.awk.
4614 * configure.ac: Do not modify gnu-* host_os.
4615 * configure: Regenerated
4616 * shlib-versions: Remove first column with configuration names.
4617 * nptl/shlib-versions: Likewise.
4618 * nptl_db/shlib-versions: Likewise.
4619 * sysdeps/hppa/shlib-versions: Likewise.
4620 * sysdeps/m68k/shlib-versions: Likewise.
4621 * sysdeps/mach/hurd/shlib-versions: Likewise.
4622 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
4623 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
4624 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
4625 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
4626 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
4627 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
4628 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
4629 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
4630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4631 Likewise.
4632 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4633 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4634 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4635 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4636 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4637 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
4638 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4639 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4640
4641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4642 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
4643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4644 Regenerated.
4645 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
4646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4647 Condition symbol version definitions on [HAVE_ELFV2_ABI].
4648
4649 * shlib-versions: Remove OS-specific entries. Moved to files in
4650 sysdeps.
4651 * sysdeps/mach/hurd/shlib-versions: New file.
4652 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4653
4654 * nptl/shlib-versions: Remove architecture-specific entries.
4655 Moved to files in sysdeps.
4656 * shlib-versions: Likewise.
4657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
4658 file.
4659 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4660 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4661 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4662 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4663
4664 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
4665 (UDP_NO_CHECK6_RX): Likewise.
4666
46672014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4668
4669 * sysdeps/posix/sysconf.c (__sysconf): Spell
4670 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
4671
46722014-08-12 Florian Weimer <fweimer@redhat.com>
4673
4674 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
4675 loading.
4676 * iconv/Versions (__gconv_transliterate): Export for use from
4677 gconv modules.
4678 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
4679 (struct __gconv_trans_data, __gconv_trans_fct,
4680 __gconv_trans_context_fct, __gconv_trans_query_fct,
4681 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
4682 definitions.
4683 (struct __gconv_step_data): Remove __trans member.
4684 (__gconv_transliterate): Declaration moved from gconv_int.h. No
4685 longer hidden. Remove unused trans_data argument.
4686 * iconv/gconv_int.h (struct trans_struct): Remove definition.
4687 (__gconv_translit_find): Remove declaration.
4688 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
4689 prototype.
4690 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
4691 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
4692 trans_data argument. Add hidden definition.
4693 (__gconv_translit_find): Remove.
4694 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
4695 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
4696 * iconv/skeleton.c: Remove transliteration initialization.
4697 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
4698 __gconv_step_data initialization.
4699 * libio/iofwide.c (__libio_translit_): Remove.
4700 (_IO_fwide): Adjust struct __gconv_step_data initialization.
4701 * wcsmbs/btowc.c (__btowc): Likewise.
4702 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4703 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4704 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
4705 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
4706 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
4707 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
4708 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
4709 * wcsmbs/wctob.c (wctob): Likewise.
4710
47112014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4712
4713 [BZ #16194]
4714 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
4715 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
4716 register usage.
4717 * sysdeps/x86/Makefile: Adjust.
4718
47192014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4720 Roland McGrath <roland@hack.frob.com>
4721
4722 * locale/weight.h: Add include guard.
4723 (findidx): Make static rather than auto; take new parameters
4724 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
4725 * locale/weightwc.h: Likewise.
4726 * posix/fnmatch_loop.c
4727 (FCT): Change type of EXTRA from int32_t to wint_t.
4728 Don't include either header inside the function.
4729 Call FINDIDX rather than findidx, and pass new arguments.
4730 #undef FINDIDX at the end of the file.
4731 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
4732 FINDIDX before including fnmatch_loop.c for the non-wide version.
4733 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
4734 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
4735 for the wide version.
4736 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
4737 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
4738 Pass new arguments to findidx.
4739 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
4740 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
4741 Don't #include it inside the function. Pass new arguments to findidx.
4742 * posix/regex_internal.h
4743 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
4744 (re_string_elem_size_at): Don't #include it inside the function.
4745 Pass new arguments to findidx.
4746 * string/strcoll_l.c: #include WEIGHT_H at top level.
4747 (get_next_seq): Don't #include it inside the function.
4748 Pass new arguments to findidx.
4749 (get_next_seq_nocache): Likewise.
4750 * string/strxfrm_l.c: #include WEIGHT_H at top level.
4751 (STRXFRM): Don't #include it inside the function.
4752 Pass new arguments to findidx.
4753
47542014-09-11 Florian Weimer <fweimer@redhat.com>
4755
4756 [BZ #17344]
4757 * malloc/malloc.c (unlink): Turn asserts into a call to
4758 malloc_printerr.
4759
47602014-09-11 Tim Lammens <tim.lammens@gmail.com>
4761
4762 [BZ #17370]
4763 * libio/wfileops (do_ftell_wide): Free OUT.
4764
47652014-09-10 Chris Metcalf <cmetcalf@tilera.com>
4766
4767 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
4768
47692014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4770
4771 [BZ #17363]
4772 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
4773 group if the current group is empty.
4774
47752014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4776
4777 * benchtests/bench-memset.c (test_main): Add more test from size
4778 from 32 to 512 bytes.
4779 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4780 Add POWER8 memset object.
4781 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4782 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
4783 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
4784 implementation.
4785 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
4786 Likewise.
4787 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
4788 multiarch POWER8 memset optimization.
4789 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
4790 POWER8 memset optimization.
4791
4792 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4793 Remove bzero multiarch objects.
4794 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
4795 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
4796 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
4797 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
4798 Remove define.
4799 [__bzero]: Redefine to specific name.
4800 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
4801 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
4802 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
4803 define.
4804 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4805 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4806
48072014-09-10 Florian Weimer <fweimer@redhat.com>
4808
4809 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
4810 warnings into errors.
4811
4812 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
4813 __cxa_thread_atexit_impl prototype.
4814
48152014-09-09 Steve Ellcey <sellcey@mips.com>
4816
4817 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
4818 Fix capitalization of error message.
4819
48202014-09-09 Steve Ellcey <sellcey@mips.com>
4821
4822 * sysdeps/mips/preconfigure: Modify ABI tests.
4823
48242014-09-07 Carlos O'Donell <carlos@systemhalted.org>
4825
4826 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
4827
48282014-09-07 Roland McGrath <roland@hack.frob.com>
4829 Carlos O'Donell <carlos@systemhalted.org>
4830
4831 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
4832 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
4833 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
4834 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
4835 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
4836 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
4837 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
4838 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
4839 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
4840 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
4841 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
4842 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
4843 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
4844 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
4845 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
4846 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
4847 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
4848 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
4849 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
4850 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
4851 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
4852 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
4853 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
4854 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
4855 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
4856 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
4857 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
4858 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
4859 Deconditionalize the code that was previously under [RESET_PID].
4860 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
4861 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
4862 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
4863 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
4864 include sysdep.h.
4865
48662014-09-08 Allan McRae <allan@archlinux.org>
4867
4868 * version.h (RELEASE): Set to "development".
4869 (VERSION): Set to "2.20.90"
4870
48712014-09-07 Allan McRae <allan@archlinux.org
4872
4873 * version.h (RELEASE): Set to "stable".
4874 (VERSION): Set to "2.20"
4875 * include/features.h (__GLIBC_MINOR__): Set to 20.
4876
4877 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
4878 Liebler.
4879
4880 * po/ko.po: Update Korean translation from translation project.
4881
48822014-09-06 Chris Metcalf <cmetcalf@tilera.com>
4883
4884 [BZ #17354]
4885 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
4886 macro for handling signed relocations.
4887
48882014-09-03 Florian Weimer <fweimer@redhat.com>
4889
4890 [BZ #17325]
4891 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
4892 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
4893 assert.
4894 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
4895 * iconvdata/ibm935.c (BODY): Likewise.
4896 * iconvdata/ibm937.c (BODY): Likewise.
4897 * iconvdata/ibm939.c (BODY): Likewise.
4898 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
4899 assert.
4900 * iconvdata/Makefile (iconv-test.out): Pass module list to test
4901 script.
4902 * iconvdata/run-iconv-test.sh: New test loop for checking for
4903 decoder crashers.
4904
49052014-09-02 Khem Raj <raj.khem@gmail.com>
4906
4907 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
4908 libm_hidden_ver.
4909
49102014-09-01 Allan McRae <allan@archlinux.org>
4911
4912 * po/eo.po: Update Esperanto translation from translation project.
4913
4914 * po/ca.po: Update Catalan translation from translation project.
4915
49162014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
4917
4918 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
4919 __proc_dostop call.
4920
49212014-08-27 Mark Wielaard <mjw@redhat.com>
4922
4923 [BZ #17319]
4924 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
4925 to call set_thread_area instead of hand written asm.
4926 (__NR_set_thread_area): Removed define.
4927 (TLS_FLAG_WRITABLE): Likewise.
4928 (__ASSUME_SET_THREAD_AREA): Remove check.
4929 (TLS_EBX_ARG): Remove define.
4930 (TLS_LOAD_EBX): Likewise.
4931
49322014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
4933
4934 Simplify atomicity of socket creation in bind.
4935
4936 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
4937 looking up the name after linking the file.
4938
49392014-08-27 Allan McRae <allan@archlinux.org>
4940
4941 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4942
49432014-08-26 Florian Weimer <fweimer@redhat.com>
4944
4945 [BZ #17187]
4946 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
4947 trans_compare, open_translit, __gconv_translit_find):
4948 Remove module loading code.
4949
49502014-08-26 Allan McRae <allan@archlinux.org>
4951
4952 * po/vi.po: Update Vietnamese translation from translation project.
4953
4954 * po/uk.po: Update Ukrainian translation from translation project.
4955
4956 * po/fr.po: Update French translation from translation project.
4957
4958 * po/ru.po: Update Russian translation from translation project.
4959
4960 * po/pl.po: Update Polish translation from translation project.
4961
4962 * po/cs.po: Update Czech translation from translation project.
4963
4964 * po/de.po: Update German translation from translation project.
4965
4966 * po/bg.po: Update Bulgarian translation from translation project.
4967
4968 * po/sv.po: Update Sweedish translation from translation project.
4969
4970 * po/nl.po: Update Dutch translation from translation project.
4971
4972 * po/es.po: Update Spanish translation from translation project.
4973
49742014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4975
4976 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
4977
4978 * catgets/Makefile (CPPFLAGS-gencat): Remove.
4979 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
4980 (CPPFLAGS-iconvconfig): Likewise.
4981 * timezone/Makefile (CPPFLAGS-zic): Likewise.
4982
4983 * include/libc-symbols.h: Remove unnecessary check for
4984 NOT_IN_libc.
4985 * nptl/pthreadP.h: Likewise.
4986 * sysdeps/aarch64/setjmp.S: Likewise.
4987 * sysdeps/alpha/setjmp.S: Likewise.
4988 * sysdeps/arm/sysdep.h: Likewise.
4989 * sysdeps/i386/setjmp.S: Likewise.
4990 * sysdeps/m68k/setjmp.c: Likewise.
4991 * sysdeps/posix/getcwd.c: Likewise.
4992 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4993 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4994 * sysdeps/s390/s390-32/setjmp.S: Likewise.
4995 * sysdeps/s390/s390-64/setjmp.S: Likewise.
4996 * sysdeps/sh/sh3/setjmp.S: Likewise.
4997 * sysdeps/sh/sh4/setjmp.S: Likewise.
4998 * sysdeps/unix/alpha/sysdep.h: Likewise.
4999 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5000 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5001 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5002 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5005 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5006 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5007 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5008 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5009 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5010 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5011 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5012 * sysdeps/x86_64/setjmp.S: Likewise.
5013
50142014-08-13 Joseph Myers <joseph@codesourcery.com>
5015
5016 [BZ #17263]
5017 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
5018 <stdint.h>.
5019 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
5020 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
5021
50222014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5023
5024 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
5025
5026 [BZ #17262]
5027 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
5028 and __x86_64__ when disabling x87 inline functions.
5029
50302014-08-12 H.J. Lu <hongjiu.lu@intel.com>
5031
5032 [BZ #17259]
5033 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
5034 asm statement with __cpuid_count.
5035
50362014-08-12 Mike Frysinger <vapier@gentoo.org>
5037
5038 * configure.ac: Change __ehdr_start code to dereference the struct.
5039 Run readelf on the output to look for relocations.
5040 * configure: Regenerated.
5041
50422014-08-12 Joseph Myers <joseph@codesourcery.com>
5043
5044 [BZ #17261]
5045 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
5046 value to 0.
5047 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
5048
50492014-08-12 Roland McGrath <roland@hack.frob.com>
5050
5051 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
5052
50532014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
5054
5055 [BZ #16892]
5056 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
5057 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
5058
50592014-08-12 Sean Anderson <seanga2@gmail.com>
5060
5061 * malloc/malloc.c: Fix typo in comment.
5062
50632014-08-09 Allan McRae <allan@archlinux.org>
5064
5065 * Regenerate libc.po.
5066
50672014-08-08 Mike Frysinger <vapier@gentoo.org>
5068
5069 * intl/tst-gettext2.sh: Check every lang file for creation.
5070
50712014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5072
5073 * sysdeps/aarch64/fpu/math_private.h
5074 (libc_feholdsetround_noex_aarch64_ctx): New function.
5075
50762014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5077
5078 * sysdeps/arm/armv6/strcpy.S (strcpy):
5079 Fix performance issue in misaligned cases.
5080
50812014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5082
5083 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
5084 Move definition from termios.h.
5085 (struct termio): Likewise.
5086 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5087 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5088 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5089 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5090 Likewise.
5091 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
5092 Move definition to ioctl-types.h
5093 (struct termio): Likewise.
5094 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5095 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5096 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5097 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5098 Likewise.
5099
51002014-08-05 Richard Henderson <rth@redhat.com>
5101
5102 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
5103 exceptions.
5104 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
5105 Add fraiseexcpt.
5106 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5107 Use __feraiseexcept.
5108 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
5109 Protect libm symbols with IS_IN_libm.
5110
5111 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
5112
51132014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
5114
5115 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
5116
51172014-08-04 Will Newton <will.newton@linaro.org>
5118
5119 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
5120 file.
5121
51222014-08-04 Mike Frysinger <vapier@gentoo.org>
5123
5124 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
5125 variants for each function.
5126
51272014-08-04 Roland McGrath <roland@hack.frob.com>
5128
5129 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
5130 appended ...
5131 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
5132 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
5133 appended ...
5134 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
5135 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
5136 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
5137 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
5138 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
5139 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
5140 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
5141 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
5142 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
5143 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
5144 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
5145 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
5146 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
5147 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
5148 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
5149 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
5150 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
5151 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
5152 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
5153 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
5154 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
5155 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
5156 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
5157 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
5158 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
5159 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
5160 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
5161 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
5162 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
5163 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
5164 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
5165 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
5166 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
5167 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
5168 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
5169 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
5170 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
5171 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
5172 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
5173 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
5174 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
5175 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
5176 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
5177 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
5178 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
5179 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
5180 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
5181 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
5182 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
5183 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
5184 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
5185 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
5186 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
5187 Update #include.
5188 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
5189 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
5190
51912014-08-04 Roland McGrath <roland@hack.frob.com>
5192
5193 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
5194 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
5195 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
5196 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
5197 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
5198 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
5199
52002014-08-04 Roland McGrath <roland@hack.frob.com>
5201
5202 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
5203 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
5204 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5205 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
5206
52072014-08-04 Roland McGrath <roland@hack.frob.com>
5208
5209 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
5210 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
5211 (__libc_vfork): Define function under this name.
5212 (__vfork): Define as an alias.
5213 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
5214 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
5215
52162014-08-04 Roland McGrath <roland@hack.frob.com>
5217
5218 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
5219 that was previously under [RESET_PID].
5220 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
5221
52222014-08-04 Andreas Schwab <schwab@suse.de>
5223
5224 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
5225
52262014-08-03 Mike Frysinger <vapier@gentoo.org>
5227
5228 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
5229 (main): Likewise.
5230
52312014-08-01 Roland McGrath <roland@hack.frob.com>
5232
5233 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
5234
52352014-08-01 Richard Henderon <rth@redhat.com>
5236
5237 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
5238 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
5239 typo in exact zero test.
5240 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5241 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5242 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5243
52442014-08-01 Roland McGrath <roland@hack.frob.com>
5245
5246 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
5247 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
5248 * sysdeps/arm/sysdep.h: ... here.
5249 [!__ASSEMBLER__]: Include <stdint.h>.
5250
52512014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5252
5253 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
5254 (HAVE_WCTYPE_H): Likewise.
5255 (HAVE_ISWCTYPE): Likewise.
5256 (ENABLE_NLS): Likewise.
5257 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
5258 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
5259
5260 * posix/regex_internal.c: Check if DEBUG is defined and is
5261 set.
5262
5263 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
5264 (HAVE_MBSRTOWCS): Likewise.
5265 * posix/fnmatch.c: Include string.h unconditionally.
5266
52672014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
5268
5269 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
5270 reversal.
5271
52722014-07-31 Roland McGrath <roland@hack.frob.com>
5273
5274 * sysdeps/generic/safe-fatal.h: New file.
5275 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
5276 * nptl/forward.c: Include it.
5277 (__pthread_unwind): Use __safe_fatal as default action, rather
5278 than a bogus use of INTERNAL_SYSCALL that could never work.
5279
5280 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
5281 * configure.ac (libc_cv_builtin_trap): New test.
5282 * configure: Regenerated.
5283 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
5284 (ABORT_INSTRUCTION): Define using __builtin_trap.
5285
5286 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
5287 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
5288 * sysdeps/nptl/nptl-signals.h: New file.
5289 * nptl/pthreadP.h: Include <nptl-signals.h>.
5290
52912014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
5292
5293 * sysdeps/s390/s390-64/utf16-utf32-z9.c
5294 (ONE_DIRECTION): Define.
5295 * sysdeps/s390/s390-64/utf8-utf16-z9.c
5296 (ONE_DIRECTION): Define.
5297 * sysdeps/s390/s390-64/utf8-utf32-z9.c
5298 (ONE_DIRECTION): Define.
5299
53002014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
5301
5302 * sysdeps/s390/Makefile: Delete file.
5303 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
5304 * sysdeps/s390/__longjmp.c: Delete file.
5305 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
5306 Remove fields __flags and __reserved.
5307 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
5308 and add versioning.
5309 * sysdeps/s390/rtld-__longjmp.c: Delete file.
5310 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
5311 * sysdeps/s390/rtld-setjmp.S: Likewise.
5312 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
5313 * sysdeps/s390/s390-32/__longjmp.c: ... here.
5314 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
5315 * sysdeps/s390/s390-32/setjmp.S: ... here.
5316 Add versioning.
5317 (__sigsetjmp): Remove setting __flags field.
5318 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
5319 * sysdeps/s390/s390-64/__longjmp.c: ... here.
5320 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
5321 * sysdeps/s390/s390-64/setjmp.S: ... here.
5322 Add versioning.
5323 (__sigsetjmp): Remove setting __flags field.
5324 * sysdeps/s390/setjmp.S: Delete file.
5325 * sysdeps/s390/sigjmp.c: Likewise.
5326 * sysdeps/s390/v1-longjmp.c: Likewise.
5327 * sysdeps/s390/v1-setjmp.h: Likewise.
5328 * sysdeps/s390/v1-sigjmp.c: Likewise.
5329 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
5330 Remove v1-longjmp_chk.
5331 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
5332 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
5333 Include debug/longjmp_chk.c and add versioning.
5334 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
5335 Include nptl/pt-longjmp.c and add versioning.
5336 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
5337 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
5338 Include __longjmp.c.
5339 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5340 Move to ...
5341 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
5342 (__getcontext): Remove setting __flags field.
5343 Add versioning.
5344 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5345 Don't restore upper high grps.
5346 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
5347 Likewise.
5348 (__swapcontext): Remove setting uc_flags field.
5349 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
5350 Delete file.
5351 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5352 Include __longjmp.c.
5353 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5354 Move to ...
5355 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
5356 (__getcontext): Remove setting __flags field.
5357 Add versioning.
5358 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
5359 (__swapcontext): Remove setting uc_flags field.
5360 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
5361 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
5362 Remove fields uc_high_gprs and __reserved.
5363 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
5364 New file with reverted content.
5365 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
5366 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
5367 Regenerated.
5368 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
5369 Regenerated.
5370
53712014-07-31 Andreas Schwab <schwab@suse.de>
5372
5373 * config.h.in (HAVE_IFUNC): Define to 0.
5374 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
5375 definedness.
5376
53772014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
5378
5379 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5380 memmove-avx-unaligned, memcpy-avx-unaligned and
5381 mempcpy-avx-unaligned.
5382 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5383 Add tests for AVX memcpy functions.
5384 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
5385 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
5386 memcpy_chk.
5387 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
5388 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
5389 memmove_chk.
5390 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
5391 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
5392 mempcpy_chk.
5393 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
5394 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
5395 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
5396
53972013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5398
5399 [BZ #17213]
5400 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
5401 powerpc64le.
5402
54032014-07-29 Jeff Layton <jlayton@poochiereds.net>
5404
5405 [BZ #16839]
5406 * manual/llio.texi: Add section about open file description locks.
5407 * manual/examples/ofdlocks.c: Example of open file description
5408 lock usage.
5409 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
5410 F_OFD_SETLK, and F_OFD_SETLKW.
5411
54122014-07-23 Allan McRae <allan@archlinux.org>
5413
5414 * po/es.po: Update Spanish translation from translation project.
5415
54162014-07-18 Andreas Schwab <schwab@linux-m68k.org>
5417
5418 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
5419
54202014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
5421
5422 [BZ #17078]
5423 * sysdeps/arm/dl-machine.h (elf_machine_rela)
5424 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
5425 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
5426
54272014-07-17 Joseph Myers <joseph@codesourcery.com>
5428
5429 [BZ #17088]
5430 * math/fesetenv.c (__fesetenv)
5431 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
5432 * math/feupdateenv.c (__feupdateenv)
5433 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
5434
5435 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
5436 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5437 (__ASSUME_SOCKETCALL): Do not define.
5438
5439 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
5440 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
5441 (__ASSUME_SOCKETCALL): Do not define.
5442 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
5443 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5444 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5445 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5446 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5447 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
5448 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5449 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5450
5451 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
5452 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
5453 (__ASSUME_SOCKETCALL): Do not define.
5454 (__ASSUME_IPC64): Define unconditionally.
5455 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5456 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5457 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5458 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5459 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
5460 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5461 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
5462 Likewise.
5463
5464 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
5465 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
5466 (__ASSUME_SOCKETCALL): Do not define.
5467 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
5468 (__ASSUME_FUTEX_LOCK_PI): Likewise.
5469 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5470 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5471 (__ASSUME_REQUEUE_PI): Define unconditionally.
5472 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
5473 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5474 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5475 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
5476 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5477 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5478
5479 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
5480 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
5481 (__ASSUME_SOCKETCALL): Do not define.
5482 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
5483 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5484 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5485 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
5486 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5487 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5488
5489 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
5490 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
5491 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5492 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
5493 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5494 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
5495 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5496 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
5497 (__ASSUME_GETCPU_SYSCALL): Likewise.
5498
5499 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
5500 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
5501 cases for individual architectures.
5502 * sysdeps/gnu/configure: Regenerated.
5503 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
5504 LIBC_SLIBDIR_RTLDDIR.
5505 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
5506 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
5507 LIBC_SLIBDIR_RTLDDIR.
5508 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
5509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
5510 LIBC_SLIBDIR_RTLDDIR.
5511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5512 Regenerated.
5513 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
5514 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
5515 file.
5516 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
5517 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
5518 file.
5519 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
5520 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
5521 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
5522 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
5523
5524 * sysdeps/aarch64/shlib-versions: Move to ...
5525 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
5526 * sysdeps/alpha/shlib-versions: Move to ...
5527 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
5528 * sysdeps/arm/shlib-versions: Move to ...
5529 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
5530 * sysdeps/hppa/shlib-versions: Move all contents except for
5531 libgcc_s entry to ...
5532 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
5533 entry from ...
5534 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
5535 * sysdeps/ia64/shlib-versions: Move to ...
5536 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
5537 entry from ...
5538 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
5539 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
5540 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
5541 * sysdeps/microblaze/shlib-versions: Move to ...
5542 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
5543 * sysdeps/mips/shlib-versions: Move to ...
5544 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
5545 entry from ...
5546 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
5547 * sysdeps/tile/shlib-versions: Move to ...
5548 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
5549 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
5550 from ...
5551 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
5552 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
5553 entry from ...
5554 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
5555
55562014-07-17 Will Newton <will.newton@linaro.org>
5557
5558 * sysdeps/arm/bits/atomic.h
5559 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
5560 (__arch_compare_and_exchange_bool_16_int): Likewise.
5561 (__arch_compare_and_exchange_bool_64_int): Likewise.
5562
5563 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
5564 into an #else block.
5565
55662014-07-16 Roland McGrath <roland@hack.frob.com>
5567
5568 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
5569 just Linux configurations. Test empirically that the compiler sets
5570 __ARM_EABI__, rather than using the tuple to decide.
5571 * sysdeps/arm/preconfigure: Regenerated.
5572 * sysdeps/unix/sysv/linux/arm/configure: File removed.
5573 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
5574 contents appended ...
5575 * sysdeps/arm/configure.ac: ... here.
5576 * sysdeps/arm/configure: Regenerated.
5577
55782014-07-15 Roland McGrath <roland@hack.frob.com>
5579
5580 * nptl/pthread_kill.c: New file.
5581 * nptl/pthread_sigmask.c: New file.
5582 * nptl/pthread_sigqueue.c: New file.
5583
5584 * sysdeps/nptl/lowlevellock.h: New file.
5585 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
5586 * sysdeps/nptl/lowlevellock-futex.h: New file.
5587
5588 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
5589 Remove dead declarations.
5590
55912014-07-14 H.J. Lu <hongjiu.lu@intel.com>
5592
5593 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
5594 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
5595 config-cflags-avx2.
5596 * sysdeps/x86_64/configure.ac: Likewise.
5597 * sysdeps/i386/configure: Regenerated.
5598 * sysdeps/x86_64/configure: Likewise.
5599 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5600 memset-avx2 only if config-cflags-avx2 is yes.
5601 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5602 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
5603 defined.
5604 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
5605 only if HAVE_AVX2_SUPPORT is defined.
5606 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5607
56082014-07-14 Alan Modra <amodra@gmail.com>
5609
5610 [BZ #17153]
5611 * elf/elf.h (DT_PPC64_NUM): Correct value.
5612 * NEWS: Add to fixed bug list.
5613
56142014-07-13 Jim Meyering <meyering@fb.com>
5615
5616 [BZ 17150]
5617 regex: don't deref NULL upon heap allocation failure
5618 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
5619 failure in one more place.
5620 To trigger the segfault, configure grep -with-included-regex,
5621 build it, and run these commands:
5622 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
5623
56242014-07-13 Andreas Schwab <schwab@linux-m68k.org>
5625
5626 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5627
56282014-07-11 Richard Henderson <rth@redhat.com>
5629
5630 * sysdeps/aarch64/libm-test-ulps: Update.
5631
56322014-07-10 Florian Weimer <fweimer@redhat.com>
5633
5634 [BZ #17135]
5635 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
5636 * nptl/allocatestack.c (__nptl_setxid_error): New function.
5637 (__nptl_setxid): Initialize error member. Call
5638 __nptl_setxid_error.
5639 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
5640 * nptl/descr.h (struct xid_command): Add error member.
5641 * nptl/tst-setuid3.c: New file.
5642 * nptl/Makefile (tests): Add it.
5643
56442014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5645
5646 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
5647 New define.
5648 (__lll_trylock): Use __lll_base_trylock.
5649 (__lll_cond_trylock): Likewise.
5650
56512014-07-10 Roland McGrath <roland@hack.frob.com>
5652
5653 * nptl/pthread_create.c (start_thread): Use atomic_or and
5654 lll_futex_wake directly rather than lll_robust_dead.
5655 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5656 (lll_robust_dead): Macro removed.
5657 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
5658 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5659 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5660 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5661 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5662 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5663 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5664 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5665 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5666 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5667 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5668 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5669 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5670 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5671 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5672
5673 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
5674 Use atomic_compare_and_exchange_val_acq directly rather than
5675 lll_robust_trylock.
5676 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5677 (__lll_robust_trylock, lll_robust_trylock): Removed.
5678 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5679 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5680 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5681 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5682 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5683 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5684 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5685 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5686 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5687 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5688 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5689 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5690 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5691 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5692
56932014-07-02 Florian Weimer <fweimer@redhat.com>
5694
5695 * manual/locale.texi (Locale Names): New section documenting
5696 locale name syntax. Adjust menu and node chaining accordingly.
5697 (Choosing Locale): Reference Locale Names, Locale Categories.
5698 Mention setting LC_ALL=C. Reflect that name syntax is now
5699 documented.
5700 (Locale Categories): New section title. Reference Locale Names.
5701 LC_ALL is an environment variable, but not a category.
5702 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
5703 description, now in Locale Name. Reference that section. Locale
5704 name syntax is now documented.
5705
57062014-07-02 Florian Weimer <fweimer@redhat.com>
5707
5708 [BZ #17137]
5709 * locale/findlocale.c (name_present, valid_locale_name): New
5710 functions.
5711 (_nl_find_locale): Use the loc_name variable to store name
5712 candidates. Call name_present and valid_locale_name to check and
5713 validate locale names. Return an error if the locale is invalid.
5714
57152014-07-02 Florian Weimer <fweimer@redhat.com>
5716
5717 * locale/setlocale.c (setlocale): Use strdup for allocating
5718 composite name copy.
5719
57202014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5721
5722 Sync up with gnulib.
5723 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
5724 [!_LIBC && ENABLE_NLS]: Include gettext.h.
5725 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
5726 and _GL_ARG_NONNULL.
5727 [USE_UNLOCKED_IO]: Include unlocked-io.h.
5728 [!_LIBC]: Include code for Windows and Cygwin.
5729 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
5730 Include prototype for int strerror_r.
5731 [!_LIBC] (is_open): New function.
5732 (flush_stdout): New function.
5733 (print_errno_message): Use it.
5734 (error): Likewise.
5735 (error_at_line): Likewise.
5736 (error_tail) Add function attribute macros. Use
5737 __builtin_expect.
5738
5739 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
5740
5741 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
5742
5743 * io/ftw.c: Include sys/param.h unconditionally.
5744
5745 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
5746
5747 [BZ #17125]
5748 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
5749 libc_freeres_ptr.
5750 (freecache): New function to free CACHE on exit.
5751
5752 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
5753 initialization.
5754
57552014-07-09 David S. Miller <davem@davemloft.net>
5756
5757 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5758
5759 * sysdeps/sparc/nptl/internaltypes.h: Delete.
5760 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
5761 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
5762 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
5763 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
5764 * sysdeps/sparc/nptl/sem_init.c: Likewise.
5765 * sysdeps/sparc/nptl/sem_post.c: Likewise.
5766 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
5767 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
5768 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
5769 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
5770 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
5771 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
5772
57732014-07-09 Andreas Schwab <schwab@suse.de>
5774
5775 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
5776 output.
5777 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
5778 (do_test): Likewise.
5779
5780 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5781
57822014-07-09 Will Newton <will.newton@linaro.org>
5783
5784 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
5785 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
5786 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
5787 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
5788 * sysdeps/hppa/start.S (_start): Likewise.
5789
57902014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
5791
5792 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
5793
5794 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
5795 defined.
5796
57972014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5798
5799 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
5800 after checking that it is non-NULL.
5801
5802 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
5803
58042014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5805
5806 * sysdeps/powerpc/memmove.c: Remove file.
5807 * sysdeps/powerpc/powerpc32/power4/memcopy.h
5808 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
5809 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5810 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
5811 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
5812 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
5813 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
5814 string memmove instead of removed powerpc one.
5815
5816 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5817 [weak_alias]: Fix compiler warning due trailing data.
5818 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
5819 [weak_alias]: Likewise.
5820 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
5821 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
5822
5823 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5824 (__libc_ifunc_impl_list): Add memmove functions.
5825
58262014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5827
5828 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
5829 Remove code.
5830 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
5831 Likewise
5832 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
5833 Likewise
5834 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
5835 Likewise
5836 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
5837 Likewise
5838 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
5839 Likewise
5840 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
5841 Likewise
5842 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
5843 Likewise
5844 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
5845 Likewise
5846 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
5847 Likewise
5848 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
5849 Likewise
5850 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
5851 Likewise
5852 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
5853 Likewise
5854 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
5855 Likewise
5856 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
5857 Likewise
5858 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
5859 Likewise
5860 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
5861 Likewise
5862
58632014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5864
5865 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
5866 to avoid alignment traps in non-cacheable memory.
5867 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5868
5869 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
5870 multiarch objects.
5871 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
5872 file: multiarch power7 memmove.
5873 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
5874 multiarch default memmove.
5875 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
5876 multiarch memove for powerpc32/power4.
5877
5878 * string/bcopy.c: Use full path to include memmove.c.
5879 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
5880 multiarch objects.
5881 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
5882 bcopy for powerpc64.
5883 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
5884 bcopy for powerpc64.
5885 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
5886 and memmove implementations.
5887 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
5888 optimized multiarch memmove for POWER7/powerpc64.
5889 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
5890 default multiarch memmove for powerpc64.
5891 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
5892 multiarch for powerpc64.
5893 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
5894 for POWER7/powerpc64.
5895 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
5896 memmove for POWER7/powerpc64.
5897
5898 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
5899 glibc default one.
5900
5901 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
5902 __ELF_NATIVE_CLASS equal to 64.
5903
59042014-07-07 Roland McGrath <roland@hack.frob.com>
5905
5906 * sysdeps/nptl/lowlevellock.h: File removed.
5907
5908 * NEWS: NPTL is no longer an add-on!
5909 * nptl/internaltypes.h: Moved ...
5910 * sysdeps/nptl/internaltypes.h: ... here.
5911 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
5912 * sysdeps/nptl/fork.c: Likewise.
5913 * sysdeps/nptl/gai_misc.h: Likewise.
5914 * sysdeps/nptl/librt-cancellation.c: Likewise.
5915 * sysdeps/nptl/jmp-unwind.c: Likewise.
5916 * sysdeps/nptl/setxid.h: Likewise.
5917 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
5918 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
5919 * sysdeps/unix/sysv/linux/arm/Implies: New file.
5920 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
5921 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
5922 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
5923 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
5924 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
5925 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
5926 * sysdeps/unix/sysv/linux/mips/Implies: New file.
5927 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
5928 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
5929 * sysdeps/unix/sysv/linux/sh/Implies: New file.
5930 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
5931 * sysdeps/unix/sysv/linux/tile/Implies: New file.
5932 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
5933 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
5934 * nptl/Makeconfig: Moved ...
5935 * sysdeps/nptl/Makeconfig: ... here.
5936 * nptl/configure: File removed.
5937 * nptl/ANNOUNCE: File removed.
5938 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
5939 * sysdeps/unix/sysv/linux/configure: Regenerated.
5940
5941 * nptl/Makefile (routines): Add libc_pthread_init,
5942 libc_multiple_threads, register-atfork and unregister-atfork.
5943 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
5944 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
5945 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
5946 pthread-pi-defines.sym, structsem.sym.
5947 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
5948 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
5949 [$(subdir) = nptl] (tests): Add tst-setgetname.
5950 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
5951 * sysdeps/unix/sysv/linux/sigaction.c: Just include
5952 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
5953 [!LIBC_SIGACTION]: Remove aliases.
5954 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5955 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5956 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5957 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5958 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5959 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
5960 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5961 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5962 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5963 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
5964 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
5965 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
5966 __libc_allocate_rtsig_private.
5967 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
5968 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
5969 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
5970 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5971 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
5972 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
5973 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
5974 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
5975 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
5976 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
5977 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
5978 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
5979 * nptl/internaltypes.h: ... here.
5980 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
5981 * sysdeps/nptl/jmp-unwind.c: ... here.
5982 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
5983 * nptl/libc-lowlevellock.c: ... here.
5984 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
5985 * nptl/libc_multiple_threads.c: ... here.
5986 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
5987 * nptl/libc_pthread_init.c: ... here.
5988 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
5989 * nptl/lowlevelbarrier.sym: ... here.
5990 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
5991 * nptl/lowlevelcond.sym: ... here.
5992 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
5993 * nptl/lowlevellock.c: ... here.
5994 * nptl/lowlevellock.h: Moved ...
5995 * sysdeps/nptl/lowlevellock.h: ... here.
5996 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
5997 * nptl/lowlevelrobustlock.c: ... here.
5998 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
5999 * nptl/lowlevelrobustlock.sym: ... here.
6000 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
6001 * nptl/lowlevelrwlock.sym: ... here.
6002 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
6003 * nptl/pt-fork.c: ... here.
6004 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
6005 * nptl/pthread-pi-defines.sym: ... here.
6006 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
6007 * nptl/pthread_attr_getaffinity.c: ... here.
6008 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
6009 * nptl/pthread_attr_setaffinity.c: ... here.
6010 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
6011 * nptl/pthread_mutex_cond_lock.c: ... here.
6012 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6013 Update #include.
6014 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
6015 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
6016 * nptl/pthread_once.c: ... here, replacing old file.
6017 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
6018 * nptl/pthread_yield.c: ... here.
6019 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
6020 * nptl/register-atfork.c: ... here.
6021 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
6022 * nptl/sem_post.c: ... here.
6023 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
6024 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
6025 * nptl/sem_timedwait.c: ... here.
6026 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
6027 * nptl/sem_trywait.c: ... here.
6028 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
6029 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
6030 * nptl/sem_wait.c: ... here.
6031 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
6032 * nptl/structsem.sym: ... here.
6033 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
6034 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
6035 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
6036 * nptl/unregister-atfork.c: ... here.
6037 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
6038 * nptl/unwindbuf.sym: ... here.
6039 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
6040 * sysdeps/nptl/fork.c: ... here.
6041 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
6042 * sysdeps/nptl/fork.h: ... here.
6043 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
6044 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
6045 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
6046 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
6047 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
6048 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
6049 * sysdeps/unix/sysv/linux/getpid.c: ... here.
6050 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
6051 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
6052 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
6053 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
6054 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
6055 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
6056 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
6057 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
6058 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
6059 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
6060 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
6061 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
6062 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
6063 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
6064 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
6065 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
6066 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
6067 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
6068 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
6069 * sysdeps/unix/sysv/linux/raise.c: ... here.
6070 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
6071 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
6072 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
6073 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
6074 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
6075 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
6076 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
6077 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
6078 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
6079 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
6080 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
6081 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
6082 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
6083 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
6084 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
6085
60862014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6087
6088 * sysdeps/generic/memcopy.h: Add comment for
6089 MEMCPY_OK_FOR_FWD_MEMMOVE.
6090
60912014-07-04 Will Newton <will.newton@linaro.org>
6092
6093 * string/memchr.c: Merge from gnulib.
6094 [_LIBC]: Remove conditionals.
6095 (__ptr_t): Remove define.
6096 (LONG_MAX_32_BITS): Likewise.
6097 (LONG_MAX): Likewise.
6098 (MEMCHR): Use ANSI prototype and optimize algorithm.
6099
6100 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
6101
61022014-07-03 Roland McGrath <roland@hack.frob.com>
6103
6104 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
6105 (lll_futex_timed_wait_bitset): Fix syscall argument count.
6106
6107 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
6108 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
6109 in a bare environment with no <stdlib.h> installed.
6110 * sysdeps/nptl/configure: Regenerated.
6111
6112 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
6113
6114 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
6115 AC_EGREP_CPP for kernel header checks, so they only succeed if
6116 including <linux/version.h> actually works right.
6117 * sysdeps/unix/sysv/linux/configure: Regenerated.
6118
6119 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
6120 value so it's not diagnosed as unused.
6121
6122 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
6123 thing) with "ifeq ($(subdir),rt)".
6124
61252014-07-03 Richard Henderson <rth@redhat.com>
6126
6127 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
6128 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
6129 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
6130
6131 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
6132 (math_force_eval): New.
6133
6134 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
6135 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
6136
6137 * sysdeps/alpha/fpu/s_round.c: Remove file.
6138 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
6139
6140 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
6141 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
6142 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
6143 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
6144 (_dl_start, print_statistics): Likewise.
6145 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
6146 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
6147
6148 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6149 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6150 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6151 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6152 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6153 (HP_SMALL_TIMING_AVAIL): Define.
6154 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6155 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6156 (HP_SMALL_TIMING_AVAIL): Define.
6157 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6158 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6159
6160 * sysdeps/aarch64/hp-timing.h: New file.
6161
6162 * sysdeps/generic/hp-timing.h: Remove dead comment.
6163 * sysdeps/generic/hp-timing-common.h: New file.
6164 * sysdeps/alpha/hp-timing.h: Include it.
6165 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
6166 * sysdeps/i386/i686/hp-timing.h: Likewise.
6167 * sysdeps/ia64/hp-timing.h: Likewise.
6168 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6169 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6170 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6171 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6172 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
6173 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
6174 (hp_timing_t): New.
6175
6176 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
6177 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
6178 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
6179 * elf/rtld.c (_dl_start_final): Likewise.
6180 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
6181 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6182 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6183 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6184 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6185 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6186 (HP_TIMING_DIFF_INIT): Remove.
6187 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6188 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6189 (HP_TIMING_DIFF_INIT): Remove.
6190 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6191 * sysdeps/i386/i686/hp-timing.c: Remove file.
6192 * sysdeps/x86_64/hp-timing.c: Remove file.
6193 * sysdeps/ia64/hp-timing.c: Remove file.
6194 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
6195 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
6196 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
6197 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
6198
6199 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
6200 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
6201 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
6202 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6203 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6204 (HP_TIMING_ACCUM): Remove.
6205 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6206 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
6207 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6208
6209 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
6210 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
6211 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
6212 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
6213 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
6214 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6215 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
6216 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6217
6218 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
6219
62202014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
6221
6222 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
6223
62242014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6225
6226 Sync up with gettext.
6227 * intl/loadmsgcat.c: Define O_BINARY if not defined.
6228 [_MSC_VER]: Include malloc.h
6229 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
6230 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
6231 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
6232 TEMP_FAILURE_RETRY. Cast return of alloca.
6233 [!_LIBC] Call gl_rwlock_init.
6234 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
6235
62362014-07-02 Roland McGrath <roland@hack.frob.com>
6237
6238 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
6239 before checking its value.
6240
62412014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6242
6243 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
6244
6245 * debug/memcpy_chk.c: Don't include pagecopy.h.
6246 * debug/mempcpy_chk.c: Likewise.
6247 * string/memcpy.c: Likewise.
6248 * string/memmove.c: Likewise.
6249 * sysdeps/powerpc/memmove.c: Likewise.
6250 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
6251 definition of PAGE_COPY_FWD_MAYBE here...
6252 * sysdeps/generic/pagecopy.h: ... from here.
6253 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
6254
62552014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6256 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6257
6258 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
6259 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
6260 optimizations.
6261 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6262 (__libc_ifunc_impl_list): Likewise.
6263 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
6264 multiarch strcat for PPC64.
6265 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
6266 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
6267
62682014-07-02 Roland McGrath <roland@hack.frob.com>
6269
6270 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
6271
62722014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6273
6274 * intl/loadmsgcat.c: Remove declaration of
6275 get_sysdep_segment_value.
6276 (get_sysdep_segment_value): Use ISO C style.
6277 (_nl_load_domain): Use ISO C style. Get rid of redundant
6278 semicolon. Fix typo and formatting in comment.
6279 (_nl_unload_domain): Use ISO C style.
6280
6281 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
6282
62832014-07-02 Will Newton <will.newton@linaro.org>
6284
6285 * malloc/obstack.c: Merge from gnulib master.
6286 [HAVE_CONFIG_H]: Remove conditional code.
6287 [!_LIBC]: Include config.h.
6288 [!ELIDE_CODE]: Don't include inttypes.h, include
6289 stdint.h unconditionally.
6290 (print_and_abort): Mark as _Noreturn.
6291 (_obstack_allocated_p): Mark as __attribute_pure__.
6292 (obstack_free): Rename to __obstack_free.
6293 [!__attribute__]: Remove conditional code.
6294 * malloc/obstack.h: Merge from gnulib master.
6295 [__cplusplus]: Move conditional down.
6296 [!__attribute_pure__]: Define __attribute_pure__ here
6297 if it is not already defined.
6298 (_obstack_memory_used): Mark as __attribute_pure__.
6299 [!__obstack_free]: Define as obstack_free.
6300 [__GNUC__]: Remove check for ancient NeXT gcc.
6301
63022014-07-02 Will Newton <will.newton@linaro.org>
6303 Paul Eggert <eggert@cs.ucla.edu>
6304
6305 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
6306
63072014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6308
6309 * resolv/gethnamaddr.c: Add comment warning that the file is
6310 not maintained.
6311
63122014-07-01 Carlos O'Donell <carlos@redhat.com>
6313
6314 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
6315 entries.
6316
6317 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
6318 entry for aio_cancel and aio_cancel64.
6319 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
6320 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
6321 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
6322 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
6323 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
6324 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
6325 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
6326 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
6327 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
6328 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
6329 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
6330 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
6331 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
6332
63332014-07-01 Roland McGrath <roland@hack.frob.com>
6334
6335 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
6336 * nptl/pthread_mutex_lock.c: Likewise.
6337 * nptl/pthread_mutex_timedlock.c: Likewise.
6338 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
6339
63402014-07-01 Richard henderson <rth@redhat.com>
6341
6342 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
6343 (__isnan, __isnanl): Remove.
6344 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
6345
6346 * sysdeps/alpha/fpu/libm-test-ulps: Update.
6347
63482014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
6349
6350 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6351
63522014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6353
6354 * resolv/nss_dns/dns-host.c (getanswer_r)
6355 [MULTI_PTRS_ARE_ALIASES]: Remove code.
6356
63572014-07-01 Joseph Myers <joseph@codesourcery.com>
6358
6359 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6360 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
6361 undefine.
6362 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
6363 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
6364
63652014-07-01 Roland McGrath <roland@hack.frob.com>
6366
6367 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
6368 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
6369
6370 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
6371 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
6372
6373 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
6374 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
6375 ... here.
6376 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
6377 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
6378
6379 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
6380 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
6381 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
6382 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
6383
6384 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
6385 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
6386 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
6387 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
6388 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
6389 Moved ...
6390 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
6391 ... here.
6392 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
6393 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
6394 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
6395 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
6396 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
6397 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
6398 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
6399 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
6400 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
6401 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
6402 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
6403 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
6404 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
6405 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
6406 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
6407 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
6408 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
6409 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
6410 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
6411 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
6412 ... here.
6413 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
6414 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
6415 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
6416 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
6417 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
6418 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
6419 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
6420 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
6421
64222014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
6423
6424 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
6425 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
6426 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
6427 Add sysdep.
6428
64292014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6430
6431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6432
64332014-06-30 Joseph Myers <joseph@codesourcery.com>
6434
6435 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6436 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6437
6438 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6439
6440 * sysdeps/arm/libm-test-ulps: Regenerated.
6441
64422014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
6443 Roland McGrath <roland@hack.frob.com>
6444
6445 * test-skeleton.c (signal_handler): Kill the whole process group
6446 before killing the child individually.
6447 (main): Report any failure on `setpgid'.
6448
64492014-06-30 Roland McGrath <roland@hack.frob.com>
6450
6451 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
6452 from _TLS_H to _ARM_NPTL_TLS_H.
6453 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
6454 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
6455
64562014-06-30 Joseph Myers <joseph@codesourcery.com>
6457
6458 [BZ #16539]
6459 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
6460 (__expm1l): Return argument unchanged when small but not
6461 subnormal.
6462
6463 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
6464 include macro name.
6465 (_FP_UNPACK_RAW_1_P): Likewise.
6466 (_FP_PACK_RAW_1): Likewise.
6467 (_FP_PACK_RAW_1_P): Likewise.
6468 (_FP_MUL_MEAT_1_wide): Likewise.
6469 (_FP_MUL_MEAT_DW_1_hard): Likewise.
6470 (_FP_MUL_MEAT_1_hard): Likewise.
6471 (_FP_DIV_MEAT_1_imm): Likewise.
6472 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
6473 (_FP_DIV_MEAT_1_udiv): Likewise.
6474 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
6475 (_FP_UNPACK_RAW_2): Likewise.
6476 (_FP_UNPACK_RAW_2_P): Likewise.
6477 (_FP_PACK_RAW_2): Likewise.
6478 (_FP_PACK_RAW_2_P): Likewise.
6479 (_FP_MUL_MEAT_DW_2_wide): Likewise.
6480 (_FP_MUL_MEAT_2_wide): Likewise.
6481 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
6482 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6483 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
6484 (_FP_MUL_MEAT_2_gmp): Likewise.
6485 (_FP_DIV_MEAT_2_udiv): Likewise.
6486 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
6487 (_FP_FRAC_SRL_4): Likewise.
6488 (_FP_FRAC_SRST_4): Likewise.
6489 (_FP_FRAC_SRS_4): Likewise.
6490 (_FP_UNPACK_RAW_4): Likewise.
6491 (_FP_UNPACK_RAW_4_P): Likewise.
6492 (_FP_PACK_RAW_4): Likewise.
6493 (_FP_PACK_RAW_4_P): Likewise.
6494 (_FP_MUL_MEAT_DW_4_wide): Likewise.
6495 (_FP_MUL_MEAT_4_wide): Likewise.
6496 (_FP_MUL_MEAT_4_gmp): Likewise.
6497 (umul_ppppmnnn): Likewise.
6498 (_FP_DIV_MEAT_4_udiv): Likewise.
6499 (__FP_FRAC_ADD_4): Likewise.
6500 (__FP_FRAC_SUB_3): Likewise.
6501 (__FP_FRAC_SUB_4): Likewise.
6502 (__FP_FRAC_DEC_3): Likewise.
6503 (__FP_FRAC_DEC_4): Likewise.
6504 (__FP_FRAC_ADDI_4): Likewise.
6505 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
6506 (_FP_FRAC_SRL_8): Likewise.
6507 (_FP_FRAC_SRS_8): Likewise.
6508
6509 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
6510 include macro name.
6511 (FP_UNPACK_RAW_EP): Likewise.
6512 (FP_PACK_RAW_E): Likewise.
6513 (FP_PACK_RAW_EP): Likewise.
6514 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
6515 (_FP_ISSIGNAN): Likewise.
6516 (_FP_ADD_INTERNAL): Likewise.
6517 (_FP_FMA): Likewise.
6518 (_FP_CMP): Likewise.
6519 (_FP_SQRT): Likewise.
6520 (_FP_TO_INT): Likewise.
6521 (_FP_FROM_INT): Likewise.
6522 (FP_EXTEND): Likewise.
6523 (_FP_DIV_MEAT_N_loop): Likewise.
6524
65252014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
6526
6527 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
6528 throughout.
6529
65302014-06-29 Joseph Myers <joseph@codesourcery.com>
6531
6532 [BZ #17097]
6533 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
6534 result with correct sign in case of exponents that produce
6535 overflow except for X very close to 1.
6536
65372014-06-28 Paul Eggert <eggert@cs.ucla.edu>
6538
6539 mktime: merge #if/#ifdef usage from glibc
6540 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
6541 as that works with both Glibc's and Gnulib's style.
6542 See thread starting at Siddhesh Poyarekar's bug report at:
6543 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
6544
65452014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6546
6547 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
6548 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
6549 * sysdeps/tile/tilegx/memmove.c: Remove file.
6550
65512014-06-27 Joseph Myers <joseph@codesourcery.com>
6552
6553 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
6554 abi-name definition.
6555 * scripts/soversions.awk: Do not handle or generate ABI lines.
6556 * shlib-versions: Remove ABI entries.
6557 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
6558 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
6559
65602014-06-27 Roland McGrath <roland@hack.frob.com>
6561
6562 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
6563 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
6564 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
6565 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
6566 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
6567 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
6568 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
6569 Moved ...
6570 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
6571 ... here.
6572 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
6573 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
6574 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
6575 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
6576 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
6577 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
6578 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
6579 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
6580 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
6581 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
6582 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
6583 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
6584 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
6585 Moved ...
6586 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
6587 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
6588 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
6589 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
6590 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
6591 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
6592 Moved ...
6593 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
6594 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
6595 Moved ...
6596 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
6597 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
6598 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
6599 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
6600 Moved ...
6601 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
6602 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
6603 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
6604 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
6605 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
6606 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
6607 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
6608 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
6609 Moved ...
6610 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
6611 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
6612 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
6613 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
6614 Moved ...
6615 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
6616 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
6617 Moved ...
6618 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
6619 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
6620 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
6621 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
6622 Moved ...
6623 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
6624 ... here.
6625 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
6626 Identical file removed.
6627 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
6628 Moved ...
6629 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
6630 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
6631 Identical file removed.
6632 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
6633 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
6634 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
6635 Moved ...
6636 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
6637 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
6638 Identical file removed.
6639 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
6640 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
6641 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
6642 Identical file removed.
6643 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
6644 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
6645 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
6646 Identical file removed.
6647 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
6648 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
6649 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
6650 Identical file removed.
6651 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
6652 Moved ...
6653 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
6654 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
6655 Identical file removed.
6656 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
6657 Moved ...
6658 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
6659 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
6660 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
6661 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
6662 Identical file removed.
6663 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
6664 Moved ...
6665 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
6666 ... here.
6667 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
6668 Identical file removed.
6669 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
6670 Moved ...
6671 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
6672 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
6673 Identical file removed.
6674 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
6675 Moved ...
6676 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
6677 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
6678 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
6679 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
6680 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
6681 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
6682 Moved ...
6683 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
6684 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
6685 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
6686
6687 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
6688 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
6689 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
6690 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
6691 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
6692
66932014-06-27 Arjun Shankar <arjun.is@lostca.se>
6694
6695 [BZ #17092]
6696 * nscd/nscd.c (monitor_child): Return exit status of child
6697 instead of return value from wait syscall.
6698
66992014-06-27 Joseph Myers <joseph@codesourcery.com>
6700
6701 * configure.ac (libc_commonpagesize): Remove variable.
6702 (libc_relro_required): Likewise.
6703 (libc_cv_z_relro): Remove configure test.
6704 * configure: Regenerated.
6705 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
6706 variable.
6707 (libc_relro_required): Likewise.
6708 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
6709 (libc_relro_required): Likewise.
6710 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
6711 (libc_relro_required): Likewise.
6712 * sysdeps/arm/preconfigure: Regenerated.
6713 * sysdeps/ia64/preconfigure: Remove file.
6714 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
6715 variable.
6716 (libc_relro_required): Likewise.
6717
6718 [BZ #16561]
6719 [BZ #16562]
6720 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
6721 (__ieee754_yn): Set FE_TONEAREST mode internally and then
6722 recompute overflowing results in original rounding mode.
6723 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
6724 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
6725 recompute overflowing results in original rounding mode.
6726 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
6727 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6728 recompute overflowing results in original rounding mode.
6729 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
6730 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6731 recompute overflowing results in original rounding mode.
6732 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
6733 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6734 recompute overflowing results in original rounding mode.
6735 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
6736 (libc_feholdsetround_ctx): New macro.
6737 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
6738 * sysdeps/i386/fpu/libm-test-ulps: Update.
6739 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
6740
67412014-06-26 Joseph Myers <joseph@codesourcery.com>
6742
6743 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
6744 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
6745 corresponding .cpsetup call.
6746
67472014-06-26 Roland McGrath <roland@hack.frob.com>
6748
6749 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
6750 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
6751 * sysdeps/arm/Makefile [$(subdir) = csu]
6752 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
6753 (static-only-routines): Add aeabi_read_tp here.
6754 (shared-only-routines): Add libc-aeabi_read_tp here.
6755 (CFLAGS-libc-start.c): Add -fexceptions here.
6756 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
6757 (sysdep_routines, static-only-routines, shared-only-routines):
6758 Don't add to these here.
6759 (CFLAGS-libc-start.c): Likewise.
6760
6761 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
6762 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6763 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
6764 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6765 * sysdeps/arm/Makefile [$(subdir) = rt]
6766 (librt-sysdep_routines, librt-shared-only-routines):
6767 Append rt-aeabi_unwind_cpp_pr1 here.
6768 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
6769 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
6770 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
6771 (libpthread-sysdep_routines, libpthread-shared-only-routines):
6772 Append nptl-aeabi_unwind_cpp_pr1 here.
6773 (tests): Filter out tst-cleanupx4 here.
6774 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
6775 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
6776 Don't do those here.
6777
67782014-06-26 Joseph Myers <joseph@codesourcery.com>
6779
6780 * scripts/list-sources.sh: Do not handle ports specially.
6781
67822014-06-26 Roland McGrath <roland@hack.frob.com>
6783
6784 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
6785 * sysdeps/arm/feupdateenv.c: Likewise.
6786
6787 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
6788
67892014-06-26 Joseph Myers <joseph@codesourcery.com>
6790
6791 * manual/texinfo.tex: Update to version 2014-05-05.10 with
6792 trailing whitespace removed.
6793 * scripts/config.guess: Update to version 2014-03-23.
6794 * scripts/config.sub: Update to version 2014-05-01
6795 * scripts/install-sh: Update to version 2013-12-25.23.
6796 * scripts/move-if-change: Update from gnulib.
6797
67982014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6799
6800 * debug/memmove_chk.c: Remove pagecopy.h include.
6801
68022014-06-26 Paul Eggert <eggert@cs.ucla.edu>
6803
6804 * time/mktime.c (leapyear): Remove inline keyword. The code is now
6805 identical to gnulib mktime.
6806
68072014-06-26 Joseph Myers <joseph@codesourcery.com>
6808
6809 * configure.ac: Do not test for machine being rs6000. Do not test
6810 for powerpc*-*soft.
6811 * configure: Regenerated.
6812
6813 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
6814 test.
6815 * configure: Regenerated.
6816 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
6817 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
6818 Remove configure test.
6819 * sysdeps/arm/configure: Regenerated.
6820 * sysdeps/nptl/configure.ac: Do not check
6821 libc_cv_asm_cfi_directives.
6822 * sysdeps/nptl/configure: Regenerated.
6823 * sysdeps/x86_64/nptl/configure.ac: Remove file.
6824 * sysdeps/x86_64/nptl/configure: Remove generated file.
6825 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
6826 unconditional.
6827 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
6828
68292014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6830
6831 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
6832 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
6833 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
6834 it is defined.
6835
6836 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
6837 instead of whether it is defined.
6838 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
6839 * sysdeps/hppa/dl-machine.h: Likewise.
6840 * sysdeps/ia64/dl-machine.h: Likewise.
6841 * sysdeps/m68k/dl-machine.h: Likewise.
6842 * sysdeps/microblaze/dl-machine.h: Likewise.
6843 * sysdeps/mips/dl-machine.: Likewise.
6844 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6845 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6846 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6847 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6848 * sysdeps/sh/dl-machine.h: Likewise.
6849 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6850 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6851 * sysdeps/tile/dl-machine.h: Likewise.
6852 * sysdeps/x86_64/dl-machine.h: Likewise.
6853
6854 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
6855 code.
6856 (verify_persistent_db): Likewise.
6857
68582014-06-26 Roland McGrath <roland@hack.frob.com>
6859
6860 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
6861 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
6862 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
6863 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
6864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6865 Moved ...
6866 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
6867 ... here.
6868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
6869 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
6870 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
6871 Identical file removed.
6872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
6873 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
6874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
6875 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
6876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
6877 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
6878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
6879 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
6880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
6881 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
6882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6883 Moved ...
6884 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
6885 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
6886 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
6887 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
6888 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
6889 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6890 Moved ...
6891 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
6892 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
6893 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
6894 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
6895 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
6896 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6897 Identical file removed.
6898 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
6899 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
6900 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
6901 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
6902 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6903 Moved ...
6904 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
6905 ... here.
6906 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
6907 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
6908 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
6909 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
6910 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
6911 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
6912 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
6913 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
6914 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
6915 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
6916 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6917 Moved ...
6918 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
6919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
6920 Moved ...
6921 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
6922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
6923 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
6924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6925 Moved ...
6926 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
6927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
6928 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
6929
6930 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
6931 folded into ...
6932 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
6933 * sysdeps/unix/sysv/linux/s390/Versions
6934 (libpthread: GLIBC_2.19): New version set.
6935 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
6936 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
6937 (librt: GLIBC_2.3.3): New version set.
6938 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
6939 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
6940 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
6941 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
6942 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
6943 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
6944 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
6945 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
6946 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
6947 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
6948 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
6949 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
6950 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
6951 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
6952 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
6953 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
6954 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
6955 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
6956 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
6957 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
6958 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
6959 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
6960 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
6961 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
6962 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
6963 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
6964 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
6965 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
6966 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
6967 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
6968 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
6969 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
6970 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
6971 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
6972 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
6973 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
6974 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
6975 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
6976 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
6977 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
6978 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
6979 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
6980 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
6981 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
6982 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
6983
6984 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
6985 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
6986 (__libc_vfork): Define the function under this name.
6987 [!NOT_IN_libc] (__vfork): Make this an alias.
6988 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6989 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
6990 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
6991 (__libc_vfork): Define the function under this name.
6992 [!NOT_IN_libc] (__vfork): Make this an alias.
6993 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6994 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
6995 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
6996 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
6997 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
6998 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6999
7000 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
7001 code that was previously under [RESET_PID].
7002 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
7003 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
7004 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
7005
7006 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
7007 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
7008 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
7009 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
7010 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
7011 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
7012 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
7013 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
7014 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
7015 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
7016 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
7017 Moved ...
7018 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
7019 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
7020 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
7021 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
7022 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
7023 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
7024 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
7025 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
7026 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
7027 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
7028 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
7029 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
7030 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
7031 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
7032 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
7033 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
7034 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
7035 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
7036 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
7037 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
7038 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
7039 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
7040 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
7041 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
7042 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
7043 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
7044 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
7045 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
7046 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
7047
70482014-06-25 Roland McGrath <roland@hack.frob.com>
7049
7050 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
7051 that was previously under [RESET_PID].
7052 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
7053
70542014-06-25 Joseph Myers <joseph@codesourcery.com>
7055
7056 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
7057 not undefine and redefine.
7058 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
7059 [O_CLOEXEC]: Make code unconditional.
7060 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
7061 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
7062 <kernel-features.h>.
7063 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
7064 conditional variable definition.
7065 (shm_open) [O_CLOEXEC]: Make code unconditional.
7066 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
7067 code.
7068
7069 * configure.ac (USE_REGPARMS): Don't define here.
7070 * configure: Regenerated.
7071 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
7072 * sysdeps/i386/configure: Regenerated.
7073
7074 * nptl/createthread.c: Don't include kernel-features.h.
7075 * nptl/pthread_cancel.c: Likewise.
7076 * nptl/pthread_condattr_setclock.c: Likewise.
7077 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
7078 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
7079 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
7080 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
7081 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
7082 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
7083 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7084 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
7085 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7086 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
7087 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
7088 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
7089 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
7090 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
7091 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
7092 * nscd/gai.c: Likewise.
7093 * nss/nss_db/db-open.c: Likewise.
7094 * sysdeps/generic/ldsodefs.h: Likewise.
7095 * sysdeps/sh/nptl/tls.h: Likewise.
7096 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7097 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
7098 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
7099 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
7100 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
7101 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7102 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
7103 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7104 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7105 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7106 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7107 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7108 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
7109 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
7110 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
7111 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
7112 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
7113 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
7114 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
7115 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7116 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7117 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7118 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
7119 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7120 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7121 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7122 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
7123 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7124 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7125 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
7126 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
7127 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
7128 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
7129 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7130 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7131 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7132 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7133 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
7134 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
7135 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7136 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7137 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
7138 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
7139 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7140 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
7141 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
7142 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
7143 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
7144 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
7145 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7146 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7147 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7148 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7149 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7150 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
7151 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7152 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7153 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
7154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
7156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
7157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
7158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
7159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
7165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
7166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
7167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
7168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
7169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
7174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
7175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
7176 * sysdeps/unix/sysv/linux/pread.c: Likewise.
7177 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7178 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
7179 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
7180 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7181 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
7182 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
7183 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7184 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
7185 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7186 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
7187 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7188 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7189 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
7190 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
7191 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
7192 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7193 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7194 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
7195 * sysdeps/unix/sysv/linux/system.c: Likewise.
7196 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
7197 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7198 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7199 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7200 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7201 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7202 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7203
7204 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
7205 * configure: Regenerated.
7206 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
7207
7208 * configure.ac (base_machine): Do not set specially for particular
7209 machines here.
7210 * configure: Regenerated.
7211 * sysdeps/powerpc/preconfigure: Move machine and base_machine
7212 settings from configure.ac.
7213 * sysdeps/i386/preconfigure: New file.
7214 * sysdeps/s390/preconfigure: Likewise.
7215 * sysdeps/sh/preconfigure: Likewise.
7216 * sysdeps/sparc/preconfigure: Likewise.
7217
72182014-06-25 Roland McGrath <roland@hack.frob.com>
7219
7220 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
7221 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
7222 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
7223 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
7224 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
7225 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
7226 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
7227 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
7228 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
7229 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
7230 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
7231 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
7232 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
7233 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
7234 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
7235 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
7236 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
7237 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
7238 * sysdeps/sparc/sparc64/Makefile: ... appended here.
7239
7240 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
7241 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
7242 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
7243 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
7244 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
7245 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
7246 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
7247 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
7248 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
7249 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
7250 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
7251 * sysdeps/sparc/sparc32/sem_post.c: ... here.
7252 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
7253 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
7254 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
7255 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
7256 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
7257 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
7258 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
7259 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
7260 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
7261 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
7262 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
7263 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
7264 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
7265 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
7266 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
7267 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
7268 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
7269 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
7270 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
7271 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
7272 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
7273 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
7274 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
7275 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
7276 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
7277 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
7278
7279 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
7280 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
7281 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
7282 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
7283 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7284 Moved ...
7285 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
7286 ... here.
7287 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
7288 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
7289 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
7290 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
7291 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
7292 Moved ...
7293 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
7294 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
7295 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
7296 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
7297 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
7298 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
7299 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
7300 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7301 Moved ...
7302 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
7303 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7304 Moved ...
7305 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
7306 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
7307 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
7308 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7309 Moved ...
7310 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
7311 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
7312 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
7313 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
7314 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
7315 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
7316 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
7317 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
7318 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
7319 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7320 Moved ...
7321 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
7322 ... here.
7323 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
7324 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
7325 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
7326 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
7327 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
7328 Moved ...
7329 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
7330 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
7331 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
7332 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
7333 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
7334 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
7335 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
7336 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7337 Moved ...
7338 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
7339 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7340 Moved ...
7341 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
7342 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
7343 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
7344 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7345 Moved ...
7346 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
7347 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
7348 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
7349 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
7350 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
7351
73522014-06-25 Joseph Myers <joseph@codesourcery.com>
7353
7354 * timezone/checktab.awk: Update from tzcode 2014e.
7355 * timezone/private.h: Likewise.
7356 * timezone/tzfile.h: Likewise.
7357 * timezone/zdump.c: Likewise.
7358 * timezone/zic.c: Likewise.
7359
7360 * sysdeps/unix/sysv/linux/kernel-features.h
7361 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
7362 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
7363 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
7364 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7365 Remove conditional code.
7366
73672014-06-25 Will Newton <will.newton@linaro.org>
7368
7369 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
7370 (_dl_arm_cap_flags): Add HWCAP2 values.
7371 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
7372 (_DL_HWCAP_COUNT): Increase to 37.
7373 (_DL_HWCAP_LAST): New define.
7374 (_DL_HWCAP2_LAST): New define.
7375 (_dl_procinfo): Add support for printing
7376 AT_HWCAP2 entries.
7377 (_dl_string_hwcap): Use _dl_hwcap_string.
7378
73792014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7380
7381 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7382
73832014-06-25 Joseph Myers <joseph@codesourcery.com>
7384
7385 * README: Do not mention ports directory.
7386
7387 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
7388 Remove macro.
7389 * sysdeps/unix/sysv/linux/futimes.c: Do not include
7390 <kernel-features.h>.
7391 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
7392 conditional variable definition.
7393 (__futimes): Update comment.
7394 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
7395 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
7396
7397 [BZ #16560]
7398 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
7399 arguments close to 0.
7400 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
7401 Likewise.
7402 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
7403 Likewise.
7404 * math/auto-libm-test-in: Add more tests of exp10.
7405 * math/auto-libm-test-out: Regenerated.
7406 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7407
7408 * sysdeps/unix/sysv/linux/kernel-features.h
7409 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
7410 * sysdeps/unix/sysv/linux/readv.c: Do not include
7411 <kernel-features.h>.
7412 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7413 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7414 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7415 unconditional.
7416 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7417 conditional code.
7418 * sysdeps/unix/sysv/linux/writev.c: Do not include
7419 <kernel-features.h>.
7420 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7421 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7422 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7423 unconditional.
7424 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7425 conditional code.
7426
74272014-06-25 Will Newton <will.newton@linaro.org>
7428
7429 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
7430 comment changes throughout the file. Remove checks
7431 for HAVE_*_H definitions that are not required.
7432 (__gen_tempname): Call abort if an unknown kind value is
7433 passed.
7434
74352014-06-25 Andreas Schwab <schwab@suse.de>
7436
7437 [BZ #17086]
7438 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
7439 scalbln, scalblnf, scalblnl in libc.
7440
74412014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7442
7443 [BZ #17086]
7444 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
7445 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7446 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7447
74482014-06-24 Roland McGrath <roland@hack.frob.com>
7449
7450 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
7451 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
7452 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
7453 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
7454 Update #include.
7455 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
7456 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
7457 Update #include.
7458 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
7459 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
7460 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
7461 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
7462 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
7463 * sysdeps/x86/bits/pthreadtypes.h: ... here.
7464 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
7465 * sysdeps/x86/bits/semaphore.h: ... here.
7466 * sysdeps/x86/nptl/elide.h: Moved ...
7467 * sysdeps/x86/elide.h: ... here.
7468 * sysdeps/x86_64/nptl/Implies: File removed.
7469 * sysdeps/i386/nptl/Implies: File removed.
7470
74712014-06-24 Joseph Myers <joseph@codesourcery.com>
7472
7473 [BZ #16539]
7474 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
7475 return the argument for normal arguments with exponent below -64.
7476 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7477 Likewise.
7478 * math/auto-libm-test-in: Add another test of expm1.
7479 * math/auto-libm-test-out: Regenerated.
7480
7481 [BZ #16287]
7482 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
7483 calling __erfcl for arguments at least 16.
7484 * math/auto-libm-test-in: Add more tests of erf.
7485 * math/auto-libm-test-out: Regenerated.
7486
7487 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
7488 individual architectures.
7489 * sysdeps/unix/sysv/linux/configure: Regenerated.
7490 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
7491 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
7492 * sysdeps/unix/sysv/linux/powerpc/configure.ac
7493 (ldd_rewrite_script): Define variable.
7494 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
7496 file.
7497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
7498 generated file.
7499 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
7500 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
7501 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
7502 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
7503 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
7504 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
7505 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
7506 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
7507
75082014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7509
7510 [BZ #17084]
7511 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
7512 Rename member __data.d to __data.__elision_data.
7513
75142014-06-24 Wilco <wdijkstr@arm.com>
7515
7516 * NEWS: Add 16918 to fixed bug list.
7517
75182014-06-24 Wilco <wdijkstr@arm.com>
7519
7520 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
7521
75222014-06-24 Wilco <wdijkstr@arm.com>
7523
7524 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
7525 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
7526 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
7527 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
7528 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
7529 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
7530 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
7531 Use _FPU_MASK_RM.
7532
75332014-06-24 Wilco <wdijkstr@arm.com>
7534
7535 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
7536
75372014-06-24 Wilco <wdijkstr@arm.com>
7538
7539 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
7540 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
7541 * sysdeps/arm/fesetround.c (fesetround): Remove space.
7542 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
7543
75442014-06-24 Wilco <wdijkstr@arm.com>
7545
7546 [BZ #16918]
7547 * sysdeps/arm/feupdateenv.c (feupdateenv):
7548 Rewrite to reduce FPSCR accesses and fix return value.
7549
75502014-06-24 Wilco <wdijkstr@arm.com>
7551
7552 * sysdeps/arm/fclrexcpt.c (feclearexcept):
7553 Optimize to avoid unnecessary FPSCR writes.
7554 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
7555 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
7556 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
7557 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
7558
75592014-06-24 Wilco <wdijkstr@arm.com>
7560
7561 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
7562 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
7563 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
7564 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
7565 Call libc_fetestexcept_vfp.
7566 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
7567 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
7568 __SOFTFP__ ifdef so that they can be built for softfp.
7569
75702014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7571
7572 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
7573 argument type signed char.
7574
7575 * Makerules (check-abi): Dump diff of symlist if the test
7576 fails.
7577
75782014-06-23 Roland McGrath <roland@hack.frob.com>
7579
7580 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
7581 using abort.
7582
7583 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7584 Remove unused variable ST.
7585
75862014-06-23 Joseph Myers <joseph@codesourcery.com>
7587
7588 [BZ #16354]
7589 [BZ #17061]
7590 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
7591 small arguments before calling __expm1.
7592 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
7593 small arguments before calling __expm1f.
7594 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
7595 small arguments before calling __expm1l.
7596 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7597 Likewise.
7598 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
7599 * math/auto-libm-test-in: Add more cosh tests. Do not allow
7600 spurious underflow for some cosh tests.
7601 * math/auto-libm-test-out: Regenerated.
7602 * sysdeps/i386/fpu/libm-test-ulps: Update.
7603
7604 [BZ #17050]
7605 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
7606 (__ieee754_y1): Set errno if return value overflows.
7607 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
7608 (__ieee754_y1f): Set errno if return value overflows.
7609 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
7610 (__ieee754_y1l): Set errno if return value overflows.
7611 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
7612 (__ieee754_y1l): Set errno if return value overflows.
7613 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
7614 * math/auto-libm-test-out: Regenerated.
7615
7616 * math/gen-auto-libm-tests.c: Document use of
7617 ignore-zero-inf-sign.
7618 (input_flag_type): Add value flag_ignore_zero_inf_sign.
7619 (input_flags): Add ignore-zero-inf-sign.
7620 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
7621 * math/gen-libm-test.pl (generate_testfile): Handle
7622 ignore-zero-inf-sign.
7623 * math/auto-libm-test-in: Mark some cpow tests with
7624 ignore-zero-inf-sign and some with xfail-rounding.
7625 * math/auto-libm-test-out: Regenerated.
7626 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
7627 * sysdeps/i386/fpu/libm-test-ulps: Update.
7628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7629
7630 [BZ #16315]
7631 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
7632 overflowing or underflowing operations take place with sign of
7633 result.
7634 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7635 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7636 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
7637 (__ieee754_pow): Recompute overflowing and underflowing results in
7638 original rounding mode.
7639 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
7640 (__powl_helper): Allow negative argument X and scale negated value
7641 as needed. Avoid passing value outside [-1, 1] to f2xm1.
7642 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
7643 overflowing or underflowing operations take place with sign of
7644 result.
7645 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
7646 Include <math.h>.
7647 * math/auto-libm-test-in: Add more tests of pow.
7648 * math/auto-libm-test-out: Regenerated.
7649 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
7650 (pow_tonearest_test_data): Remove.
7651 (pow_test_tonearest): Likewise.
7652 (pow_towardzero_test_data): Likewise.
7653 (pow_test_towardzero): Likewise.
7654 (pow_downward_test_data): Likewise.
7655 (pow_test_downward): Likewise.
7656 (pow_upward_test_data): Likewise.
7657 (pow_test_upward): Likewise.
7658 (main): Don't call removed functions.
7659 * sysdeps/i386/fpu/libm-test-ulps: Update.
7660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7661
76622014-06-23 Roland McGrath <roland@hack.frob.com>
7663
7664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
7665 Moved ...
7666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
7667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7668 Moved ...
7669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
7670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7671 Moved ...
7672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
7673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7674 Moved ...
7675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
7676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7677 File removed.
7678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7679 File removed.
7680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
7681 File removed.
7682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
7683 File removed.
7684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
7685 File removed.
7686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
7687 File removed.
7688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
7689 File removed.
7690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7691 File removed.
7692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
7693 File removed.
7694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7695 File removed.
7696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
7697 File removed.
7698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
7699 File removed.
7700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
7701 Moved ...
7702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
7703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
7704 Moved ...
7705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
7706 ... here.
7707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
7708 Moved ...
7709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
7710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
7711 Moved ...
7712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
7713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
7714 Moved ...
7715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
7716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
7717 Moved ...
7718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
7719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
7720 Moved ...
7721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
7722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
7723 Moved ...
7724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
7725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
7726 Moved ...
7727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
7728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
7729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
7730 ... here.
7731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
7732 Moved ...
7733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
7734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7735 Moved ...
7736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7737 ... here.
7738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
7739 Moved ...
7740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7741 ... here.
7742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7743 Moved ...
7744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
7745 ... here.
7746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7747 Moved ...
7748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
7749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7750 Moved ...
7751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
7752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
7753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
7754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7755 Moved ...
7756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
7757 ... here.
7758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7759 Moved ...
7760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
7761 ... here.
7762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7763 Moved ...
7764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
7765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7766 Moved ...
7767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
7768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7769 Moved ...
7770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
7771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7772 Moved ...
7773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
7774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7775 Moved ...
7776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
7777 ... here.
7778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7779 Moved ...
7780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
7781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7782 Moved ...
7783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
7784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7785 Moved ...
7786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
7787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7788 Moved ...
7789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
7790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
7791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
7792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7793 Moved ...
7794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
7795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7796 Moved ...
7797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
7798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7799 Moved ...
7800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
7801 ... here.
7802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7803 Moved ...
7804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
7805 ... here.
7806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7807 Moved ...
7808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
7809 ... here.
7810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7811 Moved ...
7812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
7813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7814 Moved ...
7815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
7816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7817 Moved ...
7818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
7819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7820 Moved ...
7821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
7822 ... here.
7823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7824 Moved ...
7825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
7826 ... here.
7827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7828 Moved ...
7829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
7830 ... here.
7831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7832 Moved ...
7833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
7834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7835 Moved ...
7836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
7837
78382014-06-23 Will Newton <will.newton@linaro.org>
7839 Wilco <wdijkstr@arm.com>
7840
7841 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
7842 implementation. Include get-rounding-mode.h.
7843 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
7844 [!libc_feholdsetround_noex_ctx]: Define
7845 libc_feholdsetround_noex_ctx.
7846 [!libc_feholdsetround_noexf_ctx]: Define
7847 libc_feholdsetround_noexf_ctx.
7848 [!libc_feholdsetround_noexl_ctx]: Define
7849 libc_feholdsetround_noexl_ctx.
7850 (libc_feholdsetround_ctx): New function.
7851 (libc_feresetround_ctx): New function.
7852 (libc_feholdsetround_noex_ctx): New function.
7853 (libc_feresetround_noex_ctx): New function.
7854
78552014-06-23 Roland McGrath <roland@hack.frob.com>
7856
7857 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
7858 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
7859 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
7860 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
7861 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
7862 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
7863
7864 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
7865 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
7866 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
7867 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
7868 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
7869 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
7870 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
7871 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
7872 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
7873 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
7874 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
7875 Moved ...
7876 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
7877 ... here.
7878 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
7879 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
7880 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
7881 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
7882 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
7883 Moved ...
7884 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
7885 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
7886 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
7887 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
7888 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
7889 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
7890 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
7891 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
7892 Moved ...
7893 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
7894 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
7895 Moved ...
7896 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
7897 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
7898 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
7899 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
7900 Moved ...
7901 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
7902 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
7903 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
7904 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
7905 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
7906 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
7907 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
7908 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
7909 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
7910 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
7911 Moved ...
7912 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
7913 ... here.
7914 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
7915 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
7916 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
7917 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
7918 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
7919 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
7920 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
7921 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
7922 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
7923 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
7924 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
7925 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
7926 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
7927 Moved ...
7928 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
7929 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
7930 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
7931 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
7932 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
7933 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
7934 Moved ...
7935 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
7936 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
7937 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
7938 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
7939 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
7940
7941 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
7942 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
7943 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
7944 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
7945 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
7946 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
7947 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
7948 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
7949 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
7950 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
7951 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
7952 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
7953 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
7954 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
7955 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
7956 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
7957 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
7958 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
7959 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
7960 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
7961 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
7962 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
7963 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
7964 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
7965 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
7966 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
7967 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
7968 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
7969
79702014-06-23 Joseph Myers <joseph@codesourcery.com>
7971
7972 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
7973 (FALLOC_FL_COLLAPSE_RANGE): New macro.
7974 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
7975 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
7976 (IPV6_PMTUDISC_INTERFACE): Likewise.
7977 (IPV6_PMTUDISC_OMIT): Likewise.
7978
79792014-06-23 Andreas Schwab <schwab@suse.de>
7980
7981 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
7982 Remove unused errout label.
7983
79842014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7985
7986 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
7987 macro: hardware supports Vector Crypto instructions.
7988
79892014-06-23 Will Newton <will.newton@linaro.org>
7990
7991 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
7992 rather than __builtin_expect.
7993
7994 * elf/dl-lookup.c (undefined_msg): Remove variable.
7995 (_dl_lookup_symbol_x): Replace undefined_msg with string
7996 literal.
7997
7998 * elf/dl-lookup.c (do_lookup_unique): New function.
7999 (do_lookup_x): Move STB_GNU_UNIQUE handling code
8000 to a separate function.
8001
80022014-06-23 Andreas Schwab <schwab@suse.de>
8003
8004 [BZ #17079]
8005 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
8006 before reading the next line.
8007
80082014-06-23 Will Newton <will.newton@linaro.org>
8009
8010 * test-skeleton.c (signal_handler): Use printf and %m
8011 rather than perror. Use printf rather than fprintf to
8012 stderr. Use puts rather than fputs to stderr.
8013 (main): Likewise.
8014
80152014-06-22 Ludovic Courtès <ludo@gnu.org>
8016
8017 * nscd/nscd.c (thread_info_t): Remove typedef.
8018 (thread_info): Remove variable.
8019
80202014-06-21 Allan McRae <allan@archlinux.org>
8021
8022 * NEWS: Mention CVE-2014-4043.
8023
80242014-06-20 Roland McGrath <roland@hack.frob.com>
8025
8026 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
8027 * nptl/smp.h: ... here.
8028
8029 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
8030
8031 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
8032 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
8033 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
8034 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
8035
8036 * nptl/allocatestack.c: Include <stack-aliasing.h>.
8037 * nptl/stack-aliasing.h: New file.
8038 * sysdeps/i386/i686/stack-aliasing.h: New file.
8039 * sysdeps/i386/i686/nptl/Makefile: File removed.
8040 * sysdeps/x86_64/stack-aliasing.h: New file.
8041 * sysdeps/x86_64/nptl/Makefile
8042 (CFLAGS-pthread_create.c): Variable removed.
8043
8044 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
8045 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
8046 old file.
8047 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
8048 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
8049 old file.
8050
80512014-06-21 Joseph Myers <joseph@codesourcery.com>
8052
8053 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8054 (__ASSUME_SIGFRAME_V2): Remove macro.
8055 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
8056 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
8057 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
8058 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
8059 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
8060 Declare as function. Remove conditional macro definitions.
8061 (__default_rt_sa_restorer): Likewise.
8062 (__default_sa_restorer_v1): Remove declaration.
8063 (__default_sa_restorer_v2): Likewise.
8064 (__default_rt_sa_restorer_v1): Likewise.
8065 (__default_rt_sa_restorer_v2): Likewise.
8066 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
8067 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
8068 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
8069
80702014-06-20 Roland McGrath <roland@hack.frob.com>
8071
8072 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
8073 (libpthread-routines): Add sysdep.
8074 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
8075 * sysdeps/unix/sysv/linux/sparc/Versions
8076 (libpthread: GLIBC_2.3.3): New version set.
8077 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
8078 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
8079 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
8080 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
8081 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
8082 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
8083 Moved ...
8084 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
8085 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
8086 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
8087 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
8088 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
8089 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
8090 * sysdeps/sparc/nptl/sem_init.c: ... here.
8091 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
8092 * sysdeps/sparc/nptl/sem_post.c: ... here.
8093 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
8094 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
8095 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
8096 * sysdeps/sparc/nptl/sem_wait.c: ... here.
8097 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
8098 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
8099 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
8100 (libpthread-routines): Add cpu_relax.
8101 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
8102 File removed.
8103 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
8104 (librt: GLIBC_2.3.3): New version set.
8105 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
8106 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
8107 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
8108 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
8109 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
8110 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
8111 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
8112 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
8113 Moved ...
8114 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
8115 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
8116 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
8117 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
8118 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
8119 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
8120 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
8121 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
8122 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
8123 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
8124 Moved ...
8125 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
8126 Update #include.
8127 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
8128 Moved ...
8129 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
8130 Update #include.
8131 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
8132 Moved ...
8133 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
8134 Update #include.
8135 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
8136 Moved ...
8137 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
8138 Update #include.
8139 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
8140 Moved ...
8141 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
8142 Update #include.
8143 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
8144 Moved ...
8145 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
8146 Update #include.
8147 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
8148 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
8149 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
8150 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
8151 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
8152 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
8153 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
8154 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
8155 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
8156 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
8157 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8158 Moved ...
8159 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
8160 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
8161 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
8162 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
8163 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
8164
81652014-06-20 Joseph Myers <joseph@codesourcery.com>
8166
8167 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
8168 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
8169 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8170 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
8171 * nscd/nscd.c: Likewise.
8172 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
8173 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
8174 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
8175 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
8176
8177 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
8178 <kernel-features.h>.
8179 (init_mq_netlink): Remove conditional have_sock_cloexec
8180 definitions. Remove code conditional on have_sock_cloexec < 0.
8181 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
8182 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
8183 * sysdeps/unix/sysv/linux/opensock.c: Do not include
8184 <kernel-features.h>.
8185 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
8186 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
8187
81882014-06-20 H.J. Lu <hongjiu.lu@intel.com>
8189
8190 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8191 Add tests for memset_chk and memset.
8192
8193 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
8194 with AVX2_Usable.
8195
81962014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
8197
8198 [BZ #16046]
8199 * elf/tst-dl-iter-static.c: New file.
8200 * elf/Makefile (tests-static): Add tst-dl-iter-static.
8201
8202 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
8203 error.
8204
82052014-06-20 Joseph Myers <joseph@codesourcery.com>
8206
8207 * sysdeps/unix/sysv/linux/kernel-features.h
8208 (__ASSUME_F_GETOWN_EX): Remove macro.
8209 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
8210 <kernel-features.h>.
8211 (miss_F_GETOWN_EX): Remove variable or macro.
8212 (do_fcntl): Do not check miss_F_GETOWN_EX.
8213 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
8214
8215 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
8216 Remove macro.
8217 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
8218 [!__ASSUME_AT_RANDOM]: Remove conditional code.
8219 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
8220
8221 * sysdeps/unix/sysv/linux/kernel-features.h
8222 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
8223 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
8224 [ADJ_OFFSET_SS_READ]: Make code unconditional.
8225 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
8226
82272014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
8228
8229 [BZ #17075]
8230 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
8231 Fix calculation of the symbol's value.
8232 * sysdeps/arm/tst-armtlsdescloc.c: New file.
8233 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
8234 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
8235 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
8236 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
8237 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
8238 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
8239 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
8240 (modules-names): Add `tst-armtlsdescmod',
8241 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
8242 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
8243 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8244 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
8245 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
8246 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8247 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
8248 ($(objpfx)tst-armtlsdescloc): New dependency.
8249 ($(objpfx)tst-armtlsdescextnow): Likewise.
8250 ($(objpfx)tst-armtlsdescextlazy): Likewise.
8251 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
8252 TLS scheme support.
8253 * sysdeps/arm/configure: Regenerate.
8254
82552014-06-20 Joseph Myers <joseph@codesourcery.com>
8256
8257 * include/fcntl.h (__atfct_seterrno): Remove prototype.
8258 (__atfct_seterrno_2): Likewise.
8259 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
8260 <kernel-features.h>.
8261 (__ASSUME_ATFCTS): Do not undefine and redefine.
8262 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
8263 (__have_atfcts): Remove conditional definition.
8264 (__fxstatat([__NR_fstatat64]: Make code unconditional.
8265 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
8266 unreachable if [__ASSUME_ATFCTS].
8267 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
8268 not undefine and redefine.
8269 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
8270 <kernel-features.h>.
8271 (faccessat) [__NR_faccessat]: Make code unconditional.
8272 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
8273 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
8274 <kernel-features.h>.
8275 (fchmodat) [__NR_fchmodat]: Make code unconditional.
8276 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8277 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
8278 <kernel-features.h>.
8279 (fchownat) [__NR_fchownat]: Make code unconditional.
8280 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
8281 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
8282 <kernel-features.h>.
8283 (futimesat) [__NR_futimesat]: Make code unconditional.
8284 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
8285 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8286 <kernel-features.h>.
8287 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8288 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8289 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8290 <kernel-features.h>.
8291 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
8292 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8293 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
8294 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8295 <kernel-features.h>.
8296 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
8297 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8298 * sysdeps/unix/sysv/linux/linkat.c: Do not include
8299 <kernel-features.h>.
8300 (linkat) [__NR_linkat]: Make code unconditional.
8301 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8302 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
8303 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
8304 <kernel-features.h>.
8305 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
8306 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8307 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
8308 <kernel-features.h>.
8309 (mkdirat) [__NR_mkdirat]: Make code unconditional.
8310 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
8311 * sysdeps/unix/sysv/linux/openat.c: Do not include
8312 <kernel-features.h>.
8313 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
8314 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
8315 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
8316 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
8317 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
8318 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
8319 <kernel-features.h>.
8320 (readlinkat) [__NR_readlinkat]: Make code unconditional.
8321 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
8322 result of INLINE_SYSCALL directly, not via int variable.
8323 * sysdeps/unix/sysv/linux/renameat.c: Do not include
8324 <kernel-features.h>.
8325 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
8326 (renameat) [__NR_renameat]: Make code unconditional.
8327 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
8328 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
8329 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
8330 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
8331 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
8332 (__ASSUME_ATFCTS): Do not undefine and redefine.
8333 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
8334 <kernel-features.h>.
8335 (symlinkat) [__NR_symlinkat]: Make code unconditional.
8336 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8337 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
8338 <kernel-features.h>.
8339 (unlinkat) [__NR_unlinkat]: Make code unconditional.
8340 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8341 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
8342 (__ASSUME_ATFCTS): Do not undefine and redefine.
8343 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8344 <kernel-features.h>.
8345 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8346 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8347 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8348 <kernel-features.h>.
8349 (__xmknodat) [__NR_mknodat]: Make code unconditional.
8350 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8351
83522014-06-20 H.J. Lu <hongjiu.lu@intel.com>
8353
8354 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
8355
83562014-06-20 Andreas Schwab <schwab@linux-m68k.org>
8357
8358 [BZ #17069]
8359 * posix/regcomp.c (parse_reg_exp): Deallocate partially
8360 constructed tree before returning error.
8361 * posix/bug-regexp36.c: Expand test case.
8362
83632014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
8364
8365 [BZ #6803]
8366 * math/libm-test.inc (scalbln_test_date):
8367 Add errno expectations.
8368 * math/w_scalblnf.c: New File.
8369 Add wrapper which checks for setting errno to ERANGE.
8370 Add weak_alias for corresponding scalbln function.
8371 * math/w_scalbln.c: Likewise.
8372 * math/w_scalblnl.c: Likewise.
8373 * math/Makefile (libm-calls): Add w_scalbln.
8374 * sysdeps/ieee754/flt-32/s_scalblnf.c:
8375 Remove weak_alias for corresponding scalbln function.
8376 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8377 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8378 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8379 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8380 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
8381 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8382 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
8383 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8384 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
8385 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
8386 Remove long_double_symbol for scalblnl function in libm, libc.
8387 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
8388 Add wrapper which checks for setting errno to ERANGE.
8389 Add long_double_symbol for scalblnl function in libm, libc.
8390 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
8391 Remove long_double_symbol for scalblnl in libm.
8392 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
8393 Add wrapper which checks for setting errno to ERANGE.
8394 Add long_double_symbol for scalblnl function in libm.
8395 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
8396 Do not use wrapper because of own implementation.
8397
83982014-06-19 H.J. Lu <hongjiu.lu@intel.com>
8399
8400 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
8401 3 bytes for __pad1 for x32.
8402 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
8403
84042014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
8405 H.J. Lu <hongjiu.lu@intel.com>
8406
8407 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
8408 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
8409 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8410 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8411 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
8412
84132014-06-19 Andreas Schwab <schwab@linux-m68k.org>
8414
8415 [BZ #17069]
8416 * posix/regcomp.c (parse_expression): Deallocate partially
8417 constructed tree before returning error.
8418 * posix/Makefile.c (tests): Add bug-regex36.
8419 (generated): Add bug-regex36.mtrace.
8420 (tests-special): Add $(objpfx)bug-regex36-mem.out
8421 (bug-regex36-ENV): New variable.
8422 ($(objpfx)bug-regex36-mem.out): New rule.
8423 * posix/bug-regex36.c: New file.
8424
84252014-06-19 Will Newton <will.newton@linaro.org>
8426
8427 * malloc/malloc.c (systrim): If extra is zero then return
8428 early.
8429
84302014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8431
8432 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
8433
84342014-06-19 Richard Earnshaw <rearnsha@arm.com>
8435
8436 * sysdeps/aarch64/strchr.S: New file.
8437
84382014-06-18 Joseph Myers <joseph@codesourcery.com>
8439
8440 [BZ #17022]
8441 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
8442 from arguments -2 or below.
8443 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8444 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
8445
84462014-06-18 Andreas Schwab <schwab@suse.de>
8447
8448 [BZ #17062]
8449 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
8450 of a bracket expr not to run off the end of the string.
8451 * posix/Makefile (tests): Add tst-fnmatch3.
8452 * posix/tst-fnmatch3.c: New file.
8453
84542014-06-18 Joseph Myers <joseph@codesourcery.com>
8455
8456 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
8457 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8458 [$(cross-compiling) = no]: Likewise.
8459 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8460 [$(cross-compiling) = no]: Likewise.
8461
84622014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8463
8464 [BZ #17031]
8465 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
8466 double, adjusted for any remainder from the high double.
8467 * math/libm-test.inc (nearbyint): Add tests.
8468 (rint): Likewise.
8469
84702014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8471
8472 * nptl/sysdeps/powerpc/Makefile: Moved ...
8473 * sysdeps/powerpc/nptl/Makefile: ... here.
8474 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
8475 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
8476 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
8477 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
8478 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
8479 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
8480 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
8481 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
8482 * nptl/sysdeps/powerpc/tls.h: Moved ...
8483 * sysdeps/powerpc/nptl/tls.h: ... here.
8484
84852014-06-16 Joseph Myers <joseph@codesourcery.com>
8486
8487 [BZ #16681]
8488 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
8489 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8490 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
8491 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
8492 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8493 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
8494 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
8495 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8496 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
8497
84982014-06-17 Andreas Schwab <schwab@linux-m68k.org>
8499
8500 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8501
85022014-06-16 Andreas Schwab <schwab@linux-m68k.org>
8503
8504 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
8505 defined operator.
8506
8507 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
8508 $TIMEOUTFACTOR.
8509
85102014-06-16 Florian Weimer <fweimer@redhat.com>
8511
8512 [BZ #17058]
8513 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
8514 non-executed part of the test.
8515
85162014-06-16 Andreas Schwab <schwab@suse.de>
8517
8518 * string/bits/string2.h (strdup, strndup): Update feature guard.
8519
85202014-06-14 David S. Miller <davem@davemloft.net>
8521
8522 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8523
85242014-06-14 Andreas Schwab <schwab@linux-m68k.org>
8525
8526 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
8527 that was previously under [RESET_PID].
8528 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
8529
8530 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
8531 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
8532 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
8533 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8534 (__libc_vfork): New strong alias.
8535 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
8536
85372014-06-14 Andi Kleen <ak@linux.intel.com>
8538
8539 * sysdeps/generic/elide.h: New file.
8540
85412014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8542
8543 * Makefile (installed-headers): Adjust path of pthread.h header.
8544
85452014-06-13 Roland McGrath <roland@hack.frob.com>
8546
8547 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
8548 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
8549 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
8550 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
8551
8552 * nptl/sysdeps/s390/Makefile: Moved ...
8553 * sysdeps/s390/nptl/Makefile: ... here.
8554 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
8555 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
8556 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
8557 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
8558 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
8559 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
8560 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
8561 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
8562 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
8563 * sysdeps/s390/nptl/pthreaddef.h: ... here.
8564 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
8565 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
8566 * nptl/sysdeps/s390/tls.h: Moved ...
8567 * sysdeps/s390/nptl/tls.h: ... here.
8568
8569 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
8570 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
8571
85722014-06-13 David S. Miller <davem@davemloft.net>
8573
8574 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
8575 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
8576 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
8577 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
8578 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
8579 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
8580 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
8581 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
8582 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
8583 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
8584 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
8585 Remove RESET_PID cpp guards.
8586 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
8587 Remove RESET_PID cpp guards.
8588 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
8589
85902014-06-13 Andreas Schwab <schwab@linux-m68k.org>
8591
8592 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
8593 __sp to uintptr_t.
8594
85952014-06-13 Andi Kleen <ak@linux.intel.com>
8596
8597 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
8598 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
8599 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
8600 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
8601 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
8602 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
8603 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
8604 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
8605 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
8606 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
8607 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
8608 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
8609 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
8610 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
8611 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
8612 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
8613 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
8614 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
8615 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
8616 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8617
8618 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
8619 (pthread_rwlock_rdlock): Add elision.
8620 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
8621 (pthread_rwlock_wrlock): Add elision.
8622 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
8623 (pthread_rwlock_trywrlock): Add elision.
8624 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
8625 (pthread_rwlock_tryrdlock): Add elision.
8626 * nptl/pthread_rwlock_unlock.c: Include elide.h.
8627 (pthread_rwlock_tryrdlock): Add elision unlock.
8628 * nptl/sysdeps/pthread/pthread.h:
8629 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
8630 (PTHREAD_RWLOCK_INITIALIZER,
8631 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
8632 Handle new elision field.
8633 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
8634 * sysdeps/arm/nptl/bits/pthreadtypes.h
8635 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8636 * sysdeps/sh/nptl/bits/pthreadtypes.h
8637 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8638 * sysdeps/tile/nptl/bits/pthreadtypes.h
8639 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8640 * sysdeps/a/nptl/bits/pthreadtypes.h
8641 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8642 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8643 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8644 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8645 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8646 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
8647 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8648 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8649 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8650 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8651 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8652 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8653 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8654 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8655 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8656 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
8657 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8658 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
8659 (elision_init): Set try_xbegin to zero when no RTM.
8660 * sysdeps/x86/nptl/bits/pthreadtypes.h
8661 (pthread_rwlock_t): Change __pad1 to __rwelision.
8662 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8663
86642014-06-13 Andi Kleen <ak@linux.intel.com>
8665
8666 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
8667 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
8668 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
8669 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
8670
86712014-06-13 Meador Inge <meadori@codesourcery.com>
8672
8673 [BZ #16996]
8674 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
8675 that the cached result has been set before returning it.
8676
86772014-06-12 Roland McGrath <roland@hack.frob.com>
8678
8679 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
8680 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
8681 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
8682 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
8683 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
8684 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
8685
8686 * nptl/sysdeps/sparc/Makefile: Moved ...
8687 * sysdeps/sparc/nptl/Makefile: ... here.
8688 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
8689 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
8690 * nptl/sysdeps/sparc/tls.h: Moved ...
8691 * sysdeps/sparc/nptl/tls.h: ... here.
8692 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
8693 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
8694 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
8695 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
8696 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
8697 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
8698 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
8699 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
8700 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
8701 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
8702 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
8703 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
8704 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
8705 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
8706 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
8707 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
8708 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
8709 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
8710 Update #include.
8711 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
8712 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
8713 Update #include.
8714 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
8715 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
8716 Update #include.
8717 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
8718 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
8719 Update #include.
8720
8721 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8722
8723 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
8724 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
8725
8726 * sysdeps/pthread/posix-timer.h: Include <list.h>.
8727 (struct list_links): Type removed.
8728 (struct thread_node, struct timer_node): Replace struct list_links
8729 with struct list_head.
8730 (list_unlink_ip): Likewise.
8731 * sysdeps/pthread/timer_routines.c
8732 (timer_free_list, thread_free_list, thread_active_list): Likewise.
8733 (list_append, list_insbefore): Likewise.
8734 (list_init): Function removed.
8735 (thread_init, init_module): Use INIT_LIST_HEAD instead.
8736 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
8737 * sysdeps/pthread/Makefile: ... here, new file.
8738
8739 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
8740 * sysdeps/nptl/Implies: ... here.
8741 * sysdeps/unix/sysv/linux/Implies: Add nptl.
8742 * nptl/sysdeps/pthread/list.h: Moved ...
8743 * include/list.h: ... here.
8744 * nptl/sysdeps/pthread/createthread.c: Moved ...
8745 * nptl/createthread.c: ... here.
8746 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
8747 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
8748 * nptl/pt-longjmp.c: ... here.
8749 * nptl/sysdeps/pthread/Makefile: Moved ...
8750 * sysdeps/nptl/Makefile: ... here.
8751 * nptl/sysdeps/pthread/Subdirs: Moved ...
8752 * sysdeps/nptl/Subdirs: ... here.
8753 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
8754 * sysdeps/nptl/aio_misc.h: ... here.
8755 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
8756 * sysdeps/nptl/bits/libc-lock.h: ... here.
8757 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
8758 * sysdeps/nptl/bits/libc-lockP.h: ... here.
8759 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
8760 * sysdeps/nptl/bits/stdio-lock.h: ... here.
8761 * nptl/sysdeps/pthread/configure: Moved ...
8762 * sysdeps/nptl/configure: ... here.
8763 * nptl/sysdeps/pthread/configure.ac: Moved ...
8764 * sysdeps/nptl/configure.ac: ... here.
8765 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
8766 * sysdeps/nptl/gai_misc.h: ... here.
8767 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
8768 * sysdeps/nptl/librt-cancellation.c: ... here.
8769 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
8770 * sysdeps/nptl/malloc-machine.h: ... here.
8771 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
8772 * sysdeps/nptl/pthread-functions.h: ... here.
8773 * nptl/sysdeps/pthread/pthread.h: Moved ...
8774 * sysdeps/nptl/pthread.h: ... here.
8775 * nptl/sysdeps/pthread/setxid.h: Moved ...
8776 * sysdeps/nptl/setxid.h: ... here.
8777 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
8778 * sysdeps/nptl/sigfillset.c: ... here.
8779 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
8780 * sysdeps/nptl/tcb-offsets.h: ... here.
8781 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
8782 * sysdeps/nptl/tst-mqueue8x.c: ... here.
8783 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
8784 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
8785 * nptl/sysdeps/pthread/allocalim.h: Moved ...
8786 * sysdeps/pthread/allocalim.h: ... here.
8787 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
8788 * sysdeps/pthread/bits/sigthread.h: ... here.
8789 * nptl/sysdeps/pthread/flockfile.c: Moved ...
8790 * sysdeps/pthread/flockfile.c: ... here.
8791 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
8792 * sysdeps/pthread/ftrylockfile.c: ... here.
8793 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
8794 * sysdeps/pthread/funlockfile.c: ... here.
8795 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
8796 * sysdeps/pthread/posix-timer.h: ... here.
8797 * nptl/sysdeps/pthread/timer_create.c: Moved ...
8798 * sysdeps/pthread/timer_create.c: ... here.
8799 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
8800 * sysdeps/pthread/timer_delete.c: ... here.
8801 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
8802 * sysdeps/pthread/timer_getoverr.c: ... here.
8803 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
8804 * sysdeps/pthread/timer_gettime.c: ... here.
8805 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
8806 * sysdeps/pthread/timer_routines.c: ... here.
8807 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
8808 * sysdeps/pthread/timer_settime.c: ... here.
8809 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
8810 * sysdeps/pthread/tst-timer.c: ... here.
8811 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
8812 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
8813
8814 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
8815 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
8816
8817 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
8818 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
8819 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
8820 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
8821 Update #include target.
8822 * nptl/sysdeps/i386/i686/Makefile: Moved ...
8823 * sysdeps/i386/i686/nptl/Makefile: ... here.
8824 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
8825 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
8826 Update #include target.
8827 * nptl/sysdeps/i386/i686/tls.h: Moved ...
8828 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
8829 * nptl/sysdeps/i386/Makefile: Moved ...
8830 * sysdeps/i386/nptl/Makefile: ... here.
8831 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
8832 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
8833 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
8834 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
8835 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
8836 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
8837 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
8838 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
8839 * sysdeps/i386/nptl/pthreaddef.h: ... here.
8840 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
8841 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
8842 * nptl/sysdeps/i386/tls.h: Moved ...
8843 * sysdeps/i386/nptl/tls.h: ... here.
8844
8845 * sysdeps/sh/Makefile [$(subdir) = csu]
8846 (gen-as-const-headers): Add tcb-offsets.sym.
8847 * nptl/sysdeps/sh/Makefile: File removed.
8848 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
8849 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
8850 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
8851 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
8852 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
8853 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
8854 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
8855 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
8856 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
8857 * sysdeps/sh/nptl/pthreaddef.h: ... here.
8858 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
8859 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
8860 * nptl/sysdeps/sh/tls.h: Moved ...
8861 * sysdeps/sh/nptl/tls.h: ... here.
8862 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
8863 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
8864 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
8865 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
8866 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
8867 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
8868 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
8869 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
8870 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
8871 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
8872 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
8873 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
8874 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
8875 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
8876 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
8877 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
8878 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
8879 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
8880 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
8881 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
8882 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
8883 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
8884 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
8885 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
8886 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
8887 Moved ...
8888 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
8889 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
8890 Moved ...
8891 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
8892 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
8893 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
8894 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
8895 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
8896 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
8897 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
8898 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
8899 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
8900 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
8901 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
8902 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
8903 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
8904 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
8905 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
8906 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
8907 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
8908 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
8909 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
8910
89112014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8912
8913 * posix/spawn_faction_addopen.c: Include string.h.
8914
89152014-06-11 Roland McGrath <roland@hack.frob.com>
8916
8917 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
8918 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
8919 * nptl/sysdeps/x86_64/Makefile: Moved ...
8920 * sysdeps/x86_64/nptl/Makefile: ... here.
8921 * nptl/sysdeps/x86_64/configure: Moved ...
8922 * sysdeps/x86_64/nptl/configure: ... here.
8923 * nptl/sysdeps/x86_64/configure.ac: Moved ...
8924 * sysdeps/x86_64/nptl/configure.ac: ... here.
8925 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
8926 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
8927 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
8928 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
8929 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
8930 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
8931 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
8932 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
8933 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
8934 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
8935 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
8936 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
8937 * nptl/sysdeps/x86_64/tls.h: Moved ...
8938 * sysdeps/x86_64/nptl/tls.h: ... here.
8939 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
8940 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
8941 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
8942 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
8943
8944 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
8945
89462014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8947
8948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8949
89502014-06-11 Joseph Myers <joseph@codesourcery.com>
8951
8952 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
8953 type.
8954 [POSIX] (off_t): Likewise.
8955 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
8956 [POSIX] (S_ISBLK): Require macro.
8957 [POSIX] (S_ISCHR): Likewise.
8958 [POSIX] (S_ISDIR): Likewise.
8959 [POSIX] (S_ISFIFO): Likewise.
8960 [POSIX] (S_ISREG): Likewise.
8961 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
8962 optional-macro.
8963 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
8964 type.
8965 [POSIX] (time_t): Likewise.
8966 [POSIX] (timer_t): Likewise.
8967
89682014-06-11 Florian Weimer <fweimer@redhat.com>
8969
8970 [BZ #17048]
8971 * posix/spawn_int.h (struct __spawn_action): Make the path string
8972 non-const to support deallocation.
8973 * posix/spawn_faction_addopen.c
8974 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
8975 * posix/spawn_faction_destroy.c
8976 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
8977 path in all spawn_do_open actions.
8978 * posix/tst-spawn.c (do_test): Exercise the copy operation in
8979 posix_spawn_file_actions_addopen.
8980
89812014-06-11 Chris Metcalf <cmetcalf@tilera.com>
8982
8983 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
8984 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
8985 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
8986 conditional code always true.
8987 (__libc_vfork): New alias.
8988
89892014-06-11 Roland McGrath <roland@hack.frob.com>
8990
8991 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8992 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
8993
8994 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
8995
8996 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8997 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
8998
8999 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9000 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
9001
9002 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9003 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
9004
90052014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9006
9007 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
9008 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
9009 multiarch strcmp for PPC64.
9010 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
9011 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
9012 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
9013 multiarch optimizations.
9014 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9015 (__libc_ifunc_impl_list): Likewise.
9016
90172014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9018
9019 * benchtests/scripts/validate_benchout.py: New script.
9020 * benchtests/Makefile (bench-func): Call it.
9021 * benchtests/scripts/benchout.schema.json: New file.
9022
90232014-06-10 Chris Metcalf <cmetcalf@tilera.com>
9024
9025 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
9026 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
9027 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
9028 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
9029 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
9030 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
9031 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
9032 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
9033 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
9034 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
9035 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
9036 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
9037 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
9038 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
9039 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
9040 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
9041 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
9042 Moved ...
9043 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
9044 ... here.
9045 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
9046 Moved ...
9047 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
9048 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
9049 Moved ...
9050 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
9051 ... here.
9052 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
9053 Moved ...
9054 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
9055 ... here.
9056 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
9057 Moved ...
9058 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
9059 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
9060 Moved ...
9061 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
9062 ... here.
9063 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
9064 Moved ...
9065 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
9066 ... here.
9067 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
9068 Moved ...
9069 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
9070 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
9071 Moved ...
9072 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
9073 ... here.
9074 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
9075 Moved ...
9076 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
9077 ... here.
9078 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
9079 Moved ...
9080 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
9081 ... here.
9082 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
9083 Moved ...
9084 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
9085 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
9086 Moved ...
9087 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
9088 ... here.
9089 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
9090 Moved ...
9091 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
9092 ... here.
9093 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
9094 Moved ...
9095 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
9096 ... here.
9097 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
9098 Moved ...
9099 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
9100 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
9101 Moved ...
9102 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
9103 ... here.
9104 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
9105 Moved ...
9106 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
9107 ... here.
9108 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
9109 Moved ...
9110 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
9111 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
9112 Moved ...
9113 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
9114 ... here.
9115 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
9116 Moved ...
9117 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
9118 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
9119 Moved ...
9120 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
9121 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
9122 Moved ...
9123 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
9124 ... here.
9125 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
9126 Moved ...
9127 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
9128 ... here.
9129 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
9130 Moved ...
9131 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
9132 ... here.
9133 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
9134 Moved ...
9135 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
9136 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
9137 Moved ...
9138 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
9139 ... here.
9140 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
9141 Moved ...
9142 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
9143 ... here.
9144 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
9145 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
9146 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
9147 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
9148 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
9149 Moved ...
9150 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
9151 ... here.
9152 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
9153 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
9154 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
9155 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
9156 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
9157 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
9158 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
9159 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
9160 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
9161 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
9162 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
9163 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
9164 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
9165 Moved ...
9166 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
9167 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
9168 Moved ...
9169 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
9170 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
9171 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
9172 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
9173 Moved ...
9174 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
9175 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
9176 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
9177 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
9178 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
9179 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
9180 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
9181
91822014-06-10 Wilco <wdijkstr@arm.com>
9183
9184 * math/test-fenv-return.c: New file.
9185 * math/Makefile: Add new test test-fenv-return.
9186
91872014-06-10 Joseph Myers <joseph@codesourcery.com>
9188
9189 [BZ #17042]
9190 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
9191 when x - 1 is zero.
9192 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
9193 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9194 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
9195 0.0L for an argument of 1.0L.
9196 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9197 Likewise.
9198 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
9199 value when x - 1 is zero.
9200 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
9201 * sysdeps/i386/fpu/libm-test-ulps: Update.
9202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9203
92042014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
9205
9206 [BZ #15119]
9207 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
9208
92092014-06-09 Roland McGrath <roland@hack.frob.com>
9210
9211 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
9212 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
9213
92142014-06-09 Roland McGrath <roland@hack.frob.com>
9215
9216 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9217 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
9218
9219 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9220 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
9221
9222 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9223 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
9224
9225 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9226 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
9227
9228 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
9229 if not already defined.
9230 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
9231 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
9232 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
9233 (TLS_INIT_TP): Use it.
9234 (TLS_DEFINE_INIT_TP): New macro.
9235 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
9236
92372014-06-09 Joseph Myers <joseph@codesourcery.com>
9238
9239 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
9240 constant.
9241 [POSIX] (IXANY): Likewise.
9242 [POSIX] (OLCUC): Likewise.
9243 [POSIX || POSIX2008] (CBAUD): Do not allow.
9244 [POSIX || POSIX2008] (DEFECHO): Likewise.
9245 [POSIX || POSIX2008] (ECHOCTL): Likewise.
9246 [POSIX || POSIX2008] (ECHOKE): Likewise.
9247 [POSIX || POSIX2008] (ECHOPRT): Likewise.
9248 [POSIX || POSIX2008] (EXTA): Likewise.
9249 [POSIX || POSIX2008] (EXTB): Likewise.
9250 [POSIX || POSIX2008] (FLUSHO): Likewise.
9251 [POSIX || POSIX2008] (LOBLK): Likewise.
9252 [POSIX || POSIX2008] (PENDIN): Likewise.
9253 [POSIX || POSIX2008] (SWTCH): Likewise.
9254 [POSIX || POSIX2008] (VDISCARD): Likewise.
9255 [POSIX || POSIX2008] (VDSUSP): Likewise.
9256 [POSIX || POSIX2008] (VLNEXT): Likewise.
9257 [POSIX || POSIX2008] (VREPRINT): Likewise.
9258 [POSIX || POSIX2008] (VSTATUS): Likewise.
9259 [POSIX || POSIX2008] (VWERASE): Likewise.
9260 (B*): Change to B[0123456789]*.
9261 * conform/data/time.h-data [POSIX || UNIX98]
9262 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
9263 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9264 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
9265 [POSIX] (tm_*): Do not allow.
9266
92672014-06-07 Joseph Myers <joseph@codesourcery.com>
9268
9269 * Makefile (install): Don't set LANGUAGE.
9270 * Makefile.in (install): Likewise.
9271 * assert/Makefile (test-assert-ENV): Remove variable.
9272 (test-assert-perr-ENV): Likewise.
9273 * elf/Makefile (neededtest4-ENV): Likewise.
9274 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9275 [$(cross-compiling) = no]: Don't set LANGUAGE.
9276 * io/ftwtest-sh (LANG): Remove variable.
9277 * libio/Makefile (tst-widetext-ENV): Likewise.
9278 * manual/install.texi (Running make install): Don't refer to
9279 environment settings for make install.
9280 * INSTALL: Regenerated.
9281 * nptl/tst-tls6.sh: Don't set LANG.
9282 * posix/globtest.sh (LANG): Remove variable.
9283 * string/Makefile (tester-ENV): Likewise.
9284 (inl-tester-ENV): Likewise.
9285 (noinl-tester-ENV): Likewise.
9286 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9287 [$(cross-compiling) = no]: Don't set LANGUAGE.
9288 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
9289 without explicit environment settings.
9290
92912014-06-06 Roland McGrath <roland@hack.frob.com>
9292
9293 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
9294 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
9295 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
9296 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
9297
92982014-06-06 Chris Metcalf <cmetcalf@tilera.com>
9299
9300 * crypt/crypt-private.h [DOS]: Add some includes taken from the
9301 other files in the crypt directory.
9302 * crypt/crypt.c: Remove duplicate includes.
9303 * crypt/crypt-entry.c: Likewise.
9304 * crypt/crypt_util.c: Likewise.
9305
93062014-06-06 Joseph Myers <joseph@codesourcery.com>
9307
9308 * Makeconfig (run-program-env): New variable.
9309 (run-program-prefix-before-env): Likewise.
9310 (run-program-prefix-after-env): Likewise.
9311 (run-program-prefix): Define in terms of new variables.
9312 (built-program-cmd-before-env): New variable.
9313 (built-program-cmd-after-env): Likewise.
9314 (built-program-cmd): Define in terms of new variables.
9315 (test-program-prefix-before-env): New variable.
9316 (test-program-prefix-after-env): Likewise.
9317 (test-program-prefix): Define in terms of new variables.
9318 (test-program-cmd-before-env): New variable.
9319 (test-program-cmd-after-env): Likewise.
9320 (test-program-cmd): Define in terms of new variables.
9321 * Rules (make-test-out): Use $(run-program-env).
9322 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
9323 (help): Do not mention environment variables. Mention
9324 --timeoutfactor option.
9325 (timeoutfactor): New variable.
9326 (blacklist_exports): Remove function.
9327 (exports): Remove variable.
9328 (command): Do not include ${exports}.
9329 * manual/install.texi (Configuring and compiling): Do not mention
9330 test wrappers preserving environment variables. Mention that last
9331 assignment to a variable must take precedence.
9332 * INSTALL: Regenerated.
9333 * benchtests/Makefile (run-bench): Use $(run-program-env).
9334 * catgets/Makefile ($(objpfx)test1.cat): Use
9335 $(built-program-cmd-before-env), $(run-program-env) and
9336 $(built-program-cmd-after-env).
9337 ($(objpfx)test2.cat): Do not specify environment variables
9338 explicitly.
9339 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
9340 $(run-program-env) and $(built-program-cmd-after-env).
9341 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
9342 $(run-program-env) and $(test-program-cmd-after-env).
9343 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
9344 explicitly.
9345 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
9346 run_program_env and test_program_cmd_after_env arguments.
9347 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
9348 * elf/tst-pathopt.sh: Use run_program_env argument.
9349 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
9350 $(test-wrapper-env) and $(run-program-env).
9351 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
9352 run_program_env arguments.
9353 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
9354 * intl/Makefile ($(objpfx)tst-gettext.out): Use
9355 $(test-program-prefix-before-env), $(run-program-env) and
9356 $(test-program-prefix-after-env).
9357 ($(objpfx)tst-gettext2.out): Likewise.
9358 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
9359 run_program_env and test_program_prefix_after_env arguments.
9360 * intl/tst-gettext2.sh: Likewise.
9361 * intl/tst-gettext4.sh: Do not set environment variables
9362 explicitly.
9363 * intl/tst-gettext6.sh: Likewise.
9364 * intl/tst-translit.sh: Likewise.
9365 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
9366 $(test-program-prefix-before-env), $(run-program-env) and
9367 $(test-program-prefix-after-env).
9368 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
9369 run_program_env and test_program_prefix_after_env arguments.
9370 * math/Makefile (run-regen-ulps): Use $(run-program-env).
9371 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
9372 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
9373 explicitly with each use of ${test_wrapper_env}.
9374 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
9375 $(test-program-prefix-before-env), $(run-program-env) and
9376 $(test-program-prefix-after-env).
9377 * posix/tst-getconf.sh: Do not set environment variables
9378 explicitly.
9379 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
9380 run_program_env and test_program_prefix_after_env arguments.
9381 * stdio-common/tst-printf.sh: Do not set environment variables
9382 explicitly.
9383 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
9384 $(test-program-prefix-before-env), $(run-program-env) and
9385 $(test-program-prefix-after-env).
9386 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
9387 run_program_env and test_program_prefix_after_env arguments.
9388 Split $test calls into $test_pre and $test.
9389 * timezone/Makefile (build-testdata): Use
9390 $(built-program-cmd-before-env), $(run-program-env) and
9391 $(built-program-cmd-after-env).
9392
93932014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9394
9395 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
9396 strlen for non SHARED builds.
9397
93982014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9399
9400 * nptl/allocatestack.c (check_list): Inlined function...
9401 (__reclaim_stacks): ... here.
9402
94032014-06-05 Ondřej Bílka <neleai@seznam.cz>
9404
9405 [BZ #15698]
9406 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
9407 memory overrun.
9408
94092014-06-05 Joseph Myers <joseph@codesourcery.com>
9410
9411 * Rules (make-test-out): Include
9412 LOCPATH=$(common-objpfx)localedata in default environment.
9413 * debug/Makefile (tst-chk1-ENV): Remove variable.
9414 (tst-chk2-ENV): Likewise.
9415 (tst-chk3-ENV): Likewise.
9416 (tst-chk4-ENV): Likewise.
9417 (tst-chk5-ENV): Likewise.
9418 (tst-chk6-ENV): Likewise.
9419 (tst-lfschk1-ENV): Likewise.
9420 (tst-lfschk2-ENV): Likewise.
9421 (tst-lfschk3-ENV): Likewise.
9422 (tst-lfschk4-ENV): Likewise.
9423 (tst-lfschk5-ENV): Likewise.
9424 (tst-lfschk6-ENV): Likewise.
9425 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
9426 (tst-iconv7-ENV): Likewise.
9427 * intl/Makefile (LOCPATH-ENV): Likewise.
9428 (tst-codeset-ENV): Likewise.
9429 (tst-gettext3-ENV): Likewise.
9430 (tst-gettext5-ENV): Likewise.
9431 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
9432 (tst-fopenloc-ENV): Likewise.
9433 (tst-fgetws-ENV): Remove variable.
9434 (tst-ungetwc1-ENV): Likewise.
9435 (tst-ungetwc2-ENV): Likewise.
9436 (bug-ungetwc2-ENV): Likewise.
9437 (tst-swscanf-ENV): Likewise.
9438 (bug-ftell-ENV): Likewise.
9439 (tst-fgetwc-ENV): Likewise.
9440 (tst-fseek-ENV): Likewise.
9441 (tst-ftell-partial-wide-ENV): Likewise.
9442 (tst-ftell-active-handler-ENV): Likewise.
9443 (tst-ftell-append-ENV): Likewise.
9444 * posix/Makefile (tst-fnmatch-ENV): Likewise.
9445 (tst-regexloc-ENV): Likewise.
9446 (bug-regex1-ENV): Likewise.
9447 (tst-regex-ENV): Likewise.
9448 (tst-regex2-ENV): Likewise.
9449 (bug-regex5-ENV): Likewise.
9450 (bug-regex6-ENV): Likewise.
9451 (bug-regex17-ENV): Likewise.
9452 (bug-regex18-ENV): Likewise.
9453 (bug-regex19-ENV): Likewise.
9454 (bug-regex20-ENV): Likewise.
9455 (bug-regex22-ENV): Likewise.
9456 (bug-regex23-ENV): Likewise.
9457 (bug-regex25-ENV): Likewise.
9458 (bug-regex26-ENV): Likewise.
9459 (bug-regex30-ENV): Likewise.
9460 (bug-regex32-ENV): Likewise.
9461 (bug-regex33-ENV): Likewise.
9462 (bug-regex34-ENV): Likewise.
9463 (bug-regex35-ENV): Likewise.
9464 (tst-rxspencer-ENV): Likewise.
9465 (tst-rxspencer-no-utf8-ENV): Likewise.
9466 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
9467 (tst-sscanf-ENV): Likewise.
9468 (tst-swprintf-ENV): Likewise.
9469 (tst-swscanf-ENV): Likewise.
9470 (test-vfprintf-ENV): Likewise.
9471 (scanf13-ENV): Likewise.
9472 (bug14-ENV): Likewise.
9473 (tst-grouping-ENV): Likewise.
9474 * stdlib/Makefile (tst-strtod-ENV): Likewise.
9475 (tst-strtod3-ENV): Likewise.
9476 (tst-strtod4-ENV): Likewise.
9477 (tst-strtod5-ENV): Likewise.
9478 (testmb2-ENV): Likewise./
9479 * string/Makefile (tst-strxfrm-ENV): Likewise.
9480 (tst-strxfrm2-ENV): Likewise.
9481 (bug-strcoll1-ENV): Likewise.
9482 (test-strcasecmp-ENV): Likewise.
9483 (test-strncasecmp-ENV): Likewise.
9484 * time/Makefile (tst-strptime-ENV): Likewise.
9485 (tst-ftime_l-ENV): Likewise.
9486 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
9487 (tst-mbrtowc-ENV): Likewise.
9488 (tst-wcrtomb-ENV): Likewise.
9489 (tst-mbrtowc2-ENV): Likewise.
9490 (tst-c16c32-1-ENV): Likewise.
9491 (tst-mbsnrtowcs-ENV): Likewise.
9492
94932014-06-05 Ondřej Bílka <neleai@seznam.cz>
9494
9495 * manual/resource.texi (How to get information about the memory
9496 subsystem?): Fix typo.
9497 Reported by Peon de la Parra Ivan <peon@keba.com>
9498
94992014-06-03 Guo Yixuan <culu.gyx@gmail.com>
9500
9501 [BZ #16882]
9502 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
9503 (pthread_spin_lock): Branch out of spin loop to proper location.
9504 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
9505 (pthread_spin_lock): Likewise.
9506
9507 * nptl/tst-spin4.c: New test.
9508 * nptl/Makefile (tests): Add tst-spin4.
9509
95102014-06-03 Andreas Schwab <schwab@suse.de>
9511
9512 [BZ #15946]
9513 * resolv/res_send.c (send_dg): Reload file descriptor after
9514 calling reopen.
9515
95162014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
9517
9518 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9519
95202014-06-03 Richard Henderson <rth@redhat.com>
9521
9522 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
9523 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
9524 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
9525 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
9526 in the SAVE_PID block.
9527 (__libc_vfork): New alias.
9528 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
9529
9530 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
9531 child in registers, not on the stack. Remove RESET_PID conditionals.
9532 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
9533
95342014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
9535
9536 * sysdeps/aarch64/libm-test-ulps: Regenerate.
9537
95382014-06-03 Wilco <wdijkstr@arm.com>
9539
9540 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
9541 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
9542 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9543 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
9544 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
9545 Likewise.
9546
95472014-06-03 Wilco <wdijkstr@arm.com>
9548
9549 * sysdeps/aarch64/fpu/math_private.h
9550 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
9551 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
9552 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
9553 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9554 Fix declarations.
9555
95562014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9557
9558 * crypt/crypt-private.h: Include ufc-crypt.h.
9559 (__b64_from_24bit): Declare extern.
9560 * crypt/crypt_util.c(__b64_from_24bit): New function.
9561 (b64t): New static const variable.
9562 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
9563 (b64t): Remove variable.
9564 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
9565 * crypt/sha256-crypt.c: Include crypt-private.h.
9566 (b64t): Remove variable.
9567 (__sha256_crypt_r): Remove b64_from_24bit and replace
9568 with __b64_from_24bit.
9569 * crypt/sha512-crypt.c: Likewise.
9570
95712014-06-02 Roland McGrath <roland@hack.frob.com>
9572
9573 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
9574 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
9575 Label the code __libc_vfork rather than __vfork.
9576 [!NOT_IN_libc] (vfork): Define as weak alias.
9577 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
9578 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
9579 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
9580
95812014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9582
9583 * malloc/malloc.c (malloc_info): Fix format specifier for
9584 n_mmaps.
9585
95862014-06-02 Wilco <wdijkstr@arm.com>
9587
9588 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
9589 FPCR write.
9590
95912014-06-02 Wilco <wdijkstr@arm.com>
9592
9593 [BZ #17009]
9594 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
9595 Rewrite to reduce FPCR/FPSR accesses.
9596
95972014-06-01 David S. Miller <davem@davemloft.net>
9598
9599 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9600
96012014-05-31 David S. Miller <davem@davemloft.net>
9602
9603 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
9604 to occur in round to nearest mode when |x| >= 2.0
9605
96062014-05-30 Richard Henderson <rth@twiddle.net>
9607
9608 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
9609 (PSEUDO_RET_NOERRNO): Remove.
9610 (ret): Don't redefine.
9611 (ret_NOERRNO): Define in terms of ret.
9612 (ret_ERRVAL): Likewise.
9613
9614 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
9615 use of PSEUDO_RET; perform the error check directly.
9616
96172014-05-30 Marko Myllynen <myllynen@redhat.com>
9618
9619 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
9620 with __int128_t.
9621
96222014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9623
9624 * malloc/malloc (malloc_info): Fix formatting.
9625
96262014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9627 Roland McGrath <roland@hack.frob.com>
9628
9629 * malloc/malloc (malloc_info): Also print mmapped statistics.
9630
96312014-05-30 Roland McGrath <roland@hack.frob.com>
9632
9633 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
9634 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
9635
96362014-05-30 Ondřej Bílka <neleai@seznam.cz>
9637
9638 * malloc/malloc.c (malloc_info): Inline mi_arena.
9639
96402014-05-29 Richard Henderson <rth@twiddle.net>
9641
9642 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
9643 Remove comma before expanding ASM_ARGS_##nr.
9644 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
9645 Make _x0 a strict output; make _x8 a strict input; adjust expansion
9646 of ASM_ARGS_##nr.
9647 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
9648 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
9649 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
9650 (ASM_ARGS_1): Add leading comma.
9651
9652 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
9653 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
9654 to __errno_location.
9655 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
9656 Remove the expected plt for __errno_location.
9657
9658 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9659 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
9660 call to __read_tp.
9661
9662 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9663 Always allocate 64 bytes of stack frame. Use ldp/stp to create
9664 it and break it down.
9665 (DOCARGS_0, DOCARGS_1): Do nothing.
9666 (DOCARGS_2): Update to store into the new stack frame.
9667 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
9668 (UNDOCARGS_1): Update to restore from the new stack frame.
9669 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
9670 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
9671
9672 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9673 (SINGLE_THREAD_P): New parameter for result regno.
9674 (PSEUDO): Update to match; use cbz instead of beq.
9675
9676 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9677 Use ENTRY to define the _nocancel entry point. Share the syscall
9678 and syscall error check paths with the cancel path.
9679 (PSEUDO_END): New.
9680
9681 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
9682 whitespace; tabs before and after asm mnemonics.
9683
96842014-05-29 Eric Wong <normalperson@yhbt.net>
9685
9686 [BZ #15132]
9687 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9688 Call fstat64 or stat64 internally, depending on arguments passed.
9689 Replace stat buffer argument with file descriptor argument.
9690 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
9691 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9692 Pass fd to __internal_statvfs instead of calling fstat64.
9693 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
9694 Pass fd to __internal_statvfs64 instead of calling fstat64.
9695 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
9696 Pass -1 to __internal_statvfs instead of calling stat64.
9697 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
9698 Pass -1 to __internal_statvfs64 instead of calling stat64.
9699
97002014-05-28 Roland McGrath <roland@hack.frob.com>
9701
9702 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
9703 that was previously under [RESET_PID].
9704 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
9705
9706 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
9707 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
9708
97092014-05-27 Roland McGrath <roland@hack.frob.com>
9710
9711 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
9712
9713 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
9714 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
9715
97162014-05-27 Ondřej Bílka <neleai@seznam.cz>
9717
9718 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
9719
97202014-05-27 Andreas Schwab <schwab@suse.de>
9721
9722 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
9723 TLS_INIT_TP macro.
9724 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
9725 * elf/rtld.c (init_tls, dl_main): Likewise.
9726 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
9727 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
9728 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
9729 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
9730 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
9731 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
9732 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
9733 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
9734 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
9735 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
9736 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
9737 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
9738 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
9739 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
9740 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
9741 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
9742 * sysdeps/generic/tls.h: Update description.
9743
97442014-05-27 Will Newton <will.newton@linaro.org>
9745
9746 [BZ #16990]
9747 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
9748 and restore r2 rather than just restoring.
9749
97502014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9751
9752 [BZ #16724]
9753 * libio/tst-ftell-append.c: New test case.
9754 * libio/Makefile (tests): Add test case.
9755 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
9756 append mode.
9757 * libio/wfileops.c (do_ftell_wide): Likewise.
9758
97592014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9760
9761 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9762
9763 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
9764 ...
9765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
9766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9767 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
9768 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
9769 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
9770 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
9771 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
9772 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
9773 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9774 Moved ...
9775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
9776 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9777 Moved ...
9778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
9779 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
9780 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
9781 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
9782 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
9783 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
9784 ...
9785 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
9786 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
9787 Moved ...
9788 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
9789 here.
9790 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
9791 ...
9792 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
9793 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
9794 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
9795
9796 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
9797 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
9798 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
9799 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
9800
9801 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
9802 merge into ...
9803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
9804 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
9805 ...
9806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
9807 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
9808 ...
9809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
9810 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9811 Moved ...
9812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
9813 here.
9814 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9815 Moved ...
9816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
9817 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9818 Moved ...
9819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
9820
9821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
9822 conditional [RESET_PID].
9823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
9824 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
9825 removed.
9826 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
9827 removed.
9828
9829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
9830 <tcb-offsets.h>.
9831 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9832 (__libc_vfork): New strong alias.
9833 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
9834 removed.
9835 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
9836 Removed.
9837
9838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
9839 <tcb-offsets.h>.
9840 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
9841 (__libc_vfork): New strong alias.
9842 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
9843 removed.
9844 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
9845 removed.
9846
98472014-05-26 Carlos O'Donell <carlos@redhat.com>
9848
9849 * malloc/malloc.c (mi_arena): New function.
9850 (malloc_info): Remove nested function mi_arena. Call non-nosted
9851 function mi_arena.
9852
98532014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9854
9855 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
9856 by insrwi.
9857 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
9858 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
9859 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
9860 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
9861 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
9862 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
9863 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
9864
98652014-05-26 Andreas Schwab <schwab@suse.de>
9866
9867 [BZ #16984]
9868 * locale/programs/repertoire.c (repertoire_read): Add slash
9869 between I18NPATH element and file name.
9870 * locale/programs/locfile.c (locfile_read): Likewise.
9871
98722014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
9873
9874 * nptl/pthread_mutexattr_settype.c
9875 (__pthread_mutexattr_settype):
9876 Disable lock elision for PTHREAD_MUTEX_NORMAL.
9877
98782014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
9879
9880 * nptl/tst-mutex5 (do_test):
9881 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
9882
98832014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9884
9885 * benchtests/README: Document 'init' directive.
9886 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
9887 BENCH_INIT.
9888 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
9889 (parse_file): Recognize 'init' directive.
9890
98912014-05-26 Kyle McMartin <kyle@redhat.com>
9892
9893 [BZ #16796]
9894 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
9895 alignment of struct pthread.
9896
98972014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9898
9899 [BZ #16878]
9900 * nscd/netgroupcache.c (addgetnetgrentX): Look for
9901 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9902 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
9903 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9904
99052014-05-25 Richard Henderson <rth@twiddle.net>
9906
9907 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9908 (SINGLE_THREAD_P_PIC): Remove.
9909 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
9910 (SINGLE_THREAD_P_PIC): Remove.
9911
9912 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
9913 branch to syscall error ...
9914 (PSEUDO): ... here.
9915 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
9916 from __local_syscall_error to .Lsyscall_error.
9917 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
9918 (SYSCALL_ERROR): Update label name.
9919
9920 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9921 Do not use DOARGS/UNDOARGS.
9922 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
9923 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
9924 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
9925 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
9926 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
9927
9928 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
9929 block comment.
9930
9931 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
9932 define if !NOT_IN_libc.
9933 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
9934 define with non-default symbol versions.
9935
99362014-05-23 Richard Henderson <rth@twiddle.net>
9937
9938 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
9939 (vfork, __vfork): Define via compat_symbol.
9940
9941 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
9942 [!HAVE_IFUNC] (vfork_compat): Remove.
9943 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
9944
99452014-05-23 Joseph Myers <joseph@codesourcery.com>
9946
9947 [BZ #16978]
9948 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
9949 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
9950 variable.
9951
99522014-05-23 Richard Henderson <rth@twiddle.net>
9953
9954 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
9955 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
9956 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
9957 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
9958
9959 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
9960 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
9961 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
9962 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
9963 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
9964 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
9965 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
9966 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
9967 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
9968 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
9969 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
9970 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
9971 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
9972 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
9973 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
9974 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
9975 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
9976 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
9977 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
9978 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
9979 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
9980 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
9981 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
9982 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
9983 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
9984 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
9985 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
9986 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
9987 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
9988 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
9989 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
9990 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
9991 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
9992 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
9993 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
9994 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
9995 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
9996 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
9997 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
9998 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
9999 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
10000 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
10001 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
10002 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
10003 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
10004 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
10005 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
10006 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
10007 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
10008 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
10009 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
10010 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
10011 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
10012 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
10013 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
10014 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
10015
10016 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
10017 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
10018 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
10019 before exiting on error.
10020 (__libc_vfork): New strong alias.
10021 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
10022 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
10023
10024 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
10025 that was previously under [RESET_PID].
10026 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
10027
10028 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
10029
100302014-05-23 Joseph Myers <joseph@codesourcery.com>
10031
10032 [BZ #16977]
10033 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
10034 value when x - 1 is zero.
10035 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
10036 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
10037 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
10038 0.0L for an argument of 1.0L.
10039 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
10040 Likewise.
10041 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
10042 value when x - 1 is zero.
10043 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
10044 * sysdeps/i386/fpu/libm-test-ulps: Update.
10045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10046
100472014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
10048
10049 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
10050 alphasort and versionsort.
10051
100522014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10053
10054 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
10055 macro.
10056 [copysignf]: Likewise.
10057
100582014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10059
10060 * crypt/md5-crypt.c: Fix formatting.
10061
100622014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10063
10064 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
10065 (b64_from_24bit): New function.
10066
100672014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10068
10069 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
10070 libc_hidden_builtin_def to ifunc.
10071 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10072 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
10073
100742014-05-21 Roland McGrath <roland@hack.frob.com>
10075
10076 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
10077 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
10078
100792014-05-21 Joseph Myers <joseph@codesourcery.com>
10080
10081 * nscd/Depend (linuxthreads): Remove.
10082 (nptl): Add.
10083 * resolv/Depend (linuxthreads): Remove.
10084 * rt/Depend (linuxthreads): Remove.
10085
10086 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
10087 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
10088 $(common-objpfx)elf/.
10089 (link-libc-before-gnulib): Likewise.
10090 (elfobjdir): Remove variable.
10091 * Makefile (install): Use $(elf-objpfx) instead of
10092 $(common-objpfx)elf/.
10093 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
10094 $(elfobjdir)/.
10095 (link-libc-deps): Likewise.
10096 ($(common-objpfx)libc.so): Likewise.
10097 ($(common-objpfx)linkobj/libc.so): Likewise.
10098 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
10099 instead of $(common-objpfx)elf/.
10100 (symbolic-link-list): Likewise.
10101 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10102 [$(cross-compiling) = no]: Likewise.
10103 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
10104 $(elfobjdir)/.
10105 (static-gnulib-arch): Likewise.
10106 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10107 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
10108 $(common-objpfx)elf/.
10109
101102014-05-21 Richard Henderson <rth@redhat.com>
10111
10112 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10113 (SINGLE_THREAD_P): Use the correct width load. Fold
10114 into the ldr offset.
10115
10116 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
10117 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
10118
101192014-05-20 Joseph Myers <joseph@codesourcery.com>
10120
10121 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
10122 (libgcc_s_resume): Use __attribute_used__.
10123 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
10124 Likewise.
10125
101262014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10127
10128 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
10129 optimization when used with float constants.
10130
10131 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10132
101332014-05-20 Aurelien Jarno <aurelien@aurel32.net>
10134
10135 [BZ #16915]
10136 * locale/nl_langinfo_l.c: Make direct reference to every
10137 _nl_current_CATEGORY symbol.
10138 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
10139 (tests-static): Add tst-langinfo-static.
10140 (tests-special): Add tst-langinfo-static.out.
10141 ($(objpfx)tst-langinfo.out): Redirect output.
10142 ($(objpfx)tst-langinfo-static.out): New.
10143 * localedata/tst-langinfo.sh: Send output to stdout.
10144 * localedata/tst-langinfo-static.c: New file.
10145
10146 [BZ #16965]
10147 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
10148 when the shift amount is modulo the limb size.
10149
101502014-05-20 Richard Henderson <rth@redhat.com>
10151
10152 [BZ #16967]
10153 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
10154 Change type of sa_flags from unsigned int to int.
10155
10156 [BZ #16966]
10157 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
10158
10159 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
10160
101612014-05-20 Will Newton <will.newton@linaro.org>
10162
10163 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10164 Test the return value of the system call in the nocancel case.
10165
101662014-05-20 Will Newton <will.newton@linaro.org>
10167 Yvan Roux <yvan.roux@linaro.org>
10168
10169 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
10170 #include of asm/ptrace.h.
10171 (PTRACE_GET_THREAD_AREA): Remove #undef.
10172 (PTRACE_GETHBPREGS): Likewise.
10173 (PTRACE_SETHBPREGS): Likewise.
10174 (struct user_regs_struct): New structure.
10175 (struct user_fpsimd_struct): New structure.
10176 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
10177 #include of asm/ptrace.h and second #include of sys/user.h.
10178 (PTRACE_GET_THREAD_AREA): Remove #undef.
10179 (PTRACE_GETHBPREGS): Likewise.
10180 (PTRACE_SETHBPREGS): Likewise.
10181 (ELF_NGREG): Use new struct user_regs_struct.
10182 (elf_fpregset_t): Use new struct user_fpsimd_struct.
10183
101842014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10185
10186 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
10187 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
10188
101892014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10190
10191 [BZ #16958]
10192 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
10193 membar to avoid block loads/stores to overlap previous stores.
10194
101952014-05-17 Richard Henderson <rth@redhat.com>
10196
10197 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
10198 Create the __##syscall_name##_nocancel entry point.
10199 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
10200 Remove; let the sysdep-cancel.h code create it.
10201
102022014-05-17 David S. Miller <davem@davemloft.net>
10203
10204 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
10205 Protect with __USE_GNU.
10206 (TIOCSET_TEMPT): Likewise.
10207 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10208 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
10209 these are already provided in bits/ioctl-types.h
10210
102112014-05-16 Roland McGrath <roland@hack.frob.com>
10212
10213 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
10214 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
10215
10216 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
10217 Use wait4 regardless of [__NR_waitpid].
10218
102192014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
10220
10221 PR libgcc/60166
10222 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10223 (_FP_NANSIGN_Q): Set the quiet bit.
10224
102252014-05-16 Joseph Myers <joseph@codesourcery.com>
10226
10227 * benchtests/Makefile
10228 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
10229 not $(common-objpfx)math/libm.so.
10230 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
10231 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
10232 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
10233 $(common-objpfx)dlfcn/libdl.so.
10234 ($(objpfx)tst-audit8): Depend on $(libm), not
10235 $(common-objpfx)math/libm.so.
10236 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
10237 not $(common-objpfx)dlfcn/libdl.so.
10238 * math/Makefile
10239 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10240 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
10241 [$(build-shared) = yes].
10242 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
10243 $(common-objpfx)nptl/libpthread.so.
10244 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
10245 $(common-objpfx)math/libm.so$(libm.so-version) or
10246 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
10247 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
10248 $(common-objpfx)dlfcn/libdl.so.
10249 * setjmp/Makefile (link-libm): Remove variable.
10250 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
10251 * stdio-common/Makefile (link-libm): Remove variable.
10252 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
10253 * stdlib/Makefile (link-libm): Remove variable.
10254 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
10255 ($(objpfx)tst-strtod-round): Likewise.
10256 ($(objpfx)tst-tininess): Likewise.
10257 ($(objpfx)tst-strtod-underflow): Likewise.
10258 ($(objpfx)tst-strtod6): Likewise.
10259 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
10260 $(libdl), not $(common-objpfx)nptl/libpthread.so and
10261 $(common-objpfx)dlfcn/libdl.so.
10262
102632014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10264
10265 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
10266 BSD terminal modes definitions.
10267
102682014-05-16 Roland McGrath <roland@hack.frob.com>
10269
10270 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
10271 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
10272
10273 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
10274 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
10275 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
10276 Don't do #include_next.
10277 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
10278 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
10279 Don't do #include_next.
10280 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
10281 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
10282 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
10283 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
10284
102852014-05-16 Allan McRae <allan@archlinux.org>
10286
10287 * po/sv.po: Update Swedish translation from translation project.
10288
10289 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
10290 in sed expression.
10291
102922014-05-16 Aurelien Jarno <aurelien@aurel32.net>
10293
10294 [BZ #16917]
10295 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
10296 errno if the TIOCGPTN ioctl fails with an error different than
10297 EINVAL.
10298 * login/tst-ptsname.c: New file.
10299 * login/Makefile (tests): Add tst-ptsname.
10300
10301 [BZ #16943]
10302 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
10303 and prlimit64.
10304
103052014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10306
10307 [BZ #16849]
10308 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
10309 herrno to return EAI_AGAIN.
10310
103112014-05-14 Roland McGrath <roland@hack.frob.com>
10312
10313 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
10314 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
10315 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
10316 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
10317 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
10318 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
10319 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
10320 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
10321 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
10322 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
10323 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
10324 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
10325 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
10326 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
10327 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
10328 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
10329 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
10330 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
10331 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
10332 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
10333 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
10334 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
10335 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
10336 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
10337 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
10338 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
10339 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
10340 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
10341 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
10342 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
10343 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
10344 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
10345 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
10346 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
10347 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10348 Moved ...
10349 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
10350 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
10351 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
10352 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
10353 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
10354 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
10355 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
10356 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
10357 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
10358 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
10359 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
10360 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
10361 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
10362 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
10363 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
10364 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
10365 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
10366 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
10367 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
10368 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
10369 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
10370 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
10371 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
10372 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
10373 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
10374 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
10375 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
10376 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10377 Moved ...
10378 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
10379 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
10380 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
10381 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
10382 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
10383 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
10384 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
10385 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
10386 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
10387 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
10388 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
10389 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
10390 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
10391 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
10392 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
10393 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
10394 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
10395 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
10396 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
10397 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10398 Moved ...
10399 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
10400 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
10401 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
10402
10403 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
10404 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
10405 (libpthread-sysdep_routines): Add elision-related stuff here instead.
10406 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
10407 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
10408 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
10409 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
10410 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
10411 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
10412 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
10413 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
10414 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
10415 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
10416 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
10417 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
10418 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
10419 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
10420 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
10421 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
10422 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
10423 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
10424 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
10425 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
10426 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
10427 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
10428 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
10429 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
10430 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
10431 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
10432 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
10433 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
10434
10435 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
10436 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
10437
10438 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
10439 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
10440 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
10441 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
10442 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
10443 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
10444 Moved ...
10445 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
10446 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
10447 Moved ...
10448 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
10449 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
10450 Moved ...
10451 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
10452 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
10453 Moved ...
10454 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
10455 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
10456 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
10457 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
10458 Moved ...
10459 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
10460 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
10461 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
10462 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
10463 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
10464 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
10465 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
10466 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
10467 Moved ...
10468 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
10469 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10470 Moved ...
10471 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10472 ... here.
10473 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
10474 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
10475 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
10476 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
10477 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10478 Moved ...
10479 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10480 ... here.
10481 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
10482 Moved ...
10483 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
10484 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
10485 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
10486 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
10487 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
10488 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
10489 Moved ...
10490 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
10491 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
10492 Moved ...
10493 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
10494 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
10495 Moved ...
10496 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
10497 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
10498 Moved ...
10499 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
10500 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
10501 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
10502 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
10503 Moved ...
10504 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
10505 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
10506 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
10507 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
10508 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
10509 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
10510 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
10511 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
10512 Moved ...
10513 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
10514 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10515 Moved ...
10516 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10517 ... here.
10518 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
10519 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
10520 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
10521 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
10522 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10523 Moved ...
10524 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10525 ... here.
10526 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
10527 Moved ...
10528 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
10529 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
10530 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
10531 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
10532 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
10533 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
10534 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
10535 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
10536 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
10537 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
10538 Moved ...
10539 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
10540 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10541 Moved ...
10542 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
10543 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10544 Moved ...
10545 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
10546 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
10547 Moved ...
10548 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
10549 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
10550 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
10551 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
10552 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
10553 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10554 Moved ...
10555 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
10556 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
10557 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
10558 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
10559 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
10560 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
10561 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
10562 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10563 Moved ...
10564 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
10565 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10566 Moved ...
10567 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10568 ... here.
10569 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
10570 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
10571 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
10572 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
10573 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10574 Moved ...
10575 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10576 ... here.
10577 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
10578 Moved ...
10579 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
10580 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
10581 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
10582 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
10583 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
10584 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
10585 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
10586 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
10587 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
10588 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
10589 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
10590
10591 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
10592 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
10593
10594 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
10595 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
10596
10597 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
10598 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
10599 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
10600 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
10601 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
10602 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
10603 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
10604 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
10605 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
10606 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
10607 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
10608 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
10609 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
10610 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
10611 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
10612 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
10613 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
10614 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
10615 Moved ...
10616 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
10617 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
10618 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
10619 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
10620 Moved ...
10621 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
10622 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
10623 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
10624 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
10625 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
10626 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
10627 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
10628 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
10629 Moved ...
10630 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
10631 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
10632 Moved ...
10633 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
10634 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
10635 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
10636 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
10637 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
10638 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
10639 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
10640 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
10641 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
10642 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
10643 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
10644 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
10645 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
10646 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
10647 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
10648 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
10649 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
10650
10651 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
10652 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
10653 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
10654 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
10655 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
10656
10657 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
10658 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
10659 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
10660 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
10661 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
10662 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
10663 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
10664 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
10665 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
10666 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
10667
10668 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
10669 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
10670
10671 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
10672 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
10673 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
10674 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
10675 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
10676 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
10677 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
10678 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
10679 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
10680 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
10681 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
10682 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
10683 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
10684 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
10685 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
10686 Update #include.
10687 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
10688 Likewise.
10689 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10690 Likewise.
10691 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10692 Likewise.
10693 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10694 Likewise.
10695 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
10696 Likewise.
10697 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
10698 Likewise.
10699 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10700 Likewise.
10701 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
10702 Likewise.
10703 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
10704 Likewise.
10705 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
10706 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
10707 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
10708 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
10709 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
10710 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
10711 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
10712 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
10713 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
10714 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
10715 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
10716 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
10717 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
10718 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
10719 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
10720
10721 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
10722 that was previously under [RESET_PID].
10723 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10724 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
10725 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
10726
10727 * sysdeps/i386/nptl/Implies: New file.
10728 * sysdeps/x86_64/nptl/Implies: New file.
10729 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
10730 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
10731 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
10732 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
10733
10734 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
10735 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10736 (__libc_vfork): New strong alias.
10737 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
10738 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
10739
10740 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
10741 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10742 (__libc_vfork): New strong alias.
10743 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
10744 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
10745
10746 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
10747 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10748 (__libc_vfork): New strong alias.
10749 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
10750 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
10751 * nptl/pt-vfork.c: New file.
10752 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
10753 (libpthread: GLIBC_2.20): New version set (empty).
10754
107552014-05-14 Will Newton <will.newton@linaro.org>
10756
10757 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
10758 rather than #if.
10759
107602014-05-14 Joseph Myers <joseph@codesourcery.com>
10761
10762 [BZ #16564]
10763 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
10764 arguments with exponent 65 or above.
10765 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
10766 arguments 0x1p113L or above.
10767 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
10768 to arguments 0x1p107L or above.
10769 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
10770 positive arguments with exponent 65 or above.
10771 * math/auto-libm-test-in: Add more tests of log1p.
10772 * math/auto-libm-test-out: Regenerated.
10773
10774 [BZ #16928]
10775 * math/s_cacos.c (__cacos): Ensure zero real part of result from
10776 non-finite arguments is +0.
10777 * math/s_cacosf.c (__cacosf): Likewise.
10778 * math/s_cacosl.c (__cacosl): Likewise.
10779 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
10780 * sysdeps/i386/fpu/libm-test-ulps: Update.
10781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10782
10783 [BZ #16927]
10784 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
10785 value.
10786 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
10787 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
10788 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
10789 for explicit high bit of mantissa when testing for argument equal
10790 to 1.
10791 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
10792 * sysdeps/i386/fpu/libm-test-ulps: Update.
10793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10794
10795 [BZ #16516]
10796 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
10797 (__erf): Scale by 16 instead of 8 in potentially underflowing
10798 case. Ensure exception if result actually underflows.
10799 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
10800 (__erff): Scale by 16 instead of 8 in potentially underflowing
10801 case. Ensure exception if result actually underflows.
10802 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
10803 (efx8): Remove variable.
10804 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10805 case. Ensure exception if result actually underflows.
10806 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
10807 (efx8): Remove variable.
10808 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10809 case. Ensure exception if result actually underflows.
10810 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
10811 (efx8): Remove variable.
10812 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10813 case. Ensure exception if result actually underflows.
10814 * math/auto-libm-test-in: Add more tests of erf.
10815 * math/auto-libm-test-out: Regenerated.
10816
108172014-05-14 Andreas Schwab <schwab@suse.de>
10818
10819 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
10820 Remove code conditionalized on USE___THREAD.
10821
10822 * config.h.in (HAVE_PT_CHOWN): Define as 0.
10823 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
10824 not definedness.
10825
108262014-05-14 Joseph Myers <joseph@codesourcery.com>
10827
10828 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
10829 Define unconditionally.
10830 (__ASSUME_O_CLOEXEC): Likewise.
10831 (__ASSUME_SOCK_CLOEXEC): Likewise.
10832 (__ASSUME_IN_NONBLOCK): Likewise.
10833 (__ASSUME_PIPE2): Likewise.
10834 (__ASSUME_EVENTFD2): Likewise.
10835 (__ASSUME_SIGNALFD4): Likewise.
10836 (__ASSUME_DUP3): Likewise.
10837 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10838 (__ASSUME_DUP3): Do not define.
10839 (__ASSUME_EVENTFD2): Likewise.
10840 (__ASSUME_IN_NONBLOCK): Likewise.
10841 (__ASSUME_O_CLOEXEC): Likewise.
10842 (__ASSUME_PIPE2): Likewise.
10843 (__ASSUME_SIGNALFD4): Likewise.
10844 (__ASSUME_SOCK_CLOEXEC): Likewise.
10845 (__ASSUME_UTIMES): Undefine.
10846 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10847 (__ASSUME_UTIMES): Do not define.
10848 (__ASSUME_O_CLOEXEC): Likewise.
10849 (__ASSUME_SOCK_CLOEXEC): Likewise.
10850 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
10851 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
10852 0x020621].
10853 (__ASSUME_PIPE2): Likewise.
10854 (__ASSUME_EVENTFD2): Likewise.
10855 (__ASSUME_SIGNALFD4): Likewise.
10856 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
10857 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
10858 Do not define.
10859 (__ASSUME_EVENTFD2): Likewise.
10860 (__ASSUME_SIGNALFD4): Likewise.
10861 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10862 (__ASSUME_32BITUIDS): Likewise.
10863 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10864 (__ASSUME_IPC64): Likewise.
10865 (__ASSUME_ST_INO_64_BIT): Likewise.
10866 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
10867 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
10868 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10869 (__ASSUME_UTIMES): Do not define.
10870 (__ASSUME_PSELECT): Likewise.
10871 (__ASSUME_PPOLL): Likewise.
10872 (__ASSUME_O_CLOEXEC): Likewise.
10873 (__ASSUME_SOCK_CLOEXEC): Likewise.
10874 (__ASSUME_IN_NONBLOCK): Likewise.
10875 (__ASSUME_PIPE2): Likewise.
10876 (__ASSUME_EVENTFD2): Likewise.
10877 (__ASSUME_SIGNALFD4): Likewise.
10878 (__ASSUME_DUP3): Likewise.
10879 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10880 (__ASSUME_UTIMES): Likewise.
10881 (__ASSUME_O_CLOEXEC): Likewise.
10882 (__ASSUME_SOCK_CLOEXEC): Likewise.
10883 (__ASSUME_IN_NONBLOCK): Likewise.
10884 (__ASSUME_PIPE2): Likewise.
10885 (__ASSUME_EVENTFD2): Likewise.
10886 (__ASSUME_SIGNALFD4): Likewise.
10887 (__ASSUME_DUP3): Likewise.
10888 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10889 (__ASSUME_UTIMES): Likewise.
10890 (__ASSUME_O_CLOEXEC): Likewise.
10891 (__ASSUME_SOCK_CLOEXEC): Likewise.
10892 (__ASSUME_IN_NONBLOCK): Likewise.
10893 (__ASSUME_PIPE2): Likewise.
10894 (__ASSUME_EVENTFD2): Likewise.
10895 (__ASSUME_SIGNALFD4): Likewise.
10896 (__ASSUME_DUP3): Likewise.
10897 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
10898 Likewise.
10899 (__ASSUME_UTIMES): Likewise.
10900 (__ASSUME_EVENTFD2): Likewise.
10901 (__ASSUME_SIGNALFD4): Likewise.
10902 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10903 (__ASSUME_O_CLOEXEC): Likewise.
10904 (__ASSUME_SOCK_CLOEXEC): Likewise.
10905 (__ASSUME_IN_NONBLOCK): Likewise.
10906 (__ASSUME_PIPE2): Likewise.
10907 (__ASSUME_EVENTFD2): Likewise.
10908 (__ASSUME_SIGNALFD4): Likewise.
10909 (__ASSUME_DUP3): Likewise.
10910 (__ASSUME_UTIMES): Undefine.
10911
10912 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
10913 feclearexcept. Remove symbol versioning code.
10914 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
10915 symbol versioning code.
10916 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
10917 symbol versioning code.
10918 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
10919 feupdateenv. Remove symbol versioning code.
10920 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
10921 fegetexceptflag. Remove symbol versioning code.
10922 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
10923 fesetexceptflag. Remove symbol versioning code.
10924 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
10925 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
10926 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
10927 (__posix_fadvise64_l32): Remove prototype.
10928 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
10929 code.
10930
109312014-05-13 Roland McGrath <roland@hack.frob.com>
10932
10933 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
10934 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
10935 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
10936 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
10937
109382014-05-13 Sami Kerola <kerolasa@iki.fi>
10939
10940 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
10941 current working directory
10942
109432014-05-13 Roland McGrath <roland@hack.frob.com>
10944
10945 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
10946 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
10947 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
10948 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
10949 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
10950 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
10951 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
10952 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
10953 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
10954 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
10955 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
10956 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
10957 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
10958 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
10959 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
10960 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
10961 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
10962 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
10963 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
10964 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
10965 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
10966 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
10967 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
10968 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
10969 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
10970 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
10971 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
10972 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
10973 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
10974 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
10975 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
10976 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
10977 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
10978 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
10979 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
10980 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
10981 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
10982 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
10983 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
10984 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
10985 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
10986 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
10987
10988 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
10989 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
10990
10991 * sysdeps/unix/sysv/linux/arm/Makefile
10992 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10993 Add rt-aeabi_unwind_cpp_pr1.
10994 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
10995 Add nptl-aeabi_unwind_cpp_pr1.
10996 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
10997 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
10998 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
10999 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
11000 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
11001 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
11002
11003 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
11004 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
11005 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
11006 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
11007
11008 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
11009 Deconditionalize the code that was previously under [RESET_PID].
11010 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
11011
11012 * sysdeps/generic/exit-thread.h: New file.
11013 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
11014 * include/unistd.h (__exit_thread): Remove declaration.
11015 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
11016 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
11017 * csu/libc-start.c: Include <exit-thread.h>.
11018 (LIBC_START_MAIN): Pass no argument to __exit_thread.
11019 * nptl/pthread_create.c: Include <exit-thread.h>.
11020 (start_thread): Call __exit_thread in place of __exit_thread_inline.
11021 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
11022 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
11023 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
11024 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
11025 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
11026 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
11027 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
11028 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
11029 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
11030 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
11031 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
11032 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
11033 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
11034 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
11035 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
11036 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
11037
110382014-05-13 Andreas Schwab <schwab@suse.de>
11039
11040 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
11041
110422014-05-12 Joseph Myers <joseph@codesourcery.com>
11043
11044 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11045 (__ASSUME_UTIMES): Do not condition on kernel version.
11046 (__ASSUME_PSELECT): Define unconditionally.
11047 (__ASSUME_PPOLL): Likewise.
11048 (__ASSUME_ATFCTS): Likewise.
11049 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
11050 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
11051 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
11052 (__ASSUME_UTIMENSAT): Define unconditionally.
11053 (__ASSUME_PRIVATE_FUTEX): Likewise.
11054 (__ASSUME_FALLOCATE): Likewise.
11055 (__ASSUME_O_CLOEXEC): Likewise.
11056 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
11057 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
11058 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
11059 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
11060 (__ASSUME_IN_NONBLOCK): Likewise.
11061 (__ASSUME_PIPE2): Likewise.
11062 (__ASSUME_EVENTFD2): Likewise.
11063 (__ASSUME_SIGNALFD4): Likewise.
11064 (__ASSUME_DUP3): Likewise.
11065 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11066 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
11067 (__ASSUME_AT_RANDOM): Likewise.
11068 (__ASSUME_PREADV): Likewise.
11069 (__ASSUME_PWRITEV): Likewise.
11070 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
11071 (__ASSUME_F_GETOWN_EX): Define unconditionally.
11072 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
11073 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11074 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
11075 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11076 (__ASSUME_O_CLOEXEC): Define unconditionally.
11077 (__ASSUME_PSELECT): Do not undefine conditionally.
11078 (__ASSUME_PPOLL): Likewise.
11079 (__ASSUME_ATFCTS): Likewise.
11080 (__ASSUME_SET_ROBUST_LIST): Likewise.
11081 (__ASSUME_UTIMENSAT): Likewise.
11082 (__ASSUME_FDATASYNC): Define unconditionally.
11083 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11084 (__ASSUME_SIGFRAME_V2): Likewise.
11085 )__ASSUME_EVENTFD2): Likewise.
11086 (__ASSUME_SIGNALFD4): Likewise.
11087 (__ASSUME_PSELECT): Do not undefine conditionally.
11088 (__ASSUME_PPOLL): Likewise.
11089 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11090 (__ASSUME_PSELECT): Define unconditionally.
11091 (__ASSUME_PPOLL): Likewise.
11092 (__ASSUME_O_CLOEXEC): Likewise.
11093 (__ASSUME_SOCK_CLOEXEC): Likewise.
11094 (__ASSUME_IN_NONBLOCK): Likewise.
11095 (__ASSUME_PIPE2): Likewise.
11096 (__ASSUME_EVENTFD2): Likewise.
11097 (__ASSUME_SIGNALFD4): Likewise.
11098 (__ASSUME_DUP3): Likewise.
11099 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11100 (__ASSUME_O_CLOEXEC): Likewise.
11101 (__ASSUME_SOCK_CLOEXEC): Likewise.
11102 (__ASSUME_IN_NONBLOCK): Likewise.
11103 (__ASSUME_PIPE2): Likewise.
11104 (__ASSUME_EVENTFD2): Likewise.
11105 (__ASSUME_SIGNALFD4): Likewise.
11106 (__ASSUME_DUP3): Likewise.
11107 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11108 (__ASSUME_EVENTFD2): Likewise.
11109 (__ASSUME_SIGNALFD4): Likewise.
11110 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11111
111122014-05-12 Andreas Schwab <schwab@suse.de>
11113
11114 [BZ #16932]
11115 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
11116 (_nss_nis_gethostbyname4_r): Return error if item length is larger
11117 than maximum RPC packet size.
11118 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
11119 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
11120 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
11121 (_nss_nis_getservbyport_r): Likewise.
11122
111232014-05-12 Will Newton <will.newton@linaro.org>
11124
11125 * malloc/Makefile (tests): Add tst-mallopt.
11126 * malloc/tst-mallopt.c: New file.
11127
111282014-05-09 Roland McGrath <roland@hack.frob.com>
11129
11130 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
11131 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
11132
111332014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11134
11135 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
11136 (tst-tlsmod6.so): Likewise.
11137
111382014-05-09 Roland McGrath <roland@hack.frob.com>
11139
11140 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
11141
111422014-05-09 Joseph Myers <joseph@codesourcery.com>
11143
11144 [BZ #16064]
11145 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
11146 and <dl-procinfo.h>.
11147 (__fegetenv): Save SSE state in envp->__eip if supported.
11148 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
11149 envp->__eip if supported.
11150 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
11151 and <dl-procinfo.h>.
11152 (__fesetenv): Always set __eip, __cs_selector, __opcode,
11153 __data_offset and __data_selector in environment to 0. Set SSE
11154 state if supported.
11155 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11156 test-fenv-sse.
11157 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
11158 -mfpmath=sse.
11159 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
11160
111612014-05-09 Will Newton <will.newton@linaro.org>
11162
11163 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
11164 and libc_relro_required for ARM.
11165 * sysdeps/arm/preconfigure: Regenerate.
11166
111672014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
11168 Stefan Liebler <stli@linux.vnet.ibm.com>
11169
11170 * config.make.in (enable-lock-elision): New Makefile variable.
11171 * configure.ac: Likewise.
11172 * configure: Regenerate.
11173 * sysdeps/s390/configure.ac:
11174 Add check for gcc transactions support.
11175 * sysdeps/s390/configure: Regenerate.
11176 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
11177 Build elision files if enabled.
11178 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
11179 Add lock elision support for s390.
11180 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
11181 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
11182 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
11183 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11184 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
11185 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
11186 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11187 Likewise.
11188 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
11189 Likewise.
11190 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
11191 Likewise.
11192 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
11193 Likewise.
11194 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
11195 (__lll_timedlock_elision, __lll_lock_elision)
11196 (__lll_unlock_elision, __lll_trylock_elision)
11197 (lll_timedlock_elision, lll_lock_elision)
11198 (lll_unlock_elision, lll_trylock_elision): Add.
11199 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11200 (pthread_mutex_t): Add lock elision support for s390.
11201
112022014-05-14 Wilco <wdijkstr@arm.com>
11203
11204 * sysdeps/arm/fclrexcpt.c: Cleanup.
11205 * sysdeps/arm/fedisblxcpt.c: Cleanup.
11206 * sysdeps/arm/feenablxcpt.c: Cleanup.
11207 * sysdeps/arm/fegetenv.c: Cleanup.
11208 * sysdeps/arm/fegetexcept.c: Cleanup.
11209 * sysdeps/arm/fegetround.c: Cleanup.
11210 * sysdeps/arm/feholdexcpt.c: Cleanup.
11211 * sysdeps/arm/fesetenv.c: Cleanup.
11212 * sysdeps/arm/fesetround.c: Cleanup.
11213 * sysdeps/arm/feupdateenv.c: Cleanup.
11214 * sysdeps/arm/fgetexcptflg.c: Cleanup.
11215 * sysdeps/arm/fraiseexcpt.c: Cleanup.
11216 * sysdeps/arm/fsetexcptflg.c: Cleanup.
11217 * sysdeps/arm/ftestexcept.c: Cleanup.
11218 * sysdeps/arm/get-rounding-mode.h: Cleanup.
11219 * sysdeps/arm/setfpucw.c: Cleanup.
11220
112212014-05-09 Will Newton <will.newton@linaro.org>
11222
11223 * sysdeps/arm/armv7/strcmp.S: New file.
11224 * NEWS: Mention addition of ARMv7 optimized strcmp.
11225
112262014-05-08 Roland McGrath <roland@hack.frob.com>
11227
11228 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
11229 look for %.ac rather than %.in.
11230
11231 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
11232 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
11233 * sysdeps/mach/hurd/configure: Regenerated.
11234 * sysdeps/unix/sysv/linux/configure: Regenerated.
11235
11236 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
11237
112382014-05-07 Steve Ellcey <sellcey@mips.com>
11239
11240 [BZ# 16922]
11241 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
11242 (LONG_SUB): Ditto.
11243 (PTR_SUB): Ditto.
11244
112452014-05-07 Andreas Schwab <schwab@suse.de>
11246
11247 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
11248 when skipping over non-matching result from nscd.
11249
112502014-05-07 Ondřej Bílka <neleai@seznam.cz>
11251
11252 [BZ #16876]
11253 * nptl/sockperf.c (client): Check socket return value.
11254
11255 [BZ #16877]
11256 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
11257 nscd security class.
11258
112592014-05-06 Roland McGrath <roland@hack.frob.com>
11260
11261 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
11262 * sysdeps/arm/unwind.h: ... here.
11263
112642014-05-06 Aurelien Jarno <aurelien@aurel32.net>
11265
11266 [BZ# 16916]
11267 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
11268 Define.
11269
112702014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11271
11272 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
11273 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
11274 multiarch strncpy for PPC64.
11275 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
11276 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
11277 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
11278 multiarch optimizations.
11279 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11280 (__libc_ifunc_impl_list): Likewise.
11281 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
11282 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
11283 multiarch stpncpy for PPC64.
11284 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
11285 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
11286
112872014-05-06 Andreas Schwab <schwab@suse.de>
11288
11289 [BZ #16912]
11290 * gmon/mcount.c (_MCOUNT_DECL): Use
11291 atomic_compare_and_exchange_bool_acq instead of
11292 catomic_compare_and_exchange_bool_acq.
11293
112942014-05-05 Roland McGrath <roland@hack.frob.com>
11295
11296 * elf/Makefile (others, install-bin): Remove pldd.
11297 (pldd-modules): Variable removed.
11298 ($(objpfx)pldd): Target removed.
11299 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
11300 (others, install-bin): Append pldd here.
11301 ($(objpfx)pldd): New target.
11302
11303 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
11304 to 0, so the first #if test emitted later doesn't see it undefined.
11305 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
11306 * sysdeps/gnu/errlist.c: Regenerated.
11307
113082014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11309
11310 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11311 [libc_hidden_builtin_def]: Define to empty value.
11312 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
11313 [libc_hidden_builtin_def]: Likewise.
11314 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
11315 [libc_hidden_builtin_def]: Likewise.
11316 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
11317 [libc_hidden_builtin_def]: Likewise.
11318 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
11319 __redirect_memcpy and define ifunc as default hidden symbol.
11320 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
11321 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
11322
113232014-05-04 Adam Conrad <adconrad@0c3.net>
11324
11325 * locale/iso-4217.def: Reintroduce XDR currency.
11326
113272014-05-04 Allan McRae <allan@archlinux.org>
11328
11329 * po/eo.po: Update Esperanto translation from translation project.
11330
113312014-05-02 Carlos O'Donell <carlos@redhat.com>
11332
11333 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
11334 and FEATURE_INDEX_MAX to 1.
11335 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
11336
113372014-05-01 Steve Ellcey <sellcey@mips.com>
11338
11339 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
11340 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
11341 * iconvdata/big5.c (ONE_DIRECTION): Define.
11342 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
11343 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
11344 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
11345 * iconvdata/cp932.c (ONE_DIRECTION): Define.
11346 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
11347 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
11348 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
11349 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
11350 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
11351 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
11352 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
11353 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
11354 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
11355 * iconvdata/gbk.c (ONE_DIRECTION): Define.
11356 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
11357 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
11358 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
11359 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
11360 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
11361 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
11362 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
11363 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
11364 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
11365 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
11366 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
11367 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
11368 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
11369 * iconvdata/iso646.c (ONE_DIRECTION): Define.
11370 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
11371 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
11372 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
11373 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
11374 * iconvdata/johab.c (ONE_DIRECTION): Define.
11375 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
11376 * iconvdata/sjis.c (ONE_DIRECTION): Define.
11377 * iconvdata/t.61.c (ONE_DIRECTION): Define.
11378 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
11379 * iconvdata/tscii.c (ONE_DIRECTION): Define.
11380 * iconvdata/uhc.c (ONE_DIRECTION): Define.
11381 * iconvdata/unicode.c (ONE_DIRECTION): Define.
11382 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
11383 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
11384 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
11385
113862014-05-01 Roland McGrath <roland@hack.frob.com>
11387
11388 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
11389 (_IO_JUMPS_OFFSET): Define to 0.
11390
11391 * nptl/sysdeps/pthread/bits/libc-lock.h
11392 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11393 (__libc_lock_define_initialized_recursive): Always define using
11394 initializer. Modern compilers treat uninitialized (implicit zero) and
11395 explicit zero initializers the same (i.e. put the datum in bss).
11396
113972014-05-01 Andreas Schwab <schwab@linux-m68k.org>
11398
11399 * nscd/nscd-client.h: Include <string.h>.
11400
114012014-05-01 David S. Miller <davem@davemloft.net>
11402
11403 [BZ #16885]
11404 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
11405 multiple zero bytes exist at the end of a string.
11406 Reported by Aurelien Jarno <aurelien@aurel32.net>
11407
11408 * string/test-strcmp.c (check): Add explicit test for situations where
11409 there are multiple zero bytes after the first.
11410
114112014-05-01 Andreas Schwab <schwab@linux-m68k.org>
11412
11413 [BZ #16890]
11414 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
11415 when compiling wprintf.
11416 * stdio-common/tstdiomisc.c (t3): New function.
11417 (main): Call it.
11418
114192014-05-01 Steve Ellcey <sellcey@mips.com>
11420
11421 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
11422 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
11423 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
11424 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
11425
114262014-05-01 Steve Ellcey <sellcey@mips.com>
11427
11428 * stdlib/longlong.h: Updated from GCC.
11429
114302014-05-01 Will Newton <will.newton@linaro.org>
11431 Bernard Ogden <bernie.ogden@linaro.org>
11432
11433 * NEWS: Update fixed bug list.
11434
11435 [BZ #15119]
11436 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
11437
114382014-04-30 David S. Miller <davem@davemloft.net>
11439
11440 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
11441 (libc_feholdexcept_setround_sparc_ctx): New function.
11442 (libc_fesetenv_sparc_ctx): Likewise.
11443 (libc_feupdateenv_sparc_ctx): Likewise.
11444 (libc_feholdsetround_sparc_ctx): Likewise.
11445 (libc_feholdexcept_setround_ctx): Define.
11446 (libc_feholdexcept_setroundf_ctx): Likewise.
11447 (libc_feholdexcept_setroundl_ctx): Likewise.
11448 (libc_fesetenv_ctx): Likewise.
11449 (libc_fesetenvf_ctx): Likewise.
11450 (libc_fesetenvl_ctx): Likewise.
11451 (libc_feupdateenv_ctx): Likewise.
11452 (libc_feupdateenvf_ctx): Likewise.
11453 (libc_feupdateenvl_ctx): Likewise.
11454 (libc_feresetround_ctx): Likewise.
11455 (libc_feresetroundf_ctx): Likewise.
11456 (libc_feresetroundl_ctx): Likewise.
11457 (libc_feholdsetround_ctx): Likewise.
11458 (libc_feholdsetroundf_ctx): Likewise.
11459 (libc_feholdsetroundl_ctx): Likewise.
11460
11461 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11462 with __USE_GNU instead of XOPEN cpp guards.
11463
11464 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
11465 0.
11466
11467 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11468 with XOPEN cpp guards.
11469
114702014-04-30 Julian Brown <julian@codesourcery.com>
11471
11472 [BZ #16888]
11473 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
11474 handling.
11475
114762014-04-30 Joseph Myers <joseph@codesourcery.com>
11477
11478 [BZ #9894]
11479 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
11480 Change to 2.6.32.
11481 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
11482 * sysdeps/unix/sysv/linux/configure: Regenerated.
11483 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
11484 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
11485 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
11486 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
11487 * README: Update reference to required Linux kernel version.
11488 * manual/install.texi (Linux): Update reference to required Linux
11489 kernel headers version.
11490 * INSTALL: Regenerated.
11491
11492 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
11493 header inclusion.
11494 [POSIX] (limits.h): Likewise.
11495 [POSIX] (math.h): Likewise.
11496 [POSIX] (sys/wait.h): Likewise.
11497 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
11498 function.
11499 [POSIX] (stddef.h): Do not allow header inclusion.
11500
115012014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11502
11503 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
11504
115052014-04-30 Yang Yingliang <yangyingliang@huawei.com>
11506
11507 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
11508 Return immediately after lll_futex_wake.
11509
115102014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11511
11512 [BZ #16791]
11513 * nscd/nscd-client.h (datahead_init_common): Initialize entire
11514 structure.
11515 (datahead_init_pos): Call datahead_init_common early.
11516 (datahead_init_neg): Likewise.
11517
11518 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
11519 datahead_init_neg): New functions.
11520 * nscd/aicache.c (addhstaiX): Use them.
11521 * nscd/grpcache.c (cache_addgr): Likewise.
11522 * nscd/hstcache.c (cache_addhst): Likewise.
11523 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11524 * nscd/netgroupcache.c (do_notfound): Likewise.
11525 (addgetnetgrentX): Likewise.
11526 (addinnetgrX): Likewise.
11527 * nscd/pwdcache.c (cache_addpw): Likewise.
11528 * nscd/servicescache.c (cache_addserv): Likewise.
11529
115302014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11531 Atsushi Onoe <atsushi@onoe.org>
11532
11533 [BZ #14308]
11534 [BZ #12994]
11535 [BZ #13651]
11536 * resolv/res_query.c (__libc_res_nsearch): Return if at least
11537 one response is valid.
11538 * resolv/res_send.c (send_dg): Check for validity of other
11539 response if the current response is a referral.
11540
115412014-04-29 Steve Ellcey <sellcey@mips.com>
11542
11543 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
11544
115452014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
11546
11547 [BZ #16823]
11548 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
11549 Always divide by positive zero when computing -Inf result.
11550 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11551 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11552
115532014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11554
11555 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
11556 FPSCR if value do not change.
11557 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11558 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
11559 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11560 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11561 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
11562 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
11563 function.
11564
115652014-05-29 Carlos O'Donell <carlos@systemhalted.org>
11566
11567 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
11568 * sysdeps/unix/sysv/linux/hppa: Move directory from
11569 ports/systeps/unix/sysv/linux/hppa.
11570 * README: Update listing for hppa-*-linux-gnu.
11571
115722014-04-28 Ondřej Bílka <neleai@seznam.cz>
11573
11574 [BZ #16754]
11575 * manual/stdio.texi (Hook functions): Fix types of stream hook
11576 functions.
11577 [BZ #16854]
11578 * socket/sys/socket.h: Fix typo in comment.
11579
115802014-04-28 Wilco <wdijkstr@arm.com>
11581
11582 * sysdeps/arm/fenv_private.h: New file.
11583 * sysdeps/arm/math_private.h: New file.
11584 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
11585
115862014-04-25 H.J. Lu <hongjiu.lu@intel.com>
11587
11588 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
11589 with __int128_t.
11590 (La_x86_64_retval): Likewise.
11591
115922014-04-24 Ian Bolton <ian.bolton@arm.com>
11593
11594 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
11595 fpsr if value didn't change.
11596 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
11597 to fpcr if value didn't change.
11598 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
11599 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
11600 fpsr or fpcr if value didn't change.
11601 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11602 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
11603 fpcr if value didn't change.
11604 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
11605 to fpsr if value didn't change.
11606
116072014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11608
11609 * nptl/tst-sem3.c: Use test-skeleton.c
11610 (main): Rename to do_test. Use return instead of
11611 exit.
11612 * nptl/tst-sem4.c: Use test-skeleton.c
11613 (main): Rename to do_test.
11614
116152014-04-22 David S. Miller <davem@davemloft.net>
11616
11617 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
11618 (struct sigaction): New struct member __glibc_reserved0, change
11619 type of sa_flags to int.
11620
116212014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
11622
11623 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
11624 (COUNT_LEADING_ZEROS_0): Define for AArch64.
11625
116262014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11627
11628 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
11629 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
11630
116312014-04-22 Will Newton <will.newton@linaro.org>
11632 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
11633
11634 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
11635 (__longjmp): Add longjmp and longjmp_target SystemTap
11636 probes.
11637 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
11638 (__sigsetjmp): Add setjmp SystemTap probe.
11639
116402014-04-17 Carlos O'Donell <carlos@redhat.com>
11641
11642 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
11643 match manual order.
11644
116452014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11646
11647 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
11648
11649 * sysdeps/powerpc/fpu/fenv_private.h
11650 (libc_feholdexcept_setroundl_ctx): Define to
11651 libc_feholdexcept_setround_ppc_ctx.
11652 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
11653 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
11654 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
11655 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
11656
116572014-04-17 Ian Bolton <ian.bolton@arm.com>
11658
11659 * sysdeps/aarch64/math-tests.h: New file.
11660
116612014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
11662
11663 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
11664 New.
11665 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11666 Check and set bit_AVX2_Usable.
11667 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
11668 macro.
11669 (bit_AVX2): Likewise.
11670 (index_AVX2_Usable): Likewise.
11671 (CPUID_AVX2): Likewise.
11672 (HAS_AVX2): Likewise.
11673
116742014-04-17 Will Newton <will.newton@linaro.org>
11675
11676 * manual/setjmp.texi (System V contexts): Add note that
11677 calling setcontext on a context created by a call to a
11678 signal handler is undefined. Update text to note that
11679 setcontext from a signal handler is possible but not
11680 recommended.
11681
11682 [BZ #16629]
11683 * stdlib/tst-setcontext.c: Include signal.h.
11684 (main): Check that the signal stack before and
11685 after swapcontext is the same.
11686
11687 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
11688 Re-implement to restore registers in user code and avoid
11689 rt_sigreturn system call.
11690
116912014-04-17 Wilco <wdijkstr@arm.com>
11692
11693 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
11694 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
11695 * math/test-fenv.c: Skip exception trap tests on targets which only
11696 support non-stop mode.
11697
116982014-04-17 Ian Bolton <ian.bolton@arm.com>
11699 Wilco Dijkstra <wilco.dijkstra@arm.com>
11700
11701 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
11702 (libc_feholdsetround_aarch64_ctx)
11703 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
11704 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
11705 (libc_feresetround_ctx, libc_feresetroundf_ctx)
11706 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
11707 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
11708 (libc_feresetround_noexl_ctx): Define.
11709
117102014-04-16 Richard Henderson <rth@redhat.com>
11711
11712 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
11713
11714 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
11715 unwind tables.
11716
11717 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
11718 const from the non-libc, non-ldso copy.
11719
11720 * sysdeps/alpha/libm-test-ulps: Regenerate.
11721
117222014-04-16 Ian Bolton <ian.bolton@arm.com>
11723 Wilco Dijkstra <wilco.dijkstra@arm.com>
11724
11725 * sysdeps/aarch64/fpu/math_private.h: New file.
11726
117272014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
11728
11729 * sysdeps/aarch64/libm-test-ulps: Regenerate.
11730
117312014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
11732
11733 [BZ #16275]
11734 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
11735 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
11736 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
11737 Intel MPX bound registers before _dl_profile_fixup.
11738 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
11739 registers after _dl_profile_fixup. Save and restore bound
11740 registers bnd0/bnd1 when calling _dl_call_pltexit.
11741 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
11742 (LR_BND_OFFSET): Likewise.
11743 (LRV_BND0_OFFSET): Likewise.
11744 (LRV_BND1_OFFSET): Likewise.
11745
117462014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11747
11748 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
11749 to...
11750 * sysdeps/mach/hurd/i386/tls.h: ... here.
11751 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
11752 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
11753 fields.
11754
117552014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11756
11757 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
11758
117592014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
11760
11761 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11762
117632014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
11764
11765 [BZ #14770]
11766 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
11767 * sysdeps/s390/configure: Regenerate.
11768
11769 [BZ #16824]
11770 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
11771 Set round-to-nearest internally to reduce error accumulation.
11772
117732014-04-16 Alan Modra <amodra@gmail.com>
11774
11775 [BZ #16740]
11776 [BZ #16619]
11777 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
11778 * math/libm-test.inc (frexp_test_data): Add tests.
11779 * NEWS: Update fixed bug list.
11780
117812014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11782
11783 * benchtests/Makefile: Depend on libraries in build directory.
11784 (bench-math): Separate out math tests.
11785 (bench-pthread): Separate out pthread tests.
11786 (bench): Include math and pthread tests.
11787
117882014-04-14 Carlos O'Donell <carlos@redhat.com>
11789
11790 [BZ #16831]
11791 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
11792 _dl_debug_initialize.
11793
11794 * configure.ac: Remove SELinux header check.
11795 * configure: Regenerate.
11796 * nscd/selinux.c (perms): Array of const char* to permission names.
11797 (nscd_request_avc_has_perm): Call security_deny_unknown to find
11798 default policy. Call string_to_security_class and string_to_av_perm to
11799 translate strings. Enforce default policy and call avs_has_perm with
11800 results of translated strings.
11801
118022014-04-13 David S. Miller <davem@davemloft.net>
11803
11804 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11805
118062014-04-12 Allan McRae <allan@archlinux.org>
11807
11808 [BZ #16838]
11809 * manual/string.texi (Collation Functions): Fix qsort argument
11810 order in example.
11811 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11812
118132014-04-11 Chris Metcalf <cmetcalf@tilera.com>
11814
11815 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
11816 Make the test a no-op if there are no exceptions defined.
11817
118182014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
11819
11820 * elf/Makefile (tests): make tst-dlopen-aout conditional on
11821 enable-hardcoded-path-in-tests
11822
118232014-04-11 Will Newton <will.newton@linaro.org>
11824
11825 * benchtests/Makefile (extra-objs): Add json-lib.o.
11826 (bench-func): Tidy up JSON output.
11827 * benchtests/bench-skeleton.c: Include json-lib.h.
11828 (main): Use JSON library functions to do output of
11829 benchmark results.
11830 * benchtests/bench-timing-type.c (main): Output the
11831 timing type simply, leaving formatting to the user.
11832 * benchtests/json-lib.c: New file.
11833 * benchtests/json-lib.h: Likewise.
11834
118352014-04-11 Torvald Riegel <triegel@redhat.com>
11836
11837 [BZ #15215]
11838 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
11839 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
11840 memory barriers. Add comments.
11841 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
11842 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
11843 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
11844 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
11845 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
11846 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
11847
118482014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11849
11850 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
11851 * sysdeps/s390/s390-64/configure.ac: ... this ...
11852 * sysdeps/s390/configure.ac: ... to here.
11853 * sysdeps/s390/s390-32/configure: Delete file.
11854 * sysdeps/s390/s390-64/configure: Delete file.
11855 * sysdeps/s390/configure: Regenerate.
11856
118572014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
11858
11859 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
11860
118612014-04-11 Will Newton <will.newton@linaro.org>
11862
11863 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
11864 to zero if it is not defined elsewhere. (mtrim): Test
11865 the value of MALLOC_DEBUG with #if rather than #ifdef.
11866
118672014-04-10 Torvald Riegel <triegel@redhat.com>
11868
11869 * benchtests/pthread_once-inputs: New file.
11870 * benchtests/pthread_once-source.c: New file.
11871 * benchtests/README: Update documentation.
11872
118732014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
11874 H.J. Lu <hongjiu.lu@intel.com>
11875
11876 [BZ #16275]
11877 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
11878 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
11879 * sysdeps/x86_64/configure: Regenerated.
11880 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
11881 macro.
11882 (REGISTER_SAVE_RAX): Likewise.
11883 (REGISTER_SAVE_RCX): Likewise.
11884 (REGISTER_SAVE_RDX): Likewise.
11885 (REGISTER_SAVE_RSI): Likewise.
11886 (REGISTER_SAVE_RDI): Likewise.
11887 (REGISTER_SAVE_R8): Likewise.
11888 (REGISTER_SAVE_R9): Likewise.
11889 (REGISTER_SAVE_BND0): Likewise.
11890 (REGISTER_SAVE_BND1): Likewise.
11891 (REGISTER_SAVE_BND2): Likewise.
11892 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
11893 bound registers when calling _dl_fixup.
11894
118952014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11896
11897 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
11898 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
11899 of its definition.
11900 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
11901 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
11902 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
11903 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
11904 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
11905 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
11906 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
11907
119082014-04-09 Peter Brett <peter@peter-b.co.uk>
11909
11910 [BZ #15514]
11911 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
11912 pathconf(_PC_NAME_MAX).
11913
119142014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11915
11916 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
11917 Remove macro usage.
11918 (__PTHREAD_SPINS): Move definition to ...
11919 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11920 (__PTHREAD_SPINS): ... here.
11921 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11922 (__PTHREAD_SPIN): Likewise.
11923 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
11924 (__PTHREAD_SPIN): Likewise.
11925 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
11926 (__PTHREAD_SPIN): Likewise.
11927 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
11928 (__PTHREAD_SPIN): Likewise.
11929 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11930 (__PTHREAD_SPIN): Likewise.
11931 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11932 (__PTHREAD_SPIN): Likewise.
11933 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
11934 (__PTHREAD_SPIN): Likewise.
11935 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11936 (__PTHREAD_SPIN): Likewise.
11937 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11938 (__PTHREAD_SPIN): Likewise.
11939 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11940 (__PTHREAD_SPIN): Likewise.
11941 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11942 (__PTHREAD_SPIN): Likewise.
11943 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
11944 (__PTHREAD_SPIN): Likewise.
11945
11946 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
11947 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
11948 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
11949 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
11950 imply folder.
11951 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11952 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11953 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11954 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
11955 correct imply path.
11956 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
11957 strlen symbol for non multi-arch builds.
11958 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
11959 missing hidden_def and weak_alias.
11960
119612014-04-08 Carlos O'Donell <carlos@redhat.com>
11962
11963 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
11964
119652014-04-07 Will Newton <will.newton@linaro.org>
11966
11967 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
11968 and contents. [!_LIBC] Remove #ifndef and contents.
11969 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
11970 * string/memccpy.c (__memccpy): Use ANSI prototype.
11971 * string/memfrob.c (memfrob): Likewise.
11972 * string/strcoll.c (STRCOLL): Likewise.
11973 * string/strlen.c (strlen): Likewise.
11974 * string/strtok.c (STRTOK): Likewise.
11975 * string/strcat.c: Remove unused #include of memcopy.h.
11976 (strcat): Use ANSI prototype.
11977 * string/strchr.c: Remove unused #include of memcopy.h.
11978 (strchr): Use ANSI prototype.
11979 * string/strcmp.c: Remove unused #include of memcopy.h.
11980 (strcmp): Use ANSI prototype.
11981 * string/strcpy.c: Remove unused #include of memcopy.h.
11982 (strcpy): Use ANSI prototype.
11983
119842014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11985
11986 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
11987 * config.make.in (config-extra-cppflags): Set it from
11988 libc_extra_cppflags.
11989 * configure.ac (libc_extra_cflags): Make it accumulate over
11990 configure fragments.
11991 (libc_extra_cppflags): New flag.
11992 * configure. Regenerate.
11993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11994 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
11995 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
11996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
11997
11998 [BZ #16815]
11999 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
12000 result for FE_DOWNWARD rounding mode.
12001 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12002 Likewise.
12003 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12004
120052014-04-04 Chris Metcalf <cmetcalf@tilera.com>
12006
12007 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
12008 in function argument name.
12009
120102014-04-03 David Svoboda <svoboda@cert.org>
12011
12012 [BZ #5666]
12013 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
12014 explicitly.
12015
120162014-04-03 Roland McGrath <roland@hack.frob.com>
12017
12018 * elf/dl-unmap-segments.h: New file.
12019 * sysdeps/generic/ldsodefs.h
12020 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
12021 * elf/dl-close.c: Include <dl-unmap-segments.h>.
12022 * elf/dl-fptr.c: Likewise.
12023 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
12024 * sysdeps/aarch64/tlsdesc.c: Likewise.
12025 * sysdeps/arm/tlsdesc.c: Likewise.
12026 * sysdeps/i386/tlsdesc.c: Likewise.
12027 * sysdeps/tile/dl-runtime.c: Likewise.
12028 * sysdeps/x86_64/tlsdesc.c: Likewise.
12029 * elf/dl-load.h: New file.
12030 * elf/dl-load.c: Include it.
12031 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
12032 Macros moved to dl-load.h.
12033 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
12034 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
12035 Use _dl_unmap_segments in place of __munmap.
12036 Break out segment-mapping loop into ...
12037 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
12038
120392014-04-03 Will Newton <will.newton@linaro.org>
12040
12041 * elf/dl-lookup.c (do_lookup_x): Remove comment
12042 referring to nested function and move variable
12043 declarations down to before first use.
12044
120452014-04-02 Joseph Myers <joseph@codesourcery.com>
12046
12047 [BZ #16799]
12048 [BZ #16800]
12049 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
12050 with 0 numerator.
12051 * math/s_catanf.c (__catanf): Likewise.
12052 * math/s_catanh.c (__catanh): Likewise.
12053 * math/s_catanhf.c (__catanhf): Likewise.
12054 * math/s_catanhl.c (__catanhl): Likewise.
12055 * math/s_catanl.c (__catanl): Likewise.
12056 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
12057 by positive zero when computing -Inf result.
12058 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
12059 (catanh_test): Likewise.
12060 * sysdeps/i386/fpu/libm-test-ulps: Update.
12061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12062
12063 [BZ #16789]
12064 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
12065 instead of using underflowing value in computing result.
12066 * math/s_clog10.c (__clog10): Likewise.
12067 * math/s_clog10f.c (__clog10f): Likewise.
12068 * math/s_clog10l.c (__clog10l): Likewise.
12069 * math/s_clogf.c (__clogf): Likewise.
12070 * math/s_clogl.c (__clogl): Likewise.
12071 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
12072 (clog10_test): Likewise.
12073 * sysdeps/i386/fpu/libm-test-ulps: Update.
12074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12075
120762014-04-02 Alan Modra <amodra@gmail.com>
12077
12078 [BZ #16739]
12079 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
12080 output when value is near a power of two. Use int64_t for lx and
12081 remove casts. Use decimal rather than hex exponent constants.
12082 Don't use long double multiplication when double will suffice.
12083 * math/libm-test.inc (nextafter_test_data): Add tests.
12084 * NEWS: Add 16739 and 16786 to bug list.
12085
12086 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
12087
12088 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
12089
120902014-04-01 Will Newton <will.newton@linaro.org>
12091
12092 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
12093 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
12094
120952014-04-01 Florian Weimer <fweimer@redhat.com>
12096
12097 [BZ #13347]
12098 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
12099 * nptl/tst-setuid2.c: New file.
12100 * nptl/Makefile (xtests): Add tst-setuid2.
12101
121022014-04-01 Alan Modra <amodra@gmail.com>
12103
12104 [BZ #16786]
12105 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
12106
121072014-03-31 Joseph Myers <joseph@codesourcery.com>
12108
12109 [BZ #6803]
12110 [BZ #6804]
12111 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
12112 set errno as appropriate.
12113 * math/w_scalbf.c (__scalbf): Likewise.
12114 * math/w_scalbl.c (__scalbl): Likewise.
12115 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
12116 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
12117 * math/libm-test.inc (scalb_test_data): Add errno expectations.
12118 Add more NaN tests.
12119
12120 [BZ #16349]
12121 * math/w_atan2.c: Include <errno.h>.
12122 (__atan2): Set errno for result underflowing to zero.
12123 * math/w_atan2f.c: Include <errno.h>.
12124 (__atan2f): Set errno for result underflowing to zero.
12125 * math/w_atan2l.c: Include <errno.h>.
12126 (__atan2l): Set errno for result underflowing to zero.
12127 * math/auto-libm-test-in: Don't allow missing errno for some atan2
12128 tests.
12129 * math/auto-libm-test-out: Regenerated.
12130
121312014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12132
12133 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12134 Encode instruction correctly in little endian.
12135 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12136 Likewise.
12137 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12138 Likewise.
12139 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12140 Likewise.
12141 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12142 Likewise.
12143
121442014-03-31 Joseph Myers <joseph@codesourcery.com>
12145
12146 [BZ #9894]
12147 * sysdeps/unix/sysv/linux/kernel-features.h
12148 [__sparc__ && !__arch64__ && !__sparc_v9__]
12149 (__ASSUME_SET_ROBUST_LIST): Do not define.
12150 [__sparc__ && !__arch64__ && !__sparc_v9__]
12151 (__ASSUME_FUTEX_LOCK_PI): Likewise.
12152 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
12153 Likewise.
12154 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12155 (__ASSUME_FUTEX_LOCK_PI): Undefine.
12156 (__ASSUME_REQUEUE_PI): Likewise.
12157 (__ASSUME_SET_ROBUST_LIST): Likewise.
12158 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12159 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
12160 Undefine.
12161 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12162 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
12163 Likewise.
12164 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
12165 Likewise.
12166 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
12167 Likewise.
12168 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12169 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
12170 Undefine.
12171 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
12172 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
12173 Likewise.
12174
12175 [BZ #16648]
12176 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12177 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
12178 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
12179
121802014-03-31 Will Newton <will.newton@linaro.org>
12181
12182 * benchtests/Makefile (bench): Add ffs and ffsll to list
12183 of tests.
12184 * benchtests/ffs-inputs: New file.
12185 * benchtests/ffsll-inputs: Likewise.
12186
121872014-03-29 Joseph Myers <joseph@codesourcery.com>
12188
12189 [BZ #16770]
12190 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
12191 too large before casting to int.
12192 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
12193 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
12194 * math/libm-test.inc (scalb_test_data): Add more tests.
12195
121962014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12197
12198 * benchtests/Makefile (DETAILED_OPT): New make option.
12199 (bench-func): Run benchmark program with -d if DETAILED_OPT is
12200 set.
12201 * benchtests/bench-skeleton.c: Include stdbool.h.
12202 (main): Store and print timings per input.
12203 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
12204 member to each argument value.
12205 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
12206 (_print_arg_data): Initialize per-input timing to 0.
12207
12208 * benchtests/Makefile (timing-type): New binary.
12209 (bench-clean): Also remove bench-timing-type.
12210 (bench): New target for timing-type.
12211 (bench-func): Print output in JSON format.
12212 * benchtests/bench-skeleton.c (main): Print output in JSON
12213 format.
12214 * benchtests/bench-timing-type.c: New file.
12215 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
12216 (TIMING_PRINT_STATS): Remove.
12217 * benchtests/scripts/bench.py (_print_arg_data): Store variant
12218 name separately.
12219
12220 * benchtests/bench-modf.c: Remove.
12221 * benchtests/modf-inputs: New inputs file.
12222
122232014-03-28 Joseph Myers <joseph@codesourcery.com>
12224
12225 [BZ #16362]
12226 * math/s_clog10.c (M_PI_LOG10E): New macro.
12227 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
12228 imaginary parts are 0.
12229 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
12230 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
12231 imaginary parts are 0.
12232 * math/s_clog10l.c (M_PI_LOG10El): New macro.
12233 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
12234 imaginary parts are 0.
12235 * math/libm-test.inc (clog10_test_data): Update expected results
12236 for when real and imaginary parts are 0.
12237
122382014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
12239
12240 * elf/dl-load.c: Finish conversion of __builtin_expect into
12241 __glibc_{un}likely.
12242
122432014-03-27 Joseph Myers <joseph@codesourcery.com>
12244
12245 [BZ #16348]
12246 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
12247 1+x for argument with exponent below -67.
12248 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
12249 Likewise.
12250 * math/auto-libm-test-in: Add more tests of exp.
12251 * math/auto-libm-test-out: Regenerated.
12252
122532014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12254
12255 [BZ #16759]
12256 * inet/getnetgrent_r.c (get_nonempty_val): New function.
12257 (nscd_getnetgrent): Use it.
12258
12259 [BZ #16760]
12260 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
12261 of stpcpy.
12262
122632014-03-27 Andi Kleen <ak@linux.intel.com>
12264
12265 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
12266 (lll_robust_lock, lll_cond_lock, lll_timedlock)
12267 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12268 (lll_robust_unlock): Remove out of line section. Use cfi
12269 intrinsics.
12270 (LLL_STUB_UNWIND_INFO*): Remove.
12271 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
12272 (lll_robust_lock, lll_cond_lock, lll_timedlock)
12273 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12274 (lll_robust_unlock): Remove out of line section. Use cfi
12275 intrinsics.
12276 (LLL_STUB_UNWIND_INFO*): Remove.
12277
122782014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12279
12280 [BZ #16758]
12281 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
12282 blank values.
12283
122842014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
12285
12286 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
12287
122882014-03-26 Joseph Myers <joseph@codesourcery.com>
12289
12290 [BZ #16198]
12291 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
12292 fnstenv.
12293 * math/test-fenv-preserve.c: New file.
12294 * math/Makefile (tests): Add test-fenv-preserve.
12295
122962014-03-26 Will Newton <will.newton@linaro.org>
12297
12298 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
12299
123002014-03-25 Roland McGrath <roland@hack.frob.com>
12301
12302 * scripts/versionlist.awk: Partition the version sets and emit all
12303 GLIBC_* (sorted) before all others (sorted).
12304
123052014-03-25 Joseph Myers <joseph@codesourcery.com>
12306
12307 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
12308 GLIBC_2.2.5 version.
12309
123102014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12311
12312 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
12313 calls.
12314
12315 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
12316 previous change.
12317
12318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12319
123202014-03-25 Andreas Schwab <schwab@suse.de>
12321
12322 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
12323 label to be used after in6ailist is initialized.
12324
123252014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12326
12327 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12328 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12329
123302014-03-25 Joseph Myers <joseph@codesourcery.com>
12331
12332 [BZ #16357]
12333 [BZ #16599]
12334 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
12335 min_plus_half.
12336 (fp_formats): Update initializers.
12337 (init_fp_formats): Initialize new field.
12338 (output_for_one_input_case): Allow underflow for results up to
12339 min_plus_half.
12340 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
12341 * math/auto-libm-test-in: Don't mark some underflows from asin and
12342 atanh as spurious.
12343 * math/auto-libm-test-out: Regenerated.
12344 * sysdeps/i386/fpu/libm-test-ulps: Update.
12345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12346
123472014-03-25 Andreas Schwab <schwab@suse.de>
12348
12349 * libio/Makefile (tst-ftell-partial-wide-ENV)
12350 (tst-ftell-active-handler-ENV): Define.
12351
123522014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
12353
12354 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
12355
123562014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
12357
12358 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
12359
123602014-03-24 Joseph Myers <joseph@codesourcery.com>
12361
12362 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
12363 * sysdeps/x86_64/fpu/multiarch/e_exp.c
12364 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12365
123662014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
12367
12368 [BZ #16634]
12369 * elf/dl-load.c (open_verify): Add mode parameter.
12370 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
12371 (open_path): Change from boolean 'secure' to complete flag 'mode'
12372 (_dl_map_object): Adjust.
12373 * elf/Makefile (tests): Add tst-dlopen-aout.
12374 * elf/tst-dlopen-aout.c: New test.
12375
123762014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
12377
12378 [BZ #16714]
12379 * sysdeps/unix/sysv/linux/s390/bits/stat.h
12380 (struct stat): Rename member pad0 to __glibc_reserved0.
12381
12382 [BZ #16712]
12383 * sysdeps/s390/s390-32/bits/wordsize.h
12384 (__WORDSIZE32_SIZE_ULONG): New define.
12385 * sysdeps/s390/s390-64/bits/wordsize.h
12386 (__WORDSIZE32_SIZE_ULONG): Likewise.
12387 * sysdeps/generic/stdint.h (SIZE_MAX):
12388 Define as UL if __WORDSIZE32_SIZE_ULONG.
12389
12390 [BZ #16713]
12391 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
12392 (__glibc_reserved0): New variable.
12393 (sa_flags): Change type to int.
12394
12395 * posix/Makefile (before-compile): Use += before-compile instead
12396 of a :=.
12397
12398 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12399 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12400
124012014-03-20 Andreas Schwab <schwab@suse.de>
12402
12403 [BZ #16743]
12404 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
12405 non-matching result from nscd.
12406
124072014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12408
12409 * scripts/bench.py: Moved to ...
12410 * benchtests/scripts/bench.py: ... here.
12411 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
12412
124132014-03-24 Andreas Schwab <schwab@suse.de>
12414
12415 [BZ #16002]
12416 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
12417 alloca_account and account alloca use for struct in6ailist.
12418
124192014-03-24 Joseph Myers <joseph@codesourcery.com>
12420
12421 [BZ #16284]
12422 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
12423 rounding mode to recompute results that overflow to infinity or
12424 underflow to zero.
12425 * math/auto-libm-test-in: Don't mark tests as expected to fail for
12426 bug 16284.
12427 * math/auto-libm-test-out: Regenerated.
12428 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
12429 (ccosh_test): Likewise.
12430 (csin_test_data): Use plus_oflow.
12431 (csin_test): Use ALL_RM_TEST.
12432 (csinh_test_data): Use plus_oflow.
12433 (csinh_test): Use ALL_RM_TEST.
12434 * sysdeps/i386/fpu/libm-test-ulps: Update.
12435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12436
124372014-03-21 Joseph Myers <joseph@codesourcery.com>
12438
12439 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
12440 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
12441 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
12442
12443 [BZ #16731]
12444 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
12445 when x - 1 is zero.
12446 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
12447 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
12448 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12449 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
12450 argument is 1.
12451 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
12452 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
12453 zero.
12454 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
12455 * sysdeps/i386/fpu/libm-test-ulps: Update.
12456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12457
124582014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12459
12460 * scripts/bench.pl: Remove file.
12461 * scripts/bench.py: New benchmark script.
12462 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
12463 * benchtests/README: Mention python dependency.
12464 * scripts/pylintrc: New file.
12465 * scripts/pylint: New file.
12466
12467 * bits/mathdef.h: Use #ifdef instead of #if.
12468 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
12469 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12470 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
12471 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12472 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
12473 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12474
124752014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12476 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12477
12478 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
12479 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
12480 and strpbrk-ppc64 objects.
12481 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12482 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
12483 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
12484 multiarch strpbrk for POWER7.
12485 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
12486 multiarch strpbrk for PPC64.
12487 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
12488 ifunc selector.
12489 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
12490 strpbrk for POWER7.
12491
124922014-03-20 Joseph Myers <joseph@codesourcery.com>
12493
12494 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
12495 (atan_test): Likewise.
12496 (atanh_test_data): Use NO_TEST_INLINE for two tests.
12497 (atanh_test): Use ALL_RM_TEST.
12498 (atan2_test_data): Likewise.
12499 (cabs_test): Likewise.
12500 (cacosh_test): Likewise.
12501 (carg_test): Likewise.
12502 (casin_test): Likewise.
12503 (casinh_test): Likewise.
12504 (cbrt_test): Likewise.
12505 (csqrt_test): Likewise.
12506 (erf_test): Likewise.
12507 (erfc_test): Likewise.
12508 (pow10_test): Likewise.
12509 (exp2_test): Likewise.
12510 (hypot_test): Likewise.
12511 (j0_test): Likewise.
12512 (j1_test): Likewise.
12513 (lgamma_test): Likewise.
12514 (gamma_test): Likewise.
12515 (sincos_test): Likewise.
12516 (tanh_test): Likewise.
12517 (y0_test): Likewise.
12518 (y1_test): Likewise.
12519 * sysdeps/i386/fpu/libm-test-ulps: Update.
12520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12521
125222014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12523
12524 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
12525 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
12526 and strcspn-ppc64 objects.
12527 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12528 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
12529 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
12530 multiarch strcspn for POWER7.
12531 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
12532 multiarch strcspn for PPC64.
12533 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
12534 ifunc selector.
12535 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
12536 strcspn for POWER7.
12537
125382014-03-20 Joseph Myers <joseph@codesourcery.com>
12539
12540 * math/gen-libm-test.pl (generate_testfile): Expect only function
12541 name as argument to AUTO_TESTS_* and pass results for all rounding
12542 modes to parse_args.
12543 (parse_auto_input): Separate inputs of automatic tests from
12544 outputs before storing in %auto_tests.
12545 * math/libm-test.inc (acos_test_data): Update call to
12546 AUTO_TESTS_f_f.
12547 (acos_test): Use ALL_RM_TEST.
12548 (acos_tonearest_test_data): Remove.
12549 (acos_test_tonearest): Likewise.
12550 (acos_towardzero_test_data): Likewise.
12551 (acos_test_towardzero): Likewise.
12552 (acos_downward_test_data): Likewise.
12553 (acos_test_downward): Likewise.
12554 (acos_upward_test_data): Likewise.
12555 (acos_test_upward): Likewise.
12556 (acosh_test_data): Update call to AUTO_TESTS_f_f.
12557 (asin_test_data): Likewise.
12558 (asin_test): Use ALL_RM_TEST.
12559 (asin_tonearest_test_data): Remove.
12560 (asin_test_tonearest): Likewise.
12561 (asin_towardzero_test_data): Likewise.
12562 (asin_test_towardzero): Likewise.
12563 (asin_downward_test_data): Likewise.
12564 (asin_test_downward): Likewise.
12565 (asin_upward_test_data): Likewise.
12566 (asin_test_upward): Likewise.
12567 (asinh_test_data): Update call to AUTO_TESTS_f_f.
12568 (atan_test_data): Likewise.
12569 (atanh_test_data): Likewise.
12570 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
12571 (cabs_test_data): Update call to AUTO_TESTS_c_f.
12572 (carg_test_data): Likewise.
12573 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
12574 (ccos_test_data): Update call to AUTO_TESTS_c_c.
12575 (ccosh_test_data): Likewise.
12576 (cexp_test_data): Likewise.
12577 (clog_test_data): Likewise.
12578 (clog10_test_data): Likewise.
12579 (cos_test_data): Update call to AUTO_TESTS_f_f.
12580 (cos_test): Use ALL_RM_TEST.
12581 (cos_tonearest_test_data): Remove.
12582 (cos_test_tonearest): Likewise.
12583 (cos_towardzero_test_data): Likewise.
12584 (cos_test_towardzero): Likewise.
12585 (cos_downward_test_data): Likewise.
12586 (cos_test_downward): Likewise.
12587 (cos_upward_test_data): Likewise.
12588 (cos_test_upward): Likewise.
12589 (cosh_test_data): Update call to AUTO_TESTS_f_f.
12590 (cosh_test): Use ALL_RM_TEST.
12591 (cosh_tonearest_test_data): Remove.
12592 (cosh_test_tonearest): Likewise.
12593 (cosh_towardzero_test_data): Likewise.
12594 (cosh_test_towardzero): Likewise.
12595 (cosh_downward_test_data): Likewise.
12596 (cosh_test_downward): Likewise.
12597 (cosh_upward_test_data): Likewise.
12598 (cosh_test_upward): Likewise.
12599 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
12600 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
12601 (ctan_test_data): Likewise.
12602 (ctan_test): Use ALL_RM_TEST.
12603 (ctan_tonearest_test_data): Remove.
12604 (ctan_test_tonearest): Likewise.
12605 (ctan_towardzero_test_data): Likewise.
12606 (ctan_test_towardzero): Likewise.
12607 (ctan_downward_test_data): Likewise.
12608 (ctan_test_downward): Likewise.
12609 (ctan_upward_test_data): Likewise.
12610 (ctan_test_upward): Likewise.
12611 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
12612 (ctanh_test): Use ALL_RM_TEST.
12613 (ctanh_tonearest_test_data): Remove.
12614 (ctanh_test_tonearest): Likewise.
12615 (ctanh_towardzero_test_data): Likewise.
12616 (ctanh_test_towardzero): Likewise.
12617 (ctanh_downward_test_data): Likewise.
12618 (ctanh_test_downward): Likewise.
12619 (ctanh_upward_test_data): Likewise.
12620 (ctanh_test_upward): Likewise.
12621 (erf_test_data): Update call to AUTO_TESTS_f_f.
12622 (erfc_test_data): Likewise.
12623 (exp_test_data): Likewise.
12624 (exp_test): Use ALL_RM_TEST.
12625 (exp_tonearest_test_data): Remove.
12626 (exp_test_tonearest): Likewise.
12627 (exp_towardzero_test_data): Likewise.
12628 (exp_test_towardzero): Likewise.
12629 (exp_downward_test_data): Likewise.
12630 (exp_test_downward): Likewise.
12631 (exp_upward_test_data): Likewise.
12632 (exp_test_upward): Likewise.
12633 (exp10_test_data): Update call to AUTO_TESTS_f_f.
12634 (exp10_test): Use ALL_RM_TEST.
12635 (exp10_tonearest_test_data): Remove.
12636 (exp10_test_tonearest): Likewise.
12637 (exp10_towardzero_test_data): Likewise.
12638 (exp10_test_towardzero): Likewise.
12639 (exp10_downward_test_data): Likewise.
12640 (exp10_test_downward): Likewise.
12641 (exp10_upward_test_data): Likewise.
12642 (exp10_test_upward): Likewise.
12643 (exp2_test_data): Update call to AUTO_TESTS_f_f.
12644 (expm1_test_data): Likewise.
12645 (expm1_test): Use ALL_RM_TEST.
12646 (expm1_tonearest_test_data): Remove.
12647 (expm1_test_tonearest): Likewise.
12648 (expm1_towardzero_test_data): Likewise.
12649 (expm1_test_towardzero): Likewise.
12650 (expm1_downward_test_data): Likewise.
12651 (expm1_test_downward): Likewise.
12652 (expm1_upward_test_data): Likewise.
12653 (expm1_test_upward): Likewise.
12654 (fma_test_data): Update call to AUTO_TESTS_fff_f.
12655 (fma_test): Use ALL_RM_TEST.
12656 (fma_towardzero_test_data): Remove.
12657 (fma_test_towardzero): Likewise.
12658 (fma_downward_test_data): Likewise.
12659 (fma_test_downward): Likewise.
12660 (fma_upward_test_data): Likewise.
12661 (fma_test_upward): Likewise.
12662 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
12663 (j0_test_data): Update call to AUTO_TESTS_f_f.
12664 (j1_test_data): Likewise.
12665 (jn_test_data): Update call to AUTO_TESTS_if_f.
12666 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
12667 (log_test_data): Update call to AUTO_TESTS_f_f.
12668 (log10_test_data): Likewise.
12669 (log1p_test_data): Likewise.
12670 (log2_test_data): Likewise.
12671 (pow_test_data): Update call to AUTO_TESTS_ff_f.
12672 (pow_tonearest_test_data): Likewise.
12673 (sin_test_data): Update call to AUTO_TESTS_f_f.
12674 (sin_test): Use ALL_RM_TEST.
12675 (sin_tonearest_test_data): Remove.
12676 (sin_test_tonearest): Likewise.
12677 (sin_towardzero_test_data): Likewise.
12678 (sin_test_towardzero): Likewise.
12679 (sin_downward_test_data): Likewise.
12680 (sin_test_downward): Likewise.
12681 (sin_upward_test_data): Likewise.
12682 (sin_test_upward): Likewise.
12683 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
12684 (sinh_test_data): Update call to AUTO_TESTS_f_f.
12685 (sinh_test): Use ALL_RM_TEST.
12686 (sinh_tonearest_test_data): Remove.
12687 (sinh_test_tonearest): Likewise.
12688 (sinh_towardzero_test_data): Likewise.
12689 (sinh_test_towardzero): Likewise.
12690 (sinh_downward_test_data): Likewise.
12691 (sinh_test_downward): Likewise.
12692 (sinh_upward_test_data): Likewise.
12693 (sinh_test_upward): Likewise.
12694 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
12695 (sqrt_test): Use ALL_RM_TEST.
12696 (sqrt_tonearest_test_data): Remove.
12697 (sqrt_test_tonearest): Likewise.
12698 (sqrt_towardzero_test_data): Likewise.
12699 (sqrt_test_towardzero): Likewise.
12700 (sqrt_downward_test_data): Likewise.
12701 (sqrt_test_downward): Likewise.
12702 (sqrt_upward_test_data): Likewise.
12703 (sqrt_test_upward): Likewise.
12704 (tan_test_data): Update call to AUTO_TESTS_f_f.
12705 (tan_test): Use ALL_RM_TEST.
12706 (tan_tonearest_test_data): Remove.
12707 (tan_test_tonearest): Likewise.
12708 (tan_towardzero_test_data): Likewise.
12709 (tan_test_towardzero): Likewise.
12710 (tan_downward_test_data): Likewise.
12711 (tan_test_downward): Likewise.
12712 (tan_upward_test_data): Likewise.
12713 (tan_test_upward): Likewise.
12714 (tanh_test_data): Update call to AUTO_TESTS_f_f.
12715 (tgamma_test_data): Likewise.
12716 (y0_test_data): Likewise.
12717 (y1_test_data): Likewise.
12718 (yn_test_data): Update call to AUTO_TESTS_if_f.
12719 (main): Do not call removed functions.
12720
127212014-03-19 Joseph Myers <joseph@codesourcery.com>
12722
12723 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
12724 (ldexp_test_data): Remove.
12725 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
12726 scalbn_test_data.
12727 (scalb_test): Use ALL_RM_TEST.
12728
127292014-03-19 Andreas Schwab <schwab@suse.de>
12730
12731 * nscd/nscd.service: Also invalidate netgroup cache on reload.
12732
127332014-03-19 Joseph Myers <joseph@codesourcery.com>
12734
12735 [BZ #16649]
12736 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12737 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
12738 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
12739 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12740 (__ASSUME_PREADV): Undefine.
12741 (__ASSUME_PWRITEV): Likewise.
12742
127432014-03-18 Roland McGrath <roland@hack.frob.com>
12744
12745 * bits/mman-linux.h: Add comment about non-Linux use.
12746 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
12747 bits/mman-linux.h resting place.
12748
12749 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
12750 * bits/mman-linux.h: ... here.
12751
127522014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12753
12754 * conform/conformtest.pl: Add standard definition when calling C
12755 preprocessor on data files.
12756 (checknamespace): Remove unused variable.
12757
127582014-03-18 Joseph Myers <joseph@codesourcery.com>
12759
12760 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
12761 minus_oflow, plus_uflow and minus_uflow in expected results.
12762 * math/libm-test.inc (scalbn_test_data): Add more tests of
12763 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
12764 minus_uflow.
12765 (scalbn_test): Use ALL_RM_TEST.
12766 (scalbln_test_data): Add more tests of negative arguments. Use
12767 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
12768 (scalbln_test): Use ALL_RM_TEST.
12769
127702014-03-18 Roland McGrath <roland@hack.frob.com>
12771
12772 * scripts/abilist.awk: Ignore symbols marked with .hidden.
12773
127742014-03-18 Will Newton <will.newton@linaro.org>
12775
12776 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
12777 inaccurate comment.
12778
127792014-03-18 Joseph Myers <joseph@codesourcery.com>
12780
12781 * Makerules [!subdir] (check-abi): Exit with error status if a
12782 test failed.
12783
127842014-03-17 Joseph Myers <joseph@codesourcery.com>
12785
12786 * math/libm-test.inc (nearbyint_test_data): Include all tests used
12787 for rint. Include results for all rounding modes.
12788 (nearbyint_test): Use ALL_RM_TEST.
12789 (rint_test_data): Include all tests used for nearbyint.
12790
127912014-03-17 Will Newton <will.newton@linaro.org>
12792
12793 * nptl/sysdeps/pthread/pthread.h: Revert previous
12794 change.
12795
12796 * sysdeps/generic/ldsodefs.h: Revert previous
12797 change.
12798
12799 * libio/genops.c: Revert previous change.
12800 * libio/libioP.h: Likewise.
12801 * stdio-common/vfprintf.c: Likewise.
12802
12803 * sysdeps/generic/math_private.h: Revert previous
12804 change.
12805
12806 * sysdeps/generic/math_private.h: Check whether
12807 HAVE_RM_CTX is defined with #ifdef rather
12808 than #if.
12809
12810 * argp/argp-fmtstream.h: Check whether
12811 __STRICT_ANSI__ is defined with #ifdef rather
12812 than #if.
12813 * argp/argp.h: Likewise.
12814
12815 * libio/genops.c: Check whether
12816 _IO_JUMPS_OFFSET is defined with #ifdef rather
12817 than #if.
12818 * libio/libioP.h: Likewise.
12819 * stdio-common/vfprintf.c: Likewise.
12820
12821 * sysdeps/generic/ldsodefs.h: Check whether
12822 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
12823 than #if.
12824
12825 * nptl/sysdeps/pthread/pthread.h: Check
12826 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
12827 its value.
12828
128292014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12830
12831 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
12832 setting O_APPEND.
12833 * libio/tst-ftell-active-handler.c (do_append_test): Add a
12834 test case.
12835
12836 [BZ #16680]
12837 * libio/fileops.c (_IO_file_open): Seek to end of file but
12838 don't cache the offset.
12839 (get_file_offset): Remove function.
12840 (do_ftell): Use cached offset when available.
12841 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
12842 don't cache the offset.
12843 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
12844 case.
12845 (do_one_test): Call it.
12846 (do_ftell_test): Fix up expected old offset for a+ mode.
12847 * libio/wfileops.c (do_ftell_wide): Used cached offset when
12848 available.
12849
12850 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
12851 up test status with function return status.
12852 (do_write_test): Likewise.
12853 (do_append_test): Likewise.
12854
12855 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
12856 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
12857 Remove.
12858
128592014-03-17 Joseph Myers <joseph@codesourcery.com>
12860
12861 * math/gen-libm-test.pl (parse_args): Handle results specified for
12862 each rounding mode separately.
12863 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
12864 tests and results from lrint_tonearest_test_data,
12865 lrint_towardzero_test_data, lrint_downward_test_data and
12866 lrint_upward_test_data.
12867 (lrint_test): Use ALL_RM_TEST.
12868 (lrint_tonearest_test_data): Remove.
12869 (lrint_test_tonearest): Likewise.
12870 (lrint_towardzero_test_data): Likewise.
12871 (lrint_test_towardzero): Likewise.
12872 (lrint_downward_test_data): Likewise.
12873 (lrint_test_downward): Likewise.
12874 (lrint_upward_test_data): Likewise.
12875 (lrint_test_upward): Likewise.
12876 (llrint_test_data): Merge in per-rounding-mode tests and results
12877 from llrint_tonearest_test_data, llrint_towardzero_test_data,
12878 llrint_downward_test_data and llrint_upward_test_data.
12879 (llrint_test): Use ALL_RM_TEST.
12880 (llrint_tonearest_test_data): Remove.
12881 (llrint_test_tonearest): Likewise.
12882 (llrint_towardzero_test_data): Likewise.
12883 (llrint_test_towardzero): Likewise.
12884 (llrint_downward_test_data): Likewise.
12885 (llrint_test_downward): Likewise.
12886 (llrint_upward_test_data): Likewise.
12887 (llrint_test_upward): Likewise.
12888 (rint_test_data): Merge in per-rounding-mode tests and results
12889 from rint_tonearest_test_data, rint_towardzero_test_data,
12890 rint_downward_test_data and rint_upward_test_data. Add
12891 per-rounding-mode results for tests not in those arrays.
12892 (rint_test): Use ALL_RM_TEST.
12893 (rint_tonearest_test_data): Remove.
12894 (rint_test_tonearest): Likewise.
12895 (rint_towardzero_test_data): Likewise.
12896 (rint_test_towardzero): Likewise.
12897 (rint_downward_test_data): Likewise.
12898 (rint_test_downward): Likewise.
12899 (rint_upward_test_data): Likewise.
12900 (rint_test_upward): Likewise.
12901 (main): Don't call removed functions.
12902
129032014-03-14 Roland McGrath <roland@hack.frob.com>
12904
12905 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
12906 "Compiled on ..." crapola. It is anti-useful.
12907
129082014-03-14 Joseph Myers <joseph@codesourcery.com>
12909
12910 * scripts/evaluate-test.sh: Handle fourth argument to determine
12911 whether test run should stop on failure.
12912 * Makeconfig (stop-on-test-failure): New variable.
12913 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
12914 $(stop-on-test-failure).
12915 * Makefile (tests): Give a summary of results from testing and
12916 exit with failure status if they include an ERROR or FAIL.
12917 (xtests): Likewise.
12918 * manual/install.texi (Configuring and compiling): Mention
12919 stop-on-test-failure=y.
12920 * INSTALL: Regenerated.
12921
129222014-03-14 Roland McGrath <roland@hack.frob.com>
12923
12924 * scripts/versionlist.awk: New file.
12925 * Makerules [$(build-shared) = yes]
12926 (postclean-generated): Add Versions.def, not Versions.def.v and
12927 Versions.def.v.i.
12928 ($(common-objpfx)Versions.def.v.i): Target removed.
12929 ($(common-objpfx)Versions.def): New target.
12930 ($(common-objpfx)Versions.all): Depend on that rather that
12931 $(common-objpfx)Versions.def.v.
12932 * Versions.def: File removed.
12933
12934 * Makeconfig (+gccwarn): Add -Wundef.
12935 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
12936 a dl-sysdep.h breaking its contract.
12937 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
12938 * include/stackinfo.h: New file.
12939 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
12940 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
12941 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
12942 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
12943 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
12944 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
12945 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12946 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12947 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12948 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12949 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12950 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
12951 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12952 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12953 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12954
129552014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12956
12957 [BZ #16707]
12958 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
12959 implementation.
12960 * math/libm-test.inc (round_test_data): Add more tests.
12961
12962 [BZ #16706]
12963 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
12964 implementation.
12965 * math/libm-test.inc (nearbyint_test_data): Add more tests.
12966
12967 [BZ #16701]
12968 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
12969 implementation.
12970 * math/libm-test.inc (ceil_test_data): Add more tests.
12971
12972 * math/libm-test.inc (trunc_test_data): Add more tests related to
12973 BZ#16414.
12974
129752014-03-14 Roland McGrath <roland@hack.frob.com>
12976
12977 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
12978 with #if rather than #ifdef.
12979 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
12980
129812014-03-14 H.J. Lu <hongjiu.lu@intel.com>
12982
12983 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
12984 first. Disable AVX-512 GCC support if assembler doesn't support
12985 it.
12986 * sysdeps/x86_64/configure: Regenerated.
12987
129882014-03-13 Carlos O'Donell <carlos@redhat.com>
12989
12990 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
12991 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
12992 (__old_pthread_attr_setstack): Likewise.
12993 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
12994 [!_STACK_GROWS_DOWN]: Likewise.
12995
129962014-03-13 Mike Frysinger <vapier@gentoo.org>
12997
12998 * config.make.in (have-bash2): Delete.
12999 * configure.ac (libc_cv_have_bash2): Delete.
13000 * configure: Regenerate.
13001 * elf/Makefile (common-ldd-rewrite): Rename to ...
13002 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
13003 (sh-ldd-rewrite): Delete.
13004 (bash-ldd-rewrite): Delete.
13005 (have-bash2): Delete checks.
13006 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
13007 ldd-rewrite.
13008
13009 * config.make.in (have-ksh): Delete.
13010 (KSH): Delete.
13011 * configure.ac (libc_cv_have_ksh): Delete.
13012 * configure: Regenerate.
13013
13014 * elf/Makefile: Delete $(have-ksh) check.
13015 ($(objpfx)sotruss): Change KSH to BASH.
13016 * elf/sotruss.ksh: Rename to ...
13017 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
13018 function style to match POSIX. Drop ksh vim mode setting.
13019
13020 * manual/time.texi (Specifying the Time Zone with TZ): Change
13021 Tuesday to Thursday.
13022
13023 * debug/tst-longjmp_chk2.c: Update header comment.
13024 (stackoverflow_handler): Add comment. Call assert on pass value.
13025
130262014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
13027
13028 [BZ #16194]
13029 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
13030 (HAVE_AVX512_ASM_SUPPORT): Likewise.
13031 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
13032 (La_x86_64_vector): Add zmm.
13033 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
13034 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
13035 ($(objpfx)tst-audit10): New target.
13036 ($(objpfx)tst-audit10.out): Likewise.
13037 (tst-audit10-ENV): New.
13038 (AVX512-CFLAGS): Likewise.
13039 (CFLAGS-tst-audit10.c): Likewise.
13040 (CFLAGS-tst-auditmod10a.c): Likewise.
13041 (CFLAGS-tst-auditmod10b.c): Likewise.
13042 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
13043 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
13044 * sysdeps/x86_64/configure: Regenerated.
13045 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
13046 AVX-512 zmm register support.
13047 (_dl_x86_64_save_sse): Likewise.
13048 (_dl_x86_64_restore_sse): Likewise.
13049 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
13050 size vector registers.
13051 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
13052 (ZMM_SIZE): Likewise.
13053 * sysdeps/x86_64/tst-audit10.c: New file.
13054 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
13055 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
13056
130572014-03-13 Roland McGrath <roland@hack.frob.com>
13058
13059 * configure.ac (HAVE_EHDR_START): New check.
13060 * configure: Regenerated.
13061 * config.h.in (HAVE_EHDR_START): New #undef.
13062 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
13063 assuming the lowest-addressed segment maps the start of the file.
13064
130652014-03-13 Joseph Myers <joseph@codesourcery.com>
13066
13067 * INSTALL: Regenerated.
13068
130692014-03-13 Will Newton <will.newton@linaro.org>
13070
13071 * manual/setjmp.texi (System V contexts): Improve
13072 clarity and grammar of documentation.
13073
130742014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
13075
13076 [BZ #16381]
13077 * elf/Makefile (tests): Add tst-pie2.
13078 (tests-pie): Add tst-pie2.
13079 * elf/tst-pie2.c: New file.
13080 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
13081 for ET_EXEC.
13082 * elf/rtld.c (map_doit): Load executable as lt_executable.
13083 (dl_main): Likewise.
13084
130852014-03-12 Joseph Myers <joseph@codesourcery.com>
13086
13087 [BZ #16642]
13088 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13089 (__ASSUME_PSELECT): Undefine.
13090
130912014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13092
13093 [BZ #16689]
13094 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
13095 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
13096 static build.
13097 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
13098 selector for static builds.
13099
131002014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13101
13102 [BZ #16695]
13103 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
13104 key in the buffer.
13105
131062014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13107
13108 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
13109 IFUNC selector for static builds.
13110
131112014-03-11 Joseph Myers <joseph@codesourcery.com>
13112
13113 * sysdeps/mips/math_private.h [__mips_hard_float]
13114 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
13115 libc_feresetround_mips_ctx.
13116 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
13117 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
13118 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
13119
13120 [BZ #16677]
13121 * math/s_nextafter.c (__nextafter): Do not return value from
13122 overflowing computation.
13123 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
13124 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
13125 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
13126 Likewise.
13127 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13128 Likewise.
13129 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
13130 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
13131
131322014-03-11 Roland McGrath <roland@hack.frob.com>
13133
13134 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
13135 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
13136 Move sfi_sp use from the load-multiple (that no longer sets sp) to
13137 the new mov targetting sp.
13138
131392014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13140
13141 [BZ #16683]
13142 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
13143 Define it for static builds as well.
13144 (NO_BZERO_IMPL): Likewise.
13145
131462014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13147
13148 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
13149 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
13150 multiarch strspn for PPC64.
13151 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
13152 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
13153 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13154 (__libc_ifunc_impl_list): Likewise.
13155 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
13156 multiarch optimizations
13157 * string/strspn.c (strspn): Using macro to redefine symbol name.
13158
131592014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13160 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13161
13162 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
13163 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
13164 multiarch strncat for PPC64.
13165 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
13166 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
13167 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13168 (__libc_ifunc_impl_list): Likewise.
13169 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
13170 multiarch optimizations
13171
131722014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13173
13174 [BZ #16639]
13175 * nscd/nscd.service: Make service type forking.
13176
131772014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13178
13179 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
13180 sign in non default rounding modes.
13181 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13182
131832014-03-08 Joseph Myers <joseph@codesourcery.com>
13184
13185 * math/libm-test.inc (ALL_RM_TEST): New macro.
13186 (ceil_test): Use ALL_RM_TEST.
13187 (cimag_test): Likewise.
13188 (conj_test): Likewise.
13189 (copysign_test): Likewise.
13190 (cproj_test): Likewise.
13191 (creal_test): Likewise.
13192 (fabs_test): Likewise.
13193 (floor_test): Likewise.
13194 (fmax_test): Likewise.
13195 (fmin_test): Likewise.
13196 (fmod_test): Likewise.
13197 (fpclassify_test): Likewise.
13198 (frexp_test): Likewise.
13199 (ilogb_test): Likewise.
13200 (isfinite_test): Likewise.
13201 (finite_test): Likewise.
13202 (isgreater_test): Likewise.
13203 (isgreaterequal_test): Likewise.
13204 (isinf_test): Likewise.
13205 (isless_test): Likewise.
13206 (islessequal_test): Likewise.
13207 (islessgreater_test): Likewise.
13208 (isnan_test): Likewise.
13209 (isnormal_test): Likewise.
13210 (issignaling_test): Likewise.
13211 (isunordered_test): Likewise.
13212 (logb_test): Likewise.
13213 (logb_downward_test_data): Remove.
13214 (logb_test_downward): Likewise.
13215 (lround_test): Use ALL_RM_TEST.
13216 (llround_test): Likewise.
13217 (modf_test): Likewise.
13218 (nexttoward_test): Likewise.
13219 (remainder_test): Likewise.
13220 (drem_test): Likewise.
13221 (remainder_tonearest_test_data): Likewise.
13222 (remainder_test_tonearest): Likewise.
13223 (drem_test_tonearest): Likewise.
13224 (remainder_towardzero_test_data): Likewise.
13225 (remainder_test_towardzero): Likewise.
13226 (drem_test_towardzero): Likewise.
13227 (remainder_downward_test_data): Likewise.
13228 (remainder_test_downward): Likewise.
13229 (drem_test_downward): Likewise.
13230 (remainder_upward_test_data): Likewise.
13231 (remainder_test_upward): Likewise.
13232 (drem_test_upward): Likewise.
13233 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
13234 (round_test): Use ALL_RM_TEST.
13235 (signbit_test): Likewise.
13236 (trunc_test): Likewise.
13237 (significand_test): Likewise.
13238 (main): Don't call removed functions.
13239
132402014-03-07 Joseph Myers <joseph@codesourcery.com>
13241
13242 [BZ #16674]
13243 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
13244 || __USE_XOPEN2K8].
13245 (ILL_ILLOPN): Likewise.
13246 (ILL_ILLADR): Likewise.
13247 (ILL_ILLTRP): Likewise.
13248 (ILL_PRVOPC): Likewise.
13249 (ILL_PRVREG): Likewise.
13250 (ILL_COPROC): Likewise.
13251 (ILL_BADSTK): Likewise.
13252 (FPE_INTDIV): Likewise.
13253 (FPE_INTOVF): Likewise.
13254 (FPE_FLTDIV): Likewise.
13255 (FPE_FLTOVF): Likewise.
13256 (FPE_FLTUND): Likewise.
13257 (FPE_FLTRES): Likewise.
13258 (FPE_FLTINV): Likewise.
13259 (FPE_FLTSUB): Likewise.
13260 (SEGV_MAPERR): Likewise.
13261 (SEGV_ACCERR): Likewise.
13262 (BUS_ADRALN): Likewise.
13263 (BUS_ADRERR): Likewise.
13264 (BUS_OBJERR): Likewise.
13265 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13266 (TRAP_TRACE): Likewise.
13267 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13268 __USE_XOPEN2K8].
13269 (CLD_KILLED): Likewise.
13270 (CLD_DUMPED): Likewise.
13271 (CLD_TRAPPED): Likewise.
13272 (CLD_STOPPED): Likewise.
13273 (CLD_CONTINUED): Likewise.
13274 (POLL_IN): Likewise.
13275 (POLL_OUT): Likewise.
13276 (POLL_MSG): Likewise.
13277 (POLL_ERR): Likewise.
13278 (POLL_PRI): Likewise.
13279 (POLL_HUP): Likewise.
13280 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
13281 Likewise.
13282 (ILL_ILLOPN): Likewise.
13283 (ILL_ILLADR): Likewise.
13284 (ILL_ILLTRP): Likewise.
13285 (ILL_PRVOPC): Likewise.
13286 (ILL_PRVREG): Likewise.
13287 (ILL_COPROC): Likewise.
13288 (ILL_BADSTK): Likewise.
13289 (FPE_INTDIV): Likewise.
13290 (FPE_INTOVF): Likewise.
13291 (FPE_FLTDIV): Likewise.
13292 (FPE_FLTOVF): Likewise.
13293 (FPE_FLTUND): Likewise.
13294 (FPE_FLTRES): Likewise.
13295 (FPE_FLTINV): Likewise.
13296 (FPE_FLTSUB): Likewise.
13297 (SEGV_MAPERR): Likewise.
13298 (SEGV_ACCERR): Likewise.
13299 (BUS_ADRALN): Likewise.
13300 (BUS_ADRERR): Likewise.
13301 (BUS_OBJERR): Likewise.
13302 (BUS_MCEERR_AR): Likewise.
13303 (BUS_MCEERR_AO): Likewise.
13304 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13305 (TRAP_TRACE): Likewise.
13306 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13307 __USE_XOPEN2K8].
13308 (CLD_KILLED): Likewise.
13309 (CLD_DUMPED): Likewise.
13310 (CLD_TRAPPED): Likewise.
13311 (CLD_STOPPED): Likewise.
13312 (CLD_CONTINUED): Likewise.
13313 (POLL_IN): Likewise.
13314 (POLL_OUT): Likewise.
13315 (POLL_MSG): Likewise.
13316 (POLL_ERR): Likewise.
13317 (POLL_PRI): Likewise.
13318 (POLL_HUP): Likewise.
13319 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
13320 (ILL_ILLOPN): Likewise.
13321 (ILL_ILLADR): Likewise.
13322 (ILL_ILLTRP): Likewise.
13323 (ILL_PRVOPC): Likewise.
13324 (ILL_PRVREG): Likewise.
13325 (ILL_COPROC): Likewise.
13326 (ILL_BADSTK): Likewise.
13327 (FPE_INTDIV): Likewise.
13328 (FPE_INTOVF): Likewise.
13329 (FPE_FLTDIV): Likewise.
13330 (FPE_FLTOVF): Likewise.
13331 (FPE_FLTUND): Likewise.
13332 (FPE_FLTRES): Likewise.
13333 (FPE_FLTINV): Likewise.
13334 (FPE_FLTSUB): Likewise.
13335 (SEGV_MAPERR): Likewise.
13336 (SEGV_ACCERR): Likewise.
13337 (BUS_ADRALN): Likewise.
13338 (BUS_ADRERR): Likewise.
13339 (BUS_OBJERR): Likewise.
13340 (BUS_MCEERR_AR): Likewise.
13341 (BUS_MCEERR_AO): Likewise.
13342 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13343 (TRAP_TRACE): Likewise.
13344 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13345 __USE_XOPEN2K8].
13346 (CLD_KILLED): Likewise.
13347 (CLD_DUMPED): Likewise.
13348 (CLD_TRAPPED): Likewise.
13349 (CLD_STOPPED): Likewise.
13350 (CLD_CONTINUED): Likewise.
13351 (POLL_IN): Likewise.
13352 (POLL_OUT): Likewise.
13353 (POLL_MSG): Likewise.
13354 (POLL_ERR): Likewise.
13355 (POLL_PRI): Likewise.
13356 (POLL_HUP): Likewise.
13357 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
13358 Likewise.
13359 (ILL_ILLOPN): Likewise.
13360 (ILL_ILLADR): Likewise.
13361 (ILL_ILLTRP): Likewise.
13362 (ILL_PRVOPC): Likewise.
13363 (ILL_PRVREG): Likewise.
13364 (ILL_COPROC): Likewise.
13365 (ILL_BADSTK): Likewise.
13366 (ILL_BADIADDR): Likewise.
13367 (ILL_BREAK): Likewise.
13368 (FPE_INTDIV): Likewise.
13369 (FPE_INTOVF): Likewise.
13370 (FPE_FLTDIV): Likewise.
13371 (FPE_FLTOVF): Likewise.
13372 (FPE_FLTUND): Likewise.
13373 (FPE_FLTRES): Likewise.
13374 (FPE_FLTINV): Likewise.
13375 (FPE_FLTSUB): Likewise.
13376 (FPE_DECOVF): Likewise.
13377 (FPE_DECDIV): Likewise.
13378 (FPE_DECERR): Likewise.
13379 (FPE_INVASC): Likewise.
13380 (FPE_INVDEC): Likewise.
13381 (SEGV_MAPERR): Likewise.
13382 (SEGV_ACCERR): Likewise.
13383 (SEGV_PSTKOVF): Likewise.
13384 (BUS_ADRALN): Likewise.
13385 (BUS_ADRERR): Likewise.
13386 (BUS_OBJERR): Likewise.
13387 (BUS_MCEERR_AR): Likewise.
13388 (BUS_MCEERR_AO): Likewise.
13389 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13390 (TRAP_TRACE): Likewise.
13391 (TRAP_BRANCH): Likewise.
13392 (TRAP_HWBKPT): Likewise.
13393 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13394 __USE_XOPEN2K8].
13395 (CLD_KILLED): Likewise.
13396 (CLD_DUMPED): Likewise.
13397 (CLD_TRAPPED): Likewise.
13398 (CLD_STOPPED): Likewise.
13399 (CLD_CONTINUED): Likewise.
13400 (POLL_IN): Likewise.
13401 (POLL_OUT): Likewise.
13402 (POLL_MSG): Likewise.
13403 (POLL_ERR): Likewise.
13404 (POLL_PRI): Likewise.
13405 (POLL_HUP): Likewise.
13406 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
13407 (ILL_ILLOPN): Likewise.
13408 (ILL_ILLADR): Likewise.
13409 (ILL_ILLTRP): Likewise.
13410 (ILL_PRVOPC): Likewise.
13411 (ILL_PRVREG): Likewise.
13412 (ILL_COPROC): Likewise.
13413 (ILL_BADSTK): Likewise.
13414 (FPE_INTDIV): Likewise.
13415 (FPE_INTOVF): Likewise.
13416 (FPE_FLTDIV): Likewise.
13417 (FPE_FLTOVF): Likewise.
13418 (FPE_FLTUND): Likewise.
13419 (FPE_FLTRES): Likewise.
13420 (FPE_FLTINV): Likewise.
13421 (FPE_FLTSUB): Likewise.
13422 (SEGV_MAPERR): Likewise.
13423 (SEGV_ACCERR): Likewise.
13424 (BUS_ADRALN): Likewise.
13425 (BUS_ADRERR): Likewise.
13426 (BUS_OBJERR): Likewise.
13427 (BUS_MCEERR_AR): Likewise.
13428 (BUS_MCEERR_AO): Likewise.
13429 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13430 (TRAP_TRACE): Likewise.
13431 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13432 __USE_XOPEN2K8].
13433 (CLD_KILLED): Likewise.
13434 (CLD_DUMPED): Likewise.
13435 (CLD_TRAPPED): Likewise.
13436 (CLD_STOPPED): Likewise.
13437 (CLD_CONTINUED): Likewise.
13438 (POLL_IN): Likewise.
13439 (POLL_OUT): Likewise.
13440 (POLL_MSG): Likewise.
13441 (POLL_ERR): Likewise.
13442 (POLL_PRI): Likewise.
13443 (POLL_HUP): Likewise.
13444 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
13445 (ILL_ILLOPN): Likewise.
13446 (ILL_ILLADR): Likewise.
13447 (ILL_ILLTRP): Likewise.
13448 (ILL_PRVOPC): Likewise.
13449 (ILL_PRVREG): Likewise.
13450 (ILL_COPROC): Likewise.
13451 (ILL_BADSTK): Likewise.
13452 (FPE_INTDIV): Likewise.
13453 (FPE_INTOVF): Likewise.
13454 (FPE_FLTDIV): Likewise.
13455 (FPE_FLTOVF): Likewise.
13456 (FPE_FLTUND): Likewise.
13457 (FPE_FLTRES): Likewise.
13458 (FPE_FLTINV): Likewise.
13459 (FPE_FLTSUB): Likewise.
13460 (SEGV_MAPERR): Likewise.
13461 (SEGV_ACCERR): Likewise.
13462 (BUS_ADRALN): Likewise.
13463 (BUS_ADRERR): Likewise.
13464 (BUS_OBJERR): Likewise.
13465 (BUS_MCEERR_AR): Likewise.
13466 (BUS_MCEERR_AO): Likewise.
13467 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13468 (TRAP_TRACE): Likewise.
13469 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13470 __USE_XOPEN2K8].
13471 (CLD_KILLED): Likewise.
13472 (CLD_DUMPED): Likewise.
13473 (CLD_TRAPPED): Likewise.
13474 (CLD_STOPPED): Likewise.
13475 (CLD_CONTINUED): Likewise.
13476 (POLL_IN): Likewise.
13477 (POLL_OUT): Likewise.
13478 (POLL_MSG): Likewise.
13479 (POLL_ERR): Likewise.
13480 (POLL_PRI): Likewise.
13481 (POLL_HUP): Likewise.
13482 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
13483 (ILL_ILLOPN): Likewise.
13484 (ILL_ILLADR): Likewise.
13485 (ILL_ILLTRP): Likewise.
13486 (ILL_PRVOPC): Likewise.
13487 (ILL_PRVREG): Likewise.
13488 (ILL_COPROC): Likewise.
13489 (ILL_BADSTK): Likewise.
13490 (FPE_INTDIV): Likewise.
13491 (FPE_INTOVF): Likewise.
13492 (FPE_FLTDIV): Likewise.
13493 (FPE_FLTOVF): Likewise.
13494 (FPE_FLTUND): Likewise.
13495 (FPE_FLTRES): Likewise.
13496 (FPE_FLTINV): Likewise.
13497 (FPE_FLTSUB): Likewise.
13498 (SEGV_MAPERR): Likewise.
13499 (SEGV_ACCERR): Likewise.
13500 (BUS_ADRALN): Likewise.
13501 (BUS_ADRERR): Likewise.
13502 (BUS_OBJERR): Likewise.
13503 (BUS_MCEERR_AR): Likewise.
13504 (BUS_MCEERR_AO): Likewise.
13505 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13506 (TRAP_TRACE): Likewise.
13507 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13508 __USE_XOPEN2K8].
13509 (CLD_KILLED): Likewise.
13510 (CLD_DUMPED): Likewise.
13511 (CLD_TRAPPED): Likewise.
13512 (CLD_STOPPED): Likewise.
13513 (CLD_CONTINUED): Likewise.
13514 (POLL_IN): Likewise.
13515 (POLL_OUT): Likewise.
13516 (POLL_MSG): Likewise.
13517 (POLL_ERR): Likewise.
13518 (POLL_PRI): Likewise.
13519 (POLL_HUP): Likewise.
13520 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
13521 (ILL_ILLOPN): Likewise.
13522 (ILL_ILLADR): Likewise.
13523 (ILL_ILLTRP): Likewise.
13524 (ILL_PRVOPC): Likewise.
13525 (ILL_PRVREG): Likewise.
13526 (ILL_COPROC): Likewise.
13527 (ILL_BADSTK): Likewise.
13528 (ILL_DBLFLT): Likewise.
13529 (ILL_HARDWALL): Likewise.
13530 (FPE_INTDIV): Likewise.
13531 (FPE_INTOVF): Likewise.
13532 (FPE_FLTDIV): Likewise.
13533 (FPE_FLTOVF): Likewise.
13534 (FPE_FLTUND): Likewise.
13535 (FPE_FLTRES): Likewise.
13536 (FPE_FLTINV): Likewise.
13537 (FPE_FLTSUB): Likewise.
13538 (SEGV_MAPERR): Likewise.
13539 (SEGV_ACCERR): Likewise.
13540 (BUS_ADRALN): Likewise.
13541 (BUS_ADRERR): Likewise.
13542 (BUS_OBJERR): Likewise.
13543 (BUS_MCEERR_AR): Likewise.
13544 (BUS_MCEERR_AO): Likewise.
13545 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13546 (TRAP_TRACE): Likewise.
13547 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13548 __USE_XOPEN2K8].
13549 (CLD_KILLED): Likewise.
13550 (CLD_DUMPED): Likewise.
13551 (CLD_TRAPPED): Likewise.
13552 (CLD_STOPPED): Likewise.
13553 (CLD_CONTINUED): Likewise.
13554 (POLL_IN): Likewise.
13555 (POLL_OUT): Likewise.
13556 (POLL_MSG): Likewise.
13557 (POLL_ERR): Likewise.
13558 (POLL_PRI): Likewise.
13559 (POLL_HUP): Likewise.
13560 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
13561 (ILL_ILLOPN): Likewise.
13562 (ILL_ILLADR): Likewise.
13563 (ILL_ILLTRP): Likewise.
13564 (ILL_PRVOPC): Likewise.
13565 (ILL_PRVREG): Likewise.
13566 (ILL_COPROC): Likewise.
13567 (ILL_BADSTK): Likewise.
13568 (FPE_INTDIV): Likewise.
13569 (FPE_INTOVF): Likewise.
13570 (FPE_FLTDIV): Likewise.
13571 (FPE_FLTOVF): Likewise.
13572 (FPE_FLTUND): Likewise.
13573 (FPE_FLTRES): Likewise.
13574 (FPE_FLTINV): Likewise.
13575 (FPE_FLTSUB): Likewise.
13576 (SEGV_MAPERR): Likewise.
13577 (SEGV_ACCERR): Likewise.
13578 (BUS_ADRALN): Likewise.
13579 (BUS_ADRERR): Likewise.
13580 (BUS_OBJERR): Likewise.
13581 (BUS_MCEERR_AR): Likewise.
13582 (BUS_MCEERR_AO): Likewise.
13583 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13584 (TRAP_TRACE): Likewise.
13585 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13586 __USE_XOPEN2K8].
13587 (CLD_KILLED): Likewise.
13588 (CLD_DUMPED): Likewise.
13589 (CLD_TRAPPED): Likewise.
13590 (CLD_STOPPED): Likewise.
13591 (CLD_CONTINUED): Likewise.
13592 (POLL_IN): Likewise.
13593 (POLL_OUT): Likewise.
13594 (POLL_MSG): Likewise.
13595 (POLL_ERR): Likewise.
13596 (POLL_PRI): Likewise.
13597 (POLL_HUP): Likewise.
13598 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
13599 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13600
13601 [BZ #16670]
13602 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
13603 before #include of <time.h>.
13604 [!__USE_XOPEN2K] (__need_timespec): Likewise.
13605 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
13606 (test-xfail-UNIX98/sched.h/conform): Likewise.
13607
136082014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
13609
13610 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
13611 error absence of trapping exception support.
13612 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13613
136142014-03-07 Joseph Myers <joseph@codesourcery.com>
13615
13616 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
13617 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
13618 * timezone/Makefile (testdata): Move definition above include of
13619 Rules.
13620 (test-zones): New variable.
13621 (tests-special): Add zone files.
13622 (build-testdata): Use $(evaluate-test).
13623
13624 * elf/Makefile (tests-special): Rename tests to end with .out.
13625 ($(objpfx)noload-mem): Likewise.
13626 ($(objpfx)tst-leaks1-mem): Likewise.
13627 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
13628 * iconv/Makefile (xtests-special): Change test-iconvconfig to
13629 $(objpfx)test-iconvconfig.out.
13630 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
13631 set -e inside subshell and redirect output to file.
13632 * iconvdata/Makefile (generated): Rename tests to end with .out.
13633 Correct type.
13634 (tests-special): Rename tests to end with .out.
13635 ($(objpfx)mtrace-tst-loading): Likewise.
13636 * intl/Makefile (generated): Likewise.
13637 (tests-special): Likewise.
13638 ($(objpfx)mtrace-tst-gettext): Likewise.
13639 * misc/Makefile (generated): Likewise.
13640 (tests-special): Likewise.
13641 ($(objpfx)tst-error1-mem): Likewise.
13642 * nptl/Makefile (tests-special): Likewise.
13643 ($(objpfx)tst-stack3-mem): Likewise.
13644 (generated): Likewise.
13645 * posix/Makefile (generated): Likewise.
13646 (tests-special): Likewise.
13647 (xtests-special): Likewise.
13648 ($(objpfx)tst-fnmatch-mem): Likewise.
13649 ($(objpfx)bug-regex2-mem): Likewise.
13650 ($(objpfx)bug-regex14-mem): Likewise.
13651 ($(objpfx)bug-regex21-mem): Likewise.
13652 ($(objpfx)bug-regex31-mem): Likewise.
13653 ($(objpfx)tst-vfork3-mem): Likewise.
13654 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13655 ($(objpfx)tst-pcre-mem): Likewise.
13656 ($(objpfx)tst-boost-mem): Likewise.
13657 ($(objpfx)bug-ga2-mem): Likewise.
13658 ($(objpfx)bug-glob2-mem): Likewise.
13659 * resolv/Makefile (generate): Likewise.
13660 (tests-special): Likewise.
13661 (xtests-special): Likewise.
13662 (generated): Likewise.
13663 ($(objpfx)mtrace-tst-leaks): Likewise.
13664 ($(objpfx)mtrace-tst-leaks2): Likewise.
13665
13666 * scripts/merge-test-results.sh: New file.
13667 * Makefile (tests-special-notdir): New variable.
13668 (tests): Run merge-test-results.sh.
13669 (xtests): Likewise.
13670 * Rules (tests-special-notdir): New variable.
13671 (xtests-special-notdir): Likewise.
13672 (tests): Run merge-test-results.sh
13673 (xtests): Likewise.
13674
13675 * Makeconfig (test-xfail-name): New variable.
13676 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
13677 compute variable name for expected failures.
13678 * conform/Makefile (conformtest-headers-data): New variable.
13679 (conformtest-standards): Likewise.
13680 (conformtest-headers-ISO): Likewise.
13681 (conformtest-headers-ISO99): Likewise.
13682 (conformtest-headers-ISO11): Likewise.
13683 (conformtest-headers-POSIX): Likewise.
13684 (conformtest-headers-XPG3): Likewise.
13685 (conformtest-headers-XPG4): Likewise.
13686 (conformtest-headers-UNIX98): Likewise.
13687 (conformtest-headers-XOPEN2K): Likewise.
13688 (conformtest-headers-POSIX2008): Likewise.
13689 (conformtest-headers-XOPEN2K8): Likewise.
13690 (conformtest-header-list-base): Likewise.
13691 (conformtest-header-list-tests): Likewise.
13692 (conformtest-header-base): Likewise.
13693 (conformtest-header-tests): Likewise.
13694 (tests-special): Add $(conformtest-header-list-tests). If
13695 [$(fast-check) && !$(cross-compiling)], add
13696 $(conformtest-header-tests) instead of
13697 $(objpfx)run-conformtest.out.
13698 (generated): Add $(conformtest-header-list-base). If
13699 [$(fast-check) && !$(cross-compiling)], add
13700 $(conformtest-header-base). Remove previous setting.
13701 ($(conformtest-header-list-tests)): New target.
13702 (test-xfail-run-conformtest): Remove variable.
13703 ($(objpfx)run-conformtest.out): Remove target.
13704 (test-xfail-ISO11/complex.h/conform): New variable.
13705 (test-xfail-ISO11/stdalign.h/conform): Likewise.
13706 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
13707 (test-xfail-XPG3/varargs.h/conform): Likewise.
13708 (test-xfail-XPG4/varargs.h/conform): Likewise.
13709 (test-xfail-UNIX98/varargs.h/conform): Likewise.
13710 (test-xfail-XPG4/ndbm.h/conform): Likewise.
13711 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
13712 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
13713 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
13714 (test-xfail-XPG3/fcntl.h/conform): Likewise.
13715 (test-xfail-XPG3/ftw.h/conform): Likewise.
13716 (test-xfail-XPG3/grp.h/conform): Likewise.
13717 (test-xfail-XPG3/langinfo.h/conform): Likewise.
13718 (test-xfail-XPG3/limits.h/conform): Likewise.
13719 (test-xfail-XPG3/pwd.h/conform): Likewise.
13720 (test-xfail-XPG3/search.h/conform): Likewise.
13721 (test-xfail-XPG3/signal.h/conform): Likewise.
13722 (test-xfail-XPG3/stdio.h/conform): Likewise.
13723 (test-xfail-XPG3/stdlib.h/conform): Likewise.
13724 (test-xfail-XPG3/string.h/conform): Likewise.
13725 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
13726 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
13727 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
13728 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
13729 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
13730 (test-xfail-XPG3/sys/types.h/conform): Likewise.
13731 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
13732 (test-xfail-XPG3/termios.h/conform): Likewise.
13733 (test-xfail-XPG3/time.h/conform): Likewise.
13734 (test-xfail-XPG3/unistd.h/conform): Likewise.
13735 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
13736 (test-xfail-XPG4/fcntl.h/conform): Likewise.
13737 (test-xfail-XPG4/langinfo.h/conform): Likewise.
13738 (test-xfail-XPG4/netdb.h/conform): Likewise.
13739 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
13740 (test-xfail-XPG4/signal.h/conform): Likewise.
13741 (test-xfail-XPG4/stdio.h/conform): Likewise.
13742 (test-xfail-XPG4/stdlib.h/conform): Likewise.
13743 (test-xfail-XPG4/stropts.h/conform): Likewise.
13744 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
13745 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
13746 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
13747 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
13748 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
13749 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
13750 (test-xfail-XPG4/sys/time.h/conform): Likewise.
13751 (test-xfail-XPG4/sys/types.h/conform): Likewise.
13752 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
13753 (test-xfail-XPG4/termios.h/conform): Likewise.
13754 (test-xfail-XPG4/ucontext.h/conform): Likewise.
13755 (test-xfail-XPG4/unistd.h/conform): Likewise.
13756 (test-xfail-XPG4/utmpx.h/conform): Likewise.
13757 (test-xfail-POSIX/sched.h/conform): Likewise.
13758 (test-xfail-POSIX/signal.h/conform): Likewise.
13759 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13760 (test-xfail-POSIX/tar.h/conform): Likewise.
13761 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
13762 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
13763 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
13764 (test-xfail-UNIX98/netdb.h/conform): Likewise.
13765 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
13766 (test-xfail-UNIX98/sched.h/conform): Likewise.
13767 (test-xfail-UNIX98/signal.h/conform): Likewise.
13768 (test-xfail-UNIX98/stdio.h/conform): Likewise.
13769 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
13770 (test-xfail-UNIX98/stropts.h/conform): Likewise.
13771 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
13772 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
13773 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
13774 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
13775 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
13776 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
13777 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
13778 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
13779 (test-xfail-UNIX98/unistd.h/conform): Likewise.
13780 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
13781 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
13782 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
13783 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
13784 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
13785 (test-xfail-XOPEN2K/math.h/conform): Likewise.
13786 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
13787 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
13788 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
13789 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
13790 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
13791 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
13792 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
13793 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
13794 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
13795 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
13796 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
13797 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
13798 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
13799 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
13800 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
13801 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
13802 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
13803 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
13804 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
13805 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
13806 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
13807 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
13808 (test-xfail-POSIX2008/signal.h/conform): Likewise.
13809 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
13810 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
13811 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
13812 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
13813 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
13814 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
13815 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
13816 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
13817 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
13818 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
13819 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
13820 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
13821 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
13822 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
13823 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
13824 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
13825 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
13826 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
13827 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
13828 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
13829 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
13830 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
13831 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
13832 (conformtest-cc-flags): Likewise.
13833 ($(conformtest-header-tests): New target.
13834 * conform/check-header-lists.sh: New file.
13835 * conform/run-conformtest.sh: Remove.
13836
13837 * conform/conformtest.pl: Allow ' and \ in values given for
13838 constants.
13839 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
13840 inclusion.
13841 [POSIX] (sys/types.h): Likewise.
13842 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
13843 inclusion.
13844 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
13845 inclusion.
13846 * conform/data/signal.h-data (SIGIO): Remove expectation.
13847 [XPG3] (SIGBUS): Do not expect.
13848 [POSIX || XPG3] (SIGPOLL): Likewise.
13849 [POSIX || XPG3] (SIGPROF): Likewise.
13850 [POSIX || XPG3] (SIGSYS): Likewise.
13851 [XPG3] (SIGTRAP): Likewise.
13852 [POSIX || XPG3] (SIGURG): Likewise.
13853 [POSIX || XPG3] (SIGVTALRM): Likewise.
13854 [POSIX || XPG3] (SIGXCPU): Likewise.
13855 [POSIX || XPG3] (SIGXFSZ): Likewise.
13856 [POSIX] (SA_SIGINFO): Expect.
13857 [XPG3] (siginfo_t): Do not expect type or contents.
13858 [POSIX] (si_pid): Do not expect element.
13859 [POSIX] (si_uid): Likewise.
13860 [POSIX] (si_addr): Likewise.
13861 [POSIX] (si_status): Likewise.
13862 [POSIX] (si_band): Likewise.
13863 [XPG4] (si_value): Likewise.
13864 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
13865 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
13866 [POSIX || XPG3] (ILL_ILLADR): Likewise.
13867 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
13868 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
13869 [POSIX || XPG3] (ILL_PRVREG): Likewise.
13870 [POSIX || XPG3] (ILL_COPROC): Likewise.
13871 [POSIX || XPG3] (ILL_BADSTK): Likewise.
13872 [POSIX || XPG3] (FPE_INTDIV): Likewise.
13873 [POSIX || XPG3] (FPE_INTOVF): Likewise.
13874 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
13875 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
13876 [POSIX || XPG3] (FPE_FLTUND): Likewise.
13877 [POSIX || XPG3] (FPE_FLTRES): Likewise.
13878 [POSIX || XPG3] (FPE_FLTINV): Likewise.
13879 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
13880 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
13881 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
13882 [POSIX || XPG3] (BUS_ADRALN): Likewise.
13883 [POSIX || XPG3] (BUS_ADRERR): Likewise.
13884 [POSIX || XPG3] (BUS_OBJERR): Likewise.
13885 [POSIX || XPG3] (CLD_EXITED): Likewise.
13886 [POSIX || XPG3] (CLD_KILLED): Likewise.
13887 [POSIX || XPG3] (CLD_DUMPED): Likewise.
13888 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
13889 [POSIX || XPG3] (CLD_STOPPED): Likewise.
13890 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
13891 [POSIX || XPG3] (POLL_IN): Likewise.
13892 [POSIX || XPG3] (POLL_OUT): Likewise.
13893 [POSIX || XPG3] (POLL_MSG): Likewise.
13894 [POSIX || XPG3] (POLL_ERR): Likewise.
13895 [POSIX || XPG3] (POLL_PRI): Likewise.
13896 [POSIX || XPG3] (POLL_HUP): Likewise.
13897 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
13898 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
13899 (SIG*): Do not allow.
13900 [XPG3] (si_*): Likewise.
13901 [XPG3] (SI_*): Likewise.
13902 [XPG3 || XPG4] (sigev_*): Likewise.
13903 [XPG3 || XPG4] (SIGEV_*): Likewise.
13904 [XPG3 || XPG4] (sival_*): Likewise.
13905 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
13906 [POSIX || XPG3] (BUS_*): Likewise.
13907 [POSIX || XPG3] (CLD_*): Likewise.
13908 [POSIX || XPG3] (FPE_*): Likewise.
13909 [POSIX || XPG3] (ILL_*): Likewise.
13910 [POSIX || XPG3] (POLL_*): Likewise.
13911 [POSIX || XPG3] (SEGV_*): Likewise.
13912 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
13913 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
13914 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
13915 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
13916 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
13917 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
13918 Specify type and value.
13919 (TVERSLEN): Likewise.
13920 (REGTYPE): Likewise.
13921 (AREGTYPE): Likewise.
13922 (LNKTYPE): Likewise.
13923 (SYMTYPE): Likewise.
13924 (CHRTYPE): Likewise.
13925 (BLKTYPE): Likewise.
13926 (DIRTYPE): Likewise.
13927 (FIFOTYPE): Likewise.
13928 (CONTTYPE): Likewise.
13929 (TSUID): Likewise.
13930 (TSGID): Likewise.
13931 (TSVTX): Likewise.
13932 (TUREAD): Likewise.
13933 (TUWRITE): Likewise.
13934 (TUEXEC): Likewise.
13935 (TGREAD): Likewise.
13936 (TGWRITE): Likewise.
13937 (TGEXEC): Likewise.
13938 (TOREAD): Likewise.
13939 (TOWRITE): Likewise.
13940 (TOEXEC): Likewise.
13941 [POSIX] (TSVTX): Expect constant.
13942
139432014-03-06 Joseph Myers <joseph@codesourcery.com>
13944
13945 * Makefile (tests): Change dependencies to ....
13946 (tests-special): ... additions to this variable.
13947 (tests): Depend on $(tests-special).
13948 * Makerules (check-abi-list): New variable.
13949 (check-abi): Depend on $(check-abi-list).
13950 [$(subdir) = elf] (tests-special): Add
13951 $(objpfx)check-abi-libc.out.
13952 [$(build-shared) = yes && subdir] (tests-special): Add
13953 $(check-abi-list).
13954 [$(build-shared) = yes && subdir] (tests): Do not depend on
13955 check-abi.
13956 * Rules (tests): Depend on $(tests-special).
13957 (xtests): Depend on $(xtests-special).
13958 * catgets/Makefile (tests): Change dependencies to ....
13959 (tests-special): ... additions to this variable.
13960 * conform/Makefile (tests): Change dependencies to ....
13961 (tests-special): ... additions to this variable.
13962 * elf/Makefile (tests): Change dependencies to ....
13963 (tests-special): ... additions to this variable.
13964 * grp/Makefile (tests): Change dependencies to ....
13965 (tests-special): ... additions to this variable.
13966 * iconv/Makefile (xtests): Change dependencies to ....
13967 (xtests-special): ... additions to this variable.
13968 * iconvdata/Makefile (tests): Change dependencies to ....
13969 (tests-special): ... additions to this variable.
13970 * intl/Makefile (tests): Change dependencies to ....
13971 (tests-special): ... additions to this variable. Also add
13972 $(objpfx)tst-gettext.out.
13973 * io/Makefile (tests): Change dependencies to ....
13974 (tests-special): ... additions to this variable.
13975 * libio/Makefile (tests): Change dependencies to ....
13976 (tests-special): ... additions to this variable.
13977 * malloc/Makefile (tests): Change dependencies to ....
13978 (tests-special): ... additions to this variable.
13979 * misc/Makefile (tests): Change dependencies to ....
13980 (tests-special): ... additions to this variable.
13981 * nptl/Makefile (tests): Change dependencies to ....
13982 (tests-special): ... additions to this variable.
13983 * nptl_db/Makefile (tests): Change dependencies to ....
13984 (tests-special): ... additions to this variable.
13985 * posix/Makefile (tests): Change dependencies to ....
13986 (tests-special): ... additions to this variable.
13987 (xtests): Change dependencies to ....
13988 (xtests-special): ... additions to this variable.
13989 * resolv/Makefile (tests): Change dependencies to ....
13990 (tests-special): ... additions to this variable.
13991 (xtests): Change dependencies to ....
13992 (xtests-special): ... additions to this variable.
13993 * stdio-common/Makefile (tests): Change dependencies to ....
13994 (tests-special): ... additions to this variable.
13995 (do-tst-unbputc): Remove target.
13996 (do-tst-printf): Likewise.
13997 * stdlib/Makefile (tests): Change dependencies to ....
13998 (tests-special): ... additions to this variable.
13999 * string/Makefile (tests): Change dependencies to ....
14000 (tests-special): ... additions to this variable.
14001 * sysdeps/x86/Makefile (tests): Change dependencies to ....
14002 (tests-special): ... additions to this variable.
14003
14004 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
14005 whole file.
14006 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
14007 whole file.
14008 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
14009 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
14010
14011 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
14012 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
14013 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
14014 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
14015 * conform/data/libgen.h-data [XPG3]: Likewise.
14016 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
14017 * conform/data/ndbm.h-data [XPG3]: Likewise.
14018 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14019 * conform/data/netdb.h-data [XPG3]: Likewise.
14020 * conform/data/netinet/in.h-data [XPG3]: Likewise.
14021 * conform/data/poll.h-data [XPG3]: Likewise.
14022 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14023 * conform/data/strings.h-data [XPG3]: Likewise.
14024 * conform/data/stropts.h-data [XPG3]: Likewise.
14025 * conform/data/sys/mman.h-data [XPG3]: Likewise.
14026 * conform/data/sys/resource.h-data [XPG3]: Likewise.
14027 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
14028 Likewise.
14029 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
14030 * conform/data/sys/time.h-data [XPG3]: Likewise.
14031 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
14032 * conform/data/sys/uio.h-data [XPG3]: Likewise.
14033 * conform/data/sys/un.h-data [XPG3]: Likewise.
14034 * conform/data/syslog.h-data [XPG3]: Likewise.
14035 * conform/data/ucontext.h-data [XPG3]: Likewise.
14036 * conform/data/utmpx.h-data [XPG3]: Likewise.
14037 * conform/data/varargs.h-data [UNIX98]: Enable file.
14038
14039 * manual/Makefile (INSTALL_INFO): Remove variable setting.
14040
14041 * math/libm-test.inc (struct test_f_f_data): Move expected results
14042 into structure for each rounding mode.
14043 (struct test_ff_f_data): Likewise.
14044 (struct test_ff_f_data_nexttoward): Likewise.
14045 (struct test_fi_f_data): Likewise.
14046 (struct test_fl_f_data): Likewise.
14047 (struct test_if_f_data): Likewise.
14048 (struct test_fff_f_data): Likewise.
14049 (struct test_c_f_data): Likewise.
14050 (struct test_f_f1_data): Likewise.
14051 (struct test_fF_f1_data): Likewise.
14052 (struct test_ffI_f1_data): Likewise.
14053 (struct test_c_c_data): Likewise.
14054 (struct test_cc_c_data): Likewise.
14055 (struct test_f_i_data): Likewise.
14056 (struct test_ff_i_data): Likewise.
14057 (struct test_f_l_data): Likewise.
14058 (struct test_f_L_data): Likewise.
14059 (struct test_fFF_11_data): Likewise.
14060 (RM_): New macro.
14061 (RM_FE_DOWNWARD): Likewise.
14062 (RM_FE_TONEAREST): Likewise.
14063 (RM_FE_TOWARDZERO): Likewise.
14064 (RM_FE_UPWARD): Likewise.
14065 (RUN_TEST_LOOP_f_f): Update references to expected results.
14066 (RUN_TEST_LOOP_2_f): Likewise.
14067 (RUN_TEST_LOOP_fff_f): Likewise.
14068 (RUN_TEST_LOOP_c_f): Likewise.
14069 (RUN_TEST_LOOP_f_f1): Likewise.
14070 (RUN_TEST_LOOP_fF_f1): Likewise.
14071 (RUN_TEST_LOOP_fI_f1): Likewise.
14072 (RUN_TEST_LOOP_ffI_f1): Likewise.
14073 (RUN_TEST_LOOP_c_c): Likewise.
14074 (RUN_TEST_LOOP_cc_c): Likewise.
14075 (RUN_TEST_LOOP_f_i): Likewise.
14076 (RUN_TEST_LOOP_f_i_tg): Likewise.
14077 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14078 (RUN_TEST_LOOP_f_b): Likewise.
14079 (RUN_TEST_LOOP_f_b_tg): Likewise.
14080 (RUN_TEST_LOOP_f_l): Likewise.
14081 (RUN_TEST_LOOP_f_L): Likewise.
14082 (RUN_TEST_LOOP_fFF_11): Likewise.
14083 * math/gen-libm-test.pl (parse_args): Output four copies of
14084 expected results for each test.
14085
14086 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14087 (__ASSUME_UTIMES): Remove.
14088 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14089 (__ASSUME_UTIMES): Likewise.
14090
14091 * math/gen-auto-libm-tests.c: Update comment on output format.
14092 (output_for_one_input_case): Generate before-rounding and
14093 after-rounding information as conditions on output flags not
14094 floating-point format.
14095 * math/auto-libm-test-out: Regenerated.
14096 * math/gen-libm-test.pl (cond_value): New function.
14097 (or_cond_value): Use cond_value.
14098 (generate_testfile): Handle conditional exceptions.
14099
141002014-03-05 Joseph Myers <joseph@codesourcery.com>
14101
14102 * math/libm-test.inc (max_valid_error): New variable.
14103 (init_max_error): Take new argument specifying whether function
14104 results are exactly determined. Set max_valid_error and bound
14105 other variables for errors based on this argument.
14106 (set_max_error): Do not record results above max_valid_error.
14107 (check_float_internal): Only accept errors of up to 0.5ulps if
14108 also at most max_valid_error.
14109 (START): Take new argument EXACT and pass it to init_max_error.
14110 (acos_test): Update call to START.
14111 (acos_test_tonearest): Likewise.
14112 (acos_test_towardzero): Likewise.
14113 (acos_test_downward): Likewise.
14114 (acos_test_upward): Likewise.
14115 (acosh_test): Likewise.
14116 (asin_test): Likewise.
14117 (asin_test_tonearest): Likewise.
14118 (asin_test_towardzero): Likewise.
14119 (asin_test_downward): Likewise.
14120 (asin_test_upward): Likewise.
14121 (asinh_test): Likewise.
14122 (atan_test): Likewise.
14123 (atanh_test): Likewise.
14124 (atan2_test): Likewise.
14125 (cabs_test): Likewise.
14126 (cacos_test): Likewise.
14127 (cacosh_test): Likewise.
14128 (carg_test): Likewise.
14129 (casin_test): Likewise.
14130 (casinh_test): Likewise.
14131 (catan_test): Likewise.
14132 (catanh_test): Likewise.
14133 (cbrt_test): Likewise.
14134 (ccos_test): Likewise.
14135 (ccosh_test): Likewise.
14136 (ceil_test): Likewise.
14137 (cexp_test): Likewise.
14138 (cimag_test): Likewise.
14139 (clog_test): Likewise.
14140 (clog10_test): Likewise.
14141 (conj_test): Likewise.
14142 (copysign_test): Likewise.
14143 (cos_test): Likewise.
14144 (cos_test_tonearest): Likewise.
14145 (cos_test_towardzero): Likewise.
14146 (cos_test_downward): Likewise.
14147 (cos_test_upward): Likewise.
14148 (cosh_test): Likewise.
14149 (cosh_test_tonearest): Likewise.
14150 (cosh_test_towardzero): Likewise.
14151 (cosh_test_downward): Likewise.
14152 (cosh_test_upward): Likewise.
14153 (cpow_test): Likewise.
14154 (cproj_test): Likewise.
14155 (creal_test): Likewise.
14156 (csin_test): Likewise.
14157 (csinh_test): Likewise.
14158 (csqrt_test): Likewise.
14159 (ctan_test): Likewise.
14160 (ctan_test_tonearest): Likewise.
14161 (ctan_test_towardzero): Likewise.
14162 (ctan_test_downward): Likewise.
14163 (ctan_test_upward): Likewise.
14164 (ctanh_test): Likewise.
14165 (ctanh_test_tonearest): Likewise.
14166 (ctanh_test_towardzero): Likewise.
14167 (ctanh_test_downward): Likewise.
14168 (ctanh_test_upward): Likewise.
14169 (erf_test): Likewise.
14170 (erfc_test): Likewise.
14171 (exp_test): Likewise.
14172 (exp_test_tonearest): Likewise.
14173 (exp_test_towardzero): Likewise.
14174 (exp_test_downward): Likewise.
14175 (exp_test_upward): Likewise.
14176 (exp10_test): Likewise.
14177 (exp10_test_tonearest): Likewise.
14178 (exp10_test_towardzero): Likewise.
14179 (exp10_test_downward): Likewise.
14180 (exp10_test_upward): Likewise.
14181 (pow10_test): Likewise.
14182 (exp2_test): Likewise.
14183 (expm1_test): Likewise.
14184 (expm1_test_tonearest): Likewise.
14185 (expm1_test_towardzero): Likewise.
14186 (expm1_test_downward): Likewise.
14187 (expm1_test_upward): Likewise.
14188 (fabs_test): Likewise.
14189 (fdim_test): Likewise.
14190 (floor_test): Likewise.
14191 (fma_test): Likewise.
14192 (fma_test_towardzero): Likewise.
14193 (fma_test_downward): Likewise.
14194 (fma_test_upward): Likewise.
14195 (fmax_test): Likewise.
14196 (fmin_test): Likewise.
14197 (fmod_test): Likewise.
14198 (fpclassify_test): Likewise.
14199 (frexp_test): Likewise.
14200 (hypot_test): Likewise.
14201 (ilogb_test): Likewise.
14202 (isfinite_test): Likewise.
14203 (finite_test): Likewise.
14204 (isgreater_test): Likewise.
14205 (isgreaterequal_test): Likewise.
14206 (isinf_test): Likewise.
14207 (isless_test): Likewise.
14208 (islessequal_test): Likewise.
14209 (islessgreater_test): Likewise.
14210 (isnan_test): Likewise.
14211 (isnormal_test): Likewise.
14212 (issignaling_test): Likewise.
14213 (isunordered_test): Likewise.
14214 (j0_test): Likewise.
14215 (j1_test): Likewise.
14216 (jn_test): Likewise.
14217 (ldexp_test): Likewise.
14218 (lgamma_test): Likewise.
14219 (gamma_test): Likewise.
14220 (lrint_test): Likewise.
14221 (lrint_test_tonearest): Likewise.
14222 (lrint_test_towardzero): Likewise.
14223 (lrint_test_downward): Likewise.
14224 (lrint_test_upward): Likewise.
14225 (llrint_test): Likewise.
14226 (llrint_test_tonearest): Likewise.
14227 (llrint_test_towardzero): Likewise.
14228 (llrint_test_downward): Likewise.
14229 (llrint_test_upward): Likewise.
14230 (log_test): Likewise.
14231 (log10_test): Likewise.
14232 (log1p_test): Likewise.
14233 (log2_test): Likewise.
14234 (logb_test): Likewise.
14235 (logb_test_downward): Likewise.
14236 (lround_test): Likewise.
14237 (llround_test): Likewise.
14238 (modf_test): Likewise.
14239 (nearbyint_test): Likewise.
14240 (nextafter_test): Likewise.
14241 (nexttoward_test): Likewise.
14242 (pow_test): Likewise.
14243 (pow_test_tonearest): Likewise.
14244 (pow_test_towardzero): Likewise.
14245 (pow_test_downward): Likewise.
14246 (pow_test_upward): Likewise.
14247 (remainder_test): Likewise.
14248 (drem_test): Likewise.
14249 (remainder_test_tonearest): Likewise.
14250 (drem_test_tonearest): Likewise.
14251 (remainder_test_towardzero): Likewise.
14252 (drem_test_towardzero): Likewise.
14253 (remainder_test_downward): Likewise.
14254 (drem_test_downward): Likewise.
14255 (remainder_test_upward): Likewise.
14256 (drem_test_upward): Likewise.
14257 (remquo_test): Likewise.
14258 (rint_test): Likewise.
14259 (rint_test_tonearest): Likewise.
14260 (rint_test_towardzero): Likewise.
14261 (rint_test_downward): Likewise.
14262 (rint_test_upward): Likewise.
14263 (round_test): Likewise.
14264 (scalb_test): Likewise.
14265 (scalbn_test): Likewise.
14266 (scalbln_test): Likewise.
14267 (signbit_test): Likewise.
14268 (sin_test): Likewise.
14269 (sin_test_tonearest): Likewise.
14270 (sin_test_towardzero): Likewise.
14271 (sin_test_downward): Likewise.
14272 (sin_test_upward): Likewise.
14273 (sincos_test): Likewise.
14274 (sinh_test): Likewise.
14275 (sinh_test_tonearest): Likewise.
14276 (sinh_test_towardzero): Likewise.
14277 (sinh_test_downward): Likewise.
14278 (sinh_test_upward): Likewise.
14279 (sqrt_test): Likewise.
14280 (sqrt_test_tonearest): Likewise.
14281 (sqrt_test_towardzero): Likewise.
14282 (sqrt_test_downward): Likewise.
14283 (sqrt_test_upward): Likewise.
14284 (tan_test): Likewise.
14285 (tan_test_tonearest): Likewise.
14286 (tan_test_towardzero): Likewise.
14287 (tan_test_downward): Likewise.
14288 (tan_test_upward): Likewise.
14289 (tanh_test): Likewise.
14290 (tgamma_test): Likewise.
14291 (trunc_test): Likewise.
14292 (y0_test): Likewise.
14293 (y1_test): Likewise.
14294 (yn_test): Likewise.
14295 (significand_test): Likewise.
14296
14297 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
14298 individual tests in comment.
14299 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
14300 (prev_max_error): New variable.
14301 (prev_real_max_error): Likewise.
14302 (prev_imag_max_error): Likewise.
14303 (compare_ulp_data): Don't refer to test names in comment.
14304 (find_test_ulps): Remove function.
14305 (find_function_ulps): Likewise.
14306 (find_complex_function_ulps): Likewise.
14307 (init_max_error): Take function name as argument. Look up ulps
14308 for that function.
14309 (print_ulps): Remove function.
14310 (print_max_error): Use prev_max_error instead of calling
14311 find_function_ulps.
14312 (print_complex_max_error): Use prev_real_max_error and
14313 prev_imag_max_error instead of calling find_complex_function_ulps.
14314 (check_float_internal): Take max_ulp parameter instead of calling
14315 find_test_ulps. Don't call print_ulps.
14316 (check_float): Update call to check_float_internal.
14317 (check_complex): Update calls to check_float_internal.
14318 (START): Pass argument to init_max_error.
14319 * math/gen-libm-test.pl (%results): Don't include "kind"
14320 information.
14321 (parse_ulps): Don't handle ulps of individual tests.
14322 (print_ulps_file): Likewise.
14323 (output_ulps): Likewise.
14324 * math/README.libm-test: Update.
14325 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
14326 individual tests.
14327 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
14328 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
14329 * sysdeps/arm/libm-test-ulps: Likewise.
14330 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
14331 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
14332 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
14333 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
14334 * sysdeps/microblaze/libm-test-ulps: Likewise.
14335 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14336 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14337 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14338 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14339 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14340 * sysdeps/sh/libm-test-ulps: Likewise.
14341 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14342 * sysdeps/tile/libm-test-ulps: Likewise.
14343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14344
143452014-03-04 Joseph Myers <joseph@codesourcery.com>
14346
14347 * math/libm-test.inc (print_complex_max_error): Check separately
14348 whether real and imaginary errors are within allowed range and
14349 pass 0 to print_complex_function_ulps instead of value within
14350 allowed range.
14351
143522014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14353
14354 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
14355 formatting.
14356 (get_handles_fopen): Likewise.
14357 (do_write_test): Likewise.
14358
14359 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
14360
14361 * libio/fileops.c (do_ftell): Use cached offset when
14362 available.
14363 * libio/iofwide.c (do_ftell_wide): Likewise.
14364 * libio/iofdopen.c (_IO_new_fdopen): Don't use
14365 _IO_file_attach.
14366 * libio/wfileops.c (_IO_fwide): Don't cache offset.
14367
14368 [BZ #16532]
14369 * libio/libioP.h (get_file_offset): New function.
14370 * libio/fileops.c (get_file_offset): Likewise.
14371 (do_ftell): Likewise.
14372 (_IO_new_file_seekoff): Split out ftell logic.
14373 * libio/wfileops.c (do_ftell_wide): Likewise.
14374 (_IO_wfile_seekoff): Split out ftell logic.
14375 * libio/tst-ftell-active-handler.c: New test case.
14376 * libio/Makefile (tests): Add it.
14377
143782014-03-03 Roland McGrath <roland@hack.frob.com>
14379
14380 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
14381 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
14382
143832014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14384
14385 [BZ #16639]
14386 * nscd/connections.c (nscd_init): Call do_exit.
14387 (start_threads): Call do_exit and notify_parent.
14388 (begin_drop_privileges): Call do_exit.
14389 (finish_drop_privileges): Likewise.
14390 * nscd/selinux.c (preserve_capabilities): Likewise.
14391 (install_real_capabilities): Likewise.
14392 (nscd_selinux_enabled): Likewise.
14393 (avc_create_thread): Likewise.
14394 (avc_alloc_lock): Likewise.
14395 (nscd_avc_init): Likewise.
14396 * nscd/nscd.c (parent_fd): New static variable.
14397 (main): Create a pipe between parent and child processes.
14398 Skip closing parent_fd.
14399 (monitor_child): New function.
14400 (do_exit): Likewise.
14401 (notify_parent): Likewise.
14402 * nscd/nscd.h (notify_parent): Likewise.
14403 (do_exit): Likewise.
14404
144052014-03-03 Carlos O'Donell <carlos@redhat.com>
14406
14407 * malloc/malloc.c (__libc_calloc): Revert last change.
14408
144092014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14410
14411 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14412
144132014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14414
14415 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
14416 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
14417 implementation.
14418 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14419 (__libc_ifunc_impl_list): Likewise.
14420 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
14421 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
14422 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
14423 * string/strrchr.c: Define STRRCHR.
14424
144252014-02-28 Ondřej Bílka <neleai@seznam.cz>
14426
14427 * benchtest/bench-strtok.c (simple_strtok): Delete.
14428 (strtok_string): Use as benchmark.
14429 * string/strtok (STRTOK): New macro.
14430
144312014-02-28 Carlos O'Donell <carlos@redhat.com>
14432
14433 * manual/threads.texi: Add header and standard comments to all
14434 functions.
14435
14436 * elf/dl-lookup.c (check_match): New function.
14437 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
14438 (do_lookup_x): Remove nested function check_match. Use non-nested
14439 function check_match.
14440
144412014-02-28 Roland McGrath <roland@hack.frob.com>
14442
14443 * csu/Makefile (generated, before-compile): Use += rather than =.
14444 * catgets/Makefile (generated, generated-dirs): Likewise.
14445 * debug/Makefile (generated): Likewise.
14446 * dlfcn/Makefile (generated): Likewise.
14447 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
14448 * iconvdata/Makefile (before-compile, generated): Likewise.
14449 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
14450 * libio/Makefile (generated): Likewise.
14451 * malloc/Makefile (generated): Likewise.
14452 * manual/Makefile (generated, generated-dirs): Likewise.
14453 * misc/Makefile (generated): Likewise.
14454 * posix/Makefile (generated): Likewise.
14455 * resolv/Makefile (generated): Likewise.
14456 * sunrpc/Makefile (generated, generated-dirs): Likewise.
14457 * timezone/Makefile (generated, generated-dirs): Likewise.
14458
14459 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
14460
144612014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14462
14463 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14464 power8 implementation.
14465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
14466 file: POWER8 llround ifunc implementation.
14467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
14468 (__lllround): Add POWER8 implementation.
14469 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
14470 POWER8 llround implementation.
14471
14472 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
14473 power8 implementation.
14474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
14475 file: POWER8 llrint ifunc implementation.
14476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
14477 Add POWER8 implementation.
14478 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
14479 POWER8 llrint implementation.
14480
14481 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
14482 power8 implementation.
14483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
14484 file: POWER8 finite ifunc implementation.
14485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
14486 Add POWER8 implementation.
14487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
14488 Likewise.
14489 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
14490 POWER8 finite implementation.
14491 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
14492
14493 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
14494 power8 implementation.
14495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
14496 file: POWER8 isinf ifunc implementation.
14497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
14498 POWER8 implementation.
14499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
14500 Likewise.
14501 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
14502 isinf implementation.
14503 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
14504
14505 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
14506 (INIT_ARCH): Add hwcap2 initialization.
14507 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14508 power8 implementation.
14509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
14510 file: POWER8 isnan ifunc implementation.
14511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
14512 POWER8 implementation.
14513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
14514 Likewise.
14515 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
14516 isnan implementation.
14517 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
14518
145192014-02-27 Joey Ye <joey.ye@arm.com>
14520
14521 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
14522 (_FP_NANFRAC_Q): Set to zero.
14523
145242014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14525
14526 [BZ #16623]
14527 * math/auto-libm-test-in: New test inputs.
14528 * math/auto-libm-test-out: Regenerate.
14529 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
14530 and DA.
14531 (__cos): Likewise.
14532 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14533
145342014-02-27 Joseph Myers <joseph@codesourcery.com>
14535
14536 * scripts/evaluate-test.sh: Take new argument indicating whether
14537 failure is expected.
14538 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
14539 indicating whether failure is expected.
14540 * conform/Makefile (test-xfail-run-conformtest): New variable.
14541 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
14542 level.
14543 * posix/Makefile (test-xfail-annexc): New variable.
14544 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
14545
145462014-02-26 Joseph Myers <joseph@codesourcery.com>
14547
14548 * argp/Makefile: Include Makeconfig immediately after defining
14549 subdir.
14550 * assert/Makefile: Likewise.
14551 * benchtests/Makefile: Likewise.
14552 * catgets/Makefile: Likewise.
14553 * conform/Makefile: Likewise.
14554 * crypt/Makefile: Likewise.
14555 * csu/Makefile: Likewise.
14556 (all): Remove target.
14557 * ctype/Makefile: Include Makeconfig immediately after defining
14558 subdir.
14559 * debug/Makefile: Likewise.
14560 * dirent/Makefile: Likewise.
14561 * dlfcn/Makefile: Likewise.
14562 * gmon/Makefile: Likewise.
14563 * gnulib/Makefile: Likewise.
14564 * grp/Makefile: Likewise.
14565 * gshadow/Makefile: Likewise.
14566 * hesiod/Makefile: Likewise.
14567 * hurd/Makefile: Likewise.
14568 (all): Remove target.
14569 * iconvdata/Makefile: Include Makeconfig immediately after
14570 defining subdir.
14571 * inet/Makefile: Likewise.
14572 * intl/Makefile: Likewise.
14573 * io/Makefile: Likewise.
14574 * libio/Makefile: Likewise.
14575 (all): Remove target.
14576 * locale/Makefile: Include Makeconfig immediately after defining
14577 subdir.
14578 * login/Makefile: Likewise.
14579 * mach/Makefile: Likewise.
14580 (all): Remove target.
14581 * malloc/Makefile: Include Makeconfig immediately after defining
14582 subdir.
14583 (all): Remove target.
14584 * manual/Makefile: Include Makeconfig immediately after defining
14585 subdir.
14586 * math/Makefile: Likewise.
14587 * misc/Makefile: Likewise.
14588 * nis/Makefile: Likewise.
14589 * nss/Makefile: Likewise.
14590 * po/Makefile: Likewise.
14591 (all): Remove target.
14592 * posix/Makefile: Include Makeconfig immediately after defining
14593 subdir.
14594 * pwd/Makefile: Likewise.
14595 * resolv/Makefile: Likewise.
14596 * resource/Makefile: Likewise.
14597 * rt/Makefile: Likewise.
14598 * setjmp/Makefile: Likewise.
14599 * shadow/Makefile: Likewise.
14600 * signal/Makefile: Likewise.
14601 * socket/Makefile: Likewise.
14602 * soft-fp/Makefile: Likewise.
14603 * stdio-common/Makefile: Likewise.
14604 * stdlib/Makefile: Likewise.
14605 * streams/Makefile: Likewise.
14606 * string/Makefile: Likewise.
14607 * sunrpc/Makefile: Likewise.
14608 (all): Remove target.
14609 * sysvipc/Makefile: Include Makeconfig immediately after defining
14610 subdir.
14611 * termios/Makefile: Likewise.
14612 * time/Makefile: Likewise.
14613 * timezone/Makefile: Likewise.
14614 (all): Remove target.
14615 * wcsmbs/Makefile: Include Makeconfig immediately after defining
14616 subdir.
14617 * wctype/Makefile: Likewise.
14618
146192014-02-26 Steve Ellcey <sellcey@mips.com>
14620
14621 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
14622 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
14623 (libc_feholdexcept_setround_mips): Ditto.
14624 (libc_feholdsetround): New.
14625 (libc_feholdsetroundf): New.
14626 (libc_feholdsetroundl): New.
14627 (libc_feupdateenv_test_mips): New.
14628 (libc_feupdateenv_test): New.
14629 (libc_feupdateenv_testf): New.
14630 (libc_feupdateenv_testl): New.
14631 (libc_feresetround): New.
14632 (libc_feresetroundf): New.
14633 (libc_feresetroundl): New.
14634 (libc_fetestexcept_mips): New.
14635 (libc_fetestexcept): New.
14636 (libc_fetestexceptf): New.
14637 (libc_fetestexceptl): New.
14638 (HAVE_RM_CTX): New.
14639 (libc_feholdexcept_setround_mips_ctx): New.
14640 (libc_feholdexcept_setround_ctx): New.
14641 (libc_feholdexcept_setroundf_ctx): New.
14642 (libc_feholdexcept_setroundl_ctx): New.
14643 (libc_fesetenv_mips_ctx): New.
14644 (libc_fesetenv_ctx): New.
14645 (libc_fesetenv_ctxf): New.
14646 (libc_fesetenv_ctxl): New.
14647 (libc_feupdateenv_mips_ctx): New.
14648 (libc_feupdateenv_ctx): New.
14649 (libc_feupdateenvf_ctx): New.
14650 (libc_feupdateenvl_ctx): New.
14651 (libc_feholdsetround_mips_ctx): New.
14652 (libc_feholdsetround_ctx): New.
14653 (libc_feholdsetroundf_ctx): New.
14654 (libc_feholdsetroundl_ctx): New.
14655 (libc_feresetround_mips_ctx): New.
14656 (libc_feresetround_ctx): New.
14657 (libc_feresetroundf_ctx): New.
14658 (libc_feresetroundl_ctx): New.
14659
146602014-02-26 Carlos O'Donell <carlos@redhat.com>
14661
14662 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
14663
14664 * manual/ipc.texi: New file.
14665 * manual/Makefile (chapters): Add ipc.
14666 * manual/job.texi: Add "Inter-Process Communication" to next.
14667 * manual/process.texi: Add "Inter-Process Communication" to prev.
14668
146692014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14670
14671 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14672
146732014-02-26 Ondřej Bílka <neleai@seznam.cz>
14674
14675 * malloc/malloc.c (__libc_calloc): Simplify implementation.
14676
14677 * manual/arith.texi: Fix spaces after sentences.
14678 * manual/charset.texi: Likewise.
14679 * manual/errno.texi: Likewise.
14680 * manual/install.texi: Likewise.
14681 * manual/llio.texi: Likewise.
14682 * manual/locale.texi: Likewise.
14683 * manual/maint.texi: Likewise.
14684 * manual/math.texi: Likewise.
14685 * manual/memory.texi: Likewise.
14686 * manual/message.texi: Likewise.
14687 * manual/probes.texi: Likewise.
14688 * manual/resource.texi: Likewise.
14689 * manual/signal.texi: Likewise.
14690 * manual/socket.texi: Likewise.
14691 * manual/stdio.texi: Likewise.
14692 * manual/string.texi: Likewise.
14693 * manual/time.texi: Likewise.
14694 * manual/users.texi: Likewise.
14695
146962014-02-25 Carlos O'Donell <carlos@redhat.com>
14697
14698 [BZ #16632]
14699 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
14700 _DEFAULT_SOURCE is defined.
14701
147022014-02-25 Ulrich Drepper <drepper@gmail.com>
14703 Carlos O'Donell <carlos@redhat.com>
14704
14705 [BZ #16613]
14706 * elf/dl-tls.c (_dl_count_modids): New function.
14707 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
14708 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
14709 audit library and increment generation counter.
14710 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
14711 * elf/tst-audit9.c: New file.
14712 * elf/tst-auditmod9a.c: New file.
14713 * elf/tst-auditmod9b.c: New file.
14714 * elf/Makefile: Add rules to build and run tst-audit9.
14715
147162014-02-25 Florian Weimer <fweimer@redhat.com>
14717
14718 [BZ #15347]
14719 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
14720
147212014-02-25 Will Newton <will.newton@linaro.org>
14722
14723 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
14724 (__longjmp): Restore sp and lr before restoring callee
14725 saved registers. Add longjmp and longjmp_target
14726 SystemTap probe point.
14727 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
14728 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
14729 Define to zero to match jmpbuf layout.
14730 * sysdeps/arm/setjmp.S: Include stap-probe.h.
14731 (__sigsetjmp): Save sp and lr before saving callee
14732 saved registers. Add setjmp SystemTap probe point.
14733
147342014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14735
14736 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14737
147382014-02-24 Andreas Schwab <schwab@suse.de>
14739
14740 [BZ #15804]
14741 * elf/pldd.c (wait_for_ptrace_stop): New function.
14742 (main): Call it after attaching.
14743
147442014-02-22 Roland McGrath <roland@hack.frob.com>
14745
14746 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
14747 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
14748 Versions files is now verboten.
14749 * hurd/Versions (libc: GLIBC_2.0):
14750 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
14751 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
14752 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
14753 * mach/Versions: Likewise.
14754
14755 * csu/Versions: Remove unused %include.
14756 * resolv/Versions: Likewise.
14757
147582014-02-21 Joseph Myers <joseph@codesourcery.com>
14759
14760 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
14761 ($(objpfx)check-local-headers.out): Likewise.
14762 ($(objpfx)begin-end-check.out): Likewise.
14763 * Makerules (check-abi-%.out): Likewise.
14764 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
14765 ($(objpfx)test2.cat): Likewise.
14766 ($(objpfx)de/libc.cat): Likewise.
14767 ($(objpfx)test-gencat.out): Likewise.
14768 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
14769 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
14770 ($(objpfx)noload-mem): Likewise.
14771 ($(objpfx)tst-pathopt.out): Likewise.
14772 ($(objpfx)tst-rtld-load-self.out): Likewise.
14773 ($(objpfx)tst-array1-cmp.out): Likewise.
14774 ($(objpfx)tst-array1-static-cmp.out): Likewise.
14775 ($(objpfx)tst-array2-cmp.out): Likewise.
14776 ($(objpfx)tst-array3-cmp.out): Likewise.
14777 ($(objpfx)tst-array4-cmp.out): Likewise.
14778 ($(objpfx)tst-array5-cmp.out): Likewise.
14779 ($(objpfx)tst-array5-static-cmp.out): Likewise.
14780 ($(objpfx)check-textrel.out): Likewise.
14781 ($(objpfx)check-execstack.out): Likewise.
14782 ($(objpfx)check-localplt.out): Likewise.
14783 ($(objpfx)order2-cmp.out): Likewise.
14784 ($(objpfx)tst-leaks1-mem): Likewise.
14785 ($(objpfx)tst-leaks1-static-mem): Likewise.
14786 ($(objpfx)tst-initorder-cmp.out): Likewise.
14787 ($(objpfx)tst-initorder2-cmp.out): Likewise.
14788 ($(objpfx)tst-unused-dep.out): Likewise.
14789 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
14790 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
14791 * iconv/Makefile (test-iconvconfig): Likewise.
14792 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
14793 ($(objpfx)iconv-test.out): Likewise.
14794 ($(objpfx)tst-tables.out): Likewise.
14795 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
14796 ($(objpfx)tst-gettext.out): Likewise.
14797 ($(objpfx)tst-translit.out): Likewise.
14798 ($(objpfx)tst-gettext2.out): Likewise.
14799 ($(objpfx)tst-gettext4.out): Likewise.
14800 ($(objpfx)tst-gettext6.out): Likewise.
14801 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
14802 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
14803 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
14804 ($(objpfx)tst-fopenloc-mem.out): Likewise.
14805 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
14806 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
14807 * posix/Makefile ($(objpfx)globtest.out): Likewise.
14808 ($(objpfx)wordexp-tst.out): Likewise.
14809 ($(objpfx)annexc.out): Likewise.
14810 ($(objpfx)tst-fnmatch-mem): Likewise.
14811 ($(objpfx)bug-regex2-mem): Likewise.
14812 ($(objpfx)bug-regex14-mem): Likewise.
14813 ($(objpfx)bug-regex21-mem): Likewise.
14814 ($(objpfx)bug-regex31-mem): Likewise.
14815 ($(objpfx)tst-vfork3-mem): Likewise.
14816 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14817 ($(objpfx)tst-pcre-mem): Likewise.
14818 ($(objpfx)tst-boost-mem): Likewise.
14819 ($(objpfx)tst-getconf.out): Likewise.
14820 ($(objpfx)bug-ga2-mem): Likewise.
14821 ($(objpfx)bug-glob2-mem): Likewise.
14822 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
14823 ($(objpfx)mtrace-tst-leaks2): Likewise.
14824 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
14825 ($(objpfx)tst-printf.out): Likewise.
14826 ($(objpfx)tst-setvbuf1.out): Likewise.
14827 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
14828 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
14829 ($(objpfx)tst-fmtmsg.out): Likewise.
14830 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
14831 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
14832
14833 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
14834 * bits/sigaction.h [__USE_MISC]: Likewise.
14835 * bits/waitstatus.h: Update #endif comments.
14836 * ctype/ctype.h: Likewise.
14837 * dirent/dirent.h: Likewise.
14838 [__USE_MISC]: Remove redundant conditionals.
14839 * grp/grp.h: Update #endif comments.
14840 [__USE_GNU]: Remove redundant conditionals.
14841 [__USE_MISC]: Likewise.
14842 * inet/netinet/in.h [__USE_GNU]: Likewise.
14843 * io/sys/stat.h [__USE_MISC]: Likewise.
14844 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
14845 * libio/bits/stdio.h: Update #endif comments.
14846 [__USE_MISC]: Remove redundant conditionals.
14847 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
14848 * libio/stdio.h: Update #endif comments.
14849 [__USE_MISC]: Remove redundant conditionals.
14850 * math/bits/math-finite.h [__USE_MISC]: Likewise.
14851 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
14852 * math/math.h: Update #else and #endif comments.
14853 [__USE_MISC]: Remove redundant conditionals.
14854 * misc/sys/uio.h: Update #endif comments.
14855 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
14856 * posix/glob.h [__USE_MISC]: Likewise.
14857 * posix/sys/types.h: Update #endif comments.
14858 [__USE_MISC]: Remove redundant conditionals.
14859 * posix/sys/wait.h: Update #endif comments.
14860 [__USE_MISC]: Remove redundant conditionals.
14861 * posix/unistd.h: Update #endif comments.
14862 [__USE_MISC]: Remove redundant conditionals.
14863 * pwd/pwd.h [__USE_GNU]: Likewise.
14864 [__USE_MISC]: Likewise.
14865 * resolv/netdb.h [__USE_GNU]: Likewise.
14866 * signal/signal.h: Update #endif comments.
14867 [__USE_MISC]: Remove redundant conditionals.
14868 * stdlib/stdlib.h: Update #else and #endif comments.
14869 [__USE_MISC]: Remove redundant conditionals.
14870 [__USE_GNU]: Likewise.
14871 * string/bits/string2.h [__USE_MISC]: Likewise.
14872 * string/string.h: Update #endif comments.
14873 [__USE_MISC]: Remove redundant conditionals.
14874 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
14875 Likewise.
14876 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
14877 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
14878 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
14879 Likewise.
14880 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
14881 Likewise.
14882 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
14883 comments.
14884 [__USE_MISC]: Remove redundant conditionals.
14885 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
14886 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
14887 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
14888 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
14889 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
14890 Likewise.
14891 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
14892 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
14893 Likewise.
14894 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
14895 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
14896 Likewise.
14897 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
14898 Likewise.
14899 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
14900 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
14901 Likewise.
14902 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
14903 Likewise.
14904 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
14905 * sysdeps/x86/bits/string.h: Update #endif comments.
14906 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
14907 conditionals.
14908 * time/sys/time.h: Update #endif comments.
14909 * time/time.h: Likewise.
14910 [__USE_MISC]: Remove redundant conditionals.
14911
149122014-02-21 Yury Gribov <y.gribov@samsung.com>
14913
14914 [BZ #16600]
14915 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
14916
149172014-02-21 Andreas Schwab <schwab@linux-m68k.org>
14918
14919 * Versions.def (librt): Add GLIBC_2.17.
14920
149212014-02-21 Adam Conrad <adconrad@0c3.net>
14922
14923 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
14924 synonym for _SYS_AUXV_H to allow direct inclusion.
14925 * sysdeps/sparc/bits/hwcap.h: Likewise.
14926 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
14927 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
14928 * sysdeps/sparc/sysdep.h: Likewise.
14929
149302014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14931
14932 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
14933
149342014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14935
14936 * benchtests/bench-strrchr.c: Print length instead of position.
14937
149382014-02-20 Joseph Myers <joseph@codesourcery.com>
14939
14940 [BZ #16611]
14941 * sysdeps/unix/sysv/linux/kernel-features.h
14942 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
14943 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
14944 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
14945 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
14946 Likewise.
14947 [__i386__ || __powerpc__ || __sh__ || __sparc__]
14948 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14949 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
14950 (__ASSUME_SENDMMSG): Define instead of using previous
14951 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
14952 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14953 (__ASSUME_SENDMMSG_SYSCALL): Define.
14954 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14955 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
14956 Likewise.
14957 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14958 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14959 Likewise.
14960 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14961 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14962 Likewise.
14963 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
14964 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14965 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14966 [__ASSUME_SENDMMSG]: Change conditionals to
14967 [__ASSUME_SENDMMSG_SOCKETCALL].
14968 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14969 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
14970 Define.
14971 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14972 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
14973 Likewise.
14974 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
14975 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14976 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14977 [!__ASSUME_SENDMMSG]: Change conditional to
14978 [!__ASSUME_SENDMMSG_SOCKETCALL].
14979 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14980 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14981 Define.
14982
14983 [BZ #16610]
14984 * sysdeps/unix/sysv/linux/kernel-features.h
14985 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
14986 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
14987 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
14988 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
14989 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14990 [__i386__ || __sparc__]
14991 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14992 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
14993 (__ASSUME_RECVMMSG): Define instead of using previous
14994 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
14995 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14996 (__ASSUME_RECVMMSG_SYSCALL): Define.
14997 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14998 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14999 Likewise.
15000 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15001 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15002 Likewise.
15003 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15004 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15005 Likewise.
15006 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
15007 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15008 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15009 [__ASSUME_RECVMMSG]: Change condition to
15010 [__ASSUME_RECVMMSG_SOCKETCALL].
15011 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15012 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15013 Define.
15014 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15015 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15016 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15017 Likewise.
15018 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
15019 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15020 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15021 [!__ASSUME_RECVMMSG]: Change condition to
15022 [!__ASSUME_RECVMMSG_SOCKETCALL].
15023 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15024 (__ASSUME_RECVMMSG_SYSCALL): Define.
15025
15026 [BZ #16609]
15027 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
15028 __powerpc__ || __s390__ || __sh__ || __sparc__]
15029 (__ASSUME_SOCKETCALL): Define.
15030 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
15031 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
15032 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
15033 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
15034 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15035 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15036 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
15037 (__ASSUME_ACCEPT4): Define instead of using previous
15038 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
15039 __powerpc__ || __sparc__ || __s390__)] condition.
15040 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15041 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15042 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
15043 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15044 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15045 [!__ASSUME_ACCEPT4]: Change condition to
15046 [!__ASSUME_ACCEPT4_SOCKETCALL].
15047 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15048 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
15049 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
15050 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15051 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
15052 __ASSUME_ACCEPT4_SYSCALL.
15053 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
15054 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
15055 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15056 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
15057 __ASSUME_ACCEPT4_SYSCALL.
15058 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
15059 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15060 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15061 [__ASSUME_ACCEPT4]: Change condition to
15062 [__ASSUME_ACCEPT4_SOCKETCALL].
15063 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15064 (__ASSUME_SOCKETCALL): Define.
15065 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
15066 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15067 (__ASSUME_SOCKETCALL): Define.
15068 (__ASSUME_ACCEPT4): Remove.
15069 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
15070 Define.
15071 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15072 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
15073 Likewise.
15074 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15075 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15076
15077 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
15078 macro.
15079 (HWCAP_ARM_LPAE): Likewise.
15080 (HWCAP_ARM_EVTSTRM): Likewise.
15081 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
15082 Add vpfd32, lpae and evtstrm.
15083 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
15084 Increase to 22.
15085
150862014-02-19 Joseph Myers <joseph@codesourcery.com>
15087
15088 * math/auto-libm-test-in: Add tests of clog10.
15089 * math/auto-libm-test-out: Regenerated.
15090 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
15091 * sysdeps/i386/fpu/libm-test-ulps: Update.
15092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15093
150942014-02-18 Andreas Schwab <schwab@suse.de>
15095
15096 [BZ #16574]
15097 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
15098 Store non-zero if the second buffer was newly allocated.
15099 (send_dg): Likewise.
15100 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
15101 to send_vc and send_dg.
15102 (res_nsend): Pass NULL for ansp2_malloced.
15103 * resolv/res_query.c (__libc_res_nquery): Add parameter
15104 answerp2_malloced and pass it down to __libc_res_nsend.
15105 (res_nquery): Pass additional NULL to __libc_res_nquery.
15106 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
15107 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
15108 second answer buffer if answerp2_malloced was set.
15109 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
15110 (__libc_res_nquerydomain): Add parameter
15111 answerp2_malloced and pass it down to __libc_res_nquery.
15112 (res_nquerydomain): Pass additional NULL to
15113 __libc_res_nquerydomain.
15114 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
15115 additional NULL to __libc_res_nsend and __libc_res_nquery.
15116 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
15117 additional NULL to __libc_res_nsearch.
15118 (_nss_dns_gethostbyname4_r): Revert last change. Use new
15119 parameter of __libc_res_nsearch to check for separately allocated
15120 second buffer.
15121 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
15122 __libc_res_nquery.
15123 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
15124 additional NULL to __libc_res_nquery.
15125 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
15126 __libc_res_nsearch.
15127 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
15128 * include/resolv.h: Update prototypes of __libc_res_nquery,
15129 __libc_res_nsearch, __libc_res_nsend.
15130
151312014-02-18 Joseph Myers <joseph@codesourcery.com>
15132
15133 * math/auto-libm-test-in: Add tests of fma.
15134 * math/auto-libm-test-out: Regenerated.
15135 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
15136 (fma_towardzero_test_data): Likewise.
15137 (fma_downward_test_data): Likewise.
15138 (fma_upward_test_data): Likewise.
15139 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
15140 mpc_mode.
15141 (rounding_modes): Add values for new field.
15142 (func_calc_method): Add value mpfr_fff_f.
15143 (func_calc_desc): Add mpfr_fff_f union field.
15144 (test_function): Add field exact_args.
15145 (FUNC): Add macro argument EXACT_ARGS.
15146 (FUNC_mpfr_f_f): Update call to FUNC.
15147 (FUNC_mpfr_f_f): Likewise.
15148 (FUNC_mpfr_ff_f): Likewise.
15149 (FUNC_mpfr_if_f): Likewise.
15150 (FUNC_mpc_c_f): Likewise.
15151 (FUNC_mpc_c_c): Likewise.
15152 (test_functions): Add fma. Update calls to FUNC.
15153 (handle_input_arg): Add argument exact_args.
15154 (add_test): Update call to handle_input_arg.
15155 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
15156 (output_for_one_input_case): Update call to calc_generic_results.
15157 Recalculate exact zero results in each rounding mode.
15158
15159 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
15160 non-negative before setting low bit.
15161 * math/auto-libm-test-in: Mark one asin test possibly having
15162 spurious underflow.
15163 * math/auto-libm-test-out: Regenerated.
15164 * sysdeps/i386/fpu/libm-test-ulps: Update.
15165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15166
151672014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
15168
15169 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
15170 * sysdeps/unix/sysv/linux/microblaze: Move directory from
15171 ports/sysdeps/unix/sysv/linux/microblaze.
15172 * README: Add missing listing for microblaze*-*-linux-gnu.
15173
151742014-02-16 Ondřej Bílka <neleai@seznam.cz>
15175
15176 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
15177 duplicate code
15178
151792014-02-16 Mike Frysinger <vapier@gentoo.org>
15180
15181 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
15182 * sysdeps/unix/sysv/linux/ia64: Move directory from
15183 ports/sysdeps/unix/sysv/linux/ia64.
15184 * README: Update listing for ia64-*-linux-gnu.
15185
151862014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
15187 Joseph Myers <joseph@codesourcery.com>
15188
15189 * Makeconfig (test-name): New variable.
15190 (evaluate-test): Likewise.
15191 * Makerules (do-test-clean): Remove .test-result files.
15192 (common-mostlyclean): Likewise.
15193 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
15194 * scripts/evaluate-test.sh: New file.
15195
151962014-02-14 Joseph Myers <joseph@codesourcery.com>
15197
15198 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
15199 separate $(objpfx)tst-fopenloc-cmp.out and
15200 $(objpfx)tst-fopenloc-mem.out targets.
15201 (tests): Update dependencies.
15202 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
15203 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
15204 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
15205 (tst-rxspencer-no-utf8-ARGS): New variable.
15206 (tst-rxspencer-no-utf8-ENV): Likewise.
15207 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
15208 instead of $(objpfx)tst-rxspencer-mem.
15209 ($(objpfx)tst-rxspencer-mem): Change target to
15210 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
15211 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
15212 * posix/tst-rxspencer-no-utf8.c: New file.
15213
15214 * elf/Makefile ($(objpfx)order.out): Remove rule.
15215 [$(run-built-tests) = yes] (tests): Depend on
15216 $(objpfx)order-cmp.out.
15217 ($(objpfx)order-cmp.out): New rule.
15218 [$(run-built-tests) = yes] (tests): Depend on
15219 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
15220 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
15221 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
15222 $(objpfx)tst-array5-static-cmp.out.
15223 ($(objpfx)tst-array1.out): Remove rule.
15224 ($(objpfx)tst-array1-cmp.out): New rule.
15225 ($(objpfx)tst-array1-static.out): Remove rule.
15226 ($(objpfx)tst-array1-static-cmp.out): New rule.
15227 ($(objpfx)tst-array2.out): Remove rule.
15228 ($(objpfx)tst-array2-cmp.out): New rule.
15229 ($(objpfx)tst-array3.out): Remove rule.
15230 ($(objpfx)tst-array3-cmp.out): New rule.
15231 ($(objpfx)tst-array4.out): Remove rule.
15232 ($(objpfx)tst-array4-cmp.out): New rule.
15233 ($(objpfx)tst-array5.out): Remove rule.
15234 ($(objpfx)tst-array5-cmp.out): New rule.
15235 ($(objpfx)tst-array5-static.out): Remove rule.
15236 ($(objpfx)tst-array5-static-cmp.out): New rule.
15237 [$(run-built-tests) = yes] (tests): Depend on
15238 $(objpfx)order2-cmp.out.
15239 ($(objpfx)order2.out): Remove rule.
15240 ($(objpfx)order2-cmp.out): New rule.
15241 ($(objpfx)tst-initorder.out): Remove rule.
15242 [$(run-built-tests) = yes] (tests): Depend on
15243 $(objpfx)tst-initorder-cmp.out.
15244 ($(objpfx)tst-initorder-cmp.out): New rule.
15245 ($(objpfx)tst-initorder2.out): Remove rule.
15246 [$(run-built-tests) = yes] (tests): Depend on
15247 $(objpfx)tst-initorder2-cmp.out.
15248 ($(objpfx)tst-initorder2-cmp.out): New rule.
15249 [$(run-built-tests) = yes] (tests): Depend on
15250 $(objpfx)tst-unused-dep-cmp.out.
15251 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
15252 ($(objpfx)tst-unused-dep-cmp.out): New rule.
15253 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
15254 on $(objpfx)tst-setvbuf1-cmp.out.
15255 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
15256 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
15257 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
15258 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
15259 ($(objpfx)tst-svc.out): Remove rule.
15260 ($(objpfx)tst-svc-cmp.out): New rule.
15261
152622014-02-13 Joseph Myers <joseph@codesourcery.com>
15263
15264 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
15265 * ctype/ctype.h [__USE_MISC]: Likewise.
15266 * dirent/dirent.h [__USE_MISC]: Likewise.
15267 * grp/grp.h [__USE_MISC]: Likewise.
15268 * io/fcntl.h [__USE_MISC]: Likewise.
15269 * io/sys/stat.h [__USE_MISC]: Likewise.
15270 * libio/stdio.h [__USE_MISC]: Likewise.
15271 * posix/unistd.h [__USE_MISC]: Likewise.
15272 * pwd/pwd.h [__USE_MISC]: Likewise.
15273 * stdlib.h [__USE_MISC]: Likewise.
15274 * string/bits/string2.h [__USE_MISC]: Likewise.
15275 * string/string.h [__USE_MISC]: Likewise.
15276 * time/time.h [__USE_MISC]: Likewise.
15277
152782014-02-13 Andreas Schwab <schwab@suse.de>
15279
15280 [BZ #16574]
15281 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
15282 second answer buffer if it was separately allocated.
15283
152842014-02-12 Joseph Myers <joseph@codesourcery.com>
15285
15286 * sysdeps/mips/math-tests.h: Include <features.h>.
15287 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15288 (ROUNDING_TESTS_long_double): Do not define.
15289 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15290 (EXCEPTION_TESTS_long_double): Likewise.
15291 * sysdeps/mips/mips64/libm-test-ulps: Update.
15292
15293 * include/features.h (__USE_BSD): Remove macro definitions.
15294 (__USE_SVID): Likewise.
15295 (_BSD_SOURCE): Likewise.
15296 (_SVID_SOURCE): Likewise.
15297 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
15298 from definition of _DEFAULT_SOURCE.
15299 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
15300 [_DEFAULT_SOURCE].
15301 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
15302 * bits/mman.h [__USE_BSD]: Likewise.
15303 * bits/termios.h [__USE_BSD]: Likewise.
15304 * bits/waitstatus.h [__USE_BSD]: Likewise.
15305 * ctype/ctype.h [__USE_SVID]: Likewise.
15306 * dirent/dirent.h [__USE_BSD]: Likewise.
15307 * grp/grp.h [__USE_SVID]: Likewise.
15308 [__USE_BSD]: Likewise.
15309 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
15310 * io/fcntl.h [__USE_BSD]: Likewise.
15311 * io/ftw.h [__USE_BSD]: Likewise.
15312 * io/sys/stat.h [__USE_BSD]: Likewise.
15313 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
15314 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
15315 * libio/stdio.h [__USE_SVID]: Likewise.
15316 [__USE_BSD]: Likewise.
15317 * math/math.h [__USE_SVID]: Likewise.
15318 [__USE_BSD]: Likewise.
15319 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
15320 * misc/bits/syslog.h [__USE_BSD]: Likewise.
15321 * misc/search.h [__USE_SVID]: Likewise.
15322 * misc/sys/mman.h [__USE_BSD]: Likewise.
15323 * misc/sys/syslog.h [__USE_BSD]: Likewise.
15324 * misc/sys/uio.h [__USE_BSD]: Likewise.
15325 * posix/bits/unistd.h [__USE_BSD]: Likewise.
15326 * posix/glob.h [__USE_BSD]: Likewise.
15327 * posix/regex.h [__USE_BSD]: Likewise.
15328 * posix/sys/types.h [__USE_BSD]: Likewise.
15329 [__USE_SVID]: Likewise.
15330 * posix/sys/utsname.h [__USE_SVID]: Likewise.
15331 * posix/sys/wait.h [__USE_BSD]: Likewise.
15332 [__USE_SVID]: Likewise.
15333 * posix/unistd.h [__USE_BSD]: Likewise.
15334 [__USE_SVID]: Likewise.
15335 * pwd/pwd.h [__USE_SVID]: Likewise.
15336 * resolv/netdb.h [__USE_BSD]: Likewise.
15337 * setjmp/setjmp.h [__USE_BSD]: Likewise.
15338 * signal/signal.h [__USE_BSD]: Likewise.
15339 [__USE_SVID]: Likewise.
15340 * socket/sys/socket.h [__USE_BSD]: Likewise.
15341 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
15342 * stdlib/stdlib.h [__USE_BSD]: Likewise.
15343 [__USE_SVID]: Likewise.
15344 * string/bits/string2.h [__USE_BSD]: Likewise.
15345 [__USE_SVID]: Likewise.
15346 * string/bits/string3.h [__USE_BSD]: Likewise.
15347 * string/endian.h [__USE_BSD]: Likewise.
15348 * string/string.h [__USE_SVID]: Likewise.
15349 [__USE_BSD]: Likewise.
15350 * string/strings.h [__USE_BSD]: Likewise.
15351 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
15352 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
15353 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
15354 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
15355 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
15356 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
15357 Likewise.
15358 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
15359 Likewise.
15360 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
15361 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
15362 Likewise.
15363 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
15364 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
15365 Likewise.
15366 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
15367 Likewise.
15368 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
15369 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
15370 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
15371 Likewise.
15372 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
15373 Likewise.
15374 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
15375 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
15376 * termios/termios.h [__USE_BSD]: Likewise.
15377 * time/sys/time.h [__USE_BSD]: Likewise.
15378 * time/time.h [__USE_BSD]: Likewise.
15379 [__USE_SVID]: Likewise.
15380
15381 * Makefile (subdir_targets): Remove subdir_lint.out.
15382
15383 * stdio-common/Makefile (do-tst-unbputc): Remove target.
15384 (do-tst-printf): Likewise.
15385 (tests): Depend directly on $(objpfx)tst-unbputc.out and
15386 $(objpfx)tst-printf.out.
15387
15388 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
15389
15390 * Makerules (check-abi-%): Change target to
15391 $(objpfx)check-abi-%.out.
15392 (check-abi target): Update dependencies.
15393 (check-abi-pattern variable): Redirect output of diff to $@.
15394 (check-abi variable): Likewise.
15395 * elf/Makefile (check-abi): Update dependencies.
15396
15397 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
15398 unused.
15399 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
15400 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
15401 subnormal range.
15402 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
15403 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
15404 value has largest subnormal exponent.
15405 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
15406 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
15407 * sysdeps/aarch64/soft-fp/sfp-machine.h
15408 (_FP_TININESS_AFTER_ROUNDING): New macro.
15409 * sysdeps/alpha/soft-fp/sfp-machine.h
15410 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15411 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15412 Likewise.
15413 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
15414 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15415 * sysdeps/mips/soft-fp/sfp-machine.h
15416 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15417 * sysdeps/powerpc/soft-fp/sfp-machine.h
15418 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15419 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15420 Likewise.
15421 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15422 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15423 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15424 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15425 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15426 Likewise.
15427
154282014-02-12 Dylan Alex Simon <dylan@dylex.net>
15429
15430 [BZ #16545]
15431 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
15432 model 1.
15433
154342014-02-12 Richard Henderson <rth@redhat.com>
15435
15436 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
15437 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
15438 * sysdeps/unix/sysv/linux/alpha: Move directory from
15439 ports/sysdeps/unix/sysv/linux/alpha.
15440 * README: Update listing for alpha-*-linux-gnu.
15441
154422014-02-11 Joseph Myers <joseph@codesourcery.com>
15443
15444 * include/features.h: Update comment documenting feature test
15445 macros.
15446 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
15447 _DEFAULT_SOURCE.
15448 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
15449 (_SVID_SOURCE): Likewise.
15450 (_DEFAULT_SOURCE): Update description of default features.
15451 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
15452 with _GNU_SOURCE.
15453 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
15454 (S_ISVTX): Likewise.
15455 * manual/math.texi (Mathematical Constants): Likewise.
15456 * manual/signal.texi (Interrupted Primitives): Likewise.
15457 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
15458 * math/test-matherr.c (_SVID_SOURCE): Do not define.
15459 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
15460 Don't refer to _SVID_SOURCE in warning text.
15461
15462 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15463
15464 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
15465 already defined.
15466 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
15467 * sysdeps/mips/dl-lookup.c: Remove.
15468 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
15469
154702014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
15471
15472 [BZ #16447]
15473 * math/auto-libm-test-in: Add testcase for expl.
15474 * math/auto-libm-test-out: Regenerate.
15475 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
15476 calculation of unsafe.
15477 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
15478
154792014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
15480
15481 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
15482 * sysdeps/unix/sysv/linux/aarch64: Move directory from
15483 ports/sysdeps/unix/sysv/linux/aarch64.
15484 * README: Update listing for aarch64*-*-linux-gnu.
15485
154862014-02-11 Will Newton <will.newton@linaro.org>
15487
15488 * manual/probes.texi (Mathematical Function Probes): Use
15489 "triggered" instead of "hit".
15490
15491 * manual/probes.texi (Internal Probes): Add documentation
15492 of setjmp, longjmp and longjmp_target probes.
15493
15494 * include/stap-probe.h: Add comment about probe argument
15495 format.
15496
15497 * malloc/mtrace.c (attribute_hidden): Remove unused macro
15498 definition. (tr_where, tr_freehook, tr_mallochook,
15499 tr_reallochook, tr_memalignhook): Use ANSI protoype.
15500
155012014-02-11 David S. Miller <davem@davemloft.net>
15502
15503 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
15504 processing int_tests.
15505
155062014-02-10 Joseph Myers <joseph@codesourcery.com>
15507
15508 * sysdeps/mips: Move directory from ports/sysdeps/mips.
15509 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
15510 * sysdeps/unix/sysv/linux/mips: Move directory from
15511 ports/sysdeps/unix/sysv/linux/mips.
15512 * README: Update listing for mips-*-linux-gnu and
15513 mips64-*-linux-gnu.
15514
155152014-02-10 Andreas Schwab <schwab@linux-m68k.org>
15516
15517 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
15518 * sysdeps/unix/sysv/linux/m68k: Move directory from
15519 ports/sysdeps/unix/sysv/linux/m68k.
15520 * README: Update listing for m68k-*-linux-gnu.
15521
155222014-02-10 Chris Metcalf <cmetcalf@tilera.com>
15523
15524 * sysdeps/tile: Move directory from ports/sysdeps/tile.
15525 * sysdeps/unix/sysv/linux/generic: Move directory from
15526 ports/sysdeps/unix/sysv/linux/generic.
15527 * sysdeps/unix/sysv/linux/tile: Move directory from
15528 ports/sysdeps/unix/sysv/linux/tile.
15529 * README: Update listing for tile*-*-linux-gnu.
15530
155312014-02-10 Ondřej Bílka <neleai@seznam.cz>
15532
15533 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
15534 __builtin_expect.
15535 * benchtests/bench-memmem.c (simple_memmem): Likewise.
15536 * catgets/open_catalog.c (__open_catalog): Likewise.
15537 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
15538 * debug/confstr_chk.c: Likewise.
15539 * debug/fread_chk.c (__fread_chk): Likewise.
15540 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
15541 * debug/getgroups_chk.c: Likewise.
15542 * debug/mbsnrtowcs_chk.c: Likewise.
15543 * debug/mbsrtowcs_chk.c: Likewise.
15544 * debug/mbstowcs_chk.c: Likewise.
15545 * debug/memcpy_chk.c: Likewise.
15546 * debug/memmove_chk.c: Likewise.
15547 * debug/mempcpy_chk.c: Likewise.
15548 * debug/memset_chk.c: Likewise.
15549 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15550 * debug/strcat_chk.c (__strcat_chk): Likewise.
15551 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
15552 * debug/strncat_chk.c (__strncat_chk): Likewise.
15553 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
15554 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
15555 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
15556 * debug/wcpncpy_chk.c: Likewise.
15557 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15558 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
15559 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
15560 * debug/wcsncpy_chk.c: Likewise.
15561 * debug/wcsnrtombs_chk.c: Likewise.
15562 * debug/wcsrtombs_chk.c: Likewise.
15563 * debug/wcstombs_chk.c: Likewise.
15564 * debug/wmemcpy_chk.c: Likewise.
15565 * debug/wmemmove_chk.c: Likewise.
15566 * debug/wmempcpy_chk.c: Likewise.
15567 * debug/wmemset_chk.c: Likewise.
15568 * dirent/scandirat.c (SCANDIRAT): Likewise.
15569 * dlfcn/dladdr1.c (dladdr1): Likewise.
15570 * dlfcn/dladdr.c (dladdr): Likewise.
15571 * dlfcn/dlclose.c (dlclose_doit): Likewise.
15572 * dlfcn/dlerror.c (__dlerror): Likewise.
15573 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
15574 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
15575 * dlfcn/dlopen.c (dlopen_doit): Likewise.
15576 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
15577 * dlfcn/dlsym.c (dlsym_doit): Likewise.
15578 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
15579 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
15580 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
15581 Likewise.
15582 * elf/dl-conflict.c: Likewise.
15583 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
15584 * elf/dl-dst.h: Likewise.
15585 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
15586 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
15587 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
15588 * elf/dl-init.c (call_init, _dl_init): Likewise.
15589 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
15590 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
15591 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
15592 Likewise.
15593 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
15594 Likewise.
15595 * elf/dl-minimal.c (__libc_memalign): Likewise.
15596 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
15597 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15598 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
15599 * elf/dl-sym.c (do_sym): Likewise.
15600 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
15601 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
15602 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
15603 * elf/dl-writev.h (_dl_writev): Likewise.
15604 * elf/ldconfig.c (search_dir): Likewise.
15605 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
15606 (dl_main): Likewise.
15607 * elf/setup-vdso.h (setup_vdso): Likewise.
15608 * grp/compat-initgroups.c (compat_call): Likewise.
15609 * grp/fgetgrent.c (fgetgrent): Likewise.
15610 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
15611 * grp/putgrent.c (putgrent): Likewise.
15612 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15613 Likewise.
15614 * hurd/hurdinit.c: Likewise.
15615 * iconvdata/8bit-gap.c (struct): Likewise.
15616 * iconvdata/ansi_x3.110.c : Likewise.
15617 * iconvdata/big5.c : Likewise.
15618 * iconvdata/big5hkscs.c : Likewise.
15619 * iconvdata/cp1255.c: Likewise.
15620 * iconvdata/cp1258.c : Likewise.
15621 * iconvdata/cp932.c : Likewise.
15622 * iconvdata/euc-cn.c: Likewise.
15623 * iconvdata/euc-jisx0213.c : Likewise.
15624 * iconvdata/euc-jp.c: Likewise.
15625 * iconvdata/euc-jp-ms.c : Likewise.
15626 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
15627 * iconvdata/gb18030.c : Likewise.
15628 * iconvdata/gbbig5.c (const): Likewise.
15629 * iconvdata/gbgbk.c: Likewise.
15630 * iconvdata/gbk.c : Likewise.
15631 * iconvdata/ibm1364.c : Likewise.
15632 * iconvdata/ibm930.c : Likewise.
15633 * iconvdata/ibm932.c: Likewise.
15634 * iconvdata/ibm933.c : Likewise.
15635 * iconvdata/ibm935.c : Likewise.
15636 * iconvdata/ibm937.c : Likewise.
15637 * iconvdata/ibm939.c : Likewise.
15638 * iconvdata/ibm943.c: Likewise.
15639 * iconvdata/iso_11548-1.c: Likewise.
15640 * iconvdata/iso-2022-cn.c : Likewise.
15641 * iconvdata/iso-2022-cn-ext.c : Likewise.
15642 * iconvdata/iso-2022-jp-3.c: Likewise.
15643 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
15644 * iconvdata/iso-2022-kr.c : Likewise.
15645 * iconvdata/iso646.c (gconv_end): Likewise.
15646 * iconvdata/iso_6937-2.c : Likewise.
15647 * iconvdata/iso_6937.c : Likewise.
15648 * iconvdata/iso8859-1.c: Likewise.
15649 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
15650 * iconvdata/shift_jisx0213.c : Likewise.
15651 * iconvdata/sjis.c : Likewise.
15652 * iconvdata/t.61.c : Likewise.
15653 * iconvdata/tcvn5712-1.c : Likewise.
15654 * iconvdata/tscii.c: Likewise.
15655 * iconvdata/uhc.c : Likewise.
15656 * iconvdata/unicode.c (gconv_end): Likewise.
15657 * iconvdata/utf-16.c (gconv_end): Likewise.
15658 * iconvdata/utf-32.c (gconv_end): Likewise.
15659 * iconvdata/utf-7.c (base64): Likewise.
15660 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
15661 * iconv/gconv_close.c (__gconv_close): Likewise.
15662 * iconv/gconv_open.c (__gconv_open): Likewise.
15663 * iconv/gconv_simple.c (internal_ucs4_loop_single)
15664 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
15665 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
15666 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
15667 (ucs4le_internal_loop_single): Likewise.
15668 * iconv/iconv.c (iconv): Likewise.
15669 * iconv/iconv_close.c: Likewise.
15670 * iconv/loop.c (SINGLE): Likewise.
15671 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
15672 * include/atomic.h: Likewise.
15673 * inet/inet6_option.c (option_alloc): Likewise.
15674 * intl/bindtextdom.c (set_binding_values): Likewise.
15675 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
15676 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
15677 * intl/localealias.c (read_alias_file): Likewise.
15678 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15679 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
15680 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
15681 * libio/fmemopen.c (fmemopen): Likewise.
15682 * libio/iofgets.c (_IO_fgets): Likewise.
15683 * libio/iofgets_u.c (fgets_unlocked): Likewise.
15684 * libio/iofgetws.c (fgetws): Likewise.
15685 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
15686 * libio/iogetdelim.c (_IO_getdelim): Likewise.
15687 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
15688 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
15689 * locale/findlocale.c (_nl_find_locale): Likewise.
15690 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
15691 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
15692 Likewise.
15693 * locale/setlocale.c (setlocale): Likewise.
15694 * login/programs/pt_chown.c (main): Likewise.
15695 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
15696 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
15697 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
15698 (mmap, mmap64, mremap, munmap): Likewise.
15699 * math/e_exp2l.c: Likewise.
15700 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
15701 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
15702 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
15703 * math/s_catan.c (__catan): Likewise.
15704 * math/s_catanf.c (__catanf): Likewise.
15705 * math/s_catanh.c (__catanh): Likewise.
15706 * math/s_catanhf.c (__catanhf): Likewise.
15707 * math/s_catanhl.c (__catanhl): Likewise.
15708 * math/s_catanl.c (__catanl): Likewise.
15709 * math/s_ccosh.c (__ccosh): Likewise.
15710 * math/s_ccoshf.c (__ccoshf): Likewise.
15711 * math/s_ccoshl.c (__ccoshl): Likewise.
15712 * math/s_cexp.c (__cexp): Likewise.
15713 * math/s_cexpf.c (__cexpf): Likewise.
15714 * math/s_cexpl.c (__cexpl): Likewise.
15715 * math/s_clog10.c (__clog10): Likewise.
15716 * math/s_clog10f.c (__clog10f): Likewise.
15717 * math/s_clog10l.c (__clog10l): Likewise.
15718 * math/s_clog.c (__clog): Likewise.
15719 * math/s_clogf.c (__clogf): Likewise.
15720 * math/s_clogl.c (__clogl): Likewise.
15721 * math/s_csin.c (__csin): Likewise.
15722 * math/s_csinf.c (__csinf): Likewise.
15723 * math/s_csinh.c (__csinh): Likewise.
15724 * math/s_csinhf.c (__csinhf): Likewise.
15725 * math/s_csinhl.c (__csinhl): Likewise.
15726 * math/s_csinl.c (__csinl): Likewise.
15727 * math/s_csqrt.c (__csqrt): Likewise.
15728 * math/s_csqrtf.c (__csqrtf): Likewise.
15729 * math/s_csqrtl.c (__csqrtl): Likewise.
15730 * math/s_ctan.c (__ctan): Likewise.
15731 * math/s_ctanf.c (__ctanf): Likewise.
15732 * math/s_ctanh.c (__ctanh): Likewise.
15733 * math/s_ctanhf.c (__ctanhf): Likewise.
15734 * math/s_ctanhl.c (__ctanhl): Likewise.
15735 * math/s_ctanl.c (__ctanl): Likewise.
15736 * math/w_pow.c: Likewise.
15737 * math/w_powf.c: Likewise.
15738 * math/w_powl.c: Likewise.
15739 * math/w_scalb.c (sysv_scalb): Likewise.
15740 * math/w_scalbf.c (sysv_scalbf): Likewise.
15741 * math/w_scalbl.c (sysv_scalbl): Likewise.
15742 * misc/error.c (error_tail): Likewise.
15743 * misc/pselect.c (__pselect): Likewise.
15744 * nis/nis_callback.c (__nis_create_callback): Likewise.
15745 * nis/nis_call.c (__nisfind_server): Likewise.
15746 * nis/nis_creategroup.c (nis_creategroup): Likewise.
15747 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
15748 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
15749 * nis/nis_getservlist.c (nis_getservlist): Likewise.
15750 * nis/nis_lookup.c (nis_lookup): Likewise.
15751 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
15752 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
15753 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
15754 * nis/nis_xdr.c (xdr_endpoint): Likewise.
15755 * nis/nss_compat/compat-grp.c (getgrent_next_file)
15756 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
15757 * nis/nss_compat/compat-initgroups.c (add_group)
15758 (internal_getgrent_r): Likewise.
15759 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
15760 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
15761 * nis/nss_compat/compat-spwd.c (getspent_next_file)
15762 (internal_getspnam_r): Likewise.
15763 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
15764 (_nss_nis_getaliasbyname_r): Likewise.
15765 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
15766 (_nss_nis_getntohost_r): Likewise.
15767 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
15768 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
15769 (_nss_nis_getgrgid_r): Likewise.
15770 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
15771 (internal_nis_gethostent_r, internal_gethostbyname2_r)
15772 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
15773 (_nss_nis_gethostbyname4_r): Likewise.
15774 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
15775 (initgroups_netid): Likewise.
15776 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
15777 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
15778 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
15779 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
15780 (_nss_nis_getprotobynumber_r): Likewise.
15781 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
15782 (_nss_nis_getsecretkey): Likewise.
15783 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
15784 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
15785 (_nss_nis_getpwuid_r): Likewise.
15786 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
15787 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
15788 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
15789 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
15790 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
15791 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
15792 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
15793 Likewise.
15794 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
15795 (_nss_nisplus_getntohost_r): Likewise.
15796 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
15797 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
15798 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
15799 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
15800 Likewise.
15801 * nis/nss_nisplus/nisplus-initgroups.c
15802 (_nss_nisplus_initgroups_dyn): Likewise.
15803 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
15804 (_nss_nisplus_getnetbyaddr_r): Likewise.
15805 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
15806 (_nss_nisplus_getprotobynumber_r): Likewise.
15807 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
15808 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
15809 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
15810 Likewise.
15811 * nis/nss_nisplus/nisplus-service.c
15812 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
15813 (_nss_nisplus_getservbyport_r): Likewise.
15814 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
15815 (_nss_nisplus_getspnam_r): Likewise.
15816 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
15817 Likewise.
15818 * nscd/aicache.c (addhstaiX): Likewise.
15819 * nscd/cache.c (cache_search, prune_cache): Likewise.
15820 * nscd/connections.c (register_traced_file, send_ro_fd)
15821 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
15822 (main_loop_epoll): Likewise.
15823 * nscd/grpcache.c (addgrbyX): Likewise.
15824 * nscd/hstcache.c (addhstbyX): Likewise.
15825 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15826 * nscd/mem.c (gc, mempool_alloc): Likewise.
15827 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
15828 (addinnetgrX): Likewise.
15829 * nscd/nscd-client.h (__nscd_acquire_maplock)
15830 (__nscd_drop_map_ref): Likewise.
15831 * nscd/nscd_getai.c (__nscd_getai): Likewise.
15832 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15833 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
15834 Likewise.
15835 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
15836 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15837 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
15838 (__nscd_get_map_ref): Likewise.
15839 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
15840 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
15841 Likewise.
15842 * nscd/pwdcache.c (addpwbyX): Likewise.
15843 * nscd/selinux.c (preserve_capabilities): Likewise.
15844 * nscd/servicescache.c (addservbyX): Likewise.
15845 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
15846 * posix/fnmatch.c (fnmatch): Likewise.
15847 * posix/getopt.c (_getopt_internal_r): Likewise.
15848 * posix/glob.c (glob, glob_in_dir): Likewise.
15849 * posix/wordexp.c (exec_comm_child): Likewise.
15850 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
15851 (getanswer_r, gaih_getanswer_slice): Likewise.
15852 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
15853 * resolv/res_init.c: Likewise.
15854 * resolv/res_mkquery.c (res_nmkquery): Likewise.
15855 * resolv/res_query.c (__libc_res_nquery): Likewise.
15856 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
15857 Likewise.
15858 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
15859 * stdio-common/perror.c (perror): Likewise.
15860 * stdio-common/printf_fp.c (___printf_fp): Likewise.
15861 * stdio-common/tmpnam.c (tmpnam): Likewise.
15862 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15863 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
15864 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15865 Likewise.
15866 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
15867 * stdlib/putenv.c (putenv): Likewise.
15868 * stdlib/setenv.c (__add_to_environ): Likewise.
15869 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15870 * stdlib/strtol_l.c (INTERNAL): Likewise.
15871 * string/memmem.c (memmem): Likewise.
15872 * string/strerror.c (strerror): Likewise.
15873 * string/strnlen.c (__strnlen): Likewise.
15874 * string/test-memmem.c (simple_memmem): Likewise.
15875 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
15876 * sunrpc/pm_getport.c (__get_socket): Likewise.
15877 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
15878 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
15879 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
15880 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
15881 Likewise.
15882 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
15883 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15884 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
15885 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
15886 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
15887 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
15888 Likewise.
15889 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
15890 Likewise.
15891 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
15892 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
15893 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15894 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15895 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15896 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
15897 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15898 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
15899 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
15900 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
15901 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15902 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15903 Likewise.
15904 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
15905 Likewise.
15906 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
15907 Likewise.
15908 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
15909 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15910 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
15911 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
15912 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
15913 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
15914 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15915 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
15916 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
15917 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
15918 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
15919 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15920 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15921 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
15922 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15923 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15924 Likewise.
15925 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
15926 Likewise.
15927 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
15928 Likewise.
15929 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
15930 Likewise.
15931 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15932 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15933 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
15934 Likewise.
15935 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
15936 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
15937 * sysdeps/posix/opendir.c (__opendirat): Likewise.
15938 * sysdeps/posix/sleep.c: Likewise.
15939 * sysdeps/posix/tempname.c: Likewise.
15940 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
15941 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15942 Likewise.
15943 * sysdeps/powerpc/powerpc32/dl-machine.h
15944 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
15945 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15946 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15947 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
15948 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
15949 Likewise.
15950 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
15951 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
15952 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15953 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
15954 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15955 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
15956 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
15957 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
15958 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15959 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
15960 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
15961 (elf_machine_lazy_rel): Likewise.
15962 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15963 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
15964 (elf_machine_lazy_rel): Likewise.
15965 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
15966 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
15967 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
15968 * sysdeps/unix/grantpt.c (grantpt): Likewise.
15969 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
15970 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
15971 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
15972 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15973 Likewise.
15974 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15975 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15976 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
15977 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
15978 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15979 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15980 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
15981 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
15982 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
15983 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15984 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15985 Likewise.
15986 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
15987 (__posix_fallocate64_l64): Likewise.
15988 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
15989 (posix_fallocate): Likewise.
15990 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
15991 Likewise.
15992 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15993 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
15994 (getifaddrs_internal): Likewise.
15995 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
15996 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
15997 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
15998 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
15999 * sysdeps/unix/sysv/linux/posix_fallocate64.c
16000 (__posix_fallocate64_l64): Likewise.
16001 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
16002 Likewise.
16003 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
16004 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
16005 (__get_clockfreq): Likewise.
16006 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
16007 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16008 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
16009 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16010 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16011 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
16012 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
16013 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
16014 Likewise.
16015 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
16016 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
16017 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16018 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
16019 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16020 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
16021 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
16022 Likewise.
16023 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16024 (posix_fallocate): Likewise.
16025 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16026 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16027 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
16028 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
16029 (elf_machine_rela, elf_machine_rela_relative)
16030 (elf_machine_lazy_rel): Likewise.
16031 * time/asctime.c (asctime_internal): Likewise.
16032 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
16033 * time/tzset.c (__tzset_parse_tz): Likewise.
16034 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16035 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16036 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
16037 * wcsmbs/wcsmbsload.h: Likewise.
16038
16039 [BZ #15894]
16040 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
16041
16042 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
16043 (arena_get2): Remove THREAD_STATS conditionals.
16044 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
16045 (__malloc_stats, int): Likewise.
16046
160472014-02-08 Mike Frysinger <vapier@gentoo.org>
16048
16049 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
16050 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
16051
16052 * manual/setjmp.texi: Fix typos/grammar errors.
16053
16054 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
16055 Only return early when n is <= 0. Delete unused return statement.
16056
16057 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
16058 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
16059 * debug/tst-longjmp_chk3.c: New file.
16060
16061 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
16062 (test_main): Replace code with set_fortify_handler call.
16063 * debug/test-strcpy_chk.c: Likewise.
16064 * debug/tst-chk1.c: Likewise.
16065 * debug/tst-longjmp_chk.c: Likewise.
16066 * test-skeleton.c: Include fcntl.h & paths.h
16067 (set_fortify_handler): Define.
16068
16069 * debug/tst-longjmp_chk.c: Add header comment and include
16070 ../test-skeleton.c.
16071 (do_test): Mark static.
16072 (TEST_FUNCTION): Define.
16073
16074 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
16075 (IP_PMTUDISC_INTERFACE): Likewise.
16076 (IP_MULTICAST_IF): Likewise.
16077 (IP_MULTICAST_TTL): Likewise.
16078 (IP_MULTICAST_LOOP): Likewise.
16079 (IP_ADD_MEMBERSHIP): Likewise.
16080 (IP_DROP_MEMBERSHIP): Likewise.
16081 (IP_UNBLOCK_SOURCE): Likewise.
16082 (IP_BLOCK_SOURCE): Likewise.
16083 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
16084 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
16085 (IP_MSFILTER): Likewise.
16086 (MCAST_JOIN_GROUP): Likewise.
16087 (MCAST_BLOCK_SOURCE): Likewise.
16088 (MCAST_UNBLOCK_SOURCE): Likewise.
16089 (MCAST_LEAVE_GROUP): Likewise.
16090 (MCAST_JOIN_SOURCE_GROUP): Likewise.
16091 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16092 (MCAST_MSFILTER): Likewise.
16093 (IP_MULTICAST_ALL): Likewise.
16094 (IP_UNICAST_IF): Likewise.
16095
16096 * timezone/Makefile: Delete $(have-ksh) check.
16097 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
16098 * timezone/tzselect.ksh: Add +x mode bits.
16099
16100 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
16101 (ANON_INODE_FS_MAGIC): Likewise.
16102 (BDEVFS_MAGIC): Likewise.
16103 (BINFMTFS_MAGIC): Likewise.
16104 (BTRFS_TEST_MAGIC): Likewise.
16105 (CRAMFS_MAGIC_WEND): Likewise.
16106 (DEBUGFS_MAGIC): Likewise.
16107 (ECRYPTFS_SUPER_MAGIC): Likewise.
16108 (EXT3_SUPER_MAGIC): Likewise.
16109 (EXT4_SUPER_MAGIC): Likewise.
16110 (FUTEXFS_SUPER_MAGIC): Likewise.
16111 (HOSTFS_SUPER_MAGIC): Likewise.
16112 (HUGETLBFS_MAGIC): Likewise.
16113 (MINIX3_SUPER_MAGIC): Likewise.
16114 (MTD_INODE_FS_MAGIC): Likewise.
16115 (NILFS_SUPER_MAGIC): Likewise.
16116 (OPENPROM_SUPER_MAGIC): Likewise.
16117 (PIPEFS_MAGIC): Likewise.
16118 (PSTOREFS_MAGIC): Likewise.
16119 (QNX6_SUPER_MAGIC): Likewise.
16120 (RAMFS_MAGIC): Likewise.
16121 (REISERFS_SUPER_MAGIC_STRING): Likewise.
16122 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
16123 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
16124 (SECURITYFS_MAGIC): Likewise.
16125 (SELINUX_MAGIC): Likewise.
16126 (SMACK_MAGIC): Likewise.
16127 (SOCKFS_MAGIC): Likewise.
16128 (SQUASHFS_MAGIC): Likewise.
16129 (STACK_END_MAGIC): Likewise.
16130 (TMPFS_MAGIC): Likewise.
16131 (USBDEVICE_SUPER_MAGIC): Likewise.
16132 (V9FS_MAGIC): Likewise.
16133 (XENFS_SUPER_MAGIC): Likewise.
16134 (CRAMFS_MAGIC): Fix typo in comment.
16135 (EXT2_SUPER_MAGIC): Update comment.
16136 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
16137
161382014-02-08 Joseph Myers <joseph@codesourcery.com>
16139
16140 * sysdeps/arm: Move directory from ports/sysdeps/arm.
16141 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
16142 * sysdeps/unix/sysv/linux/arm: Move directory from
16143 ports/sysdeps/unix/sysv/linux/arm.
16144 * README: Update listing for arm-*-linux-gnueabi.
16145
16146 * README: Remove mention of am33.
16147
161482014-02-07 Roland McGrath <roland@hack.frob.com>
16149
16150 * bits/sigset.h (__sigemptyset): Use a statement expression rather
16151 than the comma operator, to avoid "rhs of comma has no effect"
16152 compiler warnings.
16153 (__sigfillset, __sigandset, __sigorset): Likewise.
16154 * include/signal.h (__sigemptyset): Likewise.
16155 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
16156
161572014-02-07 Allan McRae <allan@archlinux.org>
16158
16159 * version.h (RELEASE): Set to "development".
16160 (VERSION): Set to "2.19.90"
16161 * NEWS: Add 2.20 section.
16162
161632014-02-06 Carlos O'Donell <carlos@redhat.com>
16164
16165 [BZ #16529]
16166 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
16167
161682014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16169
16170 * manual/contrib.texi: Update entry for Carlos O'Donell,
16171 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
16172
161732014-02-05 Carlos O'Donell <carlos@rehdat.com>
16174
16175 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
16176
16177 * sysdeps/unix/sysv/linux/kernel-features.h
16178 [__LINUX_KERNEL_VERSION >= 0x020621]
16179 (__ASSUME_PROC_PID_TASK_COMM): Define.
16180
161812014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16182
16183 [BZ #16398]
16184 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
16185 conversion when destination buffer does not have enough space.
16186 * libio/tst-ftell-partial-wide.c: New test case.
16187 * libio/Makefile (tests): Add tst-ftell-partial-wide.
16188
16189 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
16190 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
16191 Leonard and Allan McRae.
16192
161932014-02-04 David S. Miller <davem@davemloft.net>
16194
16195 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
16196 32-bit.
16197
161982014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16199
16200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16201 New file
16202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16203 New file
16204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16205 New file.
16206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16207 New file.
16208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16209 New file.
16210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16211 New file.
16212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16213 New file.
16214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16215 New file.
16216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16217 New file.
16218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16219 New file.
16220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16221 New file.
16222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16223 New file.
16224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16225 New file.
16226
162272014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16228
16229 * nptl/shlib-versions: Change powerpc*le start to 2.17.
16230 * shlib-versions: Likewise.
16231
162322014-02-04 Roland McGrath <roland@hack.frob.com>
16233 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16234
16235 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
16236 (abilist-pattern): New variable, set to %-le.abilist.
16237
16238 * Makerules (abilist-pattern): New variable.
16239 (vpath): Use $(abilist-pattern) in place of %.abilist.
16240 (check-abi-% pattern rule): Likewise.
16241 (check-abi, update-abi): Likewise.
16242
162432014-02-04 Eric Wong <normalperson@yhbt.net>
16244
16245 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16246
162472014-02-03 Carlos O'Donell <carlos@redhat.com>
16248
16249 * manual/startup.texi: Add next, previous, and top entries for
16250 the `Program Arguments' and `Environment Variables' nodes.
16251
162522014-02-03 Alexandre Oliva <aoliva@redhat.com>
16253
16254 * manual/macros.texi: Add comments before MTASC-safety macros.
16255
16256 * manual/users.texi: Document MTASC-safety properties.
16257
16258 * manual/threads.texi (pthread_key_create, pthread_key_delete)
16259 (pthread_getspecific, pthread_setspecific): Format with
16260 @deftypefun, and add @safety note.
16261 * manual/signal.texi: Move comments that analyze the above
16262 functions to their home place.
16263
162642014-02-03 Allan McRae <allan@archlinux.org>
16265
16266 * po/sl.po: Update Slovenian translation from translation project.
16267
162682014-02-02 Alexandre Oliva <aoliva@redhat.com>
16269
16270 * manual/time.texi (timegm): Add missing blank after @c.
16271 Reported by Joseph Myers <joseph@codesourcery.com>.
16272
162732014-02-01 Alexandre Oliva <aoliva@redhat.com>
16274
16275 * manual/check-safety.sh: New.
16276 * manual/Makefile ($(objpfx)stamp-summary): Run it.
16277
16278 * manual/terminal.texi: Document MTASC-safety properties.
16279
16280 * manual/filesys.texi: Document MTASC-safety properties.
16281
16282 * manual/errno.texi: Document MTASC-safety properties.
16283
16284 * manual/intro.texi: Document safety identifiers and
16285 conditionals.
16286
16287 * manual/string.texi (wcstok): Fix prototype.
16288 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
16289
16290 * manual/time.texi: Document MTASC-safety properties.
16291
16292 * manual/string.texi: Document MTASC-safety properties.
16293
16294 * manual/threads.texi: Document MTASC-safety properties.
16295
16296 * manual/stdio.texi: Document MTASC-safety properties.
16297
16298 * manual/syslog.texi: Document MTASC-safety properties.
16299
16300 * manual/sysinfo.texi: Document MTASC-safety properties.
16301
16302 * manual/startup.texi: Document MTASC-safety properties.
16303
16304 * manual/socket.texi: Document MTASC-safety properties.
16305
16306 * manual/signal.texi: Document MTASC-safety properties.
16307
163082014-01-31 Alexandre Oliva <aoliva@redhat.com>
16309
16310 * manual/setjmp.texi: Document MTASC-safety properties.
16311
16312 * manual/search.texi: Document MTASC-safety properties.
16313
16314 * manual/resource.texi: Document MTASC-safety properties.
16315
16316 * manual/process.texi: Document MTASC-safety properties.
16317
16318 * manual/platform.texi: Document MTASC-safety properties.
16319
16320 * manual/pipe.texi: Document MTASC-safety properties.
16321
16322 * manual/pattern.texi: Document MTASC-safety properties.
16323
16324 * manual/message.texi: Document MTASC-safety properties.
16325
16326 [BZ #12751]
16327 * manual/memory.texi: Document MTASC-safety properties.
16328
16329 * manual/math.texi: Document MTASC-safety properties.
16330
16331 * manual/locale.texi: Document MTASC-safety properties.
16332
16333 * manual/llio.texi: Document MTASC-safety properties.
16334
16335 * manual/libdl.texi: New.
16336
16337 * manual/lang.texi: Document MTASC-safety properties.
16338
16339 * manual/job.texi: Document MTASC-safety properties.
16340
16341 * manual/getopt.texi: Document MTASC-safety properties.
16342
16343 * manual/ctype.texi: Document MTASC-safety properties.
16344
163452014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
16346
16347 [BZ #16046]
16348 * csu/libc-tls.c (static_map): Remove variable.
16349 (__libc_setup_tls): Use main executable's link map for TLS data.
16350 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
16351 casing for LM_ID_BASE and GL(dl_nns).
16352 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
16353 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
16354 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
16355 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
16356 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
16357 member.
16358 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
16359 l_phnum members.
16360
163612014-01-30 Alexandre Oliva <aoliva@redhat.com>
16362
16363 * manual/debug.texi: Document MTASC-safety properties.
16364
163652014-01-29 H.J. Lu <hongjiu.lu@intel.com>
16366
16367 [BZ #16510]
16368 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
16369 of __x86_64__ when disabling x87 inline functions.
16370
163712014-01-29 Alexandre Oliva <aoliva@redhat.com>
16372
16373 * manual/charset.texi: Document MTASC-safety properties.
16374
16375 * manual/crypt.texi: Document MTASC-safety properties.
16376
16377 * manual/conf.texi: Document MTASC-safety properties.
16378
16379 * manual/arith.texi: Document MTASC-safety properties.
16380
16381 * manual/argp.texi: Document MTASC-safety properties.
16382
16383 * manual/macros.texi: Introduce macros to document multi
16384 thread, asynchronous signal and asynchronous cancellation
16385 safety properties.
16386 * manual/intro.texi: Introduce the properties themselves.
16387
163882014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16389
16390 * sysdeps/sh/sh4/Makefile: New file.
16391
163922014-01-27 Andreas Schwab <schwab@linux-m68k.org>
16393
16394 * math/gen-libm-test.pl ($srcdir): New variable.
16395 ($auto_input): Use it.
16396
163972014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16398
16399 [BZ #16506]
16400 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
16401 access beyond array bounds when parsing netgroups file.
16402
16403 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
16404 the old buffer before realloc.
16405
164062014-01-27 Allan McRae <allan@archlinux.org>
16407
16408 * po/fr.po: Update French translation from translation project.
16409
164102014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16411
16412 * sysdeps/sh/libm-test-ulps: Regenerate.
16413
164142014-01-24 David S. Miller <davem@davemloft.net>
16415
16416 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
16417
164182014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16419
16420 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
16421 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
16422
164232013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16424
16425 [BZ #16474]
16426 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
16427 string pointers after reallocation.
16428
164292014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16430
16431 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
16432 __SH4A__ instead of __SH_FPU_ANY__.
16433
164342014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16435
16436 * sysdeps/sh/fpu_control.h: New file.
16437 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
16438 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
16439 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
16440 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
16441 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
16442 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
16443 * sysdeps/sh/sys/ucontext.h: Remove.
16444 * sysdeps/sh/sys: Remove directory.
16445
164462014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16447
16448 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
16449 s390/sys/ucontext.h.
16450 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
16451 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
16452
164532014-01-20 H.J. Lu <hongjiu.lu@intel.com>
16454
16455 [BZ #15605]
16456 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
16457
164582014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16459
16460 [BZ#16431]
16461 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16462 Adjust the vDSO correctly for internal calls.
16463 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
16464
164652014-01-20 Allan McRae <allan@archlinux.org>
16466
16467 * po/ca.po: Update Catalan translation from translation project.
16468
164692014-01-16 Mike Frysinger <vapier@gentoo.org>
16470
16471 * sysdeps/s390/sotruss-lib.c: New file.
16472
164732014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16474
16475 [BZ#16430]
16476 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
16477 (__GI___gettimeofday): Alias for a different internal symbol to avoid
16478 local calls issues by not having a PLT stub required for IFUNC calls.
16479 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
16480
164812014-01-16 Joseph Myers <joseph@codesourcery.com>
16482
16483 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
16484 * math/test-fpucw-static.c: Likewise.
16485
164862013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16487
16488 [BZ #16453]
16489 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
16490
164912014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16492
16493 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
16494 implementation for powerpc.
16495
164962014-01-15 Ondřej Bílka <neleai@seznam.cz>
16497
16498 [BZ #14782]
16499 * sysdeps/posix/system.c (__libc_system): Do not enable
16500 asynchronous cancellation.
16501
165022014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16503
16504 [BZ #16427]
16505 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
16506 handling only for numbers special also in the IEEE case.
16507
165082014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16509
16510 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16511
165122014-01-11 Allan McRae <allan@archlinux.org>
16513
16514 * po/bg.po: Update Bulgarian translation from translation project.
16515
16516 * po/de.po: Update German translation from translation project.
16517
165182014-01-10 Roland McGrath <roland@hack.frob.com>
16519
16520 * sysdeps/generic/gcc-compat.h: New file.
16521
165222014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16523
16524 * benchtests/asin-inputs: Correct slow inputs.
16525 * benchtests/acos-inputs: Likewise.
16526
165272014-01-10 Allan McRae <allan@archlinux.org>
16528
16529 * po:sv.po: Update Swedish translation from translation project.
16530
16531 * po/vi.po: Update Vietnamese translation from translation project.
16532
16533 * po/eo.po: Update Esperanto translation from translation project.
16534
16535 * po/cs.po: Update Czech translation from translation project.
16536
16537 * po/nl.po: Update Dutch translation from translation project.
16538
16539 * po/pl.po: Update Polish translation from translation project.
16540
16541 * po/ru.po: Update Russian translation from translation project.
16542
16543 * po/uk.po: Update Ukrainian translation from translation project.
16544
165452014-01-08 Brooks Moses <bmoses@google.com>
16546
16547 * elf/dl-load.c: Fix comment typo.
16548
165492014-01-08 Carlos O'Donell <carlos@redhat.com>
16550
16551 * po/header.pot: Rename to...
16552 * po/pot.header: ... this.
16553 * po/Makefile: Use pot.header.
16554
165552014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
16556 Maxim Kuvyrkov <maxim@kugelworks.com>
16557
16558 [BZ #16394]
16559 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
16560 SRC and DEST against LEN.
16561
165622014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16563
16564 [BZ #16414]
16565 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
16566 implementation.
16567 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
16568
165692014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16570
16571 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16572
165732014-01-08 Joseph Myers <joseph@codesourcery.com>
16574
16575 [BZ #16408]
16576 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
16577 for large positive arguments.
16578
165792014-01-07 Joseph Myers <joseph@codesourcery.com>
16580
16581 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16582
16583 * math/auto-libm-test-in: Mark various tests with
16584 xfail-rounding:ldbl-128ibm.
16585 * math/auto-libm-test-out: Regenerated.
16586
16587 [BZ #16407]
16588 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16589 Increase overflow threshold.
16590
165912014-01-07 Ondřej Bílka <neleai@seznam.cz>
16592
16593 [BZ #14286]
16594 * stdio-common/vfprintf.c: Check for integer overflow.
16595
165962014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16597
16598 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
16599 the first argument and return value of __tls_get_addr_internal.
16600
166012014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16602
16603 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
16604 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
16605
166062014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16607
16608 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
16609 * sysdeps/s390/rtld-global-offsets.sym: New file.
16610 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
16611 GLIBC_2.19 symbol.
16612 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
16613 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
16614 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
16615 ... this.
16616 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
16617 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
16618 ... this.
16619 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16620 Regenerate.
16621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16622 Regenerate.
16623 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
16624 halfs of GPRs for high_gprs contexts.
16625 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
16626 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
16627 field.
16628 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
16629 uc_flags field.
16630 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
16631 64 bit versions:
16632 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
16633 for high GPRs (uc_high_gprs) and for future extensions
16634 (__reserved).
16635 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
16636 for future extensions (__reserved).
16637 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
16638 64 bit versions:
16639 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
16640 SC_HIGHGPRS offset definition.
16641 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
16642 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
16643
16644 * Versions.def: Add GLIBC_2.19 for libpthread.
16645 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
16646 siglongjmp for libpthread with GLIBC_2.19 symver.
16647 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
16648 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
16649 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
16650 * sysdeps/s390/__longjmp.c: New file.
16651 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
16652 * sysdeps/s390/longjmp.c: New file.
16653 * sysdeps/s390/setjmp.S: New file.
16654 * sysdeps/s390/sigjmp.S: New file.
16655 * sysdeps/s390/v1-longjmp.c: New file.
16656 * sysdeps/s390/v1-setjmp.h: New file.
16657 * sysdeps/s390/v1-sigjmp.c: New file.
16658 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
16659 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
16660 GLIBC_2.19 version.
16661 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
16662 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
16663 versioned symbols for ____longjmp_chk.
16664 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
16665 Likewise.
16666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16667 Regenerate.
16668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16669 Regenerate.
16670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16671 Regenerate.
16672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16673 Regenerate.
16674 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
16675 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
16676 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
16677 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
16678 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
16679 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
16680 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
16681 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
16682 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
16683 * sysdeps/s390/rtld-__longjmp.c: New file.
16684 * sysdeps/s390/rtld-setjmp.S: New file.
16685
166862014-01-06 Joseph Myers <joseph@codesourcery.com>
16687
16688 [BZ #16400]
16689 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16690 Return -__logl (x) for small positive arguments without evaluating
16691 a polynomial.
16692
166932014-01-06 Mike Frysinger <vapier@gentoo.org>
16694
16695 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
16696 Rename to ...
16697 (__ptrace_peeksiginfo_args): ... this.
16698 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16699 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16700 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16701
167022014-01-06 Allan McRae <allan@archlinux.org>
16703
16704 * inet/netinet/in.h: Fix typo in comment.
16705
167062014-01-05 Andreas Jaeger <aj@suse.de>
16707
16708 * sysdeps/i386/fpu/libm-test-ulps: Update.
16709
167102014-01-05 Allan McRae <allan@archlinux.org>
16711
16712 * po/libc.pot: Regenerated.
16713
16714 * malloc/memusagestat.c: Fix gettext call formatting.
16715
167162014-01-04 Sami Kerola <kerolasa@iki.fi>
16717
16718 * nscd/nscd.c: Improve usage() output.
16719
167202014-01-04 Mike Frysinger <vapier@gentoo.org>
16721
16722 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
16723 * sysdeps/unix/sysv/linux/configure: Regenerated.
16724 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
16725 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
16726
167272014-01-03 Joseph Myers <joseph@codesourcery.com>
16728
16729 [BZ #16390]
16730 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16731 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
16732
167332014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16734
16735 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
16736 extra tokens at end of #undef directive.
16737 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
16738 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
16739 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
16740
167412014-01-03 Joseph Myers <joseph@codesourcery.com>
16742
16743 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16744
16745 * math/auto-libm-test-in: Mark various tests with
16746 xfail-rounding:ldbl-128ibm.
16747 * math/auto-libm-test-out: Regenerated.
16748
167492014-01-02 Joseph Myers <joseph@codesourcery.com>
16750
16751 [BZ #16386]
16752 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
16753 numbers with subnormal high part when calculating exponent.
16754
16755 [BZ #16385]
16756 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
16757 fabs.
16758
16759 [BZ #16384]
16760 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
16761 M_LN2l.
16762 (__ieee754_acoshl): Use __log1pl not __log1p.
16763
167642013-01-02 Ondřej Bílka <neleai@seznam.cz>
16765
16766 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
16767 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
16768 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
16769 (grow_heap, heap_trim, _int_new_arena, get_free_list)
16770 (reused_arena, arena_get2): Convert to GNU style.
16771 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
16772 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
16773 (memalign_check, __malloc_set_state): Likewise.
16774 * malloc/mallocbug.c (main): Likewise.
16775 * malloc/malloc.c (__malloc_assert, malloc_init_state)
16776 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
16777 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
16778 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
16779 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
16780 (__posix_memalign, malloc_info): Likewise.
16781 * malloc/malloc.h: Likewise.
16782 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
16783 (mallochook, memalignhook, reallochook, mabort): Likewise.
16784 * malloc/mcheck.h: Likewise.
16785 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
16786 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
16787 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
16788 * malloc/morecore.c (__default_morecore): Likewise.
16789 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
16790 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
16791 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
16792 (print_and_abort): Likewise.
16793 * malloc/obstack.h: Likewise.
16794 * malloc/set-freeres.c (__libc_freeres): Likewise.
16795 * malloc/tst-mallocstate.c (main): Likewise.
16796 * malloc/tst-mtrace.c (main): Likewise.
16797 * malloc/tst-realloc.c (do_test): Likewise.
16798
167992013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16800
16801 [BZ #16366]
16802 * nscd/netgroupcache.c (do_notfound): New function.
16803 (addgetnetgrentX): Use it.
16804
16805 [BZ # 16365]
16806 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
16807 NSS_STATUS_NOTFOUND.
16808
168092014-01-01 Joseph Myers <joseph@codesourcery.com>
16810
16811 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16813
168142014-01-01 Allan McRae <allan@archlinux.org>
16815
16816 * scripts/update-copyrights: Update configure input file suffix.
16817
16818 * NEWS: Update copyright year.
16819 * catgets/gencat.c: Likewise.
16820 * csu/version.c: Likewise.
16821 * debug/catchsegv.sh: Likewise.
16822 * debug/pcprofiledump.c: Likewise.
16823 * debug/xtrace.sh: Likewise.
16824 * elf/ldconfig.c: Likewise.
16825 * elf/ldd.bash.in: Likewise.
16826 * elf/pldd.c: Likewise.
16827 * elf/sotruss.ksh: Likewise.
16828 * elf/sprof.c: Likewise.
16829 * iconv/iconv_prog.c: Likewise.
16830 * iconv/iconvconfig.c: Likewise.
16831 * locale/programs/locale.c: Likewise.
16832 * locale/programs/localedef.c: Likewise.
16833 * login/programs/pt_chown.c: Likewise.
16834 * malloc/memusage.sh: Likewise.
16835 * malloc/memusagestat.c: Likewise.
16836 * malloc/mtrace.pl: Likewise.
16837 * manual/libc.texinfo: Likewise.
16838 * nscd/nscd.c: Likewise.
16839 * nss/getent.c: Likewise.
16840 * nss/makedb.c: Likewise.
16841 * posix/getconf.c: Likewise.
16842 * scripts/test-installation.pl: Likewise.
16843
16844 * All files with FSF copyright notices: Update copyright dates
16845 using scripts/update-copyrights.
16846 * intl/plural.c: Regenerated.
16847 * locale/programs/charmap-kw.h: Likewise.
16848 * locale/programs/locfile-kw.h: Likewise.
16849
168502013-12-31 Mike Frysinger <vapier@gentoo.org>
16851
16852 * sysdeps/unix/sysv/linux/configure: Regenerated.
16853 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
16854 the linux/fanotify.h header.
16855 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
16856 HAVE_LINUX_FANOTIFY_H is defined.
16857
168582013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16859
16860 * benchtests/cos-inputs: New inputs.
16861 * benchtests/sin-inputs: Likewise.
16862
16863 * benchtests/atan-inputs: New inputs. Fix name of multiple
16864 precision fallback inputs.
16865
16866 * benchtests/atanh-inputs: New inputs.
16867 * benchtests/tanh-inputs: Likewise.
16868
16869 * benchtests/acosh-inputs: New inputs.
16870 * benchtests/asinh-inputs: Likewise.
16871
16872 * benchtests/cosh-inputs: New inputs.
16873 * benchtests/sinh-inputs: Likewise.
16874
16875 * benchtests/acos-inputs: Add more inputs.
16876 * benchtests/asin-inputs: Likewise.
16877
168782013-12-30 Ville Skytta <ville.skytta@iki.fi>
16879
16880 [BZ #16375]
16881 * manual/arith.texi: Fix spelling.
16882 * manual/charset.texi: Likewise.
16883 * manual/errno.texi: Likewise.
16884 * manual/filesys.texi: Likewise.
16885 * manual/lang.texi: Likewise.
16886 * manual/llio.texi: Likewise.
16887 * manual/locale.texi: Likewise.
16888 * manual/message.texi: Likewise.
16889 * manual/resource.texi: Likewise.
16890 * manual/search.texi: Likewise.
16891 * manual/setjmp.texi: Likewise.
16892 * manual/stdio.texi: Likewise.
16893 * manual/string.texi: Likewise.
16894 * manual/sysinfo.texi: Likewise.
16895 * manual/time.texi: Likewise.
16896
168972013-12-27 Carlos O'Donell <carlos@redhat.com>
16898
16899 * po/sl.po: New file.
16900
169012013-12-27 Mike Frysinger <vapier@gentoo.org>
16902
16903 * .gitignore: Add core/.gdbinit/.gdb_history.
16904
169052013-12-27 Allan McRae <allan@archlinux.org>
16906
16907 [BZ #16369]
16908 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
16909 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
16910
169112013-12-24 Brooks Moses <bmoses@google.com>
16912
16913 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
16914 all compilers that claim C++98 compliance, not just GCC.
16915 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
16916 Likewise.
16917
169182013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
16919
16920 * NEWS: Restore accidentally deleted bug-fix entries.
16921
169222013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
16923 Ondřej Bílka <neleai@seznam.cz>
16924
16925 [BZ #15073]
16926 * malloc/malloc.c (_int_free): Perform sanity check only if we
16927 have_lock.
16928
169292013-12-23 Ondřej Bílka <neleai@seznam.cz>
16930
16931 [BZ #12986]
16932 * manual/stdio.texi (String Input Conversions): Clarify that character
16933 classes are not supported.
16934
169352013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16936
16937 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16938
169392013-12-22 Joseph Myers <joseph@codesourcery.com>
16940
16941 [BZ #16337]
16942 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16943 Calculate results for small negative arguments directly rather
16944 than using reflection formula with special underflow handling.
16945
16946 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
16947 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
16948 sysdeps/unix/bsd/bsd4.4/syscalls.list.
16949 (fchflags): Likewise.
16950 (revoke): Likewise.
16951 (setlogin): Likewise.
16952 (sigaltstack): Likewise.
16953 (wait4): Likewise.
16954 (sigblock): Remove.
16955 (sigsetmask): Likewise.
16956 (wait3): Likewise.
16957 (waitpid): Likewise.
16958 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
16959 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
16960 file.
16961 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
16962 * sysdeps/unix/bsd/Makefile: ... here.
16963 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
16964 * sysdeps/unix/bsd/Versions: ... here.
16965 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
16966 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
16967 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
16968 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
16969 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
16970 * sysdeps/unix/bsd/sigblock.c: ... here.
16971 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
16972 * sysdeps/unix/bsd/sigsetmask.c: ... here.
16973 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
16974 * sysdeps/unix/bsd/sigvec.c: ... here.
16975 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
16976 * sysdeps/unix/bsd/tcdrain.c: ... here.
16977 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
16978 * sysdeps/unix/bsd/tcgetattr.c: ... here.
16979 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
16980 * sysdeps/unix/bsd/tcsetattr.c: ... here.
16981 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
16982 * sysdeps/unix/bsd/wait.c: ... here.
16983 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
16984 * sysdeps/unix/bsd/wait3.c: ... here.
16985 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
16986 * sysdeps/unix/bsd/waitpid.c: ... here.
16987
169882013-12-21 Joseph Myers <joseph@codesourcery.com>
16989
16990 [BZ #16356]
16991 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
16992 round-to-nearest for [!USE_AS_EXPM1L].
16993 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
16994 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
16995 more tests of exp and exp10. Expect some exp10 tests to miss
16996 exceptions or fail in directed rounding modes.
16997 * math/auto-libm-test-out: Regenerated.
16998 * math/libm-test.inc (exp10_tonearest_test_data): New array.
16999 (exp10_test_tonearest): New function.
17000 (exp10_towardzero_test_data): New array.
17001 (exp10_test_towardzero): New function.
17002 (exp10_downward_test_data): New array.
17003 (exp10_test_downward): New function.
17004 (exp10_upward_test_data): New array.
17005 (exp10_test_upward): New function.
17006 (main): Call the new functions.
17007 * sysdeps/i386/fpu/libm-test-ulps: Update.
17008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17009
170102013-12-20 Joseph Myers <joseph@codesourcery.com>
17011
17012 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17013 asinh, atan, atan2, atanh, cbrt, cos and cosh.
17014 * math/auto-libm-test-out: Regenerated.
17015 * math/libm-test.inc (acosh_test_data): Add more tests.
17016 (atanh_test_data): Likewise.
17017 (ceil_test_data): Likewise.
17018 (copysign_test_data): Likewise.
17019 * sysdeps/i386/fpu/libm-test-ulps: Update.
17020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17021
17022 * timezone/checktab.awk: Update from tzcode 2013i.
17023 * timezone/private.h: Likewise.
17024 * timezone/scheck.c: Likewise.
17025 * timezone/tzfile.h: Likewise.
17026 * timezone/tzselect.ksh: Likewise.
17027 * timezone/zdump.c: Likewise.
17028 * timezone/zic.c: Likewise.
17029
17030 * math/auto-libm-test-in: Add tests of cpow.
17031 * math/auto-libm-test-out: Regenerated.
17032 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
17033 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17034 mpc_cc_c.
17035 (func_calc_desc): Add mpc_cc_c union field.
17036 (test_functions): Add cpow.
17037 (special_fill_2pi): New function.
17038 (special_real_inputs): Add 2pi.
17039 (calc_generic_results): Handle mpc_cc_c.
17040 * sysdeps/i386/fpu/libm-test-ulps: Update.
17041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17042
17043 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
17044 csqrt, ctan and ctanh.
17045 * math/auto-libm-test-out: Regenerated.
17046 * math/libm-test.inc (TEST_COND_x86_64): New macro.
17047 (TEST_COND_x86): Likewise.
17048 (ccos_test_data): Use AUTO_TESTS_c_c.
17049 (ccosh_test_data): Likewise.
17050 (cexp_test_data): Likewise.
17051 (clog_test_data): Likewise.
17052 (csqrt_test_data): Likewise.
17053 (ctan_test_data): Likewise.
17054 (ctan_tonearest_test_data): Likewise.
17055 (ctan_towardzero_test_data): Likewise.
17056 (ctan_downward_test_data): Likewise.
17057 (ctan_upward_test_data): Likewise.
17058 (ctanh_test_data): Likewise.
17059 (ctanh_tonearest_test_data): Likewise.
17060 (ctanh_towardzero_test_data): Likewise.
17061 (ctanh_downward_test_data): Likewise.
17062 (ctanh_upward_test_data): Likewise.
17063 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17064 mpc_c_c.
17065 (func_calc_desc): Add mpc_c_c union field.
17066 (FUNC_mpc_c_c): New macro.
17067 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
17068 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
17069 ctanh.
17070 (special_fill_min_subnorm_p120): New function.
17071 (special_real_inputs): Add min_subnorm_p120.
17072 (calc_generic_results): Handle mpc_c_c.
17073 * sysdeps/i386/fpu/libm-test-ulps: Update.
17074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17075
170762013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17077
17078 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
17079 (do_sin_slow): New functions.
17080 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
17081 (cslow2, csloww1, csloww2): Use the new functions.
17082
17083 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
17084 Use M to change sign of result instead of X. Assume X is
17085 positive.
17086 (csloww1): Likewise.
17087 (__sin): Adjust.
17088 (__cos): Adjust.
17089
17090 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
17091 arguments A and DA.
17092 (__sin): Adjust.
17093 (__cos): Likewise.
17094
17095 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
17096 (__cos): Likewise.
17097 (sloww1): Don't adjust sign of DX.
17098 (csloww1): Likewise.
17099 (sloww2): Use X directly and don't adjust sign of DX.
17100 (csloww2): Likewise.
17101
171022013-12-19 Joseph Myers <joseph@codesourcery.com>
17103
17104 * math/auto-libm-test-in: Add tests of cabs and carg.
17105 * math/auto-libm-test-out: Regenerated.
17106 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
17107 (carg_test_data): Likewise.
17108 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17109 mpc_c_f.
17110 (func_calc_desc): Add mpc_c_f union field.
17111 (test_functions): Add cabs and carg.
17112 (calc_generic_results): Handle mpc_c_f.
17113
17114 * sysdeps/powerpc/powerpc32/libgcc-compat.S
17115 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
17116 as a macro and a compat symbol.
17117 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
17118 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
17119 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
17120 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
17121 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
17122 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
17123 not use .hidden.
17124 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
17125 Likewise.
17126 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
17127 Likewise.
17128 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
17129 Likewise.
17130 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
17131 Likewise.
17132 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
17133 Likewise.
17134 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
17135 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
17136 from GLIBC_2.3.2.
17137
171382013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17139
17140 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17141
171422013-12-19 Joseph Myers <joseph@codesourcery.com>
17143
17144 * manual/texinfo.tex: Update to version 2013-11-26.10 with
17145 trailing whitespace removed.
17146 * scripts/config.guess: Update to version 2013-11-29.
17147 * scripts/config.sub: Update to version 2013-10-01.
17148
17149 * math/auto-libm-test-in: Add tests of sincos.
17150 * math/auto-libm-test-out: Regenerated.
17151 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
17152 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17153 mpfr_f_11.
17154 (func_calc_desc): Add mpfr_f_11 union field.
17155 (test_functions): Add sincos.
17156 (calc_generic_results): Handle mpfr_f_11.
17157 * sysdeps/i386/fpu/libm-test-ulps: Update.
17158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17159
171602013-12-19 Andreas Schwab <schwab@suse.de>
17161
17162 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
17163 CALL_MCOUNT.
17164 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
17165 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
17166 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
17167
171682013-12-19 Joseph Myers <joseph@codesourcery.com>
17169
17170 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
17171 * sysdeps/i386/fpu/libm-test-ulps: Update.
17172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17173
17174 [BZ #16293]
17175 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
17176 round-to-nearest mode when using frndint.
17177 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
17178 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17179 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17180 Likewise.
17181 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
17182 sinh test to fail.
17183 * math/auto-libm-test-out: Regenerated.
17184 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
17185 (TEST_COND_x86): Likewise.
17186 (expm1_tonearest_test_data): New array.
17187 (expm1_test_tonearest): New function.
17188 (expm1_towardzero_test_data): New array.
17189 (expm1_test_towardzero): New function.
17190 (expm1_downward_test_data): New array.
17191 (expm1_test_downward): New function.
17192 (expm1_upward_test_data): New array.
17193 (expm1_test_upward): New function.
17194 (main): Run the new test functions.
17195 * sysdeps/i386/fpu/libm-test-ulps: Update.
17196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17197
17198 * include/features.h: Update comment documenting feature test
17199 macros. Mention _DEFAULT_SOURCE in comment.
17200 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
17201 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
17202 _BSD_SOURCE and _SVID_SOURCE.
17203 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
17204 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
17205 !_SVID_SOURCE]: Likewise.
17206 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17207 (__USE_POSIX_IMPLICITLY): Define.
17208 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17209 (_POSIX_SOURCE): Undefine and redefine.
17210 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17211 (_POSIX_C_SOURCE): Likewise.
17212 * manual/creature.texi (_DEFAULT_SOURCE): Document.
17213 (Feature Test Macros): Update documentation of default features.
17214
172152013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17216
17217 * benchtests/Makefile: Add bench-strtok.
17218 * benchtests/bench-strtok.c: New file: strtok benchtest.
17219
172202013-12-19 Allan McRae <allan@archlinux.org>
17221
17222 * manual/install.texi: Suppress menu for plain text output.
17223 * INSTALL: Regenerated.
17224
172252013-12-18 Brooks Moses <bmoses@google.com>
17226
17227 [BZ #15846]
17228 * misc/getauxval.c: Include errno.h.
17229 (__getauxval): Set errno to ENOENT if the requested type is not
17230 found.
17231 * misc/sys/auxv.h (getauxval): Document that it may set errno;
17232 don't declare with __attribute_const__.
17233 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
17234 * manual/startup.texi: Document that getauxval sets errno.
17235
172362013-12-18 Joseph Myers <joseph@codesourcery.com>
17237
17238 * math/auto-libm-test-in: Add tests of jn and yn.
17239 * math/auto-libm-test-out: Regenerated.
17240 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
17241 (yn_test_data): Likewise.
17242 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17243 mpfr_if_f.
17244 (func_calc_desc): Add mpfr_if_f union field.
17245 (FUNC_mpfr_if_f): New macro.
17246 (test_functions): Add jn and yn.
17247 (calc_generic_results): Assert type of second input for
17248 mpfr_ff_f. Handle mpfr_if_f.
17249 (output_for_one_input_case): Disable all checking for arguments
17250 fitting floating-point types in case of an integer argument.
17251 * sysdeps/i386/fpu/libm-test-ulps: Update.
17252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17253
17254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17255 Don't expect fegetround reference in libm.so.
17256
172572013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17258
17259 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
17260 $(config-cflags-nofma).
17261
172622013-12-18 Joseph Myers <joseph@codesourcery.com>
17263
17264 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
17265 * math/auto-libm-test-out: Regenerated.
17266
17267 [BZ #16338]
17268 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
17269 to determine exponent and adjust argument to have exponent of -1.
17270 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
17271 log2.
17272 * math/auto-libm-test-out: Regenerated.
17273 * sysdeps/i386/fpu/libm-test-ulps: Update.
17274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17275
172762013-12-18 Ondřej Bílka <neleai@seznam.cz>
17277
17278 * manual/probes.texi: Remove cases when per-thread arenas are
17279 disabled.
17280
172812013-12-18 Andreas Schwab <schwab@suse.de>
17282
17283 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
17284 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
17285 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
17286 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
17287 * sysdeps/i386/i686/multiarch/Makefile: Update.
17288 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
17289
172902013-12-17 Joseph Myers <joseph@codesourcery.com>
17291
17292 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
17293 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
17294
172952013-12-17 Paul Eggert <eggert@cs.ucla.edu>
17296
17297 [BZ #15968]
17298 Support TZ transition times < 00:00:00.
17299 This is needed for version-3 tz-format files; it supports time
17300 stamps past 2037 for America/Godthab (the only entry in the tz
17301 database for which this change is relevant).
17302 * manual/time.texi (TZ Variable): Document transition times
17303 from -167:59:59 through -00:00:01.
17304 * time/tzset.c (tz_rule): Time of day is now signed.
17305 (__tzset_parse_tz): Parse negative time of day.
17306
17307 Document TZ transition times >= 25:00:00.
17308 * manual/time.texi (TZ Variable): Document transition times from
17309 25:00:00 through 167:59:59. These are already supported, and this
17310 support will help with version-3 tz-format files.
17311
17312 * manual/time.texi (TZ Variable): Modernize North America example
17313 to reflect current (i.e., 2007-and-later) daylight saving rules.
17314
17315 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
17316
173172013-12-17 Joseph Myers <joseph@codesourcery.com>
17318
17319 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
17320 * sysdeps/unix/bsd/bits/stat.h: Likewise.
17321 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
17322 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17323 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
17324 * sysdeps/unix/bsd/bsdstat.h: Likewise.
17325 * sysdeps/unix/bsd/clock.c: Likewise.
17326 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
17327 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
17328 * sysdeps/unix/bsd/init-posix.c: Likewise.
17329 * sysdeps/unix/bsd/poll.c: Likewise.
17330 * sysdeps/unix/bsd/ptsname.c: Likewise.
17331 * sysdeps/unix/bsd/seekdir.c: Likewise.
17332 * sysdeps/unix/bsd/setegid.c: Likewise.
17333 * sysdeps/unix/bsd/seteuid.c: Likewise.
17334 * sysdeps/unix/bsd/setgid.c: Likewise.
17335 * sysdeps/unix/bsd/setrgid.c: Likewise.
17336 * sysdeps/unix/bsd/setruid.c: Likewise.
17337 * sysdeps/unix/bsd/setsid.c: Likewise.
17338 * sysdeps/unix/bsd/setuid.c: Likewise.
17339 * sysdeps/unix/bsd/sigaction.c: Likewise.
17340 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
17341 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
17342 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
17343 * sysdeps/unix/bsd/telldir.c: Likewise.
17344 * sysdeps/unix/bsd/times.c: Likewise.
17345 * sysdeps/unix/bsd/usleep.c: Likewise.
17346
17347 * misc/Makefile (install-lib): Remove libbsd-compat.a.
17348 ($(objpfx)libbsd-compat.a): Remove rule.
17349
17350 * include/features.h (__FAVOR_BSD): Do not define.
17351 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
17352 features conflicting with POSIX.
17353 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
17354 (_BSD_SOURCE): Remove description of not being a subset of other
17355 feature test macros.
17356 * manual/job.texi (getpgrp): Do not document BSD version.
17357 (getpgid): Do not document by reference to BSD getpgrp.
17358 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
17359 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
17360 * signal/signal.h [__FAVOR_BSD]: Likewise.
17361 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
17362 instead of making contents conditional on [__FAVOR_BSD].
17363 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
17364
173652013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17366
17367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17368
173692013-12-17 Joseph Myers <joseph@codesourcery.com>
17370
17371 [BZ #16314]
17372 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
17373 values below 2**-450, not 2**-500.
17374 * math/auto-libm-test-in: Don't allow spurious underflow from
17375 hypot.
17376 * math/auto-libm-test-out: Regenerated.
17377
17378 [BZ #16316]
17379 [BZ #16330]
17380 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
17381 values of ha and hb and sort them after adjusting subnormal
17382 arguments.
17383 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
17384 Likewise.
17385 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
17386 values of ea and eb and sort them after adjusting subnormal
17387 arguments.
17388 * math/auto-libm-test-in: Do not expect some hypot tests of
17389 subnormals to fail. Add more hypot tests.
17390 * math/auto-libm-test-out: Regenerated.
17391
173922013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17393
17394 [BZ #13304]
17395 * sysdeps/sh/s_fma.c: New file.
17396 * sysdeps/sh/s_fmaf.c: New file.
17397 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
17398 version.
17399 * sysdeps/sh/Implies: Add sh/soft-fp.
17400
174012013-12-16 Roland McGrath <roland@hack.frob.com>
17402
17403 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
17404 level of indirection to members `objname', `errstring', `malloced'.
17405 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
17406 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
17407 it as the __longjmp argument (just pass 1 instead).
17408 (_dl_catch_error): Initialize C with argument pointers and address of
17409 volatile local ERRCODE rather than copying values out of C at return.
17410
174112013-12-16 Joseph Myers <joseph@codesourcery.com>
17412
17413 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
17414 * math/auto-libm-test-out: Regenerated.
17415 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
17416 (hypot_test_data): Likewise.
17417 (pow_test_data): Likewise.
17418 (pow_tonearest_test_data): Likewise.
17419 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17420 mpfr_ff_f.
17421 (func_calc_desc): Add mpfr_ff_f union field.
17422 (FUNC_mpfr_ff_f): New macro.
17423 (test_functions): Add atan2, hypot and pow.
17424 (special_fill_min): New function.
17425 (special_fill_minus_min): Likewise.
17426 (special_fill_min_subnorm): Likewise.
17427 (special_fill_minus_min_subnorm): Likewise.
17428 (special_real_inputs): Add min, -min, min_subnorm and
17429 -min_subnorm.
17430 (calc_generic_results): Handle mpfr_ff_f.
17431 * sysdeps/i386/fpu/libm-test-ulps: Update.
17432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17433
174342013-12-16 Will Newton <will.newton@linaro.org>
17435
17436 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
17437 (Aligned Memory Blocks): Add documentation for aligned_alloc
17438 and suggest it as an alternative to posix_memalign.
17439 (Hooks for Malloc): Document __memalign_hook is also called
17440 for aligned_alloc. (Summary of Malloc): Add summary for
17441 aligned alloc. Document __memalign_hook is also called
17442 for aligned_alloc.
17443
174442013-12-16 Will Newton <will.newton@linaro.org>
17445
17446 * manual/memory.texi (Malloc Examples): Clarify default
17447 alignment documentation. Suggest posix_memalign rather
17448 than memalign or valloc.
17449 (Aligned Memory Blocks): Remove suggestion to use memalign
17450 or valloc. Remove obsolete comment about BSD.
17451 Document memalign errno values and mark the function obsolete.
17452 Document posix_memalign returned error codes. Mark valloc
17453 as obsolete. (Hooks for Malloc): __memalign_hook is also
17454 called for posix_memalign and valloc.
17455 (Summary of Malloc): Add posix_memalign to function summary.
17456 __memalign_hook is also called for posix_memalign and valloc.
17457
174582013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17459
17460 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
17461 TAYLOR_SIN.
17462 (__sin): Adjust.
17463 (__cos): Likewise.
17464 (sloww): Use mynumber union. Expand ternary operator into
17465 if-else statements.
17466 (cslow): use mynumber union.
17467
174682013-12-16 Allan McRae <allan@archlinux.org>
17469
17470 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
17471 * configure: Regenerated.
17472
17473 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
17474
17475 [BZ #14120]
17476 * configure.ac: Added --enable-maintainer-mode. Check for
17477 autoconf when enabled.
17478 * configure: Regenerated.
17479
17480 * nscd/nscd.service: New file.
17481 * nscd/nscd.tmpfiles: New file.
17482
174832013-12-14 Ondřej Bílka <neleai@seznam.cz>
17484
17485 [BZ #12100]
17486 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
17487 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
17488 * sysdeps/x86_64/multiarch/strstr.c: ... here.
17489 (strstr): Add __strstr_sse2_unaligned ifunc.
17490 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
17491 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
17492 (strcasestr): Remove __strcasestr_sse42 ifunc.
17493 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
17494 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17495 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17496
174972013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17498
17499 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
17500 * sysdeps/sh/bits/fenv.h: ... here.
17501 * sysdeps/sh/sh4/fpu/bits: Remove directory.
17502
175032013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17504
17505 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
17506
17507 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
17508 hypotf multiarch implementations.
17509 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
17510 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
17511 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
17512 multiarch hypot for PPC64.
17513 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
17514 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
17515 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
17516 multiarch hypotf for PPC64.
17517
17518 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
17519 modff multiarch implementations.
17520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
17521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
17522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
17523 multiarch modf for PPC64.
17524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
17525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
17526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
17527 multiarch modff for PPC64.
17528
17529 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
17530 and logl multiarch implementations.
17531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
17532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
17533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
17534 multiarch logb for PPC64.
17535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
17536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
17537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
17538 multiarch logb for PPC64.
17539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
17540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
17541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
17542 multiarch logb for PPC64.
17543
17544 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
17545 isinff multiarch implementation.
17546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
17547 file.
17548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
17549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
17550 multiarch isinf for PPC64.
17551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
17552 file.
17553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
17554 multiarch isinff for PPC64.
17555
17556 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
17557 finitef multiarch implementation.
17558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
17559 file.
17560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
17561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
17562 multiarch finite for PPC64.
17563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
17564 file.
17565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
17566 multiarch finitef for PPC64.
17567
17568 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
17569 lrint multiarch implementation.
17570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
17571 file.
17572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
17573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
17574 multiarch llrint for PPC64.
17575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
17576 multiarch lrint for PPC64.
17577
17578 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
17579 copysignf multiarch implementation.
17580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
17581 file.
17582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
17583 file.
17584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
17585 multiarch copysign for PPC64.
17586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
17587 multiarch copysignf for PPC64.
17588
17589 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
17590 multiarch implementation.
17591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
17592 file.
17593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
17594 file.
17595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
17596 file.
17597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
17598 file.
17599 multiarch llround for PPC64.
17600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
17601 multiarch trunc for PPC64.
17602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
17603 multiarch truncf for PPC64.
17604
17605 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
17606 multiarch implementation.
17607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
17608 file.
17609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
17610 file.
17611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
17612 file.
17613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
17614 file.
17615 multiarch llround for PPC64.
17616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
17617 multiarch round for PPC64.
17618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
17619 multiarch roundf for PPC64.
17620
17621 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
17622 multiarch implementation.
17623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
17624 file.
17625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
17626 file.
17627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
17628 file.
17629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
17630 file.
17631 multiarch llround for PPC64.
17632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
17633 multiarch floor for PPC64.
17634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
17635 multiarch floorf for PPC64.
17636
17637 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
17638 multiarch implementation.
17639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
17640 file.
17641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
17642 file.
17643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
17644 file.
17645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
17646 file.
17647 multiarch llround for PPC64.
17648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
17649 multiarch ceil for PPC64.
17650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
17651 multiarch ceilf for PPC64.
17652
17653 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17654 multiarch implementation.
17655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
17656 file.
17657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
17658 file.
17659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
17660 file.
17661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
17662 multiarch llround for PPC64.
17663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
17664 multiarch lround for PPC64.
17665
17666 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17667 multiarch implementation.
17668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
17669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
17670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
17671 file.
17672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
17673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
17674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
17675 multiarch isnan for PPC64.
17676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
17677 multiarch isnanf for PPC64.
17678
17679 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
17680 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
17681 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
17682 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
17683 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
17684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
17685
17686 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
17687 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17688 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17689 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17690
17691 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
17692 multiarch implementations.
17693 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17694 (__libc_ifunc_impl_list): Likewise.
17695 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17696 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
17697 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
17698 multiarch stpcpy for PPC64.
17699
17700 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
17701 multiarch implementations.
17702 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17703 (__libc_ifunc_impl_list): Likewise.
17704 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
17705 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
17706 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
17707 multiarch strcpy for PPC64.
17708
17709 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
17710 redefine function name.
17711 (_wordcopy_fwd_dest_aligned): Likewise.
17712 (_wordcopy_bwd_aligned): Likewise.
17713 (_wordcopy_bwd_dest_aligned): Likewise.
17714 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
17715 multiarch implementations.
17716 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17717 (__libc_ifunc_impl_list): Likewise.
17718 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
17719 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
17720 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
17721 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
17722 multiarch wcscpy for PPC64.
17723
17724 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
17725 multiarch implementations.
17726 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17727 (__libc_ifunc_impl_list): Likewise.
17728 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
17729 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
17730 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
17731 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
17732 multiarch wcscpy for PPC64.
17733
17734 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
17735 multiarch implementations.
17736 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17737 (__libc_ifunc_impl_list): Likewise.
17738 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
17739 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
17740 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
17741 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
17742 multiarch wcsrchr for PPC64.
17743
17744 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
17745 multiarch implementations.
17746 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17747 (__libc_ifunc_impl_list): Likewise.
17748 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
17749 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
17750 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
17751 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
17752 multiarch wcschr for PPC64.
17753
17754 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
17755 multiarch implementations.
17756 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17757 (__libc_ifunc_impl_list): Likewise.
17758 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
17759 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
17760 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
17761 multiarch strchrnul for PPC64.
17762
17763 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
17764 implementations.
17765 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17766 (__libc_ifunc_impl_list): Likewise.
17767 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
17768 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
17769 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
17770 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
17771 strchr for PPC64.
17772
17773 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
17774 implementations.
17775 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17776 (__libc_ifunc_impl_list): Likewise.
17777 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
17778 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
17779 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
17780 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
17781 strncmp for PPC64.
17782
17783 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
17784 multiarch implementations.
17785 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17786 (__libc_ifunc_impl_list): Likewise.
17787 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
17788 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
17789 strncasecmp for PPC64.
17790 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
17791 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
17792 multiarch strncasecmp_l for PPC64.
17793
17794 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
17795 multiarch implementations.
17796 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17797 (__libc_ifunc_impl_list): Likewise.
17798 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
17799 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
17800 multiarch strcasecmp for PPC64.
17801 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
17802 file.
17803 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
17804 multiarch strcasecmp_l for PPC64.
17805
17806 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
17807 implementations.
17808 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17809 (__libc_ifunc_impl_list): Likewise.
17810 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
17811 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
17812 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
17813 strnlen for PPC64.
17814
17815 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
17816 implementations.
17817 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17818 (__libc_ifunc_impl_list): Likewise.
17819 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
17820 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
17821 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
17822 strlen for PPC64.
17823
17824 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
17825 implementations.
17826 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17827 (__libc_ifunc_impl_list): Likewise.
17828 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
17829 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
17830 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
17831 rawmemrchr for PPC64.
17832
17833 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
17834 implementation.
17835 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17836 (__libc_ifunc_impl_list): Likewise.
17837 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
17838 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
17839 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
17840 memrchr for PPC64.
17841
17842 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
17843 implementation.
17844 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17845 (__libc_ifunc_impl_list): Likewise.
17846 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
17847 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
17848 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
17849 memchr for PPC64.
17850
17851 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
17852 implementation.
17853 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17854 (__libc_ifunc_impl_list): Likewise.
17855 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
17856 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
17857 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
17858 mempcpy for PPC64.
17859
17860 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
17861 avoid cretion of __bzero symbol.
17862 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
17863 Likewise.
17864 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
17865 Likewise.
17866 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
17867 Likewise.
17868 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
17869 multiarch implementations.
17870 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17871 (__libc_ifunc_impl_list): Likewise.
17872 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
17873 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
17874 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
17875 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
17876 bzero for PPC32.
17877 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
17878 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
17879 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
17880 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
17881 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
17882 memset for PPC64.
17883 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
17884
17885 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
17886 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
17887 implementations.
17888 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17889 (__libc_ifunc_impl_list): Likewise.
17890 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
17891 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
17892 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
17893 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
17894 memcmp for PPC64.
17895
17896 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
17897 multiarch for POWER/PPC64.
17898 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17899 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
17900 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
17901 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
17902 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
17903 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
17904 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
17905 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
17906 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
17907 memcpy for PPC64.
17908
17909 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
17910 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
17911 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
17912 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
17913 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
17914 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
17915 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
17916 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
17917 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
17918 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
17919 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
17920 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
17921 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
17922 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
17923 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
17924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
17925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
17926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
17927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
17928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
17929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
17930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
17931
179322013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17933
17934 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
17935
179362013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17937
17938 * benchtests/Makefile (bench): Add exp2 and log2.
17939 (LDLIBS-bench-exp2): Add -lm.
17940 (LDLIBS-bench-log2): Likewise.
17941 * benchtests/exp2-inputs: New inputs file.
17942 * benchtests/log2-inputs: New inputs file.
17943 * benchtests/log-inputs: Add new inputs.
17944 * benchtests/tan-inputs: Likewise.
17945
179462013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17947
17948 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
17949 definition...
17950 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
17951 (csloww2): ... from here.
17952
17953 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
17954 instead of structures.
17955 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
17956 (POLYNOMIAL): Likewise.
17957 (TAYLOR_SLOW): Likewise.
17958 (__sin): Likewise.
17959 (__cos): Likewise.
17960 (slow1): Likewise.
17961 (slow2): Likewise.
17962 (sloww): Likewise.
17963 (sloww1); Likewise.
17964 (sloww2): Likewise.
17965 (bsloww1): Likewise.
17966 (bsloww2): Likewise.
17967 (cslow2): Likewise.
17968 (csloww): Likewise.
17969 (csloww1): Likewise.
17970 (csloww2): Likewise.
17971
179722013-12-10 Ondřej Bílka <neleai@seznam.cz>
17973
17974 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
17975 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
17976 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
17977 * malloc/hooks.c (realloc_check): Likewise.
17978
17979 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
17980 * malloc/arena.c: Remove PER_THREAD conditional.
17981 [!PER_THREAD]: Remove code.
17982 (ptmalloc_unlock_all2): Likewise.
17983 (ptmalloc_init): Likewise.
17984 (_int_new_arena): Likewise.
17985 (arena_get2): Likewise.
17986 * malloc/hooks.c (__malloc_get_state): Likewise.
17987 (__malloc_set_state): Likewise.
17988 * malloc/malloc.c: Likewise.
17989 (struct malloc_state): Likewise.
17990 (struct malloc_par): Likewise.
17991 (__libc_realloc): Likewise.
17992 (__libc_mallopt): Likewise.
17993
179942013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17995
17996 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
17997
179982013-12-09 Ondřej Bílka <neleai@seznam.cz>
17999
18000 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
18001 macro to a function. Check for zero perturb_byte.
18002 (_int_malloc, _int_free): Remove zero perturb_byte checks.
18003
18004 * malloc/malloc.c: (force_reg): Remove.
18005 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
18006 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
18007 force_reg by atomic_forced_read.
18008 * malloc/arena.c (ptmalloc_init): Likewise.
18009 * malloc/hooks.c (top_check): Likewise.
18010
180112013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18012
18013 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18014
180152013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
18016
18017 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18018
180192013-12-08 Joseph Myers <joseph@codesourcery.com>
18020
18021 * math/auto-libm-test-in: Add tests of lgamma.
18022 * math/auto-libm-test-out: Regenerated.
18023 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
18024 (M_LOG_2_SQRT_PIl): Likewise.
18025 (lgamma_test_data): Use AUTO_TESTS_f_f1.
18026 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18027 mpfr_f_f1.
18028 (func_calc_desc): Add mpfr_f_f1 union field.
18029 (ARGS1): New macro.
18030 (ARGS2): Likewise.
18031 (ARGS3): Likewise.
18032 (ARGS4): Likewise.
18033 (RET1): Likewise.
18034 (RET2): Likewise.
18035 (CALC): Likewise.
18036 (FUNC): Likewise.
18037 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
18038 (test_functions): Add lgamma.
18039 (calc_generic_results): Handle mpfr_f_f1.
18040 * sysdeps/i386/fpu/libm-test-ulps: Update.
18041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18042
180432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18044
18045 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
18046 __mpn_add_n for PowerPC64/POWER7.
18047 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
18048 __mpn_sub_n for PowerPC64/POWER7.
18049
18050 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
18051 __mpn_addmul_1 for PowerPC64.
18052 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
18053 __mpn_submul_1 for PowerPC64.
18054 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
18055 for PowerPC64.
18056 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
18057 for PowerPC64.
18058
180592013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
18060
18061 [BZ #15089]
18062 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
18063
180642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18065
18066 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
18067
18068 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
18069 add multiarch folders.
18070 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
18071 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
18072 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
18073 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
18074 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
18075 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
18076 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
18077 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
18078 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
18079 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
18080 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
18081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
18082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
18083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
18084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
18085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
18086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
18087
18088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18089 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
18090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
18091 New file.
18092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
18093 New file.
18094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
18095 multiarch __ieee754_hypot for PowerPC32.
18096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
18097 New file.
18098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
18099 New file.
18100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
18101 multiarch __ieee754_hypotf for PowerPC32.
18102
18103 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
18104 long_double_symbol only if __logbl is defined.
18105 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
18106 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
18107 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
18108 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
18109 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
18110 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
18111 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
18112 path for implementation.
18113 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
18114 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
18115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
18116 logb, and logbl multiarch implementations for PowerPC32.
18117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
18118 file.
18119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
18120 file.
18121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
18122 multiarch logb for PowerPC32.
18123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
18124 file.
18125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
18126 file.
18127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
18128 multiarch logbf for PowerPC32.
18129 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
18130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
18131 file.
18132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
18133 multiarch logbl implementation for PowerPC32.
18134
18135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
18136 and modff multiarch implementations.
18137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
18138 New file.
18139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
18140 New file.
18141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
18142 multiarch modf for PowerPC32.
18143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
18144 New file.
18145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
18146 New file.
18147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
18148 multiarch modff for PowerPC32.
18149
18150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
18151 and lrintf multiarch implementations.
18152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
18153 New file.
18154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
18155 New file.
18156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
18157 multiarch lrint for PowerPC32.
18158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
18159 file: multiarch lrintf for PowerPC32.
18160
18161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
18162 and lroundf multiarch implementations.
18163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
18164 New file.
18165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
18166 New file.
18167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
18168 New file.
18169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
18170 multiarch lround for PowerPC32.
18171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
18172 file: multiarch lroundf for PowerPC32.
18173
18174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18175 copysign and copysignf multiarch implementations.
18176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
18177 New file.
18178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
18179 New file.
18180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
18181 file: multiarch copysign for PowerPC32.
18182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
18183 file: multiarch copysignf for PowerPC32.
18184
18185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
18186 and truncf multiarch implementations.
18187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
18188 New file.
18189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
18190 file.
18191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
18192 multiarch trunc for PowerPC32.
18193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
18194 New file.
18195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
18196 New file.
18197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
18198 multiarch truncf for PowerPC32.
18199
18200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
18201 and roundf multiarch implementations.
18202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
18203 New file.
18204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
18205 file.
18206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
18207 multiarch round for PowerPC32.
18208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
18209 New file.
18210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
18211 New file.
18212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
18213 multiarch roundf for PowerPC32.
18214
18215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
18216 and floorf multiarch implementations.
18217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
18218 New file.
18219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
18220 file.
18221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
18222 multiarch floor for PowerPC32.
18223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
18224 New file.
18225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
18226 New file.
18227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
18228 multiarch floorf for PowerPC32.
18229
18230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
18231 and ceilf multiarch implementations.
18232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
18233 New file.
18234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
18235 file.
18236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
18237 multiarch ceil for PowerPC32.
18238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
18239 New file.
18240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
18241 file.
18242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
18243 multiarch ceilf for PowerPC32.
18244
18245 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
18246 is defined.
18247 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
18248 FINITEF is defined.
18249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
18250 and finitef multiarch implementations.
18251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
18252 New file.
18253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
18254 file.
18255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
18256 multiarch finite for PowerPC32.
18257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
18258 New file.
18259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
18260 file: multiarch finitef for PowerPC32.
18261
18262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
18263 and isinff multiarch implementations.
18264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
18265 file.
18266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
18267 file.
18268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
18269 multiarch isinf for PowerPC32.
18270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
18271 New file.
18272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
18273 multiarch isinff for PowerPC32.
18274
18275 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
18276 alias when __isnan is defined.
18277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
18278 and isnanf multiarch implementations.
18279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
18280 file.
18281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
18282 file.
18283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
18284 file.
18285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
18286 file.
18287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
18288 multiarch isnan for PowerPC32.
18289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
18290 New file.
18291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
18292 New file.
18293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
18294 multiarch isnanf for PowerPC32.
18295
18296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
18297 and sqrtf multiarch implementations.
18298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
18299 file.
18300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
18301 file.
18302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
18303 multiarch sqrt for PowerPC32.
18304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
18305 file.
18306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
18307 file.
18308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
18309 multiarch sqrtf for PowerPC32.
18310
18311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
18312 and llroundf multiarch implementations.
18313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
18314 New file.
18315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
18316 New file.
18317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
18318 New file.
18319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
18320 file: multiarch llround for PowerPC32.
18321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
18322 file: multiarch llroundf for PowerPC32.
18323
18324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
18325 multiarch PowerPC32 fpu implementations.
18326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
18327 New file.
18328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
18329 New file.
18330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
18331 multiarch llrint for PowerPC32.
18332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
18333 New file.
18334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
18335 New file.
18336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
18337 file.
18338
18339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
18340
18341 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
18342 file.
18343 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
18344 file.
18345 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
18346 file.
18347 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
18348 multiarch wordcopy for PPC32.
18349 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18350 wordcopy objects.
18351 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18352 (__libc_ifunc_impl_list): Likewise.
18353 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
18354 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
18355 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
18356 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
18357 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
18358 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
18359
18360 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
18361 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
18362 file.
18363 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
18364 file.
18365 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
18366 file.
18367 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
18368 multiarch wcscpy for PPC32.
18369 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18370 multiarch objects.
18371 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18372 (__libc_ifunc_impl_list): Likewise.
18373 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18374 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18375 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
18376 sysdeps/powerpc/power6/wcscpy.c.
18377
18378 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
18379 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
18380 file.
18381 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
18382 file.
18383 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
18384 file.
18385 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
18386 multiarch wcsrchr for PPC32.
18387 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18388 multiarch objects.
18389 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18390 (__libc_ifunc_impl_list): Likewise.
18391 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18392 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18393 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
18394 sysdeps/powerpc/power6/wcsrchr.c.
18395
18396 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
18397 file.
18398 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
18399 file.
18400 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
18401 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
18402 multiarch wcschr for PPc32.
18403 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18404 multiarch objects.
18405 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18406 (__libc_ifunc_impl_list): Likewise.
18407 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
18408 * sysdeps/powerpc/power6/wcschr.c: ... to here.
18409 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
18410 sysdeps/powerpc/power6/wcschr.c.
18411
18412 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
18413 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
18414 file.
18415 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
18416 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
18417 file: multiarch strchr for PPC32.
18418 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
18419 multiarch objects.
18420 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18421 (__libc_ifunc_impl_list): Likewise.
18422
18423 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
18424 name.
18425 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
18426 file.
18427 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
18428 file.
18429 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
18430 multiarch strchrnul for PPC32.
18431 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
18432 multiarch objects.
18433 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18434 (__libc_ifunc_impl_list): Likewise.
18435
18436 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
18437 file.
18438 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
18439 multiarch strncasecmp for PPC32.
18440 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
18441 file.
18442 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
18443 multiarch strncasecmp_l for PPC32.
18444 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
18445 strncasecmp multiarch objects.
18446 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18447 (__libc_ifunc_impl_list): Likewise.
18448
18449 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
18450 file.
18451 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
18452 multiarch strncasecmp for PPC32.
18453 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
18454 New file.
18455 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
18456 multiarch strcasecmp_l for PPC32.
18457 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
18458 multiarch objects.
18459 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18460 (__libc_ifunc_impl_list): Likewise.
18461
18462 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
18463 file.
18464 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
18465 file.
18466 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
18467 multiarch strncmp for PPC32.
18468 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
18469 multiarch objects.
18470 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18471 (__libc_ifunc_impl_list): Likewise.
18472
18473 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
18474 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
18475 file.
18476 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
18477 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
18478 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
18479 multiarch objects.
18480 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18481 (__libc_ifunc_impl_list): Likewise.
18482
18483 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
18484 file.
18485 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
18486 file.
18487 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
18488 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
18489 multiarch objects.
18490 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18491 (__libc_ifunc_impl_list): Likewise.
18492
18493 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
18494 file.
18495 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
18496 file.
18497 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
18498 multiarch rawmemchr for PPC32.
18499 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
18500 multiarch objects.
18501 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18502 (__libc_ifunc_impl_list): Likewise.
18503
18504 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
18505 file.
18506 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
18507 file.
18508 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
18509 file: memrchr multiarch for PPC32.
18510 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
18511 multiarch objects.
18512 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18513 (__libc_ifunc_impl_list): Likewise.
18514
18515 * string/memchr.c (__memchr): Using macro to redefine symbol name.
18516 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
18517 file.
18518 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
18519 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
18520 multiarch memchr for PPC32.
18521 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
18522 multiarch objects.
18523 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18524 (__libc_ifunc_impl_list): Likewise.
18525
18526 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
18527 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
18528 file.
18529 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
18530 file.
18531 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
18532 file: multiarch mempcpy for PPC32.
18533 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
18534 multiarch objects.
18535 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18536 (__libc_ifunc_impl_list): Likewise.
18537
18538 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
18539 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
18540 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
18541 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
18542 multiarch bzero for PPC32.
18543 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
18544 file.
18545 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
18546 file.
18547 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
18548 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
18549 file: multiarch memset for PPC32.
18550 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
18551 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
18552 memset multiarch objects.
18553 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18554 (__libc_ifunc_impl_list): Likewise.
18555
18556 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
18557 file.
18558 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
18559 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
18560 memcmp for PPC32.
18561 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
18562 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
18563 multiarch objects.
18564 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18565 (__libc_ifunc_impl_list): Likewise.
18566
18567 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
18568 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
18569 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
18570 file.
18571 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
18572 file.
18573 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
18574 file.
18575 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
18576 multiarch memcpy for PPC32.
18577 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
18578 multiarch objects.
18579 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18580 (__libc_ifunc_impl_list): Likewise.
18581
18582 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
18583 support multiarch for POWER/PPC32.
18584 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
18585 Likewise.
18586 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
18587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
18588 Implies file to make multiarch folder appers before the fpu and
18589 default folder for power4 configuration.
18590
185912013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18592
18593 * scripts/bench.pl: Append volatile keyword to type.
18594
185952013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18596
18597 * sysdeps/sh/sotruss-lib.c: New file.
18598 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
18599
186002013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18601
18602 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18603
186042013-12-05 Joseph Myers <joseph@codesourcery.com>
18605
18606 [BZ #6810]
18607 * math/w_tgamma.c: Include <errno.h>.
18608 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
18609 * math/w_tgammaf.c: Include <errno.h>.
18610 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
18611 * math/w_tgammal.c: Include <errno.h>.
18612 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
18613 * math/auto-libm-test-in: Do not allow missing errno on tgamma
18614 underflow. Add more tgamma tests.
18615 * math/auto-libm-test-out: Regenerated.
18616 * sysdeps/i386/fpu/libm-test-ulps: Update.
18617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18618
18619 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
18620 sin, sinh, tan, tanh, tgamma, y0 and y1.
18621 * math/auto-libm-test-out: Regenerated.
18622 * math/libm-test.inc (TEST_COND_x86_64): New macro.
18623 (TEST_COND_x86): Likewise.
18624 (M_E2l): Remove macro.
18625 (M_E3l): Likewise.
18626 (M_2_SQRT_PIl): Likewise.
18627 (M_SQRT_PIl): Likewise.
18628 (M_1_DIV_El): Likewise.
18629 (log_test_data): Use AUTO_TESTS_f_f.
18630 (log10_test_data): Likewise.
18631 (log1p_test_data): Likewise.
18632 (log2_test_data): Likewise.
18633 (sin_test_data): Likewise.
18634 (sin_tonearest_test_data): Likewise.
18635 (sin_towardzero_test_data): Likewise.
18636 (sin_downward_test_data): Likewise.
18637 (sin_upward_test_data): Likewise.
18638 (sinh_test_data): Likewise.
18639 (sinh_tonearest_test_data): Likewise.
18640 (sinh_towardzero_test_data): Likewise.
18641 (sinh_downward_test_data): Likewise.
18642 (sinh_upward_test_data): Likewise.
18643 (tan_test_data): Likewise.
18644 (tan_tonearest_test_data): Likewise.
18645 (tan_towardzero_test_data): Likewise.
18646 (tan_downward_test_data): Likewise.
18647 (tan_upward_test_data): Likewise.
18648 (tanh_test_data): Likewise.
18649 (tgamma_test_data): Likewise.
18650 (y0_test_data): Likewise.
18651 (y1_test_data): Likewise.
18652 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
18653 (special_real_inputs): Add pi/4.
18654 * sysdeps/i386/fpu/libm-test-ulps: Update.
18655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18656
186572013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18658
18659 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
18660 "longjmp_target" static probes.
18661 (__longjmp): Rename to __longjmp_symbol.
18662 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18663 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
18664 on which longjmp to generate.
18665 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18666 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
18667 probe.
18668 (__sigsetjmp): Rename to __sigsetjmp_symbol.
18669 (__sigjmp_save): Rename to __sigjmp_save_symbol.
18670 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18671 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
18672 and __sigjmp_save_symbol based on which sigsetjmp to generated.
18673 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
18674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
18675 __longjmp_symbol based on which __longjmp to generate.
18676 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
18677 probe.
18678 (setjmp): Rename to setjmp_symbol.
18679 (__sigsetjmp): Rename to __sigsetjmp_symbol.
18680 (_setjmp): Rename to _setjmp_symbol.
18681 (__sigsetjmp): Rename to __sigsetjmp_symbol.
18682 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
18683 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
18684 which setjmp to generate.
18685 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
18686 "longjmp_target" static probes.
18687
186882013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18689
18690 * benchtests/README: Add note about output arguments.
18691 * benchtests/bench-sincos.c: Remove file.
18692 * benchtests/sincos-inputs: New file.
18693 * scripts/bench.pl: Identify output arguments and define
18694 static variables for them.
18695
18696 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
18697
18698 [BZ #15941]
18699 * Makefile (INSTALL): Add install-plain.texi as the primary
18700 dependency.
18701 * manual/install-plain.texi: New file.
18702 * manual/install.texi: Include node directive only for
18703 non-plaintext output.
18704
187052013-12-04 Joseph Myers <joseph@codesourcery.com>
18706
18707 * stdlib/longlong.h: Update from GCC.
18708
18709 [BZ #6807]
18710 [BZ #15901]
18711 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
18712 * math/w_j0f.c (y0f): Likewise.
18713 * math/w_j0l.c (__y0l): Likewise.
18714 * math/w_j1.c (y1): Likewise.
18715 * math/w_j1f.c (y1f): Likewise.
18716 * math/w_j1l.c (__y1l): Likewise
18717 * math/w_jn.c (yn): Likewise.
18718 * math/w_jnf.c (ynf): Likewise.
18719 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
18720 Bessel function pole errors in _POSIX_ mode. Use NAN as return
18721 value for Bessel function domain errors outside _SVID_ mode.
18722 Adjust sign of return value for yn (negative integer, 0).
18723 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
18724 by zero in return for negative x and set sign appropriately for
18725 negative n.
18726 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
18727 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18728 * math/libm-test.inc (y0_test_data): Add more tests and adjust
18729 expectations in error cases.
18730 (y1_test_data): Likewise.
18731 (yn_test_data): Likewise.
18732 * sysdeps/i386/fpu/libm-test-ulps: Update.
18733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18734
187352013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18736
18737 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
18738 "64" to "64-v1". Add "64-v2".
18739 (abi-64-options): Rename to ...
18740 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
18741 (abi-64-condition): Rename to ...
18742 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
18743 (abi-64-ld-soname): Rename to ...
18744 (abi-64-v1-ld-soname): ... this.
18745 (abi-64-v2-options): Define.
18746 (abi-64-v2-condition): Likewise.
18747 (abi-64-v2-ld-soname): Likewise.
18748 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
18749 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
18750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
18751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
18752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
18753
187542013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18755 Alan Modra <amodra@gmail.com>
18756
18757 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
18758 New versions for use with the ELFv2 ABI.
18759 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
18760 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
18761 declaration.
18762 (struct La_ppc64v2_retval): Likewise.
18763 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
18764 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
18765 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
18766 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
18767 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
18768 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18769 Do not save or restore CR.
18770 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
18771 (_dl_profile_resolve): Do no save or restore CR. Support extended
18772 return values for ELFv2 ABI. Fix location of FPR return registers.
18773 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
18774 updated values for _CALL_ELF == 2.
18775 (La_regs, La_retval, int_retval): Likewise.
18776
187772013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18778
18779 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
18780 (FRAME_MIN_SIZE_PARM): Likewise.
18781 (FRAME_BACKCHAIN): Likewise.
18782 (FRAME_CR_SAVE): Likewise.
18783 (FRAME_LR_SAVE): Likewise.
18784 (FRAME_TOC_SAVE): Likewise.
18785 (FRAME_PARM_SAVE): Likewise.
18786 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
18787 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
18788 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18789 (call_mcount_parm_offset): New macro.
18790 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
18791 (PROF): Use symbolic stack frame offsets.
18792 (TAIL_CALL_SYSCALL_ERROR): Likewise.
18793 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
18794 Redefine in terms of FRAME_MIN_SIZE.
18795 (_dl_runtime_resolve): Use symbolic stack frame offsets.
18796 (_dl_profile_resolve): Likewise. Update comment.
18797 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
18798 symbols stack frame offsets.
18799 (__sigsetjmp): Likewise.
18800 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
18801 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
18802 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
18803 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
18804
18805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
18806 (FRAME_BACKCHAIN): Remove.
18807 (FRAME_CR_SAVE): Likewise.
18808 (FRAME_LR_SAVE): Likewise.
18809 (FRAME_COMPILER_DW): Likewise.
18810 (FRAME_LINKER_DW): Likewise.
18811 (FRAME_TOC_SAVE): Likewise.
18812 (FRAME_PARM_SAVE): Likewise.
18813 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
18814 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
18815 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
18817 (CHECK_SP): Use symbolic stack frame offsets.
18818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
18819 zone" instead of caller's parameter save area for temp storage.
18820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18821 Likewise. Also, use symbolic stack frame offsets.
18822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
18823 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
18824 our own stack frame instead of the caller's.
18825 (__socket): Use symbolic stack frame offsets.
18826
188272013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18828 Alan Modra <amodra@gmail.com>
18829
18830 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
18831 Define.
18832 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
18833 (PPC64_LOCAL_ENTRY_OFFSET): Define.
18834 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
18835 New function.
18836 (elf_machine_fixup_plt): Call it.
18837 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
18838 reloc arguments.
18839 (elf_machine_rela): Update call to elf_machine_plt_conflict.
18840 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18841 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
18842 r2 before calling target.
18843
188442013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18845 Alan Modra <amodra@gmail.com>
18846
18847 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
18848 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
18849 versions of macros to support ELFv2 ABI.
18850 (LOCALENTRY): New macro.
18851 (ENTRY, EALIGN): Use it.
18852 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
18853 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
18854 fall through into ENTRY entry point.
18855 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
18856 Only define if _CALL_ELF != 2.
18857
18858 (elf_machine_matches_host): Verify ABI version matches.
18859 (RTLD_START): Use LOCALENTRY.
18860 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
18861 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
18862 (PLT_ENTRY_WORDS): New macro.
18863 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
18864 (elf_machine_runtime_setup): Support ELFv2 ABI.
18865 (elf_machine_fixup_plt): Likewise.
18866 (elf_machine_plt_conflict): Likewise.
18867 (resolve_ifunc): Likewise.
18868 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18869 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18870 Likewise.
18871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
18872 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
18873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18874 (makecontext): Support ELFv2 ABI.
18875 * elf/elf.h (EF_PPC64_ABI): Define.
18876
188772013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18878
18879 * sysdeps/powerpc/powerpc64/sysdep.h
18880 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
18881 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
18882 (ENTRY) [ASSEMBLER]: ... but instead here ...
18883 (EALIGN) [ASSEMBLER]: ... and here.
18884 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
18885 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
18886 (ENTRY_2) [!ASSEMBLER]: Use it.
18887 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
18888 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
18889 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18890 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
18891 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
18892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
18893 Use PPC64_LOAD_FUNCPTR.
18894
18895 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
18896
188972013-12-04 Alan Modra <amodra@gmail.com>
18898
18899 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
18900 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
18901 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
18902 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
18903
18904 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
18905 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
18906 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
18907 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
18908 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
18909 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
18910
189112013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18912
18913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18914 (__makecontext): Fix incorrect CFI when backtracing out of
18915 context created via makecontext.
18916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
18917 (__setcontext): Fix incorrect CFI during switch to new context.
18918 (__novec_setcontext): Likewise.
18919
189202013-12-04 Ondřej Bílka <neleai@seznam.cz>
18921
18922 [BZ #4772]
18923 * time/strptime_l.c (__strptime_internal): Allow modifiers
18924 in strptime.
18925 * time/tst-strptime.c (day_tests): Add testcase.
18926
189272013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18928
18929 * scripts/bench.pl: Skip over blank lines.
18930
189312013-12-04 Paul Eggert <eggert@cs.ucla.edu>
18932
18933 [BZ #926]
18934 * manual/time.texi (Calendar Time): Clarify what timezone functions
18935 use.
18936
189372013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18938
18939 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18940
189412013-12-04 Ondřej Bílka <neleai@seznam.cz>
18942
18943 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
18944 implementation.
18945 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
18946 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
18947 * debug/memset_chk.c (__memset_chk): Likewise.
18948 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
18949 * debug/strncpy_chk.c: Likewise.
18950
189512013-12-03 Joseph Myers <joseph@codesourcery.com>
18952
18953 [BZ #15268]
18954 [BZ #15425]
18955 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
18956 (__ieee754_exp): For possibly underflowing results, check size of
18957 result and force underflow exception if required.
18958 * math/auto-libm-test-in: Add more tests of exp.
18959 * math/auto-libm-test-out: Regenerated.
18960 * sysdeps/i386/fpu/libm-test-ulps: Update.
18961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18962
18963 [BZ #16283]
18964 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
18965 * math/w_exp2f.c (__exp2f): Likewise.
18966 * math/w_exp2l.c (__exp2l): Likewise.
18967 * math/auto-libm-test-in: Do not allow missing errno on exp2
18968 underflow.
18969 * math/auto-libm-test-out: Regenerated.
18970
189712013-12-03 Ondřej Bílka <neleai@seznam.cz>
18972
18973 [BZ #16274]
18974 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
18975 handle filename validation.
18976 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
18977 (do_open): Delete.
18978
189792013-12-03 Joseph Myers <joseph@codesourcery.com>
18980
18981 [BZ #6786]
18982 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
18983 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
18984 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
18985 <float.h>.
18986 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
18987 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
18988 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18989 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
18990 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18991 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
18992 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18993 * math/auto-libm-test-in: Don't allow missing errno from erfc.
18994 Add more erfc tests.
18995 * math/auto-libm-test-out: Regenerated.
18996 * sysdeps/i386/fpu/libm-test-ulps: Update.
18997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18998
18999 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
19000 exp2, expm1, j0 and j1.
19001 * math/auto-libm-test-out: Regenerated.
19002 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
19003 (erfc_test_data): Likewise.
19004 (exp_test_data): Likewise.
19005 (exp_tonearest_test_data): Likewise.
19006 (exp_towardzero_test_data): Likewise.
19007 (exp_downward_test_data): Likewise.
19008 (exp_upward_test_data): Likewise.
19009 (exp10_test_data): Likewise.
19010 (exp2_test_data): Likewise.
19011 (expm1_test_data): Likewise.
19012 (j0_test_data): Likewise.
19013 (j1_test_data): Likewise.
19014 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
19015 (input_flag_type): Add flag_xfail_rounding.
19016 (input_flags): Add xfail-rounding.
19017 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
19018 (output_for_one_input_case): Handle flag_xfail_rounding.
19019 * sysdeps/i386/fpu/libm-test-ulps: Update.
19020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19021
190222013-12-03 Aurelien Jarno <aurelien@aurel32.net>
19023
19024 [BZ #16289]
19025 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
19026 division by 0.
19027
190282013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19029
19030 [BZ #16195]
19031 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
19032 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
19033 (STAP_PROBE0): New macro.
19034 (STAP_PROBE1): Likewise.
19035 (STAP_PROBE2): Likewise.
19036 (STAP_PROBE3): Likewise.
19037 (STAP_PROBE4): Likewise.
19038
190392013-12-02 Ondřej Bílka <neleai@seznam.cz>
19040
19041 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
19042
190432013-12-02 Steve Ellcey <sellcey@mips.com>
19044
19045 * benchtests/Makefile (bench): Add sqrt.
19046 (LDLIBS-bench-sqrt): New.
19047 * benchtests/sqrt-input: New.
19048
190492013-12-02 Pavel Simerda <psimerda@redhat.com>
19050
19051 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
19052 (GAIH_EAI): Likewise.
19053 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
19054 (gaih_inet): Likewise.
19055 (getaddrinfo): Don't use GAIH_EAI.
19056
19057 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
19058 (struct gaih): Remove definition.
19059
190602013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19061
19062 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
19063 Use HERRNOP directly.
19064
190652013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19066
19067 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19068
190692013-11-30 Joseph Myers <joseph@codesourcery.com>
19070
19071 * math/gen-auto-libm-tests.c (test_functions): Add more
19072 single-argument functions.
19073 (special_fill_pi_2): New function.
19074 (special_fill_minus_pi_2): Likewise.
19075 (special_fill_pi_6): Likewise.
19076 (special_fill_minus_pi_6): Likewise.
19077 (special_fill_pi_3): Likewise.
19078 (special_fill_2pi_3): Likewise.
19079 (special_fill_e): Likewise.
19080 (special_fill_1_e): Likewise.
19081 (special_fill_e_minus_1): Likewise.
19082 (special_real_inputs): Add more special inputs.
19083 (output_for_one_input_case): Do not require ERANGE on underflow to
19084 zero if round-to-nearest result does not underflow to zero, unless
19085 exact results required.
19086 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
19087 atan, atanh, cbrt, cos and cosh.
19088 * math/auto-libm-test-out: Regenerated.
19089 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
19090 (acos_tonearest_test_data): Likewise.
19091 (acos_towardzero_test_data): Likewise.
19092 (acos_downward_test_data): Likewise.
19093 (acos_upward_test_data): Likewise.
19094 (acosh_test_data): Likewise.
19095 (asin_test_data): Likewise.
19096 (asin_tonearest_test_data): Likewise.
19097 (asin_towardzero_test_data): Likewise.
19098 (asin_upward_test_data): Likewise.
19099 (asinh_test_data): Likewise.
19100 (atan_test_data): Likewise.
19101 (atanh_test_data): Likewise.
19102 (cbrt_test_data): Likewise.
19103 (cos_test_data): Likewise.
19104 (cos_tonearest_test_data): Likewise.
19105 (cos_towardzero_test_data): Likewise.
19106 (cos_downward_test_data): Likewise.
19107 (cos_upward_test_data): Likewise.
19108 (cosh_test_data): Likewise.
19109 (cosh_tonearest_test_data): Likewise.
19110 (cosh_towardzero_test_data): Likewise.
19111 (cosh_downward_test_data): Likewise.
19112 (cosh_upward_test_data): Likewise.
19113 * sysdeps/i386/fpu/libm-test-ulps: Update.
19114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19115
191162013-11-29 Joseph Myers <joseph@codesourcery.com>
19117
19118 [BZ #6787]
19119 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
19120 * math/w_exp10f.c (__exp10f): Likewise.
19121 * math/w_exp10l.c (__exp10l): Likewise.
19122 * math/libm-test.inc (exp10_test_data): Add more tests and expect
19123 errno settings in existing tests.
19124
19125 [BZ #14032]
19126 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
19127 precision control set to double precision.
19128 * sysdeps/i386/fpu/w_sqrt.c: New file.
19129 * math/auto-libm-test-in: Add more tests.
19130 * math/auto-libm-test-out: Update.
19131
19132 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
19133 (sqrt_test_tonearest): New function.
19134 (sqrt_towardzero_test_data): New variable.
19135 (sqrt_test_towardzero): New function.
19136 (sqrt_downward_test_data): New variable.
19137 (sqrt_test_downward): New function.
19138 (sqrt_upward_test_data): New variable.
19139 (sqrt_test_upward): New function.
19140 (main): Call the new functions.
19141
19142 * math/gen-auto-libm-tests.c: New file.
19143 * math/auto-libm-test-in: Likewise.
19144 * math/auto-libm-test-out: New generated file.
19145 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
19146 variables.
19147 (%beautify): Add generated representations of zero.
19148 (top level): Set $auto_input and call parse_auto_input.
19149 (beautify): Remove trailing "f" from hex float constants.
19150 (parse_args): Handle XFAIL_TEST.
19151 (convert_condition): New function.
19152 (or_value): Likewise.
19153 (or_cond_value): Likewise.
19154 (generate_testfile): Handle AUTO_TESTS_* lines.
19155 (parse_auto_input): New function.
19156 * math/libm-test.inc (XFAIL_TEST): New macro.
19157 (ERRNO_UNCHANGED): Update value.
19158 (ERRNO_EDOM): Likewise.
19159 (ERRNO_ERANGE): Likewise.
19160 (IGNORE_RESULT): Likewise.
19161 (TEST_COND_flt_32): New macro.
19162 (TEST_COND_dbl_64): Likewise.
19163 (TEST_COND_ldbl_96_intel): Likewise.
19164 (TEST_COND_ldbl_96_m68k): Likewise.
19165 (TEST_COND_ldbl_128): Likewise.
19166 (TEST_COND_ldbl_128ibm): Likewise.
19167 (TEST_COND_long32): Likewise.
19168 (TEST_COND_long64): Likewise.
19169 (TEST_COND_before_rounding): Likewise.
19170 (TEST_COND_after_rounding): Likewise.
19171 (enable_test): Handle XFAIL_TEST flag.
19172 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
19173 with finite results.
19174 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
19175 auto-libm-test-out.
19176
191772013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19178 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19179
19180 [BZ #16214]
19181 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
19182 __tls_get_addr_internal instead of __tls_get_offset in order to
19183 avoid GOT pointer dependency. Make rtld export
19184 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
19185 __tls_get_addr since we are a __tls_get_offset platform.
19186 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
19187 GOT pointer being set up before.
19188 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
19189
191902013-11-28 Joseph Myers <joseph@codesourcery.com>
19191
19192 * manual/math.texi (Errors in Math Functions): Document accuracy
19193 goals.
19194
19195 [BZ #15004]
19196 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
19197 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
19198 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19199 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19200 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19201 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19202 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19203 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19204 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19205 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19206 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19207 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19208 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19209 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19210 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19211 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19212
19213 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
19214 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
19215 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
19216 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
19217 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
19218 Likewise.
19219 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
19220 Likewise.
19221 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
19222 Likewise.
19223 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
19224 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
19225 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
19226 atomic-feupdateenv and flt-rounds.
19227 * sysdeps/powerpc/nofpu/Versions (libc): Add
19228 __atomic_feholdexcept, __atomic_feclearexcept,
19229 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
19230 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
19231 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
19232 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
19233 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
19234 here.
19235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19236 Update.
19237
19238 * manual/arith.texi (FP Exceptions): Document that exceptions may
19239 not be raised when matherr is used.
19240 (Math Error Reporting): Document overflow in directed rounding
19241 modes. Document that errno may not be set when finite values are
19242 returned on overflow. Document intent to set errno on underflow
19243 only for underflow to zero.
19244
19245 [BZ #16271]
19246 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
19247 round-to-nearest then adjust result for other rounding modes.
19248 * include/fenv.h (fegetround): Use libm_hidden_proto.
19249 * math/fegetround.c (fegetround): Use libm_hidden_def.
19250 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
19251 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
19252 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19253 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
19254 Likewise.
19255 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
19256 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19257 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
19258 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
19259
192602013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19261
19262 [BZ #16077]
19263 * nss/Versions (libnss_files): Add
19264 _nss_files_gethostbyname3_r.
19265 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
19266 New function.
19267 (HOST_DB_LOOKUP): Remove macro.
19268 (_nss_files_gethostbyname_r): Implement function without the
19269 HOST_DB_LOOKUP macro.
19270 (_nss_files_gethostbyname2_r): Likewise.
19271
192722013-11-28 Ondřej Bílka <neleai@seznam.cz>
19273
19274 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
19275
192762013-11-26 Uros Bizjak <ubizjak@gmail.com>
19277
19278 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
19279 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
19280 warning.
19281
192822013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19283
19284 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
19285 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
19286 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19287 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19288 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
19289 __fe_nomask_env_priv and attribute_hidden.
19290 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
19291 (libc_feupdateenv_test_ppc): Likewise.
19292 (libc_feresetround_ppc): Likewise.
19293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19294 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
19295 compat_symbol macro.
19296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19297 (__fe_nomask_env): Likewise.
19298 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
19299
193002013-11-26 Ondřej Bílka <neleai@seznam.cz>
19301
19302 * string/Makefile: Remove ifunc tests.
19303 * string/test-string.h: Define TEST_IFUNC.
19304 * string/test-bcopy-ifunc.c: Remove.
19305 * string/test-bzero-ifunc.c: Likewise.
19306 * string/test-memccpy-ifunc.c: Likewise.
19307 * string/test-memchr-ifunc.c: Likewise.
19308 * string/test-memcmp-ifunc.c: Likewise.
19309 * string/test-memcpy-ifunc.c: Likewise.
19310 * string/test-memmem-ifunc.c: Likewise.
19311 * string/test-memmove-ifunc.c: Likewise.
19312 * string/test-mempcpy-ifunc.c: Likewise.
19313 * string/test-memrchr-ifunc.c: Likewise.
19314 * string/test-memset-ifunc.c: Likewise.
19315 * string/test-rawmemchr-ifunc.c: Likewise.
19316 * string/test-stpcpy-ifunc.c: Likewise.
19317 * string/test-stpncpy-ifunc.c: Likewise.
19318 * string/test-strcasecmp-ifunc.c: Likewise.
19319 * string/test-strcasestr-ifunc.c: Likewise.
19320 * string/test-strcat-ifunc.c: Likewise.
19321 * string/test-strchr-ifunc.c: Likewise.
19322 * string/test-strchrnul-ifunc.c: Likewise.
19323 * string/test-strcmp-ifunc.c: Likewise.
19324 * string/test-strcpy-ifunc.c: Likewise.
19325 * string/test-strcspn-ifunc.c: Likewise.
19326 * string/test-strlen-ifunc.c: Likewise.
19327 * string/test-strncasecmp-ifunc.c: Likewise.
19328 * string/test-strncat-ifunc.c: Likewise.
19329 * string/test-strncmp-ifunc.c: Likewise.
19330 * string/test-strncpy-ifunc.c: Likewise.
19331 * string/test-strnlen-ifunc.c: Likewise.
19332 * string/test-strpbrk-ifunc.c: Likewise.
19333 * string/test-strrchr-ifunc.c: Likewise.
19334 * string/test-strspn-ifunc.c: Likewise.
19335 * string/test-strstr-ifunc.c: Likewise.
19336
193372013-11-26 Ondřej Bílka <neleai@seznam.cz>
19338
19339 * benchtests/Makefile: Remove ifunc tests.
19340 * benchtests/bench-string.h: Define TEST_IFUNC.
19341 * benchtests/bench-bcopy-ifunc.c: Remove.
19342 * benchtests/bench-bzero-ifunc.c: Likewise.
19343 * benchtests/bench-memccpy-ifunc.c: Likewise.
19344 * benchtests/bench-memchr-ifunc.c: Likewise.
19345 * benchtests/bench-memcmp-ifunc.c: Likewise.
19346 * benchtests/bench-memcpy-ifunc.c: Likewise.
19347 * benchtests/bench-memmem-ifunc.c: Likewise.
19348 * benchtests/bench-memmove-ifunc.c: Likewise.
19349 * benchtests/bench-mempcpy-ifunc.c: Likewise.
19350 * benchtests/bench-memrchr-ifunc.c: Likewise.
19351 * benchtests/bench-memset-ifunc.c: Likewise.
19352 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
19353 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
19354 * benchtests/bench-stpcpy-ifunc.c: Likewise.
19355 * benchtests/bench-stpncpy-ifunc.c: Likewise.
19356 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
19357 * benchtests/bench-strcasestr-ifunc.c: Likewise.
19358 * benchtests/bench-strcat-ifunc.c: Likewise.
19359 * benchtests/bench-strchr-ifunc.c: Likewise.
19360 * benchtests/bench-strchrnul-ifunc.c: Likewise.
19361 * benchtests/bench-strcmp-ifunc.c: Likewise.
19362 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
19363 * benchtests/bench-strcpy-ifunc.c: Likewise.
19364 * benchtests/bench-strcspn-ifunc.c: Likewise.
19365 * benchtests/bench-strlen-ifunc.c: Likewise.
19366 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
19367 * benchtests/bench-strncat-ifunc.c: Likewise.
19368 * benchtests/bench-strncmp-ifunc.c: Likewise.
19369 * benchtests/bench-strncpy-ifunc.c: Likewise.
19370 * benchtests/bench-strnlen-ifunc.c: Likewise.
19371 * benchtests/bench-strpbrk-ifunc.c: Likewise.
19372 * benchtests/bench-strrchr-ifunc.c: Likewise.
19373 * benchtests/bench-strsep-ifunc.c: Likewise.
19374 * benchtests/bench-strspn-ifunc.c: Likewise.
19375 * benchtests/bench-strstr-ifunc.c: Likewise.
19376
193772013-11-26 Ondřej Bílka <neleai@seznam.cz>
19378
19379 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
19380
193812013-11-26 Ondřej Bílka <neleai@seznam.cz>
19382
19383 * resolv/netdb.h: Use __glibc_reserved instead __unused.
19384 * rt/aio.h: Likewise.
19385 * sysdeps/gnu/bits/utmp.h: Likewise.
19386 * sysdeps/gnu/bits/utmpx.h: Likewise.
19387 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19388 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
19389 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
19390 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
19391 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
19392 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
19393 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
19394 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
19395 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
19396 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
19397 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
19398 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
19399 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
19400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
19401 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19402 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
19403 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
19404 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
19405 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
19406 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
19407 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
19408 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
19409 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
19410 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19411 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
19412 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19413 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
19414 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
19415 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
19416 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
19417 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
19418 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
19419 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
19420 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
19421 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
19422 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
19423 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
19424 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
19425 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
19426 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
19427 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
19428 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19429
194302013-11-25 Carlos O'Donell <carlos@redhat.com>
19431
19432 [BZ #16245]
19433 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
19434 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
19435
194362013-11-25 Joseph Myers <joseph@codesourcery.com>
19437
19438 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
19439 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
19440 Likewise.
19441
194422013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19443
19444 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
19445 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
19446 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
19447 (__fesetround): Remove define.
19448 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
19449 rounding and exceptions handling.
19450 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
19451 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
19452 (__fe_nomask_env): Likewise.
19453 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
19454 __fegetround instead of fegetround.
19455 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19456 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
19457
194582013-11-21 Roland McGrath <roland@hack.frob.com>
19459
19460 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
19461 it's there.
19462
19463 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
19464
194652013-11-21 Meador Inge <meadori@codesourcery.com>
19466
19467 [BZ #11157]
19468 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
19469 (encrypt_r): Likewise.
19470 * malloc/obstack.h (obstack_free): Likewise.
19471 * posix/unistd.h (encrypt): Likewise.
19472
194732013-11-21 Guy Martin <gmsoft@tuxicoman.be>
19474
19475 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
19476 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
19477 DL_CALL_DT_FINI() that call the functions directly.
19478 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
19479 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
19480 * elf/dl-fini.c: Likewise.
19481
194822013-11-20 Ondřej Bílka <neleai@seznam.cz>
19483
19484 * malloc/hooks.c (memalign_check): Add alignment rounding.
19485 * malloc/malloc.c (_mid_memalign): New function.
19486 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
19487 Implement by calling _mid_memalign.
19488 * manual/probes.texi (Memory Allocation Probes): Remove
19489 memory_valloc_retry and memory_pvalloc_retry.
19490
194912013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19492
19493 * locale/programs/locarchive.c (open_archive): Add const
19494 qualifier to ARCHIVEFNAME and copy default fname to
19495 DEFAULT_FNAME.
19496
19497 [BZ #15601]
19498 * libio/tst-widetext.input: Rename Oriya to Odia.
19499 * locale/iso-639.def: Likewise.
19500
19501 * manual/probes.texi (Mathematical Function Probes): Add
19502 documentation for sin, cos, asin and acos probes.
19503 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
19504 (__sin32): Add slowasin probe.
19505 (__cos32): Add slowacos probe.
19506 (__mpsin): Add slowsin probe.
19507 (__mpcos): Add slowcos probe.
19508
195092013-11-19 Joseph Myers <joseph@codesourcery.com>
19510
19511 [BZ #15483]
19512 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
19513 thread-local __sim_exceptions_thread and global
19514 __sim_exceptions_global.
19515 (__sim_disabled_exceptions): Change to thread-local
19516 __sim_disabled_exceptions_thread and global
19517 __sim_disabled_exceptions_global.
19518 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19519 and global __sim_round_mode_global.
19520 (__simulate_exceptions): Use thread-local floating-point state and
19521 set global state from it as needed.
19522 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
19523 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
19524 __sim_round_mode_thread.
19525 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
19526 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
19527 and global __sim_exceptions_global.
19528 (__sim_disabled_exceptions): Change to thread-local
19529 __sim_disabled_exceptions_thread and global
19530 __sim_disabled_exceptions_global.
19531 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19532 and global __sim_round_mode_global.
19533 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
19534 (SIM_SET_GLOBAL): Likewise.
19535 * sysdeps/powerpc/soft-fp/sfp-machine.h
19536 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
19537 __sim_round_mode_thread.
19538 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
19539 __sim_disabled_exceptions_thread.
19540 (__sim_exceptions): Change to __sim_exceptions_thread.
19541 (__sim_disabled_exceptions): Change to
19542 __sim_disabled_exceptions_thread.
19543 (__sim_round_mode): Change to __sim_round_mode_thread.
19544 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
19545 thread-local floating-point state and set global state from it as
19546 needed.
19547 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
19548 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
19549 (__sim_disabled_exceptions): Remove extern declaration.
19550 (feenableexcept): Use thread-local floating-point state and set
19551 global state from it as needed.
19552 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
19553 extern declaration.
19554 (__sim_disabled_exceptions): Likewise.
19555 (__sim_round_mode): Likewise.
19556 (__fegetenv): Use thread-local floating-point state.
19557 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
19558 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19559 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
19560 floating-point state and set global state from it as needed.
19561 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
19562 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19563 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
19564 Likewise.
19565 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
19566 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
19567 Likewise.
19568 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
19569 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
19570 Use __sim_round_mode_thread.
19571 * math/test-fenv-tls.c: New file.
19572 * math/Makefile (tests): Add test-fenv-tls.
19573 ($(objpfx)test-fenv-tls): Depend on
19574 $(common-objpfx)nptl/libpthread.so.
19575
195762013-11-19 Andreas Schwab <schwab@suse.de>
19577
19578 * locale/programs/locale.c (show_info): Decode wordarray elements.
19579 * locale/categories.def (LC_MONETARY): Add element for
19580 _NL_MONETARY_CRNCYSTR.
19581 * locale/C-monetary.c (conversion_rate): New variable.
19582 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
19583 element.
19584
195852013-11-18 Chris Metcalf <cmetcalf@tilera.com>
19586
19587 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
19588 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
19589
195902013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
19591
19592 * elf/Makefile (tst-auxv): New test.
19593 * elf/tst-auxv.c: New
19594 * elf/rtld.c (dl_main): Adjust AT_EXECFN
19595
195962013-11-18 Joseph Myers <joseph@codesourcery.com>
19597
19598 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
19599 (hidden_proto): Caller changed.
19600 (hidden_tls_proto): New macro.
19601 (libc_hidden_tls_proto): Likewise.
19602 (rtld_hidden_tls_proto): Likewise.
19603 (libm_hidden_tls_proto): Likewise.
19604 (libresolv_hidden_tls_proto): Likewise.
19605 (librt_hidden_tls_proto): Likewise.
19606 (libdl_hidden_tls_proto): Likewise.
19607 (libnss_files_hidden_tls_proto): Likewise.
19608 (libnsl_hidden_tls_proto): Likewise.
19609 (libnss_nisplus_hidden_tls_proto): Likewise.
19610 (libutil_hidden_tls_proto): Likewise.
19611
196122013-11-18 Ondřej Bílka <neleai@seznam.cz>
19613
19614 [BZ #10253]
19615 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
19616 (decompose_rpath): Defer expansion to fillin_rpath.
19617 (_dl_init_paths): Pass linkmap to fillin_rpath.
19618
196192013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19620
19621 * benchtests/Makefile: Add strsep.
19622 * benchtests/bench-strsep.c: New file: strsep benchtest.
19623 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
19624
196252013-11-18 Andreas Schwab <schwab@suse.de>
19626
19627 * locale/programs/locale.c (show_info) [case byte]: Check for
19628 '\377' instead of '\177'.
19629 * locale/C-monetary.c (not_available): Always use "\377".
19630 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
19631 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
19632 detect unavailable sign_posn locale elements.
19633 * locale/localeconv.c (__localeconv): For grouping and
19634 mon_grouping handle "\177" and "\377" like no grouping.
19635 (INT_ELEM): New macro. Use it to set all numeric members.
19636 * locale/programs/ld-monetary.c (monetary_read)
19637 <tok_mon_grouping>: Normalize single -1 to the empty string.
19638 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
19639 Likewise.
19640
196412013-11-07 Ondřej Bílka <neleai@seznam.cz>
19642
19643 [BZ #16055]
19644 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
19645 when we match (nil).
19646 * stdio-common/tst-sscanf.c (struct test): Add testcase.
19647
196482013-11-16 Joseph Myers <joseph@codesourcery.com>
19649
19650 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
19651 (NO_TEST_INLINE): Update value.
19652 (ERRNO_UNCHANGED): Likewise.
19653 (ERRNO_EDOM): Likewise.
19654 (ERRNO_ERANGE): Likewise.
19655 (IGNORE_RESULT): Likewise.
19656 (check_float_internal): Check signs of NaN results if
19657 TEST_NAN_SIGN used.
19658 (check_complex): Pass TEST_NAN_SIGN flag through to second
19659 check_float_internal call.
19660 (copysign_test_data): Add tests with quiet NaNs as second
19661 argument. Use TEST_NAN_SIGN.
19662 (fabs_test_data): Add test of negative quiet NaN argument. Use
19663 TEST_NAN_SIGN.
19664 (signbit_test_data): Add tests of quiet NaN argument.
19665 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
19666
19667 * math/gen-libm-test.pl (show_exceptions): Take extra argument
19668 $ignore_result.
19669 (parse_args): Handle function results specified as IGNORE.
19670 * math/libm-test.inc (IGNORE_RESULT): New macro.
19671 (check_float_internal): Do not check numerical result if flag
19672 IGNORE_RESULT set.
19673 (check_complex): Pass through IGNORE_RESULT to second
19674 check_float_internal call.
19675 (check_int): Do not check numerical result if flag IGNORE_RESULT
19676 set.
19677 (check_long): Likewise.
19678 (check_bool): Likewise.
19679 (check_longlong): Likewise.
19680 (lrint_test_data): Add tests of infinite and NaN arguments.
19681 (lrint_tonearest_test_data): Likewise.
19682 (lrint_towardzero_test_data): Likewise.
19683 (lrint_downward_test_data): Likewise.
19684 (lrint_upward_test_data): Likewise.
19685 (llrint_test_data): Likewise.
19686 (llrint_tonearest_test_data): Likewise.
19687 (llrint_towardzero_test_data): Likewise.
19688 (llrint_downward_test_data): Likewise.
19689 (llrint_upward_test_data): Likewise.
19690 (lround_test_data): Likewise.
19691 (llround_test_data): Likewise.
19692
19693 * math/libm-test.inc (NO_TEST_INLINE): New macro.
19694 (ERRNO_UNCHANGED): Update value.
19695 (ERRNO_EDOM): Likewise.
19696 (ERRNO_ERANGE): Likewise.
19697 (NO_TEST_INLINE_FLOAT): New macro.
19698 (NO_TEST_INLINE_DOUBLE): Likewise.
19699 (enable_test): New function.
19700 (RUN_TEST_f_f): Check enable_test before running test.
19701 (RUN_TEST_2_f): Likewise.
19702 (RUN_TEST_fff_f): Likewise.
19703 (RUN_TEST_c_f): Likewise.
19704 (RUN_TEST_f_f1): Likewise.
19705 (RUN_TEST_fF_f1): Likewise.
19706 (RUN_TEST_fI_f1): Likewise.
19707 (RUN_TEST_ffI_f1): Likewise.
19708 (RUN_TEST_c_c): Likewise.
19709 (RUN_TEST_cc_c): Likewise.
19710 (RUN_TEST_f_i): Likewise.
19711 (RUN_TEST_f_i_tg): Likewise.
19712 (RUN_TEST_ff_i_tg): Likewise.
19713 (RUN_TEST_f_b): Likewise.
19714 (RUN_TEST_f_b_tg): Likewise.
19715 (RUN_TEST_f_l): Likewise.
19716 (RUN_TEST_f_L): Likewise.
19717 (RUN_TEST_fFF_11): Likewise.
19718 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
19719 conditionals.
19720 (cosh_test_data): Likewise.
19721 (exp_test_data): Likewise.
19722 (expm1_test_data): Likewise.
19723 (hypot_test_data): Likewise.
19724 (pow_test_data): Likewise.
19725 (sinh_test_data): Likewise.
19726 (tanh_test_data): Likewise.
19727 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
19728 flags argument.
19729
19730 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
19731 tests with quiet NaN input and output.
19732 (acosh_test_data): Likewise.
19733 (asin_test_data): Likewise.
19734 (asinh_test_data): Likewise.
19735 (atan_test_data): Likewise.
19736 (atanh_test_data): Likewise.
19737 (atan2_test_data): Likewise.
19738 (cbrt_test_data): Likewise.
19739 (cos_test_data): Likewise.
19740 (cosh_test_data): Likewise.
19741 (erf_test_data): Likewise.
19742 (erfc_test_data): Likewise.
19743 (exp_test_data): Likewise.
19744 (exp10_test_data): Likewise.
19745 (exp2_test_data): Likewise.
19746 (expm1_test_data): Likewise.
19747 (hypot_test_data): Likewise.
19748 (j0_test_data): Likewise.
19749 (j1_test_data): Likewise.
19750 (jn_test_data): Likewise.
19751 (lgamma_test_data): Likewise.
19752 (log_test_data): Likewise.
19753 (log10_test_data): Likewise.
19754 (log1p_test_data): Likewise.
19755 (log2_test_data): Likewise.
19756 (pow_test_data): Likewise.
19757 (scalb_test_data): Likewise.
19758 (sin_test_data): Likewise.
19759 (sincos_test_data): Likewise.
19760 (sinh_test_data): Likewise.
19761 (tan_test_data): Likewise.
19762 (tanh_test_data): Likewise.
19763 (tgamma_test_data): Likewise.
19764 (y0_test_data): Likewise.
19765 (y1_test_data): Likewise.
19766 (yn_test_data): Likewise.
19767
19768 [BZ #16167]
19769 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
19770 argument being NaN and avoid computations with second argument in
19771 that case.
19772 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19773 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
19774 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19775
197762013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
19777
19778 * locale/iso-639.def: Add Chitwani Tharu (the).
19779
197802013-11-14 Andreas Schwab <schwab@suse.de>
19781
19782 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
19783 word instead of empty string.
19784
197852013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19786
19787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19788 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
19789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19790 (__fe_nomask_env): Likewise.
19791
197922013-11-13 Steve Ellcey <sellcey@mips.com>
19793
19794 * benchtests/bench-timing.h: Include time.h.
19795
197962013-11-13 H.J. Lu <hongjiu.lu@intel.com>
19797
19798 [BZ #15997]
19799 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
19800 to 3.4.0 for x32.
19801 * sysdeps/unix/sysv/linux/configure: Regenerated.
19802
198032013-11-13 Joseph Myers <joseph@codesourcery.com>
19804
19805 [BZ #16151]
19806 * stdlib/strtod_l.c (round_and_return): Do not consider
19807 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
19808 exponent one less than half the least subnormal exponent.
19809 * stdlib/test-strtod-round-data: Add more tests.
19810 * stdlib/tst-strtod-round.c (tests): Regenerated.
19811
198122013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19813
19814 [BZ #14143]
19815 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
19816 (__fe_mask_env): Likewise.
19817 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
19818 libm_hidden_proto and add function prototype.
19819 (__fe_mask_env): Add function prototype.
19820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19821 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
19822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19823 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
19824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19825 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
19826
198272013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19828
19829 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
19830 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
19831
198322013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19833
19834 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
19835 of htab_find_slot().
19836
198372013-11-11 David S. Miller <davem@davemloft.net>
19838
19839 [BZ #16150]
19840 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
19841 symbol in the non-vis3 case in static builds.
19842 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
19843 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
19844 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
19845 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
19846
198472013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19848
19849 [BZ #387]
19850 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
19851 it is empty.
19852
198532013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19854
19855 * benchtests/Makefile: Add bench-strtod.
19856 * benchtests/bench-strtod.c: New file: strtod benchtest
19857
198582013-11-11 Andreas Schwab <schwab@suse.de>
19859
19860 [BZ #16153]
19861 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
19862 terminating NUL in key length.
19863
198642013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19865
19866 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19867 Add artificial ODP entry for vDSO symbol for PPC64.
19868 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
19869 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19870
198712013-11-07 Ondřej Bílka <neleai@seznam.cz>
19872
19873 [BZ #15374]
19874 * nss/getent.c (services_keys): Recognize services starting with digit.
19875
198762013-11-06 David S. Miller <davem@davemloft.net>
19877
19878 [BZ #15985]
19879 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
19880 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
19881
198822013-11-06 Will Newton <will.newton@linaro.org>
19883
19884 * manual/memory.texi (Malloc Examples): Remove register
19885 keyword from examples.
19886
198872013-11-04 Chris Leonard <cjl@sugarlabs.org>
19888
19889 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
19890
198912013-11-04 Joseph Myers <joseph@codesourcery.com>
19892
19893 [BZ #6981]
19894 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
19895 depending on [__GCC_IEC_559 > 0].
19896 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
19897 depending on [__GCC_IEC_559_COMPLEX > 0].
19898
198992013-11-03 Chris Leonard <cjl@sugarlabs.org>
19900
19901 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
19902 to iso-639.def.
19903
199042013-11-03 Ondřej Bílka <neleai@seznam.cz>
19905
19906 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
19907
199082013-11-01 Ondřej Bílka <neleai@seznam.cz>
19909
19910 [BZ #16112]
19911 * malloc/malloc (malloc_info): Do not handle first bin as
19912 special case.
19913
199142013-11-01 Chris Leonard <cjl@sugarlabs.org>
19915
19916 * locale/iso-639.def: Add Central Nahuatl (nhn).
19917
199182013-11-01 Bruno Haible <bruno@clisp.org>
19919
19920 [BZ #7003]
19921 * manual/math.texi (BSD Random): Specify range upper bound as
19922 in POSIX.
19923
199242013-10-31 Chris Leonard <cjl@sugarlabs.org>
19925
19926 * locale/iso-639.def: Add Meadow Mari (mhr).
19927
199282013-10-31 Ondřej Bílka <neleai@seznam.cz>
19929
19930 [BZ #14752], [BZ #15763]
19931 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
19932 Validate name.
19933 * rt/tst_shm.c: Add test for escaping directory.
19934
199352013-10-31 Andreas Schwab <schwab@suse.de>
19936
19937 [BZ #15917]
19938 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
19939 followed by 'x' as part of digit sequence.
19940 * stdio-common/tst-sscanf.c (double_tests2): New tests.
19941
199422013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
19943
19944 [BZ #16037]
19945 * configure.ac: allow GNU Make 4.0 and greater.
19946 * configure: Regenerated.
19947
199482013-10-30 Will Newton <will.newton@linaro.org>
19949
19950 [BZ #16038]
19951 * malloc/hooks.c (memalign_check): Limit alignment to the
19952 maximum representable power of two.
19953 * malloc/malloc.c (__libc_memalign): Likewise.
19954 * malloc/tst-memalign.c (do_test): Add test for very
19955 large alignment values.
19956 * malloc/tst-posix_memalign.c (do_test): Likewise.
19957
199582013-10-30 Ondřej Bílka <neleai@seznam.cz>
19959
19960 [BZ #11087]
19961 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
19962 (munmap_chunk): Likewise.
19963 (mremap_chunk): Likewise.
19964
199652013-10-30 Ondřej Bílka <neleai@seznam.cz>
19966
19967 [BZ #15799]
19968 * stdlib/div.c (div): Remove obsolete code.
19969 * stdlib/ldiv.c (ldiv): Likewise.
19970 * stdlib/lldiv.c (lldiv): Likewise.
19971
199722013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19973
19974 [BZ #16071]
19975 * nss/nss_files/files-XXX.c (get_contents_ret): New
19976 enumerator.
19977 (get_contents): New function.
19978 (internal_getent): Use it. Expand size of LINEBUFLEN.
19979
199802013-10-30 Mike Frysinger <vapier@gentoo.org>
19981
19982 * configure.in: Moved to ...
19983 * configure.ac: ... here. Change reference to configure.in
19984 to configure.ac.
19985 * sysdeps/arm/preconfigure.ac: ... here.
19986 configure.in to configure.ac.
19987 * sysdeps/gnu/configure.in: Moved to ...
19988 * sysdeps/gnu/configure.ac: ... here.
19989 * sysdeps/i386/configure.in: Moved to ...
19990 * sysdeps/i386/configure.ac: ... here.
19991 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
19992 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
19993 * sysdeps/mach/configure.in: Moved to ...
19994 * sysdeps/mach/configure.ac: ... here.
19995 * sysdeps/mach/hurd/configure.in: Moved to ...
19996 * sysdeps/mach/hurd/configure.ac: ... here.
19997 * sysdeps/powerpc/configure.in: Moved to ...
19998 * sysdeps/powerpc/configure.ac: ... here.
19999 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
20000 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
20001 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
20002 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
20003 * sysdeps/s390/s390-32/configure.in: Moved to ...
20004 * sysdeps/s390/s390-32/configure.ac: ... here.
20005 * sysdeps/s390/s390-64/configure.in: Moved to ...
20006 * sysdeps/s390/s390-64/configure.ac: ... here.
20007 * sysdeps/sh/configure.in: Moved to ...
20008 * sysdeps/sh/configure.ac: ... here.
20009 * sysdeps/sparc/configure.in: Moved to ...
20010 * sysdeps/sparc/configure.ac: ... here.
20011 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
20012 * sysdeps/unix/sysv/linux/configure.ac: ... here.
20013 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
20014 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
20015 * sysdeps/x86_64/configure.in: Moved to ...
20016 * sysdeps/x86_64/configure.ac: ... here.
20017 * sysdeps/x86_64/preconfigure.in: Moved to ...
20018 * sysdeps/x86_64/preconfigure.ac: ... here.
20019 * aclocal.m4: Change reference to configure.in to configure.ac.
20020 * config.h.in: Likewise.
20021 * manual/install.texi: Likewise.
20022 * manual/maint.texi: Likewise.
20023 * Makefile: Likewise.
20024 * malloc/Makefile: Likewise.
20025 * nscd/Makefile: Likewise.
20026 * Makeconfig: Change reference to configure.in and
20027 preconfigure.in to configure.ac and preconfigure.ac
20028 respectively.
20029 * INSTALL: Regenerated.
20030 * configure: Likewise.
20031 * sysdeps/gnu/configure: Likewise.
20032 * sysdeps/i386/configure: Likewise.
20033 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
20034 * sysdeps/mach/configure: Likewise.
20035 * sysdeps/mach/hurd/configure: Likewise.
20036 * sysdeps/powerpc/configure: Likewise.
20037 * sysdeps/powerpc/powerpc32/configure: Likewise.
20038 * sysdeps/powerpc/powerpc64/configure: Likewise.
20039 * sysdeps/s390/s390-32/configure: Likewise.
20040 * sysdeps/s390/s390-64/configure: Likewise.
20041 * sysdeps/sh/configure: Likewise.
20042 * sysdeps/sparc/configure: Likewise.
20043 * sysdeps/unix/sysv/linux/configure: Likewise.
20044 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
20045 * sysdeps/x86_64/configure: Likewise.
20046 * sysdeps/x86_64/preconfigure: Likewise.
20047
200482013-10-29 Andreas Schwab <schwab@suse.de>
20049
20050 * stdio-common/Makefile (tst-swscanf-ENV): Define.
20051
200522013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20053
20054 * benchtests/pow-inputs: Add new inputs.
20055
20056 * benchtests/exp-inputs: Add new inputs.
20057
20058 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
20059 conditional check for return value.
20060 (__cos32): Likewise.
20061
200622013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20063
20064 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
20065 to provide a boost for large inputs with word alignment.
20066 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
20067 implementation based on optimized PPC64 strcpy.
20068 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
20069 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
20070 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
20071 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
20072
200732013-10-25 Ondřej Bílka <neleai@seznam.cz>
20074
20075 [BZ #2801]
20076 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
20077
200782013-10-25 Ondřej Bílka <neleai@seznam.cz>
20079
20080 [BZ #14876]
20081 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
20082 * time/tst-strptime.c (day_tests): Add testcase.
20083
200842013-10-25 Ondřej Bílka <neleai@seznam.cz>
20085
20086 [BZ #14029]
20087 * manual/pattern.texi: Acknowledge that fnmatch can fail.
20088
200892013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
20090
20091 [BZ #16074]
20092 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
20093 MAP_FAILED on error.
20094
200952013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20096
20097 [BZ #16072]
20098 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
20099 heap for large requests.
20100
201012013-10-25 Aurelien Jarno <aurelien@aurel32.net>
20102
20103 [BZ #9954]
20104 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
20105 result if the result has no associated interface.
20106 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
20107 interface for all 127.X.Y.Z addresses.
20108
201092013-10-24 Chris Leonard <cjl@sugarlabs.org>
20110
20111 * locale/iso-639.def: Add Ligurian (lij)
20112
201132013-10-21 Ondřej Bílka <neleai@seznam.cz>
20114
20115 [BZ #15825]
20116 * sunrpc/rpc_main.c: Document rpcgen -5.
20117
201182013-10-19 Michael Stahl <mstahl@redhat.com>
20119
20120 * elf/rtld.c (do_preload): Print the reason why preloading failed.
20121
201222013-10-19 Ondřej Bílka <neleai@seznam.cz>
20123
20124 [BZ #10278]
20125 * posix/glob.c: Match only directories when trailing slash is present.
20126 * posix/tst-gnuglob.c (my_opendir): Do not open files.
20127 (main): Add testcase.
20128
201292013-10-19 Ondřej Bílka <neleai@seznam.cz>
20130
20131 [BZ #15670]
20132 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
20133
201342013-10-18 Carlos O'Donell <carlos@redhat.com>
20135
20136 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
20137 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
20138 AUTH_DES and cindex for FIPS 140-2.
20139 (DES Encryption): Add cindex FIPS 46-3.
20140
20141 * locale/locarchive.h (struct locarhandle): Add fname.
20142 * locale/programs/localedef.c (main): Pass ARGV[remaining]
20143 if an optional argument was specified to --list-archive,
20144 otherwise NULL.
20145 * locale/programs/locarchive.c (show_archive_content): Take new
20146 argument fname and pass it via ah.fname to open_archive.
20147 * locale/programs/localedef.h: Update decl.
20148 (open_archive): If AH->fname is non-null, open that file
20149 rather than the default file name, and don't ignore ENOENT.
20150 (create_archive): Set AH.fname to NULL.
20151 (delete_locales_from_archive): Likewise.
20152 (add_locales_to_archive): Likewise.
20153 * locale/programs/locfile.c (write_all_categories): Likewise.
20154
201552013-10-18 Joseph Myers <joseph@codesourcery.com>
20156 Aldy Hernandez <aldyh@redhat.com>
20157
20158 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
20159 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
20160 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
20161 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
20162 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
20163 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
20164 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
20165 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
20166 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
20167 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
20168 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
20169 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
20170 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
20171 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
20172 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
20173 Likewise.
20174 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
20175 Likewise.
20176 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
20177 Likewise.
20178 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
20179 Likewise.
20180 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
20181 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
20182 Likewise.
20183 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
20184 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
20185 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
20186 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
20187 Likewise.
20188 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
20189 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
20190 * sysdeps/powerpc/preconfigure: Likewise.
20191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
20192 Likewise.
20193 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
20194 Replace contents of file by #include of <fenv_libc.h>.
20195 * sysdeps/powerpc/soft-fp/sfp-machine.h
20196 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
20197 and <sys/prctl.h>.
20198 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
20199 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
20200 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
20201 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
20202 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
20203 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
20204 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
20205 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
20206 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
20207 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
20208 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
20209 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
20210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20211 Allow copysignl PLT reference to be missing.
20212
202132013-10-18 Richard Sandiford <richard@codesourcery.com>
20214 Joseph Myers <joseph@codesourcery.com
20215
20216 [BZ #15948]
20217 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
20218 single character.
20219 (add_to_tablewc): Assert sequence of wide characters is nonempty.
20220
202212013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20222
20223 * elf/tst-tls-dlinfo.c: Don't include tls.h.
20224 * elf/tst-tls1.c: Likewise.
20225 * elf/tst-tls10.h: Likewise.
20226 * elf/tst-tls14.c: Likewise.
20227 * elf/tst-tls2.c: Likewise.
20228 * elf/tst-tls3.c: Likewise.
20229 * elf/tst-tls4.c: Likewise.
20230 * elf/tst-tls5.c: Likewise.
20231 * elf/tst-tls6.c: Likewise.
20232 * elf/tst-tls7.c: Likewise.
20233 * elf/tst-tls8.c: Likewise.
20234 * elf/tst-tls9.c: Likewise.
20235 * elf/tst-tlsmod1.c: Likewise.
20236 * elf/tst-tlsmod13.c: Likewise.
20237 * elf/tst-tlsmod13a.c: Likewise.
20238 * elf/tst-tlsmod14a.c: Likewise.
20239 * elf/tst-tlsmod16a.c: Likewise.
20240 * elf/tst-tlsmod16b.c: Likewise.
20241 * elf/tst-tlsmod2.c: Likewise.
20242 * elf/tst-tlsmod3.c: Likewise.
20243 * elf/tst-tlsmod4.c: Likewise.
20244 * elf/tst-tlsmod5.c: Likewise.
20245 * elf/tst-tlsmod6.c: Likewise.
20246
202472013-10-18 Ondřej Bílka <neleai@seznam.cz>
20248
20249 [BZ #12486]
20250 * malloc/malloc.c: remove checks for statistics.
20251
202522013-10-17 Ondřej Bílka <neleai@seznam.cz>
20253
20254 [BZ #15277]
20255 * inet/inet_net.c (inet_network): Detect additional invalid strings.
20256 * inet/tst-network.c: Add testcase.
20257
202582013-10-17 Andreas Schwab <schwab@suse.de>
20259
20260 [BZ #15218]
20261 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
20262 to determine canonical name.
20263
202642013-10-17 Ondřej Bílka <neleai@seznam.cz>
20265
20266 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
20267 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
20268 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20269 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20270 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20271 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20272 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20273 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20274 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20275 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20276 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20277 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20278 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20279 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20280 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20281 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20282 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20283 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20284 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20285 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20286 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20287 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20288 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20289 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
20290 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
20291 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20292 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20293 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
20294 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20295 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
20296 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20297 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20298 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20299 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20300 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20301 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20302 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20303 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20304 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20305 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20306 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20307 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20308 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20309 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20310 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20311 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20312 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20313 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20314 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20315 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20316 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20317 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20318 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20319 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20320 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20321 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20322 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20323 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20324
203252013-10-17 Joseph Myers <joseph@codesourcery.com>
20326
20327 [BZ #16041]
20328 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
20329 make result into a quiet NaN.
20330
203312013-10-16 Joseph Myers <joseph@codesourcery.com>
20332
20333 * soft-fp/adddf3.c: Fix horizontal whitespace.
20334 * soft-fp/addsf3.c: Likewise.
20335 * soft-fp/addtf3.c: Likewise.
20336 * soft-fp/divdf3.c: Likewise.
20337 * soft-fp/divsf3.c: Likewise.
20338 * soft-fp/divtf3.c: Likewise.
20339 * soft-fp/double.h: Likewise.
20340 * soft-fp/eqdf2.c: Likewise.
20341 * soft-fp/eqsf2.c: Likewise.
20342 * soft-fp/eqtf2.c: Likewise.
20343 * soft-fp/extenddftf2.c: Likewise.
20344 * soft-fp/extended.h: Likewise.
20345 * soft-fp/extendsfdf2.c: Likewise.
20346 * soft-fp/extendsftf2.c: Likewise.
20347 * soft-fp/extendxftf2.c: Likewise.
20348 * soft-fp/fixdfdi.c: Likewise.
20349 * soft-fp/fixdfsi.c: Likewise.
20350 * soft-fp/fixdfti.c: Likewise.
20351 * soft-fp/fixsfdi.c: Likewise.
20352 * soft-fp/fixsfsi.c: Likewise.
20353 * soft-fp/fixsfti.c: Likewise.
20354 * soft-fp/fixtfdi.c: Likewise.
20355 * soft-fp/fixtfsi.c: Likewise.
20356 * soft-fp/fixtfti.c: Likewise.
20357 * soft-fp/fixunsdfdi.c: Likewise.
20358 * soft-fp/fixunsdfsi.c: Likewise.
20359 * soft-fp/fixunsdfti.c: Likewise.
20360 * soft-fp/fixunssfdi.c: Likewise.
20361 * soft-fp/fixunssfsi.c: Likewise.
20362 * soft-fp/fixunssfti.c: Likewise.
20363 * soft-fp/fixunstfdi.c: Likewise.
20364 * soft-fp/fixunstfsi.c: Likewise.
20365 * soft-fp/fixunstfti.c: Likewise.
20366 * soft-fp/floatdidf.c: Likewise.
20367 * soft-fp/floatdisf.c: Likewise.
20368 * soft-fp/floatditf.c: Likewise.
20369 * soft-fp/floatsidf.c: Likewise.
20370 * soft-fp/floatsisf.c: Likewise.
20371 * soft-fp/floatsitf.c: Likewise.
20372 * soft-fp/floattidf.c: Likewise.
20373 * soft-fp/floattisf.c: Likewise.
20374 * soft-fp/floattitf.c: Likewise.
20375 * soft-fp/floatundidf.c: Likewise.
20376 * soft-fp/floatundisf.c: Likewise.
20377 * soft-fp/floatunditf.c: Likewise.
20378 * soft-fp/floatunsidf.c: Likewise.
20379 * soft-fp/floatunsisf.c: Likewise.
20380 * soft-fp/floatunsitf.c: Likewise.
20381 * soft-fp/floatuntidf.c: Likewise.
20382 * soft-fp/floatuntisf.c: Likewise.
20383 * soft-fp/floatuntitf.c: Likewise.
20384 * soft-fp/fmadf4.c: Likewise.
20385 * soft-fp/fmasf4.c: Likewise.
20386 * soft-fp/fmatf4.c: Likewise.
20387 * soft-fp/gedf2.c: Likewise.
20388 * soft-fp/gesf2.c: Likewise.
20389 * soft-fp/getf2.c: Likewise.
20390 * soft-fp/ledf2.c: Likewise.
20391 * soft-fp/lesf2.c: Likewise.
20392 * soft-fp/letf2.c: Likewise.
20393 * soft-fp/muldf3.c: Likewise.
20394 * soft-fp/mulsf3.c: Likewise.
20395 * soft-fp/multf3.c: Likewise.
20396 * soft-fp/negdf2.c: Likewise.
20397 * soft-fp/negsf2.c: Likewise.
20398 * soft-fp/negtf2.c: Likewise.
20399 * soft-fp/op-1.h: Likewise.
20400 * soft-fp/op-2.h: Likewise.
20401 * soft-fp/op-4.h: Likewise.
20402 * soft-fp/op-8.h: Likewise.
20403 * soft-fp/op-common.h: Likewise.
20404 * soft-fp/quad.h: Likewise.
20405 * soft-fp/single.h: Likewise.
20406 * soft-fp/soft-fp.h: Likewise.
20407 * soft-fp/sqrtdf2.c: Likewise.
20408 * soft-fp/sqrtsf2.c: Likewise.
20409 * soft-fp/sqrttf2.c: Likewise.
20410 * soft-fp/subdf3.c: Likewise.
20411 * soft-fp/subsf3.c: Likewise.
20412 * soft-fp/subtf3.c: Likewise.
20413 * soft-fp/truncdfsf2.c: Likewise.
20414 * soft-fp/trunctfdf2.c: Likewise.
20415 * soft-fp/trunctfsf2.c: Likewise.
20416 * soft-fp/trunctfxf2.c: Likewise.
20417 * soft-fp/unorddf2.c: Likewise.
20418 * soft-fp/unordsf2.c: Likewise.
20419 * soft-fp/unordtf2.c: Likewise.
20420
204212013-10-15 Joseph Myers <joseph@codesourcery.com>
20422
20423 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
20424 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
20425
204262013-10-15 Ondřej Bílka <neleai@seznam.cz>
20427
20428 * elf/dl-libc.c: Clear initfini list after freeing.
20429
204302013-10-14 Joseph Myers <joseph@codesourcery.com>
20431
20432 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
20433 * soft-fp/addsf3.c: Likewise.
20434 * soft-fp/addtf3.c: Likewise.
20435 * soft-fp/divdf3.c: Likewise.
20436 * soft-fp/divsf3.c: Likewise.
20437 * soft-fp/divtf3.c: Likewise.
20438 * soft-fp/double.h: Likewise.
20439 * soft-fp/eqdf2.c: Likewise.
20440 * soft-fp/eqsf2.c: Likewise.
20441 * soft-fp/eqtf2.c: Likewise.
20442 * soft-fp/extenddftf2.c: Likewise.
20443 * soft-fp/extended.h: Likewise.
20444 * soft-fp/extendsfdf2.c: Likewise.
20445 * soft-fp/extendsftf2.c: Likewise.
20446 * soft-fp/extendxftf2.c: Likewise.
20447 * soft-fp/fixdfdi.c: Likewise.
20448 * soft-fp/fixdfsi.c: Likewise.
20449 * soft-fp/fixdfti.c: Likewise.
20450 * soft-fp/fixsfdi.c: Likewise.
20451 * soft-fp/fixsfsi.c: Likewise.
20452 * soft-fp/fixsfti.c: Likewise.
20453 * soft-fp/fixtfdi.c: Likewise.
20454 * soft-fp/fixtfsi.c: Likewise.
20455 * soft-fp/fixtfti.c: Likewise.
20456 * soft-fp/fixunsdfdi.c: Likewise.
20457 * soft-fp/fixunsdfsi.c: Likewise.
20458 * soft-fp/fixunsdfti.c: Likewise.
20459 * soft-fp/fixunssfdi.c: Likewise.
20460 * soft-fp/fixunssfsi.c: Likewise.
20461 * soft-fp/fixunssfti.c: Likewise.
20462 * soft-fp/fixunstfdi.c: Likewise.
20463 * soft-fp/fixunstfsi.c: Likewise.
20464 * soft-fp/fixunstfti.c: Likewise.
20465 * soft-fp/floatdidf.c: Likewise.
20466 * soft-fp/floatdisf.c: Likewise.
20467 * soft-fp/floatditf.c: Likewise.
20468 * soft-fp/floatsidf.c: Likewise.
20469 * soft-fp/floatsisf.c: Likewise.
20470 * soft-fp/floatsitf.c: Likewise.
20471 * soft-fp/floattidf.c: Likewise.
20472 * soft-fp/floattisf.c: Likewise.
20473 * soft-fp/floattitf.c: Likewise.
20474 * soft-fp/floatundidf.c: Likewise.
20475 * soft-fp/floatundisf.c: Likewise.
20476 * soft-fp/floatunsidf.c: Likewise.
20477 * soft-fp/floatunsisf.c: Likewise.
20478 * soft-fp/floatuntidf.c: Likewise.
20479 * soft-fp/floatuntisf.c: Likewise.
20480 * soft-fp/floatuntitf.c: Likewise.
20481 * soft-fp/fmadf4.c: Likewise.
20482 * soft-fp/fmasf4.c: Likewise.
20483 * soft-fp/fmatf4.c: Likewise.
20484 * soft-fp/gedf2.c: Likewise.
20485 * soft-fp/gesf2.c: Likewise.
20486 * soft-fp/getf2.c: Likewise.
20487 * soft-fp/ledf2.c: Likewise.
20488 * soft-fp/lesf2.c: Likewise.
20489 * soft-fp/letf2.c: Likewise.
20490 * soft-fp/muldf3.c: Likewise.
20491 * soft-fp/mulsf3.c: Likewise.
20492 * soft-fp/multf3.c: Likewise.
20493 * soft-fp/negdf2.c: Likewise.
20494 * soft-fp/negsf2.c: Likewise.
20495 * soft-fp/negtf2.c: Likewise.
20496 * soft-fp/op-1.h: Likewise.
20497 * soft-fp/op-2.h: Likewise.
20498 * soft-fp/op-4.h: Likewise.
20499 * soft-fp/op-8.h: Likewise.
20500 * soft-fp/op-common.h: Likewise.
20501 * soft-fp/quad.h: Likewise.
20502 * soft-fp/single.h: Likewise.
20503 * soft-fp/soft-fp.h: Likewise.
20504 * soft-fp/sqrtdf2.c: Likewise.
20505 * soft-fp/sqrtsf2.c: Likewise.
20506 * soft-fp/sqrttf2.c: Likewise.
20507 * soft-fp/subdf3.c: Likewise.
20508 * soft-fp/subsf3.c: Likewise.
20509 * soft-fp/subtf3.c: Likewise.
20510 * soft-fp/truncdfsf2.c: Likewise.
20511 * soft-fp/trunctfdf2.c: Likewise.
20512 * soft-fp/trunctfsf2.c: Likewise.
20513 * soft-fp/trunctfxf2.c: Likewise.
20514 * soft-fp/unorddf2.c: Likewise.
20515 * soft-fp/unordsf2.c: Likewise.
20516 * soft-fp/unordtf2.c: Likewise.
20517
205182013-10-14 Ondřej Bílka <neleai@seznam.cz>
20519
20520 [BZ #15672]
20521 * misc/error.c (error_tail): Fix possible buffer overflow.
20522
205232013-10-14 Aurelien Jarno <aurelien@aurel32.net>
20524
20525 [BZ #13028]
20526 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
20527 address.
20528
205292013-10-14 P. J. McDermott <pj@pehjota.net>
20530
20531 [BZ #832]
20532 * elf/ldd.bash.in (try_trace): New function. Delete previous code
20533 testing pipefail option.
20534
205352013-10-12 Joseph Myers <joseph@codesourcery.com>
20536
20537 * soft-fp/double.h: Indent preprocessor directives inside #if.
20538 * soft-fp/extended.h: Likewise.
20539 * soft-fp/op-2.h: Likewise.
20540 * soft-fp/op-4.h: Likewise.
20541 * soft-fp/op-common.h: Likewise.
20542 * soft-fp/quad.h: Likewise.
20543 * soft-fp/single.h: Likewise.
20544 * soft-fp/soft-fp.h: Likewise.
20545
205462013-10-12 Yuri Chornoivan <yurchor@ukr.net>
20547
20548 * iconv/iconv_prog.c: Fix typos.
20549 * stdio-common/psiginfo-data.h: Likewise.
20550
205512013-10-12 Reuben Thomas <rrt@sc3d.org>
20552
20553 [BZ #15764]
20554 * locale/setlocale.c: Fix typo.
20555
205562013-10-12 Joseph Myers <joseph@codesourcery.com>
20557
20558 [BZ #16036]
20559 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
20560 signaling NaN arguments.
20561 * soft-fp/unordsf2.c (__unordsf2): Likewise.
20562 * soft-fp/unordtf2.c (__unordtf2): Likewise.
20563
20564 [BZ #14910]
20565 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
20566 unordered operands.
20567 * soft-fp/gesf2.c (__gesf2): Likewise.
20568 * soft-fp/getf2.c (__getf2): Likewise.
20569 * soft-fp/ledf2.c (__ledf2): Likewise.
20570 * soft-fp/lesf2.c (__lesf2): Likewise.
20571 * soft-fp/letf2.c (__letf2): Likewise.
20572
20573 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
20574 * soft-fp/eqsf2.c (__eqsf2): Likewise.
20575 * soft-fp/eqtf2.c (__eqtf2): Likewise.
20576 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
20577 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
20578 * soft-fp/fixdfti.c (__fixdfti): Likewise.
20579 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
20580 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
20581 * soft-fp/fixsfti.c (__fixsfti): Likewise.
20582 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
20583 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
20584 * soft-fp/fixtfti.c (__fixtfti): Likewise.
20585 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
20586 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
20587 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
20588 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
20589 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
20590 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
20591 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
20592 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
20593 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
20594 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
20595 * soft-fp/floatdisf.c (__floatdisf): Likewise.
20596 * soft-fp/floatsisf.c (__floatsisf): Likewise.
20597 * soft-fp/floattidf.c (__floattidf): Likewise.
20598 * soft-fp/floattisf.c (__floattisf): Likewise.
20599 * soft-fp/floattitf.c (__floattitf): Likewise.
20600 * soft-fp/floatundidf.c (__floatundidf): Likewise.
20601 * soft-fp/floatundisf.c (__floatundisf): Likewise.
20602 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
20603 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
20604 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
20605 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
20606 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
20607 * soft-fp/gesf2.c (__gesf2): Likewise.
20608 * soft-fp/getf2.c (__getf2): Likewise.
20609 * soft-fp/ledf2.c (__ledf2): Likewise.
20610 * soft-fp/lesf2.c (__lesf2): Likewise.
20611 * soft-fp/letf2.c (__letf2): Likewise.
20612
20613 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
20614 Undefine and redefine.
20615 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
20616 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
20617 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
20618 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
20619 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20620 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
20621 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20622 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
20623 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20624 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
20625 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20626 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
20627 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20628 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
20629 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20630
20631 [BZ #16032]
20632 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
20633 without decrementing exponent if mantissa >= that for the
20634 denominator, not >.
20635 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
20636 denominator, not >. Decrement exponent in < case instead of
20637 incrementing in >= case.
20638 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
20639 without decrementing exponent if mantissa >= that for the
20640 denominator, not >.
20641
20642 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
20643 computing saturated result for unsigned overflow.
20644
206452013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20646 Jeff Law <law@redhat.com>
20647
20648 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
20649 (atan2Mp): Add systemtap probe marker.
20650 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
20651 (__ieee754_log): Add systemtap probe marker.
20652 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
20653 (atanMp): Add systemtap probe marker.
20654 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
20655 (tanMp): Add systemtap probe marker.
20656 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
20657 (__slowexp): Add systemtap probe marker.
20658 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
20659 (__slowpow): Add systemtap probe marker.
20660 * manual/probes.texi: Document probes.
20661
206622013-10-11 Eric Biggers <ebiggers3@gmail.com>
20663
20664 [BZ #15362]
20665 * libio/fileops.c (_IO_new_file_write): Return count of bytes
20666 written.
20667 (_IO_new_file_xsputn): Don't return EOF if nothing has been
20668 written.
20669 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
20670 written to buffer but not flushed.
20671 * libio/iofwrite_u.c: Likewise.
20672 * libio/iopadn.c: Return bytes returned even if EOF was
20673 encountered.
20674 * libio/iowpadn.c: Likewise.
20675 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
20676 if _IO_padn does not write the whole buffer.
20677 [!COMPILE_WPRINTF] (PAD): Likewise.
20678
206792013-10-10 David S. Miller <davem@davemloft.net>
20680
20681 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
20682 directory block.
20683
206842013-10-10 Joseph Myers <joseph@codesourcery.com>
20685
20686 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
20687 instead of FSF address.
20688 * soft-fp/fixdfti.c: Likewise.
20689 * soft-fp/fixsfti.c: Likewise.
20690 * soft-fp/fixtfti.c: Likewise.
20691 * soft-fp/fixunsdfti.c: Likewise.
20692 * soft-fp/fixunssfti.c: Likewise.
20693 * soft-fp/fixunstfti.c: Likewise.
20694 * soft-fp/floattidf.c: Likewise.
20695 * soft-fp/floattisf.c: Likewise.
20696 * soft-fp/floattitf.c: Likewise.
20697 * soft-fp/floatuntidf.c: Likewise.
20698 * soft-fp/floatuntisf.c: Likewise.
20699 * soft-fp/floatuntitf.c: Likewise.
20700 * soft-fp/trunctfxf2.c: Likewise.
20701
20702 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
20703 * soft-fp/fixdfti.c: Likewise.
20704 * soft-fp/fixsfti.c: Likewise.
20705 * soft-fp/fixtfti.c: Likewise.
20706 * soft-fp/fixunsdfti.c: Likewise.
20707 * soft-fp/fixunssfti.c: Likewise.
20708 * soft-fp/fixunstfti.c: Likewise.
20709 * soft-fp/floattidf.c: Likewise.
20710 * soft-fp/floattisf.c: Likewise.
20711 * soft-fp/floattitf.c: Likewise.
20712 * soft-fp/floatuntidf.c: Likewise.
20713 * soft-fp/floatuntisf.c: Likewise.
20714 * soft-fp/floatuntitf.c: Likewise.
20715 * soft-fp/trunctfxf2.c: Likewise.
20716
207172013-10-10 David S. Miller <davem@davemloft.net>
20718
20719 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20720
207212013-10-10 Joseph Myers <joseph@codsourcery.com>
20722
20723 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20724 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
20725 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
20726 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
20727 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
20728 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
20729 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
20730
20731 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
20732 for NaNs before doing comparisons on argument.
20733 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20734 Likewise.
20735
207362013-10-10 Will Newton <will.newton@linaro.org>
20737
20738 * malloc/hooks.c (memalign_check): Ensure the value of bytes
20739 passed to _int_memalign does not overflow.
20740
207412013-10-10 Torvald Riegel <triegel@redhat.com>
20742
20743 * scripts/bench.pl: Add include-sources directive.
20744 * benchtests/README: Update documentation.
20745
207462013-10-10 Joseph Myers <joseph@codesourcery.com>
20747
20748 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
20749 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
20750 instead of FP_INIT_ROUNDMODE.
20751 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
20752 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
20753
20754 [BZ #16034]
20755 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
20756 copy class of input value.
20757 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
20758 not handle exceptions.
20759 * soft-fp/negsf2.c (__negsf2): Likewise.
20760 * soft-fp/negtf2.c (__negtf2): Likewise.
20761 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
20762
207632013-10-09 Joseph Myers <joseph@codesourcery.com>
20764
20765 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
20766 semicolon. From Linux kernel.
20767
207682013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
20769
20770 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
20771
207722013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
20773
20774 [BZ #156]
20775 * manual/socket.texi: Added statement about buffer
20776 for gethostbyname2_r.
20777
207782013-10-08 Ondřej Bílka <neleai@seznam.cz>
20779
20780 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
20781 Use .p2align directive instead, throughout.
20782 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20783 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
20784 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20785 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20786 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20787 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
20788 * sysdeps/x86_64/strchr.S: Likewise.
20789 * sysdeps/x86_64/strrchr.S: Likewise.
20790
207912013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20792
20793 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
20794
20795 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
20796
20797 * sysdeps/generic/math_private.h (__mpsin1): Remove
20798 declaration.
20799 (__mpcos1): Likewise.
20800 (__mpsin): New argument __range_reduce.
20801 (__mpcos): Likewise.
20802 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20803 (slow): Use __mpsin and __mpcos.
20804 (slow1): Likewise.
20805 (slow2): Likewise.
20806 (sloww): Likewise.
20807 (sloww1): Likewise.
20808 (sloww2): Likewise.
20809 (bsloww): Likewise.
20810 (bsloww1): Likewise.
20811 (bsloww2): Likewise.
20812 (cslow2): Likewise.
20813 (csloww): Likewise.
20814 (csloww1): Likewise.
20815 (csloww2): Likewise.
20816 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
20817 range_reduce. Merge in __mpsin1.
20818 (__mpcos): Likewise.
20819 (__mpsin1): Remove.
20820 (__mpcos1): Likewise.
20821
208222013-10-07 Joseph Myers <joseph@codesourcery.com>
20823
20824 * locale/loadlocale.c (_nl_intern_locale_data): Use
20825 LOCFILE_ALIGNED_P.
20826 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
20827 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
20828 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
20829 obstack data is appropriately aligned.
20830 (obstack_int32_grow_fast): Likewise.
20831 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
20832 * locale/programs/locfile.c (add_locale_uint32): Likewise.
20833 (add_locale_uint32_array): Likewise.
20834
208352013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20836
20837 * benchtests/Makefile: Remove ARGLIST and RET variables.
20838 ($(objpfx)bench-%.c): Pass only function name to the script.
20839 * benchtests/README: Update documentation.
20840 * benchtests/acos-inputs: Add new directives.
20841 * benchtests/acosh-inputs: Likewise.
20842 * benchtests/asin-inputs: Likewise.
20843 * benchtests/asinh-inputs: Likewise.
20844 * benchtests/atan-inputs: Likewise.
20845 * benchtests/atanh-inputs: Likewise.
20846 * benchtests/cos-inputs: Likewise.
20847 * benchtests/cosh-inputs: Likewise.
20848 * benchtests/exp-inputs: Likewise.
20849 * benchtests/log-inputs: Likewise.
20850 * benchtests/pow-inputs: Likewise.
20851 * benchtests/rint-inputs: Likewise.
20852 * benchtests/sin-inputs: Likewise.
20853 * benchtests/sinh-inputs: Likewise.
20854 * benchtests/tan-inputs: Likewise.
20855 * benchtests/tanh-inputs: Likewise.
20856 * scripts/bench.pl: Add support for new directives.
20857
208582013-10-07 Alan Modra <amodra@gmail.com>
20859
20860 * README: Fix careless merge.
20861
208622013-10-05 Alan Modra <amodra@gmail.com>
20863
20864 * NEWS: Mention powerpc64le support and bugs fixed.
20865 * README: Both big-endian and little-endian powerpc64 supported.
20866
208672013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
20868
20869 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
20870 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
20871 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
20872 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
20873
208742013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
20875
20876 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
20877 match prototype.
20878
208792013-10-04 Joseph Myers <joseph@codesourcery.com>
20880
20881 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
20882 Move -mhard-float appending from
20883 ports/sysdeps/powerpc/powerpc32/Makefile.
20884 [$(with-fp) = yes] (ASFLAGS): Likewise.
20885 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
20886 * sysdeps/powerpc/nofpu: Move directory from
20887 ports/sysdeps/powerpc/nofpu.
20888 * sysdeps/powerpc/soft-fp: Move directory from
20889 ports/sysdeps/powerpc/soft-fp.
20890 * sysdeps/powerpc/powerpc32/405: Move directory from
20891 ports/sysdeps/powerpc/powerpc32/405.
20892 * sysdeps/powerpc/powerpc32/440: Move directory from
20893 ports/sysdeps/powerpc/powerpc32/440.
20894 * sysdeps/powerpc/powerpc32/464: Move directory from
20895 ports/sysdeps/powerpc/powerpc32/464.
20896 * sysdeps/powerpc/powerpc32/476: Move directory from
20897 ports/sysdeps/powerpc/powerpc32/476.
20898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
20899 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
20900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
20901 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
20902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
20903 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
20904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
20905 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
20906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
20907 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
20908 * README: Update for powerpc-*-linux-gnu software floating point
20909 support in libc.
20910
20911 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
20912 case to powerpc/powerpc32*.
20913 * sysdeps/unix/sysv/linux/configure: Regenerated.
20914
20915 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
20916 (_FPU_MASK_OM): Define as 0x04.
20917 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
20918 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
20919 0x00c10080.
20920 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
20921 0x0000003c.
20922 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
20923
20924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
20925 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20926 getcontext_e500.
20927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
20928 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20929 setcontext_e500.
20930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
20931 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
20932 and setcontext_e500.
20933
209342013-10-04 Chris Leonard <cjl@sugarlabs,.org>
20935
20936 * locale/iso-3166.def: Update iso-1366.def and related occurrences
20937
209382013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20939
20940 * manual/threads.texi (Default Thread Attributes): Fix typo.
20941
209422013-10-04 Will Newton <will.newton@linaro.org>
20943
20944 * malloc/Makefile: Add tst-memalign.
20945 * malloc/tst-memalign.c: New file.
20946
20947 * malloc/tst-posix_memalign.c: Add comments.
20948 (do_test): Add comments and call free on all potentially
20949 allocated pointers. Add space after cast.
20950
20951 * malloc/tst-pvalloc.c: Add comments.
20952 (do_test): Add comments and call free on all potentially
20953 allocated pointers. Remove duplicate check for NULL pointer.
20954 Add space after cast.
20955
20956 * malloc/tst-valloc.c: Add comments.
20957 (do_test): Add comments and call free on all potentially
20958 allocated pointers. Remove duplicate check for NULL pointer.
20959 Add space after cast.
20960
209612013-10-04 Alan Modra <amodra@gmail.com>
20962
20963 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20964 Use stdint types in rather than __attribute__((mode())).
20965 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20966
209672013-10-04 Alan Modra <amodra@gmail.com>
20968
20969 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20970 Correct handling of unaligned relocs for little-endian.
20971 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20972
209732013-10-04 Alan Modra <amodra@gmail.com>
20974
20975 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
20976 * configure: Regenerate.
20977 * nptl/shlib-versions: Powerpc*le starts at 2.18.
20978 * shlib-versions: Likewise.
20979
209802013-10-04 Alan Modra <amodra@gmail.com>
20981
20982 * string/tester.c (test_memrchr): Increment reported test cycle.
20983
209842013-10-04 Alan Modra <amodra@gmail.com>
20985
20986 * string/test-memcpy.c (do_one_test): When reporting errors, print
20987 string address and don't overrun end of string.
20988
209892013-10-04 Alan Modra <amodra@gmail.com>
20990
20991 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
20992 insrdi. Make better use of reg selection to speed exit slightly.
20993 Schedule entry path a little better. Remove useless "are we done"
20994 checks on entry to main loop. Handle wrapping around zero address.
20995 Correct main loop count. Handle single left-over word from main
20996 loop inline rather than by using loop_small. Remove extra word
20997 case in loop_small caused by wrong loop count. Add little-endian
20998 support.
20999 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21000 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
21001 cache hint.
21002 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21003 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
21004 support. Avoid rlwimi.
21005 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
21006
210072013-10-04 Alan Modra <amodra@gmail.com>
21008
21009 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
21010 insrdi. Formatting.
21011 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
21012 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21013 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21014 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21015 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21016 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
21017
210182013-10-04 Alan Modra <amodra@gmail.com>
21019
21020 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
21021 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21022 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21023 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
21024 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21025 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21026 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21027 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21028 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
21029 use of regs. Use power7 mtocrf. Tidy function tails.
21030
210312013-10-04 Alan Modra <amodra@gmail.com>
21032
21033 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
21034 Formatting. Consistently use rXXX register defines or rN defines.
21035 Use early exit labels that avoid restoring unused non-volatile regs.
21036 Make cr field use more consistent with rWORDn compares. Rename
21037 regs used as shift registers for unaligned loop, using rN defines
21038 for short lifetime/multiple use regs.
21039 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21040 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
21041 addi 1,1,64 to pop stack frame. Simplify return value code.
21042 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21043
210442013-10-04 Alan Modra <amodra@gmail.com>
21045
21046 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
21047 support. Correct typos, formatting. Optimize tail. Use insrdi
21048 rather than rlwimi.
21049 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
21050 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
21051 little-endian support. Correct typos.
21052 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
21053 rather than rlwimi.
21054 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
21055 in loop and entry code to keep "and." results.
21056 (strchr): Add little-endian support. Comment. Move cntlzd
21057 earlier in tail.
21058 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
21059
210602013-10-04 Alan Modra <amodra@gmail.com>
21061
21062 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
21063 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
21064 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
21065 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
21066
210672013-10-04 Alan Modra <amodra@gmail.com>
21068
21069 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
21070 (rTMP): Define as r11.
21071 (strcmp): Add little-endian support. Optimise tail.
21072 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
21073 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21074 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21075 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21076 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21077 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21078 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21079
210802013-10-04 Alan Modra <amodra@gmail.com>
21081
21082 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
21083 little-endian support. Remove unnecessary "are we done" tests.
21084 Handle "s" wrapping around zero and extremely large "size".
21085 Correct main loop count. Handle single left-over word from main
21086 loop inline rather than by using small_loop. Correct comments.
21087 Delete "zero" tail, use "end_max" instead.
21088 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
21089
210902013-10-04 Alan Modra <amodra@gmail.com>
21091
21092 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
21093 support. Don't branch over align.
21094 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
21095 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
21096 support. Rearrange tmp reg use to suit. Comment.
21097 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
21098
210992013-10-04 Alan Modra <amodra@gmail.com>
21100
21101 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
21102
211032013-10-04 Alan Modra <amodra@gmail.com>
21104
21105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
21106 conditional form of branch and link when obtaining pc.
21107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
21108
211092013-10-04 Alan Modra <amodra@gmail.com>
21110
21111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
21112 HIWORD/LOWORD.
21113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
21114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
21115
211162013-10-04 Alan Modra <amodra@gmail.com>
21117
21118 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
21119 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
21120 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
21121 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
21122 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21123 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21124 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
21125 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21126 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
21127 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
21128
211292013-10-04 Anton Blanchard <anton@au1.ibm.com>
21130 Alistair Popple <alistair@ozlabs.au.ibm.com>
21131 Alan Modra <amodra@gmail.com>
21132
21133 [BZ #15723]
21134 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
21135 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
21136 _dl_hwcap access for little-endian.
21137 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
21138 destroy vmx regs when saving unaligned.
21139 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
21140 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
21141 destroy vmx regs when saving unaligned.
21142
211432013-10-04 Alan Modra <amodra@gmail.com>
21144
21145 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
21146 Don't use a union to pack hi/low value.
21147
211482013-10-04 Anton Blanchard <anton@au1.ibm.com>
21149
21150 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
21151 for little-endian.
21152 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21153 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
21154 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21155 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21156 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21157
211582013-10-04 Alan Modra <amodra@gmail.com>
21159
21160 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
21161 constants to usual value for .cst8 section, and remove redundant
21162 high address load.
21163 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
21164 constant for 0x1p52. Load little-endian words of double from
21165 correct stack offsets.
21166
211672013-10-04 Alan Modra <amodra@gmail.com>
21168
21169 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
21170 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
21171 words of double from correct stack offsets.
21172 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
21173 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
21174 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21175 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21176 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21177 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21178 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21179 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
21180 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
21181 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21182 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21183 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21184 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21185 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21186 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21187 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
21188 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
21189
211902013-10-04 Alan Modra <amodra@gmail.com>
21191
21192 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
21193 64-bit int/double union.
21194 (_FPU_SETCW): Likewise.
21195 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
21196 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
21197
211982013-10-04 Alan Modra <amodra@gmail.com>
21199
21200 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
21201 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
21202
212032013-10-04 Alan Modra <amodra@gmail.com>
21204
21205 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
21206 use vector int constants.
21207 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
21208
212092013-10-04 Anton Blanchard <anton@au1.ibm.com>
21210
21211 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
21212 array with long long.
21213 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
21214 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
21215 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
21216 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
21217 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
21218 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
21219 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
21220 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
21221 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
21222 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
21223 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
21224 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
21225 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
21226
212272013-10-04 Anton Blanchard <anton@au1.ibm.com>
21228
21229 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
21230 (__signbit): Likewise. Correct for little-endian.
21231 (__signbitl): Call __signbit.
21232 (lrint): Correct for little-endian.
21233 (lrintf): Call lrint.
21234
212352013-10-04 Alan Modra <amodra@gmail.com>
21236
21237 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
21238 union 32-bit int array member with 64-bit int array.
21239 (t515, tm256): Double rather than long double.
21240 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
21241
212422013-10-04 Alan Modra <amodra@gmail.com>
21243
21244 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
21245 Delete.
21246 (IEEE854_LONG_DOUBLE_BIAS): Delete.
21247 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
21248 version of math_ldbl.h.
21249
212502013-10-04 Alan Modra <amodra@gmail.com>
21251
21252 [BZ #15734], [BZ #15735]
21253 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
21254 all uses of ieee875 long double macros and unions. Simplify test
21255 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
21256 ldbl_extract_mantissa value for ix,iy exponents. Properly
21257 normalize after ldbl_extract_mantissa, and don't add hidden bit
21258 already handled. Don't treat low word of ieee854 mantissa like
21259 low word of IBM long double and mask off bit when testing for
21260 zero.
21261 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
21262 all uses of ieee875 long double macros and unions. Simplify tests
21263 for 0.0L and inf. Correct double adjustment of k. Delete dead code
21264 adjusting ha,hb. Simplify code setting kld. Delete two600 and
21265 two1022, instead use their values. Recognise that tests for large
21266 "a" and small "b" are mutually exclusive. Rename vars. Comment.
21267 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
21268 Rewrite all uses of ieee875 long double macros and unions. Simplify
21269 test for 0.0L and nan. Correct negation.
21270 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
21271 ieee875 long double macros and unions. Correct output for large
21272 magnitude x. Correct absolute value calculation.
21273 (__erfcl): Likewise.
21274 * math/libm-test.inc: Add tests for errors discovered in IBM long
21275 double versions of fmodl, remainderl, erfl and erfcl.
21276
212772013-10-04 Alan Modra <amodra@gmail.com>
21278
21279 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
21280 all uses of ieee854 long double macros and unions. Simplify tests
21281 for long doubles that are fully specified by the high double.
21282 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
21283 Likewise.
21284 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
21285 Remove dead code too.
21286 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21287 (__ieee754_ynl): Likewise.
21288 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
21289 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
21290 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
21291 Remove dead code too.
21292 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
21293 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
21294 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
21295 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
21296 Simplify.
21297 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
21298 Simplify.
21299 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
21300 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
21301 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
21302 Comment on variable precision.
21303 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
21304 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21305 Likewise.
21306 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21307 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21308 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21309 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
21310 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
21311
213122013-10-04 Alan Modra <amodra@gmail.com>
21313
21314 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
21315 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
21316 all uses of ieee854 long double macros and unions.
21317 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
21318 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21319 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
21320 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
21321 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
21322 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21323 Likewise.
21324 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
21325 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21326 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
21327 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21328 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
21329 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
21330 Simplify sign and nan test too.
21331 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
21332 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
21333 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
21334 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
21335 Likewise.
21336 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21337 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
21338 Likewise.
21339 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21340 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
21341 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
21342 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
21343 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
21344 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
21345
213462013-10-04 Alan Modra <amodra@gmail.com>
21347
21348 * stdio-common/printf_size.c (__printf_size): Don't use
21349 union ieee854_long_double in fpnum union.
21350 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
21351 signbit macro to retrieve sign from long double.
21352 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
21353 retrieve sign from long double.
21354 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
21355 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
21356 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
21357 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21358 * math/test-misc.c (main): Don't use union ieee854_long_double.
21359
213602013-10-04 Alan Modra <amodra@gmail.com>
21361
21362 [BZ #15680]
21363 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
21364 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
21365 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
21366 calculation. Remove unnecessary test for denormal exponent.
21367 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
21368 Correct handling of denormals. Avoid undefined shift behaviour.
21369 Correct normalisation of low mantissa when low double is denormal.
21370 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
21371 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
21372 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
21373 Correct normalisation of low mantissa. Test for overflow of high
21374 mantissa and normalise.
21375 (ldbl_nearbyint): Use more readable constant for two52.
21376 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
21377 (__mpn_construct_long_double): Fix test for overflow of high
21378 mantissa and correct normalisation. Avoid undefined shift.
21379
213802013-10-04 Alan Modra <amodra@gmail.com>
21381
21382 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21383 (union ibm_extended_long_double): Define as an array of ieee754_double.
21384 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
21385 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
21386 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
21387 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21388 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21389 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
21390 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21391 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21392 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21393 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
21394 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
21395
213962013-10-03 Joseph Myers <joseph@codesourcery.com>
21397
21398 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
21399 page size instead of calling getpagesize.
21400
21401 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
21402 (LOCFILE_ALIGN_MASK): Likewise.
21403 (LOCFILE_ALIGN_UP): Likewise.
21404 (LOCFILE_ALIGNED_P): Likewise.
21405 * locale/programs/ld-collate.c (collate_output): Use the new
21406 macros instead of __alignof__ (int32_t).
21407 * locale/weight.h (findidx): Likewise.
21408
214092013-10-03 Ondřej Bílka <neleai@seznam.cz>
21410
21411 [BZ #431]
21412 * manual/string.texi: Fix strncat and wcsncat.
21413
214142013-10-03 Brooks Moses <bmoses@google.com>
21415
21416 [BZ #15915]
21417 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
21418 * Makerules: ...here, and adjust associated comments.
21419
214202013-10-02 Will Newton <will.newton@linaro.org>
21421
21422 * malloc/Makefile: Add tst-pvalloc.
21423 * malloc/tst-pvalloc.c: New file.
21424
214252013-10-02 Will Newton <will.newton@linaro.org>
21426
21427 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
21428 improve test coverage.
21429
214302013-10-02 Will Newton <will.newton@linaro.org>
21431
21432 * malloc/Makefile: Add tst-posix_memalign.
21433 * malloc/tst-posix_memalign.c: New file.
21434
214352013-10-01 Eric Blake <eblake@redhat.com>
21436
21437 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
21438 Use __THROWNL rather than __THROW on static functions.
21439
214402013-09-30 Petr Machata <pmachata@redhat.com>
21441
21442 * elf/elf.h (R_AARCH64_ABS16): New macro.
21443 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
21444 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
21445 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
21446 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
21447 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
21448 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
21449 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
21450 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
21451 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
21452 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
21453 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
21454 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
21455 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
21456 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
21457 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
21458 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
21459 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
21460 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
21461 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
21462 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
21463 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
21464 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
21465 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
21466 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
21467 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
21468 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
21469 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
21470 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
21471 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
21472 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
21473 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
21474 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
21475 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
21476 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
21477 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
21478 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
21479 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
21480 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
21481 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
21482 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
21483 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
21484 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
21485 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
21486 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
21487 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
21488 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
21489 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
21490 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
21491 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
21492 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
21493 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
21494 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
21495 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
21496 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
21497 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
21498 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
21499 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
21500 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
21501 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
21502 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
21503 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
21504 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
21505 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
21506 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
21507 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
21508 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
21509 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
21510 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
21511 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
21512 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
21513 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
21514 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
21515 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
21516 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
21517 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
21518 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
21519 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
21520 (R_AARCH64_TLSDESC_LDR): Likewise.
21521 (R_AARCH64_TLSDESC_ADD): Likewise.
21522 (R_AARCH64_TLSDESC_CALL): Likewise.
21523
215242013-09-30 Andreas Schwab <schwab@suse.de>
21525
21526 [BZ #15048]
21527 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
21528 the nss database lookup.
21529 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21530 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21531
215322013-09-28 Mike Frysinger <vapier@gentoo.org>
21533
21534 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
21535
215362013-09-28 P. J. McDermott <pj@pehjota.net>
21537
21538 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
21539 ${Bash-specific parameter/pattern/string} parameter expansion.
21540 * sysdeps/unix/make-syscalls.sh: Likewise.
21541
215422013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21543
21544 * sysdeps/sh/stackguard-macros.h: New file.
21545
215462013-09-26 Ondřej Bílka <neleai@seznam.cz>
21547
21548 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21549 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
21550 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
21551 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
21552 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21553 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
21554
215552013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21556
21557 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
21558 Fix thread ID register.
21559
215602013-09-25 Joseph Myers <joseph@codesourcery.com>
21561
21562 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
21563 [POSIX || UNIX98]: Require rather than permitting all symbols from
21564 <time.h>.
21565 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
21566 element of struct sched_param.
21567 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
21568 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
21569 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
21570 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
21571 constant.
21572
215732013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
21574
21575 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
21576 argument calculation.
21577
215782013-09-24 Joseph Myers <joseph@codesourcery.com>
21579
21580 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
21581 Expect macro.
21582 [POSIX] (pthread_attr_t): Do not require type.
21583 [POSIX] (pthread_cond_t): Likewise.
21584 [POSIX] (pthread_condattr_t): Likewise.
21585 [POSIX] (pthread_key_t): Likewise.
21586 [POSIX] (pthread_mutex_t): Likewise.
21587 [POSIX] (pthread_mutexattr_t): Likewise.
21588 [POSIX] (pthread_once_t): Likewise.
21589 [POSIX] (pthread_t): Likewise.
21590 [POSIX-based standards] (pthread_atfork): Expect function.
21591
215922013-09-24 Joseph Myers <joseph@codesourcery.com>
21593 Richard Sandiford <richard@codesourcery.com>
21594
21595 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
21596 (swap_endianness_p): New extern variable.
21597 (set_big_endian): New inline function.
21598 (maybe_swap_uint32): Likewise.
21599 (maybe_swap_uint32_array): Likewise.
21600 (maybe_swap_uint32_obstack): Likewise.
21601 * locale/programs/locfile.c: Include <stdbool.h>.
21602 (swap_endianness_p): New variable.
21603 (add_locale_uint32): Call maybe_swap_uint32.
21604 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
21605 (write_locale_data): Call maybe_swap_uint32_array.
21606 * locale/programs/ld-collate.c (obstack_int32_grow): Call
21607 maybe_swap_uint32.
21608 (obstack_int32_grow_fast): Likewise.
21609 (output_weightwc): Call maybe_swap_uint32_obstack.
21610 (collate_output): Likewise.
21611 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
21612 (OPT_LITTLE_ENDIAN): Likewise.
21613 (options): Add --little-endian and --big-endian options.
21614 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
21615 * locale/programs/locarchive.c: Include "locfile.h".
21616 (GET): New macro.
21617 (SET): Likewise.
21618 (INC): Likewise.
21619 (create_archive): Use the new macros to access fields of
21620 structures directly mapped from or written to locale archives.
21621 (oldlocrecentcmp): Likewise.
21622 (enlarge_archive): Likewise.
21623 (insert_name): Likewise.
21624 (add_alias): Likewise.
21625 (add_locale): Likewise.
21626 (delete_locales_from_archive): Likewise.
21627 (show_archive_content): Likewise.
21628 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
21629 locale data.
21630
216312013-09-24 Roland McGrath <roland@hack.frob.com>
21632
21633 * manual/freemanuals.texi: Updated from (newly) canonical copy at
21634 http://www.gnu.org/doc/freemanuals.texi.
21635 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
21636
216372013-09-24 Will Newton <will.newton@linaro.org>
21638
21639 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
21640 macro.
21641
216422013-09-23 Joseph Myers <joseph@codesourcery.com>
21643
21644 * locale/hashval.h (compute_hashval): Interpret bytes of key as
21645 unsigned char.
21646
216472013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
21648
21649 * manual/threads.texi (POSIX Threads): Fix a typo.
21650
216512013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21652
21653 [BZ #14547]
21654 * string/tst-strcoll-overflow.c: New test case.
21655 * string/Makefile (xtests): Add tst-strcoll-overflow.
21656 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
21657 cache if string sizes may cause integer overflow.
21658
21659 [BZ #14547]
21660 * string/strcoll_l.c (coll_seq): New members rule, idx,
21661 save_idx and back_us.
21662 (get_next_seq_nocache): New function.
21663 (do_compare_nocache): New function.
21664 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
21665 when malloc fails.
21666
216672013-09-23 Carlos O'Donell <carlos@redhat.com>
21668
21669 [BZ #15754]
21670 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
21671 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
21672 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
21673
21674 [BZ #15754]
21675 * elf/Makefile (tests): Add tst-ptrguard1.
21676 (tests-static): Add tst-ptrguard1-static.
21677 (tst-ptrguard1-ARGS): Define.
21678 (tst-ptrguard1-static-ARGS): Define.
21679 * elf/tst-ptrguard1.c: New file.
21680 * elf/tst-ptrguard1-static.c: New file.
21681 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
21682 * sysdeps/i386/stackguard-macros.h: Likewise.
21683 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21684 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21685 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21686 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21687 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21688 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21689
216902013-09-23 Hector Marco <hecmargi@upv.es>
21691 Ismael Ripoll <iripoll@disca.upv.es>
21692 Carlos O'Donell <carlos@redhat.com>
21693
21694 [BZ #15754]
21695 * sysdeps/generic/stackguard-macros.h: Define
21696 __pointer_chk_guard_local and POINTER_CHK_GUARD.
21697 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
21698 Define __pointer_chk_guard_local.
21699 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
21700 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
21701
217022013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
21703
21704 [BZ #15859]
21705 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
21706
217072013-09-20 Andreas Schwab <schwab@linux-m68k.org>
21708
21709 * include/string.h (__ffs): Declare as hidden.
21710 * string/ffs.c (__ffs): Define as hidden.
21711 * sysdeps/i386/ffs.c (__ffs): Likewise.
21712 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
21713 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
21714 * sysdeps/s390/ffs.c (__ffs): Likewise.
21715 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
21716
217172013-09-20 Alexandre Oliva <aoliva@redhat.com>
21718
21719 * NEWS: Mention malloc probes.
21720
21721 * malloc/arena.c (new_heap): New memory_heap_new probe.
21722 (grow_heap): New memory_heap_more probe.
21723 (shrink_heap): New memory_heap_less probe.
21724 (heap_trim): New memory_heap_free probe.
21725 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
21726 (systrim): New memory_sbrk_less probe.
21727 * manual/probes.texi: Document them.
21728
21729 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
21730 * manual/probes.texi: Document it.
21731
21732 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
21733 (__libc_realloc): Add memory_realloc_retry probe.
21734 (__libc_memalign): Add memory_memalign_retry probe.
21735 (__libc_valloc): Add memory_valloc_retry probe.
21736 (__libc_pvalloc): Add memory_pvalloc_retry probe.
21737 (__libc_calloc): Add memory_calloc_retry probe.
21738 * manual/probes.texi: Document them.
21739
21740 * malloc/arena.c (get_free_list): Add probe
21741 memory_arena_reuse_free_list.
21742 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
21743 and memory_arena_reuse.
21744 (arena_get2) [!PER_THREAD]: Likewise.
21745 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
21746 memory_arena_reuse_realloc.
21747 * manual/probes.texi: Document them.
21748
21749 * malloc/malloc.c (__libc_free): Add
21750 memory_mallopt_free_dyn_thresholds probe.
21751 (__libc_mallopt): Add multiple memory_mallopt probes.
21752 * manual/probes.texi: Document them.
21753
21754 * malloc/malloc.c: Include stap-probe.h.
21755 (__libc_mallopt): Add memory_mallopt probe.
21756 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
21757 * manual/probes.texi: New.
21758 * manual/Makefile (chapters): Add probes.
21759 * manual/threads.texi: Set next node.
21760
217612013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
21762
21763 [BZ #15963, #13985]
21764 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
21765 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
21766 Add `Chinese' to `nan' entry name.
21767
217682013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21769
21770 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
21771 (POLYNOMIAL): Likewise.
21772 (TAYLOR_SINCOS): Likewise.
21773 (TAYLOR_SLOW): Likewise.
21774 (__sin): Use TAYLOR_SINCOS.
21775 (__cos): Likewise.
21776 (slow): Use TAYLOR_SLOW.
21777 (sloww): Likewise.
21778 (bsloww): Likewise.
21779 (csloww): Likewise.
21780
217812013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21782
21783 * stdlib/strtod_l.c: Fix buffer overrun.
21784
217852013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21786
21787 * benchtests/Makefile (bench): Add sincos.
21788 * benchtests/bench-sincos.c: New file.
21789
21790 * math/libm-test.inc (cos_test_data): New test inputs.
21791 (sin_test_data): Likewise.
21792
21793 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
21794 macro.
21795 (__sin): Use it.
21796 (__cos): Likewise.
21797 (slow1): Likewise.
21798 (slow2): Likewise.
21799 (sloww1): Likewise.
21800 (sloww2): Likewise.
21801 (bsloww1): Likewise.
21802 (bsloww2): Likewise.
21803 (cslow2): Likewise.
21804 (csloww1): Likewise.
21805 (csloww2): Likewise.
21806
21807 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
21808 function.
21809 (__sin): Use it.
21810 (__cos): Likewise.
21811
21812 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
21813 gotos.
21814 (__cos): Likewise.
21815
218162013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
21817
21818 * config.h.in (HAVE_MIPS_NAN2008): New macro.
21819 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
21820 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
21821 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
21822 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
21823 * elf/cache.c (print_entry): Handle the new cache flags.
21824
218252013-09-18 Joseph Myers <joseph@codesourcery.com>
21826 Aldy Hernandez <aldyh@redhat.com>
21827
21828 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
21829 Change condition to [_SOFT_FLOAT].
21830 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
21831 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
21832 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
21833 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
21834 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
21835 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
21836 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
21837 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
21838 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
21839 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
21840 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
21841 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
21842 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
21843 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
21844 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
21845 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
21846 declaration.
21847
218482013-09-18 Joseph Myers <joseph@codesourcery.com>
21849
21850 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
21851 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21852 (__longjmp): Use LOAD_GP to load saved GPRs.
21853 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
21854 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21855 (__sigsetjmp): Use SAVE_GP to save GPRs.
21856
21857 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
21858 Do not append -msoft-float.
21859 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
21860
218612013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21862
21863 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
21864
218652013-09-17 Joseph Myers <joseph@codesourcery.com>
21866
21867 [BZ #15966]
21868 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
21869 (_FPU_GETCW): Use initial "__" on variable and field names but not
21870 on macro parameter name.
21871 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
21872 parentheses around reference to macro parameter.
21873
218742013-09-13 Richard Sandiford <richard@codesourcery.com>
21875
21876 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
21877 prototype.
21878 (ctype_startup): Use uint32_t in cast and sizeof for
21879 ctype->charnames.
21880
218812013-09-11 Jia Liu <proljc@gmail.com>
21882
21883 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
21884 __daddr_t_defined.
21885 [__FreeBSD__]: Likewise.
21886
218872013-09-11 Ondřej Bílka <neleai@seznam.cz>
21888
21889 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21890 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
21891 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
21892 (strchr): Remove __strchr_sse42 ifunc selection.
21893 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
21894 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
21895
218962013-09-11 Will Newton <will.newton@linaro.org>
21897
21898 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
21899 parameter to RES. Remove hardcoded 1000 value.
21900 * benchtests/bench-skeleton.c (main): Pass RES parameter
21901 to TIMING_INIT and multiply result by 1000.
21902
219032013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21904
21905 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21906
219072013-09-11 Andreas Schwab <schwab@suse.de>
21908
21909 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21910 if not defined.
21911 (O_TMPFILE) [__USE_GNU]: Define.
21912 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
21913 Define.
21914
219152013-09-11 Will Newton <will.newton@linaro.org>
21916
21917 [BZ #15857]
21918 * malloc/malloc.c (__libc_memalign): Check the value of bytes
21919 does not overflow.
21920
219212013-09-11 Will Newton <will.newton@linaro.org>
21922
21923 [BZ #15856]
21924 * malloc/malloc.c (__libc_valloc): Check the value of bytes
21925 does not overflow.
21926
219272013-09-11 Will Newton <will.newton@linaro.org>
21928
21929 [BZ #15855]
21930 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
21931 does not overflow.
21932
219332013-09-10 Ondřej Bílka <neleai@seznam.cz>
21934
21935 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
21936 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21937 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21938 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21939 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21940
219412013-09-10 Allan McRae <allan@archlinux.org>
21942
21943 [BZ #15748]
21944 * manual/arith.texi (Parsing of Floats): Clarify
21945 cross-reference.
21946
21947 [BZ #15849]
21948 * manual/install.texi (Running make install): Mention
21949 --enable-pt-chown.
21950 * INSTALL: Regenerated.
21951
219522013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21953
21954 * csu/init-first.c (_init): Remove the !SHARED condition around
21955 FPU control word initialization.
21956 * elf/dl-support.c (_dl_fpu_control): New variable.
21957 (_dl_aux_init) <AT_FPUCW>: Initialize it.
21958 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
21959 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
21960 * math/test-fpucw-static.c: New file.
21961 * math/test-fpucw-ieee.c: New file.
21962 * math/test-fpucw-ieee-static.c: New file.
21963 * math/Makefile (tests): Add `test-fpucw-ieee' and
21964 `$(tests-static)'.
21965 (tests-static): New variable.
21966 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
21967 dependency to...
21968 [($(build-shared),yes)]
21969 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
21970 ... this.
21971 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
21972 New dependency.
21973
219742013-09-09 Allan McRae <allan@archlinux.org>
21975
21976 [BZ #15939]
21977 * manual/string.texi (Collation Functions): Fix typo in
21978 strcoll example.
21979 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
21980
21981 [BZ #15893]
21982 * stdlib/isomac.c (get_null_defines): Fix memory leak.
21983
21984 [BZ #15892]
21985 * libio/memstream.c (open_memstream): Fix memory leak.
21986 * libio/wmemstream.c (open_wmemstream): Likewise.
21987
21988 [BZ #15895]
21989 * nscd/netgroupcache.c: Fix nesting of ifdefs.
21990
219912013-09-09 Will Newton <will.newton@linaro.org>
21992
21993 * malloc/Makefile: Add tst-realloc to tests.
21994 * malloc/tst-realloc.c: New file.
21995
219962013-09-09 Allan McRae <allan@archlinux.org>
21997
21998 [BZ #15844]
21999 * COPYING: Update from GNU website to fix FSF address.
22000 * COPYING.LIB: Likewise.
22001
220022013-09-06 David S. Miller <davem@davemloft.net>
22003
22004 * po/zh_TW.po: Update Chinese (traditional) translation from
22005 translation project.
22006
220072013-09-06 Richard Sandiford <richard@codesourcery.com>
22008 Joseph Myers <joseph@codesourcery.com>
22009
22010 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
22011 "localeinfo.h".
22012 (obstack_chunk_alloc): New macro.
22013 (obstack_chunk_free): Likewise.
22014 (record_offset): New function.
22015 (init_locale_data): Likewise.
22016 (align_locale_data): Likewise.
22017 (add_locale_empty): Likewise.
22018 (add_locale_raw_data): Likewise.
22019 (add_locale_raw_obstack): Likewise.
22020 (add_locale_string): Likewise.
22021 (add_locale_wstring): Likewise.
22022 (add_locale_uint32): Likewise.
22023 (add_locale_uint32_array): Likewise.
22024 (add_locale_char): Likewise.
22025 (start_locale_structure): Likewise.
22026 (end_locale_structure): Likewise.
22027 (start_locale_prelude): Likewise.
22028 (end_locale_prelude): Likewise.
22029 (write_locale_data): Take locale_file structure rather than an
22030 iovec.
22031 * locale/programs/locfile.h: Include "obstack.h".
22032 (struct locale_file): Change to store locale file contents instead
22033 of header.
22034 (init_locale_data): New prototype.
22035 (align_locale_data): Likewise.
22036 (add_locale_empty): Likewise.
22037 (add_locale_raw_data): Likewise.
22038 (add_locale_raw_obstack): Likewise.
22039 (add_locale_string): Likewise.
22040 (add_locale_wstring): Likewise.
22041 (add_locale_uint32): Likewise.
22042 (add_locale_uint32_array): Likewise.
22043 (add_locale_char): Likewise.
22044 (start_locale_structure): Likewise.
22045 (end_locale_structure): Likewise.
22046 (start_locale_prelude): Likewise.
22047 (end_locale_prelude): Likewise.
22048 (write_locale_data): Update prototype.
22049 * locale/programs/3level.h (struct TABLE): Remove result field.
22050 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
22051 Use new locale_file interface.
22052 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
22053 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
22054 * locale/programs/ld-address.c (address_output): Use new
22055 locale_file interface.
22056 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
22057 NO_ADD_LOCALE.
22058 (collate_finish): Don't call collseq_table_finalize.
22059 (collate_output): Use new locale_file interface.
22060 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
22061 in file.
22062 (NO_FINALIZE): Change to NO_ADD_LOCALE.
22063 (TABLE): Move defines earlier in file.
22064 (ELEMENT): Likewise.
22065 (DEFAULT): Likewise.
22066 (wctrans_table_add): Move macro and inline function earlier in
22067 file.
22068 (struct wctype_table): Move type earlier in file.
22069 (add_locale_wctype_table): New static prototype.
22070 (struct locale_ctype_t): Use logical types instead of struct iovec
22071 pointers for members.
22072 (ctype_output): Use new locale_file interface.
22073 (wctype_table_finalize): Change to add_locale_wctype_table. Use
22074 new locale_file interface.
22075 (allocate_arrays): Update for use of new locale_file interface.
22076 * locale/programs/ld-identification.c (identification_output): Use
22077 new locale_file interface.
22078 * locale/programs/ld-measurement.c (measurement_output): Likewise.
22079 * locale/programs/ld-messages.c (messages_output): Likewise.
22080 * locale/programs/ld-monetary.c (monetary_output): Likewise.
22081 * locale/programs/ld-name.c (name_output): Likewise.
22082 * locale/programs/ld-numeric.c (numeric_output): Likewise.
22083 * locale/programs/ld-paper.c (paper_output): Likewise.
22084 * locale/programs/ld-telephone.c (telephone_output): Likewise.
22085 * locale/programs/ld-time.c (time_output): Likewise.
22086
220872013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22088
22089 * benchtests/Makefile: Add memrchr benchmark.
22090 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
22091 benchmark as memrchr.
22092 * benchtests/bench-memrchr-ifunc.c: New file.
22093 * benchtests/bench-memrchr.c: New file.
22094
220952013-09-06 Will Newton <will.newton@linaro.org>
22096
22097 * benchtests/Makefile (string-bench): Add memcpy.
22098
220992013-09-05 Carlos O'Donell <carlos@redhat.com>
22100 Cong Wang <amwang@redhat.com>
22101
22102 [BZ #15850]
22103 * sysdeps/unix/sysv/linux/bits/in.h
22104 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
22105 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
22106 before __USE_KERNEL_IPV6_DEFS uses.
22107 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
22108 IPPROTO_BEETPH.
22109 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
22110 sockaddr_in6, or ipv6_mreq.
22111
221122013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22113
22114 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
22115 memory access for final bytes in some large inputs.
22116 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
22117
221182013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22119
22120 * string/test-memrchr.c: New file.
22121 * string/test-memrchr-ifunc.c: New file.
22122 * string/Makefile: Add new memrchr testcase.
22123
221242013-09-05 Mike Frysinger <vapier@gentoo.org>
22125
22126 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
22127 fanotify_init returns EPERM.
22128
221292013-09-04 Joseph Myers <joseph@codesourcery.com>
22130
22131 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
22132 errors.
22133 (top level): Treat second token from macro or constant entries for
22134 allowed headers as allowed.
22135 * include/complex.h: Condition internal declarations on
22136 [!_ISOMAC].
22137 * include/fenv.h: Condition include of <stdbool.h> and internal
22138 declarations on [!_ISOMAC].
22139
221402013-09-04 Chris Leonard <cjl@sugarlabs,.org>
22141
22142 [BZ #15923]
22143 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
22144
221452013-09-04 Joseph Myers <joseph@codesourcery.com>
22146
22147 * configure.in (--enable-versioning): Remove configure option.
22148 (libc_cv_asm_symver_directive): Remove configure test.
22149 (libc_cv_ld_version_script_option): Likewise.
22150 (VERSIONING): Remove variable and AC_SUBST.
22151 (DO_VERSIONING): Remove AC_DEFINE.
22152 * configure: Regenerated.
22153 * config.h.in (DO_VERSIONING): Remove macro.
22154 * Makerules [$(versioning) = yes]: Change conditionals to
22155 [$(build-shared) = yes].
22156 * config.make.in (versioning): Remove variable.
22157 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
22158 [$(build-shared) = yes].
22159 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
22160 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
22161 * elf/Makefile [$(versioning) = yes]: Change conditionals to
22162 [$(build-shared) = yes].
22163 * extra-lib.mk [$(versioning) = yes]: Likewise.
22164 * hurd/Makefile [$(versioning) = yes]: Likewise.
22165 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
22166 [SHARED].
22167 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
22168 [SHARED].
22169 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22170 [SHARED && !NO_HIDDEN].
22171 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
22172 [SHARED].
22173 [SHARED && DO_VERSIONING]: Likewise..
22174 * libio/Makefile [$(versioning) = yes]: Change conditionals to
22175 [$(build-shared) = yes].
22176 * manual/install.texi (--disable-versioning): Remove
22177 documentation.
22178 * INSTALL: Regenerated.
22179 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
22180 to [SHARED].
22181 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
22182 [$(build-shared) = yes].
22183 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
22184 * sysdeps/i386/i686/multiarch/strstr-c.c
22185 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22186 [SHARED && !NO_HIDDEN].
22187 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
22188 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
22189 * sysdeps/powerpc/powerpc32/dl-machine.c
22190 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
22191 * sysdeps/powerpc/powerpc32/sysdep.h
22192 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
22193 to [SHARED && PIC && !NO_HIDDEN].
22194 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
22195 conditional to [SHARED].
22196
221972013-09-04 Will Newton <will.newton@linaro.org>
22198
22199 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
22200 * benchtests/bench-string.h: Include bench-timing.h instead
22201 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
22202 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
22203 call to HP_TIMING_DIFF_INIT.
22204 * benchtests/bench-memccpy.c: Use bench-timing.h macros
22205 instead of hp-timing.h macros.
22206 * benchtests/bench-memchr.c: Likewise.
22207 * benchtests/bench-memcmp.c: Likewise.
22208 * benchtests/bench-memcpy.c: Likewise.
22209 * benchtests/bench-memmem.c: Likewise.
22210 * benchtests/bench-memmove.c: Likewise.
22211 * benchtests/bench-memset.c: Likewise.
22212 * benchtests/bench-rawmemchr.c: Likewise.
22213 * benchtests/bench-strcasecmp.c: Likewise.
22214 * benchtests/bench-strcasestr.c: Likewise.
22215 * benchtests/bench-strcat.c: Likewise.
22216 * benchtests/bench-strchr.c: Likewise.
22217 * benchtests/bench-strcmp.c: Likewise.
22218 * benchtests/bench-strcpy.c: Likewise.
22219 * benchtests/bench-strcpy_chk.c: Likewise.
22220 * benchtests/bench-strlen.c: Likewise.
22221 * benchtests/bench-strncasecmp.c: Likewise.
22222 * benchtests/bench-strncat.c: Likewise.
22223 * benchtests/bench-strncmp.c: Likewise.
22224 * benchtests/bench-strncpy.c: Likewise.
22225 * benchtests/bench-strnlen.c: Likewise.
22226 * benchtests/bench-strpbrk.c: Likewise.
22227 * benchtests/bench-strrchr.c: Likewise.
22228 * benchtests/bench-strspn.c: Likewise.
22229 * benchtests/bench-strstr.c: Likewise.
22230
222312013-09-04 Will Newton <will.newton@linaro.org>
22232
22233 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
22234
222352013-09-03 Joseph Myers <joseph@codesourcery.com>
22236
22237 [BZ #15427]
22238 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22239 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
22240 * math/libm-test.inc (lgamma_test_data): Add more tests.
22241 * sysdeps/i386/fpu/libm-test-ulps: Update.
22242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22243
222442013-09-03 Ondřej Bílka <neleai@seznam.cz>
22245
22246 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
22247 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22248 Add ifunc.
22249 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22250 Add strcmp-sse2-unaligned
22251 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
22252
222532013-09-02 Mike Frysinger <vapier@gentoo.org>
22254
22255 * Versions.def (libc): Add GLIBC_2.19.
22256
222572013-09-02 Mike Frysinger <vapier@gentoo.org>
22258
22259 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
22260 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
22261
222622013-09-02 Joseph Myers <joseph@codesourcery.com>
22263
22264 [BZ #14155]
22265 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
22266 intermediate calculations in recurrence.
22267 (__ieee754_ynf): Likewise.
22268 * math/libm-test.inc (jn_test_data): Do not allow spurious
22269 underflow exception. Add more tests.
22270 (yn_test_data): Add more tests.
22271 * sysdeps/i386/fpu/libm-test-ulps: Update.
22272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22273
222742013-09-02 Ondřej Bílka <neleai@seznam.cz>
22275
22276 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
22277
222782013-08-30 Ondřej Bílka <neleai@seznam.cz>
22279
22280 * csu/init-first.c: Fix then/than typos.
22281 * locale/programs/ld-collate.c: Likewise.
22282 * locale/programs/linereader.h: Likewise.
22283 * manual/charset.texi: Likewise.
22284 * manual/filesys.texi: Likewise.
22285 * manual/stdio.texi: Likewise.
22286 * manual/string.texi: Likewise.
22287 * stdlib/fmtmsg.c: Likewise.
22288 * sysdeps/i386/stpncpy.S: Likewise.
22289 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22290 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22291 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22292 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22293
222942013-08-30 Ondřej Bílka <neleai@seznam.cz>
22295
22296 * elf/dl-open.c: Fix typos.
22297 * iconvdata/gbbig5.c: Likewise.
22298 * iconvdata/iso-2022-jp.c: Likewise.
22299 * iconv/gconv_int.h: Likewise.
22300 * iconv/loop.c: Likewise.
22301 * nis/rpcsvc/nis.h: Likewise.
22302 * resolv/ns_name.c: Likewise.
22303 * stdio-common/vfscanf.c: Likewise.
22304 * streams/stropts.h: Likewise.
22305 * sunrpc/rpc_thread.c: Likewise.
22306 * sysdeps/i386/strpbrk.S: Likewise.
22307 * sysdeps/ieee754/k_standard.c: Likewise.
22308 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22309 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22310 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
22311 * sysdeps/mach/hurd/profil.c: Likewise.
22312 * sysdeps/s390/dl-procinfo.h: Likewise.
22313 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
22314 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
22315 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
22316 * sysdeps/x86_64/dl-trampoline.S: Likewise.
22317 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22318
223192013-08-30 Ondřej Bílka <neleai@seznam.cz>
22320
22321 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
22322 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
22323
223242013-08-29 Ondřej Bílka <neleai@seznam.cz>
22325
22326 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
22327 aix specific files.
22328 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
22329 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
22330 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
22331 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
22332 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
22333 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
22334 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
22335 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
22336
223372013-08-29 Thomas Schwinge <thomas@codesourcery.com>
22338 Roland McGrath <roland@hack.frob.com>
22339
22340 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
22341 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
22342
223432013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
22344
22345 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
22346 __executable_start symbol instead of _start.
22347
223482013-08-29 Thomas Schwinge <thomas@codesourcery.com>
22349
22350 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
22351 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
22352 Move macros to...
22353 * sysdeps/gnu/ldsodefs.h: ... this new file.
22354
22355 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
22356 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
22357 instead of ELFOSABI_LINUX.
22358
22359 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
22360 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
22361 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
22362 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
22363 Likewise.
22364 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
22365 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
22366 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
22367 Likewise.
22368 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22369 (ibm_extended_long_double): Add ieee_nan member.
22370 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
22371 (do_test): New function.
22372
22373 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
22374 TEST_TRUNC.
22375 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
22376 functions, renamed from truncdfsf_test, trunctfsf_test,
22377 trunctfdf_test.
22378 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
22379 functions.
22380 (do_test): Run all these.
22381
223822013-08-29 Ondřej Bílka <neleai@seznam.cz>
22383
22384 * argp/argp-help.c: Fix typos.
22385 * argp/argp-parse.c: Likewise.
22386 * debug/backtracesyms.c: Likewise.
22387 * elf/elf.h: Likewise.
22388 * malloc/malloc.c: Likewise.
22389 * nis/nis_print.c: Likewise.
22390 * resolv/res_comp.c: Likewise.
22391 * stdlib/stdlib.h: Likewise.
22392 * sunrpc/clnt_tcp.c: Likewise.
22393 * sunrpc/clnt_udp.c: Likewise.
22394 * sunrpc/clnt_unix.c: Likewise.
22395 * sysdeps/unix/bsd/ptsname.c: Likewise.
22396 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
22397 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
22398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
22399 Likewise.
22400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
22401 Likewise.
22402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22403 Likewise.
22404 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22405
224062013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22407
22408 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
22409 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22410
224112013-08-27 Mike Frysinger <vapier@gentoo.org>
22412
22413 [BZ #15897]
22414 * dlfcn/Makefile (tests): Add bug-dl-leaf.
22415 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
22416 ($(objpfx)bug-dl-leaf): New rule.
22417 ($(objpfx)bug-dl-leaf.so): Likewise.
22418 ($(objpfx)bug-dl-leaf.out): Likewise.
22419 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
22420 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
22421 * dlfcn/bug-dl-leaf.c: New test.
22422 * dlfcn/bug-dl-leaf-lib.c: Likewise.
22423 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
22424 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
22425 (dlclose): Likewise.
22426 (dlmopen): Likewise.
22427
224282013-08-27 Roland McGrath <roland@hack.frob.com>
22429
22430 * include/netdb.h [!_ISOMAC]:
22431 Don't include <tls.h>.
22432 (h_errno, __libc_h_errno): Move declaration and macros out of
22433 [_LIBC_REENTRANT].
22434
22435 * include/resolv.h [_RESOLV_H_]:
22436 Don't include <tls.h>.
22437 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
22438 * resolv/res_libc.c: Don't include <tls.h>.
22439 (_res): Use __attribute__ ((nocommon)) in place of
22440 __attribute__ ((section (".bss"))).
22441
22442 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
22443 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
22444
22445 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
22446
22447 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
22448 only under [SIOCGIFCONF && SIOCGIFNETMASK].
22449
22450 * resolv/res_mkquery.c: Include <sys/time.h>.
22451
22452 * inet/ifreq.c: Moved to ...
22453 * sysdeps/unix/ifreq.c: ... here.
22454 * inet/ifreq.c: New file, true stub version.
22455
22456 * socket/sa_len.c: New file.
22457 * socket/Makefile (aux): Add it.
22458 * sysdeps/unix/sysv/linux/Makefile
22459 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
22460 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
22461 and #include <socket/sa_len.c>.
22462 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
22463 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
22464
22465 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
22466 * bits/socket.h: ... here.
22467
22468 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
22469 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
22470 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
22471
224722013-08-27 Andreas Schwab <schwab@suse.de>
22473
22474 [BZ #15736]
22475 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
22476 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
22477 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
22478 * string/test-strcasecmp.c (test_main): Run tests in several
22479 locales.
22480 * string/test-strncasecmp.c (test_main): Likewise.
22481
22482 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
22483 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
22484 to __strcasecmp_nonascii and __strncasecmp_nonascii.
22485 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
22486 (__strncasecmp_ssse3) [PIC]: Likewise.
22487
224882013-08-26 Roland McGrath <roland@hack.frob.com>
22489
22490 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
22491
22492 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
22493 instead of explicitly declaring xdecrypt.
22494 * nis/nss_nis/nis-publickey.c: Likewise.
22495
224962013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22497
22498 [BZ #15890]
22499 * nscd/aicache.c: Include res_hconf.h.
22500 (addhstaiX): Initialize res_hconf.
22501
225022013-08-26 Andreas Schwab <schwab@suse.de>
22503
22504 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
22505 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
22506
225072013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22508
22509 * nscd/aicache.c (addhstaiX): Fix indentation.
22510
225112013-08-25 Mike Frysinger <vapier@gentoo.org>
22512
22513 * configure.ac: Quote $build_pt_chown test.
22514 * configure: Regenerated.
22515
225162013-08-23 Joseph Myers <joseph@codesourcery.com>
22517
22518 [BZ #15532]
22519 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
22520 * math/s_cexpf.c (__cexpf): Likewise.
22521 * math/s_cexpl.c (__cexpl): Likewise.
22522 * math/libm-test.inc (cexp_test_data): Correct expected return
22523 value for NaN + i0. Add another test.
22524
225252013-08-22 David S. Miller <davem@davemloft.net>
22526
22527 * po/ca.po: Update Catalan translation from translation project.
22528 * po/uk.po: Add Ukrainian translations from translation project.
22529
225302013-08-21 Joseph Myers <joseph@codesourcery.com>
22531
22532 [BZ #15797]
22533 * math/s_fdim.c (__fdim): Check for infinite arguments if result
22534 is infinite, not alongside NaN test.
22535 * math/s_fdimf.c (__fdimf): Likewise.
22536 * math/s_fdiml.c (__fdiml): Likewise.
22537 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
22538 errno is unchanged.
22539
225402013-08-21 Ondřej Bílka <neleai@seznam.cz>
22541
22542 * argp/argp-help.c: Fix typos.
22543 * crypt/speeds.c: Likewise.
22544 * csu/check_fds.c: Likewise.
22545 * elf/dl-load.c: Likewise.
22546 * elf/dl-open.c: Likewise.
22547 * elf/reldep3.c: Likewise.
22548 * elf/reldep.c: Likewise.
22549 * elf/sprof.c: Likewise.
22550 * iconv/iconv_charmap.c: Likewise.
22551 * iconv/skeleton.c: Likewise.
22552 * iconv/strtab.c: Likewise.
22553 * io/lockf64.c: Likewise.
22554 * libio/libioP.h: Likewise.
22555 * resolv/gai_notify.c: Likewise.
22556 * resolv/ns_name.c: Likewise.
22557 * resolv/ns_samedomain.c: Likewise.
22558 * resolv/res_send.c: Likewise.
22559 * stdlib/random.c: Likewise.
22560 * sunrpc/rpc/xdr.h: Likewise.
22561 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
22562 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22563 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22564 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22565 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22566 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22567 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22568 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22569 * sysdeps/mach/hurd/check_fds.c: Likewise.
22570 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22571 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22572 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22573 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22574 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22575 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22576 * sysdeps/pthread/aio_notify.c: Likewise.
22577 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
22578 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
22579 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
22580 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22581 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22582
225832013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22584
22585 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
22586 version if bit_Slow_SSE4_2 is set.
22587 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22588 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22589
225902013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22591
22592 [BZ #15867]
22593 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
22594 trampoline stack frame information.
22595 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
22596 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
22597 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
22598 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
22599 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
22600 * sysdeps/unix/sysv/linux/powerpc/init-first.c
22601 (_libc_vdso_platform_setup): Initialize the signal trampolines.
22602 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
22603 sa_flags value.
22604 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
22605 interrupting a syscall and set with option SA_SIGINFO.
22606
226072013-08-20 Joseph Myers <joseph@codesourcery.com>
22608
22609 [BZ #15531]
22610 * math/s_cproj.c (__cproj): Only return an infinity if one part of
22611 argument is infinite.
22612 * math/s_cprojf.c (__cprojf): Likewise.
22613 * math/s_cprojl.c (__cprojl): Likewise.
22614 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
22615 * math/libm-test.inc (cproj_test_data): Add more tests.
22616
22617 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
22618
22619 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
22620 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
22621 size. Use __ffs to determine corresponding shift.
22622
226232013-08-20 Joseph Myers <joseph@codesourcery.com>
22624 Roland McGrath <roland@hack.frob.com>
22625
22626 * Makefile (INSTALL): Remove trailing blank lines from output of
22627 makeinfo.
22628
226292013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22630
22631 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
22632 Align 32 bit compat elf_greg to 8 bytes.
22633
226342013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
22635
22636 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
22637
226382013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22639
22640 * string/strcoll_l.c (coll_seq): New structure.
22641 (get_next_seq_cached): New function.
22642 (get_next_seq): New function.
22643 (do_compare): New function.
22644 (STRCOLL): Use GNU style definition. Simplify implementation
22645 by using get_next_seq, get_next_seq_cached and do_compare.
22646
226472013-08-16 Florian Weimer <fweimer@redhat.com>
22648
22649 [BZ #14699]
22650 CVE-2013-4237
22651 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
22652 member.
22653 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
22654 member.
22655 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
22656 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
22657 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
22658 conditional.
22659 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
22660 GETDENTS_64BIT_ALIGNED.
22661 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22662 * manual/filesys.texi (Reading/Closing Directory): Document
22663 ENAMETOOLONG return value of readdir_r. Recommend readdir more
22664 strongly.
22665 * manual/conf.texi (Limits for Files): Add portability note to
22666 NAME_MAX, PATH_MAX.
22667 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
22668
226692013-08-13 Andreas Schwab <schwab@suse.de>
22670
22671 [BZ #15749]
22672 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
22673 of fabs.
22674 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
22675 LDBL_MAX_EXP >= 16384]: Add tests for it.
22676
226772013-08-12 David S. Miller <davem@davemloft.net>
22678
22679 * version.h (RELEASE): Set to "development".
22680 (VERSION): Set to "2.18.90".
22681 * NEWS: Add 2.19 section.
22682
226832013-08-03 David S. Miller <davem@davemloft.net>
22684
22685 * po/ko.po: Update Korean translation from translation project.
22686
226872013-08-01 David S. Miller <davem@davemloft.net>
22688
22689 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
22690 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
22691 Bilka.
22692
226932013-07-30 David S. Miller <davem@davemloft.net>
22694
22695 * po/fr.po: Update French translation from translation project.
22696
226972013-07-28 David S. Miller <davem@davemloft.net>
22698
22699 * po/cs.po: Update Czech translation from translation project.
22700
22701 * po/sv.po: Update Swedish translation from translation project.
22702
227032013-07-27 David S. Miller <davem@davemloft.net>
22704
22705 * po/eo.po: Update Esperanto translation from translation project.
22706
22707 * po/vi.po: Update Vietnamese translation from translation project.
22708
22709 * po/de.po: Update German translation from translation project.
22710
227112013-07-26 David S. Miller <davem@davemloft.net>
22712
22713 * po/bg.po: Update Bulgarian translation from translation project.
22714
22715 * po/nl.po: Update Dutch translation from translation project.
22716 * po/pl.po: Update Polish translation from translation project.
22717 * po/ru.po: Update Russian translation from translation project.
22718
227192013-07-24 David S. Miller <davem@davemloft.net>
22720
22721 * po/libc.pot: Update.
22722
227232013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22724
22725 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
22726 variable page size.
22727 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
22728 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
22729 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
22730
227312013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22732
22733 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
22734
227352013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22736 Andreas Schwab <schwab@suse.de>
22737 Roland McGrath <roland@hack.frob.com>
22738 Joseph Myers <joseph@codesourcery.com>
22739 Carlos O'Donell <carlos@redhat.com>
22740
22741 [BZ #15755]
22742 * config.h.in: Define HAVE_PT_CHOWN.
22743 * config.make.in (build-pt-chown): New variable.
22744 * configure.in (--enable-pt_chown): New configure option.
22745 * configure: Regenerate.
22746 * login/Makefile: Include Makeconfig. Build pt_chown only if
22747 build-pt-chown is enabled.
22748 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
22749 pt_chown to fix pty ownership.
22750 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
22751 CLOSE_ALL_FDS.
22752 * manual/install.texi (Configuring and compiling): Mention
22753 --enable-pt_chown. Add @findex for grantpt.
22754 * INSTALL: Regenerate.
22755
227562013-07-20 David S. Miller <davem@davemloft.net>
22757
22758 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
22759 difference between 32-bit and 64-bit.
22760
227612013-07-15 Carlos O'Donell <carlos@redhat.com>
22762
22763 [BZ #15711]
22764 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
22765 Avoid system header dependency with -ffreestanding.
22766 ($(objpfx)bits/syscall%d): Likewise.
22767
227682013-07-13 David S. Miller <davem@davemloft.net>
22769
22770 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
22771 underflows from atanl/atan2l due to bug 15319.
22772 (casinh_test_data): Likewise.
22773
227742013-07-07 David S. Miller <davem@davemloft.net>
22775
22776 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22777
227782013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
22779
22780 * sysdeps/i386/fpu/libm-test-ulps: Update.
22781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22782
227832013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22784
22785 * configure.in (--enable-lock-elision): Fix message text.
22786 * INSTALL: Regenerate.
22787 * configure: Regenerate.
22788
227892013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22790
22791 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22792
227932013-07-03 Andreas Jaeger <aj@suse.de>
22794
22795 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
22796 define.
22797 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
22798 (ptrace_peeksiginfo_args): Add.
22799 (__ptrace_peeksiginfo_flags): Add.
22800 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22801 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22802 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22803
228042013-07-03 Allan McRae <allan@archlinux.org>
22805
22806 * sysdeps/i386/fpu/libm-test-ulps: Update.
22807
228082013-07-02 David S. Miller <davem@davemloft.net>
22809
22810 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22811
228122013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
22813
22814 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22815
228162013-07-02 Joseph Myers <joseph@codesourcery.com>
22817
22818 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22820
228212013-07-02 Andi Kleen <ak@linux.intel.com>
22822
22823 * config.h.in (ENABLE_LOCK_ELISION): Add.
22824 * configure.in (--enable-lock-elision): Add option.
22825 * manual/install.texi: Document --enable lock elision.
22826 * configure: Regenerate
22827 * INSTALL: Regenerate.
22828
228292013-07-02 H.J. Lu <hongjiu.lu@intel.com>
22830
22831 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
22832 SSE4.2 strcasecmp for libc.a.
22833 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
22834
228352013-07-02 Joseph Myers <joseph@codesourcery.com>
22836
22837 [BZ #13304]
22838 * soft-fp/op-common.h (_FP_FMA): New macro.
22839 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
22840 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
22841 (_FP_MUL_MEAT_1_imm): ... here.
22842 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
22843 (_FP_MUL_MEAT_1_wide): ... here.
22844 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
22845 (_FP_MUL_MEAT_1_hard): ... here.
22846 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
22847 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
22848 (_FP_MUL_MEAT_2_wide): ... here.
22849 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
22850 (_FP_MUL_MEAT_2_wide_3mul): ... here.
22851 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
22852 (_FP_MUL_MEAT_2_gmp): ... here.
22853 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
22854 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
22855 (_FP_MUL_MEAT_4_wide): ... here.
22856 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
22857 (_FP_MUL_MEAT_4_gmp): ... here.
22858 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
22859 (_FP_WFRACBITS_DW_S): Likewise.
22860 (_FP_WFRACXBITS_DW_S): Likewise.
22861 (_FP_HIGHBIT_DW_S): Likewise.
22862 (FP_FMA_S): Likewise.
22863 (_FP_FRAC_HIGH_DW_S): Likewise.
22864 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
22865 (_FP_WFRACBITS_DW_D): Likewise.
22866 (_FP_WFRACXBITS_DW_D): Likewise.
22867 (_FP_HIGHBIT_DW_D): Likewise.
22868 (FP_FMA_D): Likewise.
22869 (_FP_FRAC_HIGH_DW_D): Likewise.
22870 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
22871 (_FP_WFRACBITS_DW_E): Likewise.
22872 (_FP_WFRACXBITS_DW_E): Likewise.
22873 (_FP_HIGHBIT_DW_E): Likewise.
22874 (FP_FMA_E): Likewise.
22875 (_FP_FRAC_HIGH_DW_E): Likewise.
22876 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
22877 (_FP_WFRACBITS_DW_Q): Likewise.
22878 (_FP_WFRACXBITS_DW_Q): Likewise.
22879 (_FP_HIGHBIT_DW_Q): Likewise.
22880 (FP_FMA_Q): Likewise.
22881 (_FP_FRAC_HIGH_DW_Q): Likewise.
22882 * soft-fp/fmasf4.c: New file.
22883 * soft-fp/fmadf4.c: Likewise.
22884 * soft-fp/fmatf4.c: Likewise.
22885
228862013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22887
22888 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22889 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
22890 Silvermont.
22891 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
22892 macro.
22893 (index_Slow_SSE4_2): Likewise.
22894 (index_Prefer_PMINUB_for_stringop): Likewise.
22895 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
22896 bit_Slow_SSE4_2 is set.
22897 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22898 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22899
229002013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22901
22902 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
22903 rtld_global._dl_hwcap2.
22904 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
22905 POWER8.
22906 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
22907 POWER8 feature descriptions defined in _dl_hwcap2.
22908 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
22909 string handling for POWER8 feature bits.
22910 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
22911 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
22912 _dl_powerpc_cap_flags.
22913 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
22914 * sysdeps/powerpc/rtld-global-offsets.sym
22915 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
22916 _dl_hwcap2 in the rtld_global_ro structure.
22917
229182013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22919
22920 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
22921 hardware capabilities in support of AT_HWCAP2.
22922 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
22923 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
22924 GLRO(dl_hwcap2).
22925 (_dl_show_auxv): Add support for calling _dl_procinfo to display
22926 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
22927 explicitly the unknown a_type display mechanism is used.
22928 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
22929 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
22930 struct member.
22931 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
22932 to macro prototype for AT_HWCAP2 support.
22933 * sysdeps/i386/dl-procinfo.h: Likewise.
22934 * sysdeps/s390/dl-procinfo.h: Likewise.
22935 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
22936 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
22937 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
22938 return -1 for unknown a_type display fallback.
22939 * sysdeps/sparc/dl-procinfo.h: Likewise.
22940 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
22941 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
22942
229432013-06-28 Joseph Myers <joseph@codesourcery.com>
22944
22945 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
22946 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
22947
229482013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
22949
22950 [BZ #12492]
22951 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
22952 mprotect making __stack_prot writable.
22953
229542013-06-28 Nathan Froyd <froydnj@codesourcery.com>
22955 Joseph Myers <joseph@codesourcery.com>
22956
22957 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
22958 as being properly aligned.
22959
229602013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
22961
22962 * dlfcn/modstatic5.c: New file.
22963 * dlfcn/tststatic5.c: New file.
22964 * dlfcn/Makefile (tests): Add tststatic5.
22965 (tests-static): Likewise.
22966 (modules-names): Add modstatic5.
22967 (tststatic5-ENV): New variable.
22968 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
22969
22970 [BZ #15022]
22971 * elf/dl-support.c (_dl_main_map): New variable.
22972 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
22973 (_dl_nns, _dl_load_adds): Set to 1.
22974 (_dl_initial_searchlist): Refer to _dl_main_map.
22975 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
22976 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
22977 call to _dl_get_origin.
22978 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
22979 around call_map.
22980 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
22981 * dlfcn/modstatic3.c: New file.
22982 * dlfcn/tststatic3.c: New file.
22983 * dlfcn/tststatic4.c: New file.
22984 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
22985 (tests-static): Likewise.
22986 (modules-names): Add modstatic3.
22987 (tststatic3-ENV, tststatic4-ENV): New variables.
22988 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
22989 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
22990
229912013-06-26 Joseph Myers <joseph@codesourcery.com>
22992
22993 * configure.in (CC): Require GCC version 4.4 or later.
22994 * configure: Regenerated.
22995 * manual/install.texi (Tools for Compilation): Update GCC version
22996 requirement.
22997 * INSTALL: Regenerated.
22998
229992013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23000
23001 [BZ #15674]
23002 * string/test-memcmp.c (check2): New.
23003 (main): Call check2.
23004
23005 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
23006
230072013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
23008
23009 [BZ #15022]
23010 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
23011 over to...
23012 (dl_open_worker) [!SHARED]: ... here.
23013
230142013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23015
23016 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
23017
230182013-06-25 Richard Henderson <rth@redhat.com>
23019
23020 * locale/programs/locarchive.c: Include <libc-internal.h>
23021
230222013-06-25 Joseph Myers <joseph@codesourcery.com>
23023
23024 * manual/texinfo.tex: Update to version 2013-06-21.17, with
23025 trailing whitespace removed.
23026
230272013-06-24 Mike Frysinger <vapier@gentoo.org>
23028
23029 [BZ #10283]
23030 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
23031 * locale/programs/locarchive.c: Include libc-mmap.h.
23032 (prepare_address_space): Take two new outputs (the mmap base and len).
23033 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
23034 values.
23035 (create_archive): Declare new mmap base and len values for
23036 prepare_address_space, and store the result in ah.
23037 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
23038 (enlarge_archive): If ah->mmap_base is not NULL, use that and
23039 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23040 Declare new mmap base and len values for
23041 prepare_address_space, and store the result in new_ah.
23042 (open_archive): Declare new mmap base and len values for
23043 prepare_address_space, and store the result in ah.
23044 (close_archive): If ah->mmap_base is not NULL, use that and
23045 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23046 * sysdeps/generic/libc-mmap.h: New file.
23047
230482013-06-24 Mike Frysinger <vapier@gentoo.org>
23049
23050 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
23051 (ALIGN_UP): Likewise.
23052 (PTR_ALIGN_DOWN): Likewise.
23053 (PTR_ALIGN_UP): Likewise.
23054
230552013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23056
23057 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
23058 entry mapped to PPC_PLATFORM_POWER8.
23059 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
23060 POWER8.
23061 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
23062 (_dl_string_platform): Add case for exporting platform position for
23063 POWER8.
23064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
23065 search path to sysdeps/powerpc/powerpc32/power8 directory.
23066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
23067 search path to sysdeps/powerpc/powerpc64/power8 directory.
23068 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
23069 power7 directories.
23070 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
23071 power7 directories.
23072
230732013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23074
23075 * INSTALL: Regenerate.
23076
23077 * nscd/connections.c (nscd_init): Fix comment.
23078
230792013-06-22 Joseph Myers <joseph@codesourcery.com>
23080
23081 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
23082
23083 [BZ #15667]
23084 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
23085 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
23086
230872013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23088
23089 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
23090 DL_DST_REQ_STATIC.
23091 (DL_DST_REQ_STATIC): Remove macro.
23092
230932013-06-21 Joseph Myers <joseph@codesourcery.com>
23094
23095 [BZ #7006]
23096 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
23097 with a shift of 0 bits.
23098
230992013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23100
23101 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
23102 $(tststatic-ENV).
23103
231042013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23105
23106 [BZ #15655]
23107 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
23108
231092013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23110
23111 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
23112 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
23113 accepts -fno-tree-loop-distribute-patterns.
23114 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
23115 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
23116 recursive call.
23117 * string/memset.c (memset): Likewise.
23118 * string/test-memmove.c (simple_memmove): Disable loop transformation
23119 to library calls.
23120 * string/test-memset.c (simple_memset): Likewise.
23121 * benchtests/bench-memmove.c (simple_memmove): Likewise.
23122 * benchtests/bench-memset.c (simple_memset): Likewise.
23123 * configure: Regenerated.
23124
231252013-06-20 Joseph Myers <joseph@codesourcery.com>
23126
23127 * math/test-misc.c (main): Ignore fesetround failure when failures
23128 of subsequent rounding tests would be ignored.
23129
23130 [BZ #15654]
23131 * math/fedisblxcpt.c (fedisableexcept): Return 0.
23132 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
23133 * math/fegetenv.c (__fegetenv): Return 0.
23134 * math/fegetexcept.c (fegetexcept): Return 0.
23135 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
23136 FE_TONEAREST.
23137 * math/feholdexcpt.c (feholdexcept): Return 0.
23138 * math/fesetenv.c (__fesetenv): Return 0.
23139 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
23140 argument FE_TONEAREST.
23141 * math/feupdateenv.c (__feupdateenv): Return 0.
23142 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
23143
231442013-06-18 Roland McGrath <roland@hack.frob.com>
23145
23146 * elf/rtld-Rules (rtld-compile-command.S): New variable.
23147 (rtld-compile-command.s, rtld-compile-command.c): New variables.
23148 ($(objpfx)rtld-%.os rules): Use them.
23149
231502013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23151
23152 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
23153 fields.
23154
231552013-06-17 Roland McGrath <roland@hack.frob.com>
23156
23157 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
23158 length of target pattern, then descending length of dependency pattern.
23159 * configure.in (AWK): Require gawk 3.1.2 or newer.
23160 * manual/install.texi (Tools for Compilation): Say that we do.
23161 * configure: Regenerated.
23162
23163 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
23164 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
23165 * scripts/sysd-rules.awk: ... this new script.
23166 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
23167 than a glob-style pattern.
23168
231692013-06-17 Joseph Myers <joseph@codesourcery.com>
23170
23171 * math/test-misc.c (main): Do not treat incorrectly rounded
23172 conversions as failure unless ROUNDING_TESTS passes.
23173
231742013-06-15 Joseph Myers <joseph@codesourcery.com>
23175
23176 [BZ #15631]
23177 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
23178 restore exception state around main square root computation, then
23179 check for inexactness explicitly.
23180
23181 * math/libm-test.inc (fma_test_data): Add another test.
23182
231832013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23184
23185 * manual/threads.texi (Non-POSIX Extensions): New document
23186 node. Document pthread_getattr_default_np and
23187 pthread_setattr_default_np.
23188
23189 * Versions.def (libpthread): Add GLIBC_2.18.
23190 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
23191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23192 Likewise.
23193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23194 Likewise.
23195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23196 Likewise.
23197 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23198 Likewise.
23199 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
23200 Likewise.
23201 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23202 Likewise.
23203 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23204 Likewise.
23205 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23206 Likewise.
23207 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23208 Likewise.
23209
232102013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23211
23212 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23213 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
23214
232152013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23216 H.J. Lu <hjl.tools@gmail.com>
23217
23218 [BZ #15627]
23219 * sysdeps/x86_64/rtld-memset.c: Remove file.
23220 * sysdeps/x86_64/rtld-memset.S: New file.
23221
232222013-06-14 Joseph Myers <joseph@codesourcery.com>
23223
23224 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
23225 (test_in_one_mode): Take arguments for whether the rounding mode
23226 is supported for each floating-point type.
23227 (do_test): Pass new arguments to test_in_one_mode using
23228 ROUNDING_TESTS.
23229
232302013-06-13 Roland McGrath <roland@hack.frob.com>
23231
23232 * posix/tst-waitid.c (do_test): Distinguish different instances of
23233 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
23234 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
23235 before entering the kernel for waitpid.
23236
232372013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23238
23239 * NEWS: Fix note on clock function precision. Text by Roland
23240 McGrath.
23241
232422013-06-13 Roland McGrath <roland@hack.frob.com>
23243
23244 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
23245 it into place only when and if the sanity check passes.
23246
232472013-06-13 Joseph Myers <joseph@codesourcery.com>
23248
23249 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
23250 output for whether conversion result is exact. Take argument
23251 indicating whether type is IBM long double.
23252 (round_for_all): Change need_exact field to ibm_ld.
23253 * stdlib/tst-strtod-round.c (struct exactness): New type.
23254 (struct test): Change bool ld_ok field to struct exactness exact.
23255 (TEST): Update all definitions for change to field.
23256 (tests): Regenerate array contents.
23257 (test_in_one_mode): Take pointer to new field instead of old ld_ok
23258 field value. Check for IBM long double here.
23259 (do_test): Update calls to test_in_one_mode.
23260
232612013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23262
23263 [BZ #12515]
23264 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
23265 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
23266
232672013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23268
23269 [BZ #15605]
23270 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
23271 generated by the compiler on loop optimizations.
23272 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
23273 general definitions.
23274
232752013-06-12 Joseph Myers <joseph@codesourcery.com>
23276
23277 * math/bug-nextafter.c: Include <math-tests.h>.
23278 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23279 the relevant type.
23280 * math/bug-nexttoward.c: Include <math-tests.h>.
23281 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23282 the relevant type.
23283 * math/test-misc.c: Include <math-tests.h>.
23284 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23285 the relevant type.
23286
232872013-06-12 Andreas Jaeger <aj@suse.de>
23288
23289 * po/ia.po: Update Interlingua translation from translation
23290 project.
23291
232922013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23293
23294 * include/fenv.h: Include stdbool.h.
23295 (struct rm_ctx): New structure.
23296 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
23297 Define macro.
23298 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
23299 (SET_RESTORE_ROUNDF): Likewise.
23300 (SET_RESTORE_ROUNDL): Likewise.
23301 (SET_RESTORE_ROUND_NOEX): Likewise.
23302 (SET_RESTORE_ROUND_NOEXF): Likewise.
23303 (SET_RESTORE_ROUND_NOEXL): Likewise.
23304 (SET_RESTORE_ROUND_53BIT): Likewise.
23305 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
23306 (libc_feresetround_noexf_ctx): Likewise.
23307 (libc_feresetround_noexl_ctx): Likewise.
23308 (libc_feholdsetround_53bit_ctx): Likewise.
23309 (libc_feresetround_53bit_ctx): Likewise.
23310 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
23311 (libc_feholdexcept_setround_sse_ctx): New function.
23312 (libc_fesetenv_sse_ctx): Likewise.
23313 (libc_feupdateenv_sse_ctx): Likewise.
23314 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
23315 (libc_feholdexcept_setround_387_ctx): Likewise.
23316 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
23317 (libc_feholdsetround_387_prec_ctx): Likewise.
23318 (libc_feholdsetround_387_ctx): Likewise.
23319 (libc_feholdsetround_387_53bit_ctx): Likewise.
23320 (libc_feholdsetround_sse_ctx): Likewise.
23321 (libc_feresetround_sse_ctx): Likewise.
23322 (libc_feresetround_387_ctx): Likewise.
23323 (libc_feupdateenv_387_ctx): Likewise.
23324 (libc_feholdexcept_setroundf_ctx): Define macro.
23325 (libc_fesetenvf_ctx): Likewise.
23326 (libc_feupdateenvf_ctx): Likewise.
23327 (libc_feholdsetroundf_ctx): Likewise.
23328 (libc_feresetroundf_ctx): Likewise.
23329 (libc_feholdexcept_setround_ctx): Likewise.
23330 (libc_fesetenv_ctx): Likewise.
23331 (libc_feupdateenv_ctx): Likewise.
23332 (libc_feholdsetround_ctx): Likewise.
23333 (libc_feresetround_ctx): Likewise.
23334 (libc_feholdexcept_setroundl_ctx): Likewise.
23335 (libc_feupdateenvl_ctx): Likewise.
23336 (libc_feholdsetroundl_ctx): Likewise.
23337 (libc_feresetroundl_ctx): Likewise.
23338 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
23339 (libc_feresetround_53bit_ctx): Likewise.
23340
233412013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23342
23343 * locale/iso-639.def: Convert to UTF-8.
23344
233452013-06-11 Joseph Myers <joseph@codesourcery.com>
23346
23347 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
23348 (EXCEPTION_TESTS_double): Likewise.
23349 (EXCEPTION_TESTS_long_double): Likewise.
23350 (EXCEPTION_TESTS): Likewise.
23351 * math/libm-test.inc (test_exceptions): Only test exceptions if
23352 EXCEPTION_TESTS (FLOAT).
23353
233542013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23355
23356 * benchtests/Makefile (string-bench): Add strcpy_chk and
23357 stpcpy_chk.
23358 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
23359 * benchtests/bench-stpcpy_chk.c: New file.
23360 * benchtests/bench-strcpy_chk-ifunc.c: New file.
23361 * benchtests/bench-strcpy_chk.c: New file.
23362 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
23363 code.
23364 (do_test): Likewise.
23365
233662013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23367
23368 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
23369 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
23370 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
23371 with tabs where appropriate.
23372 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
23373 dl-procinfo.h.
23374 [PPC_PLATFORM_PPC440]: Likewise.
23375 [PPC_PLATFORM_PPC464]: Likewise.
23376 [PPC_PLATFORM_PPC476]: Likewise.
23377 (_dl_string_platform): Add support for detecting ppc405, ppc440,
23378 ppc464, and ppc476 platform strings merging from ports/
23379 dl-procinfo.h.
23380
233812013-06-11 Andreas Schwab <schwab@suse.de>
23382
23383 [BZ #14991]
23384 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
23385 (from_ucs4_idx): Regenerate.
23386 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
23387 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
23388 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
23389 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
23390 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
23391 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
23392 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
23393 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
23394 from FROM_LOOP and TO_LOOP specific macros.
23395 (BODY): Handle combining characters.
23396 * iconvdata/BIG5HKSCS.irreversible: Update.
23397 * iconvdata/BIG5HKSCS.precomposed: New file.
23398 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
23399 characters.
23400 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
23401
234022013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23403
23404 * include/sys/time.h: Fix indentation and add copyright header.
23405
23406 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
23407 (do_test): Likewise.
23408 * string/test-memchr.c (do_one_test): Likewise.
23409 (do_test): Likewise.
23410 * string/test-memcmp.c (do_one_test): Likewise.
23411 (do_test): Likewise.
23412 * string/test-memcpy.c (do_one_test): Likewise.
23413 (do_test): Likewise.
23414 * string/test-memmem.c (do_one_test): Likewise.
23415 (do_test): Likewise.
23416 (do_random_tests): Likewise.
23417 * string/test-memmove.c (do_one_test): Likewise.
23418 (do_test): Likewise.
23419 * string/test-memset.c (do_one_test): Likewise.
23420 (do_test): Likewise.
23421 * string/test-rawmemchr.c (do_one_test): Likewise.
23422 (do_test): Likewise.
23423 * string/test-strcasecmp.c (do_one_test): Likewise.
23424 (do_test): Likewise.
23425 * string/test-strcasestr.c (do_one_test): Likewise.
23426 (do_test): Likewise.
23427 * string/test-strcat.c (do_one_test): Likewise.
23428 (do_test): Likewise.
23429 * string/test-strchr.c (do_one_test): Likewise.
23430 (do_test): Likewise.
23431 * string/test-strcmp.c (do_one_test): Likewise.
23432 (do_test): Likewise.
23433 * string/test-strcpy.c (do_one_test): Likewise.
23434 (do_test): Likewise.
23435 * string/test-string.h: Likewise.
23436 (test_init): Likewise.
23437 * string/test-strlen.c (do_one_test): Likewise.
23438 (do_test): Likewise.
23439 * string/test-strncasecmp.c (do_one_test): Likewise.
23440 (do_test): Likewise.
23441 * string/test-strncat.c (do_one_test): Likewise.
23442 (do_test): Likewise.
23443 * string/test-strncmp.c (do_one_test): Likewise.
23444 (do_test_limit): Likewise.
23445 (do_test): Likewise.
23446 * string/test-strncpy.c (do_one_test): Likewise.
23447 (do_test): Likewise.
23448 * string/test-strnlen.c (do_one_test): Likewise.
23449 (do_test): Likewise.
23450 * string/test-strpbrk.c (do_one_test): Likewise.
23451 (do_test): Likewise.
23452 * string/test-strrchr.c (do_one_test): Likewise.
23453 (do_test): Likewise.
23454 * string/test-strspn.c (do_one_test): Likewise.
23455 (do_test): Likewise.
23456 * string/test-strstr.c (do_one_test): Likewise.
23457 (do_test): Likewise.
23458
23459 * benchtests/Makefile (string-bench): Add string benchmarks.
23460 * benchtests/bench-bcopy-ifunc.c: New file.
23461 * benchtests/bench-bcopy.c: New file.
23462 * benchtests/bench-bzero-ifunc.c: New file.
23463 * benchtests/bench-bzero.c: New file.
23464 * benchtests/bench-memccpy-ifunc.c: New file.
23465 * benchtests/bench-memccpy.c: New file.
23466 * benchtests/bench-memchr-ifunc.c: New file.
23467 * benchtests/bench-memchr.c: New file.
23468 * benchtests/bench-memcmp-ifunc.c: New file.
23469 * benchtests/bench-memcmp.c: New file.
23470 * benchtests/bench-memmem-ifunc.c: New file.
23471 * benchtests/bench-memmem.c: New file.
23472 * benchtests/bench-memmove-ifunc.c: New file.
23473 * benchtests/bench-memmove.c: New file.
23474 * benchtests/bench-mempcpy-ifunc.c: New file.
23475 * benchtests/bench-mempcpy.c: New file.
23476 * benchtests/bench-memset-ifunc.c: New file.
23477 * benchtests/bench-memset.c: New file.
23478 * benchtests/bench-rawmemchr-ifunc.c: New file.
23479 * benchtests/bench-rawmemchr.c: New file.
23480 * benchtests/bench-stpcpy-ifunc.c: New file.
23481 * benchtests/bench-stpcpy.c: New file.
23482 * benchtests/bench-stpncpy-ifunc.c: New file.
23483 * benchtests/bench-stpncpy.c: New file.
23484 * benchtests/bench-strcasecmp-ifunc.c: New file.
23485 * benchtests/bench-strcasecmp.c: New file.
23486 * benchtests/bench-strcasestr-ifunc.c: New file.
23487 * benchtests/bench-strcasestr.c: New file.
23488 * benchtests/bench-strcat-ifunc.c: New file.
23489 * benchtests/bench-strcat.c: New file.
23490 * benchtests/bench-strchr-ifunc.c: New file.
23491 * benchtests/bench-strchr.c: New file.
23492 * benchtests/bench-strchrnul-ifunc.c: New file.
23493 * benchtests/bench-strchrnul.c: New file.
23494 * benchtests/bench-strcmp-ifunc.c: New file.
23495 * benchtests/bench-strcmp.c: New file.
23496 * benchtests/bench-strcpy-ifunc.c: New file.
23497 * benchtests/bench-strcpy.c: New file.
23498 * benchtests/bench-strcspn-ifunc.c: New file.
23499 * benchtests/bench-strcspn.c: New file.
23500 * benchtests/bench-strlen-ifunc.c: New file.
23501 * benchtests/bench-strlen.c: New file.
23502 * benchtests/bench-strncasecmp-ifunc.c: New file.
23503 * benchtests/bench-strncasecmp.c: New file.
23504 * benchtests/bench-strncat-ifunc.c: New file.
23505 * benchtests/bench-strncat.c: New file.
23506 * benchtests/bench-strncmp-ifunc.c: New file.
23507 * benchtests/bench-strncmp.c: New file.
23508 * benchtests/bench-strncpy-ifunc.c: New file.
23509 * benchtests/bench-strncpy.c: New file.
23510 * benchtests/bench-strnlen-ifunc.c: New file.
23511 * benchtests/bench-strnlen.c: New file.
23512 * benchtests/bench-strpbrk-ifunc.c: New file.
23513 * benchtests/bench-strpbrk.c: New file.
23514 * benchtests/bench-strrchr-ifunc.c: New file.
23515 * benchtests/bench-strrchr.c: New file.
23516 * benchtests/bench-strspn-ifunc.c: New file.
23517 * benchtests/bench-strspn.c: New file.
23518 * benchtests/bench-strstr-ifunc.c: New file.
23519 * benchtests/bench-strstr.c: New file.
23520
23521 * benchtests/Makefile: Disable parallel execution of targets.
23522 (string-bench): Add memcpy.
23523 (benchset): New variable to store a list of benchmark sets.
23524 (bench-func): Renamed from bench.
23525 (bench-set): New target.
23526 (bench): Depend on bench-func and bench-set.
23527 * benchtests/README: Add section on benchmark sets.
23528 * benchtests/bench-memcpy-ifunc.c: New file.
23529 * benchtests/bench-memcpy.c: New file.
23530 * benchtests/bench-string.h: New file.
23531
235322013-06-11 Andreas Schwab <schwab@suse.de>
23533
23534 [BZ #15577]
23535 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
23536 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
23537 values in the triple.
23538 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
23539 terminator in the group key.
23540
235412013-06-11 Andreas Jaeger <aj@suse.de>
23542
23543 * po/zh_TW.po: Update Chinese (traditional) translation from
23544 translation project.
23545
235462013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23547
23548 * include/time.h (__clock_gettime): Add libc_hidden_proto.
23549 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
23550 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
23551 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23552 (clock_getcpuclockid): Likewise.
23553 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
23554 Add weak_alias and libc_hidden_def.
23555 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
23556 * rt/clock_gettime.c (clock_gettime): Rename to
23557 __clock_gettime. Add weak_alias and libc_hidden_def.
23558 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
23559 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
23560 __clock_nanosleep. Add weak_alias and libc_hidden_def.
23561 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
23562 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
23563 Likewise.
23564 * rt/clock_settime.c (clock_settime): Rename to
23565 __clock_settime. Add weak_alias and libc_hidden_def.
23566 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
23567
235682013-06-10 Joseph Myers <joseph@codesourcery.com>
23569
23570 * mach/err_boot.sub: Remove trailing whitespace.
23571 * mach/err_ipc.sub: Likewise.
23572 * mach/err_mach.sub: Likewise.
23573
23574 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
23575 (ROUNDING_TESTS_double): Likewise.
23576 (ROUNDING_TESTS_long_double): Likewise.
23577 (ROUNDING_TESTS): Likewise.
23578 * math/libm-test.inc: Include <math-tests.h>.
23579 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
23580 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23581 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23582 (IF_ROUND_INIT_FE_UPWARD): Likewise.
23583
235842013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23585
23586 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
23587 of assigning.
23588
235892013-06-08 Joseph Myers <joseph@codesourcery.com>
23590
23591 * sysdeps/gnu/errlist.awk: Do not generate space at end of
23592 otherwise empty TRANS lines.
23593 * sysdeps/gnu/errlist.c: Regenerated.
23594
23595 * catgets/gencat.c (error_print): Use (void) in function
23596 definition.
23597 * crypt/crypt_util.c (__init_des): Likewise.
23598 * crypt/speeds.c (Stop): Likewise.
23599 (main): Likewise.
23600 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
23601 * inet/ruserpass.c (token): Likewise.
23602 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
23603 * intl/localealias.c (extend_alias_table): Likewise.
23604 * intl/plural-exp.c (init_germanic_plural): Likewise.
23605 * libio/fcloseall.c (__fcloseall): Likewise.
23606 * libio/genops.c (_IO_flush_all): Likewise.
23607 (_IO_flush_all_linebuffered): Likewise.
23608 (_IO_cleanup): Likewise.
23609 (_IO_iter_begin): Likewise.
23610 (_IO_iter_end): Likewise.
23611 (_IO_list_lock): Likewise.
23612 (_IO_list_unlock): Likewise.
23613 (_IO_list_resetlock): Likewise.
23614 * libio/getchar.c (getchar): Likewise.
23615 * libio/getchar_u.c (getchar_unlocked): Likewise.
23616 * libio/getwchar.c (getwchar): Likewise.
23617 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
23618 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
23619 * login/getpt.c (__getpt): Likewise.
23620 * login/tst-utmp.c (main): Likewise.
23621 * malloc/hooks.c (__malloc_check_init): Likewise.
23622 * malloc/malloc.c (__malloc_stats): Likewise.
23623 * malloc/mtrace.c (tr_break): Likewise.
23624 (mtrace): Likewise.
23625 (muntrace): Likewise.
23626 * misc/fstab.c (endfsent): Likewise.
23627 * misc/getclktck.c (__getclktck): Likewise.
23628 * misc/getdtsz.c (__getdtablesize): Likewise.
23629 * misc/gethostid.c (gethostid): Likewise.
23630 * misc/getpagesize.c (__getpagesize): Likewise.
23631 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
23632 (__get_nprocs): Likewise.
23633 (__get_phys_pages): Likewise.
23634 (__get_avphys_pages): Likewise.
23635 * misc/getttyent.c (getttyent): Likewise.
23636 (setttyent): Likewise.
23637 (endttyent): Likewise.
23638 * misc/getusershell.c (getusershell): Likewise.
23639 (endusershell): Likewise.
23640 (setusershell): Likewise.
23641 (initshells): Likewise.
23642 * misc/hsearch.c (__hdestroy): Likewise.
23643 * misc/sync.c (sync): Likewise.
23644 * misc/syslog.c (closelog_internal): Likewise.
23645 (closelog): Likewise.
23646 * misc/ttyslot.c (ttyslot): Likewise.
23647 * misc/vhangup.c (vhangup): Likewise.
23648 * posix/fork.c (__fork): Likewise.
23649 * posix/getegid.c (__getegid): Likewise.
23650 * posix/geteuid.c (__geteuid): Likewise.
23651 * posix/getgid.c (__getgid): Likewise.
23652 * posix/getpid.c (__getpid): Likewise.
23653 * posix/getppid.c (__getppid): Likewise.
23654 * posix/getuid.c (__getuid): Likewise.
23655 * posix/pause.c (pause): Likewise.
23656 * posix/setpgrp.c (setpgrp): Likewise.
23657 * posix/setsid.c (__setsid): Likewise.
23658 * posix/test-vfork.c (noop): Likewise.
23659 * resolv/gethnamaddr.c (_endhtent): Likewise.
23660 (_gethtent): Likewise.
23661 (ht_endhostent): Likewise.
23662 (gethostent): Likewise.
23663 (dns_service): Likewise.
23664 * stdlib/drand48.c (drand48): Likewise.
23665 * stdlib/lrand48.c (lrand48): Likewise.
23666 * stdlib/mrand48.c (mrand48): Likewise.
23667 * stdlib/rand.c (rand): Likewise.
23668 * stdlib/random.c (__random): Likewise.
23669 * stdlib/setenv.c (clearenv): Likewise.
23670 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
23671 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
23672 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
23673 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
23674 (__get_nprocs): Likewise.
23675 (__get_phys_pages): Likewise.
23676 (__get_avphys_pages): Likewise.
23677 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
23678 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
23679 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
23680 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
23681 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
23682 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
23683 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
23684 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
23685 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
23686 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
23687 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
23688 * sysdeps/mach/hurd/sync.c (sync): Likewise.
23689 * sysdeps/posix/clock.c (clock): Likewise.
23690 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
23691 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
23692 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
23693 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
23694 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
23695 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
23696 (__get_nprocs_conf): Likewise.
23697 (__get_phys_pages): Likewise.
23698 (__get_avphys_pages): Likewise.
23699 * time/clock.c (clock): Likewise.
23700 * time/tzset.c (__tzname_max): Likewise.
23701
237022013-06-07 Joseph Myers <joseph@codesourcery.com>
23703
23704 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
23705 (__bswap_32): Do not use "register".
23706 * crypt/crypt.c (_ufc_doit_r): Likewise.
23707 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23708 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23709 * gmon/gmon.c (__monstartup): Likewise.
23710 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
23711 * hurd/hurdmalloc.c (more_memory): Likewise.
23712 (malloc): Likewise.
23713 (free): Likewise.
23714 (realloc): Likewise.
23715 (malloc_fork_prepare): Likewise.
23716 (malloc_fork_parent): Likewise.
23717 (malloc_fork_child): Likewise.
23718 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
23719 (_svcauth_des): Likewise.
23720 * inet/inet_lnaof.c (inet_lnaof): Likewise.
23721 * inet/inet_net.c (inet_network): Likewise.
23722 * inet/inet_netof.c (inet_netof): Likewise.
23723 * inet/rcmd.c (__validuser2_sa): Likewise.
23724 * io/fts.c (fts_open): Likewise.
23725 (fts_load): Likewise.
23726 (fts_close): Likewise.
23727 (fts_read): Likewise.
23728 (fts_children): Likewise.
23729 (fts_build): Likewise.
23730 (fts_stat): Likewise.
23731 (fts_sort): Likewise.
23732 (fts_alloc): Likewise.
23733 (fts_lfree): Likewise.
23734 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
23735 (_IO_file_xsgetn): Likewise.
23736 (_IO_file_xsgetn_mmap): Likewise.
23737 * libio/iofopncook.c (_IO_cookie_read): Likewise.
23738 (_IO_cookie_write): Likewise.
23739 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
23740 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
23741 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
23742 * malloc/obstack.c (_obstack_begin): Likewise.
23743 (_obstack_begin_1): Likewise.
23744 (_obstack_newchunk): Likewise.
23745 (_obstack_allocated_p): Likewise.
23746 (obstack_free): Likewise.
23747 (_obstack_memory_used): Likewise.
23748 * misc/getttyent.c (getttynam): Likewise.
23749 (getttyent): Likewise.
23750 (skip): Likewise.
23751 (value): Likewise.
23752 * misc/getusershell.c (initshells): Likewise.
23753 * misc/syslog.c (__vsyslog_chk): Likewise.
23754 * misc/ttyslot.c (ttyslot): Likewise.
23755 * nis/nis_hash.c (__nis_hash): Likewise.
23756 * posix/fnmatch_loop.c (FCT): Likewise.
23757 * posix/getconf.c (print_all): Likewise.
23758 (main): Likewise.
23759 * posix/getopt.c (exchange): Likewise.
23760 * posix/glob.c (globfree): Likewise.
23761 (prefix_array): Likewise.
23762 (__glob_pattern_type): Likewise.
23763 * resolv/arpa/nameser.h (NS_GET16): Likewise.
23764 (NS_GET32): Likewise.
23765 (NS_PUT16): Likewise.
23766 (NS_PUT32): Likewise.
23767 * resolv/gethnamaddr.c (getanswer): Likewise.
23768 (gethostbyname2): Likewise.
23769 (gethostbyaddr): Likewise.
23770 (_gethtent): Likewise.
23771 (_gethtbyname2): Likewise.
23772 (_gethtbyaddr): Likewise.
23773 * resolv/ns_print.c (dst_s_get_int16): Likewise.
23774 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23775 * resolv/res_init.c (__res_vinit): Likewise.
23776 (net_mask): Likewise.
23777 * resolv/res_mkquery.c (outchar): Likewise.
23778 (PRINT): Likewise.
23779 * stdio-common/printf_fp.c (outchar): Likewise.
23780 (PRINT): Likewise.
23781 * stdio-common/printf_fphex.c (outchar): Likewise.
23782 (PRINT): Likewise.
23783 * stdio-common/printf_size.c (outchar): Likewise.
23784 (PRINT): Likewise.
23785 * stdio-common/test_rdwr.c (main): Likewise.
23786 * stdio-common/tfformat.c (matches): Likewise.
23787 * stdio-common/vfprintf.c (outchar): Likewise.
23788 (printf_unknown): Likewise.
23789 (buffered_vfprintf): Likewise.
23790 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23791 * stdio-common/xbug.c (AppendToBuffer): Likewise.
23792 (ReadFile): Likewise.
23793 * stdlib/qsort.c (SWAP): Likewise.
23794 (_quicksort): Likewise.
23795 * stdlib/setenv.c (__add_to_environ): Likewise.
23796 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23797 * stdlib/strtol_l.c (__strtol_l): Likewise.
23798 * stdlib/tst-strtod.c (main): Likewise.
23799 * stdlib/tst-strtol.c (main): Likewise.
23800 * stdlib/tst-strtoll.c (main): Likewise.
23801 * string/bits/string2.h (__strcmp_cc): Likewise.
23802 (__strcmp_cg): Likewise.
23803 (__strcspn_c1): Likewise.
23804 (__strcspn_c2): Likewise.
23805 (__strcspn_c3): Likewise.
23806 (__strspn_c1): Likewise.
23807 (__strspn_c2): Likewise.
23808 (__strspn_c3): Likewise.
23809 (__strsep_1c): Likewise.
23810 (__strsep_2c): Likewise.
23811 (__strsep_3c): Likewise.
23812 * string/memccpy.c (__memccpy): Likewise.
23813 * string/stpcpy.c (__stpcpy): Likewise.
23814 * string/strcmp.c (strcmp): Likewise.
23815 * string/strrchr.c (strrchr): Likewise.
23816 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
23817 Likewise.
23818 * sysdeps/mach/hurd/getcwd.c
23819 (_hurd_canonicalize_directory_name_internal): Likewise.
23820 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
23821 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
23822 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
23823 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
23824 Likewise, in both definitions.
23825 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
23826 definitions.
23827 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
23828 64] (__bswap_64): Likewise.
23829 * time/test_time.c (main): Likewise.
23830 * time/tzfile.c (__tzfile_read): Likewise.
23831 (__tzfile_compute): Likewise.
23832 * time/tzset.c (__tzset_parse_tz): Likewise.
23833 (tzset_internal): Likewise.
23834 (compute_change): Likewise.
23835 * wcsmbs/wcscat.c (__wcscat): Likewise.
23836 * wcsmbs/wcschr.c (wcschr): Likewise.
23837 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
23838 * wcsmbs/wcscspn.c (wcscspn): Likewise.
23839 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
23840 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
23841 * wcsmbs/wcsspn.c (wcsspn): Likewise.
23842 * wcsmbs/wcsstr.c (wcsstr): Likewise.
23843 * wcsmbs/wmemchr.c (wmemchr): Likewise.
23844 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23845 * wcsmbs/wmemset.c (wmemset): Likewise.
23846
238472013-06-06 Joseph Myers <joseph@codesourcery.com>
23848
23849 * scripts/config.guess: Update to version 2013-05-16.
23850 * scripts/config.sub: Update to version 2013-04-24.
23851 * scripts/install-sh: Update to version 2011-11-20.07.
23852 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
23853 * scripts/move-if-change: Update to version 2012-01-06 07:23.
23854
238552013-06-06 Ondřej Bílka <neleai@seznam.cz>
23856
23857 * debug/fgetws_u_chk.c: Fix leading whitespaces.
23858 * elf/sln.c: Likewise.
23859 * hurd/hurd/ioctl.h: Likewise.
23860 * hurd/hurdmalloc.c: Likewise.
23861 * hurd/xattr.c: Likewise.
23862 * include/shlib-compat.h: Likewise.
23863 * inet/ruserpass.c: Likewise.
23864 * libio/iofgets_u.c: Likewise.
23865 * libio/iofgetws_u.c: Likewise.
23866 * locale/programs/ld-identification.c: Likewise.
23867 * locale/programs/ld-time.c: Likewise.
23868 * mach/msg-destroy.c: Likewise.
23869 * nss/nss_files/files-netgrp.c: Likewise.
23870 * resolv/res_data.c: Likewise.
23871 * soft-fp/op-1.h: Likewise.
23872 * soft-fp/op-2.h: Likewise.
23873 * soft-fp/op-4.h: Likewise.
23874 * soft-fp/op-common.h: Likewise.
23875 * stdio-common/printf_fphex.c: Likewise.
23876 * stdlib/strtod_l.c: Likewise.
23877 * sunrpc/rpc/clnt.h: Likewise.
23878 * sysdeps/generic/framestate.c: Likewise.
23879 * sysdeps/i386/bsd-_setjmp.S: Likewise.
23880 * sysdeps/i386/bsd-setjmp.S: Likewise.
23881 * sysdeps/i386/__longjmp.S: Likewise.
23882 * sysdeps/i386/setjmp.S: Likewise.
23883 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23884 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23885 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23886 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23887 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23888 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23889 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23890 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23891 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23892 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23893 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23894 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23895 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23896 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23897 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23898 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23899 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23900 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
23901 * sysdeps/ieee754/support.c: Likewise.
23902 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23903 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
23904 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
23905 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
23906 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
23907 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
23908 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
23909 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
23910 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
23911 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
23912 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
23913 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
23914 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
23915 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
23916 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
23917 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
23918 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
23920
239212013-06-05 Ondřej Bílka <neleai@seznam.cz>
23922
23923 * posix/transbug.c: Remove executable mode.
23924
239252013-06-05 Joseph Myers <joseph@codesourcery.com>
23926
23927 * crypt/speeds.c: Remove trailing whitespace.
23928 * dlfcn/default.c: Likewise.
23929 * elf/ifuncdep2.c: Likewise.
23930 * elf/ifuncmain1.c: Likewise.
23931 * elf/ifuncmain1vis.c: Likewise.
23932 * elf/testobj.h: Likewise.
23933 * elf/tst-stackguard1.c: Likewise.
23934 * gmon/sys/gmon.h: Likewise.
23935 * hurd/hurdmsg.c: Likewise.
23936 * hurd/new-fd.c: Likewise.
23937 * hurd/ports-get.c: Likewise.
23938 * iconvdata/ibm1008_420.c: Likewise.
23939 * inet/tst-getni1.c: Likewise.
23940 * inet/tst-getni2.c: Likewise.
23941 * libio/ioungetc.c: Likewise.
23942 * libio/wfiledoalloc.c: Likewise.
23943 * manual/libm-err-tab.pl: Likewise.
23944 * math/w_dremf.c: Likewise.
23945 * misc/ftruncate.c: Likewise.
23946 * posix/bug-glob2.c: Likewise.
23947 * posix/tst-pcre.c: Likewise.
23948 * posix/wait4.c: Likewise.
23949 * resolv/README: Likewise.
23950 * resolv/res_debug.h: Likewise.
23951 * resolv/tst-inet_ntop.c: Likewise.
23952 * setjmp/bug269-setjmp.c: Likewise.
23953 * soft-fp/extended.h: Likewise.
23954 * soft-fp/op-1.h: Likewise.
23955 * soft-fp/op-2.h: Likewise.
23956 * soft-fp/op-4.h: Likewise.
23957 * soft-fp/op-8.h: Likewise.
23958 * soft-fp/testit.c: Likewise.
23959 * stdio-common/bug16.c: Likewise.
23960 * stdlib/random.c: Likewise.
23961 * sunrpc/rpcsvc/rquota.x: Likewise.
23962 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
23963 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23964 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23965 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23966 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23967 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23968 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23969 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23970 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23971 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23972 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23973 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23974 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23975 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23976 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23977 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23978 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23979 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23980 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23981 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23982 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23983 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23984 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
23985 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23986 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23987 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23988 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23989 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23990 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23991 * sysdeps/ieee754/s_lib_version.c: Likewise.
23992 * sysdeps/mach/hurd/check_fds.c: Likewise.
23993 * sysdeps/mach/hurd/getsockname.c: Likewise.
23994 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
23995 * sysdeps/mach/hurd/recvfrom.c: Likewise.
23996 * sysdeps/powerpc/bits/link.h: Likewise.
23997 * sysdeps/powerpc/dl-procinfo.c: Likewise.
23998 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
23999 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
24000 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
24001 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24002 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24003 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
24004 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24005 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
24006 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24007 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24008 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24009 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
24010 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24011 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24012 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24013 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24014 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24015 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24016 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24017 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24018 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
24019 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24020 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24021 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
24022 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24023 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24024 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24025 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24026 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24027 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24028 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24029 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24030 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24031 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
24032 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24033 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
24034 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24035 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24036 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
24037 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
24038 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
24039 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
24040 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
24041 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24042 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
24043 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
24044 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24045 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
24046 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
24047 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24048 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24049 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24050 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24051 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
24052 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24053 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24054 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24055 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
24056 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24057 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
24058 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
24059 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
24060 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24061 * sysdeps/powerpc/sysdep.h: Likewise.
24062 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24063 * sysdeps/s390/s390-64/sub_n.S: Likewise.
24064 * sysdeps/sh/dl-trampoline.S: Likewise.
24065 * sysdeps/sh/memset.S: Likewise.
24066 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
24067 * sysdeps/sh/strlen.S: Likewise.
24068 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
24069 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
24070 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
24071 * sysdeps/sparc/sparc32/rem.S: Likewise.
24072 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24073 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
24074 * sysdeps/sparc/sparc32/strchr.S: Likewise.
24075 * sysdeps/sparc/sparc32/udiv.S: Likewise.
24076 * sysdeps/sparc/sparc32/urem.S: Likewise.
24077 * sysdeps/sparc/sparc64/add_n.S: Likewise.
24078 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24079 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
24080 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
24081 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
24082 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
24083 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
24084 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
24085 * sysdeps/unix/bsd/times.c: Likewise.
24086 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
24087 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
24088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
24089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
24090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
24091 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
24092 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24093 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
24094 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
24095 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
24096 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
24097 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24098 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
24099 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24100 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24101 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24102 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24103 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
24104 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
24105 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
24106 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
24107 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
24108 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24109 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
24110 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
24111 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24112 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
24113 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24114 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
24115 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
24116 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
24117 * sysdeps/x86_64/strcspn.S: Likewise.
24118
241192013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24120
24121 * locale/C-translit.h: Revert #include <stdint.h> because this is a
24122 generated file. Regenerate properly from gen-translit.pl.
24123 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
24124 locale/C-translit.h.
24125
241262013-06-05 Andreas Schwab <schwab@suse.de>
24127
24128 [BZ #15100]
24129 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
24130 week as 6 instead of -1.
24131 * time/tst-strptime.c (day_tests): Add test case.
24132
241332013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24134
24135 * sysdeps/generic/math_private.h
24136 (libc_feholdexcept_setround_53bit): Replace with
24137 libc_feholdsetround_53bit.
24138 (libc_feupdateenv_53bit): Replace with
24139 libc_feresetround_53bit.
24140 (SET_RESTORE_ROUND_53BIT): Adjust.
24141
241422013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24143
24144 * string/test-strchrnul.c: Add copyright header.
24145
24146 * posix/tst-getaddrinfo4.c: Increase test timeout.
24147
241482013-06-03 Carlos O'Donell <carlos@redhat.com>
24149
24150 [BZ #15536]
24151 * math/libm-test.inc (MAX_EXP): Remove
24152 (MIN_EXP): Define.
24153 (ulp): Use MIN_EXP - MANT_DIG.
24154 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
24155
241562013-05-31 Carlos O'Donell <carlos@redhat.com>
24157
24158 * po/be.po: Revert last change.
24159 * po/zh_CN.po: Likewise.
24160 * po/header.pot: Likewise.
24161
241622013-05-31 Joseph Myers <joseph@codesourcery.com>
24163
24164 * Makefile ($(common-objpfx)linkobj/libc.so): Define
24165 link-libc-deps to empty as target-specific variable.
24166 * Makerules (link-libc-args): New variable.
24167 (libc-for-link): Likewise.
24168 (link-libc-deps): Likewise.
24169 (lib%.so): Depend on $(link-libc-deps). Link with
24170 $(link-libc-args).
24171 (build-module): Link with $(link-libc-args).
24172 (build-module-asneeded): Likewise.
24173 (build-module-helper-objlist): Filter out $(link-libc-deps) from
24174 list of objects.
24175 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
24176 target-specific variable.
24177 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
24178 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
24179 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
24180 libc.
24181 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
24182 libc and ld.so.
24183 ($(objpfx)libpcprofile.so): Likewise.
24184 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
24185 libc_nonshared.a.
24186 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
24187 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
24188 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
24189 $(link-libc-deps).
24190 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
24191 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
24192 * login/Makefile ($(objpfx)libutil.so): Likewise.
24193 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
24194 * math/Makefile ($(objpfx)libm.so): Likewise.
24195 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
24196 $(objpfx)libnsl.so): Define libc-for-link as target-specific
24197 variable instead of depending directly on libc.
24198 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
24199 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
24200 $(link-libc-deps).
24201 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
24202 libc.
24203 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
24204 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
24205 ($(objpfx)libanl.so): Likewise.
24206 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
24207 ld.so.
24208 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
24209 $(link-libc-deps).
24210 * sysdeps/i386/fpu/Makefile: Remove file.
24211 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
24212 ($(objpfx)libm.so): Remove dependency on ld.so.
24213
242142013-05-30 Patsy Franklin <pfrankli@redhat.com>
24215
24216 [BZ # 15553]
24217 * nis/yp_xdr.c (XDRMAXNAME): Define.
24218 (XDRMAXRECORD): Define.
24219 (xdr_domainname): Use XDRMAXNAME.
24220 (xdr_mapname): Likewise.
24221 (xdr_peername): Likewise.
24222 (xdr_keydat): Use XDRMAXRECORD.
24223 (xdr_valdat): Likewise.
24224
242252013-05-30 Jeff Law <law@redhat.com>
24226
24227 [BZ #14256]
24228 * manual/errno.texi (ESTALE): Update to account for more than
24229 just NFS file systems.
24230 * sysdeps/gnu/errlist.c: Regenerated.
24231
242322013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24233
24234 [BZ #15465]
24235 * elf/Makefile (tests): Add tst-null-argv.
24236 (modules-names): Add tst-null-argv-lib.
24237 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
24238 (tst-null-argv-ENV): Set environment for tst-null-argv.
24239 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
24240 (RTLD_PROGNAME): New macro.
24241 * elf/tst-null-argv.c: New test case.
24242 * elf/tst-null-argv-lib.c: Library for test case.
24243 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
24244 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
24245 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
24246 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
24247 * elf/dl-init.c (call_init): Likewise.
24248 (_dl_init): Likewise.
24249 * elf/dl-load.c (print_search_path): Likewise.
24250 (_dl_map_object): Likewise.
24251 * elf/dl-lookup.c (do_lookup_x): Likewise.
24252 (add_dependency): Likewise.
24253 (_dl_lookup_symbol_x): Likewise.
24254 (_dl_debug_bindings): Likewise.
24255 * elf/dl-open.c (_dl_show_scope): Likewise.
24256 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24257 * elf/dl-version.c (match_symbol): Likewise.
24258 (_dl_check_map_versions): Likewise.
24259 * elf/rtld.c (dl_main): Likewise.
24260 (print_unresolved): Use RTLD_PROGNAME.
24261 (print_missing_version): Likewise.
24262 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
24263 (elf_machine_rela): Likewise.
24264 * sysdeps/powerpc/powerpc32/dl-machine.c
24265 (__process_machine_rela): Likewise.
24266 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24267 Likewise.
24268 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
24269 Likewise.
24270 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
24271 Likewise.
24272 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24273 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
24274 Likewise.
24275 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
24276 Likewise.
24277 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24278
242792013-05-28 Carlos O'Donell <carlos@redhat.com>
24280
24281 * po/be.po: Add descriptive title.
24282 * po/zh_CN.po: Likewise.
24283 * po/header.pot: Likewise.
24284
242852013-05-28 Mike Frysinger <vapier@gentoo.org>
24286
24287 * locale/programs/locarchive.c (create_archive): Inlucde fname in
24288 error message.
24289 (enlarge_archive): Likewise.
24290
242912013-05-28 Ben North <ben@redfrontdoor.org>
24292
24293 * manual/arith.texi (frexp): It is the magnitude of the return
24294 value which lies in [0.5, 1), not the return value itself.
24295
242962013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24297
24298 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24299
243002013-05-26 Thomas Schwinge <thomas@codesourcery.com>
24301
24302 * stdio-common/bug26.c (main): Correct fscanf template.
24303
24304 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
24305 declare _dl_skip_args.
24306
24307 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
24308 Don't declare.
24309
24310 * manual/platform.texi: Add missing @end deftypefun.
24311
243122013-05-24 Joseph Myers <joseph@codesourcery.com>
24313
24314 [BZ #15529]
24315 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
24316 bit of mantissa of 2^16382.
24317 * math/libm-test.inc (hypot_test_data): Add more tests.
24318
24319 * math/libm-test.inc: Add drem and pow10 to list of tested
24320 functions.
24321 (pow10_test): New function.
24322 (drem_test): Likewise.
24323 (drem_test_tonearest): Likewise.
24324 (drem_test_towardzero): Likewise.
24325 (drem_test_downward): Likewise.
24326 (drem_test_upward): Likewise.
24327 (main): Call the new functions.
24328
24329 * math/libm-test.inc (finite_test_data): Remove.
24330 (finite_test): Run tests from isfinite_test_data.
24331 (gamma_test_data): Remove.
24332 (gamma_test): Run tests from lgamma_test_data.
24333 * sysdeps/i386/fpu/libm-test-ulps: Update.
24334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24335
243362013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24337
24338 * manual/platform.texi: Add PowerPC PPR function set documentation.
24339 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
24340 implementation.
24341
243422013-05-24 Carlos O'Donell <carlos@redhat.com>
24343
24344 * math/libm-test.inc (MAX_EXP): Define.
24345 (ULPDIFF): Define.
24346 (ulp): New function.
24347 (check_float_internal): Use ULPDIFF.
24348 (cpow_test): Disable failing test.
24349 (check_ulp): Test ulp() implemetnation.
24350 (main): Call check_ulp before starting tests.
24351
243522013-05-24 Joseph Myers <joseph@codesourcery.com>
24353
24354 * math/gen-libm-test.pl (generate_testfile): Do not handle
24355 START_DATA and END_DATA.
24356 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
24357 END_DATA.
24358 (acos_tonearest_test_data): Likewise.
24359 (acos_towardzero_test_data): Likewise.
24360 (acos_downward_test_data): Likewise.
24361 (acos_upward_test_data): Likewise.
24362 (acosh_test_data): Likewise.
24363 (asin_test_data): Likewise.
24364 (asin_tonearest_test_data): Likewise.
24365 (asin_towardzero_test_data): Likewise.
24366 (asin_downward_test_data): Likewise.
24367 (asin_upward_test_data): Likewise.
24368 (asinh_test_data): Likewise.
24369 (atan_test_data): Likewise.
24370 (atanh_test_data): Likewise.
24371 (atan2_test_data): Likewise.
24372 (cabs_test_data): Likewise.
24373 (cacos_test_data): Likewise.
24374 (cacosh_test_data): Likewise.
24375 (carg_test_data): Likewise.
24376 (casin_test_data): Likewise.
24377 (casinh_test_data): Likewise.
24378 (catan_test_data): Likewise.
24379 (catanh_test_data): Likewise.
24380 (cbrt_test_data): Likewise.
24381 (ccos_test_data): Likewise.
24382 (ccosh_test_data): Likewise.
24383 (ceil_test_data): Likewise.
24384 (cexp_test_data): Likewise.
24385 (cimag_test_data): Likewise.
24386 (clog_test_data): Likewise.
24387 (clog10_test_data): Likewise.
24388 (conj_test_data): Likewise.
24389 (copysign_test_data): Likewise.
24390 (cos_test_data): Likewise.
24391 (cos_tonearest_test_data): Likewise.
24392 (cos_towardzero_test_data): Likewise.
24393 (cos_downward_test_data): Likewise.
24394 (cos_upward_test_data): Likewise.
24395 (cosh_test_data): Likewise.
24396 (cosh_tonearest_test_data): Likewise.
24397 (cosh_towardzero_test_data): Likewise.
24398 (cosh_downward_test_data): Likewise.
24399 (cosh_upward_test_data): Likewise.
24400 (cpow_test_data): Likewise.
24401 (cproj_test_data): Likewise.
24402 (creal_test_data): Likewise.
24403 (csin_test_data): Likewise.
24404 (csinh_test_data): Likewise.
24405 (csqrt_test_data): Likewise.
24406 (ctan_test_data): Likewise.
24407 (ctan_tonearest_test_data): Likewise.
24408 (ctan_towardzero_test_data): Likewise.
24409 (ctan_downward_test_data): Likewise.
24410 (ctan_upward_test_data): Likewise.
24411 (ctanh_test_data): Likewise.
24412 (ctanh_tonearest_test_data): Likewise.
24413 (ctanh_towardzero_test_data): Likewise.
24414 (ctanh_downward_test_data): Likewise.
24415 (ctanh_upward_test_data): Likewise.
24416 (erf_test_data): Likewise.
24417 (erfc_test_data): Likewise.
24418 (exp_test_data): Likewise.
24419 (exp_tonearest_test_data): Likewise.
24420 (exp_towardzero_test_data): Likewise.
24421 (exp_downward_test_data): Likewise.
24422 (exp_upward_test_data): Likewise.
24423 (exp10_test_data): Likewise.
24424 (exp2_test_data): Likewise.
24425 (expm1_test_data): Likewise.
24426 (fabs_test_data): Likewise.
24427 (fdim_test_data): Likewise.
24428 (finite_test_data): Likewise.
24429 (floor_test_data): Likewise.
24430 (fma_test_data): Likewise.
24431 (fma_towardzero_test_data): Likewise.
24432 (fma_downward_test_data): Likewise.
24433 (fma_upward_test_data): Likewise.
24434 (fmax_test_data): Likewise.
24435 (fmin_test_data): Likewise.
24436 (fmod_test_data): Likewise.
24437 (fpclassify_test_data): Likewise.
24438 (frexp_test_data): Likewise.
24439 (gamma_test_data): Likewise.
24440 (hypot_test_data): Likewise.
24441 (ilogb_test_data): Likewise.
24442 (isfinite_test_data): Likewise.
24443 (isgreater_test_data): Likewise.
24444 (isgreaterequal_test_data): Likewise.
24445 (isinf_test_data): Likewise.
24446 (isless_test_data): Likewise.
24447 (islessequal_test_data): Likewise.
24448 (islessgreater_test_data): Likewise.
24449 (isnan_test_data): Likewise.
24450 (isnormal_test_data): Likewise.
24451 (issignaling_test_data): Likewise.
24452 (isunordered_test_data): Likewise.
24453 (j0_test_data): Likewise.
24454 (j1_test_data): Likewise.
24455 (jn_test_data): Likewise.
24456 (ldexp_test_data): Likewise.
24457 (lgamma_test_data): Likewise.
24458 (lrint_test_data): Likewise.
24459 (lrint_tonearest_test_data): Likewise.
24460 (lrint_towardzero_test_data): Likewise.
24461 (lrint_downward_test_data): Likewise.
24462 (lrint_upward_test_data): Likewise.
24463 (llrint_test_data): Likewise.
24464 (llrint_tonearest_test_data): Likewise.
24465 (llrint_towardzero_test_data): Likewise.
24466 (llrint_downward_test_data): Likewise.
24467 (llrint_upward_test_data): Likewise.
24468 (log_test_data): Likewise.
24469 (log10_test_data): Likewise.
24470 (log1p_test_data): Likewise.
24471 (log2_test_data): Likewise.
24472 (logb_test_data): Likewise.
24473 (logb_downward_test_data): Likewise.
24474 (lround_test_data): Likewise.
24475 (llround_test_data): Likewise.
24476 (modf_test_data): Likewise.
24477 (nearbyint_test_data): Likewise.
24478 (nextafter_test_data): Likewise.
24479 (nexttoward_test_data): Likewise.
24480 (pow_test_data): Likewise.
24481 (pow_tonearest_test_data): Likewise.
24482 (pow_towardzero_test_data): Likewise.
24483 (pow_downward_test_data): Likewise.
24484 (pow_upward_test_data): Likewise.
24485 (remainder_test_data): Likewise.
24486 (remainder_tonearest_test_data): Likewise.
24487 (remainder_towardzero_test_data): Likewise.
24488 (remainder_downward_test_data): Likewise.
24489 (remainder_upward_test_data): Likewise.
24490 (remquo_test_data): Likewise.
24491 (rint_test_data): Likewise.
24492 (rint_tonearest_test_data): Likewise.
24493 (rint_towardzero_test_data): Likewise.
24494 (rint_downward_test_data): Likewise.
24495 (rint_upward_test_data): Likewise.
24496 (round_test_data): Likewise.
24497 (scalb_test_data): Likewise.
24498 (scalbn_test_data): Likewise.
24499 (scalbln_test_data): Likewise.
24500 (signbit_test_data): Likewise.
24501 (sin_test_data): Likewise.
24502 (sin_tonearest_test_data): Likewise.
24503 (sin_towardzero_test_data): Likewise.
24504 (sin_downward_test_data): Likewise.
24505 (sin_upward_test_data): Likewise.
24506 (sincos_test_data): Likewise.
24507 (sinh_test_data): Likewise.
24508 (sinh_tonearest_test_data): Likewise.
24509 (sinh_towardzero_test_data): Likewise.
24510 (sinh_downward_test_data): Likewise.
24511 (sinh_upward_test_data): Likewise.
24512 (sqrt_test_data): Likewise.
24513 (tan_test_data): Likewise.
24514 (tan_tonearest_test_data): Likewise.
24515 (tan_towardzero_test_data): Likewise.
24516 (tan_downward_test_data): Likewise.
24517 (tan_upward_test_data): Likewise.
24518 (tanh_test_data): Likewise.
24519 (tgamma_test_data): Likewise.
24520 (trunc_test_data): Likewise.
24521 (y0_test_data): Likewise.
24522 (y1_test_data): Likewise.
24523 (yn_test_data): Likewise.
24524 (significand_test_data): Likewise.
24525
24526 * math/gen-libm-test.pl (@functions): Remove variable.
24527 (generate_testfile): Don't handle START and END lines.
24528 * math/libm-test.inc (START): New macro.
24529 (END): Likewise.
24530 (END_COMPLEX): Likewise.
24531 (acos_test): Use END macro without arguments.
24532 (acos_test_tonearest): Likewise.
24533 (acos_test_towardzero): Likewise.
24534 (acos_test_downward): Likewise.
24535 (acos_test_upward): Likewise.
24536 (acosh_test): Likewise.
24537 (asin_test): Likewise.
24538 (asin_test_tonearest): Likewise.
24539 (asin_test_towardzero): Likewise.
24540 (asin_test_downward): Likewise.
24541 (asin_test_upward): Likewise.
24542 (asinh_test): Likewise.
24543 (atan_test): Likewise.
24544 (atanh_test): Likewise.
24545 (atan2_test): Likewise.
24546 (cabs_test): Likewise.
24547 (cacos_test): Use END_COMPLEX macro without arguments.
24548 (cacosh_test): Likewise.
24549 (carg_test): Use END macro without arguments.
24550 (casin_test): Use END_COMPLEX macro without arguments.
24551 (casinh_test): Likewise.
24552 (catan_test): Likewise.
24553 (catanh_test): Likewise.
24554 (cbrt_test): Use END macro without arguments.
24555 (ccos_test): Use END_COMPLEX macro without arguments.
24556 (ccosh_test): Likewise.
24557 (ceil_test): Use END macro without arguments.
24558 (cexp_test): Use END_COMPLEX macro without arguments.
24559 (cimag_test): Use END macro without arguments.
24560 (clog_test): Use END_COMPLEX macro without arguments.
24561 (clog10_test): Likewise.
24562 (conj_test): Likewise.
24563 (copysign_test): Use END macro without arguments.
24564 (cos_test): Likewise.
24565 (cos_test_tonearest): Likewise.
24566 (cos_test_towardzero): Likewise.
24567 (cos_test_downward): Likewise.
24568 (cos_test_upward): Likewise.
24569 (cosh_test): Likewise.
24570 (cosh_test_tonearest): Likewise.
24571 (cosh_test_towardzero): Likewise.
24572 (cosh_test_downward): Likewise.
24573 (cosh_test_upward): Likewise.
24574 (cpow_test): Use END_COMPLEX macro without arguments.
24575 (cproj_test): Likewise.
24576 (creal_test): Use END macro without arguments.
24577 (csin_test): Use END_COMPLEX macro without arguments.
24578 (csinh_test): Likewise.
24579 (csqrt_test): Likewise.
24580 (ctan_test): Likewise.
24581 (ctan_test_tonearest): Likewise.
24582 (ctan_test_towardzero): Likewise.
24583 (ctan_test_downward): Likewise.
24584 (ctan_test_upward): Likewise.
24585 (ctanh_test): Likewise.
24586 (ctanh_test_tonearest): Likewise.
24587 (ctanh_test_towardzero): Likewise.
24588 (ctanh_test_downward): Likewise.
24589 (ctanh_test_upward): Likewise.
24590 (erf_test): Use END macro without arguments.
24591 (erfc_test): Likewise.
24592 (exp_test): Likewise.
24593 (exp_test_tonearest): Likewise.
24594 (exp_test_towardzero): Likewise.
24595 (exp_test_downward): Likewise.
24596 (exp_test_upward): Likewise.
24597 (exp10_test): Likewise.
24598 (exp2_test): Likewise.
24599 (expm1_test): Likewise.
24600 (fabs_test): Likewise.
24601 (fdim_test): Likewise.
24602 (finite_test): Likewise.
24603 (floor_test): Likewise.
24604 (fma_test): Likewise.
24605 (fma_test_towardzero): Likewise.
24606 (fma_test_downward): Likewise.
24607 (fma_test_upward): Likewise.
24608 (fmax_test): Likewise.
24609 (fmin_test): Likewise.
24610 (fmod_test): Likewise.
24611 (fpclassify_test): Likewise.
24612 (frexp_test): Likewise.
24613 (gamma_test): Likewise.
24614 (hypot_test): Likewise.
24615 (ilogb_test): Likewise.
24616 (isfinite_test): Likewise.
24617 (isgreater_test): Likewise.
24618 (isgreaterequal_test): Likewise.
24619 (isinf_test): Likewise.
24620 (isless_test): Likewise.
24621 (islessequal_test): Likewise.
24622 (islessgreater_test): Likewise.
24623 (isnan_test): Likewise.
24624 (isnormal_test): Likewise.
24625 (issignaling_test): Likewise.
24626 (isunordered_test): Likewise.
24627 (j0_test): Likewise.
24628 (j1_test): Likewise.
24629 (jn_test): Likewise.
24630 (ldexp_test): Likewise.
24631 (lgamma_test): Likewise.
24632 (lrint_test): Likewise.
24633 (lrint_test_tonearest): Likewise.
24634 (lrint_test_towardzero): Likewise.
24635 (lrint_test_downward): Likewise.
24636 (lrint_test_upward): Likewise.
24637 (llrint_test): Likewise.
24638 (llrint_test_tonearest): Likewise.
24639 (llrint_test_towardzero): Likewise.
24640 (llrint_test_downward): Likewise.
24641 (llrint_test_upward): Likewise.
24642 (log_test): Likewise.
24643 (log10_test): Likewise.
24644 (log1p_test): Likewise.
24645 (log2_test): Likewise.
24646 (logb_test): Likewise.
24647 (logb_test_downward): Likewise.
24648 (lround_test): Likewise.
24649 (llround_test): Likewise.
24650 (modf_test): Likewise.
24651 (nearbyint_test): Likewise.
24652 (nextafter_test): Likewise.
24653 (nexttoward_test): Likewise.
24654 (pow_test): Likewise.
24655 (pow_test_tonearest): Likewise.
24656 (pow_test_towardzero): Likewise.
24657 (pow_test_downward): Likewise.
24658 (pow_test_upward): Likewise.
24659 (remainder_test): Likewise.
24660 (remainder_test_tonearest): Likewise.
24661 (remainder_test_towardzero): Likewise.
24662 (remainder_test_downward): Likewise.
24663 (remainder_test_upward): Likewise.
24664 (remquo_test): Likewise.
24665 (rint_test): Likewise.
24666 (rint_test_tonearest): Likewise.
24667 (rint_test_towardzero): Likewise.
24668 (rint_test_downward): Likewise.
24669 (rint_test_upward): Likewise.
24670 (round_test): Likewise.
24671 (scalb_test): Likewise.
24672 (scalbn_test): Likewise.
24673 (scalbln_test): Likewise.
24674 (signbit_test): Likewise.
24675 (sin_test): Likewise.
24676 (sin_test_tonearest): Likewise.
24677 (sin_test_towardzero): Likewise.
24678 (sin_test_downward): Likewise.
24679 (sin_test_upward): Likewise.
24680 (sincos_test): Likewise.
24681 (sinh_test): Likewise.
24682 (sinh_test_tonearest): Likewise.
24683 (sinh_test_towardzero): Likewise.
24684 (sinh_test_downward): Likewise.
24685 (sinh_test_upward): Likewise.
24686 (sqrt_test): Likewise.
24687 (tan_test): Likewise.
24688 (tan_test_tonearest): Likewise.
24689 (tan_test_towardzero): Likewise.
24690 (tan_test_downward): Likewise.
24691 (tan_test_upward): Likewise.
24692 (tanh_test): Likewise.
24693 (tgamma_test): Likewise.
24694 (trunc_test): Likewise.
24695 (y0_test): Likewise.
24696 (y1_test): Likewise.
24697 (yn_test): Likewise.
24698 (significand_test): Likewise.
24699
247002013-05-24 Ondřej Bílka <neleai@seznam.cz>
24701
24702 [BZ #15381]
24703 * libio/genops.c (_IO_no_init): Initialize wide struct info.
24704
247052013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
24706
24707 [BZ #14894]
24708 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
24709 __ppc_mdoio and __ppc_mdoom.
24710 * manual/platform.texi: Document new functions __ppc_yield,
24711 __ppc_mdoio and __ppc_mdoom.
24712
247132013-05-22 Carlos O'Donell <carlos@redhat.com>
24714
24715 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
24716 (main): Mention "tls" pseudo-hwcap is legacy.
24717 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
24718
247192013-05-22 Joseph Myers <joseph@codesourcery.com>
24720
24721 * math/gen-libm-test.pl (parse_args): Output only string of
24722 arguments as text for test name, not full call or descriptions of
24723 tests for extra outputs.
24724 (generate_testfile): Do not pass function name to parse_args.
24725 Generate this_func variable from START.
24726 * math/libm-test.inc (struct test_f_f_data): Rename test_name
24727 field to arg_str.
24728 (struct test_ff_f_data): Likewise.
24729 (test_ff_f_data_nexttoward): Likewise.
24730 (struct test_fi_f_data): Likewise.
24731 (struct test_fl_f_data): Likewise.
24732 (struct test_if_f_data): Likewise.
24733 (struct test_fff_f_data): Likewise.
24734 (struct test_c_f_data): Likewise.
24735 (struct test_f_f1_data): Likewise. Remove field extra_name.
24736 (struct test_fF_f1_data): Likewise.
24737 (struct test_ffI_f1_data): Likewise.
24738 (struct test_c_c_data): Rename test_name field to arg_str.
24739 (struct test_cc_c_data): Likewise.
24740 (struct test_f_i_data): Likewise.
24741 (struct test_ff_i_data): Likewise.
24742 (struct test_f_l_data): Likewise.
24743 (struct test_f_L_data): Likewise.
24744 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
24745 and extra2_name.
24746 (COMMON_TEST_SETUP): New macro.
24747 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
24748 (COMMON_TEST_CLEANUP): Likewise.
24749 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
24750 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
24751 macros.
24752 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
24753 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
24754 macros.
24755 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
24756 (RUN_TEST_fff_f): Take argument string. Call new setup and
24757 cleanup macros.
24758 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
24759 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
24760 macros.
24761 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
24762 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
24763 macros.
24764 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24765 (RUN_TEST_fF_f1): Take argument string. Call new setup and
24766 cleanup macros.
24767 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24768 (RUN_TEST_fI_f1): Take argument string. Call new setup and
24769 cleanup macros.
24770 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24771 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
24772 cleanup macros.
24773 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24774 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
24775 macros.
24776 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
24777 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
24778 macros.
24779 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
24780 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
24781 macros.
24782 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
24783 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
24784 cleanup macros.
24785 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
24786 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
24787 cleanup macros.
24788 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
24789 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
24790 macros.
24791 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
24792 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
24793 cleanup macros.
24794 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
24795 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
24796 macros.
24797 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
24798 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
24799 macros.
24800 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
24801 (RUN_TEST_fFF_11): Take argument string. Call new setup and
24802 cleanup macros.
24803 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
24804
248052013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
24806
24807 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
24808 to _sifields.sigfault.
24809 (si_addr_lsb): Define new macro.
24810 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24811 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24812 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
24813
248142013-05-03 Carlos O'Donell <carlos at redhat.com>
24815
24816 [BZ #15441]
24817 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
24818 returns -1.
24819 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
24820 null return -1.
24821 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
24822 loading the domain.
24823
248242013-05-22 Joseph Myers <joseph@codesourcery.com>
24825
24826 * math/gen-libm-test.pl (parse_args): Do not include expected
24827 result in test name.
24828 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
24829 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24830 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24831 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24832 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24834
248352013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24836
24837 * benchtests/Makefile: Sort function entries.
24838
24839 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
24840 tanh, asinh, acosh, atanh.
24841 * benchtests/acos-inputs: New file.
24842 * benchtests/acosh-inputs: New file.
24843 * benchtests/asin-inputs: New file.
24844 * benchtests/asinh-inputs: New file.
24845 * benchtests/atanh-inputs: New file.
24846 * benchtests/cosh-inputs: New file.
24847 * benchtests/log-inputs: New file.
24848 * benchtests/sinh-inputs: New file.
24849 * benchtests/tanh-inputs: New file.
24850
248512013-05-21 Dmitry V. Levin <ldv@altlinux.org>
24852
24853 [BZ #15339]
24854 * posix/tst-getaddrinfo4.c: New test.
24855 * posix/Makefile (tests): Add it.
24856
248572013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24858
24859 [BZ #15339]
24860 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
24861 when no services were used.
24862 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
24863 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
24864
248652013-05-21 Andreas Schwab <schwab@suse.de>
24866
24867 [BZ #15014]
24868 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
24869 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
24870 successful.
24871 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
24872 redundant variable declarations and reallocation of buffer when
24873 parsing as IPv6 address. Always set NSS status when called from
24874 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
24875 buffer too small. Correct computation of needed size.
24876 * nss/Makefile (tests): Add test-digits-dots.
24877 * nss/test-digits-dots.c: New test.
24878
248792013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24880
24881 * benchtests/Makefile: Remove instructions for adding
24882 benchmark tests.
24883 * benchtests/README: New file to explain how to execute and
24884 enhance the benchmark tests.
24885
248862013-05-21 Andreas Schwab <schwab@suse.de>
24887
24888 [BZ #15493]
24889 * setjmp/Makefile (tests): Add tst-sigsetjmp.
24890 * setjmp/tst-sigsetjmp.c: New test.
24891
248922013-05-20 Ondřej Bílka <neleai@seznam.cz>
24893
24894 * sysdeps/x86_64/memset.S (memset): New implementation.
24895 (__bzero): Likewise.
24896 (__memset_tail): New function.
24897
248982013-05-20 Ondřej Bílka <neleai@seznam.cz>
24899
24900 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
24901 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
24902 __memcpy_sse2_unaligned ifunc selection.
24903 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24904 Add memcpy-sse2-unaligned.S.
24905 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24906 Add: __memcpy_sse2_unaligned.
24907
249082013-05-19 Joseph Myers <joseph@codesourcery.com>
24909
24910 [BZ #15490]
24911 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24912 math_force_eval before restoring floating-point envrionment.
24913 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
24914 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
24915 Likewise.
24916 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
24917 <math_private.h>.
24918 (__nearbyintl): Use math_force_eval before restoring
24919 floating-point environment.
24920 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
24921
24922 * math/gen-libm-test.pl (special_functions): Remove.
24923 (parse_args): Don't handle TEST_extra. Handle functions with no
24924 return value.
24925 * math/libm-test.inc (struct test_sincos_data): Replace with
24926 struct test_fFF_11_data.
24927 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
24928 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
24929 (sincos_test_data): Change element type to struct
24930 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
24931 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
24932 RUN_TEST_LOOP_sincos.
24933 * math/README.libm-test: Don't mention special handling of
24934 individual functions.
24935 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
24936 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24937 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24938 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24939 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24941
24942 * math/gen-libm-test.pl (get_variable): Remove function.
24943 (parse_args): Don't show pointer parameters to call in test
24944 names. Use "extra output N" in test names for extra outputs
24945 rather than naming variables.
24946
249472013-05-18 Joseph Myers <joseph@codesourcery.com>
24948
24949 [BZ #15488]
24950 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
24951 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
24952 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
24953 double tests.
24954 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
24955 disable.
24956 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
24957 check_long_double.
24958
24959 * math/gen-libm-test.pl (@tests): Remove variable.
24960 ($count): Likewise.
24961 (new_test): Remove function.
24962 (show_exceptions): New function.
24963 (special_functions): Use show_exceptions instead of new_test.
24964 (parse_args): Likewise.
24965 (generate_testfile): Pass only function name in generated call to
24966 print_max_error or print_complex_max_error.
24967 (get_ulps): Do not handle complex tests specially.
24968 (output_test): Rename to ...
24969 (get_all_ulps_for_test): ... this. Return a string rather than
24970 printing to a file. Require ulps to be present.
24971 (output_ulps): Generate arrays rather than #defines.
24972 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
24973 (struct ulp_data): New type.
24974 (BUILD_COMPLEX_ULP): Remove macro.
24975 (compare_ulp_data): New function.
24976 (find_ulps): Likewise.
24977 (find_test_ulps): Likewise.
24978 (find_function_ulps): Likewise.
24979 (find_complex_function_ulps): Likewise.
24980 (print_max_error): Determine allowed ulps using
24981 find_function_ulps.
24982 (print_complex_max_error): Determine allowed ulps using
24983 find_complex_function_ulps.
24984 (check_float_internal): Determine max ulps using find_test_ulps.
24985 (check_float): Do not take max_ulp parameter. Update call to
24986 check_float_internal.
24987 (check_complex): Likewise.
24988 (check_int): Do not take max_ulp parameter.
24989 (check_long): Likewise.
24990 (check_bool): Likewise.
24991 (check_longlong): Likewise.
24992 (struct test_f_f_data): Remove max_ulp field.
24993 (struct test_ff_f_data): Likewise.
24994 (struct test_ff_f_data_nexttoward): Likewise.
24995 (struct test_fi_f_data): Likewise.
24996 (struct test_fl_f_data): Likewise.
24997 (struct test_if_f_data): Likewise.
24998 (struct test_fff_f_data): Likewise.
24999 (struct test_c_f_data): Likewise.
25000 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
25001 (struct test_fF_f1_data): Likewise.
25002 (struct test_ffI_f1_data): Likewise.
25003 (struct test_c_c_data): Remove max_ulp field.
25004 (struct test_cc_c_data): Likewise.
25005 (struct test_f_i_data): Likewise.
25006 (struct test_ff_i_data): Likewise.
25007 (struct test_f_l_data): Likewise.
25008 (struct test_f_L_data): Likewise.
25009 (struct test_sincos_data): Likewise.
25010 (RUN_TEST_f_f): Do not handle ulps.
25011 (RUN_TEST_LOOP_f_f): Likewise.
25012 (RUN_TEST_2_f): Likewise.
25013 (RUN_TEST_LOOP_2_f): Likewise.
25014 (RUN_TEST_fff_f): Likewise.
25015 (RUN_TEST_LOOP_fff_f): Likewise.
25016 (RUN_TEST_c_f): Likewise.
25017 (RUN_TEST_LOOP_c_f): Likewise.
25018 (RUN_TEST_f_f1): Likewise.
25019 (RUN_TEST_LOOP_f_f1): Likewise.
25020 (RUN_TEST_fF_f1): Likewise.
25021 (RUN_TEST_LOOP_fF_f1): Likewise.
25022 (RUN_TEST_fI_f1): Likewise.
25023 (RUN_TEST_LOOP_fI_f1): Likewise.
25024 (RUN_TEST_ffI_f1): Likewise.
25025 (RUN_TEST_LOOP_ffI_f1): Likewise.
25026 (RUN_TEST_c_c): Likewise.
25027 (RUN_TEST_LOOP_c_c): Likewise.
25028 (RUN_TEST_cc_c): Likewise.
25029 (RUN_TEST_LOOP_cc_c): Likewise.
25030 (RUN_TEST_f_i): Likewise.
25031 (RUN_TEST_LOOP_f_i): Likewise.
25032 (RUN_TEST_f_i_tg): Likewise.
25033 (RUN_TEST_LOOP_f_i_tg): Likewise.
25034 (RUN_TEST_ff_i_tg): Likewise.
25035 (RUN_TEST_LOOP_ff_i_tg): Likewise.
25036 (RUN_TEST_f_b): Likewise.
25037 (RUN_TEST_LOOP_f_b): Likewise.
25038 (RUN_TEST_f_b_tg): Likewise.
25039 (RUN_TEST_LOOP_f_b_tg): Likewise.
25040 (RUN_TEST_f_l): Likewise.
25041 (RUN_TEST_LOOP_f_l): Likewise.
25042 (RUN_TEST_f_L): Likewise.
25043 (RUN_TEST_LOOP_f_L): Likewise.
25044 (RUN_TEST_sincos): Likewise.
25045 (RUN_TEST_LOOP_sincos): Likewise.
25046
250472013-05-17 Joseph Myers <joseph@codesourcery.com>
25048
25049 [BZ #15480]
25050 [BZ #15485]
25051 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
25052 main case of finite arguments, set rounding mode to FE_TONEAREST
25053 and discard exceptions.
25054 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
25055 exceptions.
25056 (remainder_tonearest_test_data): New variable.
25057 (remainder_test_tonearest): New function.
25058 (remainder_towardzero_test_data): New variable.
25059 (remainder_test_towardzero): New function.
25060 (remainder_downward_test_data): New variable.
25061 (remainder_test_downward): New function.
25062 (remainder_upward_test_data): New variable.
25063 (remainder_test_upward): New function.
25064 (main): Call the new test functions.
25065
25066 * math/libm-test.inc (struct test_f_f1_data): Remove field
25067 extra_init.
25068 (struct test_fF_f1_data): Likewise.
25069 (struct test_ffI_f1_data): Likewise.
25070 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
25071 based on value of EXTRA_EXPECTED.
25072 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25073 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
25074 EXTRA_VAR based on value of EXTRA_EXPECTED.
25075 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25076 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
25077 EXTRA_VAR based on value of EXTRA_EXPECTED.
25078 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25079 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
25080 EXTRA_VAR based on value of EXTRA_EXPECTED.
25081 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25082 * math/gen-libm-test.pl (parse_args): Don't output initializers
25083 for extra output values.
25084
25085 * math/libm-test.inc (check_int): Expect result to be exactly
25086 equal to expected value and do not handle ulps.
25087 (check_long): Likewise.
25088 (check_longlong): Likewise.
25089
25090 * math/libm-test.inc (ceil_test_data): Test for "inexact"
25091 exceptions.
25092 (cimag_test_data): Likewise.
25093 (conj_test_data): Likewise.
25094 (copysign_test_data): Likewise.
25095 (cproj_test_data): Likewise.
25096 (creal_test_data): Likewise.
25097 (fabs_test_data): Likewise.
25098 (fdim_test_data): Likewise.
25099 (finite_test_data): Likewise.
25100 (floor_test_data): Likewise.
25101 (fmax_test_data): Likewise.
25102 (fmin_test_data): Likewise.
25103 (fmod_test_data): Likewise.
25104 (fpclassify_test_data): Likewise.
25105 (frexp_test_data): Likewise.
25106 (ilogb_test_data): Likewise.
25107 (isfinite_test_data): Likewise.
25108 (isgreater_test_data): Likewise.
25109 (isgreaterequal_test_data): Likewise.
25110 (isinf_test_data): Likewise.
25111 (isless_test_data): Likewise.
25112 (islessequal_test_data): Likewise.
25113 (islessgreater_test_data): Likewise.
25114 (isnan_test_data): Likewise.
25115 (isnormal_test_data): Likewise.
25116 (issignaling_test_data): Likewise.
25117 (isunordered_test_data): Likewise.
25118 (ldexp_test_data): Likewise.
25119 (lrint_test_data): Likewise.
25120 (lrint_test_data) [TEST_FLOAT]: Disable one test.
25121 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
25122 (lrint_tonearest_test_data): Test for "inexact" exceptions.
25123 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25124 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
25125 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25126 test input.
25127 (lrint_towardzero_test_data): Test for "inexact" exceptions.
25128 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25129 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
25130 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
25131 that test input.
25132 (lrint_downward_test_data): Test for "inexact" exceptions.
25133 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25134 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
25135 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25136 test input.
25137 (lrint_upward_test_data): Test for "inexact" exceptions.
25138 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
25139 test input.
25140 (llrint_test_data): Test for "inexact" exceptions.
25141 (llrint_test_data) [TEST_FLOAT]: Disable one test.
25142 (llrint_tonearest_test_data): Test for "inexact" exceptions.
25143 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25144 (llrint_towardzero_test_data): Test for "inexact" exceptions.
25145 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25146 (llrint_downward_test_data): Test for "inexact" exceptions.
25147 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25148 (llrint_upward_test_data): Test for "inexact" exceptions.
25149 (logb_test_data): Likewise.
25150 (logb_downward_test_data): Likewise.
25151 (nextafter_test_data): Likewise.
25152 (nexttoward_test_data): Likewise.
25153 (remainder_test_data): Likewise.
25154 (remquo_test_data): Likewise.
25155 (scalbn_test_data): Likewise.
25156 (scalbln_test_data): Likewise.
25157 (signbit_test_data): Likewise.
25158 (sqrt_test_data): Likewise.
25159 (significand_test_data): Likewise.
25160
251612013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25162
25163 [BZ #15424]
25164 * benchtests/bench-modf.c (struct args): Mark arg0 as
25165 volatile.
25166 * scripts/bench.pl: Mark members of struct args as volatile.
25167
251682013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25169
25170 [BZ # 15497]
25171 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
25172 negative infinity on POWER6 or lower.
25173 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
25174
251752013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
25176
25177 [BZ #15442]
25178 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
25179 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
25180 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
25181 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
25182 (_FP_SETQNAN): New macro.
25183 (_FP_SETQNAN_SEMIRAW): Likewise.
25184 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
25185 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
25186 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
25187 (FP_EXTEND): Use _FP_FRAC_SNANP.
25188 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
25189 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
25190 into account.
25191 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25192 New macro.
25193 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25194 Likewise.
25195
251962013-05-16 Joseph Myers <joseph@codesourcery.com>
25197
25198 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
25199 with DIVIDE_BY_ZERO_EXCEPTION.
25200 (gamma_test_data): Likewise.
25201 (lgamma_test_data): Likewise.
25202 (log_test_data): Likewise.
25203 (log10_test_data): Likewise.
25204 (log2_test_data): Likewise.
25205 (tgamma_test_data): Likewise.
25206
25207 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
25208 (acos_test_tonearest): Likewise.
25209 (acos_test_towardzero): Likewise.
25210 (acos_test_downward): Likewise.
25211 (acos_test_upward): Likewise.
25212 (acosh_test): Likewise.
25213 (asin_test): Likewise.
25214 (asin_test_tonearest): Likewise.
25215 (asin_test_towardzero): Likewise.
25216 (asin_test_downward): Likewise.
25217 (asin_test_upward): Likewise.
25218 (asinh_test): Likewise.
25219 (atan_test): Likewise.
25220 (atanh_test): Likewise.
25221 (atan2_test): Likewise.
25222 (cabs_test): Likewise.
25223 (cacos_test): Likewise.
25224 (cacosh_test): Likewise.
25225 (casin_test): Likewise.
25226 (casinh_test): Likewise.
25227 (catan_test): Likewise.
25228 (catanh_test): Likewise.
25229 (cbrt_test): Likewise.
25230 (ccos_test): Likewise.
25231 (ccosh_test): Likewise.
25232 (cexp_test): Likewise.
25233 (clog_test): Likewise.
25234 (clog10_test): Likewise.
25235 (cos_test): Likewise.
25236 (cos_test_tonearest): Likewise.
25237 (cos_test_towardzero): Likewise.
25238 (cos_test_downward): Likewise.
25239 (cos_test_upward): Likewise.
25240 (cosh_test): Likewise.
25241 (cosh_test_tonearest): Likewise.
25242 (cosh_test_towardzero): Likewise.
25243 (cosh_test_downward): Likewise.
25244 (cosh_test_upward): Likewise.
25245 (cpow_test): Likewise.
25246 (csin_test): Likewise.
25247 (csinh_test): Likewise.
25248 (csqrt_test): Likewise.
25249 (ctan_test): Likewise.
25250 (ctan_test_tonearest): Likewise.
25251 (ctan_test_towardzero): Likewise.
25252 (ctan_test_downward): Likewise.
25253 (ctan_test_upward): Likewise.
25254 (ctanh_test): Likewise.
25255 (ctanh_test_tonearest): Likewise.
25256 (ctanh_test_towardzero): Likewise.
25257 (ctanh_test_downward): Likewise.
25258 (ctanh_test_upward): Likewise.
25259 (erf_test): Likewise.
25260 (erfc_test): Likewise.
25261 (exp_test): Likewise.
25262 (exp_test_tonearest): Likewise.
25263 (exp_test_towardzero): Likewise.
25264 (exp_test_downward): Likewise.
25265 (exp_test_upward): Likewise.
25266 (exp10_test): Likewise.
25267 (exp2_test): Likewise.
25268 (expm1_test): Likewise.
25269 (fmod_test): Likewise.
25270 (gamma_test): Likewise.
25271 (hypot_test): Likewise.
25272 (j0_test): Likewise.
25273 (j1_test): Likewise.
25274 (jn_test): Likewise.
25275 (lgamma_test): Likewise.
25276 (log_test): Likewise.
25277 (log10_test): Likewise.
25278 (log1p_test): Likewise.
25279 (log2_test): Likewise.
25280 (logb_test_downward): Likewise.
25281 (pow_test): Likewise.
25282 (pow_test_tonearest): Likewise.
25283 (pow_test_towardzero): Likewise.
25284 (pow_test_downward): Likewise.
25285 (pow_test_upward): Likewise.
25286 (remainder_test): Likewise.
25287 (remquo_test): Likewise.
25288 (sin_test): Likewise.
25289 (sin_test_tonearest): Likewise.
25290 (sin_test_towardzero): Likewise.
25291 (sin_test_downward): Likewise.
25292 (sin_test_upward): Likewise.
25293 (sincos_test): Likewise.
25294 (sinh_test): Likewise.
25295 (sinh_test_tonearest): Likewise.
25296 (sinh_test_towardzero): Likewise.
25297 (sinh_test_downward): Likewise.
25298 (sinh_test_upward): Likewise.
25299 (sqrt_test): Likewise.
25300 (tan_test): Likewise.
25301 (tan_test_tonearest): Likewise.
25302 (tan_test_towardzero): Likewise.
25303 (tan_test_downward): Likewise.
25304 (tan_test_upward): Likewise.
25305 (tanh_test): Likewise.
25306 (tgamma_test): Likewise.
25307 (y0_test): Likewise.
25308 (y1_test): Likewise.
25309 (yn_test): Likewise.
25310
25311 * math/gen-libm-test.pl (adjust_arg): Remove function.
25312 (special_function): Remove argument $in_func. Only handle
25313 generating output for tables of tests, not inside functions.
25314 (parse_args): Likewise.
25315 (generate_testfile): Remove variable $in_func. Update call to
25316 parse_args.
25317 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
25318 (MINUS_ZERO_INIT): Rename macro to minus_zero.
25319 (PLUS_INFTY_INIT): Rename macro to plus_infty.
25320 (MINUS_INFTY_INIT): Rename macro to minus_infty.
25321 (QNAN_VALUE_INIT): Rename macro to qnan_value.
25322 (MAX_VALUE_INIT): Rename macro to max_value.
25323 (MIN_VALUE_INIT): Rename macro to min_value.
25324 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
25325 (plus_zero): Remove variable.
25326 (minus_zero): Likewise.
25327 (plus_infty): Likewise.
25328 (minus_infty): Likewise.
25329 (qnan_value): Likewise.
25330 (max_value): Likewise.
25331 (min_value): Likewise.
25332 (min_subnorm_value): Likewise.
25333
253342013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25335
25336 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
25337 uint64_t or uint32_t usage.
25338 * crypt/sha256-block.c: Likewise.
25339 * crypt/sha256-crypt.c: Likewise.
25340 * crypt/sha256.c: Likewise.
25341 * crypt/sha512-block.c: Likewise.
25342 * crypt/sha512-crypt.c: Likewise.
25343 * crypt/sha512.c: Likewise.
25344 * debug/backtrace-tst.c: Likewise.
25345 * debug/pcprofiledump.c: Likewise.
25346 * elf/cache.c: Likewise.
25347 * elf/dl-cache.c: Likewise.
25348 * elf/dl-misc.c: Likewise.
25349 * elf/dl-profile.c: Likewise.
25350 * elf/dl-support.c: Likewise.
25351 * elf/ldconfig.c: Likewise.
25352 * elf/sprof.c: Likewise.
25353 * iconv/dummy-repertoire.c: Likewise.
25354 * iconv/iconv_charmap.c: Likewise.
25355 * iconv/skeleton.c: Likewise.
25356 * iconvdata/8bit-generic.c: Likewise.
25357 * iconvdata/cp737.h: Likewise.
25358 * iconvdata/cp775.h: Likewise.
25359 * iconvdata/ibm1008.h: Likewise.
25360 * iconvdata/ibm1025.h: Likewise.
25361 * iconvdata/ibm1046.h: Likewise.
25362 * iconvdata/ibm1097.h: Likewise.
25363 * iconvdata/ibm1112.h: Likewise.
25364 * iconvdata/ibm1122.h: Likewise.
25365 * iconvdata/ibm1123.h: Likewise.
25366 * iconvdata/ibm1124.h: Likewise.
25367 * iconvdata/ibm1129.h: Likewise.
25368 * iconvdata/ibm1130.h: Likewise.
25369 * iconvdata/ibm1132.h: Likewise.
25370 * iconvdata/ibm1133.h: Likewise.
25371 * iconvdata/ibm1137.h: Likewise.
25372 * iconvdata/ibm1140.h: Likewise.
25373 * iconvdata/ibm1141.h: Likewise.
25374 * iconvdata/ibm1142.h: Likewise.
25375 * iconvdata/ibm1143.h: Likewise.
25376 * iconvdata/ibm1144.h: Likewise.
25377 * iconvdata/ibm1145.h: Likewise.
25378 * iconvdata/ibm1146.h: Likewise.
25379 * iconvdata/ibm1147.h: Likewise.
25380 * iconvdata/ibm1148.h: Likewise.
25381 * iconvdata/ibm1149.h: Likewise.
25382 * iconvdata/ibm1153.h: Likewise.
25383 * iconvdata/ibm1154.h: Likewise.
25384 * iconvdata/ibm1155.h: Likewise.
25385 * iconvdata/ibm1156.h: Likewise.
25386 * iconvdata/ibm1157.h: Likewise.
25387 * iconvdata/ibm1158.h: Likewise.
25388 * iconvdata/ibm1160.h: Likewise.
25389 * iconvdata/ibm1161.h: Likewise.
25390 * iconvdata/ibm1162.h: Likewise.
25391 * iconvdata/ibm1163.h: Likewise.
25392 * iconvdata/ibm1164.h: Likewise.
25393 * iconvdata/ibm1166.h: Likewise.
25394 * iconvdata/ibm1167.h: Likewise.
25395 * iconvdata/ibm12712.h: Likewise.
25396 * iconvdata/ibm1390.h: Likewise.
25397 * iconvdata/ibm1399.h: Likewise.
25398 * iconvdata/ibm16804.h: Likewise.
25399 * iconvdata/ibm4517.h: Likewise.
25400 * iconvdata/ibm4899.h: Likewise.
25401 * iconvdata/ibm4909.h: Likewise.
25402 * iconvdata/ibm4971.h: Likewise.
25403 * iconvdata/ibm5347.h: Likewise.
25404 * iconvdata/ibm803.h: Likewise.
25405 * iconvdata/ibm856.h: Likewise.
25406 * iconvdata/ibm901.h: Likewise.
25407 * iconvdata/ibm902.h: Likewise.
25408 * iconvdata/ibm9030.h: Likewise.
25409 * iconvdata/ibm9066.h: Likewise.
25410 * iconvdata/ibm921.h: Likewise.
25411 * iconvdata/ibm922.h: Likewise.
25412 * iconvdata/ibm9448.h: Likewise.
25413 * iconvdata/isiri-3342.h: Likewise.
25414 * iconvdata/jis0201.h: Likewise.
25415 * include/link.h: Likewise.
25416 * include/netdb.h: Likewise.
25417 * inet/check_native.c: Likewise.
25418 * inet/check_pf.c: Likewise.
25419 * inet/getipv4sourcefilter.c: Likewise.
25420 * inet/getnameinfo.c: Likewise.
25421 * inet/getsourcefilter.c: Likewise.
25422 * inet/htonl.c: Likewise.
25423 * inet/setipv4sourcefilter.c: Likewise.
25424 * inet/setsourcefilter.c: Likewise.
25425 * inet/test-inet6_opt.c: Likewise.
25426 * inet/tst-network.c: Likewise.
25427 * locale/C-collate.c: Likewise.
25428 * locale/C-ctype.c: Likewise.
25429 * locale/C-time.c: Likewise.
25430 * locale/C-translit.h: Likewise.
25431 * locale/loadarchive.c: Likewise.
25432 * locale/programs/3level.h: Likewise.
25433 * locale/programs/charmap.c: Likewise.
25434 * locale/programs/charmap.h: Likewise.
25435 * locale/programs/ld-address.c: Likewise.
25436 * locale/programs/ld-collate.c: Likewise.
25437 * locale/programs/ld-ctype.c: Likewise.
25438 * locale/programs/ld-identification.c: Likewise.
25439 * locale/programs/ld-measurement.c: Likewise.
25440 * locale/programs/ld-messages.c: Likewise.
25441 * locale/programs/ld-monetary.c: Likewise.
25442 * locale/programs/ld-name.c: Likewise.
25443 * locale/programs/ld-numeric.c: Likewise.
25444 * locale/programs/ld-paper.c: Likewise.
25445 * locale/programs/ld-telephone.c: Likewise.
25446 * locale/programs/ld-time.c: Likewise.
25447 * locale/programs/linereader.c: Likewise.
25448 * locale/programs/locale.c: Likewise.
25449 * locale/programs/locarchive.c: Likewise.
25450 * locale/programs/locfile.h: Likewise.
25451 * locale/programs/repertoire.c: Likewise.
25452 * locale/programs/simple-hash.c: Likewise.
25453 * locale/programs/simple-hash.h: Likewise.
25454 * malloc/memusage.c: Likewise.
25455 * malloc/memusagestat.c: Likewise.
25456 * nis/nis_defaults.c: Likewise.
25457 * nis/nis_hash.c: Likewise.
25458 * nis/nis_print.c: Likewise.
25459 * nis/nis_xdr.c: Likewise.
25460 * nscd/connections.c: Likewise.
25461 * nscd/hstcache.c: Likewise.
25462 * nscd/nscd_gethst_r.c: Likewise.
25463 * nscd/nscd_getserv_r.c: Likewise.
25464 * nscd/nscd_helper.c: Likewise.
25465 * nscd/servicescache.c: Likewise.
25466 * nss/makedb.c: Likewise.
25467 * nss/nss_db/db-XXX.c: Likewise.
25468 * nss/nss_db/db-initgroups.c: Likewise.
25469 * nss/nss_db/db-netgrp.c: Likewise.
25470 * nss/nss_files/files-network.c: Likewise.
25471 * nss/nss_files/files-parse.c: Likewise.
25472 * posix/bug-regex5.c: Likewise.
25473 * posix/fnmatch_loop.c: Likewise.
25474 * posix/regcomp.c: Likewise.
25475 * posix/regexec.c: Likewise.
25476 * posix/tst-rfc3484-2.c: Likewise.
25477 * posix/tst-rfc3484-3.c: Likewise.
25478 * posix/tst-rfc3484.c: Likewise.
25479 * resolv/nss_dns/dns-canon.c: Likewise.
25480 * resolv/nss_dns/dns-network.c: Likewise.
25481 * resolv/res_init.c: Likewise.
25482 * resolv/res_mkquery.c: Likewise.
25483 * resolv/tst-aton.c: Likewise.
25484 * stdlib/cxa_atexit.c: Likewise.
25485 * stdlib/cxa_finalize.c: Likewise.
25486 * stdlib/gen-fpioconst.c: Likewise.
25487 * stdlib/strtol_l.c: Likewise.
25488 * string/tst-endian.c: Likewise.
25489 * sunrpc/auth_des.c: Likewise.
25490 * sunrpc/clnt_udp.c: Likewise.
25491 * sunrpc/rtime.c: Likewise.
25492 * sunrpc/svcauth_des.c: Likewise.
25493 * sunrpc/xdr.c: Likewise.
25494 * sunrpc/xdr_intXX_t.c: Likewise.
25495 * sunrpc/xdr_rec.c: Likewise.
25496 * sysdeps/generic/ldconfig.h: Likewise.
25497 * sysdeps/generic/ldsodefs.h: Likewise.
25498 * sysdeps/generic/memusage.h: Likewise.
25499 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25500 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
25501 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
25502 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25503 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25504 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25505 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25506 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25507 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25508 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25509 * sysdeps/posix/getaddrinfo.c: Likewise.
25510 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25511 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25512 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25513 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25514 * sysdeps/powerpc/test-gettimebase.c: Likewise.
25515 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25516 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
25517 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
25518 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25519 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
25520 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25521 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25522 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
25523 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
25524 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
25525 * sysdeps/x86_64/dl-tls.h: Likewise.
25526 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
25527 * time/alt_digit.c: Likewise.
25528 * time/era.c: Likewise.
25529 * wcsmbs/tst-c16c32-1.c: Likewise.
25530
255312013-05-16 Joseph Myers <joseph@codesourcery.com>
25532
25533 * math/libm-test.inc (struct test_sincos_data): New type.
25534 (RUN_TEST_LOOP_sincos): New macro.
25535 (sincos_test_data): New variable.
25536 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
25537
255382013-05-16 Richard Henderson <rth@redhat.com>
25539
25540 * math/atest-exp2.c (LIMB64): New macro.
25541 (CONSTSZ): New macro.
25542 (mp_exp1, mp_exp_m1, mp_log2): New variables.
25543 (hexdig): Move ...
25544 (print_mpn_fp): ... to function scope.
25545 (read_mpn_hex): Remove.
25546 (get_log2): Remove.
25547 (exp2_mpn): Use mp_log2.
25548 (main): Use mp_exp1.
25549
255502013-05-16 Joseph Myers <joseph@codesourcery.com>
25551
25552 * math/libm-test.inc: Remove comment about not testing "inexact"
25553 exceptions.
25554 (INEXACT_EXCEPTION): New macro.
25555 (NO_INEXACT_EXCEPTION): Likewise.
25556 (INVALID_EXCEPTION_OK): Update value.
25557 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25558 (OVERFLOW_EXCEPTION_OK): Likewise.
25559 (UNDERFLOW_EXCEPTION_OK): Likewise.
25560 (IGNORE_ZERO_INF_SIGN): Likewise.
25561 (ERRNO_UNCHANGED): Likewise.
25562 (ERRNO_EDOM): Likewise.
25563 (ERRNO_ERANGE): Likewise.
25564 (test_exceptions): Handle testing "inexact" exceptions.
25565 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
25566 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
25567 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
25568 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
25569 INEXACT_EXCEPTION.
25570 (rint_towardzero_test_data): Likewise.
25571 (rint_downward_test_data): Likewise.
25572 (rint_upward_test_data): Likewise.
25573
25574 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
25575 with OVERFLOW_EXCEPTION.
25576 (exp10_test_data): Likewise.
25577 (exp2_test_data): Likewise.
25578 (expm1_test_data): Likewise.
25579 (lgamma_test_data): Likewise.
25580 (pow_test_data): Likewise.
25581 (tgamma_test_data): Likewise.
25582 (yn_test_data): Remove duplicate test of overflow.
25583
25584 * math/libm-test.inc (struct test_cc_c_data): New type.
25585 (RUN_TEST_LOOP_cc_c): New macro.
25586 (cpow_test_data): New variable.
25587 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
25588
25589 * math/libm-test.inc (struct test_f_L_data): New type.
25590 (RUN_TEST_LOOP_f_L): New macro.
25591 (llrint_test_data): New variable.
25592 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
25593 (llrint_tonearest_test_data): New variable.
25594 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
25595 (llrint_towardzero_test_data): New variable.
25596 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
25597 (llrint_downward_test_data): New variable.
25598 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
25599 (llrint_upward_test_data): New variable.
25600 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
25601 (llround_test_data): New variable.
25602 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
25603
256042013-05-13 Peter Collingbourne <pcc@google.com>
25605
25606 * math/atest-exp2.c (get_log2): Remove const attribute.
25607
256082013-05-15 Joseph Myers <joseph@codesourcery.com>
25609
25610 * math/libm-test.inc (struct test_f_l_data): New type.
25611 (RUN_TEST_LOOP_f_l): New macro.
25612 (lrint_test_data): New variable.
25613 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
25614 (lrint_tonearest_test_data): New variable.
25615 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
25616 (lrint_towardzero_test_data): New variable.
25617 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
25618 (lrint_downward_test_data): New variable.
25619 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
25620 (lrint_upward_test_data): New variable.
25621 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
25622 (lround_test_data): New variable.
25623 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
25624
256252013-05-15 Peter Collingbourne <pcc@google.com>
25626
25627 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
25628 (EXTRACT_WORDS64) Use where appropriate.
25629 (INSERT_WORDS64) Likewise.
25630
25631 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
25632 constraints with x constraints.
25633 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
25634
25635 * malloc/obstack.c (_obstack_compat): Add initializer.
25636
256372013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
25638
25639 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
25640 si_trapno and add si_addr_lsb to _sifields.sigfault.
25641 (si_trapno): Remove macro.
25642 (si_addr_lsb): Define new macro.
25643 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25644
256452013-05-15 Joseph Myers <joseph@codesourcery.com>
25646
25647 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
25648 instead of TEST_f_l.
25649 (llrint_test_tonearest): Likewise.
25650 (llrint_test_towardzero): Likewise.
25651 (llrint_test_downward): Likewise.
25652 (llrint_test_upward): Likewise.
25653 (llround_test): Likewise.
25654
25655 * math/libm-test.inc (struct test_f_i_data): Add comment.
25656 (RUN_TEST_LOOP_f_b): New macro.
25657 (RUN_TEST_LOOP_f_b_tg): Likewise.
25658 (finite_test_data): New variable.
25659 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
25660 (isfinite_test_data): New variable.
25661 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25662 (isinf_test_data): New variable.
25663 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25664 (isnan_test_data): New variable.
25665 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25666 (isnormal_test_data): New variable.
25667 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25668 (issignaling_test_data): New variable.
25669 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25670 (signbit_test_data): New variable.
25671 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25672
25673 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
25674 with INVALID_EXCEPTION.
25675 (acosh_test_data): Likewise.
25676 (asin_test_data): Likewise.
25677 (atanh_test_data): Likewise.
25678 (fmod_test_data): Likewise.
25679 (log_test_data): Likewise.
25680 (log10_test_data): Likewise.
25681 (log2_test_data): Likewise.
25682 (pow_test_data): Likewise.
25683 (sqrt_test_data): Likewise.
25684 (y0_test_data): Likewise.
25685 (y1_test_data): Likewise.
25686 (yn_test_data): Likewise.
25687
25688 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
25689 function contents.
25690
25691 * math/libm-test.inc (struct test_ff_i_data): New type.
25692 (RUN_TEST_LOOP_ff_i_tg): New macro.
25693 (isgreater_test_data): New variable.
25694 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25695 (isgreaterequal_test_data): New variable.
25696 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25697 (isless_test_data): New variable.
25698 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25699 (islessequal_test_data): New variable.
25700 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25701 (islessgreater_test_data): New variable.
25702 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25703 (isunordered_test_data): New variable.
25704 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25705
257062013-05-14 David S. Miller <davem@davemloft.net>
25707
25708 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25709
257102013-05-14 Joseph Myers <joseph@codesourcery.com>
25711
25712 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
25713
25714 * math/libm-test.inc (struct test_fF_f1_data): Change type of
25715 extra_test to int.
25716 (struct test_f_i_data): Change type of max_ulp to int.
25717
25718 * math/libm-test.inc (test_ffI_f1_data): New type.
25719 (RUN_TEST_LOOP_ffI_f1): New macro.
25720 (remquo_test_data): New variable.
25721 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
25722
25723 * setjmp/tst-setjmp-fp.c: New file.
25724 * setjmp/Makefile (tests): Add tst-setjmp-fp.
25725 (link-libm): New variable.
25726 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
25727
25728 * math/libm-test.inc (struct test_f_i_data): New type.
25729 (RUN_TEST_LOOP_f_i): New macro.
25730 (RUN_TEST_LOOP_f_i_tg): Likewise.
25731 (fpclassify_test_data): New variable.
25732 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
25733 (ilogb_test_data): New variable.
25734 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
25735
25736 * math/libm-test.inc (scalbln_test): Correct function name in END
25737 call.
25738
25739 * math/libm-test.inc (struct test_f_f1_data): Add comment.
25740 (RUN_TEST_LOOP_fI_f1): New macro.
25741 (frexp_test_data): New variable.
25742 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
25743
25744 * math/libm-test.inc (struct test_fF_f1_data): New type.
25745 (RUN_TEST_LOOP_fF_f1): New macro.
25746 (modf_test_data): New variable.
25747 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
25748
25749 * math/libm-test.inc (struct test_f_f1_data): New type.
25750 (RUN_TEST_LOOP_f_f1): New macro.
25751 (gamma_test_data): New variable.
25752 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25753 (lgamma_test_data): New variable.
25754 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25755
257562013-05-13 Carlos O'Donell <carlos@redhat.com>
25757
25758 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
25759 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
25760 (main): Comment "tls" pseudo-hwcap.
25761
257622013-05-13 Joseph Myers <joseph@codesourcery.com>
25763
25764 * math/libm-test.inc (struct test_fl_f_data): New type.
25765 (RUN_TEST_LOOP_fl_f): New variable.
25766 (scalbln_test_data): New variable.
25767 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
25768
25769 * math/libm-test.inc (struct test_fi_f_data): New type.
25770 (RUN_TEST_LOOP_fi_f): New macro.
25771 (ldexp_test_data): New variable.
25772 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
25773 (scalbn_test_data): New variable.
25774 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
25775
25776 * math/libm-test.inc (struct test_c_f_data): New type.
25777 (RUN_TEST_LOOP_c_f): New macro.
25778 (cabs_test_data): New variable.
25779 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
25780 (carg_test_data): New variable.
25781 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
25782 (cimag_test_data): New variable.
25783 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
25784 (creal_test_data): New variable.
25785 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
25786
25787 * math/libm-test.inc (struct test_if_f_data): New type.
25788 (RUN_TEST_LOOP_if_f): New macro.
25789 (jn_test_data): New variable.
25790 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
25791 (yn_test_data): New variable.
25792 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
25793
25794 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
25795
257962013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25797
25798 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
25799 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
25800
258012013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25802
25803 * benchtests/Makefile (CPPFLAGS-nonlib): Add
25804 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
25805 (bench-deps): Add bench-timing.h.
25806 * benchtests-bench-skeleton.c: Include bench-timing.h.
25807 (main): Use TIMING_* macros instead of clock_gettime.
25808 * benchtests/bench-timing.h: New file.
25809
25810 [BZ #14582]
25811 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
25812 Renamed from _LIB_VERSION.
25813 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
25814
258152013-05-12 Joseph Myers <joseph@codesourcery.com>
25816
25817 * math/libm-test.inc (struct test_fff_f_data): New type.
25818 (RUN_TEST_LOOP_fff_f): New macro.
25819 (fma_test_data): New variable.
25820 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
25821 (fma_towardzero_test_data): New variable.
25822 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
25823 (fma_downward_test_data): New variable.
25824 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
25825 (fma_upward_test_data): New variable.
25826 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
25827
25828 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
25829 (struct test_c_c_data): New type.
25830 (RUN_TEST_LOOP_c_c): New macro.
25831 (cacos_test_data): New variable.
25832 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
25833 (cacosh_test_data): New variable.
25834 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
25835 (casin_test_data): New variable.
25836 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
25837 (casinh_test_data): New variable.
25838 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
25839 (catan_test_data): New variable.
25840 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
25841 (catanh_test_data): New variable.
25842 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
25843 (ccos_test_data): New variable.
25844 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
25845 (ccosh_test_data): New variable.
25846 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
25847 (cexp_test_data): New variable.
25848 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
25849 (clog_test_data): New variable.
25850 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
25851 (clog10_test_data): New variable.
25852 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
25853 (conj_test_data): New variable.
25854 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
25855 (cproj_test_data): New variable.
25856 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
25857 (csin_test_data): New variable.
25858 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
25859 (csinh_test_data): New variable.
25860 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
25861 (csqrt_test_data): New variable.
25862 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
25863 (ctan_test_data): New variable.
25864 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
25865 (ctan_tonearest_test_data): New variable.
25866 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25867 (ctan_towardzero_test_data): New variable.
25868 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25869 (ctan_downward_test_data): New variable.
25870 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25871 (ctan_upward_test_data): New variable.
25872 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25873 (ctanh_test_data): New variable.
25874 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
25875 (ctanh_tonearest_test_data): New variable.
25876 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25877 (ctanh_towardzero_test_data): New variable.
25878 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25879 (ctanh_downward_test_data): New variable.
25880 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25881 (ctanh_upward_test_data): New variable.
25882 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25883 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
25884 of BUILD_COMPLEX.
25885
25886 * math/libm-test.inc (struct test_ff_f_data): New type.
25887 (struct test_ff_f_data_nexttoward): Likewise.
25888 (RUN_TEST_LOOP_2_f): New macro.
25889 (RUN_TEST_LOOP_ff_f): Likewise.
25890 (atan2_test_data): New variable.
25891 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
25892 (copysign_test_data): New variable.
25893 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
25894 (fdim_test_data): New variable.
25895 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
25896 (fmax_test_data): New variable.
25897 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
25898 (fmin_test_data): New variable.
25899 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
25900 (fmod_test_data): New variable.
25901 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
25902 (hypot_test_data): New variable.
25903 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
25904 (nextafter_test_data): New variable.
25905 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
25906 (nexttoward_test_data): New variable.
25907 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
25908 (pow_test_data): New variable.
25909 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
25910 (pow_tonearest_test_data): New variable.
25911 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
25912 (pow_towardzero_test_data): New variable.
25913 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
25914 (pow_downward_test_data): New variable.
25915 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
25916 (pow_upward_test_data): New variable.
25917 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
25918 (remainder_test_data): New variable.
25919 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
25920 (scalb_test_data): New variable.
25921 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
25922 * sysdeps/i386/fpu/libm-test-ulps: Update.
25923
259242013-05-11 Joseph Myers <joseph@codesourcery.com>
25925
25926 * math/libm-test.inc (fma_test): Use max_value instead of local
25927 variable fltmax.
25928 (nextafter_test): Likewise.
25929
25930 * math/libm-test.inc (acos_towardzero_test_data): New variable.
25931 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25932 (acos_downward_test_data): New variable.
25933 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25934 (acos_upward_test_data): New variable.
25935 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25936 (acosh_test_data): New variable.
25937 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
25938 (asin_test_data): New variable.
25939 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
25940 (asin_tonearest_test_data): New variable.
25941 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25942 (asin_towardzero_test_data): New variable.
25943 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25944 (asin_downward_test_data): New variable.
25945 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25946 (asin_upward_test_data): New variable.
25947 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25948 (asinh_test_data): New variable.
25949 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
25950 (atan_test_data): New variable.
25951 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
25952 (atanh_test_data): New variable.
25953 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
25954 (cbrt_test_data): New variable.
25955 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
25956 (ceil_test_data): New variable.
25957 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
25958 (cos_test_data): New variable.
25959 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
25960 (cos_tonearest_test_data): New variable.
25961 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25962 (cos_towardzero_test_data): New variable.
25963 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25964 (cos_downward_test_data): New variable.
25965 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25966 (cos_upward_test_data): New variable.
25967 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25968 (cosh_test_data): New variable.
25969 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
25970 (cosh_tonearest_test_data): New variable.
25971 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25972 (cosh_towardzero_test_data): New variable.
25973 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25974 (cosh_downward_test_data): New variable.
25975 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25976 (cosh_upward_test_data): New variable.
25977 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25978 (erf_test_data): New variable.
25979 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
25980 (erfc_test_data): New variable.
25981 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
25982 (exp_test_data): New variable.
25983 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
25984 (exp_tonearest_test_data): New variable.
25985 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25986 (exp_towardzero_test_data): New variable.
25987 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25988 (exp_downward_test_data): New variable.
25989 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25990 (exp_upward_test_data): New variable.
25991 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25992 (exp10_test_data): New variable.
25993 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
25994 (exp2_test_data): New variable.
25995 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
25996 (expm1_test_data): New variable.
25997 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
25998 (fabs_test_data): New variable.
25999 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
26000 (floor_test_data): New variable.
26001 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
26002 (j0_test_data): New variable.
26003 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
26004 (j1_test_data): New variable.
26005 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
26006 (log_test_data): New variable.
26007 (log_test): Run tests with RUN_TEST_LOOP_f_f.
26008 (log10_test_data): New variable.
26009 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
26010 (log1p_test_data): New variable.
26011 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
26012 (log2_test_data): New variable.
26013 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
26014 (logb_test_data): New variable.
26015 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
26016 (logb_downward_test_data): New variable.
26017 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26018 (nearbyint_test_data): New variable.
26019 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
26020 (rint_test_data): New variable.
26021 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
26022 (rint_tonearest_test_data): New variable.
26023 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26024 (rint_towardzero_test_data): New variable.
26025 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26026 (rint_downward_test_data): New variable.
26027 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26028 (rint_upward_test_data): New variable.
26029 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26030 (round_test_data): New variable.
26031 (round_test): Run tests with RUN_TEST_LOOP_f_f.
26032 (sin_test_data): New variable.
26033 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
26034 (sin_tonearest_test_data): New variable.
26035 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26036 (sin_towardzero_test_data): New variable.
26037 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26038 (sin_downward_test_data): New variable.
26039 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26040 (sin_upward_test_data): New variable.
26041 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26042 (sinh_test_data): New variable.
26043 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
26044 (sinh_tonearest_test_data): New variable.
26045 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26046 (sinh_towardzero_test_data): New variable.
26047 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26048 (sinh_downward_test_data): New variable.
26049 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26050 (sinh_upward_test_data): New variable.
26051 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26052 (sqrt_test_data): New variable.
26053 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
26054 (tan_test_data): New variable.
26055 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
26056 (tan_tonearest_test_data): New variable.
26057 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26058 (tan_towardzero_test_data): New variable.
26059 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26060 (tan_downward_test_data): New variable.
26061 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26062 (tan_upward_test_data): New variable.
26063 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26064 (tanh_test_data): New variable.
26065 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
26066 (tgamma_test_data): New variable.
26067 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
26068 (trunc_test_data): New variable.
26069 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
26070 (y0_test_data): New variable.
26071 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
26072 (y1_test_data): New variable.
26073 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
26074 (significand_test_data): New variable.
26075 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
26076
260772013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
26078
26079 [BZ #12387]
26080 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
26081
260822013-05-10 Pino Toscano <toscano.pino@tiscali.it>
26083
26084 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
26085
260862013-05-10 Andreas Jaeger <aj@suse.de>
26087
26088 [BZ #15448]
26089 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
26090 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
26091
260922013-05-10 Joseph Myers <joseph@codesourcery.com>
26093
26094 * math/gen-libm-test.pl (adjust_arg): New function.
26095 (special_functions): Handle generating output in both functions
26096 and arrays.
26097 (parse_args): Likewise.
26098 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
26099 $in_func argument to parse_args.
26100 * math/libm-test.inc (struct test_f_f_data): New type.
26101 (IF_ROUND_INIT_): New macro.
26102 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
26103 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26104 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26105 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26106 (ROUND_RESTORE_): Likewise.
26107 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
26108 (ROUND_RESTORE_FE_TONEAREST): Likewise.
26109 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
26110 (ROUND_RESTORE_FE_UPWARD): Likewise.
26111 (RUN_TEST_LOOP_f_f): New macro.
26112 (acos_test_data): New variable.
26113 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
26114 (acos_tonearest_test_data): New variable.
26115 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26116
261172013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26118
26119 * benchtests/bench-skeleton.c (startup): Fix coding style.
26120
261212013-05-10 Joseph Myers <joseph@codesourcery.com>
26122
26123 [BZ #6809]
26124 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
26125 negative infinity argument.
26126 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
26127 negative infinity argument.
26128 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
26129 negative infinity argument.
26130 * math/libm-test.inc (tgamma_test): Expect errno to be set for
26131 domain errors.
26132
261332013-05-10 Florian Weimer <fweimer@redhat.com>
26134
26135 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
26136 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
26137 * iconv/iconv_prog.c (main): Likewise.
26138 * locale/programs/charmap-dir.c (charmap_readdir)
26139 (fopen_uncompressed): Likewise.
26140 * locale/programs/locfile.c (siblings_uncached)
26141 (write_locale_data): Use lstat64 instead of lstat.
26142 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
26143 stat.
26144
261452013-05-10 Andreas Jaeger <aj@suse.de>
26146
26147 [BZ #15395]
26148 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
26149 localization.
26150 Include <locale.h>.
26151
261522013-05-09 Carlos O'Donell <carlos@redhat.com>
26153
26154 * elf/dl-close.c (_dl_close_worker): Add comments.
26155
261562013-05-09 Joseph Myers <joseph@codesourcery.com>
26157
26158 [BZ #15359]
26159 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
26160 high part of pi/2.
26161 (__ieee754_rem_pio2l): Update comments.
26162
26163 [BZ #15429]
26164 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
26165 high part of pi/2.
26166 (__ieee754_rem_pio2l): Update comments.
26167
26168 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
26169 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
26170
26171 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
26172 M_PI_4l.
26173
26174 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
26175 (M_PI_34_LOG10El): Likewise.
26176 (M_PI2_LOG10El): Likewise.
26177 (M_PI4_LOG10El): Likewise.
26178 (M_PI_LOG10El): Likewise.
26179
261802013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26181
26182 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26183
261842013-05-08 Joseph Myers <joseph@codesourcery.com>
26185
26186 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
26187 (MINUS_ZERO_INIT): Likewise.
26188 (PLUS_INFTY_INIT): Likewise.
26189 (MINUS_INFTY_INIT): Likewise.
26190 (QNAN_VALUE_INIT): Likewise.
26191 (MAX_VALUE_INIT): Likewise.
26192 (MIN_VALUE_INIT): Likewise.
26193 (MIN_SUBNORM_VALUE_INIT): Likewise.
26194 (plus_zero): Initialize with PLUS_ZERO_INIT.
26195 (minus_zero): Initialize with MINUS_ZERO_INIT.
26196 (plus_infty): Initialize with PLUS_INFTY_INIT.
26197 (minus_infty): Initialize with MINUS_INFTY_INIT.
26198 (qnan_value): Initialize with QNAN_VALUE_INIT.
26199 (max_value): Initialize with MAX_VALUE_INIT.
26200 (min_value): Initialize with MIN_VALUE_INIT.
26201 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
26202
26203 * math/libm-test.inc (RUN_TEST_if_f): New macro.
26204 (jn_test): Use TEST_if_f instead of TEST_ff_f.
26205 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
26206 (yn_test): Use TEST_if_f instead of TEST_ff_f.
26207
26208 * math/libm-test.inc (RUN_TEST_f_f): New macro.
26209 (RUN_TEST_2_f): Likewise.
26210 (RUN_TEST_ff_f): Likewise.
26211 (RUN_TEST_fi_f): Likewise.
26212 (RUN_TEST_fl_f): Likewise.
26213 (RUN_TEST_fff_f): Likewise.
26214 (RUN_TEST_c_f): Likewise.
26215 (RUN_TEST_f_f1): Likewise.
26216 (RUN_TEST_fF_f1): Likewise.
26217 (RUN_TEST_fI_f1): Likewise.
26218 (RUN_TEST_ffI_f1): Likewise.
26219 (RUN_TEST_c_c): Likewise.
26220 (RUN_TEST_cc_c): Likewise.
26221 (RUN_TEST_f_i): Likewise.
26222 (RUN_TEST_f_i_tg): Likewise.
26223 (RUN_TEST_ff_i_tg): Likewise.
26224 (RUN_TEST_f_b): Likewise.
26225 (RUN_TEST_f_b_tg): Likewise.
26226 (RUN_TEST_f_l): Likewise.
26227 (RUN_TEST_f_L): Likewise.
26228 (RUN_TEST_sincos): Likewise.
26229 * math/gen-libm-test.pl (new_test): Take new argument to indicate
26230 whether to show exceptions. Do not include ");\n" in return
26231 value.
26232 (special_functions): Output call to RUN_TEST_sincos instead of
26233 check_float calls. Update calls to new_test.
26234 (parse_args): Output call to single RUN_TEST_* macro instead of
26235 check_* calls and other assignments. Update calls to new_test.
26236
26237 [BZ #2546]
26238 [BZ #2560]
26239 [BZ #5159]
26240 [BZ #15426]
26241 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
26242 input to result for tgamma overflow.
26243 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
26244 (gamma_coeff): New variable.
26245 (NCOEFF): New macro.
26246 (gamma_positive): New function.
26247 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
26248 underflow here. Use gamma_positive instead of exp (lgamma) for
26249 other arguments.
26250 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
26251 (gamma_coeff): New variable.
26252 (NCOEFF): New macro.
26253 (gammaf_positive): New function.
26254 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
26255 underflow here. Use gamma_positive instead of exp (lgamma) for
26256 other arguments.
26257 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
26258 (gamma_coeff): New variable.
26259 (NCOEFF): New macro.
26260 (gammal_positive): New function.
26261 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
26262 underflow here. Use gamma_positive instead of exp (lgamma) for
26263 other arguments.
26264 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
26265 (gamma_coeff): New variable.
26266 (NCOEFF): New macro.
26267 (gammal_positive): New function.
26268 (__ieee754_gammal_r): Handle positive infinity, overflow and
26269 underflow here. Handle NaN the same as positive infinity. Remove
26270 check x < 0xffffffff for negative integers. Use gamma_positive
26271 instead of exp (lgamma) for other arguments.
26272 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
26273 (gamma_coeff): New variable.
26274 (NCOEFF): New macro.
26275 (gammal_positive): New function.
26276 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
26277 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
26278 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
26279 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
26280 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
26281 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
26282 * sysdeps/generic/math_private.h (__gamma_productf): New
26283 prototype.
26284 (__gamma_product): Likewise.
26285 (__gamma_productl): Likewise.
26286 * math/Makefile (libm-calls): Add gamma_product.
26287 * math/libm-test.inc (tgamma_test): Add more tests.
26288 * sysdeps/i386/fpu/libm-test-ulps: Update.
26289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26290
262912013-05-08 Ondřej Bílka <neleai@seznam.cz>
26292
26293 * benchtests/bench-skeleton.c (main): Preheat CPU.
26294
262952013-05-07 Aurelien Jarno <aurelien@aurel32.net>
26296
26297 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
26298
262992013-05-07 Roland McGrath <roland@hack.frob.com>
26300
26301 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
26302 and _dl_skip_args_internal.
26303
263042013-05-07 Carlos O'Donell <carlos@redhat.com>
26305
26306 * manual/message.texi (Message Translation): Talk about users.
26307 Message to key mapping impacts design.
26308
263092013-05-06 Roland McGrath <roland@hack.frob.com>
26310
26311 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
26312
26313 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
26314
26315 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
26316 * sysdeps/wordsize-64/glob64.c: ... here.
26317
26318 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
26319 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
26320 New macros.
26321
26322 * debug/getlogin_r_chk.c: Moved to ...
26323 * login/getlogin_r_chk.c: ... here.
26324 * debug/Makefile (routines): Move getlogin_r_chk to ...
26325 * login/Makefile (routines): ... here.
26326 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
26327 * login/Versions (libc: GLIBC_2.4): ... here.
26328
26329 * io/poll.c (__poll): Renamed from poll.
26330 Add libc_hidden_def.
26331 (poll): Define as weak alias.
26332
26333 * debug/ptsname_r_chk.c: Moved to ...
26334 * login/ptsname_r_chk.c: ... here.
26335 * debug/Makefile (routines): Move ptsname_r_chk to ...
26336 * login/Makefile (routines): ... here.
26337 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
26338 * login/Versions (libc: GLIBC_2.4): ... here.
26339
26340 * posix/getlogin.c: Moved to ...
26341 * login/getlogin.c: ... here.
26342 * posix/getlogin_r.c: Moved to ...
26343 * login/getlogin_r.c: ... here.
26344 * posix/getlogin_r.c: Moved to ...
26345 * login/getlogin_r.c: ... here.
26346 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
26347 * login/Makefile (routines): ... here.
26348 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
26349 * login/Versions (libc: GLIBC_2.0): ... here.
26350
26351 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
26352 (setrlimit): Define as weak alias.
26353
26354 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
26355 Call __ names for open, ftruncate, and close.
26356 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
26357 (truncate): Define as weak alias.
26358
263592013-05-06 Joseph Myers <joseph@codesourcery.com>
26360
26361 * math/gen-libm-test.pl (parse_args): Initialize x before each
26362 test of frexp, modf and remquo.
26363
26364 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
26365 test signgam value.
26366
263672013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26368
26369 [BZ #15418]
26370 [BZ #15419]
26371 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
26372 internal tests.
26373 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26374
263752013-05-06 Roland McGrath <roland@hack.frob.com>
26376
26377 * elf/dl-writev.h: New file.
26378 * elf/dl-misc.c: Include it.
26379 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
26380 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
26381
263822013-05-04 Joseph Myers <joseph@codesourcery.com>
26383
26384 * math/libm-test.inc (noXFails): Remove variable.
26385 (noXPasses): Likewise.
26386 (BUILD_COMPLEX_INT): Remove macro.
26387 (print_screen): Remove xfail argument.
26388 (print_screen_max_error): Likewise.
26389 (update_stats): Likewise.
26390 (print_max_error): Likewise. Update calls to other affected
26391 functions.
26392 (print_complex_max_error): Likewise.
26393 (test_single_exception): Update calls to print_screen.
26394 (test_single_errno): Likewise.
26395 (check_float_internal): Remove xfail argument. Update calls to
26396 other affected functions.
26397 (check_float): Likewise.
26398 (check_complex): Likewise.
26399 (check_int): Likewise.
26400 (check_long): Likewise.
26401 (check_bool): Likewise.
26402 (check_longlong): Likewise.
26403 (main): Don't print noXFails and noXPasses.
26404 * math/gen-libm-test.pl (top level): Don't mention expected
26405 failure handling in comment.
26406 (new_test): Don't handle expected failures.
26407 (parse_args): Don't mention expected failure handling in comment.
26408 (generate_testfile): Don't handle expected failures.
26409 (parse_ulps): Likewise.
26410 (print_ulps_file): Likewise.
26411 (get_failure): Remove function.
26412 (output_test): Don't handle expected failures.
26413 * make/README.libm-test: Don't mention expected failure handling.
26414
26415 * math/libm-test.inc (plus_zero): Make const. Add initializer.
26416 (minus_zero): Likewise.
26417 (plus_infty): Likewise.
26418 (minus_infty): Likewise.
26419 (qnan_value): Likewise.
26420 (max_value): Likewise.
26421 (min_value): Likewise.
26422 (min_subnorm_value): Likewise.
26423 (initialize): Do not initialize those variables dynamically.
26424
264252013-05-03 Roland McGrath <roland@hack.frob.com>
26426
26427 * io/open.c (__open_2): Moved to ...
26428 * io/open_2.c: ... this new file.
26429 * io/open64.c (__open64_2): Moved to ...
26430 * io/open64_2.c: ... this new file.
26431 * io/openat.c (__openat_2): Moved to ...
26432 * io/openat_2.c: ... this new file.
26433 * io/openat64.c (__openat64_2): Moved to ...
26434 * io/openat64_2.c: ... this new file.
26435 * io/Makefile (routines): Add them.
26436 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
26437 * sysdeps/unix/sysv/linux/open_2.c: File removed.
26438 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
26439 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
26440 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
26441 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
26442 (__openat64): Add hidden_ver.
26443 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
26444 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
26445
26446 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
26447 Separately conditionalize setting of GLRO(dl_sysinfo) so
26448 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
26449 as well, but the actual setting is only under [NEED_DL_SYSINFO].
26450
264512013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26452
26453 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
26454 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
26455 definition.
26456 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
26457 * sysdeps/unix/sysv/linux/powerpc/init-first.c
26458 (_libc_vdso_platform_setup): Add __vdso_time initialization.
26459 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
26460 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
26461
264622013-05-03 Joseph Myers <joseph@codesourcery.com>
26463
26464 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
26465 test signgam value.
26466
26467 * math/libm-test.inc (hypot_test): Do not use
26468 IGNORE_ZERO_INF_SIGN.
26469
264702013-05-03 Andreas Jaeger <aj@suse.de>
26471
26472 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
26473 Linux 3.9.
26474 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
26475 (PF_MAX): Adjust for VSOCK change.
26476
264772013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26478
26479 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26480
264812013-05-02 Carlos O'Donell <carlos@redhat.com>
26482
26483 [BZ #15264]
26484 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
26485 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
26486 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
26487
264882013-05-02 David S. Miller <davem@davemloft.net>
26489
26490 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26491
264922013-05-01 Ondřej Bílka <neleai@seznam.cz>
26493
26494 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
26495
264962013-05-01 Roland McGrath <roland@hack.frob.com>
26497
26498 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
26499
265002013-05-01 Richard Smith <richard@metafoo.co.uk>
26501
26502 [BZ #14952]
26503 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
26504 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26505 Use __attribute__ ((__gnu_inline__)).
26506 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26507 Don't use __attribute__ ((__gnu_inline__)).
26508
265092013-05-01 Joseph Myers <joseph@codesourcery.com>
26510
26511 [BZ #15423]
26512 * math/s_catan.c (__catan): Handle small real or imaginary part of
26513 input specially to avoid spurious underflow.
26514 * math/s_catanf.c (__catanf): Likewise.
26515 * math/s_catanh.c (__catanh): Likewise.
26516 * math/s_catanhf.c (__catanhf): Likewise.
26517 * math/s_catanhl.c (__catanhl): Likewise.
26518 * math/s_catanl.c (__catanl): Likewise.
26519 * math/libm-test.inc (catan_test): Add more tests.
26520 (catanh_test): Likewise.
26521 * sysdeps/i386/fpu/libm-test-ulps: Update.
26522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26523
265242013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26525
26526 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26527
265282013-04-30 Joseph Myers <joseph@codesourcery.com>
26529
26530 [BZ #15416]
26531 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
26532 accurately for denominator in atan2.
26533 * math/s_catanf.c (__catanf): Likewise.
26534 * math/s_catanh.c (__catanh): Likewise.
26535 * math/s_catanhf.c (__catanhf): Likewise.
26536 * math/s_catanhl.c (__catanhl): Likewise.
26537 * math/s_catanl.c (__catanl): Likewise.
26538 * math/libm-test.inc (catan_test): Add more tests.
26539 (catanh_test): Likewise.
26540 * sysdeps/i386/fpu/libm-test-ulps: Update.
26541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26542
265432013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26544
26545 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
26546
26547 * benchtests/Makefile (bench): Remove slow benchmarks.
26548 * benchtests/atan-inputs: Add slow benchmark inputs.
26549 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
26550 (BENCH_FUNC): Accept variant offset.
26551 (VARIANT): Define.
26552 * benchtests/bench-skeleton.c (main): Run benchmark for each
26553 variant.
26554 * benchtests/cos-inputs: Add slow benchmark inputs.
26555 * benchtests/exp-inputs: Likewise.
26556 * benchtests/pow-inputs: Likewise.
26557 * benchtests/sin-inputs: Likewise.
26558 * benchtests/slowatan-inputs: Remove.
26559 * benchtests/slowatan.c: Remove.
26560 * benchtests/slowcos-inputs: Remove.
26561 * benchtests/slowcos.c: Remove.
26562 * benchtests/slowexp-inputs: Remove.
26563 * benchtests/slowexp.c: Remove.
26564 * benchtests/slowpow-inputs: Remove.
26565 * benchtests/slowpow.c: Remove.
26566 * benchtests/slowsin-inputs: Remove.
26567 * benchtests/slowsin.c: Remove.
26568 * benchtests/slowtan-inputs: Remove.
26569 * benchtests/slowtan.c: Remove.
26570 * benchtests/tan-inputs: Add slow benchmark inputs.
26571 * scripts/bench.pl: Parse comments and directives.
26572
26573 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
26574 in CPPFLAGS.
26575 ($(objpfx)bench-%.c): Remove *-ITER.
26576 * benchtests/bench-modf.c: Remove definition of ITER.
26577 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
26578 (main): Loop for DURATION seconds instead of fixed number of
26579 iterations.
26580 * scripts/bench.pl: Don't expect iterations in parameters.
26581
265822013-04-29 Roland McGrath <roland@hack.frob.com>
26583
26584 * io/fchdir.c (__fchdir): Renamed from fchdir.
26585 (fchdir): Define as weak alias.
26586
265872013-04-29 Joseph Myers <joseph@codesourcery.com>
26588
26589 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
26590 (ERRNO_EDOM): Likewise.
26591 (ERRNO_ERANGE): Likewise.
26592 (noErrnoTests): New variable.
26593 (init_max_error): Set errno to 0.
26594 (test_single_errno): New function.
26595 (test_errno): Likewise.
26596 (check_float_internal): Call test_errno. Set errno to 0.
26597 (check_complex): Refer to errno tests in comment.
26598 (check_int): Call test_errno. Set errno to 0.
26599 (check_long): Likewise.
26600 (check_bool): Likewise.
26601 (check_longlong): Likewise.
26602 (cos_test): Use ERRNO_* flags for errno tests instead of
26603 check_int.
26604 (expm1_test): Likewise.
26605 (fmod_test): Likewise.
26606 (ilogb_test): Likewise.
26607 (lgamma_test): Likewise.
26608 (pow_test): Likewise.
26609 (remainder_test): Likewise.
26610 (sin_test): Likewise.
26611 (tan_test): Likewise.
26612 (yn_test): Likewise.
26613 (initialize): Set errno to 0.
26614 (main): Print number of errno tests.
26615 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
26616
266172013-04-29 Andreas Jaeger <aj@suse.de>
26618
26619 [BZ #15084]
26620 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
26621 and RES_USEVC.
26622
26623 [BZ #15085]
26624 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
26625 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
26626 unimplemented.
26627
26628 [BZ #15380]
26629 * stdlib/random.c (__initstate): Return NULL if
26630 __initstate fails.
26631
26632 [BZ #15086]
26633 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
26634 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
26635 RES_SNGLKUPREOP.
26636
266372013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26638
26639 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26640
266412013-04-29 Joseph Myers <joseph@codesourcery.com>
26642
26643 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
26644 of individual tests.
26645 (casin_test): Likewise.
26646 (casinh_test): Likewise.
26647
266482013-04-27 Joseph Myers <joseph@codesourcery.com>
26649
26650 [BZ #15409]
26651 * math/s_catan.c (__catan): Handle arguments with large real or
26652 imaginary part separately without squaring.
26653 * math/s_catanf.c (__catanf): Likewise.
26654 * math/s_catanh.c (__catanh): Likewise.
26655 * math/s_catanhf.c (__catanhf): Likewise.
26656 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26657 and redefine.
26658 (__catanhl): Handle arguments with large real or imaginary part
26659 separately without squaring.
26660 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26661 and redefine.
26662 (__catanl): Handle arguments with large real or imaginary part
26663 separately without squaring.
26664 * math/libm-test.inc (catan_test): Add more tests.
26665 (catanh_test): Likewise.
26666 * sysdeps/i386/fpu/libm-test-ulps: Update.
26667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26668
266692013-04-27 Andreas Jaeger <aj@suse.de>
26670
26671 [BZ #15007]
26672 * stdlib/stdlib.h: Update guards for qecvt.
26673 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
26674 <stdlib.h>.
26675
266762013-04-27 Allan McRae <allan@archlinux.org>
26677
26678 * sysdeps/i386/fpu/libm-test-ulps: Update.
26679
266802013-04-26 Joseph Myers <joseph@codesourcery.com>
26681
26682 [BZ #15406]
26683 * math/s_catan.c: Include <float.h>.
26684 (__catan): Ensure underflow exception occurs for underflowed
26685 result.
26686 * math/s_catanf.c: Include <float.h>.
26687 (__catanf): Ensure underflow exception occurs for underflowed
26688 result.
26689 * math/s_catanh.c: Include <float.h>.
26690 (__catanh): Ensure underflow exception occurs for underflowed
26691 result.
26692 * math/s_catanhf.c: Include <float.h>.
26693 (__catanhf): Ensure underflow exception occurs for underflowed
26694 result.
26695 * math/s_catanhl.c: Include <float.h>.
26696 (__catanhl): Ensure underflow exception occurs for underflowed
26697 result.
26698 * math/s_catanl.c: Include <float.h>.
26699 (__catanl): Ensure underflow exception occurs for underflowed
26700 result.
26701 * math/libm-test.inc (catan_test): Add more tests.
26702 (catanh_test): Likewise.
26703
26704 [BZ #15405]
26705 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
26706 underflowed result.
26707 * math/s_ccoshf.c (__ccoshf): Likewise.
26708 * math/s_ccoshl.c (__ccoshl): Likewise.
26709 * math/s_csin.c (__csin): Likewise.
26710 * math/s_csinf.c (__csinf): Likewise.
26711 * math/s_csinh.c (__csinh): Likewise.
26712 * math/s_csinhf.c (__csinhf): Likewise.
26713 * math/s_csinhl.c (__csinhl): Likewise.
26714 * math/s_csinl.c (__csinl): Likewise.
26715 * math/libm-test.inc (ccos_test): Add more tests.
26716 (ccosh_test): Likewise.
26717 (csin_test): Likewise.
26718 (csinh_test): Likewise.
26719
267202013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26721
26722 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
26723 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
26724 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
26725 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
26726 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
26727 powerpc/power5+/fpu folders.
26728 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
26729
26730
267312013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
26732
26733 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26734
267352013-04-25 Joseph Myers <joseph@codesourcery.com>
26736
26737 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
26738 additions to variable.
26739 [$(config-machine) = x86_64] (modules-names): Likewise.
26740 ($(objpfx)tst-audit3): Remove dependency.
26741 ($(objpfx)tst-audit3.out): Likewise.
26742 ($(objpfx)tst-audit4): Likewise.
26743 ($(objpfx)tst-audit4.out): Likewise.
26744 ($(objpfx)tst-audit5): Likewise.
26745 ($(objpfx)tst-audit5.out): Likewise.
26746 ($(objpfx)tst-audit6): Likewise.
26747 ($(objpfx)tst-audit6.out): Likewise.
26748 ($(objpfx)tst-audit7): Likewise.
26749 ($(objpfx)tst-audit7.out): Likewise.
26750 (tst-audit3-ENV): Remove variable.
26751 (tst-audit4-ENV): Likewise.
26752 (tst-audit5-ENV): Likewise.
26753 (tst-audit6-ENV): Likewise.
26754 (tst-audit7-ENV): Likewise.
26755 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
26756 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
26757 addition to variable.
26758 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
26759 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
26760 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
26761 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
26762 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
26763 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
26764 tst-audit3, tst-audit4 and tst-audit5.
26765 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
26766 tst-audit6 and tst-audit7.
26767 [$(subdir) = elf] (modules-names): Add audit modules for those
26768 tests.
26769 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
26770 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
26771 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
26772 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
26773 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
26774 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
26775 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
26776 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
26777 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
26778 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
26779 [$(subdir) = elf] (tst-audit3-ENV): New variable.
26780 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
26781 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
26782 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
26783 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
26784 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
26785 Likewise.
26786 [$(subdir) = elf && $(config-cflags-avx) = yes]
26787 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
26788 [$(subdir) = elf && $(config-cflags-avx) = yes]
26789 (CFLAGS-tst-auditmod4a.c): Likewise.
26790 [$(subdir) = elf && $(config-cflags-avx) = yes]
26791 (CFLAGS-tst-auditmod4b.c): Likewise.
26792 [$(subdir) = elf && $(config-cflags-avx) = yes]
26793 (CFLAGS-tst-auditmod6b.c): Likewise.
26794 [$(subdir) = elf && $(config-cflags-avx) = yes]
26795 (CFLAGS-tst-auditmod6c.c): Likewise.
26796 [$(subdir) = elf && $(config-cflags-avx) = yes]
26797 (CFLAGS-tst-auditmod7b.c): Likewise.
26798 * elf/tst-audit3.c: Move to ...
26799 * sysdeps/x86_64/tst-audit3.c: ... here.
26800 * elf/tst-audit4.c: Move to ...
26801 * sysdeps/x86_64/tst-audit4.c: ... here.
26802 * elf/tst-audit5.c: Move to ...
26803 * sysdeps/x86_64/tst-audit5.c: ... here.
26804 * elf/tst-audit6.c: Move to ...
26805 * sysdeps/x86_64/tst-audit6.c: ... here.
26806 * elf/tst-audit7.c: Move to ...
26807 * sysdeps/x86_64/tst-audit7.c: ... here.
26808 * elf/tst-auditmod3a.c: Move to ...
26809 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
26810 * elf/tst-auditmod3b.c: Move to ...
26811 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
26812 * elf/tst-auditmod4a.c: Move to ...
26813 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
26814 * elf/tst-auditmod4b.c: Move to ...
26815 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
26816 * elf/tst-auditmod5a.c: Move to ...
26817 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
26818 * elf/tst-auditmod5b.c: Move to ...
26819 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
26820 * elf/tst-auditmod6a.c: Move to ...
26821 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
26822 * elf/tst-auditmod6b.c: Move to ...
26823 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
26824 * elf/tst-auditmod6c.c: Move to ...
26825 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
26826 * elf/tst-auditmod7a.c: Move to ...
26827 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
26828 * elf/tst-auditmod7b.c: Move to ...
26829 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
26830
268312013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
26832
26833 [BZ #15366]
26834 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
26835 define unconditionally.
26836 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
26837 define unconditionally.
26838 (INT8_C, INT16_C, etc.): Likewise.
26839
268402013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
26841
26842 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
26843 __ehdr_start with hidden visibility.
26844
26845 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
26846
268472013-04-24 Carlos O'Donell <carlos@redhat.com>
26848
26849 * math/libm-test.inc (cos_test): Use accurate hex constants.
26850 (sincost_test): Likewise.
26851
268522013-04-24 Joseph Myers <joseph@codesourcery.com>
26853
26854 * math/libm-test.inc (catan_test): Add more tests.
26855 (catanh_test): Likewise.
26856
26857 * math/s_catanf.c (__catanf): Use suffixed floating-point
26858 constants.
26859 * math/s_catanhf.c (__catanhf): Likewise.
26860 * math/s_catanhl.c (__catanhl): Likewise.
26861 * math/s_catanl.c (__catanl): Likewise.
26862
26863 [BZ #15394]
26864 * math/s_catan.c (__catan): Calculate imaginary part of result
26865 with log1p not log unless computing log of number close to 0.
26866 * math/s_catanf.c (__catanf): Likewise.
26867 * math/s_catanl.c (__catanl): Likewise.
26868 * math/s_catanh.c (__catanh): Calculate real part of result with
26869 log1p not log unless computing log of number close to 0.
26870 * math/s_catanhf.c (__catanhf): Likewise.
26871 * math/s_catanhl.c (__catanhl): Likewise.
26872 * math/libm-test.inc (catan_test): Add more tests.
26873 (catanh_test): Likewise.
26874 * sysdeps/i386/fpu/libm-test-ulps: Update.
26875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26876
268772013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26878
26879 * benchtests/Makefile: Mention files in which fast and slow
26880 paths of math functions are implemented.
26881
268822013-04-23 Roland McGrath <roland@hack.frob.com>
26883
26884 * sysdeps/posix/timespec_get.c: New file.
26885
268862013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26887
26888 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
26889 POWER.
26890 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
26891 for POWER.
26892 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
26893 powerpc/power5/fpu folders.
26894 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
26895 * benchtests/Makefile: Add modf testcase.
26896 * benchtests/bench-modf.c: New file: Benchmark test for mo
26897
268982013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
26899
26900 [BZ #14888]
26901 * time/Makefile (tests): Add tst-strptime-whitespace.
26902 * time/strptime_l.c (get_number): Use ISSPACE.
26903 (__strptime_internal): Likewise.
26904 * time/tst-strptime-whitespace.c: New test case.
26905
269062013-04-23 Andreas Schwab <schwab@linux-m68k.org>
26907
26908 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
26909 member.
26910 (_nss_files_init): Set it here.
26911
269122013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
26913
26914 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
26915 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
26916 unsigned.
26917
269182013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
26919
26920 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
26921
269222013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26923
26924 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
26925 size just once.
26926
269272013-04-21 David S. Miller <davem@davemloft.net>
26928
26929 * po/ru.po: Update Russion translation from translation project.
26930
269312013-04-17 Adam Conrad <adconrad@0c3.net>
26932
26933 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
26934 and setfsgid.
26935
269362013-04-17 Carlos O'Donell <carlos@redhat.com>
26937
26938 * configure.in: Remove i386 configure warning. Remove i386 case.
26939 * configure: Regenerate.
26940 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
26941 Add example to error message.
26942 * sysdeps/i386/configure: Regenerate.
26943
269442013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26945
26946 * benchtests/Makefile (bench): Add cos, tan, slowcos and
26947 slowtan.
26948 * benchtests/cos-inputs: New file.
26949 * benchtests/slowcos-inputs: New file.
26950 * benchtests/slowcos.c: New file.
26951 * benchtests/slowtan-inputs: New file.
26952 * benchtests/slowtan.c: New file.
26953 * benchtests/tan-inputs: New file.
26954
269552013-04-16 Roland McGrath <roland@hack.frob.com>
26956
26957 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
26958 considered kosher.
26959
269602013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26961
26962 * benchtests/Makefile: Include cppflags-iterator.mk to add
26963 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
26964
26965 * Makefile.in (bench-clean): New target.
26966 * benchtests/Makefile (bench-clean): Likewise.
26967
269682013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
26969
26970 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
26971
269722013-04-15 Thomas Schwinge <thomas@codesourcery.com>
26973
26974 * stdio-common/tstdiomisc.c: Fix coding-style violation.
26975
269762013-04-15 Andreas Schwab <schwab@suse.de>
26977
26978 * nscd/grpcache.c (cache_addgr): Properly check for short write.
26979 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26980 * nscd/pwdcache.c (cache_addpw): Likewise.
26981 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
26982 more than recsize.
26983
269842013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26985
26986 * benchtests/Makefile (bench): Write all output to
26987 bench-out.tmp together.
26988
269892013-04-15 Andreas Schwab <schwab@suse.de>
26990
26991 * nscd/nscd.c (main): Don't fork again after closing files.
26992
269932013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26994
26995 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
26996
26997 * benchtests/Rules (bench-deps): Collect dependencies into a
26998 single variable. Add Makefile to dependencies.
26999 ($(objpfx)bench-%.c): Depend on bench-deps.
27000
270012013-04-12 Roland McGrath <roland@hack.frob.com>
27002 Xavier Roche <roche+kml2@exalead.com>
27003
27004 [BZ #15361]
27005 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
27006 just that it's a file descriptor.
27007 * manual/llio.texi (Synchronizing AIO Operations): Update description
27008 for EBADF error from aio_fsync.
27009
270102013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
27011
27012 * Rules (bench): Move target definition...
27013 * benchtests/Makefile: ... here.
27014
270152013-04-11 Carlos O'Donell <carlos@redhat.com>
27016
27017 * math/libm-test.inc (cos_test): Fix PI/2 test.
27018 (sincos_test): Likewise.
27019 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
27020 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
27021
270222013-04-11 Andreas Schwab <schwab@suse.de>
27023
27024 [BZ #13988]
27025 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
27026 accept exponent character only when digits were seen.
27027 * stdio-common/Makefile (tests): Add bug26.
27028 * stdio-common/bug26.c: New file.
27029
27030 [BZ #14293]
27031 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
27032 non-freeable.
27033
270342013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27035
27036 * Makeconfig (rtld-prefix): Define built linker prefix.
27037 * Rules (run-bench): Use it.
27038 * math/Makefile (run-regen-ulps): Likewise.
27039
27040 * Rules (bench): Remove eval.
27041
270422013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27043 Roland McGrath <roland@hack.frob.com>
27044 Ondrej Bilka <neleai@seznam.cz>
27045
27046 [BZ #15346]
27047 * time/getdate.c: Include ctype.h and alloca.h.
27048 (__getdate_r): Trim leading and trailing spaces of input.
27049 * time/tst-getdate.c (tests): Add tests with leading and
27050 trailing spaces.
27051
270522013-04-08 Roland McGrath <roland@hack.frob.com>
27053
27054 [BZ #14280]
27055 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
27056 when computing value.
27057
270582013-04-06 Carlos O'Donell <carlos@redhat.com>
27059
27060 * math/README.libm-test (How can I generate "libm-test-ulps"?):
27061 Use testrun.sh to run libm tests.
27062
27063 [BZ #15309]
27064 * elf/dl-open.c (dl_open_worker): memset all of seen array.
27065
270662013-04-06 Marko Myllynen <myllynen@redhat.com>
27067
27068 [BZ #15264]
27069 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
27070
270712013-04-06 Carlos O'Donell <carlos@redhat.com>
27072
27073 * Makefile.in (regen-ulps): New target.
27074 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
27075 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
27076 [ifneq (no,$(PERL)] (regen-ulps): New target.
27077 [ifeq (no,$(PERL)] (regen-ulps): New target.
27078 * math/libm-test.inc (ulps_file_name): Define.
27079 (output_dir): New variable.
27080 (options): Add "output-dir" option.
27081 (parse_opt): Handle 'o' case.
27082 (main): If output_dir is non-NULL use it as a prefix
27083 otherwise use "".
27084 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
27085
270862013-04-06 Carlos O'Donell <carlos@redhat.com>
27087
27088 [BZ #10060, #10062]
27089 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
27090 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
27091 fail configure if __sync_val_compare_and_swap is not inlined.
27092 * sysdeps/i386/configure: Regenerate.
27093 * configure.in: Build for i686 when configured for i386.
27094 * configure: Regenerate.
27095 * README: Remove i386 reference.
27096
270972013-04-06 Carlos O'Donell <carlos@redhat.com>
27098
27099 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
27100 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27101
271022013-04-05 Thomas Schwinge <thomas@codesourcery.com>
27103
27104 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
27105 (lmsnanval): New variables.
27106 (F): Add conversion tests.
27107 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
27108 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
27109
27110 * stdio-common/tstdiomisc.c (F): Properly collect individual
27111 tests' results.
27112
27113 [BZ #14686, #15336]
27114 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
27115 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
27116 Instead, use input NaN values or generate a qNaN by arithmetic
27117 operation. Also fix bugs to comply with the standard.
27118 * math/libm-test.inc (remainder_test): Add more tests.
27119
27120 [BZ #15335, #15342]
27121 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
27122 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
27123 input NaN values or generate a qNaN by arithmetic operation.
27124
27125 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
27126 unreachable code.
27127
27128 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
27129 definitions.
27130
271312013-04-03 Joseph Myers <joseph@codesourcery.com>
27132
27133 [BZ #14478]
27134 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
27135 underflowed result.
27136 * math/s_cexpf.c (__cexpf): Likewise.
27137 * math/s_cexpl.c (__cexpl): Likewise.
27138 * math/libm-test.inc (cexp_test): Add more tests.
27139
271402013-04-03 Andreas Schwab <schwab@suse.de>
27141
27142 [BZ #15330]
27143 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
27144 order arrays from heap if bigger than alloca cutoff.
27145
271462013-04-03 Thomas Schwinge <thomas@codesourcery.com>
27147
27148 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
27149 (SNAN_TESTS_double): Refer to GCC PR56831.
27150 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
27151 GCC PR56828.
27152
271532013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27154
27155 * Rules (bench): Move bench.out after the run is complete.
27156
27157 * Rules (bench): Echo currently running benchmark.
27158
27159 * benchtests/Makefile (bench): Add atan and slowatan.
27160 * benchtests/atan-inputs: New file.
27161 * benchtests/slowatan-inputs: New file.
27162 * benchtests/slowatan.c: New file.
27163
27164 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
27165 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
27166 its value.
27167
27168 [BZ #15305]
27169 * sysdeps/unix/sysv/linux/kernel-features.h
27170 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
27171 __ASSUME_XFS_RESTRICTED_CHOWN.
27172 * sysdeps/unix/sysv/linux/pathconf.c
27173 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
27174 Save and restore errno.
27175
271762013-04-02 Joseph Myers <joseph@codesourcery.com>
27177
27178 [BZ #15327]
27179 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
27180 arguments using __kernel_casinh.
27181 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
27182 arguments using __kernel_casinhf.
27183 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
27184 arguments using __kernel_casinhl.
27185 * math/libm-test.inc (cacosh_test): Add more tests.
27186 * sysdeps/i386/fpu/libm-test-ulps: Update.
27187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27188
271892013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27190
27191 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
27192 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
27193
27194 * bench/Makefile (bench): Add sin and slowsin.
27195 * benchtests/sin-inputs: New file.
27196 * benchtests/slowsin-inputs: New file.
27197 * benchtests/slowsin.c: New file.
27198
27199 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
27200 (bench): Add slowexp and slowpow.
27201 (exp-ITER): Increase iterations.
27202 (pow-ITER): Likewise.
27203 * benchtests/exp-inputs: Change input.
27204 * benchtests/pow-inputs: Likewise.
27205 * benchtests/slowexp-inputs: New file.
27206 * benchtests/slowexp.c: New file.
27207 * benchtests/slowpow-inputs: New file.
27208 * benchtests/slowpow.c: New file.
27209
272102013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27211
27212 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
27213 instructions.
27214 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27215 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
27216 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27217 * benchtests/Makefile: Add rint benchtest.
27218 * benchtests/rint-inputs: Input for rint benchtest.
27219
272202013-04-02 Thomas Schwinge <thomas@codesourcery.com>
27221
27222 * Versions.def (libm): Add GLIBC_2.18.
27223 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
27224 hidden libm prototypes.
27225 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
27226 * math/Makefile (libm-calls): Add s_issignaling.
27227 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
27228 __issignalingf, __issignalingl. Adjust all libm.abilist files.
27229 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
27230 declaration.
27231 * math/math.h [__USE_GNU] (issignaling): New macro.
27232 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
27233 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
27234 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
27235 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
27236 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
27237 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
27238 * manual/arith.texi (issignaling): New section.
27239 * manual/libm-err-tab.pl (@all_functions): Update comment.
27240 * math/gen-libm-test.pl (parse_args): Apply special handling for
27241 issignaling.
27242 * math/libm-test.inc (print_float, issignaling_test): New
27243 functions.
27244 (check_float_internal): Add issignaling checks.
27245 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
27246 default definition.
27247 * sysdeps/powerpc/math-tests.h: New file.
27248 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
27249 tests.
27250 * math/test-snan.c (TEST_FUNC): Likewise.
27251
272522013-03-30 David S. Miller <davem@davemloft.net>
27253
27254 * po/de.po: Update from translation team.
27255
272562013-03-30 Joseph Myers <joseph@codesourcery.com>
27257
27258 [BZ #10357]
27259 * math/k_casinh.c (__kernel_casinh): Handle arguments with
27260 imaginary part less than 1.0 and real part less than 0.5
27261 specially.
27262 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27263 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27264 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
27265 (cacos_test): Add more tests.
27266 (casin_test): Likewise.
27267 (casinh_test): Likewise.
27268 * sysdeps/i386/fpu/libm-test-ulps: Update.
27269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27270
272712013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27272
27273 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
27274 ONE with its value.
27275
27276 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
27277 (__pow_mp): Replace ONE and MONE with their values.
27278 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27279 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
27280 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27281 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
27282 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27283 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27284
27285 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
27286
27287 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
27288 (__pow_mp): Replace ZERO and MZERO with their values.
27289 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27290 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27291 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27292 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27293 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27294 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
27295 (__sqr): Likewise.
27296
27297 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
27298
27299 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
27300
273012013-03-28 Roland McGrath <roland@hack.frob.com>
27302
27303 * include/stdlib.h [!SHARED] (__call_tls_dtors):
27304 Declare with __attribute__ ((weak)).
27305 * stdlib/exit.c (__libc_atexit) [!SHARED]:
27306 Call __call_tls_dtors only if it's not NULL.
27307
273082013-03-28 Roland McGrath <roland@hack.frob.com>
27309
27310 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
27311 didn't do it already, then set _dl_phdr and _dl_phnum based on the
27312 magic __ehdr_start linker symbol if it's defined.
27313 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
27314 them up here if it was already done.
27315
27316 * elf/dl-support.c (_dl_phdr): Make pointer to const.
27317 (_dl_aux_init): Use const in cast when setting it.
27318 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
27319 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
27320 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
27321
27322 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
27323 Declare them here.
27324 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
27325 * csu/libc-tls.c: Nor here.
27326 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
27327
27328 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
27329 (__libc_message): Never call vsyslog.
27330
273312013-03-28 Alan Modra <amodra@gmail.com>
27332
27333 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
27334 Define as empty.
27335 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
27336 Likewise.
27337
273382013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27339
27340 [BZ #15214]
27341 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
27342 underflow.
27343 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27344
273452013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27346
27347 [BZ #15304]
27348 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
27349 Don't add gid passed as argument.
27350
27351 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
27352
273532013-03-27 Joseph Myers <joseph@codesourcery.com>
27354
27355 [BZ #15307]
27356 * math/k_casinh.c (__kernel_casinh): Handle arguments with
27357 imaginary part between 1.0 and 1.5 and real part less than 0.5
27358 specially.
27359 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27360 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27361 * math/libm-test.inc (cacos_test): Add more tests.
27362 (casin_test): Likewise.
27363 (casinh_test): Likewise.
27364 * sysdeps/i386/fpu/libm-test-ulps: Update.
27365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27366
273672013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27368
27369 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
27370 constants.
27371 (norm): Likewise.
27372 (denorm): Likewise.
27373 (__dbl_mp): Likewise.
27374 (add_magnitudes): Likewise.
27375 (sub_magnitudes): Likewise.
27376 (__add): Likewise.
27377 (__sub): Likewise.
27378 (__mul): Likewise.
27379 (__sqr): Likewise.
27380 (__inv): Likewise.
27381 (__dvd): Likewise.
27382
27383 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
27384 commented code.
27385 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
27386 (__dubcos): Likewise.
27387 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
27388 (__ieee754_acos): Likewise.
27389 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27390 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
27391 (__exp1): Likewise.
27392 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27393 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27394 (log1): Likewise.
27395 (my_log2): Likewise.
27396 (checkint): Likewise.
27397 * sysdeps/ieee754/dbl-64/e_remainder.c
27398 (__ieee754_remainder): Likewise.
27399 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27400 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
27401 (bsloww): Likewise.
27402 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27403
27404 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27405 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
27406 MANTISSA_STORE_T to store computations on mantissa. Use
27407 macros for rounding and division.
27408 (denorm): Likewise.
27409 (__dbl_mp): Likewise.
27410 (add_magnitudes): Likewise.
27411 (sub_magnitudes): Likewise.
27412 (__mul): Likewise.
27413 (__sqr): Likewise.
27414 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
27415 powers of two in terms of TWOPOW macro.
27416 (mp_no): Make type of mantissa as MANTISSA_T.
27417 [!RADIXI]: Define RADIXI.
27418 [!TWO52]: Define TWO52.
27419 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27420
274212013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27422
27423 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
27424 llroundl symbol when building for PPC32.
27425
274262013-03-24 Mark H Weaver <mhw@netris.org>
27427
27428 * manual/arith.texi (Normalization Functions): Fix prototypes for
27429 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
27430
274312013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27432
27433 [BZ #13889]
27434 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
27435 high value to check if expl overflow.
27436 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
27437 to check for underflow and overflow.
27438 * math/libm-test.inc: Add exp test.
27439
274402013-03-21 Dmitry V. Levin <ldv@altlinux.org>
27441
27442 [BZ #11120]
27443 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
27444 with NOT_IN_libc.
27445
274462013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27447
27448 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
27449 symbol.
27450
274512013-03-21 Thomas Schwinge <thomas@codesourcery.com>
27452
27453 * math/gen-libm-test.pl (parse_args, special_functions): Properly
27454 wrap blocks consisting of several statements.
27455
27456 * sysdeps/generic/math-tests.h: New file.
27457 * sysdeps/i386/fpu/math-tests.h: Likewise.
27458 * math/test-snan.c: Include it.
27459 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
27460
274612013-03-21 Joseph Myers <joseph@codesourcery.com>
27462
27463 [BZ #15285]
27464 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
27465 (__ieee754_j0l): Do not improve calculations using cos of twice
27466 input for inputs above LDBL_MAX / 2.0L.
27467 (__ieee754_y0l): Likewise.
27468 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
27469 (__ieee754_j1l): Do not improve calculations using cos of twice
27470 input for inputs above LDBL_MAX / 2.0L.
27471 (__ieee754_y1l): Likewise.
27472 * math/libm-test.inc (j0_test): Add another test.
27473 (j1_test): Likewise.
27474 (y0_test): Likewise.
27475 (y1_test): Likewise.
27476 * sysdeps/i386/fpu/libm-test-ulps: Update.
27477
274782013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27479
27480 * Rules ($(objpfx)bench-%.c): Include code from a C source
27481 file.
27482
274832013-03-21 Joseph Myers <joseph@codesourcery.com>
27484
27485 [BZ #15287]
27486 * math/k_casinh.c (__kernel_casinh): Handle arguments with
27487 imaginary part 1.0 and real part less than 0.5 specially.
27488 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27489 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27490 * math/libm-test.inc (cacos_test): Add more tests.
27491 (casin_test): Likewise.
27492 (casinh_test): Likewise.
27493 * sysdeps/i386/fpu/libm-test-ulps: Update.
27494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27495
274962013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27497
27498 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
27499 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
27500
275012013-03-20 Joseph Myers <joseph@codesourcery.com>
27502
27503 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
27504 * config.make.in (config-cflags-sse4): Remove variable.
27505 (config-cflags-avx): Likewise.
27506 (config-cflags-sse2avx): Likewise.
27507 (config-cflags-novzeroupper): Likewise.
27508 (config-asflags-i686): Likewise.
27509 (have-mfma4): Likewise.
27510 (have-as-vis3): Likewise.
27511 (MIG): Likewise.
27512 * configure.in (MIG): Do not AC_SUBST.
27513 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
27514 (libc_cv_cc_sse4): Do not AC_SUBST.
27515 (libc_cv_cc_avx): Likewise.
27516 (libc_cv_cc_sse2avx): Likewise.
27517 (libc_cv_cc_novzeroupper): Likewise.
27518 (libc_cv_cc_fma4): Likewise.
27519 (libc_cv_as_i686): Likewise.
27520 (libc_cv_sparc_as_vis3): Likewise.
27521 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
27522 LIBC_CONFIG_VAR.
27523 (config-asflags-i686): Likewise.
27524 (config-cflags-avx): Likewise.
27525 (config-cflags-sse2avx): Likewise.
27526 (have-mfma4): Likewise.
27527 (config-cflags-novzeroupper): Likewise.
27528 * sysdeps/mach/configure.in (MIG): Likewise.
27529 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
27530 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
27531 LIBC_CONFIG_VAR.
27532 (config-cflags-avx): Likewise.
27533 (config-cflags-sse2avx): Likewise.
27534 (have-mfma4): Likewise.
27535 (config-cflags-novzeroupper): Likewise.
27536 * configure: Regenerated.
27537 * sysdeps/i386/configure: Likewise.
27538 * sysdeps/mach/configure: Likewise.
27539 * sysdeps/sparc/configure: Likewise.
27540 * sysdeps/x86_64/configure: Likewise.
27541
275422013-03-20 Roland McGrath <roland@hack.frob.com>
27543
27544 [BZ #14812]
27545 * locale/programs/localedef.c (options): Put N_ translation marker
27546 on argument names, not just descriptions.
27547
275482013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27549
27550 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
27551
275522013-03-20 Ondřej Bílka <neleai@seznam.cz>
27553
27554 [BZ #14176]
27555 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
27556
275572013-03-19 Roland McGrath <roland@hack.frob.com>
27558
27559 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
27560 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
27561 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
27562 [!BEFORE_ABORT] (before_abort): New function.
27563 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
27564 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
27565 (writev_for_fatal): New function.
27566 (WRITEV_FOR_FATAL): New macro; call that.
27567 (backtrace_and_maps): New function.
27568 (BEFORE_ABORT): New macro; call that.
27569 (struct str_list): Type removed.
27570 (__libc_message, __libc_fatal): Functions removed.
27571 Include <sysdeps/posix/libc_fatal.c> instead.
27572
275732013-03-19 Joseph Myers <joseph@codesourcery.com>
27574
27575 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
27576 constants.
27577 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
27578 double constants.
27579
275802013-03-19 Andreas Schwab <schwab@suse.de>
27581
27582 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
27583 * sysdeps/gnu/configure: Regenerate.
27584
27585 * configure.in: Substitute libc_cv_rtlddir.
27586 * configure: Regenerate.
27587 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
27588 * Makeconfig (rtlddir, inst_rtlddir): New variables.
27589 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
27590 * elf/Makefile (install-others, CFLAGS-interp.c)
27591 (ldso_install, common-ldd-rewrite): Likewise.
27592 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
27593 $(inst_slibdir)/$(rtld-installed-name).
27594 * scripts/rellns-sh: Add -p option.
27595 * Makerules (make-shlib-link): Use rellns-sh to get relative name
27596 for source.
27597
275982013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27599
27600 * manual/nptl.texi: Renamed to ...
27601 * manual/threads.texi: ... this.
27602 * manual/Makefile (chapters): Update.
27603
276042013-03-18 Roland McGrath <roland@hack.frob.com>
27605
27606 [BZ #14812]
27607 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
27608 on argument names, not just descriptions.
27609 * malloc/memusagestat.c (options): Likewise.
27610 * nss/getent.c (options): Likewise.
27611
276122013-03-18 Benno Schulenberg <bensberg@justemail.net>
27613
27614 [BZ #14812]
27615 * iconv/iconv_prog.c (options): Put N_ translation marker
27616 on argument names, not just descriptions.
27617 * iconv/iconvconfig.c (options): Likewise.
27618
276192013-03-18 Ondrej Bilka <neleai@seznam.cz>
27620
27621 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
27622 implementation which is faster on all x86_64 architectures.
27623 Tested on AMD, Intel Nehalem, SNB, IVB.
27624 * sysdeps/x86_64/strnlen.S: Likewise.
27625
27626 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27627 Remove all multiarch strlen and strnlen versions.
27628 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27629 Remove strlen and strnlen related parts.
27630
27631 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
27632 Inline strlen part.
27633 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27634
27635 * sysdeps/x86_64/multiarch/strlen.S: Remove.
27636 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
27637 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
27638 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
27639 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27640 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
27641
276422013-03-17 Carlos O'Donell <carlos@redhat.com>
27643
27644 * manual/memory.texi (Malloc Tunable Parameters):
27645 Sort parameters alphabetically. Add comments for missing entries.
27646
276472013-03-17 David S. Miller <davem@davemloft.net>
27648
27649 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27650
276512013-03-16 Joseph Myers <joseph@codesourcery.com>
27652
27653 [BZ #15283]
27654 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
27655 for arguments at most half maximum finite value.
27656 * math/libm-test.inc (j0_test): Add more tests.
27657 (j1_test): Likewise.
27658 (y0_test): Likewise.
27659 (y1_test): Likewise.
27660 * sysdeps/i386/fpu/libm-test-ulps: Update.
27661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27662
27663 [BZ #14155]
27664 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
27665 1 / x and functions P and Q for arguments above 0x1p256L.
27666 (__ieee754_y0l): Likewise.
27667 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
27668 (__ieee754_y1l): Likewise.
27669 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
27670 (j1_test): Likewise.
27671 (y0_test): Likewise.
27672 (y1_test): Likewise.
27673
276742013-03-16 Thomas Schwinge <thomas@codesourcery.com>
27675
27676 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
27677 variable.
27678
276792013-03-15 Roland McGrath <roland@hack.frob.com>
27680
27681 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
27682 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
27683 zero since it's initialized to EXEC_PAGESIZE.
27684
27685 * sysdeps/unix/sysv/linux/ldsodefs.h
27686 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
27687 * sysdeps/generic/ldsodefs.h: ... here.
27688
276892013-03-15 Thomas Schwinge <thomas@codesourcery.com>
27690
27691 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
27692
27693 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
27694 math/test-snan.c.
27695 * math/test-snan.c: Renamed from
27696 sysdeps/powerpc/fpu/test-powerpc-snan.c.
27697 * math/Makefile (tests): Add test-snan.
27698 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
27699 test-powerpc-snan.
27700
27701 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
27702 SUFFIX. Initialize qNaN_var with __builtin_nan family of
27703 functions.
27704 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
27705 __builtin_nan family of functions.
27706 * math/libm-test.inc (initialize): Initialize qnan_value with
27707 __builtin_nan family of functions.
27708 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
27709 Remove variables.
27710 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
27711 Remove functions.
27712 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
27713 storage class. Initialize qNaN_var and sNaN_var with
27714 __builtin_nan and __builtin_nans families of functions,
27715 respectively.
27716
27717 * math/libm-test.inc (acosh_test): Also test with qNaN input.
27718 (sqrt_test): Remove duplicate test with qNaN input.
27719 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
27720 (round_test, signbit_test, significand_test): Note missing +/-Inf
27721 as well as qNaN tests.
27722
27723 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
27724 qNaN_var. Fix a few strings, too.
27725 * math/libm-test.inc (nan_value): Rename to qnan_value.
27726 * math/gen-libm-test.pl (%beautify): Adjust to that.
27727 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
27728 * math/test-misc.c (main): Likewise.
27729 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
27730 to __qnan_bytes, and __qnan_union, respectively.
27731 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
27732 Likewise.
27733 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
27734 and lqnanval, respectively.
27735 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
27736 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
27737 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
27738 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
27739
27740 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
27741 * math/test-misc.c (main) [__x86_64__]: Enable test for long
27742 doubles.
27743
27744 * math/test-misc.c (main): Fix copy'n'pastos.
27745 * misc/tst-efgcvt.c (special): Likewise.
27746
27747 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
27748 Remove declarations.
27749
277502013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27751
27752 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
27753 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
27754 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
27755 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
27756
277572013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27758
27759 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
27760 macro to return vdso values correctly in IFUNC implementations.
27761 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27762 Optimization by using IFUNC.
27763
277642013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27765 Richard Henderson <rth@redhat.com>
27766 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27767
27768 * Makefile.in (bench): New target.
27769 * NEWS: Mention the benchmark framework.
27770 * Rules (bench): Likewise.
27771 (binaries-bench): Generate binaries for functions to
27772 benchmark.
27773 * benchtests/Makefile: New makefile for benchmark tests.
27774 * benchtests/bench-skeleton.c: New skeleton file for benchmark
27775 programs.
27776 * benchtests/exp-inputs: New input file for EXP function.
27777 * benchtests/pow-inputs: New input file for POW function.
27778 * scripts/bench.pl: New script to generate source files for
27779 benchmark programs.
27780
277812013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27782
27783 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27784 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
27785 computations on mantissa. Use macros for rounding and
27786 division.
27787 (denorm): Likewise.
27788 (__dbl_mp): Likewise.
27789 (add_magnitudes): Likewise.
27790 (sub_magnitudes): Likewise.
27791 (__mul): Likewise.
27792 (__sqr): Likewise.
27793 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
27794 powers of two in terms of TWOPOW macro.
27795 (mp_no): Make type of mantissa as MANTISSA_T.
27796 [!RADIXI]: Define RADIXI.
27797 [!TWO52]: Define TWO52.
27798 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27799
27800 * manual/nptl.texi (cindex): Modify threads to pthreads.
27801
278022013-03-15 Joseph Myers <joseph@codesourcery.com>
27803
27804 * sysdeps/x86_64/preconfigure: Regenerated.
27805
278062013-03-14 Joseph Myers <joseph@codesourcery.com>
27807
27808 [BZ #14155]
27809 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
27810 0x1p28 and above.
27811 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
27812 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
27813 0x1p28 and above.
27814 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
27815 * math/libm-test.inc (j0_test): Do not allow one spurious
27816 underflow exception.
27817 (y1_test): Likewise.
27818
278192013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27820
27821 * manual/Makefile (chapters): Add nptl.
27822 * manual/debug.texi (Debugging Support): Add link to Threads
27823 chapter.
27824 * manual/nptl.texi: New file.
27825
27826 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
27827
278282013-03-14 Petr Baudis <pasky@ucw.cz>
27829
27830 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
27831 for non-NULL pointer before the memory validity test. Pointed
27832 out by Holger Brunck <holger.brunck@keymile.com>.
27833
278342013-03-13 Andreas Schwab <schwab@suse.de>
27835
27836 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
27837 instead of .os.
27838
278392013-03-13 Joseph Myers <joseph@codesourcery.com>
27840
27841 * timezone/zic.c: Update from tzcode 2013b.
27842
278432013-03-12 Carlos O'Donell <carlos@redhat.com>
27844
27845 * manual/install.texi (Configuring and compiling):
27846 Mention i686 and i586.
27847 * INSTALL: Regenerate.
27848
278492013-03-12 Roland McGrath <roland@hack.frob.com>
27850
27851 * sysdeps/init_array/elf-init.c: New file.
27852 * csu/elf-init.c
27853 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
27854 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
27855
27856 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
27857 __gmon_start__ as global, but as static with a .preinit_array pointer.
27858 * sysdeps/init_array/gmon-start.c: New file. Use that.
27859 * sysdeps/init_array/crti.S: New file, empty except for comments.
27860 * sysdeps/init_array/crtn.S: Likewise.
27861
278622013-03-11 Ondřej Bílka <neleai@seznam.cz>
27863
27864 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
27865 definining bcopy.
27866 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27867 Remove Prefer_SSE_for_memop.
27868 * sysdeps/x86_64/multiarch/init-arch.h: Remove
27869 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
27870 HAS_PREFER_SSE_FOR_MEMOP.
27871 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
27872 memset-x86-64.
27873 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27874 Remove bzero, memset ifunc support.
27875 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
27876 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
27877 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27878 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27879
278802013-03-11 Andreas Schwab <schwab@suse.de>
27881
27882 [BZ #15234]
27883 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
27884 by SHLIB_COMPAT.
27885 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
27886 (GLIBC_2.16): Remove pthread_atfork.
27887
278882013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
27889
27890 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
27891 (ptestcases.h): Likewise.
27892
278932013-03-08 Roland McGrath <roland@hack.frob.com>
27894
27895 * Makeconfig ($(common-objpfx)config.status): Depend on
27896 sysdeps/*/preconfigure{,.in} too.
27897
278982013-03-08 Joseph Myers <joseph@codesourcery.com>
27899
27900 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
27901 (__free_hook): Use void * instead of __malloc_ptr_t.
27902 (__malloc_hook): Likewise.
27903 (__realloc_hook): Likewise.
27904 (__memalign_hook): Likewise.
27905 (__after_morecore_hook): Likewise.
27906 * malloc/arena.c (save_malloc_hook): Likewise.
27907 (save_free_hook): Likewise.
27908 * malloc/hooks.c (malloc_hook_ini): Likewise.
27909 (realloc_hook_ini): Likewise.
27910 (memalign_hook_ini): Likewise.
27911 * malloc/malloc.c (malloc_hook_ini): Likewise.
27912 (realloc_hook_ini): Likewise.
27913 (memalign_hook_ini): Likewise.
27914 (__free_hook): Likewise.
27915 (__malloc_hook): Likewise.
27916 (__realloc_hook): Likewise.
27917 (__memalign_hook): Likewise.
27918 (__libc_malloc): Likewise.
27919 (__libc_free): Likewise.
27920 (__libc_realloc): Likewise.
27921 (__libc_memalign): Likewise.
27922 (__libc_valloc): Likewise.
27923 (__libc_pvalloc): Likewise.
27924 (__libc_calloc): Likewise.
27925 (__posix_memalign): Likewise.
27926 * malloc/morecore.c (__sbrk): Likewise.
27927 (__default_morecore): Likewise.
27928
27929 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
27930
27931 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
27932 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
27933 __malloc_ptrdiff_t.
27934
27935 * malloc/malloc.h (__malloc_size_t): Remove macro.
27936 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
27937 __malloc_size_t.
27938 (old_memalign_hook): Likewise.
27939 (old_realloc_hook): Likewise.
27940 (struct hdr): Likewise.
27941 (flood): Likewise.
27942 (mallochook): Likewise.
27943 (memalignhook): Likewise.
27944 (reallochook): Likewise.
27945 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
27946 (tr_old_realloc_hook): Likewise.
27947 (tr_old_memalign_hook): Likewise.
27948 (tr_mallochook): Likewise.
27949 (tr_reallochook): Likewise.
27950 (tr_memalignhook): Likewise.
27951
279522013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27953
27954 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
27955 default_ldbl_pack and using as default implementation.
27956 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
27957 implementation.
27958 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
27959 redundant definition.
27960 (ldbl_insert_mantissa): Likewise.
27961 (ldbl_canonicalize): Likewise.
27962 (ldbl_nearbyint): Likewise.
27963 (ldbl_pack): Rename to ldbl_pack_ppc.
27964 (ldbl_unpack): Rename to ldbl_unpack_ppc.
27965 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
27966 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
27967
279682013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27969
27970 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
27971 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
27972 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
27973 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
27974 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
27975 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
27976 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
27977 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
27978
279792013-03-07 Andreas Jaeger <aj@suse.de>
27980
27981 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27982 bits/mman-linux.h.
27983
279842013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27985
27986 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
27987 Include mpa.h and declare __MPEXP.
27988 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
27989 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27990 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27991 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
27992 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27993 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27994 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
27995
27996 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
27997 (__slowpow): Use long double EXPL and LOGL functions to
27998 compute POW.
27999 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28000 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28001 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
28002 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28003 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28004 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
28005
28006 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
28007 intermediate variable to calculate exponent.
28008 (__sqr): Likewise.
28009 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28010 Likewise.
28011 (__sqr): Likewise.
28012
28013 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
28014 [!NO__SQR]: Define __sqr.
28015 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
28016 and NO__SQR. Remove all code except __mul and __sqr. Include
28017 sysdeps/ieee754/dbl-64/mpa.c.
28018 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28019
28020 [BZ #12723]
28021 * posix/Makefile (tests): Add tst-pathconf.
28022 * posix/tst-pathconf.c: New test case.
28023 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
28024 _PC_PIPE_BUF.
28025 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
28026
280272013-03-06 Patsy Franklin <pfrankli@redhat.com>
28028
28029 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
28030
280312013-03-06 Andreas Jaeger <aj@suse.de>
28032
28033 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
28034 definition via __MAP_ANONYMOUS.
28035
28036 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
28037 it's not part of Linux headers.
28038
28039 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
28040 (MAP_HUGE_MASK): Define.
28041
28042 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28043 Define.
28044 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28045 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28046 Define.
28047 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28048 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28049 Define.
28050 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28051 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
28052 Define.
28053 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28054
28055 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
28056 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
28057 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
28058 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
28059 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
28060 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
28061
28062 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28063 Handle f2fs.
28064
28065 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28066 Handle f2fs and efivarfs.
28067
28068 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
28069 f2fs.
28070
28071 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
28072 (EFIVARFS_MAGIC): Add.
28073 (F2FS_LINK_MAX): Add.
28074
280752013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28076
28077 * stdio-common/vfprintf.c: Replace __builtin_expect with
28078 __glibc_unlikely.
28079
280802013-03-06 Joseph Myers <joseph@codesourcery.com>
28081
28082 [BZ #13550]
28083 * sysdeps/generic/bp-sym.h: Remove file.
28084 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
28085 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
28086 <bp-sym.h> and <bp-asm.h>.
28087 (__longjmp): Don't use BP_SYM.
28088 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
28089 and <bp-asm.h>.
28090 (memcpy): Don't use BP_SYM.
28091 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
28092 <bp-sym.h> and <bp-asm.h>.
28093 (memcpy): Don't use BP_SYM.
28094 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
28095 <bp-asm.h>.
28096 (memcpy): Don't use BP_SYM.
28097 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
28098 <bp-asm.h>.
28099 (memset): Don't use BP_SYM.
28100 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28101 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28102 (__bzero): Don't use BP_SYM.
28103 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28104 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28105 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
28106 <bp-sym.h> and <bp-asm.h>.
28107 (memcmp): Don't use BP_SYM. Remove comment about bounded
28108 pointers.
28109 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
28110 <bp-sym.h> and <bp-asm.h>.
28111 (memcpy): Don't use BP_SYM.
28112 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
28113 <bp-sym.h> and <bp-asm.h>.
28114 (memset): Don't use BP_SYM.
28115 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28116 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28117 (__bzero): Don't use BP_SYM.
28118 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28119 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28120 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
28121 <bp-sym.h> and <bp-asm.h>.
28122 (strncmp): Don't use BP_SYM. Remove comment about bounded
28123 pointers.
28124 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
28125 <bp-sym.h> and <bp-asm.h>.
28126 (memcpy): Don't use BP_SYM.
28127 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
28128 <bp-sym.h> and <bp-asm.h>.
28129 (memset): Don't use BP_SYM.
28130 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28131 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28132 (__bzero): Don't use BP_SYM.
28133 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28134 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28135 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
28136 <bp-sym.h> and <bp-asm.h>.
28137 (__memchr): Don't use BP_SYM.
28138 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
28139 <bp-sym.h> and <bp-asm.h>.
28140 (memcmp): Don't use BP_SYM. Remove comment about bounded
28141 pointers.
28142 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
28143 <bp-sym.h> and <bp-asm.h>.
28144 (memcpy): Don't use BP_SYM.
28145 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
28146 <bp-sym.h> and <bp-asm.h>.
28147 (__mempcpy): Don't use BP_SYM.
28148 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
28149 <bp-sym.h> and <bp-asm.h>.
28150 (__memrchr): Don't use BP_SYM.
28151 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
28152 <bp-sym.h> and <bp-asm.h>.
28153 (memset): Don't use BP_SYM.
28154 (__bzero): Likewise.
28155 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
28156 <bp-sym.h> and <bp-asm.h>.
28157 (__rawmemchr): Don't use BP_SYM.
28158 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
28159 <bp-sym.h> and <bp-asm.h>.
28160 (__STRCMP): Don't use BP_SYM.
28161 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
28162 <bp-sym.h> and <bp-asm.h>.
28163 (strchr): Don't use BP_SYM.
28164 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
28165 <bp-sym.h> and <bp-asm.h>.
28166 (__strchrnul): Don't use BP_SYM.
28167 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
28168 <bp-sym.h> and <bp-asm.h>.
28169 (strlen): Don't use BP_SYM.
28170 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
28171 <bp-sym.h> and <bp-asm.h>.
28172 (strncmp): Don't use BP_SYM. Remove comment about bounded
28173 pointers.
28174 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
28175 <bp-sym.h> and <bp-asm.h>.
28176 (__strnlen): Don't use BP_SYM.
28177 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
28178 <bp-sym.h> and <bp-asm.h>.
28179 (__GI__setjmp): Don't use BP_SYM.
28180 (_setjmp): Likewise.
28181 (__sigsetjmp): Likewise.
28182 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
28183 (L(start_addresses)): Don't use BP_SYM.
28184 (_start): Likewise.
28185 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
28186 <bp-asm.h>.
28187 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
28188 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
28189 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28190 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28191 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
28192 <bp-asm.h>.
28193 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
28194 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
28195 about bounded pointers.
28196 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28197 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28198 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
28199 <bp-asm.h>.
28200 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
28201 about bounded pointers. Remove GKM FIXME comments.
28202 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28203 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
28204 <bp-asm.h>.
28205 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
28206 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
28207 Remove GKM FIXME comments.
28208 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28209 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28210 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
28211 <bp-asm.h>.
28212 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
28213 about bounded pointers. Remove GKM FIXME comment.
28214 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
28215 and <bp-asm.h>.
28216 (strncmp): Don't use BP_SYM. Remove comment about bounded
28217 pointers.
28218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
28219 <bp-sym.h> and <bp-asm.h>.
28220 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
28222 <bp-sym.h> and <bp-asm.h>.
28223 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
28224 comment.
28225
282262013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28227
28228 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
28229 call free(NULL).
28230
282312013-03-05 David S. Miller <davem@davemloft.net>
28232
28233 * po/es.po: Update from translation team.
28234
282352013-03-05 Andreas Jaeger <aj@suse.de>
28236
28237 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
28238 <bits/mman-linux.h>.
28239 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28240 is fine.
28241 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
28242 <bits/mman-linux.h> to end of file.
28243 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28244 is fine.
28245 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
28246 <bits/mman-linux.h> to end of file.
28247 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28248 is fine.
28249 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
28250 <bits/mman-linux.h> to end of file.
28251
28252 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
28253 (MCL_CURRENT, MCL_FUTURE): Define here.
28254
282552013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28256
28257 [BZ #15232]
28258 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
28259 attribute_hidden.
28260 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28261
282622013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28263
28264 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
28265 fourth parameter needed for rt_sigprocmask syscall.
28266 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28267 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
28268 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
28269 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
28270 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
28271 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
28272
282732013-03-04 Joseph Myers <joseph@codesourcery.com>
28274
28275 [BZ #13550]
28276 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
28277 comment about bounded pointers.
28278 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
28279 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
28280
282812013-03-04 Andreas Jaeger <aj@suse.de>
28282
28283 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
28284 common definitions.
28285
28286 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
28287 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
28288 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
28289 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28290 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
28291 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28292
282932013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28294
28295 [BZ #15055]
28296 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28297 __ieee754_sqrl instead of __sqrl.
28298
282992013-03-01 Joseph Myers <joseph@codesourcery.com>
28300
28301 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
28302 * sysdeps/powerpc/fpu_control.h: ... here.
28303 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
28304 * sysdeps/powerpc/bits/fenvinline.h: ... here.
28305 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
28306 * sysdeps/powerpc/bits/mathinline.h: ... here.
28307
283082013-03-01 Roland McGrath <roland@hack.frob.com>
28309
28310 * elf/dl-hwcaps.c (_dl_important_hwcaps):
28311 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
28312 to just [NEED_DL_SYSINFO_DSO].
28313 * elf/dl-support.c: Likewise.
28314 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28315 * elf/rtld.c (dl_main): Likewise.
28316 * elf/setup-vdso.h (setup_vdso): Likewise.
28317 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
28318 * sysdeps/unix/sysv/linux/dl-sysdep.c
28319 (_dl_discover_osversion): Likewise.
28320
283212013-03-01 Carlos O'Donell <carlos@redhat.com>
28322
28323 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
28324 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28325
283262013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
28327
28328 * NEWS: Mention libm performance improvements and non-x86 PI
28329 futex support.
28330
28331 * csu/libc-start.c (__pthread_initialize_minimal): Change
28332 function arguments.
28333 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28334
283352013-02-28 Joseph Myers <joseph@codesourcery.com>
28336
28337 [BZ #13550]
28338 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
28339 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
28340 <bp-sym.h> and <bp-asm.h>.
28341 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28342 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
28343 and <bp-asm.h>.
28344 (memcpy): Don't use BP_SYM.
28345 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
28346 <bp-asm.h>.
28347 (__mpn_add_n): Don't use BP_SYM.
28348 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
28349 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
28350 and <bp-asm.h>.
28351 (__mpn_addmul_1): Don't use BP_SYM.
28352 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28353 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
28354 <bp-sym.h>.
28355 (_setjmp): Don't use BP_SYM.
28356 (__novmx_setjmp): Likewise.
28357 (__GI__setjmp): Likewise.
28358 (__vmx_setjmp): Likewise.
28359 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
28360 <bp-sym.h>.
28361 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
28362 (__bzero): Don't use BP_SYM.
28363 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28364 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28365 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
28366 <bp-sym.h> and <bp-asm.h>.
28367 (memcpy): Don't use BP_SYM.
28368 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
28369 <bp-sym.h> and <bp-asm.h>.
28370 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28371 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
28372 <bp-sym.h> and <bp-asm.h>.
28373 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28374 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
28375 <bp-asm.h>.
28376 (__mpn_lshift): Don't use BP_SYM.
28377 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28378 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
28379 <bp-asm.h>.
28380 (memset): Don't use BP_SYM.
28381 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28382 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28383 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
28384 <bp-asm.h>.
28385 (__mpn_mul_1): Don't use BP_SYM.
28386 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28387 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
28388 <bp-sym.h> and <bp-asm.h>.
28389 (memcmp): Don't use BP_SYM.
28390 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
28391 <bp-sym.h> and <bp-asm.h>.
28392 (memcpy): Don't use BP_SYM.
28393 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
28394 <bp-sym.h> and <bp-asm.h>.
28395 (memset): Don't use BP_SYM.
28396 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
28397 <bp-sym.h> and <bp-asm.h>.
28398 (strncmp): Don't use BP_SYM.
28399 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
28400 <bp-sym.h> and <bp-asm.h>.
28401 (memcpy): Don't use BP_SYM.
28402 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
28403 <bp-sym.h> and <bp-asm.h>.
28404 (memset): Don't use BP_SYM.
28405 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
28406 <bp-sym.h> and <bp-asm.h>.
28407 (__memchr): Don't use BP_SYM.
28408 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
28409 <bp-sym.h> and <bp-asm.h>.
28410 (memcmp): Don't use BP_SYM.
28411 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
28412 <bp-sym.h> and <bp-asm.h>.
28413 (memcpy): Don't use BP_SYM.
28414 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
28415 <bp-sym.h> and <bp-asm.h>.
28416 (__mempcpy): Don't use BP_SYM.
28417 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
28418 <bp-sym.h> and <bp-asm.h>.
28419 (__memrchr): Don't use BP_SYM.
28420 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
28421 <bp-sym.h> and <bp-asm.h>.
28422 (memset): Don't use BP_SYM.
28423 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
28424 <bp-sym.h> and <bp-asm.h>.
28425 (__rawmemchr): Don't use BP_SYM.
28426 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
28427 <bp-sym.h> and <bp-asm.h>.
28428 (__STRCMP): Don't use BP_SYM.
28429 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
28430 <bp-sym.h> and <bp-asm.h>.
28431 (strchr): Don't use BP_SYM.
28432 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
28433 <bp-sym.h> and <bp-asm.h>.
28434 (__strchrnul): Don't use BP_SYM.
28435 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
28436 <bp-sym.h> and <bp-asm.h>.
28437 (strlen): Don't use BP_SYM.
28438 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
28439 <bp-sym.h> and <bp-asm.h>.
28440 (strncmp): Don't use BP_SYM.
28441 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
28442 <bp-sym.h> and <bp-asm.h>.
28443 (__strnlen): Don't use BP_SYM.
28444 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
28445 <bp-asm.h>.
28446 (__mpn_rshift): Don't use BP_SYM.
28447 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28448 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
28449 <bp-sym.h> and <bp-asm.h>.
28450 (__sigsetjmp): Don't use BP_SYM.
28451 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
28452 (L(start_addresses)): Don't use BP_SYM.
28453 (_start): Likewise.
28454 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
28455 <bp-asm.h>.
28456 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
28457 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28458 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28459 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
28460 <bp-asm.h>.
28461 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
28462 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28463 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28464 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
28465 <bp-asm.h>.
28466 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
28467 comments.
28468 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28469 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
28470 <bp-asm.h>.
28471 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
28472 FIXME comments.
28473 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28474 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28475 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
28476 <bp-asm.h>.
28477 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
28478 comment.
28479 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
28480 and <bp-asm.h>.
28481 (strncmp): Don't use BP_SYM,
28482 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
28483 <bp-asm.h>.
28484 (__mpn_sub_n): Don't use BP_SYM.
28485 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28486 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
28487 and <bp-asm.h>.
28488 (__mpn_submul_1): Don't use BP_SYM.
28489 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
28491 <bp-sym.h> and <bp-asm.h>.
28492 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
28494 <bp-sym.h> and <bp-asm.h>.
28495 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
28496 comment.
28497
284982013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28499
28500 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
28501 Use ZK to minimize writes to Z.
28502 (sub_magnitudes): Simplify code a bit.
28503 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
28504 Use ZK to minimize writes to Z.
28505 (sub_magnitudes): Simplify code a bit.
28506
285072013-02-27 Roland McGrath <roland@hack.frob.com>
28508
28509 * csu/gmon-start.c: Add special exception to license text.
28510
285112013-02-27 Richard Henderson <rth@redhat.com>
28512
28513 * scripts/config.guess: Update from config.git.
28514 * scripts/config.sub: Likewise.
28515
285162013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28517
28518 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
28519
28520 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
28521
28522 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
28523
28524 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
28525
28526 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
28527
285282013-02-26 Roland McGrath <roland@hack.frob.com>
28529
28530 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
28531 [$(build-shared = yes].
28532
285332013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28534
28535 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
28536 (__mul): Reduce iterations for calculating mantissa.
28537
28538 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
28539 MPTWO.
28540 (__mpranred): Likewise.
28541
28542 [BZ #15160]
28543 * malloc/memusagestat.c (main): Draw graphs for heap and stack
28544 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
28545
285462013-02-26 Paul Eggert <eggert@cs.ucla.edu>
28547
28548 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
28549 Define __attribute__.
28550
285512013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28552
28553 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
28554 unused.
28555 * posix/regex_internal.h (__attribute): Remove.
28556 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
28557 (re_string_context_at): Likewise.
28558 (bitset_not): Use __attribute__ and mark function as possibly
28559 unused.
28560 (bitset_merge): Likewise.
28561 (bitset_mask): Likewise.
28562 (re_string_char_size_at): Likewise.
28563 (re_string_wchar_at): Likewise.
28564 (re_string_elem_size_at): Likewise.
28565
285662013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28567
28568 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
28569 code.
28570 (cc32): Likewise.
28571
28572 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
28573 (__acr): Likewise.
28574 (__cpy): Likewise.
28575 (norm): Likewise.
28576 (denorm): Likewise.
28577 (__dbl_mp): Likewise.
28578 (add_magnitudes): Likewise.
28579 (sub_magnitudes): Likewise.
28580 (__mul): Likewise.
28581 (__inv): Likewise.
28582
28583 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
28584 style.
28585
28586 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
28587 style.
28588
28589 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
28590 code.
28591
28592 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
28593 up changes with default code.
28594 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
28595 Likewise.
28596
285972013-02-24 Allan McRae <allan@archlinux.org>
28598
28599 * manual/socket.texi (The Internet Namespace): Order menu items
28600 to match that in the file.
28601
28602 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
28603 node listing of the info page menu.
28604
286052013-02-21 Joseph Myers <joseph@codesourcery.com>
28606
28607 [BZ #13550]
28608 * sysdeps/i386/bp-asm.h: Remove file.
28609 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28610 (PARMS): Do not use macros from bp-asm.h.
28611 (S1): Likewise.
28612 (S2): Likewise.
28613 (SIZE): Likewise.
28614 (__mpn_add_n): Do not use BP_SYM
28615 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
28616 "bp-asm.h".
28617 (PARMS): Do not use macros from bp-asm.h.
28618 (S1): Likewise.
28619 (SIZE): Likewise.
28620 (__mpn_addmul_1): Do not use BP_SYM
28621 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
28622 "bp-asm.h".
28623 (PARMS): Do not use macros from bp-asm.h.
28624 (SIGMSK): Likewise.
28625 (_setjmp): Likewise. Do not use BP_SYM.
28626 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
28627 "bp-asm.h".
28628 (PARMS): Do not use macros from bp-asm.h.
28629 (SIGMSK): Likewise.
28630 (setjmp): Likewise. Do not use BP_SYM.
28631 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
28632 "bp-asm.h".
28633 (PARMS): Do not use macros from bp-asm.h.
28634 (__frexp): Do not use BP_SYM.
28635 (frexp): Likewise.
28636 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
28637 "bp-asm.h".
28638 (PARMS): Do not use macros from bp-asm.h.
28639 (__frexpf): Do not use BP_SYM.
28640 (frexpf): Likewise.
28641 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
28642 "bp-asm.h".
28643 (PARMS): Do not use macros from bp-asm.h.
28644 (__frexpl): Do not use BP_SYM.
28645 (frexpl): Likewise.
28646 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
28647 "bp-asm.h".
28648 (PARMS): Do not use macros from bp-asm.h.
28649 (__remquo): Do not use BP_SYM.
28650 (remquo): Likewise.
28651 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
28652 "bp-asm.h".
28653 (PARMS): Do not use macros from bp-asm.h.
28654 (__remquof): Do not use BP_SYM.
28655 (remquof): Likewise.
28656 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
28657 "bp-asm.h".
28658 (PARMS): Do not use macros from bp-asm.h.
28659 (__remquol): Do not use BP_SYM.
28660 (remquol): Likewise.
28661 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
28662 "bp-asm.h".
28663 (PARMS): Do not use macros from bp-asm.h.
28664 (DEST): Likewise.
28665 (SRC): Likewise.
28666 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
28667 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
28668 "bp-asm.h".
28669 (PARMS): Do not use macros from bp-asm.h.
28670 (strlen): Do not use BP_SYM.
28671 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
28672 "bp-asm.h".
28673 (PARMS): Do not use macros from bp-asm.h.
28674 (S1): Likewise.
28675 (S2): Likewise.
28676 (SIZE): Likewise.
28677 (__mpn_add_n): Do not use BP_SYM.
28678 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
28679 "bp-asm.h".
28680 (PARMS): Do not use macros from bp-asm.h.
28681 (S1): Likewise.
28682 (SIZE): Likewise.
28683 (__mpn_addmul_1): Do not use BP_SYM.
28684 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
28685 weak_alias.
28686 (bzero): Likewise.
28687 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
28688 "bp-asm.h".
28689 (PARMS): Do not use macros from bp-asm.h.
28690 (S): Likewise.
28691 (SIZE): Likewise.
28692 (__mpn_lshift): Do not use BP_SYM.
28693 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
28694 "bp-asm.h".
28695 (PARMS): Do not use macros from bp-asm.h.
28696 (DEST): Likewise.
28697 (SRC): Likewise.
28698 (LEN): Likewise.
28699 (memcpy): Likewise. Do not use BP_SYM.
28700 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
28701 libc_hidden_def and weak_alias.
28702 (mempcpy): Do not use BP_SYM in weak_alias.
28703 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
28704 "bp-asm.h".
28705 (PARMS): Do not use macros from bp-asm.h.
28706 (DEST): Likewise.
28707 (LEN): Likewise.
28708 [!BZERO_P] (CHR): Likewise.
28709 (memset): Likewise. Do not use BP_SYM.
28710 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
28711 "bp-asm.h".
28712 (PARMS): Do not use macros from bp-asm.h.
28713 (S1): Likewise.
28714 (SIZE): Likewise.
28715 (__mpn_mul_1): Do not use BP_SYM.
28716 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
28717 "bp-asm.h".
28718 (PARMS): Do not use macros from bp-asm.h.
28719 (S): Likewise.
28720 (SIZE): Likewise.
28721 (__mpn_rshift): Do not use BP_SYM.
28722 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
28723 "bp-asm.h".
28724 (PARMS): Do not use macros from bp-asm.h.
28725 (STR): Likewise.
28726 (CHR): Likewise.
28727 (strchr): Likewise. Do not use BP_SYM.
28728 (index): Do not use BP_SYM in weak_alias.
28729 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
28730 "bp-asm.h".
28731 (PARMS): Do not use macros from bp-asm.h.
28732 (DEST): Likewise.
28733 (SRC): Likewise.
28734 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
28735 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
28736 "bp-asm.h".
28737 (PARMS): Do not use macros from bp-asm.h.
28738 (strlen): Do not use BP_SYM.
28739 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
28740 "bp-asm.h".
28741 (PARMS): Do not use macros from bp-asm.h.
28742 (S1): Likewise.
28743 (S2): Likewise.
28744 (SIZE): Likewise.
28745 (__mpn_sub_n): Do not use BP_SYM.
28746 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
28747 "bp-asm.h".
28748 (PARMS): Do not use macros from bp-asm.h.
28749 (S1): Likewise.
28750 (SIZE): Likewise.
28751 (__mpn_submul_1): Do not use BP_SYM.
28752 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
28753 "bp-asm.h".
28754 (PARMS): Do not use macros from bp-asm.h.
28755 (S1): Likewise.
28756 (S2): Likewise.
28757 (SIZE): Likewise.
28758 (__mpn_add_n): Do not use BP_SYM.
28759 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
28760 weak_alias.
28761 (bzero): Likewise.
28762 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
28763 "bp-asm.h".
28764 (PARMS): Do not use macros from bp-asm.h.
28765 (BLK2): Likewise.
28766 (LEN): Likewise.
28767 (memcmp): Do not use BP_SYM.
28768 (bcmp): Do not use BP_SYM in weak_alias.
28769 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
28770 "bp-asm.h".
28771 (PARMS): Do not use macros from bp-asm.h.
28772 (DEST): Likewise.
28773 (SRC): Likewise.
28774 (LEN): Likewise.
28775 (memcpy): Likewise. Do not use BP_SYM.
28776 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
28777 "bp-asm.h".
28778 (PARMS): Do not use macros from bp-asm.h.
28779 (DEST): Likewise.
28780 (SRC): Likewise.
28781 (LEN): Likewise.
28782 (memmove): Likewise. Do not use BP_SYM.
28783 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
28784 "bp-asm.h".
28785 (PARMS): Do not use macros from bp-asm.h.
28786 (DEST): Likewise.
28787 (SRC): Likewise.
28788 (LEN): Likewise.
28789 (__mempcpy): Likewise. Do not use BP_SYM.
28790 (mempcpy): Do not use BP_SYM in weak_alias.
28791 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
28792 "bp-asm.h".
28793 (PARMS): Do not use macros from bp-asm.h.
28794 (DEST): Likewise.
28795 (LEN): Likewise.
28796 [!BZERO_P] (CHR): Likewise.
28797 (memset): Likewise. Do not use BP_SYM.
28798 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
28799 "bp-asm.h".
28800 (PARMS): Do not use macros from bp-asm.h.
28801 (STR2): Likewise.
28802 (strcmp): Do not use BP_SYM.
28803 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
28804 "bp-asm.h".
28805 (PARMS): Do not use macros from bp-asm.h.
28806 (STR): Likewise.
28807 (DELIM): Likewise.
28808 [USE_AS_STRTOK_R] (SAVE): Likewise.
28809 (FUNCTION): Likewise. Do not use BP_SYM.
28810 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
28811 aliases.
28812 (strtok_r): Likewise.
28813 (__GI___strtok_r): Likewise.
28814 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28815 (PARMS): Do not use macros from bp-asm.h.
28816 (S): Likewise.
28817 (SIZE): Likewise.
28818 (__mpn_lshift): Do not use BP_SYM.
28819 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28820 (PARMS): Do not use macros from bp-asm.h.
28821 (STR): Likewise.
28822 (CHR): Likewise.
28823 (__memchr): Do not use BP_SYM.
28824 (memchr): Do not use BP_SYM in weak_alias.
28825 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28826 (PARMS): Do not use macros from bp-asm.h.
28827 (BLK2): Likewise.
28828 (LEN): Likewise.
28829 (memcmp): Do not use BP_SYM.
28830 (bcmp): Do not use BP_SYM in weak_alias.
28831 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
28832 (PARMS): Do not use macros from bp-asm.h.
28833 (S1): Likewise.
28834 (SIZE): Likewise.
28835 (__mpn_mul_1): Do not use BP_SYM.
28836 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
28837 "bp-asm.h".
28838 (PARMS): Do not use macros from bp-asm.h.
28839 (STR): Likewise.
28840 (CHR): Likewise.
28841 (__rawmemchr): Do not use BP_SYM.
28842 (rawmemchr): Do not use BP_SYM in weak_alias.
28843 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28844 (PARMS): Do not use macros from bp-asm.h.
28845 (S): Likewise.
28846 (SIZE): Likewise.
28847 (__mpn_rshift): Do not use BP_SYM.
28848 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28849 (PARMS): Do not use macros from bp-asm.h.
28850 (SIGMSK): Likewise.
28851 (__sigsetjmp): Likewise. Do not use BP_SYM.
28852 * sysdeps/i386/start.S: Do not include "bp-sym.h".
28853 (_start): Do not use BP_SYM.
28854 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
28855 (PARMS): Do not use macros from bp-asm.h.
28856 (DEST): Likewise.
28857 (SRC): Likewise.
28858 (__stpcpy): Likewise. Do not use BP_SYM.
28859 (stpcpy): Do not use BP_SYM in weak_alias.
28860 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
28861 "bp-asm.h".
28862 (PARMS): Do not use macros from bp-asm.h.
28863 (DEST): Likewise.
28864 (SRC): Likewise.
28865 (LEN): Likewise.
28866 (__stpncpy): Likewise. Do not use BP_SYM.
28867 (stpncpy): Do not use BP_SYM in weak_alias.
28868 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28869 (PARMS): Do not use macros from bp-asm.h.
28870 (STR): Likewise.
28871 (CHR): Likewise.
28872 (strchr): Likewise. Do not use BP_SYM.
28873 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
28874 "bp-asm.h".
28875 (PARMS): Do not use macros from bp-asm.h.
28876 (STR): Likewise.
28877 (CHR): Likewise.
28878 (__strchrnul): Likewise. Do not use BP_SYM.
28879 (strchrnul): Do not use BP_SYM in weak_alias.
28880 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
28881 "bp-asm.h".
28882 (PARMS): Do not use macros from bp-asm.h.
28883 (STOP): Likewise.
28884 (strcspn): Do not use BP_SYM.
28885 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
28886 "bp-asm.h".
28887 (PARMS): Do not use macros from bp-asm.h.
28888 (STR): Likewise.
28889 (STOP): Likewise.
28890 (strpbrk): Likewise. Do not use BP_SYM.
28891 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
28892 "bp-asm.h".
28893 (PARMS): Do not use macros from bp-asm.h.
28894 (STR): Likewise.
28895 (CHR): Likewise.
28896 (strrchr): Likewise. Do not use BP_SYM.
28897 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
28898 (PARMS): Do not use macros from bp-asm.h.
28899 (SKIP): Likewise.
28900 (strspn): Do not use BP_SYM.
28901 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
28902 (PARMS): Do not use macros from bp-asm.h.
28903 (STR): Likewise.
28904 (DELIM): Likewise.
28905 (SAVE): Likewise.
28906 (FUNCTION): Likewise. Do not use BP_SYM.
28907 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
28908 aliases.
28909 (strtok_r): Likewise.
28910 (__GI___strtok_r): Likewise.
28911 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28912 (PARMS): Do not use macros from bp-asm.h.
28913 (S1): Likewise.
28914 (S2): Likewise.
28915 (SIZE): Likewise.
28916 (__mpn_sub_n): Do not use BP_SYM.
28917 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
28918 "bp-asm.h".
28919 (PARMS): Do not use macros from bp-asm.h.
28920 (S1): Likewise.
28921 (SIZE): Likewise.
28922 (__mpn_submul_1): Do not use BP_SYM.
28923 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
28924 <bp-sym.h>.
28925 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
28926 and <bp-asm.h>.
28927 (PARMS): Do not use macros from bp-asm.h.
28928 (FLAGS): Likewise.
28929 (PTID): Likewise.
28930 (TLS): Likewise.
28931 (CTID): Likewise.
28932 (__clone): Do not use BP_SYM.
28933 (clone): Do not use BP_SYM in weak_alias.
28934 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
28935 and <bp-asm.h>.
28936 (PARMS): Do not use macros from bp-asm.h.
28937 (LEN): Likewise.
28938 (__mmap64): Do not use BP_SYM.
28939 (mmap64): Do not use BP_SYM in weak_alias.
28940 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28941 <bp-sym.h> and <bp-asm.h>.
28942 (PARMS): Do not use macros from bp-asm.h.
28943 (__posix_fadvise64_l64): Do not use BP_SYM.
28944 * sysdeps/unix/sysv/linux/i386/semtimedop.S
28945 (PARMS): Do not use macros from bp-asm.h.
28946 (NSOPS): Likewise.
28947 (semtimedop): Do not use BP_SYM.
28948 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
28949 and <bp-asm.h>.
28950
289512013-02-21 Allan McRae <allan@archlinux.org>
28952
28953 * manual/message.texi (Charset conversion in gettext):
28954 Move @end statement to beginning of line.
28955
289562013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28957
28958 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
28959 static.
28960 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28961 Likewise.
28962
28963 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
28964 (denorm): Likewise.
28965 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
28966 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
28967
289682013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28969
28970 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
28971 tail-call to the resolved function if pltexit isn't needed.
28972
289732013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28974
28975 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
28976 or Y being zero as being unlikely.
28977 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28978 Likewise.
28979
289802013-02-20 Carlos O'Donell <carlos@redhat.com>
28981
28982 * manual/nss.texi (System Databases and Name Service Switch):
28983 Remove frobnicate @pxref.
28984
289852013-02-20 Thomas Schwinge <thomas@codesourcery.com>
28986
28987 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28988 __attribute__ ((unused)) to __attribute__ ((__unused__)).
28989
289902013-02-20 Petr Machata <pmachata@redhat.com>
28991
28992 * elf/elf.h (R_ARM_TARGET1): New macro.
28993 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
28994 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
28995 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
28996 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
28997 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
28998 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
28999 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
29000 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
29001 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
29002 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
29003 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
29004 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
29005 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
29006 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
29007 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
29008 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
29009 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
29010 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
29011 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
29012 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
29013 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
29014 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
29015 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
29016 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
29017 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
29018 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
29019 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
29020 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
29021 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
29022 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
29023 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
29024 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
29025 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
29026 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
29027 (R_ARM_THM_GOT_BREL12): Likewise.
29028 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
29029 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
29030 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
29031 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
29032 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
29033 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
29034 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
29035 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
29036 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
29037
290382013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29039
29040 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29041 __attribute_used__ to __attribute__ ((unused)).
29042
290432013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29044
29045 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
29046 powerpc mpa.c.
29047 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
29048 comment formatting.
29049 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
29050
290512013-02-19 Joseph Myers <joseph@codesourcery.com>
29052
29053 [BZ #13550]
29054 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
29055 Remove macro.
29056 (ENTER): Remove both macro definitions.
29057 (LEAVE): Likewise.
29058 (CHECK_BOUNDS_LOW): Likewise.
29059 (CHECK_BOUNDS_HIGH): Likewise.
29060 (CHECK_BOUNDS_BOTH): Likewise.
29061 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
29062 (RETURN_BOUNDED_POINTER): Likewise.
29063 (RETURN_NULL_BOUNDED_POINTER): Likewise.
29064 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
29065 (POP_ERRNO_LOCATION_RETURN): Likewise.
29066 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
29067 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29068 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
29069 macros.
29070 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29071 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
29072 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
29073 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
29074 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
29075 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
29076 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
29077 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
29078 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
29079 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
29080 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
29081 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
29082 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29083 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
29084 removed macros.
29085 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29086 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
29087 macros.
29088 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29089 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
29090 * sysdeps/i386/i586/memset.S (memset): Likewise.
29091 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
29092 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29093 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
29094 macros.
29095 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29096 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
29097 Change uses of L(2) to L(out).
29098 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
29099 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
29100 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
29101 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29102 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
29103 removed macros.
29104 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29105 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
29106 macros.
29107 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29108 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
29109 (RETURN): Do not use macro LEAVE.
29110 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
29111 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
29112 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
29113 * sysdeps/i386/i686/memset.S (memset): Likewise.
29114 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
29115 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
29116 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29117 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
29118 Likewise.
29119 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29120 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
29121 L(1_2) and L(1_3) into L(1).
29122 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29123 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
29124 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29125 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
29126 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29127 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
29128 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
29129 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29130 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
29131 macros.
29132 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
29133 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29134 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
29135 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
29136 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
29137 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29138 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
29139 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
29140 * sysdeps/i386/strcspn.S (strcspn): Likewise.
29141 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
29142 * sysdeps/i386/strrchr.S (strrchr): Likewise.
29143 * sysdeps/i386/strspn.S (strspn): Likewise.
29144 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
29145 conditional code.
29146 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29147 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
29148 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29149 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
29150 L(1_3) into L(1_1).
29151 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
29152 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29153 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
29154 macros.
29155 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29156
291572013-02-19 Jakub Jelinek <jakub@redhat.com>
29158
29159 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
29160 macro.
29161
291622013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29163
29164 * math/atest-exp.c (exp_mpn): Remove ROUND.
29165 * math/atest-exp2.c (exp_mpn): Likewise.
29166 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
29167
29168 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
29169 * stdlib/tst-tls-atexit-lib.c: Likewise.
29170 * stdlib/tst-tls-atexit.c: Likewise.
29171
291722013-02-18 Mike Frysinger <vapier@gentoo.org>
29173
29174 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
29175 and __attribute_alloc_size__.
29176
291772013-02-18 Mike Frysinger <vapier@gentoo.org>
29178
29179 * include/programs/xmalloc.h: Change __attribute_alloc_size to
29180 __attribute_alloc_size__.
29181 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
29182 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
29183
291842013-02-18 Mike Frysinger <vapier@gentoo.org>
29185
29186 * include/programs/xmalloc.h: New file.
29187 * catgets/gencat.c: Include it.
29188 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
29189 * elf/pldd.c: Likewise.
29190 * iconv/iconv_charmap.c: Likewise.
29191 * iconv/iconvconfig.c: Likewise.
29192 * iconv/strtab.c: Likewise.
29193 * locale/programs/locale.c: Likewise.
29194 * locale/programs/localedef.h: Likewise.
29195 * locale/programs/simple-hash.c: Likewise.
29196 * nscd/nscd.h: Likewise.
29197 * nss/makedb.c: Likewise.
29198 * sysdeps/generic/ldconfig.h: Likewise.
29199
292002013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29201
29202 * Versions.def: Add GLIBC_2.18.
29203 * include/link.h (struct link_map): New member l_tls_dtor_count.
29204 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
29205 (__call_tls_dtors): Likewise.
29206 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
29207 __cxa_thread_atexit_impl.
29208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29209 Likewise.
29210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29211 Likewise.
29212 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
29213 Likewise.
29214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
29215 Likewise.
29216 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29217 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
29218 Likewise.
29219 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
29220 Likewise.
29221 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29222 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29223 Likewise.
29224 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
29225 (tests): Add test case tst-tls-atexit.
29226 (modules-names): Add shared library for tst-tls-atexit.
29227 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
29228 (GLIBC_PRIVATE): Add __call_tls_dtors.
29229 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
29230 for libstdc++.
29231 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
29232 * stdlib/tst-tls-atexit.c: New test case.
29233 * stdlib/tst-tls-atexit-lib.c: New test case.
29234
29235 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
29236
29237 * elf/Versions (ld): Add _dl_find_dso_for_object.
29238 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
29239 * elf/dl-open.c (_dl_find_dso_for_object): New function.
29240 (dl_open_worker): Use _dl_find_dso_for_object.
29241 * elf/dl-sym.c (do_sym): Likewise.
29242 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
29243
292442013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29245
29246 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
29247 Syntactic changes only.
29248 (_dl_runtime_profile): Do a tail-call to the resolved function.
29249
292502013-02-17 Joseph Myers <joseph@codesourcery.com>
29251
29252 [BZ #13550]
29253 * sysdeps/x86_64/bp-asm.h: Remove file.
29254 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
29255 <bp-sym.h> and <bp-asm.h>.
29256 (__clone): Do not use BP_SYM.
29257 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
29258 <bp-sym.h> and <bp-asm.h>.
29259 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29260 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
29261 "bp-asm.h".
29262 (_setjmp): Do not use BP_SYM.
29263 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
29264 "bp-asm.h".
29265 (setjmp): Do not use BP_SYM.
29266 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
29267 libc_hidden_def.
29268 (mempcpy): Do not use BP_SYM in weak_alias.
29269 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
29270 "bp-asm.h".
29271 (strchr): Do not use BP_SYM.
29272 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
29273 "bp-asm.h".
29274 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
29275 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
29276 (_start): Do not use BP_SYM.
29277 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
29278 "bp-asm.h".
29279 (strcat): Do not use BP_SYM.
29280 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
29281 "bp-asm.h".
29282 (STRCMP): Do not use BP_SYM.
29283 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
29284 "bp-asm.h".
29285 (STRCPY): Do not use BP_SYM.
29286 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
29287 "bp-asm.h".
29288 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
29289 "bp-asm.h".
29290 (FUNCTION): Do not use BP_SYM.
29291 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
29292 weak_alias.
29293 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
29294
292952013-02-17 Andreas Jaeger <aj@suse.de>
29296
29297 * time/Versions: Sort entries.
29298 * string/Versions: Likewise.
29299 * resolv/Versions: Likewise.
29300 * posix/Versions: Likewise.
29301 * iconv/Versions: Likewise.
29302 * elf/Versions: Likewise.
29303 * wcsmbs/Versions: Likewise.
29304
293052013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29306
29307 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
29308 loop termination condition.
29309
29310 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
29311 variable to calculate EZ.
29312 (__sqr): Likewise.
29313
29314 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
29315 the lower precision input.
29316
293172013-02-15 Joseph Myers <joseph@codesourcery.com>
29318
29319 [BZ #13550]
29320 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
29321 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
29322 (run-via-rtld-prefix): Do not handle %-bp tests.
29323 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
29324 (all-object-suffixes): Remove .ob.
29325 (bppfx): Remove variable.
29326 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
29327 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
29328 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
29329 [$(build-bounded) = yes] (libtype.ob): Likewise.
29330 * Makerules (elide-routines.ob): Remove variable.
29331 (do-tests-clean): Do not handle *-bp.out.
29332 (common-mostlyclean): Do not handle *-bp and *-bp.out.
29333 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
29334 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
29335 (tests): Do not include $(tests-bp.out).
29336 (xtests): Do not include $(xtests-bp.out).
29337 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
29338 [$(build-bounded) = yes] ($(addprefix
29339 $(objpfx),$(binaries-bounded))): Remove rule.
29340 ($(objpfx)%-bp.out): Remove rule.
29341 * config.make.in (build-bounded): Remove variable.
29342 * crypt/Makefile [$(build-bounded) = yes]
29343 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
29344 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
29345 append to variable.
29346 [$(build-bounded) = yes] (install-lib): Likewise.
29347 [$(build-bounded) = yes] (generated): Likewise.
29348 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
29349 Remove rule.
29350 * intl/Makefile [$(build-bounded) = yes]
29351 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
29352 * math/Makefile [$(build-bounded) = yes]
29353 ($(tests:%=$(objpfx)%-bp): Likewise.
29354 * misc/Makefile [$(build-bounded) = yes]
29355 ($(objpfx)tst-tsearch-bp): Likewise.
29356 * nptl/Makeconfig (bounded-thread-library): Remove variable.
29357 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
29358 Remove dependency.
29359 * string/Makefile (o-objects.ob): Remove variable.
29360 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
29361 (CFLAGS-.ob): Remove variable.
29362 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
29363 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
29364 both definitions of variable.
29365 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
29366 (ASFLAGS-.ob): Remove variable.
29367
293682013-02-14 Joseph Myers <joseph@codesourcery.com>
29369
29370 [BZ #13550]
29371 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
29372 Remove __BOUNDED_POINTERS__ from condition.
29373 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
29374 * string/bits/string2.h [!__NO_STRING_INLINES &&
29375 !__BOUNDED_POINTERS__]: Likewise.
29376 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
29377 Likewise.
29378 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
29379 Remove conditional code.
29380 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
29381 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
29382 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
29383 condition.
29384
29385 [BZ #13550]
29386 * csu/libc-start.c: Do not include <bp-sym.h>.
29387 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
29388 * elf/dl-open.c: Do not include <bp-sym.h>.
29389 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
29390 * math/fegetenv.c: Do not include <bp-sym.h>.
29391 (fegetenv): Do not use BP_SYM in versioned symbols.
29392 * nptl/sysdeps/pthread/bits/libc-lockP.h
29393 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
29394 <bp-sym.h>.
29395 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29396 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
29397 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29398 (__pthread_mutex_destroy): Likewise.
29399 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29400 (__pthread_mutex_lock): Likewise.
29401 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29402 (__pthread_mutex_trylock): Likewise.
29403 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29404 (__pthread_mutex_unlock): Likewise.
29405 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29406 (__pthread_mutexattr_init): Likewise.
29407 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29408 (__pthread_mutexattr_destroy): Likewise.
29409 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29410 (__pthread_mutexattr_settype): Likewise.
29411 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29412 (__pthread_rwlock_init): Likewise.
29413 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29414 (__pthread_rwlock_destroy): Likewise.
29415 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29416 (__pthread_rwlock_rdlock): Likewise.
29417 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29418 (__pthread_rwlock_tryrdlock): Likewise.
29419 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29420 (__pthread_rwlock_wrlock): Likewise.
29421 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29422 (__pthread_rwlock_trywrlock): Likewise.
29423 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29424 (__pthread_rwlock_unlock): Likewise.
29425 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29426 (__pthread_key_create): Likewise.
29427 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29428 (__pthread_setspecific): Likewise.
29429 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29430 (__pthread_getspecific): Likewise.
29431 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
29432 Likewise.
29433 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29434 (_pthread_cleanup_push_defer): Likewise.
29435 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29436 (_pthread_cleanup_pop_restore): Likewise.
29437 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29438 (pthread_setcancelstate): Likewise.
29439 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
29440 <bp-sym.h>.
29441 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
29442 (memchr): Do not use BP_SYM in weak_alias.
29443 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
29444 (fegetenv): Do not use BP_SYM in versioned symbols.
29445 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
29446 (fesetenv): Do not use BP_SYM in versioned symbols.
29447 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29448 (feupdateenv): Do not use BP_SYM in versioned symbols.
29449 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29450 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29451 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
29452 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
29453 (open64): Do not use BP_SYM in weak_alias.
29454 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
29455 (fegetenv): Do not use BP_SYM in versioned symbols.
29456 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
29457 (fesetenv): Do not use BP_SYM in versioned symbols.
29458 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29459 (feupdateenv): Do not use BP_SYM in versioned symbols.
29460 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
29461 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
29462 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
29463 (feraiseexcept): Do not use BP_SYM in versioned symbols.
29464 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29465 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29466 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
29467 <bp-sym.h>.
29468 (__libc_start_main): Do not use BP_SYM.
29469
294702013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29471
29472 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
29473 redundant return line.
29474 (norm): Likewise.
29475 (denorm): Likewise.
29476 (dbl_mp): Likewise.
29477 (sub_magnitudes): Likewise.
29478 (__add): Likewise.
29479 (__sub): Likewise.
29480 (__mul): Likewise.
29481 (__inv): Likewise.
29482 (__dvd): Likewise.
29483 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
29484 (norm): Likewise.
29485 (denorm): Likewise.
29486 (dbl_mp): Likewise.
29487 (sub_magnitudes): Likewise.
29488 (__add): Likewise.
29489 (__sub): Likewise.
29490 (__mul): Likewise.
29491 (__inv): Likewise.
29492 (__dvd): Likewise.
29493
29494 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
29495 instead of __mul.
29496 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29497 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
29498 (cc32): Likewise.
29499
29500 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
29501 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
29502 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
29503 of __mul for squares.
29504 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
29505 function
29506 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
29507 Likewise.
29508 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
29509 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29510
295112013-02-13 Joseph Myers <joseph@codesourcery.com>
29512
29513 [BZ #13550]
29514 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
29515 code.
29516 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
29517 prototype or function definition. Rename ubp_* variables and
29518 parameters. Remove argv definitions conditional on
29519 [__BOUNDED_POINTERS__].
29520 * debug/backtrace.c (__backtrace): Do not use __unbounded.
29521 * elf/dl-runtime.c (_dl_fixup): Likewise.
29522 * include/set-hooks.h (RUN_HOOK): Likewise.
29523 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
29524 definition.
29525 * string/strcpy.c (strcpy): Do not use __unbounded.
29526 * sysdeps/generic/frame.h (struct layout): Likewise.
29527 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
29528 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
29529 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
29530 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
29531 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
29532 (__backtrace): Likewise.
29533 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
29534 use __ptrvalue.
29535 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29536 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29537 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29538 Likewise.
29539 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
29540 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
29541 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
29542 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29543 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
29544 Do not use __unbounded.
29545 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
29546 Rename __unboundedrlimits parameter to rlimits in prototype.
29547 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
29548 Do not use __unbounded.
29549 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
29550 not use __ptrvalue.
29551 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29552 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
29553 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29554 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
29555 __ptrvalue or __unbounded.
29556 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
29557 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
29558 use __unbounded.
29559 (__new_msgctl): Do not use __ptrvalue.
29560 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
29561 __unbounded.
29562 (__libc_msgrcv): Do not use __ptrvalue.
29563 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
29564 startup_info): Do not use __unbounded.
29565 (__libc_start_main): Likewise. Rename ubp_* variables and
29566 parameters. Remove argv definitions conditional on
29567 [__BOUNDED_POINTERS__].
29568 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
29569 __ptrvalue.
29570 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
29571 use __unbounded.
29572 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
29573 or __ptrvalue.
29574 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
29575 use __unbounded.
29576 (__new_shmctl): Do not use __ptrvalue.
29577 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
29578 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
29579 Likewise.
29580 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
29581 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
29582 (__libc_sigaction): Likewise.
29583 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
29584 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
29585 Likewise.
29586 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29587
295882013-02-13 Ondřej Bílka <neleai@seznam.cz>
29589
29590 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
29591
29592 * string/mempcpy.c: Implement by calling memcpy.
29593
295942013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29595
29596 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
29597
29598 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
29599 evaluation.
29600
29601 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
29602 values in the mantissa.
29603
29604 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
29605 minimize writes to Z.
29606 (sub_magnitudes): Simplify code a bit.
29607
296082013-02-12 Roland McGrath <roland@hack.frob.com>
29609
29610 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
29611 from the message. The linker prefixes all warnings with that already.
29612
296132013-02-12 Andreas Schwab <schwab@suse.de>
29614
29615 [BZ #15078]
29616 * posix/regexec.c (extend_buffers): Add parameter min_len.
29617 (check_matching): Pass minimum needed length.
29618 (clean_state_log_if_needed): Likewise.
29619 (get_subexp): Likewise.
29620 * posix/Makefile (tests): Add bug-regex34.
29621 (bug-regex34-ENV): Define.
29622 * posix/bug-regex34.c: New file.
29623
29624 [BZ #11561]
29625 * posix/regcomp.c (parse_bracket_exp): When looking up collating
29626 elements compare against the byte sequence of it, not its name.
29627 * posix/Makefile (tests): Add bug-regex35.
29628 (bug-regex35-ENV): Define.
29629 * posix/bug-regex35.c: New file.
29630
296312013-02-11 Tom de Vries <tom@codesourcery.com>
29632
29633 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
29634 comment.
29635 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
29636 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
29637 (CHECK_EOL): Add undef.
29638
296392013-02-11 Ondřej Bílka <neleai@seznam.cz>
29640
29641 * bits/stdlib-bsearch.h: New file.
29642 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
29643 * stdlib/stdlib.h: Likewise.
29644
296452013-02-11 Roland McGrath <roland@hack.frob.com>
29646
29647 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
29648 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
29649 declaration.
29650 * manual/search.texi (Array Search Function): Add missing const in
29651 lfind prototype.
29652 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
29653 declaration to use rlim_t.
29654 (Basic Scheduling Functions): Remove erroneous const from
29655 sched_getparam prototype. Remove erroneous * from
29656 sched_get_priority_max and sched_get_priority_min prototypes.
29657 (Resource Usage): Fix summary @comment on vtimes to refer to
29658 sys/vtimes.h rather than vtimes.h.
29659 Add missing *s in vtimes prototype.
29660 (Limits on Resources): Fix ulimit prototype to return long int.
29661 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
29662 prototypes to use long int rather than double.
29663 (BSD Random): Fix initstate and setstate to use char *, not void *.
29664 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
29665 prototype to make second argument 'struct aiocb64 *const[]'.
29666 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
29667 (Status of AIO Operations): Remove erroneous const in aio_return and
29668 aio_return64 prototypes.
29669 (Synchronizing I/O): Fix sync prototype to return void.
29670 * manual/startup.texi (Suboptions): Remove an erroneous const in
29671 getsubopt prototype.
29672 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
29673 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
29674 use size_t rather than int.
29675 (Scanning All Users): Likewise for getpwent_r.
29676 (Setting Groups): Add missing const to setgroups prototype.
29677 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
29678 * manual/socket.texi (Host Names): Fix gethostbyaddr and
29679 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
29680 'const void *' rather than 'const char *'.
29681 (Host Address Functions): Likewise for inet_ntop.
29682 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
29683 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
29684 ssize_t for return value.
29685 (Sending Data): Likewise for send, sendto, sendmsg.
29686 (Socket Option Functions): Add a missing const in setsockopt prototype.
29687 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
29688 use wchar_t for the argument.
29689 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
29690 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
29691 take no arguments.
29692 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
29693 double/float/long double for second argument.
29694 Fix return types of significand, significandf, significandl.
29695 * manual/filesys.texi (Setting Permissions): Use mode_t for second
29696 argument in fchmod prototype.
29697 (File Owner): Use uid_t and gid_t in fchown prototype.
29698 (File Times): Add const to utimes, futimes, and lutimes prototypes.
29699 (Making Special Files): Use mode_t and dev_t in mknod prototype.
29700 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
29701 use 'const struct dirent **' as argument types to CMP function pointer
29702 argument.
29703 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
29704 (File Times): Fix summary magic @comment for struct utimbuf and utime
29705 to refer to utime.h, not time.h.
29706 * manual/string.texi (Argz Functions): Add missing const in
29707 argz_extract and argz_next prototypes.
29708 (Finding Tokens in a String): Likewise for basename.
29709 (String/Array Comparison): Fix typo in wcscasecmp prototype.
29710 (Copying and Concatenation): Fix typo in wmemmove prototype.
29711 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
29712 (Signal Stack): Remove erroneous const in sigstack prototype.
29713 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
29714 prototype.
29715 (Simple Calendar Time): Likewise for stime.
29716 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
29717 prototype.
29718 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
29719 say sys/sysctl.h instead.
29720 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
29721 and vsyslog prototypes.
29722
297232013-02-11 Tom de Vries <tom@codesourcery.com>
29724
29725 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
29726 Remove.
29727
297282013-02-11 Roland McGrath <roland@hack.frob.com>
29729
29730 * misc/sys/mman.h: Fix typo in mremap comment.
29731
297322013-02-08 Roland McGrath <roland@hack.frob.com>
29733
29734 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
29735 the '\0' terminator.
29736
297372013-02-08 Joseph Myers <joseph@codesourcery.com>
29738
29739 [BZ #13550]
29740 * debug/segfault.c: Don't include <bp-checks.h>.
29741 * sysdeps/generic/bp-checks.h: Remove file.
29742 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
29743 (__GETDENTS): Don't use CHECK_N.
29744 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
29745 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29746 (__getgroups): Don't use CHECK_N.
29747 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
29748 (setgroups): Don't use CHECK_N.
29749 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
29750 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
29751 (__libc_msgrcv): Don't use CHECK_N.
29752 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
29753 (__libc_msgsnd): Don't use CHECK_N.
29754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
29755 <bp-checks.h>.
29756 (__libc_pread): Don't use CHECK_N.
29757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
29758 include <bp-checks.h>.
29759 (__libc_pread64): Don't use CHECK_N.
29760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
29761 include <bp-checks.h>.
29762 (__libc_pwrite): Don't use CHECK_N.
29763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
29764 include <bp-checks.h>.
29765 (__libc_pwrite64): Don't use CHECK_N.
29766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
29767 <bp-checks.h>.
29768 (__libc_pread): Don't use CHECK_N.
29769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
29770 include <bp-checks.h>.
29771 (__libc_pread64): Don't use CHECK_N.
29772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
29773 include <bp-checks.h>.
29774 (__libc_pwrite): Don't use CHECK_N.
29775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
29776 include <bp-checks.h>.
29777 (__libc_pwrite64): Don't use CHECK_N.
29778 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
29779 (do_pread): Don't use CHECK_N.
29780 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
29781 (do_pread64): Don't use CHECK_N.
29782 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
29783 (do_pwrite): Don't use CHECK_N.
29784 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
29785 (do_pwrite64): Don't use CHECK_N.
29786 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
29787 (__libc_readv): Don't use CHECK_N.
29788 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
29789 (semop): Don't use CHECK_N.
29790 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
29791 <bp-checks.h>.
29792 (semtimedop): Don't use CHECK_N.
29793 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
29794 (__libc_pread): Don't use CHECK_N.
29795 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
29796 <bp-checks.h>.
29797 (__libc_pread64): Don't use CHECK_N.
29798 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
29799 <bp-checks.h>.
29800 (__libc_pwrite): Don't use CHECK_N.
29801 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
29802 <bp-checks.h>.
29803 (__libc_pwrite64): Don't use CHECK_N.
29804 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
29805 <bp-checks.h>.
29806 (__libc_msgrcv): Don't use CHECK_N.
29807 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
29808 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
29809 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
29810 (__libc_writev): Don't use CHECK_N.
29811
298122013-02-08 Roland McGrath <roland@hack.frob.com>
29813
29814 * string/strcpy.c: Removed unused variable.
29815
29816 * Makeconfig (+sysdep-includes): Define with := rather than =.
29817 Use an existing include/ subdir of each sysdeps dir before it.
29818
298192013-02-08 Carlos O'Donell <carlos@redhat.com>
29820
29821 * nscd/connection.c (register_traced_file): Comment function.
29822 [HAVE_INOTIFY] (union __inev): Define.
29823 [HAVE_INOTIFY] (inotify_check_files): New function.
29824 [HAVE_INOTIFY] (clear_db_cache): Likewise.
29825 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
29826 clear_db_cache.
29827 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
29828
298292013-02-08 Carlos O'Donell <carlos@redhat.com>
29830
29831 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
29832 loaded if not already and that a failure is permanent.
29833
298342013-02-08 Carlos O'Donell <carlos@redhat.com>
29835
29836 [BZ #15006]
29837 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
29838 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
29839
298402013-02-08 Joseph Myers <joseph@codesourcery.com>
29841
29842 [BZ #13550]
29843 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
29844 (CHECK_1_NULL_OK): Likewise.
29845 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
29846 (__fxstat): Do not use CHECK_1.
29847 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
29848 <bp-checks.h>.
29849 (___fxstat64): Do not use CHECK_1.
29850 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29851 <bp-checks.h>.
29852 (__fxstatat): Do not use CHECK_1.
29853 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
29854 <bp-checks.h>.
29855 (__fxstatat64): Do not use CHECK_1.
29856 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
29857 <bp-checks.h>.
29858 (__fxstat): Do not use CHECK_1.
29859 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29860 <bp-checks.h>.
29861 (__fxstatat): Do not use CHECK_1.
29862 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29863 <bp-checks.h>.
29864 (__getresgid): Do not use CHECK_1.
29865 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29866 <bp-checks.h>.
29867 (__getresuid): Do not use CHECK_1.
29868 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
29869 <bp-checks.h>.
29870 (__lxstat): Do not use CHECK_1.
29871 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29872 <bp-checks.h>.
29873 (__old_msgctl): Do not use CHECK_1.
29874 (__new_msgctl): Likewise.
29875 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
29876 <bp-checks.h>.
29877 (__new_setrlimit): Do not use CHECK_1.
29878 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29879 <bp-checks.h>.
29880 (__old_shmctl): Do not use CHECK_1.
29881 (__new_shmctl): Likewise.
29882 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
29883 <bp-checks.h>.
29884 (__xstat): Do not use CHECK_1.
29885 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
29886 (__lxstat): Do not use CHECK_1.
29887 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
29888 <bp-checks.h>.
29889 (___lxstat64): Do not use CHECK_1.
29890 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
29891 (__old_msgctl): Do not use CHECK_1.
29892 (__new_msgctl): Likewise.
29893 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
29894 <bp-checks.h>.
29895 (__gettimeofday): Do not use CHECK_1.
29896 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
29897 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
29898 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
29899 <bp-checks.h>.
29900 (__gettimeofday): Do not use CHECK_1.
29901 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
29902 (__old_shmctl): Do not use CHECK_1_NULL_OK.
29903 (__new_shmctl): Do not use CHECK_1.
29904 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
29905 <bp-checks.h>.
29906 (do_sigtimedwait): Do not use CHECK_1.
29907 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
29908 <bp-checks.h>.
29909 (do_sigwaitinfo): Do not use CHECK_1.
29910 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
29911 <bp-checks.h>.
29912 (msgctl): Do not use CHECK_1.
29913 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
29914 <bp-checks.h>.
29915 (shmctl): Do not use CHECK_1.
29916 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
29917 (ustat): Do not use CHECK_1.
29918 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
29919 <bp-checks.h>.
29920 (__fxstat): Do not use CHECK_1.
29921 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
29922 <bp-checks.h>.
29923 (__fxstatat): Do not use CHECK_1.
29924 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
29925 <bp-checks.h>.
29926 (__lxstat): Do not use CHECK_1.
29927 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
29928 <bp-checks.h>.
29929 (__xstat): Do not use CHECK_1.
29930 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
29931 (__xstat): Do not use CHECK_1.
29932 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
29933 (___xstat64): Do not use CHECK_1.
29934
29935 [BZ #13550]
29936 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
29937 definitions.
29938 (CHECK_BOUNDS_HIGH): Likewise.
29939 * string/strcpy.c: Do not include <bp-checks.h>.
29940 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
29941
299422013-02-07 Roland McGrath <roland@hack.frob.com>
29943
29944 * nscd/nscd-client.h (__nscd_drop_map_ref):
29945 Add __attribute__ ((unused)).
29946 * nis/nss-nisplus.h (niserr2nss): Likewise.
29947
29948 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
29949 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
29950
29951 * csu/libc-tls.c (init_static_tls, init_slotinfo):
29952 Remove inline keyword.
29953 * include/rounding-mode.h (round_away): Likewise.
29954 * libio/wfileops.c (adjust_wide_data): Likewise.
29955 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
29956 (__m128i_strloadu_tolower): Likewise.
29957 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
29958 (__m128i_strloadu_tolower): Likewise.
29959 * time/mktime.c (ydhms_diff): Likewise.
29960 * locale/elem-hash.h (elem_hash): Likewise.
29961 * locale/setlocale.c (setdata): Likewise.
29962 * posix/regex_internal.h (re_string_char_size_at): Likewise.
29963 (re_string_wchar_at): Likewise.
29964 (bitset_not, bitset_merge, bitset_mask): Likewise.
29965 [!(__GNUC__ > 3)] (inline): Remove macro.
29966 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
29967 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
29968 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
29969 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
29970 * string/memcmp.c (memcmp_bytes): Likewise.
29971 * locale/programs/locarchive.c (compute_hashval): Likewise.
29972 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
29973 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
29974 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
29975 * nss/getent.c (print_rpc, print_protocols): Likewise.
29976 (print_passwd, print_group, print_aliases): Likewise.
29977 * nis/nss-nisplus.h (niserr2nss): Likewise.
29978 * nscd/connections.c (restart_p): Likewise.
29979 Change return type to bool.
29980
299812013-02-05 Roland McGrath <roland@hack.frob.com>
29982
29983 * Makeconfig (all-Depend-files): Add existing
29984 $(sorted-subdirs:=/Depend) files.
29985 (all-subdirs): Remove nss.
29986 * sysdeps/unix/inet/Subdirs: Add it here instead.
29987 * hesiod/Depend: New file.
29988
29989 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
29990 instead of calling alloca.
29991
29992 * io/lseek.c (__lseek): Rename to __libc_lseek.
29993 Define __lseek as an alias.
29994
29995 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
29996
299972013-02-04 Carlos O'Donell <carlos@redhat.com>
29998
29999 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
30000 else clause and remove check for non-standard endianness.
30001
300022013-02-04 David S. Miller <davem@davemloft.net>
30003
30004 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30005
300062013-02-04 Joseph Myers <joseph@codesourcery.com>
30007
30008 [BZ #13550]
30009 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
30010 (__ubp_memchr): Remove prototype.
30011 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
30012 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30013 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
30014 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30015 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
30016 Remove alias.
30017 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
30018 (__ubp_memchr): Likewise.
30019 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
30020 (__ubp_memchr): Likewise.
30021 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
30022 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
30023 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
30024 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
30025 CHECK_STRING.
30026 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
30027 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
30028 (__getcwd): Do not use CHECK_STRING.
30029 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30030 <bp-checks.h>.
30031 (__real_chown): Do not use CHECK_STRING.
30032 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
30033 <bp-checks.h>.
30034 (fchownat): Do not use CHECK_STRING.
30035 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
30036 CHECK_STRING.
30037 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30038 <bp-checks.h>.
30039 (__lchown): Do not use CHECK_STRING.
30040 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30041 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30042 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30043 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
30044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30045 include <bp-checks.h>.
30046 (truncate64): Do not use CHECK_STRING.
30047 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30048 <bp-checks.h>.
30049 (__real_chown): Do not use CHECK_STRING.
30050 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30051 <bp-checks.h>.
30052 (__lchown): Do not use CHECK_STRING.
30053 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30054 <bp-checks.h>.
30055 (__chown): Do not use CHECK_STRING.
30056 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
30057 <bp-checks.h>.
30058 (truncate64): Do not use CHECK_STRING.
30059 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
30060 Likewise.
30061 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
30062 (__xmknod): Do not use CHECK_STRING.
30063 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30064 <bp-checks.h>.
30065 (__xmknodat): Do not use CHECK_STRING.
30066 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30067 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
30068
300692013-02-04 Andreas Schwab <schwab@suse.de>
30070
30071 [BZ #14142]
30072 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
30073 * include/netdb.h: Likewise for h_errno.
30074 * elf/tst-stackguard1.c: Include <tls.h>.
30075
300762013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
30077
30078 * elf/link.h (struct link_map): Extend the l_addr comment.
30079 * include/link.h (struct link_map): Likewise.
30080
300812013-02-01 Joseph Myers <joseph@codesourcery.com>
30082
30083 [BZ #13550]
30084 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
30085 (BOUNDED_1): Remove macro.
30086 * debug/backtrace.c: Don't include <bp-checks.h>.
30087 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
30088 (__backtrace): Likewise.
30089 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
30090 <bp-checks.h>.
30091 (__backtrace): Don't use BOUNDED_1.
30092 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
30093 <bp-checks.h>.
30094 (__backtrace): Don't use BOUNDED_1.
30095 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
30096 (__backtrace): Don't use BOUNDED_1.
30097 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
30098 (shmat): Don't use BOUNDED_N.
30099
301002013-01-31 Joseph Myers <joseph@codesourcery.com>
30101
30102 [BZ #13550]
30103 * sysdeps/generic/bp-start.h: Remove file.
30104 * csu/libc-start.c: Don't include <bp-start.h>.
30105 (LIBC_START_MAIN): Set up __environ directly instead of using
30106 INIT_ARGV_and_ENVIRON.
30107 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
30108 <bp-start.h>.
30109
30110 [BZ #13550]
30111 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
30112 definitions.
30113 (CHECK_FCNTL): Likewise.
30114 (CHECK_N_PAGES): Likewise.
30115
30116 [BZ #13550]
30117 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
30118 definitions.
30119 (CHECK_SIGSET_NULL_OK): Likewise.
30120 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
30121 <bp-checks.h>.
30122 (sigpending): Don't use CHECK_SIGSET.
30123 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
30124 <bp-checks.h>.
30125 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30126 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
30127 <bp-checks.h>.
30128 (do_sigsuspend): Don't use CHECK_SIGSET.
30129 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
30130 use CHECK_SIGSET.
30131 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
30132 (do_sigwait): Don't use CHECK_SIGSET.
30133 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
30134 use CHECK_SIGSET.
30135 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
30136 include <bp-checks.h>.
30137 (sigpending): Don't use CHECK_SIGSET.
30138 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
30139 include <bp-checks.h>.
30140 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30141 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
30142 <bp-checks.h>.
30143 (sigpending): Don't use CHECK_SIGSET.
30144 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
30145 <bp-checks.h>.
30146 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30147
30148 [BZ #13550]
30149 * sysdeps/generic/bp-semctl.h: Remove file.
30150 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
30151 <bp-checks.h> and <bp-semctl.h>.
30152 (__old_semctl): Don't use CHECK_SEMCTL.
30153 (__new_semctl): Likewise.
30154 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
30155 and <bp-semctl.h>.
30156 (__old_semctl): Don't use CHECK_SEMCTL.
30157 (__new_semctl): Likewise.
30158 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
30159 <bp-checks.h> and <bp-semctl.h>.
30160 (__old_semctl): Don't use CHECK_SEMCTL.
30161 (__new_semctl): Likewise.
30162 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
30163 <bp-checks.h> and <bp-semctl.h>.
30164 (semctl): Don't use CHECK_SEMCTL.
30165
30166 [BZ #13550]
30167 * Makerules (elide-bp-thunks): Remove variable.
30168 (elide-routines.oS): Don't use $(elide-bp-thunks).
30169 (elide-routines.os): Likewise.
30170 (elide-routines.o): Likewise.
30171 (elide-routines.op): Likewise.
30172 (elide-routines.og): Likewise.
30173 (objects): Don't use $(bp-thunks).
30174 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
30175 include.
30176 (common-generated): Do not add s-proto-bp.d.
30177 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
30178 (int): Likewise.
30179 (typ): Likewise.
30180 Do not generate makefile rules for bounded-pointer thunks.
30181 * sysdeps/generic/bp-thunks.h: Remove file.
30182 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
30183 * sysdeps/unix/s-proto-bp.S: Likewise.
30184
30185 [BZ #15062]
30186 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
30187 parts of result separately when argument is not close to line from
30188 -i to i and one part of argument is small.
30189 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30190 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30191 * math/libm-test.inc (cacos_test): Add more tests.
30192 (casin_test): Likewise.
30193 (casinh_test): Likewise.
30194 * sysdeps/i386/fpu/libm-test-ulps: Update.
30195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30196
301972013-01-31 David S. Miller <davem@davemloft.net>
30198
30199 * po/de.po: Update from translation team.
30200
302012013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
30202
30203 * time/tzfile.c: Include stdint.h for SIZE_MAX.
30204
302052013-01-25 Thomas Schwinge <thomas@codesourcery.com>
30206
30207 * configure.in (_AC_PROG_CC_C89): New definition.
30208 * configure: Regenerate.
30209
30210 * configure.in (AC_PROG_CPP): New definition.
30211 * configure: Regenerate.
30212
302132013-01-23 Joseph Myers <joseph@codesourcery.com>
30214
30215 * debug/tst-backtrace.h: New file.
30216 * debug/tst-backtrace2.c: Include tst-backtrace.h.
30217 (ret): Remove variable.
30218 (x): Likewise.
30219 (FAIL): Remove macro.
30220 (NO_INLINE): Likewise.
30221 (fn1): Use match function instead of strstr.
30222 * debug/tst-backtrace3.c: Include tst-backtrace.h.
30223 (ret): Remove variable.
30224 (x): Likewise.
30225 (FAIL): Remove macro.
30226 (NO_INLINE): Likewise.
30227 (fn): Use match function instead of strstr.
30228 * debug/tst-backtrace4.c: Include tst-backtrace.h.
30229 (ret): Remove variable.
30230 (x): Likewise.
30231 (FAIL): Remove macro.
30232 (NO_INLINE): Likewise.
30233 (handle_signal): Use match function instead of strstr.
30234 * debug/tst-backtrace5.c: Include tst-backtrace.h.
30235 (ret): Remove variable.
30236 (x): Likewise.
30237 (FAIL): Remove macro.
30238 (NO_INLINE): Likewise.
30239 (handle_signal): Use match function instead of strstr.
30240
302412013-01-23 Roland McGrath <roland@hack.frob.com>
30242
30243 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
30244
302452013-01-23 David S. Miller <davem@davemloft.net>
30246
30247 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
30248 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
30249 argument of CAS if possible.
30250 * sysdeps/sparc/sparc64/bits/atomic.h
30251 (__arch_compare_and_exchange_val_32_acq): Likewise.
30252 (__arch_compare_and_exchange_val_64_acq): Likewise.
30253
302542013-01-23 Pino Toscano <toscano.pino@tiscali.it>
30255
30256 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
30257 * sysdeps/posix/ulimit.c: ... this.
30258 Include <limits.h>.
30259 * sysdeps/unix/bsd/ulimit.c: Remove file.
30260
302612013-01-23 Adam Conrad <adconrad@0c3.net>
30262
30263 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
30264 (LDFLAGS-tst-array5): Likewise.
30265
302662013-01-23 Joseph Myers <joseph@codesourcery.com>
30267
30268 [BZ #15036]
30269 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
30270 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
30271 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
30272 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
30273
302742013-01-21 David S. Miller <davem@davemloft.net>
30275
30276 * sysdeps/sparc/backtrace.c: New file.
30277 * sysdeps/sparc/sparc32/backtrace.h: New file.
30278 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
30279 * sysdeps/sparc/sparc64/backtrace.h: New file.
30280 * sysdeps/sparc/sparc64/backtrace.c: Delete.
30281 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
30282 -funwind-tables.
30283
302842013-01-21 Andreas Schwab <schwab@suse.de>
30285
30286 [BZ #15020]
30287 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
30288 closed its stdout.
30289
302902013-01-20 Andreas Schwab <schwab@linux-m68k.org>
30291
30292 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
30293 "mpa2.h".
30294 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30295
302962013-01-18 Joseph Myers <joseph@codesourcery.com>
30297 Mark Mitchell <mark@codesourcery.com>
30298 Tom de Vries <tom@codesourcery.com>
30299 Paul Pluzhnikov <ppluzhnikov@google.com>
30300
30301 * debug/tst-backtrace2.c: New file.
30302 * debug/tst-backtrace3.c: Likewise.
30303 * debug/tst-backtrace4.c: Likewise.
30304 * debug/tst-backtrace5.c: Likewise.
30305 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
30306 (CFLAGS-tst-backtrace3.c): Likewise.
30307 (CFLAGS-tst-backtrace4.c): Likewise.
30308 (CFLAGS-tst-backtrace5.c): Likewise.
30309 (LDFLAGS-tst-backtrace2): Likewise.
30310 (LDFLAGS-tst-backtrace3): Likewise.
30311 (LDFLAGS-tst-backtrace4): Likewise.
30312 (LDFLAGS-tst-backtrace5): Likewise.
30313 (tests): Add new tests tst-backtrace2, tst-backtrace3,
30314 tst-backtrace4 and tst-backtrace5.
30315
303162013-01-18 Anton Blanchard <anton@samba.org>
30317 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30318
30319 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
30320 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
30321 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
30322 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
30323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30324 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
30325 "+r" and remove output regs list as redundant. Add explicit inline
30326 asm to specify register of return val to work around compiler codegen
30327 bug. Remove (int) cast on return value. Add return type parameter to
30328 use in macro so that this macro does not truncate return value for
30329 64-bit values.
30330 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
30331 pass to INTERNAL_VSYSCALL_NCS.
30332 (INLINE_VSYSCALL): Add 'long int' as return type to
30333 INTERNAL_VSYSCALL_NCS macro invocation.
30334 (INTERNAL_VSYSCALL): Add 'long int' as return type to
30335 INTERNAL_VSYSCALL_NCS macro invocation.
30336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30337
303382013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30339
30340 [BZ #14496]
30341 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
30342 Fix application of SIMD FP exception mask.
30343
30344 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
30345 mp_no from a power of two.
30346 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
30347 __mpexp_twomm1. Use __pow_mp.
30348
30349 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
30350 multiplication.
30351
303522013-01-17 David S. Miller <davem@davemloft.net>
30353
30354 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30355
303562013-01-17 Joseph Myers <joseph@codesourcery.com>
30357
30358 [BZ #15023]
30359 * include/complex.h: Condition contents on [!_COMPLEX_H].
30360 (__kernel_casinhf): New prototype.
30361 (__kernel_casinh): Likewise.
30362 (__kernel_casinhl): Likewise.
30363 * math/Makefile (libm_calls): Add k_casinh.
30364 * math/k_casinh.c: New file.
30365 * math/k_casinhf.c: Likewise.
30366 * math/k_casinhl.c: Likewise.
30367 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
30368 finite nonzero arguments.
30369 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
30370 finite nonzero arguments.
30371 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
30372 finite nonzero arguments.
30373 * math/s_casinh.c: Do not include <float.h>.
30374 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
30375 * math/s_casinhf.c: Do not include <float.h>.
30376 (__casinhf): Move code for finite nonzero arguments to
30377 k_casinhf.c.
30378 * math/s_casinhl.c: Do not include <float.h>.
30379 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
30380 redefine.
30381 (__casinhl): Move code for finite nonzero arguments to
30382 k_casinhl.c.
30383 * math/libm-test.inc (cacos_test): Add more tests.
30384 * sysdeps/i386/fpu/libm-test-ulps: Update.
30385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30386
303872013-01-17 Pino Toscano <toscano.pino@tiscali.it>
30388
30389 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
30390 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
30391 [!HAVE_MREMAP]: Remove [defined linux] case.
30392 * malloc/arena.c: Do not include <malloc-sysdep.h>.
30393
303942013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30395
30396 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
30397
303982013-01-17 H.J. Lu <hongjiu.lu@intel.com>
30399
30400 * elf/elf.h (R_386_SIZE32): New relocation.
30401 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
30402 R_386_SIZE32.
30403 (elf_machine_rela): Likewise.
30404 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30405 R_X86_64_SIZE64 and R_X86_64_SIZE32.
30406
304072013-01-17 Joseph Myers <joseph@codesourcery.com>
30408
30409 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
30410 (FP_FAST_FMA): Do not define.
30411 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
30412 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
30413 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
30414 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
30415 !_SOFT_FLOAT]: Likewise.
30416 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
30417 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
30418 value.
30419 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
30420 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
30421 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
30422 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
30423 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
30424 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
30425 file.
30426
304272013-01-16 Andreas Schwab <schwab@suse.de>
30428
30429 [BZ #14327]
30430 * include/stdlib.h (__mktemp): Add declaration.
30431 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
30432 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
30433
304342013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30435
30436 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
30437 definitions.
30438 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30439 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
30440 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
30441 definitions here.
30442 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
30443 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
30444 definitions.
30445 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
30446 and ONE.
30447 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
30448 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
30449 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
30450 definitions.
30451 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
30452 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
30453 definitions.
30454 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30455
30456 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
30457
304582013-01-15 David S. Miller <davem@davemloft.net>
30459
30460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30461 trunc{,f} to libm-sysdep_routes.
30462 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
30464 file.
30465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
30466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
30467 file.
30468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
30469 file.
30470 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
30471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
30472 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
30473 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
30474 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
30475 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
30476 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
30477 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
30478
30479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30480 nearbyint{,f} to libm-sysdep_routes.
30481 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
30483 New file.
30484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
30485 file.
30486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
30487 New file.
30488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
30489 file.
30490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
30491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
30492 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
30493 file.
30494 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
30495 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
30496 file.
30497 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
30498 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
30499 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
30500
30501 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30502 libc_feholdexcept and libc_fesetenv.
30503
305042013-01-15 Mike Frysinger <vapier@gentoo.org>
30505
30506 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
30507
305082013-01-14 David S. Miller <davem@davemloft.net>
30509
30510 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
30511 (SPARC_ASM_VIS2_IFUNC): Likewise.
30512 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
30513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
30514 use of 'siam' instruction.
30515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
30516 Likewise.
30517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
30518 Likewise.
30519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
30520 Likewise.
30521 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
30522 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
30523 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
30524 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
30525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
30526 file.
30527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
30528 file.
30529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
30530 file.
30531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
30532 file.
30533 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
30534 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
30535 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
30536 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
30537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
30538 new VIS2 routines.
30539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
30540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30542 Likewise.
30543 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30544 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30545 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30546 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
30548 routines to libm-sysdep_routines.
30549 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30550
30551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30552 fdim/fdimf to libm-sysdep_routines.
30553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
30554 file.
30555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
30556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
30557 file.
30558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
30559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
30560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
30561 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
30562 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
30563 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
30564 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
30565
305662013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30567
30568 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
30569 to optimize copies.
30570
30571 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
30572 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30573 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30574
30575 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
30576 local variable MPTWO.
30577 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30578 Likewise.
30579
305802013-01-13 Mike Frysinger <vapier@gentoo.org>
30581
30582 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
30583 GLOB_NOESCAPE.
30584
305852013-01-13 Mike Frysinger <vapier@gentoo.org>
30586
30587 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
30588
305892013-01-13 Mike Frysinger <vapier@gentoo.org>
30590
30591 * manual/pattern.texi (glob_t): Document gl_flags.
30592 (glob64_t): Likewise.
30593
305942013-01-11 David S. Miller <davem@davemloft.net>
30595
30596 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
30597 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
30598 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
30599 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
30600 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
30601 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
30602 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
30603 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
30604 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
30605 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
30606 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
30607 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
30608 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
30609
30610 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30611 sparc V9 rather than using V8 code.
30612 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30613 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30614
30615 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30616 Move to...
30617 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
30618 Here.
30619
306202013-01-11 Roland McGrath <roland@hack.frob.com>
30621
30622 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
30623 not in the main loop.
30624 * configure: Regenerated.
30625
306262013-01-11 Joseph Myers <joseph@codesourcery.com>
30627
30628 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
30629 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
30630 to just #else.
30631 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
30632 [!__GLIBC_HAVE_LONG_LONG] case.
30633 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
30634 condition to just #else.
30635 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
30636 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
30637 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
30638 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
30639 unconditional.
30640 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
30641 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30642 #elif condition to just #else.
30643 * sysdeps/unix/sysv/linux/sys/sysmacros.h
30644 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
30645 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30646 #elif condition to just #else.
30647
306482013-01-11 Steve Ellcey <sellcey@mips.com>
30649
30650 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
30651 (EF_MIPS_ARCH_64): Fix value.
30652 (EF_MIPS_ARCH_32R2): New.
30653 (EF_MIPS_ARCH_64R2): New.
30654
306552013-01-11 H.J. Lu <hongjiu.lu@intel.com>
30656
30657 * Makeconfig (+link-pie-before-libc): New.
30658 (+link-pie-after-libc): Likewise.
30659 (+link-pie-tests): Likewise.
30660 (+link-pie): Rewritten.
30661 (link-before-libc): Remove $(config-LDFLAGS).
30662 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
30663 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
30664 (config-LDFLAGS): Renamed to ...
30665 (rtld-LDFLAGS): This.
30666 (rtld-tests-LDFLAGS): New macro.
30667 (link-libc-rpath-link): Likewise.
30668 (link-libc-tests-rpath-link): Likewise.
30669 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
30670 (link-libc): Prepand $(link-libc-rpath-link).
30671 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
30672 (test-program-prefix): New macro.
30673 (test-via-rtld-prefix): Likewise.
30674 (test-program-cmd): Likewise.
30675 (host-test-program-cmd): Likewise.
30676 * Makefile ($(common-objpfx)testrun.sh): Replace
30677 $(run-program-prefix) with $(test-program-prefix).
30678 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
30679 $(rtld-LDFLAGS).
30680 ($(common-objpfx)shlib.lds): Likewise.
30681 (build-module-helper): Likewise.
30682 ($(common-objpfx)format.lds): Likewise.
30683 * Rules (binaries-pie-tests): New.
30684 (binaries-pie-notests): Likewise.
30685 (binaries-pie): Rewritten.
30686 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
30687 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
30688 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
30689 (make-test-out): Replace $(host-built-program-cmd) with
30690 $(host-test-program-cmd).
30691 * config.make.in (build-hardcoded-path-in-tests): New variable.
30692 * configure.in (--enable-hardcoded-path-in-tests): New configure
30693 option.
30694 (hardcoded_path_in_tests): New AC_SUBST.
30695 * configure: Regenerated.
30696 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
30697 $(built-program-cmd) with $(test-program-cmd).
30698 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
30699 (test_program_cmd): This.
30700 * elf/Makefile ($(objpfx)order.out): Run test with
30701 $(test-program-prefix).
30702 ($(objpfx)order2.out): Likewise.
30703 ($(objpfx)tst-initorder.out): Likewise.
30704 ($(objpfx)tst-initorder2.out): Likewise.
30705 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
30706 $(test-program-cmd).
30707 ($(objpfx)tst-array1-static.out): Likewise.
30708 ($(objpfx)tst-array2.out): Likewise.
30709 ($(objpfx)tst-array3.out): Likewise.
30710 ($(objpfx)tst-array4.out): Likewise.
30711 ($(objpfx)tst-array5.out): Likewise.
30712 ($(objpfx)tst-array5-static.out): Likewise.
30713 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
30714 $(test-program-cmd).
30715 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
30716 $(run-program-prefix) with $(test-program-prefix).
30717 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
30718 (test_program_prefix): This.
30719 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
30720 $(run-program-prefix) with $(test-program-prefix).
30721 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
30722 (test_program_prefix): This.
30723 * iconvdata/tst-tables.sh: Likewise.
30724 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
30725 $(run-program-prefix) with $(test-program-prefix).
30726 ($(objpfx)tst-translit.out): Likewise.
30727 ($(objpfx)tst-gettext2.out): Likewise.
30728 ($(objpfx)tst-gettext4.out): Likewise.
30729 ($(objpfx)tst-gettext6.out): Likewise.
30730 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
30731 (test_program_prefix): This.
30732 * intl/tst-gettext2.sh: Likewise.
30733 * intl/tst-gettext4.sh Likewise.
30734 * intl/tst-gettext6.sh: Likewise.
30735 * intl/tst-translit.sh: Likewise.
30736 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
30737 with $(test-program-cmd).
30738 * libio/Makefile ($(objpfx)test-freopen.out): Replace
30739 $(run-program-prefix) with $(test-program-prefix).
30740 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
30741 (test_program_prefix): This.
30742 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
30743 $(run-program-prefix) with $(test-program-prefix).
30744 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
30745 (test_program_prefix): This.
30746 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
30747 * posix/Makefile ($(objpfx)globtest.out): Replace
30748 $(run-via-rtld-prefix) and $(test-wrapper) with
30749 $(test-program-prefix) and $(test-via-rtld-prefix).
30750 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
30751 $(test-program-prefix).
30752 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
30753 $(host-test-program-cmd).
30754 (tst-spawn-ARGS): Likewise.
30755 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
30756 $(test-program-prefix).
30757 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
30758 (test_via_rtld_prefix): This.
30759 (test_wrapper): Renamed to ...
30760 (test_program_prefix): This.
30761 (run_program_prefix): Replaced by test_program_prefix.
30762 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
30763 (test_program_prefix): This.
30764 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
30765 with $(host-test-program-cmd).
30766 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
30767 $(run-program-prefix) with $(test-program-prefix).
30768 ($(objpfx)tst-printf.out): Likewise.
30769 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
30770 $(test-program-cmd).
30771 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
30772 (test_program_prefix): This.
30773 * stdio-common/tst-unbputc.sh: Likewise.
30774 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
30775 $(run-program-prefix) with $(test-program-prefix).
30776 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
30777 (test_program_prefix): This.
30778 * string/Makefile ($(objpfx)tst-svc.out): Replace
30779 $(built-program-cmd) with $(test-program-cmd).
30780
307812013-01-11 Andreas Jaeger <aj@suse.de>
30782
30783 [BZ #15003]
30784 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
30785 value. Sync with Linux 3.7.
30786
307872013-01-10 David S. Miller <davem@davemloft.net>
30788
30789 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
30790 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30791 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30792
307932013-01-10 Roland McGrath <roland@hack.frob.com>
30794
30795 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
30796 never set.
30797 * configure: Regenerated.
30798
307992013-01-10 David S. Miller <davem@davemloft.net>
30800
30801 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30802 sparc V9 rather than using V8 code.
30803 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30804 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30805
308062013-01-10 Roland McGrath <roland@hack.frob.com>
30807
30808 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
30809 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
30810 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
30811 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
30812 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
30813 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
30814 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
30815 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
30816 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
30817 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
30818 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
30819 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
30820 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
30821 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
30822 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
30823 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
30824 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
30825 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
30826 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
30827 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
30828 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
30829 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
30830 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
30831 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
30832 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
30833 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
30834 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
30835
308362013-01-10 David S. Miller <davem@davemloft.net>
30837
30838 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30839
308402013-01-10 H.J. Lu <hongjiu.lu@intel.com>
30841
30842 * posix/Makefile (tests-static): New variable.
30843 (tests): Add $(tests-static).
30844 (tst-exec-static-ARGS): New variable.
30845 (tst-spawn-static-ARGS): Likewise.
30846 * posix/tst-exec-static.c: New file.
30847 * posix/tst-spawn-static.c: Likewise.
30848 * posix/tst-exec.c: Support run directly.
30849 * posix/tst-spawn.c: Likewise.
30850
308512013-01-10 Joseph Myers <joseph@codesourcery.com>
30852
30853 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
30854 long.
30855 * math/bits/mathcalls.h (llrint): Likewise.
30856 (llround): Likewise.
30857 * stdlib/stdlib.h (struct drand48_data): Likewise.
30858 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
30859 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
30860 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
30861 Likewise.
30862 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
30863 Likewise.
30864 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
30865 (elf_greg_t): Likewise.
30866 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
30867 (__jmp_buf): Likewise.
30868 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
30869 definitions.
30870 (llrint): Likewise, for all definitions.
30871 (llrintl): Likewise.
30872
30873 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
30874 Remove [__GNUC__] condition.
30875 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
30876 condition to just [__USE_ISOC99].
30877 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
30878
308792013-01-10 H.J. Lu <hongjiu.lu@intel.com>
30880
30881 [BZ #14200]
30882 * sysdeps/unix/sysv/linux/x86/bits/environments.h
30883 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
30884 defined.
30885 (_POSIX_V6_ILP32_OFF32): Likewise.
30886 (_XBS5_ILP32_OFF32): Likewise.
30887 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
30888 (__ILP32_OFFBIG_LDFLAGS): Likewise.
30889
308902013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30891
30892 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
30893
30894 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
30895 doubles __mpexp_twomm1. Adjust usage.
30896 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
30897 Remove.
30898
308992013-01-10 Andreas Schwab <schwab@suse.de>
30900
30901 [BZ #14964]
30902 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
30903 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
30904
309052013-01-09 David S. Miller <davem@davemloft.net>
30906
30907 [BZ #15003]
30908 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
30909 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
30910 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
30911 (TCP_FASTOPEN): Define.
30912 (tcp_repair_opt): New structure.
30913 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
30914 enum values.
30915 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
30916 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
30917 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
30918 (tcp_cookie_transactions): New structure.
30919
309202013-01-09 Anton Blanchard <anton@samba.org>
30921
30922 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
30923 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
30924 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
30925 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
30926
309272013-01-09 Joseph Myers <joseph@codesourcery.com>
30928
30929 * include/features.h (__USE_ANSI): Remove.
30930
309312013-01-09 Roland McGrath <roland@hack.frob.com>
30932
30933 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
30934
30935 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
30936
309372013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
30938
30939 * sysdeps/s390/fpu/libm-test-ulps: Update.
30940
30941 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30942
30943 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
30944 (__acr): Likewise.
30945 (__cpy): Likewise.
30946 (norm): Likewise.
30947 (denorm): Likewise.
30948 (__mp_dbl): Likewise.
30949 (__dbl_mp): Likewise.
30950 (add_magnitudes): Likewise.
30951 (sub_magnitudes): Likewise.
30952 (__add): Likewise.
30953 (__sub): Likewise.
30954 (__mul): Likewise.
30955 (__inv): Likewise.
30956 (__dvd): Likewise.
30957 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
30958 (__acr): Likewise.
30959 (__cpy): Likewise.
30960 (norm): Likewise.
30961 (denorm): Likewise.
30962 (__mp_dbl): Likewise.
30963 (__dbl_mp): Likewise.
30964 (add_magnitudes): Likewise.
30965 (sub_magnitudes): Likewise.
30966 (__add): Likewise.
30967 (__sub): Likewise.
30968 (__mul): Likewise.
30969 (__inv): Likewise.
30970 (__dvd): Likewise.
30971 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
30972 (__acr): Likewise.
30973 (__cpy): Likewise.
30974 (norm): Likewise.
30975 (denorm): Likewise.
30976 (__mp_dbl): Likewise.
30977 (__dbl_mp): Likewise.
30978 (add_magnitudes): Likewise.
30979 (sub_magnitudes): Likewise.
30980 (__add): Likewise.
30981 (__sub): Likewise.
30982 (__mul): Likewise.
30983 (__inv): Likewise.
30984 (__dvd): Likewise.
30985
309862013-01-08 Joseph Myers <joseph@codesourcery.com>
30987
30988 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
30989 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
30990 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
30991 2 && __USE_EXTERN_INLINES]: Likewise.
30992
309932013-01-08 Andreas Jaeger <aj@suse.de>
30994
30995 [BZ# 14985]
30996 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
30997 Remove.
30998 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30999 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31000
310012013-01-07 Anton Blanchard <anton@samba.org>
31002
31003 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
31004 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31005 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
31006 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31007 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31008 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31009 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
31010 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31011 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31012 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31013 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31014 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31015 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31016 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31017 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31018 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31019 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31020 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31021 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31022 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31023 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31024 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
31025 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31026 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31027 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
31028 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31029 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31030 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31031 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
31032 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31033 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31034 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31035 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31036 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31037 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31038 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31039 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31040 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31041 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
31042 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31043 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
31044 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31045 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31046
310472013-01-07 Joseph Myers <joseph@codesourcery.com>
31048
31049 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
31050 (__MALLOC_PMT): Likewise.
31051 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
31052 [__GNUC__], only on [_LIBC].
31053 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31054 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
31055 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31056 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
31057 forward declaration.
31058 (realloc_hook_ini): Likewise.
31059 (memalign_hook_ini): Likewise.
31060 (__libc_memalign): Do not use __MALLOC_PMT in variable
31061 declaration.
31062 (__libc_valloc): Likewise.
31063 (__libc_pvalloc): Likewise.
31064 (__libc_calloc): Likewise.
31065 (__posix_memalign): Likewise.
31066
31067 [BZ #14996]
31068 * math/s_casinh.c: Include <float.h>.
31069 (__casinh): Do not do computation with squaring and square root
31070 for large arguments.
31071 * math/s_casinhf.c: Include <float.h>.
31072 (__casinhf): Do not do computation with squaring and square root
31073 for large arguments.
31074 * math/s_casinhl.c: Include <float.h>.
31075 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
31076 (__casinhl): Do not do computation with squaring and square root
31077 for large arguments.
31078 * math/libm-test.inc (casin_test): Add more tests.
31079 (casinh_test): Likewise.
31080 * sysdeps/i386/fpu/libm-test-ulps: Update.
31081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31082
310832013-01-04 H.J. Lu <hongjiu.lu@intel.com>
31084
31085 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
31086 (__x86_64_raw_data_cache_size): Likewise.
31087 (__x86_64_data_cache_size_half): Likewise.
31088 (__x86_64_raw_data_cache_size_half): Likewise.
31089 (__x86_64_shared_cache_size): Likewise.
31090 (__x86_64_raw_shared_cache_size): Likewise.
31091 (__x86_64_shared_cache_size_half): Likewise.
31092 (__x86_64_raw_shared_cache_size_half): Likewise.
31093 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
31094 to ...
31095 (__x86_data_cache_size): This.
31096 (__x86_64_raw_data_cache_size): Renamed to ...
31097 (__x86_raw_data_cache_size): This.
31098 (__x86_64_data_cache_size_half): Renamed to ...
31099 (__x86_data_cache_size_half): This.
31100 (__x86_64_raw_data_cache_size_half): Renamed to ...
31101 (__x86_raw_data_cache_size_half): This.
31102 (__x86_64_shared_cache_size): Renamed to ...
31103 (__x86_shared_cache_size): This.
31104 (__x86_64_raw_shared_cache_size): Renamed to ...
31105 (__x86_raw_shared_cache_size): This.
31106 (__x86_64_shared_cache_size_half): Renamed to ...
31107 (__x86_shared_cache_size_half): This.
31108 (__x86_64_raw_shared_cache_size_half): Renamed to ...
31109 (__x86_raw_shared_cache_size_half): This.
31110 * sysdeps/x86_64/memcpy.S: Updated.
31111 * sysdeps/x86_64/memset.S: Likewise.
31112 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31113 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31114 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31115
311162013-01-04 David S. Miller <davem@davemloft.net>
31117
31118 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31119
311202013-01-04 Andreas Schwab <schwab@linux-m68k.org>
31121
31122 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
31123 1 to avoid redefinition warning.
31124 (__USE_GNU): Don't define.
31125 (init_signaling_nan): Protoize.
31126
31127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31128
311292013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31130
31131 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
31132 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
31133 (__cpymn): Likewise.
31134 (norm): Remove commented code.
31135 (denorm): Likewise.
31136 (__mp_dbl): Likewise.
31137 (__inv): Likewise.
31138 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
31139 (__cpymn): Likewise.
31140 (norm): Remove commented code.
31141 (denorm): Likewise.
31142 (__mp_dbl): Likewise.
31143 (__inv): Likewise.
31144
31145 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
31146 mp_no value for 1.0 and 2.0.
31147 (norm): Use RADIXI instead of radixi.d.
31148 (denorm): Likewise.
31149 (__mul): Use 0.0 instead of zero.d.
31150 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
31151 mp_no value for 1.0 and 2.0.
31152 (norm): Use RADIXI instead of radixi.d.
31153 (denorm): Likewise.
31154 (__mul): Use 0.0 instead of zero.d.
31155
311562013-01-04 Joseph Myers <joseph@codesourcery.com>
31157
31158 [BZ #14994]
31159 * math/s_casinh.c (__casinh): Reduce finite argument to first
31160 quadrant then set signs of results at the end.
31161 * math/s_casinhf.c (__casinhf): Likewise.
31162 * math/s_casinhl.c (__casinhl): Likewise.
31163 * math/libm-test.inc (casin_test): Add more tests.
31164 (casinh_test): Likewise.
31165 * sysdeps/i386/fpu/libm-test-ulps: Update.
31166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31167
311682013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31169
31170 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
31171
31172 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
31173
31174 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
31175 declarations.
31176 (denorm): Likewise.
31177 (__mp_dbl): Likewise.
31178 (__inv): Likewise.
31179
31180 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
31181 and adjust the header comment.
31182
31183 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
31184 variable name from declaration.
31185
311862013-01-03 H.J. Lu <hongjiu.lu@intel.com>
31187
31188 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31189 Initialize COMMON_CPUID_INDEX_7 element.
31190 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
31191 (CPUID_RTM): Likewise.
31192 (HAS_RTM): Likewise.
31193 (COMMON_CPUID_INDEX_7): New enum.
31194
311952013-01-03 Andreas Schwab <schwab@linux-m68k.org>
31196
31197 [BZ #14981]
31198 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
31199 size is zero, record memory as freed.
31200
312012013-01-03 Andreas Jaeger <aj@suse.de>
31202
31203 * po/ia.po: Add new Interlingua translation.
31204
312052012-01-03 Allan McRae <allan@archlinux.org>
31206
31207 * locale/programs/localedef.c: Fix description of '--posix' flag.
31208
312092013-01-02 Joseph Myers <joseph@codesourcery.com>
31210
31211 * NEWS: Update dates in second copyright notice.
31212 * README: Update copyright dates in example.
31213 * manual/libc.texinfo: Update copyright dates.
31214 * scripts/test-installation.pl: Update copyright date in --version
31215 output.
31216
31217 * hurd/ctty-input.c: Fix copyright notice formatting.
31218 * hurd/ctty-output.c: Likewise.
31219 * hurd/dtable.c: Likewise.
31220 * hurd/hurd-raise.c: Likewise.
31221 * hurd/hurdprio.c: Likewise.
31222 * hurd/msgportdemux.c: Likewise.
31223 * misc/sys/file.h: Likewise.
31224 * misc/sys/ioctl.h: Likewise.
31225 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
31226 * sysdeps/mach/hurd/chdir.c: Likewise.
31227 * sysdeps/mach/hurd/fchdir.c: Likewise.
31228 * sysdeps/mach/hurd/rename.c: Likewise.
31229 * sysdeps/mach/hurd/rmdir.c: Likewise.
31230 * sysdeps/mach/hurd/seekdir.c: Likewise.
31231 * sysdeps/mach/hurd/setsid.c: Likewise.
31232 * sysdeps/posix/wait3.c: Likewise.
31233
31234 * All files with FSF copyright notices: Update copyright dates
31235 using scripts/update-copyrights.
31236 * intl/plural.c: Regenerated.
31237 * locale/programs/charmap-kw.h: Likewise.
31238 * locale/programs/locfile-kw.h: Likewise.
31239
312402013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
31241
31242 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
31243 four values.
31244
31245 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
31246 calculation loop and add branch prediction.
31247
31248 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
31249 check access beyond bounds of m1np.
31250
31251 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31252 MPTWO.
31253 (__inv): Remove local variable MPTWO to use the global
31254 constant.
31255 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
31256 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31257 variable MPTWO.
31258 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
31259 MP3HALFS static const.
31260
312612013-01-01 David S. Miller <davem@davemloft.net>
31262
31263 * po/ca.po: Update from translation team.
31264
312652013-01-01 Joseph Myers <joseph@codesourcery.com>
31266
31267 * scripts/update-copyrights: New file.
31268 * Makeconfig: Reformat copyright notice.
31269 * ctype/ctype.h: Likewise.
31270 * debug/swprintf_chk.c: Likewise.
31271 * elf/dl-cache.c: Likewise.
31272 * elf/dl-debug.c: Likewise.
31273 * elf/dl-object.c: Likewise.
31274 * grp/initgroups.c: Likewise.
31275 * hurd/Makefile: Likewise.
31276 * hurd/hurd/signal.h: Likewise.
31277 * hurd/hurdfault.c: Likewise.
31278 * hurd/hurdioctl.c: Likewise.
31279 * hurd/hurdlookup.c: Likewise.
31280 * hurd/intr-msg.c: Likewise.
31281 * iconv/gconv_open.c: Likewise.
31282 * libio/swprintf.c: Likewise.
31283 * locale/lc-ctype.c: Likewise.
31284 * locale/nl_langinfo.c: Likewise.
31285 * mach/Machrules: Likewise.
31286 * mach/Makefile: Likewise.
31287 * malloc/obstack.h: Likewise.
31288 * manual/Makefile: Likewise.
31289 * manual/tsort.awk: Likewise.
31290 * misc/bits/stab.def: Likewise.
31291 * nis/nis_print_group_entry.c: Likewise.
31292 * nis/nis_table.c: Likewise.
31293 * nis/nss_compat/compat-pwd.c: Likewise.
31294 * nis/nss_compat/compat-spwd.c: Likewise.
31295 * po/Makefile: Likewise.
31296 * posix/fnmatch.c: Likewise.
31297 * posix/regex.h: Likewise.
31298 * resolv/Makefile: Likewise.
31299 * resolv/nss_dns/dns-network.c: Likewise.
31300 * resolv/res_hconf.c: Likewise.
31301 * scripts/gen-sorted.awk: Likewise.
31302 * soft-fp/soft-fp.h: Likewise.
31303 * stdio-common/printf.h: Likewise.
31304 * stdlib/monetary.h: Likewise.
31305 * stdlib/random.c: Likewise.
31306 * stdlib/random_r.c: Likewise.
31307 * sysdeps/generic/Makefile: Likewise.
31308 * sysdeps/gnu/Makefile: Likewise.
31309 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31310 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31311 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31312 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31313 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31314 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31315 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31316 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31317 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31318 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31319 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31320 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31321 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31322 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31323 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
31324 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31325 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31326 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31327 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31328 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31329 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31330 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31331 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31332 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31333 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
31334 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31335 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31336 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
31337 * sysdeps/mach/hurd/errnos.awk: Likewise.
31338 * sysdeps/mach/hurd/fork.c: Likewise.
31339 * sysdeps/mach/hurd/getcwd.c: Likewise.
31340 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
31341 * sysdeps/mach/hurd/mmap.c: Likewise.
31342 * sysdeps/mach/hurd/utimes.c: Likewise.
31343 * sysdeps/mach/hurd/xmknod.c: Likewise.
31344 * sysdeps/posix/profil.c: Likewise.
31345 * sysdeps/posix/readdir_r.c: Likewise.
31346 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31347 * sysdeps/powerpc/bits/setjmp.h: Likewise.
31348 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
31349 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31350 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31351 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
31352 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31353 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31354 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31355 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
31356 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31357 * sysdeps/pthread/lio_listio.c: Likewise.
31358 * sysdeps/sparc/dl-procinfo.h: Likewise.
31359 * sysdeps/unix/i386/sysdep.S: Likewise.
31360 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
31361 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
31362 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
31363 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
31364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31365 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
31366 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
31367 * sysdeps/unix/sysv/linux/speed.c: Likewise.
31368 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
31369 * sysdeps/wordsize-32/divdi3.c: Likewise.
31370 * time/sys/time.h: Likewise.
31371 * wcsmbs/Makefile: Likewise.
31372
313732013-01-01 David S. Miller <davem@davemloft.net>
31374
31375 * po/fr.po: Update from translation team.
31376
31377 * catgets/gencat.c: Update copyright year.
31378 * csu/version.c: Likewise.
31379 * debug/catchsegv.sh: Likewise.
31380 * debug/pcprofiledump.c: Likewise.
31381 * debug/xtrace.sh: Likewise.
31382 * elf/ldconfig.c: Likewise.
31383 * elf/ldd.bash.in: Likewise.
31384 * elf/pldd.c: Likewise.
31385 * elf/sotruss.ksh: Likewise.
31386 * elf/sprof.c: Likewise.
31387 * iconv/iconv_prog.c: Likewise.
31388 * iconv/iconvconfig.c: Likewise.
31389 * locale/programs/locale.c: Likewise.
31390 * locale/programs/localedef.c: Likewise.
31391 * login/programs/pt_chown.c: Likewise.
31392 * malloc/memusage.sh: Likewise.
31393 * malloc/memusagestat.c: Likewise.
31394 * malloc/mtrace.pl: Likewise.
31395 * nscd/nscd.c: Likewise.
31396 * nss/getent.c: Likewise.
31397 * nss/makedb.c: Likewise.
31398 * posix/getconf.c: Likewise.
31399
314002012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31401
31402 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
31403 numbers.
31404
314052012-12-30 Mike Frysinger <vapier@gentoo.org>
31406
31407 * math/bits/mathcalls.h (modf): Use __nonnull.
31408
314092012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31410
31411 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
31412 (split): Use macro CN instead of the bare value.
31413 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
31414 could be used.
31415 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
31416 instead of the bare value.
31417 (power1): Likewise.
31418
314192012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31420
31421 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
31422 __ATAN_TWOM.
31423 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31424
31425 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
31426 their values.
31427 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31428 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31429 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
31430 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31431
314322012-12-28 Andreas Jaeger <aj@suse.de>
31433
31434 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
31435 values are from Linux 3.7.
31436
31437 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
31438 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
31439
314402012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31441
31442 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
31443 TRUE case.
31444
31445 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
31446 (norm): Likewise.
31447 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
31448 variables with preprocessor constants.
31449 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31450 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31451 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31452
314532012-12-27 Bruno Haible <bruno@clisp.org>
31454
31455 [BZ #14317]
31456 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
31457 only if needed.
31458
314592012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31460
31461 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
31462 and use variable directly.
31463 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
31464
31465 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31466 MPONE.
31467 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
31468 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31469 variable MPONE.
31470 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31471 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31472 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
31473 include directive. Remove local variable MPONE.
31474 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
31475 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
31476 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31477
314782012-12-25 David S. Miller <davem@davemloft.net>
31479
31480 * version.h (RELEASE): Set to "development".
31481 (VERSION): Set to "2.17.90".
31482 * NEWS: Add 2.18 section.
31483
314842012-12-21 David S. Miller <davem@davemloft.net>
31485
31486 * po/hr.po: Update from translation team.
31487
314882012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31489
31490 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
31491
314922012-12-19 Steve Ellcey <sellcey@mips.com>
31493
31494 * NEWS: Mention new memcpy for MIPS.
31495
314962012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31497
31498 * manual/contrib.texi (Contributors): Spelling correction.
31499
315002012-12-15 David S. Miller <davem@davemloft.net>
31501
31502 * po/ru.po: Update from translation team.
31503
315042012-12-13 David S. Miller <davem@davemloft.net>
31505
31506 * NEWS: Mention IFUNC testsuite enhancements.
31507
31508 * po/pl.po: Update from translation team.
31509 * po/bg.po: Likewise.
31510
31511 * manual/contrib.texi (Contributors): Update entries for Hongjiu
31512 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
31513
315142012-12-11 David S. Miller <davem@davemloft.net>
31515
31516 * po/sv.po: Update from translation team.
31517
31518 * po/vi.po: Update from translation team.
31519
31520 * po/cs.po: Update from translation team.
31521
31522 * po/de.po: Update from translation team.
31523 * po/eo.po: Likewise.
31524 * po/nl.po: Likewise.
31525
315262012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31527
31528 [BZ #14246]
31529 * manual/argp.texi (Argp Helper Functions): Move node to follow
31530 Argp Parsing State.
31531
31532 [BZ #14872]
31533 * manual/conf.texi (Limits on File System Capacity): Mention if
31534 terminating null is included in the max size.
31535
315362012-12-10 Andreas Jaeger <aj@suse.de>
31537
31538 * po/cs.po: Update from translation team.
31539
315402012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31541
31542 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
31543 void pointer and cast to uintptr_t.
31544 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
31545 path.
31546 * sysdeps/s390/s390-64/memcpy.S: Likewise.
31547 * sysdeps/s390/s390-64/memset.S: Likewise.
31548
315492012-12-08 Benno Schulenberg <bensberg@justemail.net>
31550
31551 [BZ #14833]
31552 * menual/message.texi (Message Translation): Fix typos.
31553 (Helper programs for gettext): Likewise.
31554
315552012-12-07 Andreas Schwab <schwab@linux-m68k.org>
31556
31557 [BZ #14898]
31558 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
31559 Change to -1.
31560
315612012-12-07 David S. Miller <davem@davemloft.net>
31562
31563 * po/libc.pot: Update.
31564
315652012-12-07 Richard Henderson <rth@redhat.com>
31566
31567 [BZ #10114]
31568 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
31569 normal/normal case to before the switch.
31570 (_FP_DIV): Likewise.
31571
315722012-12-06 Carlos O'Donell <carlos@systemhalted.org>
31573 Mike Frysinger <vapier@gentoo.org>
31574
31575 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
31576 check for __NR_fadvise64_64.
31577
315782012-12-06 Chris Metcalf <cmetcalf@tilera.com>
31579
31580 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
31581 0, not just to plain "0" as a statement.
31582 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
31583 with cw.
31584
315852012-12-06 Joseph Myers <joseph@codesourcery.com>
31586
31587 * NEWS: Use sourceware.org in Bugzilla URL.
31588
315892012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
31590
31591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31592 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31593
31594 * stdio-common/tst-put-error.c (do_test): Add newline to the
31595 padded test to ensure flush.
31596
315972012-12-05 Jeff Law <law@redhat.com>
31598
31599 * sunrpc/etc.rpc (fedfs_admin): Add entry.
31600
316012012-12-05 Joseph Myers <joseph@codesourcery.com>
31602
31603 * README: Don't refer to ports add-on as distributed separately.
31604 Mention AArch64 in list of systems supported in the ports add-on.
31605
31606 * LICENSES: Add more non-FSF copyright and license notices.
31607
31608 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
31609 ((unused)).
31610
31611 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
31612
31613 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
31614 10000 as width of padded output.
31615
316162012-12-04 Joseph Myers <joseph@codesourcery.com>
31617
31618 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
31619
31620 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
31621 variable LX with __attribute__ ((unused)).
31622 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31623 Likewise.
31624 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31625 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31626 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
31627 with __attribute__ ((unused)).
31628
316292012-12-04 David S. Miller <davem@abraco.davemloft.net>
31630
31631 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
31632
316332012-12-04 Joseph Myers <joseph@codesourcery.com>
31634
31635 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
31636 (CFLAGS-nldbl-acos.c): New variable.
31637 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
31638 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
31639 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
31640 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
31641 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
31642 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
31643 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
31644 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
31645 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
31646 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
31647 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
31648 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
31649 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
31650 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
31651 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
31652 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
31653 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
31654 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
31655 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
31656 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
31657 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
31658 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
31659 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
31660 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
31661 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
31662 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
31663 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
31664 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
31665 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
31666 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
31667 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
31668 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
31669 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
31670 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
31671 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
31672 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
31673 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
31674 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
31675 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
31676 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
31677 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
31678 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
31679 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
31680 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
31681 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
31682 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
31683 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
31684 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
31685 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
31686 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
31687 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
31688 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
31689 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
31690 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
31691 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
31692 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
31693 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
31694 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
31695 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
31696 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
31697 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
31698 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
31699 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
31700 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
31701 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
31702 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
31703 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
31704 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
31705 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
31706 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
31707 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
31708 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
31709 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
31710 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
31711 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
31712 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
31713 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
31714 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
31715 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
31716 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
31717 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
31718 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
31719 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
31720 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
31721 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
31722 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
31723 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
31724 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
31725 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
31726 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
31727 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
31728 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
31729 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
31730 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
31731 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
31732 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
31733 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
31734
31735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31736 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31737
31738 [BZ #14914]
31739 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
31740 whole low double instead of just low 47 bits when splitting values
31741 into two parts.
31742
317432012-12-03 Allan McRae <allan@archlinux.org>
31744
31745 * manual/stdio.texi (Predefined Printf Handlers): Remove
31746 @hsep and @vsep usage.
31747
317482012-12-03 Mike Frysinger <vapier@gentoo.org>
31749
31750 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
31751 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
31752
317532012-12-03 Jeff Law <law@redhat.com>
31754
31755 * time/sys/time.h (settimeofday): Do not mark TV argument
31756 as __nonnull.
31757
317582012-12-01 Mike Frysinger <vapier@gentoo.org>
31759
31760 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
31761 when currently writing and seek to current position when not.
31762 * libio/Makefile (tests): Remove bug-fclose1.
31763 * libio/bug-fclose1.c: Delete.
31764
317652012-12-01 Joseph Myers <joseph@codesourcery.com>
31766
31767 * manual/arith.texi (feenableexcept): Fix typo.
31768 (fedisableexcept): Likewise.
31769
317702012-11-30 Roland McGrath <roland@hack.frob.com>
31771
31772 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
31773 second, differently-typed declaration, rather than a cast.
31774
317752012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31776
31777 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
31778 * include/rpc/svc.h: ... here.
31779
317802012-11-30 Aurelien Jarno <aurel32@debian.org>
31781
31782 [BZ #13013]
31783 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
31784 depending n and resplen2 to catch cases where answer
31785 equals answerp2.
31786
317872012-11-29 Carlos O'Donell <carlos@systemhalted.org>
31788
31789 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
31790 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
31791
317922012-11-29 Mike Frysinger <vapier@gentoo.org>
31793
31794 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
31795
317962012-11-29 Roland McGrath <roland@hack.frob.com>
31797
31798 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
31799
318002012-11-28 Jeff Law <law@redhat.com>
31801
31802 [BZ #13761]
31803 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
31804 dataset_temporary. Track alloca usage into alloca_used.
31805 If dataset is large allocate and release it via malloc/free.
31806
318072012-06-04 Florian Weimer <fweimer@redhat.com>
31808
31809 [BZ #14197]
31810 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
31811
318122012-11-28 David S. Miller <davem@davemloft.net>
31813
31814 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31815
318162012-11-28 Joseph Myers <joseph@codesourcery.com>
31817
31818 [BZ #14803]
31819 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
31820 of pi/2 rounded to nearest to 64 bits.
31821 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
31822 nearest to 64 bits.
31823 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
31824 bits.
31825
318262012-11-28 Jeff Law <law@redhat.com>
31827 Martin Osvald <mosvald@redhat.com>
31828
31829 [BZ #14889]
31830 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
31831 * sunrpc/svc.c: Include time.h.
31832 (__svc_accept_failed): New function.
31833 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
31834 any reason other than EINTR, call __svc_accept_failed.
31835 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
31836 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
31837
318382012-11-28 Andreas Schwab <schwab@suse.de>
31839
31840 * scripts/abilist.awk: Also handle indirect functions in .opd
31841 section.
31842
318432012-11-28 Joseph Myers <joseph@codesourcery.com>
31844
31845 [BZ #13881]
31846 * sysdeps/x86/fpu/powl_helper.c: New file.
31847 * sysdeps/x86/fpu/Makefile: Likewise.
31848 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
31849 (p3): New object.
31850 (__ieee754_powl): Use __powl_helper for finite arguments except
31851 integer exponents below 8.
31852 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
31853 (p3): New object.
31854 (__ieee754_powl): Use __powl_helper for finite arguments except
31855 integer exponents below 8.
31856 * math/libm-test.inc (pow_test): Add more tests and enable some
31857 previously disabled tests.
31858 * sysdeps/i386/fpu/libm-test-ulps: Update.
31859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31860
318612012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31862 Carlos O'Donell <carlos_odonell@mentor.com>
31863
31864 * nss/makedb.c (is_prime): Assert that input is odd and greater
31865 than 4. Note that fact in a comment too.
31866 (next_prime): Add 4 to input.
31867
318682012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31869
31870 [BZ #11741]
31871 * libio/Makefile (tests): Add test case tst-fwrite-error.
31872 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
31873 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
31874 * libio/tst-fwrite-error.c: New test case.
31875
318762012-11-26 H.J. Lu <hongjiu.lu@intel.com>
31877
31878 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
31879 before casting to void *.
31880 * include/libc-internal.h (__pointer_type): New macro.
31881 (__integer_if_pointer_type_sub): Likewise.
31882 (__integer_if_pointer_type): Likewise.
31883 (cast_to_integer): Likewise.
31884 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
31885 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
31886 before casting to atomic64_t.
31887 (atomic_exchange_acq): Likewise.
31888 (__arch_exchange_and_add_body): Likewise.
31889 (__arch_add_body): Likewise.
31890 (atomic_add_negative): Likewise.
31891 (atomic_add_zero): Likewise.
31892
318932012-11-26 Joseph Myers <joseph@codesourcery.com>
31894
31895 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
31896 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
31897 (add_fdes): Likewise.
31898 (linear_search_fdes): Likewise.
31899 (binary_search_unencoded_fdes): Likewise.
31900
319012012-11-26 Andreas Schwab <schwab@linux-m68k.org>
31902
31903 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
31904
319052012-11-24 Adam Conrad <adconrad@0c3.net>
31906
31907 * configure.in: Autodetect C++ header directories.
31908 * configure: Regenerated.
31909
319102012-11-23 Mike Frysinger <vapier@gentoo.org>
31911
31912 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
31913
319142012-11-23 Andreas Schwab <schwab@linux-m68k.org>
31915
31916 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31917
319182012-11-22 Joseph Myers <joseph@codesourcery.com>
31919
31920 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
31921 LDBL_MANT_DIG == 106]: Disable some tests.
31922 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31923 Likewise.
31924 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31925 Likewise.
31926
31927 [BZ #14871]
31928 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
31929 input for small inputs. Return +/- pi/2 for large inputs.
31930 * math/libm-test.inc (atan_test): Add more tests.
31931
31932 * sysdeps/generic/unwind-dw2-fde-glibc.c
31933 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
31934 __attribute__ ((unused)).
31935
31936 [BZ #14645]
31937 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
31938 x * y if x and y are nonzero and z is zero.
31939
31940 [BZ #14811]
31941 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
31942 nonzero exponents with absolute value below 0x1p-117 to +/-
31943 0x1p-117.
31944
31945 [BZ #14869]
31946 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
31947 up arguments below 2**-450, not just those below 2**-500.
31948 * math/libm-test.inc (hypot_test): Add another test.
31949
31950 [BZ #14868]
31951 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
31952 Return a+b for ratio over 2**120, not 2**60.
31953 * math/libm-test.inc (hypot_test): Add another test.
31954
31955 * math/libm-test.inc (clog_test): Use
31956 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
31957 (clog10_test): Likewise.
31958
31959 [BZ #6778]
31960 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
31961
319622012-11-22 Andreas Schwab <schwab@suse.de>
31963
31964 * sysdeps/i386/fpu/libm-test-ulps: Update.
31965
319662012-11-22 Pino Toscano <toscano.pino@tiscali.it>
31967
31968 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
31969 printf output with newline.
31970
319712012-11-21 H.J. Lu <hongjiu.lu@intel.com>
31972
31973 [BZ #14865]
31974 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
31975 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
31976 -z nodlopen, -z initfirst and -z execstack support.
31977 * configure: Regenerated.
31978
31979 * elf/elf.h (DF_1_NODIRECT): New macro.
31980 (DF_1_IGNMULDEF): Likewise.
31981 (DF_1_NOKSYMS): Likewise.
31982 (DF_1_NOHDR): Likewise.
31983 (DF_1_EDITED): Likewise.
31984 (DF_1_NORELOC): Likewise.
31985 (DF_1_SYMINTPOSE): Likewise.
31986 (DF_1_GLOBAUDIT): Likewise.
31987 (DF_1_SINGLETON): Likewise.
31988 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
31989 DT_1_SUPPORTED_MASK bits.
31990 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
31991
319922012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
31993
31994 * sysdeps/unix/make-syscalls.sh: Document prefixes.
31995
319962012-11-20 Thomas Schwinge <thomas@codesourcery.com>
31997
31998 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
31999 macro.
32000
32001 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
32002 (sendmmsg): Move declarations...
32003 * socket/sys/socket.h: ... here.
32004 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
32005 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
32006 include it from...
32007 * socket/recvmmsg.c: ... this new file.
32008 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
32009 (sendmmsg): Rename to __sendmmsg, create weak alias and make
32010 definition of __sendmmsg hidden.
32011 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
32012 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
32013 Move ENOSYS stub into and include it from...
32014 * socket/sendmmsg.c: ... this new file.
32015 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
32016 (sysdep_routines): Move recvmmsg and sendmmsg...
32017 * socket/Makefile (routines): ... here.
32018 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
32019 (GLIBC_PRIVATE): Add __sendmmsg.
32020 * include/sys/socket.h (__sendmmsg): Add declarations.
32021 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
32022 sendmmsg.
32023
320242012-11-20 Joseph Myers <joseph@codesourcery.com>
32025
32026 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
32027 variable I1 with __attribute__ ((unused)).
32028 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32029
320302012-11-19 Joseph Myers <joseph@codesourcery.com>
32031
32032 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
32033 DUMMY variables with __attribute__ ((unused)).
32034
32035 * bits/byteswap.h: Include <bits/types.h>.
32036 (__bswap_64): Use __uint64_t instead of unsigned long long int.
32037
320382012-11-19 Pino Toscano <toscano.pino@tiscali.it>
32039
32040 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
32041 string_t. Do not manually set errno.
32042 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
32043 length with __strnlen. Make sure to both set errno and return it on
32044 failure.
32045
320462012-11-19 David S. Miller <davem@davemloft.net>
32047
32048 With help from Joseph Myers.
32049 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
32050 very large arguments properly.
32051 * math/libm-test.inc (atan_test): New tests.
32052 (atan2_test): New tests.
32053 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32054 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32055
320562012-11-19 Joseph Myers <joseph@codesourcery.com>
32057
32058 [BZ #14856]
32059 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
32060 Define to 3.
32061
32062 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
32063 [POSIX] (EADDRNOTAVAIL): Likewise.
32064 [POSIX] (EAFNOSUPPORT): Likewise.
32065 [POSIX] (EALREADY): Likewise.
32066 [POSIX] (ECONNABORTED): Likewise.
32067 [POSIX] (ECONNREFUSED): Likewise.
32068 [POSIX] (ECONNRESET): Likewise.
32069 [POSIX] (EDESTADDRREQ): Likewise.
32070 [POSIX] (EDQUOT): Likewise.
32071 [POSIX] (EHOSTUNREACH): Likewise.
32072 [POSIX] (EIDRM): Likewise.
32073 [POSIX] (EISCONN): Likewise.
32074 [POSIX] (ELOOP): Likewise.
32075 [POSIX] (EMULTIHOP): Likewise.
32076 [POSIX] (ENETDOWN): Likewise.
32077 [POSIX] (ENETUNREACH): Likewise.
32078 [POSIX] (ENOBUFS): Likewise.
32079 [POSIX] (ENODATA): Likewise.
32080 [POSIX] (ENOLINK): Likewise.
32081 [POSIX] (ENOMSG): Likewise.
32082 [POSIX] (ENOPROTOOPT): Likewise.
32083 [POSIX] (ENOSR): Likewise.
32084 [POSIX] (ENOSTR): Likewise.
32085 [POSIX] (ENOTCONN): Likewise.
32086 [POSIX] (ENOTSOCK): Likewise.
32087 [POSIX] (EOPNOTSUPP): Likewise.
32088 [POSIX] (EOVERFLOW): Likewise.
32089 [POSIX] (EPROTO): Likewise.
32090 [POSIX] (EPROTONOSUPPORT): Likewise.
32091 [POSIX] (EPROTOTYPE): Likewise.
32092 [POSIX] (ESTALE): Likewise.
32093 [POSIX] (ETIME): Likewise.
32094 [POSIX] (ETXTBSY): Likewise.
32095 [POSIX] (EWOULDBLOCK): Likewise.
32096 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
32097 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
32098 [POSIX] (SEEK_CUR): Likewise.
32099 [POSIX] (SEEK_END): Likewise.
32100 [POSIX || UNIX98] (mode_t): Do not require.
32101 [POSIX] (off_t): Likewise.
32102 [POSIX] (pid_t): Likewise.
32103 [POSIX] (sys/stat.h): Do not allow header.
32104 [POSIX] (unistd.h): Likewise.
32105 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
32106 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
32107 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
32108 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
32109 require.
32110 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
32111 sigevent): Specify elements.
32112 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
32113 entry.
32114 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
32115 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
32116
32117 * conform/data/cpio.h-data [POSIX]: Disable whole file.
32118 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
32119 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
32120 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
32121 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
32122 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
32123 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
32124 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
32125 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
32126 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
32127 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
32128 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
32129 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
32130 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
32131 Likewise.
32132 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
32133 Likewise.
32134 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
32135 Likewise.
32136 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
32137 Likewise.
32138 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
32139 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
32140 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
32141 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
32142 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
32143 Specify lower bound on value.
32144 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
32145 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
32146 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
32147 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
32148 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
32149 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
32150 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
32151 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
32152 value.
32153 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
32154 as optional.
32155 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
32156 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
32157 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
32158 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
32159 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
32160 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
32161 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
32162 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
32163 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
32164 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
32165 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
32166 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
32167 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
32168 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
32169 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
32170 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
32171 entry.
32172 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
32173 optional.
32174 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
32175 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
32176 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
32177 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
32178 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
32179 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
32180 Likewise.
32181 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
32182 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
32183 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
32184 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
32185 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
32186 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
32187 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
32188 as optional.
32189 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
32190 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
32191 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
32192 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
32193 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
32194 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
32195 specify as optional.
32196 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
32197 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
32198 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
32199 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
32200 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
32201 [XPG3] (NL_LANGMAX): Likewise.
32202 [POSIX || XPG3] (NL_MSGMAX): Likewise.
32203 [POSIX || XPG3] (NL_NMAX): Likewise.
32204 [POSIX || XPG3] (NL_SETMAX): Likewise.
32205 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
32206 [XPG3] (NZERO): Likewise.
32207 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
32208 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
32209 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
32210 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
32211 (REG_ERANGE): Expect.
32212 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
32213 optional-constant.
32214 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
32215 Use (void) in prototype.
32216 [POSIX] (*_t): Allow.
32217 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
32218 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
32219 (WRDE_BADVAL): Expect.
32220
32221 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
32222 expect.
32223 [XPG3 || XPG4] (O_RSYNC): Likewise.
32224 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
32225 Likewise.
32226 [XPG3 || XPG4] (pthread_sigmask): Likewise.
32227 [XPG3 || XPG4] (sigqueue): Likewise.
32228 [XPG3 || XPG4] (sigtimedwait): Likewise.
32229 [XPG3 || XPG4] (sigwaitinfo): Likewise.
32230 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
32231 [XPG3 || XPG4] (vsnprintf): Likewise.
32232 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
32233 Likewise.
32234 [XPG3 || XPG4] (blksize_t): Likewise.
32235 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
32236 Likewise.
32237 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
32238 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32239 [XPG3 || XPG4] (struct itimerspec): Likewise.
32240 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
32241 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
32242 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
32243 [XPG3 || XPG4] (clockid_t): Likewise.
32244 [XPG3 || XPG4] (timer_t): Likewise.
32245 [XPG3 || XPG4] (clock_getres): Likewise.
32246 [XPG3 || XPG4] (clock_gettime): Likewise.
32247 [XPG3 || XPG4] (clock_settime): Likewise.
32248 [XPG3 || XPG4] (nanosleep): Likewise.
32249 [XPG3 || XPG4] (timer_create): Likewise.
32250 [XPG3 || XPG4] (timer_delete): Likewise.
32251 [XPG3 || XPG4] (timer_gettime): Likewise.
32252 [XPG3 || XPG4] (timer_getoverrun): Likewise.
32253 [XPG3 || XPG4] (timer_settime): Likewise.
32254 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
32255 [XPG3 || XPG4] (getlogin_r): Likewise.
32256 [XPG3 || XPG4] (pread): Likewise.
32257 [XPG3 || XPG4] (pthread_atfork): Likewise.
32258 [XPG3 || XPG4] (pwrite): Likewise.
32259
32260 [BZ #14835]
32261 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
32262 <bits/siginfo.h>.
32263
322642012-11-19 Pino Toscano <toscano.pino@tiscali.it>
32265
32266 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
32267 finalizing MALLSTREAM.
32268
32269 * sysdeps/mach/hurd/syncfs.c: New file.
32270
322712012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32272
32273 [BZ #14719]
32274 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
32275 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
32276 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
32277 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
32278 (_nss_dns_gethostbyname4_r): Likewise.
32279 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
32280 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
32281
322822012-11-19 Peng Haitao <penght@cn.fujitsu.com>
32283
32284 [BZ #13763]
32285 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
32286
322872012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
32288
32289 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
32290 * elf/cache.c (print_entry): Print ",AArch64" for
32291 FLAG_AARCH64_LIB64
32292
32293 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
32294 * elf/cache.c (print_entry): Print ",hard-float" for
32295 FLAG_ARM_LIBHF.
32296
322972012-11-18 David S. Miller <davem@davemloft.net>
32298
32299 With help from Joseph Myers.
32300 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
32301 cutoff to 2**-13.
32302 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
32303 cutoff to 2**-25.
32304 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
32305 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
32306 small.
32307 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
32308 * math/libm-test.inc (y0_test): New tests.
32309 (y1_test): New tests.
32310 * sysdeps/i386/fpu/libm-test-ulps: Update.
32311 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32313
323142012-11-18 Andreas Schwab <schwab@linux-m68k.org>
32315
32316 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
32317 64-bit targets.
32318 * configure: Regenerated.
32319
323202012-11-17 David S. Miller <davem@davemloft.net>
32321
32322 [BZ #14811]
32323 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
32324 nonzero exponents with absolute value below 0x1p-128 to +/-
32325 0x1p-128.
32326
323272012-11-17 Joseph Myers <joseph@codesourcery.com>
32328
32329 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
32330
32331 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
32332
32333 * posix/getconf-speclist.c: New file.
32334 * posix/posix-envs.def: Likewise.
32335 * posix/confstr.c (START_ENV_GROUP): New macro.
32336 (END_ENV_GROUP): Likewise.
32337 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32338 (KNOWN_PRESENT_ENV_STRING): Likewise.
32339 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32340 (UNKNOWN_ENVIRONMENT): Likewise.
32341 (confstr): Include posix-envs.def instead of handling
32342 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
32343 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
32344 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
32345 (END_ENV_GROUP): Likewise.
32346 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32347 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32348 (UNKNOWN_ENVIRONMENT): Likewise.
32349 (__sysconf): Include posix-envs.def instead of handling associated
32350 cases directly here.
32351 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
32352 preprocessing getconf-speclist.c rather than running getconf or
32353 generating empty file.
32354
323552012-11-16 Pino Toscano <toscano.pino@tiscali.it>
32356
32357 * scripts/check-local-headers.sh: Ignore 'mach' headers.
32358
323592012-11-16 Andrej Lajovic <natrij@gmail.com>
32360
32361 [BZ #14672]
32362 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
32363
323642012-11-16 David S. Miller <davem@davemloft.net>
32365
32366 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
32367 smaller than LDBL_EPSILON/2.0L, just return xm1.
32368
323692012-11-16 H.J. Lu <hongjiu.lu@intel.com>
32370
32371 * elf/tst-array1.c (init): Set constructor priority to 1000.
32372 (fini): Set destructor priority to 1000.
32373 * elf/tst-array2dep.c: Likewise.
32374
323752012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32376
32377 [BZ #11741]
32378 * libio/fileops.c (_IO_new_file_write): Correctly return error.
32379 (_IO_new_file_xsputn): Also return EOF if none of the input
32380 data was written when overflow failed.
32381 * libio/iopadn.c (_IO_padn): Likewise.
32382 * libio/iowpadn.c (_IO_wpadn): Likewise.
32383 * stdio-common/tst-put-error.c: Add copyright notice.
32384 (do_test): Add case for printing padded string.
32385 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
32386 _IO_padn returned error.
32387 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
32388 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
32389 return EOF.
32390
323912012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32392
32393 * libio/libioP.h: Add comment note that the references to C++
32394 bits are now obsolete.
32395
323962012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32397
32398 * math/libm-test.inc (check_complex): Use asprintf.
32399
324002012-11-14 Joseph Myers <joseph@codesourcery.com>
32401
32402 * debug/pcprofiledump.c (print_version): Update copyright year.
32403 * malloc/memusagestat.c (print_version): Likewise.
32404
324052012-11-14 H.J. Lu <hongjiu.lu@intel.com>
32406
32407 [BZ #14831]
32408 * elf/Makefile (tests): Add tst-audit8.
32409 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
32410 ($(objpfx)tst-audit8.out): New target.
32411 (tst-audit8-ENV): New variable.
32412 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
32413 audit if l_reloc_result is NULL.
32414 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
32415 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
32416 * elf/tst-audit8.c: New file.
32417
324182012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32419
32420 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
32421 * misc/Makefile (CFLAGS-select.c): Define.
32422 * posix/Makefile (CFLAGS-pause.c): Define.
32423
324242012-11-13 David S. Miller <davem@davemloft.net>
32425
32426 * crypt/Makefile: Move test targets after toplevel Rules
32427 inclusion. Grab any necessary sysdep routines when linking.
32428 * crypt/md5.c (md5_process_block): Remove define, we will always
32429 name it __md5_process_block.
32430 (md5_finish_ctx): Update md5_process_block call.
32431 (md5_stream): Likewise.
32432 (md5_process_bytes): Likewise.
32433 (md5_process_block): Rename to __md5_process_block and move to ...
32434 * crypt/md5-block.c: ... here.
32435 * crypt/sha256.c (sha256_process_block): Move to ...
32436 * crypt/sha256-block.c: ... here.
32437 * crypt/sha512.c (sha512_process_block): Move to ...
32438 * crypt/sha512-block.c: ... here.
32439 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
32440 path.
32441 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
32442 * sysdeps/sparc/sparc64/multiarch/Makefile
32443 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
32444 crypt subdir.
32445 (localedef-aux): Add md5 crypto assembler when in locale subdir.
32446 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
32447 multiarch changes.
32448 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
32449 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
32450 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
32451 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
32452 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
32453 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
32454 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
32455 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
32456 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
32457 file.
32458 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
32459 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
32460 file.
32461 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
32462
324632012-11-13 Joseph Myers <joseph@codesourcery.com>
32464
32465 * timezone/tzselect.ksh: Update from tzcode git revision
32466 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
32467 * timezone/zdump.c: Likewise.
32468 * timezone/zic.c: Likewise.
32469 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
32470 in TZVERSION setting, not $(PKGVERSION).
32471 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
32472 REPORT_BUGS_TO settings.
32473
32474 [BZ #14838]
32475 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
32476 macro.
32477
324782012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32479
32480 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
32481 detection to immediately after _FP_ROUND().
32482 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
32483 bits are 0.
32484
324852012-11-11 David S. Miller <davem@davemloft.net>
32486
32487 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
32488 inttypes.h
32489 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
32490 __close rather than their public counterparts.
32491
324922012-11-10 Joseph Myers <joseph@codesourcery.com>
32493
32494 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
32495 file.
32496 [UNIX98] (sem_timedwait): Do not expect.
32497 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
32498 [XPG4 || UNIX98] (sockatmark): Do not expect.
32499 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
32500 (clock_getcpuclockid): Do not expect.
32501 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
32502 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
32503 Do not expect.
32504 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
32505 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
32506 [UNIX98] (vwscanf): Likewise.
32507 [UNIX98] (vswscanf): Likewise.
32508
325092012-11-09 Joseph Myers <joseph@codesourcery.com>
32510
32511 * timezone/version.h: Remove file.
32512 * timezone/README: Do not refer to version.h.
32513 * timezone/Makefile ($(objpfx)zic.o): New dependency on
32514 $(objpfx)version.h.
32515 ($(objpfx)zdump.o): Likewise.
32516 ($(objpfx)version.h): New target.
32517
32518 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
32519 2012i.
32520 * timezone/README: Don't mention modification to tzselect.ksh.
32521 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
32522 work on unmodified tzselect.ksh. Substitute version numbers in
32523 tzselect.ksh.
32524
32525 * Makefile (format-me): Remove.
32526 (INSTALL): Adjust indentation. Use commands directly instead of
32527 using $(format-me).
32528
32529 * aclocal.m4 (ACX_PKGVERSION): New macro.
32530 (ACX_BUGURL): Likewise.
32531 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
32532 (PKGVERSION): New AC_DEFINE_UNQUOTED.
32533 (REPORT_BUGS_TO): Likewise.
32534 * configure: Regenerated.
32535 * config.h.in (PKGVERSION): New macro.
32536 (REPORT_BUGS_TO): Likewise.
32537 * config.make.in (PKGVERSION): New variable.
32538 (PKGVERSION_TEXI): Likewise.
32539 (REPORT_BUGS_TO): Likewise.
32540 (REPORT_BUGS_TEXI): Likewise.
32541 * Makefile (format-me): Use -I$(common-objpfx)manual.
32542 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
32543 ($(common-objpfx)manual/%): New target.
32544 (manual/%): Remove target.
32545 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
32546 (print_version): Use PKGVERSION.
32547 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
32548 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
32549 and REPORT_BUGS_TO.
32550 ($(objpfx)xtrace): Likewise.
32551 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
32552 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
32553 (print_version): Use PKGVERSION.
32554 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
32555 (do_version): Use PKGVERSION.
32556 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
32557 REPORT_BUGS_TO.
32558 (common-ldd-rewrite): Likewise.
32559 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
32560 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
32561 (print_version): Use PKGVERSION.
32562 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
32563 * elf/pldd.c (argp_program_bug_address): Remove variable.
32564 (more_help): New function.
32565 (argp): Use more_help.
32566 (print_version): Use PKGVERSION.
32567 * elf/sln.c (main): Use PKGVERSION.
32568 (usage): Use REPORT_BUGS_TO.
32569 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
32570 (top level): Use PKGVERSION.
32571 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
32572 (print_version): Use PKGVERSION.
32573 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
32574 (print_version): Use PKGVERSION.
32575 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
32576 (print_version): Use PKGVERSION.
32577 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
32578 (print_version): Use PKGVERSION.
32579 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
32580 (print_version): Use PKGVERSION.
32581 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
32582 (print_version): Use PKGVERSION.
32583 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
32584 and BUGURL.
32585 ($(objpfx)memusage): Likewise.
32586 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
32587 (do_version): Use PKGVERSION.
32588 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
32589 (print_version): Use PKGVERSION.
32590 * malloc/mtrace.pl ($PACKAGE): Remove variable.
32591 ($PKGVERSION): New variable.
32592 ($REPORT_BUGS_TO): Likewise.
32593 (usage): Use $REPORT_BUGS_TO.
32594 (top level): Use $PKGVERSION.
32595 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
32596 ($(objpfx)pkgvers.texi): New rule.
32597 ($(objpfx)stamp-pkgvers): Likewise.
32598 * manual/install.texi: Include pkgvers.texi.
32599 (--with-pkgversion): Document new configure option.
32600 (--with-bugurl): Likewise.
32601 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
32602 than necessarily for this particular distribution. Use
32603 REPORT_BUGS_TO for where to report bugs.
32604 * INSTALL: Regenerated.
32605 * manual/libc.texinfo: Include pkgvers.texi.
32606 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
32607 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
32608 (print_version): Use PKGVERSION.
32609 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
32610 (print_version): Use PKGVERSION.
32611 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
32612 (print_version): Use PKGVERSION.
32613 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
32614 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
32615 macro.
32616 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
32617 (print_version): Use PKGVERSION.
32618 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
32619 (print_version): Use PKGVERSION.
32620 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
32621 and PKGVERSION.
32622
32623 * timezone/checktab.awk: Update from tzcode 2012i.
32624 * timezone/ialloc.c: Likewise.
32625 * timezone/private.h: Likewise.
32626 * timezone/scheck.c: Likewise.
32627 * timezone/tzfile.h: Likewise.
32628 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
32629 (TZVERSION): Hardcode tzcode version number.
32630 * timezone/zdump.c: Update from tzcode 2012i.
32631 * timezone/zic.c: Likewise.
32632 * timezone/version.h: New file.
32633 * timezone/README: Describe version.h. Update upstream location.
32634
32635 [BZ #14824]
32636 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
32637 (mktemp): Enable declaration.
32638 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
32639 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
32640 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
32641 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
32642 Likewise.
32643 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
32644 Likewise.
32645 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
32646 Likewise.
32647 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
32648 Likewise.
32649 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
32650 Likewise.
32651 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
32652 Likewise.
32653
32654 [BZ #14821]
32655 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
32656 offset in buffer as u_int32_t not u_long. Consistently use memcpy
32657 for copies of such integer values.
32658 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32659 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32660
326612012-11-09 Andreas Jaeger <aj@suse.de>
32662
32663 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
32664 definitions and declarations that are provided by
32665 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32666
326672012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32668
32669 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
32670 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
32671 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
32672 definition.
32673
326742012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32675
32676 * elf/elf.h: Update comment before AArch64 relocations.
32677
326782012-11-07 David S. Miller <davem@davemloft.net>
32679
32680 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
32681 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32682 (__start_context): Declare.
32683 (__makecontext_ret): Delete.
32684 (__makecontext): Hook up __start_context instead of
32685 __makecontext_ret.
32686 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
32687 (sysdep_routines): Add __start_context when in stdlib.
32688
326892012-11-07 Joseph Myers <joseph@codesourcery.com>
32690
32691 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
32692 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
32693 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
32694 hardcoded "nm".
32695 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
32696 (READELF): New variable. Use it instead of hardcoded "readelf".
32697
326982012-11-07 H.J. Lu <hongjiu.lu@intel.com>
32699
32700 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
32701 * sysdeps/x86/Makefile: Here.
32702 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
32703 * sysdeps/x86/tst-xmmymm.sh: This.
32704
327052012-11-07 Joseph Myers <joseph@codesourcery.com>
32706
32707 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
32708 expectations.
32709 [UNIX98] (pthread_barrier_t): Do not expect.
32710 [UNIX98] (pthread_barrierattr_t): Likewise.
32711 [UNIX98] (pthread_spinlock_t): Likewise.
32712 [UNIX98] (pthread_barrier_destroy): Likewise.
32713 [UNIX98] (pthread_barrier_init): Likewise.
32714 [UNIX98] (pthread_barrier_wait): Likewise.
32715 [UNIX98] (pthread_barrierattr_destroy): Likewise.
32716 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
32717 [UNIX98] (pthread_barrierattr_init): Likewise.
32718 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
32719 [UNIX98] (pthread_getcpuclockid): Likewise.
32720 [UNIX98] (pthread_mutex_timedlock): Likewise.
32721 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
32722 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
32723 [UNIX98] (pthread_sigmask): Likewise.
32724 [UNIX98] (pthread_spin_destroy): Likewise.
32725 [UNIX98] (pthread_spin_init): Likewise.
32726 [UNIX98] (pthread_spin_lock): Likewise.
32727 [UNIX98] (pthread_spin_trylock): Likewise.
32728 [UNIX98] (pthread_spin_unlock): Likewise.
32729 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
32730 Do not expect.
32731 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
32732 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
32733 [XPG3 || XPG4] (pthread_cond_t): Likewise.
32734 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
32735 [XPG3 || XPG4] (pthread_key_t): Likewise.
32736 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
32737 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
32738 [XPG3 || XPG4] (pthread_once_t): Likewise.
32739 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
32740 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
32741 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
32742 [XPG3 || XPG4] (pthread_t): Likewise.
32743
32744 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
32745 not expect.
32746 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
32747
32748 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
32749 Change function return type to int.
32750
32751 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
32752 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
32753 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
32754 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
32755 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
32756 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
32757 [!POSIX] (posix_madvise): Likewise.
32758 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
32759 && !UNIX98].
32760 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
32761 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
32762 (mode_t): Likewise.
32763 (posix_mem_offset): Likewise.
32764 (posix_typed_mem_get_info): Likewise.
32765 (posix_typed_mem_open): Likewise.
32766
32767 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
32768 Change condition to [XOPEN2K8].
32769
32770 * conform/conformtest.pl: Preprocess allow-header data with -x c
32771 instead of from stdin.
32772 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
32773 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
32774 [C99-based standards] (cerfc): Likewise.
32775 [C99-based standards] (cexp2): Likewise.
32776 [C99-based standards] (cexpm1): Likewise.
32777 [C99-based standards] (clog10): Likewise.
32778 [C99-based standards] (clog1p): Likewise.
32779 [C99-based standards] (clog2): Likewise.
32780 [C99-based standards] (clgamma): Likewise.
32781 [C99-based standards] (ctgamma): Likewise.
32782 [C99-based standards] (cerff): Likewise.
32783 [C99-based standards] (cerfcf): Likewise.
32784 [C99-based standards] (cexp2f): Likewise.
32785 [C99-based standards] (cexpm1f): Likewise.
32786 [C99-based standards] (clog10f): Likewise.
32787 [C99-based standards] (clog1pf): Likewise.
32788 [C99-based standards] (clog2f): Likewise.
32789 [C99-based standards] (clgammaf): Likewise.
32790 [C99-based standards] (ctgammaf): Likewise.
32791 [C99-based standards] (cerfl): Likewise.
32792 [C99-based standards] (cerfcl): Likewise.
32793 [C99-based standards] (cexp2l): Likewise.
32794 [C99-based standards] (cexpm1l): Likewise.
32795 [C99-based standards] (clog10l): Likewise.
32796 [C99-based standards] (clog1pl): Likewise.
32797 [C99-based standards] (clog2l): Likewise.
32798 [C99-based standards] (clgammal): Likewise.
32799 [C99-based standards] (ctgammal): Likewise.
32800 * conform/data/inttypes.h-data [C99-based standards]: Include
32801 stdint.h-data. Remove all expectations for stdint.h contents.
32802 [C99-based standards] (PRI*): Do not allow.
32803 [C99-based standards] (SCN*): Likewise.
32804 [C99-based standards] (*_t): Likewise.
32805 [C99-based-standards] (PRId8): Expect macro.
32806 [C99-based-standards] (PRIi8): Likewise.
32807 [C99-based-standards] (PRIo8): Likewise.
32808 [C99-based-standards] (PRIu8): Likewise.
32809 [C99-based-standards] (PRIx8): Likewise.
32810 [C99-based-standards] (PRIX8): Likewise.
32811 [C99-based-standards] (SCNd8): Likewise.
32812 [C99-based-standards] (SCNi8): Likewise.
32813 [C99-based-standards] (SCNo8): Likewise.
32814 [C99-based-standards] (SCNu8): Likewise.
32815 [C99-based-standards] (SCNx8): Likewise.
32816 [C99-based-standards] (PRIdLEAST8): Likewise.
32817 [C99-based-standards] (PRIiLEAST8): Likewise.
32818 [C99-based-standards] (PRIoLEAST8): Likewise.
32819 [C99-based-standards] (PRIuLEAST8): Likewise.
32820 [C99-based-standards] (PRIxLEAST8): Likewise.
32821 [C99-based-standards] (PRIXLEAST8): Likewise.
32822 [C99-based-standards] (SCNdLEAST8): Likewise.
32823 [C99-based-standards] (SCNiLEAST8): Likewise.
32824 [C99-based-standards] (SCNoLEAST8): Likewise.
32825 [C99-based-standards] (SCNuLEAST8): Likewise.
32826 [C99-based-standards] (SCNxLEAST8): Likewise.
32827 [C99-based-standards] (PRIdFAST8): Likewise.
32828 [C99-based-standards] (PRIiFAST8): Likewise.
32829 [C99-based-standards] (PRIoFAST8): Likewise.
32830 [C99-based-standards] (PRIuFAST8): Likewise.
32831 [C99-based-standards] (PRIxFAST8): Likewise.
32832 [C99-based-standards] (PRIXFAST8): Likewise.
32833 [C99-based-standards] (SCNdFAST8): Likewise.
32834 [C99-based-standards] (SCNiFAST8): Likewise.
32835 [C99-based-standards] (SCNoFAST8): Likewise.
32836 [C99-based-standards] (SCNuFAST8): Likewise.
32837 [C99-based-standards] (SCNxFAST8): Likewise.
32838 [C99-based-standards] (PRId16): Likewise.
32839 [C99-based-standards] (PRIi16): Likewise.
32840 [C99-based-standards] (PRIo16): Likewise.
32841 [C99-based-standards] (PRIu16): Likewise.
32842 [C99-based-standards] (PRIx16): Likewise.
32843 [C99-based-standards] (PRIX16): Likewise.
32844 [C99-based-standards] (SCNd16): Likewise.
32845 [C99-based-standards] (SCNi16): Likewise.
32846 [C99-based-standards] (SCNo16): Likewise.
32847 [C99-based-standards] (SCNu16): Likewise.
32848 [C99-based-standards] (SCNx16): Likewise.
32849 [C99-based-standards] (PRIdLEAST16): Likewise.
32850 [C99-based-standards] (PRIiLEAST16): Likewise.
32851 [C99-based-standards] (PRIoLEAST16): Likewise.
32852 [C99-based-standards] (PRIuLEAST16): Likewise.
32853 [C99-based-standards] (PRIxLEAST16): Likewise.
32854 [C99-based-standards] (PRIXLEAST16): Likewise.
32855 [C99-based-standards] (SCNdLEAST16): Likewise.
32856 [C99-based-standards] (SCNiLEAST16): Likewise.
32857 [C99-based-standards] (SCNoLEAST16): Likewise.
32858 [C99-based-standards] (SCNuLEAST16): Likewise.
32859 [C99-based-standards] (SCNxLEAST16): Likewise.
32860 [C99-based-standards] (PRIdFAST16): Likewise.
32861 [C99-based-standards] (PRIiFAST16): Likewise.
32862 [C99-based-standards] (PRIoFAST16): Likewise.
32863 [C99-based-standards] (PRIuFAST16): Likewise.
32864 [C99-based-standards] (PRIxFAST16): Likewise.
32865 [C99-based-standards] (PRIXFAST16): Likewise.
32866 [C99-based-standards] (SCNdFAST16): Likewise.
32867 [C99-based-standards] (SCNiFAST16): Likewise.
32868 [C99-based-standards] (SCNoFAST16): Likewise.
32869 [C99-based-standards] (SCNuFAST16): Likewise.
32870 [C99-based-standards] (SCNxFAST16): Likewise.
32871 [C99-based-standards] (PRId32): Likewise.
32872 [C99-based-standards] (PRIi32): Likewise.
32873 [C99-based-standards] (PRIo32): Likewise.
32874 [C99-based-standards] (PRIu32): Likewise.
32875 [C99-based-standards] (PRIx32): Likewise.
32876 [C99-based-standards] (PRIX32): Likewise.
32877 [C99-based-standards] (SCNd32): Likewise.
32878 [C99-based-standards] (SCNi32): Likewise.
32879 [C99-based-standards] (SCNo32): Likewise.
32880 [C99-based-standards] (SCNu32): Likewise.
32881 [C99-based-standards] (SCNx32): Likewise.
32882 [C99-based-standards] (PRIdLEAST32): Likewise.
32883 [C99-based-standards] (PRIiLEAST32): Likewise.
32884 [C99-based-standards] (PRIoLEAST32): Likewise.
32885 [C99-based-standards] (PRIuLEAST32): Likewise.
32886 [C99-based-standards] (PRIxLEAST32): Likewise.
32887 [C99-based-standards] (PRIXLEAST32): Likewise.
32888 [C99-based-standards] (SCNdLEAST32): Likewise.
32889 [C99-based-standards] (SCNiLEAST32): Likewise.
32890 [C99-based-standards] (SCNoLEAST32): Likewise.
32891 [C99-based-standards] (SCNuLEAST32): Likewise.
32892 [C99-based-standards] (SCNxLEAST32): Likewise.
32893 [C99-based-standards] (PRIdFAST32): Likewise.
32894 [C99-based-standards] (PRIiFAST32): Likewise.
32895 [C99-based-standards] (PRIoFAST32): Likewise.
32896 [C99-based-standards] (PRIuFAST32): Likewise.
32897 [C99-based-standards] (PRIxFAST32): Likewise.
32898 [C99-based-standards] (PRIXFAST32): Likewise.
32899 [C99-based-standards] (SCNdFAST32): Likewise.
32900 [C99-based-standards] (SCNiFAST32): Likewise.
32901 [C99-based-standards] (SCNoFAST32): Likewise.
32902 [C99-based-standards] (SCNuFAST32): Likewise.
32903 [C99-based-standards] (SCNxFAST32): Likewise.
32904 [C99-based-standards] (PRId64): Likewise.
32905 [C99-based-standards] (PRIi64): Likewise.
32906 [C99-based-standards] (PRIo64): Likewise.
32907 [C99-based-standards] (PRIu64): Likewise.
32908 [C99-based-standards] (PRIx64): Likewise.
32909 [C99-based-standards] (PRIX64): Likewise.
32910 [C99-based-standards] (SCNd64): Likewise.
32911 [C99-based-standards] (SCNi64): Likewise.
32912 [C99-based-standards] (SCNo64): Likewise.
32913 [C99-based-standards] (SCNu64): Likewise.
32914 [C99-based-standards] (SCNx64): Likewise.
32915 [C99-based-standards] (PRIdLEAST64): Likewise.
32916 [C99-based-standards] (PRIiLEAST64): Likewise.
32917 [C99-based-standards] (PRIoLEAST64): Likewise.
32918 [C99-based-standards] (PRIuLEAST64): Likewise.
32919 [C99-based-standards] (PRIxLEAST64): Likewise.
32920 [C99-based-standards] (PRIXLEAST64): Likewise.
32921 [C99-based-standards] (SCNdLEAST64): Likewise.
32922 [C99-based-standards] (SCNiLEAST64): Likewise.
32923 [C99-based-standards] (SCNoLEAST64): Likewise.
32924 [C99-based-standards] (SCNuLEAST64): Likewise.
32925 [C99-based-standards] (SCNxLEAST64): Likewise.
32926 [C99-based-standards] (PRIdFAST64): Likewise.
32927 [C99-based-standards] (PRIiFAST64): Likewise.
32928 [C99-based-standards] (PRIoFAST64): Likewise.
32929 [C99-based-standards] (PRIuFAST64): Likewise.
32930 [C99-based-standards] (PRIxFAST64): Likewise.
32931 [C99-based-standards] (PRIXFAST64): Likewise.
32932 [C99-based-standards] (SCNdFAST64): Likewise.
32933 [C99-based-standards] (SCNiFAST64): Likewise.
32934 [C99-based-standards] (SCNoFAST64): Likewise.
32935 [C99-based-standards] (SCNuFAST64): Likewise.
32936 [C99-based-standards] (SCNxFAST64): Likewise.
32937 [C99-based-standards] (PRIdMAX): Likewise.
32938 [C99-based-standards] (PRIiMAX): Likewise.
32939 [C99-based-standards] (PRIoMAX): Likewise.
32940 [C99-based-standards] (PRIuMAX): Likewise.
32941 [C99-based-standards] (PRIxMAX): Likewise.
32942 [C99-based-standards] (PRIXMAX): Likewise.
32943 [C99-based-standards] (SCNdMAX): Likewise.
32944 [C99-based-standards] (SCNiMAX): Likewise.
32945 [C99-based-standards] (SCNoMAX): Likewise.
32946 [C99-based-standards] (SCNuMAX): Likewise.
32947 [C99-based-standards] (SCNxMAX): Likewise.
32948 [C99-based-standards] (PRIdPTR): Likewise.
32949 [C99-based-standards] (PRIiPTR): Likewise.
32950 [C99-based-standards] (PRIoPTR): Likewise.
32951 [C99-based-standards] (PRIuPTR): Likewise.
32952 [C99-based-standards] (PRIxPTR): Likewise.
32953 [C99-based-standards] (PRIXPTR): Likewise.
32954 [C99-based-standards] (SCNdPTR): Likewise.
32955 [C99-based-standards] (SCNiPTR): Likewise.
32956 [C99-based-standards] (SCNoPTR): Likewise.
32957 [C99-based-standards] (SCNuPTR): Likewise.
32958 [C99-based-standards] (SCNxPTR): Likewise.
32959 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
32960 allow.
32961 * conform/data/stdint.h-data: Update comments to clarify
32962 requirements.
32963 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
32964 type.
32965 [C99-based standards] (INT8_MAX): Likewise.
32966 [C99-based standards] (INT16_MIN): Likewise.
32967 [C99-based standards] (INT16_MAX): Likewise.
32968 [C99-based standards] (INT32_MIN): Likewise.
32969 [C99-based standards] (INT32_MAX): Likewise.
32970 [C99-based standards] (INT64_MIN): Likewise.
32971 [C99-based standards] (INT64_MAX): Likewise.
32972 [C99-based standards] (UINT8_MAX): Likewise.
32973 [C99-based standards] (UINT16_MAX): Likewise.
32974 [C99-based standards] (UINT32_MAX): Likewise.
32975 [C99-based standards] (UINT64_MAX): Likewise.
32976 [C99-based standards] (INT_LEAST8_MIN): Likewise.
32977 [C99-based standards] (INT_LEAST8_MAX): Likewise.
32978 [C99-based standards] (INT_LEAST16_MIN): Likewise.
32979 [C99-based standards] (INT_LEAST16_MAX): Likewise.
32980 [C99-based standards] (INT_LEAST32_MIN): Likewise.
32981 [C99-based standards] (INT_LEAST32_MAX): Likewise.
32982 [C99-based standards] (INT_LEAST64_MIN): Likewise.
32983 [C99-based standards] (INT_LEAST64_MAX): Likewise.
32984 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
32985 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
32986 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
32987 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
32988 [C99-based standards] (INT_FAST8_MIN): Likewise.
32989 [C99-based standards] (INT_FAST8_MAX): Likewise.
32990 [C99-based standards] (INT_FAST16_MIN): Likewise.
32991 [C99-based standards] (INT_FAST16_MAX): Likewise.
32992 [C99-based standards] (INT_FAST32_MIN): Likewise.
32993 [C99-based standards] (INT_FAST32_MAX): Likewise.
32994 [C99-based standards] (INT_FAST64_MIN): Likewise.
32995 [C99-based standards] (INT_FAST64_MAX): Likewise.
32996 [C99-based standards] (UINT_FAST8_MAX): Likewise.
32997 [C99-based standards] (UINT_FAST16_MAX): Likewise.
32998 [C99-based standards] (UINT_FAST32_MAX): Likewise.
32999 [C99-based standards] (UINT_FAST64_MAX): Likewise.
33000 [C99-based standards] (INTPTR_MIN): Likewise.
33001 [C99-based standards] (INTPTR_MAX): Likewise.
33002 [C99-based standards] (UINTPTR_MAX): Likewise.
33003 [C99-based standards] (INTMAX_MIN): Likewise.
33004 [C99-based standards] (INTMAX_MAX): Likewise.
33005 [C99-based standards] (UINTMAX_MAX): Likewise.
33006 [C99-based standards] (PTRDIFF_MIN): Likewise.
33007 [C99-based standards] (PTRDIFF_MAX): Likewise.
33008 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
33009 [C99-based standards] (SIZE_MAX): Likewise.
33010 [C99-based standards] (WCHAR_MAX): Likewise.
33011 [C99-based standards] (WINT_MAX): Likewise.
33012 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
33013 constraint on value.
33014 [C99-based standards] (WCHAR_MIN): Likewise.
33015 [C99-based standards] (WINT_MIN): Likewise.
33016 [C99-based standards] (*_t): Allow.
33017 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
33018 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
33019 Include math.h-data and complex.h-data. Remove all expectations
33020 of math.h and complex.h contents.
33021 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
33022 at end of line.
33023 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
33024 (struct tm): Expect tag.
33025 [C99-based-standards] (wcstof): Expect function.
33026 [C99-based-standards] (wcstold): Likewise.
33027 [C99-based-standards] (wcstoll): Likewise.
33028 [C99-based-standards] (wcstoull): Likewise.
33029 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
33030 macro-int-constant. Specify type.
33031 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
33032 constraint on value.
33033 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33034 Specify type.
33035 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
33036 Specify value.
33037 [ISO C standards]: Do not allow headers.
33038 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
33039 wcs[abcdefghijklmnopqrstuvwxyz]*.
33040 [ISO C standards] (*_t): Do not allow.
33041 * conform/data/wctype.h-data [C99-based standards] (iswblank):
33042 Expect function.
33043 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
33044 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33045 Specify type.
33046 [ISO C standards]: Do not allow headers.
33047 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
33048 is[abcdefghijklmnopqrstuvwxyz]*.
33049 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
33050 to[abcdefghijklmnopqrstuvwxyz]*.
33051 [ISO C standards] (*_t): Do not allow.
33052 * conform/data/stdalign.h-data: New file.
33053 * conform/data/stdbool.h-data: Likewise.
33054 * conform/data/stdnoreturn.h-data: Likewise.
33055
330562012-11-07 Roland McGrath <roland@hack.frob.com>
33057
33058 [BZ #14815]
33059 * manual/filesys.texi (Directory Entries): Typo fix.
33060 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
33061
330622012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33063
33064 * elf/elf.h (EM_AARCH64): New macro.
33065 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
33066 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
33067 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
33068 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
33069 (R_AARCH64_TLSDESC): Likewise.
33070 (NT_ARM_TLS): Likewise.
33071 (NT_ARM_HW_BREAK): Likewise.
33072 (NT_ARM_HW_WATCH): Likewise.
33073
330742012-11-07 Joseph Myers <joseph@codesourcery.com>
33075
33076 [BZ #14811]
33077 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
33078 (__ieee754_powl): Saturate nonzero exponents with absolute value
33079 below 0x1p-79 to +/- 0x1p-79.
33080 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
33081 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
33082 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
33083 nonzero exponents with absolute value below 0x1p-32 to +/-
33084 0x1p-32.
33085 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
33086 (__ieee754_powl): Saturate nonzero exponents with absolute value
33087 below 0x1p-79 to +/- 0x1p-79.
33088 * math/libm-test.inc (pow_test): Add more tests.
33089
330902012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33091
33092 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
33093 _dl_s390_cap_flags with kernel. Increase string length.
33094 (_dl_s390_platforms): Add z196 and zEC12.
33095
330962012-11-07 Joseph Myers <joseph@codesourcery.com>
33097
33098 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
33099 Change XOPEN21K to XOPEN2K.
33100
331012012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
33102
33103 * string/memmove.c: Use memcpy when possible.
33104
331052012-11-06 Andreas Jaeger <aj@suse.de>
33106
33107 * po/eo.po: Update from translation team.
33108
331092012-11-06 Joseph Myers <joseph@codesourcery.com>
33110
33111 [BZ #14793]
33112 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
33113 exponent and small x and y exponents, scale x or y up. Increase
33114 by 2 the exponent used in scaling up.
33115 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33116 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33117 * math/libm-test.inc (fma_test): Add more tests.
33118 (fma_test_towardzero): Likewise.
33119 (fma_test_downward): Likewise.
33120 (fma_test_upward): Likewise.
33121
331222012-11-05 Joseph Myers <joseph@codesourcery.com>
33123
33124 [BZ #14805]
33125 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
33126 fenv_t *.
33127
33128 [BZ #14801]
33129 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
33130 namespace for names of struct fields.
33131 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
33132 fenv_t fields.
33133 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
33134 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
33135
331362012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
33137
33138 [BZ #3665]
33139 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
33140
331412012-11-04 Thomas Schwinge <thomas@codesourcery.com>
33142
33143 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
33144 PTR_DEMANGLE.
33145
33146 [BZ #5246]
33147 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
33148 PTR_DEMANGLE.
33149
331502012-11-04 Joseph Myers <joseph@codesourcery.com>
33151
33152 [BZ #14797]
33153 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
33154 definitely overflow as x * y not x * y + z.
33155 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33156 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33157 * math/libm-test.inc (fma_test): Add more tests.
33158 (fma_test_towardzero): Likewise.
33159 (fma_test_downward): Likewise.
33160 (fma_test_upward): Likewise.
33161
331622012-11-04 Thomas Schwinge <thomas@codesourcery.com>
33163
33164 [BZ #157]
33165
33166 * include/stub-tag.h: Remove file.
33167 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
33168 '#include' of it.
33169 * manual/maint.texi (Porting): Don't reference it.
33170 * Makerules ($(objpfx)stubs): Likewise.
33171 * dirent/closedir.c: Don't include <stub-tag.h>.
33172 * dirent/dirfd.c: Likewise.
33173 * dirent/fdopendir.c: Likewise.
33174 * dirent/getdents.c: Likewise.
33175 * dirent/getdents64.c: Likewise.
33176 * dirent/opendir.c: Likewise.
33177 * dirent/readdir.c: Likewise.
33178 * dirent/readdir64.c: Likewise.
33179 * dirent/readdir64_r.c: Likewise.
33180 * dirent/readdir_r.c: Likewise.
33181 * dirent/rewinddir.c: Likewise.
33182 * dirent/seekdir.c: Likewise.
33183 * dirent/telldir.c: Likewise.
33184 * gmon/profil.c: Likewise.
33185 * grp/setgroups.c: Likewise.
33186 * inet/if_index.c: Likewise.
33187 * io/access.c: Likewise.
33188 * io/chdir.c: Likewise.
33189 * io/chmod.c: Likewise.
33190 * io/chown.c: Likewise.
33191 * io/close.c: Likewise.
33192 * io/dup.c: Likewise.
33193 * io/dup2.c: Likewise.
33194 * io/dup3.c: Likewise.
33195 * io/euidaccess.c: Likewise.
33196 * io/faccessat.c: Likewise.
33197 * io/fchdir.c: Likewise.
33198 * io/fchmod.c: Likewise.
33199 * io/fchmodat.c: Likewise.
33200 * io/fchown.c: Likewise.
33201 * io/fchownat.c: Likewise.
33202 * io/fcntl.c: Likewise.
33203 * io/flock.c: Likewise.
33204 * io/fstatfs.c: Likewise.
33205 * io/fstatfs64.c: Likewise.
33206 * io/fstatvfs.c: Likewise.
33207 * io/fstatvfs64.c: Likewise.
33208 * io/futimens.c: Likewise.
33209 * io/fxstat.c: Likewise.
33210 * io/fxstat64.c: Likewise.
33211 * io/fxstatat.c: Likewise.
33212 * io/fxstatat64.c: Likewise.
33213 * io/getcwd.c: Likewise.
33214 * io/isatty.c: Likewise.
33215 * io/lchmod.c: Likewise.
33216 * io/lchown.c: Likewise.
33217 * io/link.c: Likewise.
33218 * io/linkat.c: Likewise.
33219 * io/lseek.c: Likewise.
33220 * io/lseek64.c: Likewise.
33221 * io/lxstat64.c: Likewise.
33222 * io/mkdir.c: Likewise.
33223 * io/mkdirat.c: Likewise.
33224 * io/mkfifo.c: Likewise.
33225 * io/mkfifoat.c: Likewise.
33226 * io/open.c: Likewise.
33227 * io/open64.c: Likewise.
33228 * io/openat.c: Likewise.
33229 * io/openat64.c: Likewise.
33230 * io/pipe.c: Likewise.
33231 * io/pipe2.c: Likewise.
33232 * io/poll.c: Likewise.
33233 * io/posix_fadvise.c: Likewise.
33234 * io/posix_fadvise64.c: Likewise.
33235 * io/posix_fallocate.c: Likewise.
33236 * io/posix_fallocate64.c: Likewise.
33237 * io/read.c: Likewise.
33238 * io/readlink.c: Likewise.
33239 * io/readlinkat.c: Likewise.
33240 * io/rmdir.c: Likewise.
33241 * io/sendfile.c: Likewise.
33242 * io/sendfile64.c: Likewise.
33243 * io/statfs.c: Likewise.
33244 * io/statfs64.c: Likewise.
33245 * io/statvfs.c: Likewise.
33246 * io/statvfs64.c: Likewise.
33247 * io/symlink.c: Likewise.
33248 * io/symlinkat.c: Likewise.
33249 * io/ttyname.c: Likewise.
33250 * io/ttyname_r.c: Likewise.
33251 * io/umask.c: Likewise.
33252 * io/unlink.c: Likewise.
33253 * io/unlinkat.c: Likewise.
33254 * io/utime.c: Likewise.
33255 * io/utimensat.c: Likewise.
33256 * io/write.c: Likewise.
33257 * io/xmknod.c: Likewise.
33258 * io/xmknodat.c: Likewise.
33259 * io/xstat.c: Likewise.
33260 * io/xstat64.c: Likewise.
33261 * login/getpt.c: Likewise.
33262 * login/grantpt.c: Likewise.
33263 * login/unlockpt.c: Likewise.
33264 * math/e_acoshl.c: Likewise.
33265 * math/e_acosl.c: Likewise.
33266 * math/e_asinl.c: Likewise.
33267 * math/e_atan2l.c: Likewise.
33268 * math/e_atanhl.c: Likewise.
33269 * math/e_coshl.c: Likewise.
33270 * math/e_expl.c: Likewise.
33271 * math/e_fmodl.c: Likewise.
33272 * math/e_gammal_r.c: Likewise.
33273 * math/e_hypotl.c: Likewise.
33274 * math/e_j0l.c: Likewise.
33275 * math/e_j1l.c: Likewise.
33276 * math/e_jnl.c: Likewise.
33277 * math/e_lgammal_r.c: Likewise.
33278 * math/e_log10l.c: Likewise.
33279 * math/e_log2l.c: Likewise.
33280 * math/e_logl.c: Likewise.
33281 * math/e_powl.c: Likewise.
33282 * math/e_rem_pio2l.c: Likewise.
33283 * math/e_sinhl.c: Likewise.
33284 * math/e_sqrtl.c: Likewise.
33285 * math/fclrexcpt.c: Likewise.
33286 * math/fedisblxcpt.c: Likewise.
33287 * math/feenablxcpt.c: Likewise.
33288 * math/fegetenv.c: Likewise.
33289 * math/fegetexcept.c: Likewise.
33290 * math/fegetround.c: Likewise.
33291 * math/feholdexcpt.c: Likewise.
33292 * math/fesetenv.c: Likewise.
33293 * math/fesetround.c: Likewise.
33294 * math/feupdateenv.c: Likewise.
33295 * math/fgetexcptflg.c: Likewise.
33296 * math/fraiseexcpt.c: Likewise.
33297 * math/fsetexcptflg.c: Likewise.
33298 * math/ftestexcept.c: Likewise.
33299 * math/k_cosl.c: Likewise.
33300 * math/k_rem_pio2l.c: Likewise.
33301 * math/k_sinl.c: Likewise.
33302 * math/k_tanl.c: Likewise.
33303 * math/s_asinhl.c: Likewise.
33304 * math/s_atanl.c: Likewise.
33305 * math/s_cbrtl.c: Likewise.
33306 * math/s_erfl.c: Likewise.
33307 * math/s_expm1l.c: Likewise.
33308 * math/s_log1pl.c: Likewise.
33309 * math/s_tanhl.c: Likewise.
33310 * misc/acct.c: Likewise.
33311 * misc/brk.c: Likewise.
33312 * misc/chflags.c: Likewise.
33313 * misc/chroot.c: Likewise.
33314 * misc/fchflags.c: Likewise.
33315 * misc/fgetxattr.c: Likewise.
33316 * misc/flistxattr.c: Likewise.
33317 * misc/fremovexattr.c: Likewise.
33318 * misc/fsetxattr.c: Likewise.
33319 * misc/fsync.c: Likewise.
33320 * misc/ftruncate.c: Likewise.
33321 * misc/futimes.c: Likewise.
33322 * misc/futimesat.c: Likewise.
33323 * misc/getdomain.c: Likewise.
33324 * misc/getdtsz.c: Likewise.
33325 * misc/gethostid.c: Likewise.
33326 * misc/gethostname.c: Likewise.
33327 * misc/getloadavg.c: Likewise.
33328 * misc/getpagesize.c: Likewise.
33329 * misc/getsysstats.c: Likewise.
33330 * misc/getxattr.c: Likewise.
33331 * misc/gtty.c: Likewise.
33332 * misc/ioctl.c: Likewise.
33333 * misc/lgetxattr.c: Likewise.
33334 * misc/listxattr.c: Likewise.
33335 * misc/llistxattr.c: Likewise.
33336 * misc/lremovexattr.c: Likewise.
33337 * misc/lsetxattr.c: Likewise.
33338 * misc/lutimes.c: Likewise.
33339 * misc/madvise.c: Likewise.
33340 * misc/mincore.c: Likewise.
33341 * misc/mlock.c: Likewise.
33342 * misc/mlockall.c: Likewise.
33343 * misc/mmap.c: Likewise.
33344 * misc/mprotect.c: Likewise.
33345 * misc/msync.c: Likewise.
33346 * misc/munlock.c: Likewise.
33347 * misc/munlockall.c: Likewise.
33348 * misc/munmap.c: Likewise.
33349 * misc/preadv.c: Likewise.
33350 * misc/preadv64.c: Likewise.
33351 * misc/ptrace.c: Likewise.
33352 * misc/pwritev.c: Likewise.
33353 * misc/pwritev64.c: Likewise.
33354 * misc/readv.c: Likewise.
33355 * misc/reboot.c: Likewise.
33356 * misc/remap_file_pages.c: Likewise.
33357 * misc/removexattr.c: Likewise.
33358 * misc/revoke.c: Likewise.
33359 * misc/select.c: Likewise.
33360 * misc/setdomain.c: Likewise.
33361 * misc/setegid.c: Likewise.
33362 * misc/seteuid.c: Likewise.
33363 * misc/sethostid.c: Likewise.
33364 * misc/sethostname.c: Likewise.
33365 * misc/setregid.c: Likewise.
33366 * misc/setreuid.c: Likewise.
33367 * misc/setxattr.c: Likewise.
33368 * misc/sstk.c: Likewise.
33369 * misc/stty.c: Likewise.
33370 * misc/swapoff.c: Likewise.
33371 * misc/swapon.c: Likewise.
33372 * misc/sync.c: Likewise.
33373 * misc/syncfs.c: Likewise.
33374 * misc/syscall.c: Likewise.
33375 * misc/truncate.c: Likewise.
33376 * misc/ualarm.c: Likewise.
33377 * misc/usleep.c: Likewise.
33378 * misc/ustat.c: Likewise.
33379 * misc/utimes.c: Likewise.
33380 * misc/vhangup.c: Likewise.
33381 * misc/writev.c: Likewise.
33382 * posix/_exit.c: Likewise.
33383 * posix/alarm.c: Likewise.
33384 * posix/execve.c: Likewise.
33385 * posix/fexecve.c: Likewise.
33386 * posix/fork.c: Likewise.
33387 * posix/fpathconf.c: Likewise.
33388 * posix/getaddrinfo.c: Likewise.
33389 * posix/getegid.c: Likewise.
33390 * posix/geteuid.c: Likewise.
33391 * posix/getgid.c: Likewise.
33392 * posix/getgroups.c: Likewise.
33393 * posix/getlogin.c: Likewise.
33394 * posix/getlogin_r.c: Likewise.
33395 * posix/getpgid.c: Likewise.
33396 * posix/getpid.c: Likewise.
33397 * posix/getppid.c: Likewise.
33398 * posix/getresgid.c: Likewise.
33399 * posix/getresuid.c: Likewise.
33400 * posix/getsid.c: Likewise.
33401 * posix/getuid.c: Likewise.
33402 * posix/glob64.c: Likewise.
33403 * posix/nanosleep.c: Likewise.
33404 * posix/pathconf.c: Likewise.
33405 * posix/pause.c: Likewise.
33406 * posix/posix_madvise.c: Likewise.
33407 * posix/pread.c: Likewise.
33408 * posix/pread64.c: Likewise.
33409 * posix/pwrite.c: Likewise.
33410 * posix/pwrite64.c: Likewise.
33411 * posix/sched_getaffinity.c: Likewise.
33412 * posix/sched_getp.c: Likewise.
33413 * posix/sched_gets.c: Likewise.
33414 * posix/sched_primax.c: Likewise.
33415 * posix/sched_primin.c: Likewise.
33416 * posix/sched_rr_gi.c: Likewise.
33417 * posix/sched_setaffinity.c: Likewise.
33418 * posix/sched_setp.c: Likewise.
33419 * posix/sched_sets.c: Likewise.
33420 * posix/sched_yield.c: Likewise.
33421 * posix/setgid.c: Likewise.
33422 * posix/setlogin.c: Likewise.
33423 * posix/setpgid.c: Likewise.
33424 * posix/setresgid.c: Likewise.
33425 * posix/setresuid.c: Likewise.
33426 * posix/setsid.c: Likewise.
33427 * posix/setuid.c: Likewise.
33428 * posix/sleep.c: Likewise.
33429 * posix/spawni.c: Likewise.
33430 * posix/sysconf.c: Likewise.
33431 * posix/times.c: Likewise.
33432 * posix/wait.c: Likewise.
33433 * posix/wait3.c: Likewise.
33434 * posix/wait4.c: Likewise.
33435 * posix/waitpid.c: Likewise.
33436 * resolv/gai_sigqueue.c: Likewise.
33437 * resource/getpriority.c: Likewise.
33438 * resource/getrlimit.c: Likewise.
33439 * resource/getrusage.c: Likewise.
33440 * resource/nice.c: Likewise.
33441 * resource/setpriority.c: Likewise.
33442 * resource/setrlimit.c: Likewise.
33443 * resource/ulimit.c: Likewise.
33444 * rt/aio_cancel.c: Likewise.
33445 * rt/aio_fsync.c: Likewise.
33446 * rt/aio_read.c: Likewise.
33447 * rt/aio_sigqueue.c: Likewise.
33448 * rt/aio_suspend.c: Likewise.
33449 * rt/aio_write.c: Likewise.
33450 * rt/clock_getres.c: Likewise.
33451 * rt/clock_gettime.c: Likewise.
33452 * rt/clock_nanosleep.c: Likewise.
33453 * rt/clock_settime.c: Likewise.
33454 * rt/lio_listio.c: Likewise.
33455 * rt/mq_close.c: Likewise.
33456 * rt/mq_getattr.c: Likewise.
33457 * rt/mq_notify.c: Likewise.
33458 * rt/mq_open.c: Likewise.
33459 * rt/mq_receive.c: Likewise.
33460 * rt/mq_send.c: Likewise.
33461 * rt/mq_setattr.c: Likewise.
33462 * rt/mq_timedreceive.c: Likewise.
33463 * rt/mq_timedsend.c: Likewise.
33464 * rt/mq_unlink.c: Likewise.
33465 * rt/shm_open.c: Likewise.
33466 * rt/shm_unlink.c: Likewise.
33467 * rt/timer_create.c: Likewise.
33468 * rt/timer_delete.c: Likewise.
33469 * rt/timer_getoverr.c: Likewise.
33470 * rt/timer_gettime.c: Likewise.
33471 * rt/timer_settime.c: Likewise.
33472 * setjmp/__longjmp.c: Likewise.
33473 * setjmp/setjmp.c: Likewise.
33474 * signal/kill.c: Likewise.
33475 * signal/killpg.c: Likewise.
33476 * signal/raise.c: Likewise.
33477 * signal/sigaction.c: Likewise.
33478 * signal/sigaltstack.c: Likewise.
33479 * signal/sigblock.c: Likewise.
33480 * signal/sigignore.c: Likewise.
33481 * signal/sigintr.c: Likewise.
33482 * signal/signal.c: Likewise.
33483 * signal/sigpause.c: Likewise.
33484 * signal/sigpending.c: Likewise.
33485 * signal/sigqueue.c: Likewise.
33486 * signal/sigreturn.c: Likewise.
33487 * signal/sigset.c: Likewise.
33488 * signal/sigsetmask.c: Likewise.
33489 * signal/sigstack.c: Likewise.
33490 * signal/sigsuspend.c: Likewise.
33491 * signal/sigtimedwait.c: Likewise.
33492 * signal/sigvec.c: Likewise.
33493 * signal/sigwait.c: Likewise.
33494 * signal/sigwaitinfo.c: Likewise.
33495 * signal/sysv_signal.c: Likewise.
33496 * socket/accept.c: Likewise.
33497 * socket/accept4.c: Likewise.
33498 * socket/bind.c: Likewise.
33499 * socket/connect.c: Likewise.
33500 * socket/getpeername.c: Likewise.
33501 * socket/getsockname.c: Likewise.
33502 * socket/getsockopt.c: Likewise.
33503 * socket/isfdtype.c: Likewise.
33504 * socket/listen.c: Likewise.
33505 * socket/recv.c: Likewise.
33506 * socket/recvfrom.c: Likewise.
33507 * socket/recvmsg.c: Likewise.
33508 * socket/send.c: Likewise.
33509 * socket/sendmsg.c: Likewise.
33510 * socket/sendto.c: Likewise.
33511 * socket/setsockopt.c: Likewise.
33512 * socket/shutdown.c: Likewise.
33513 * socket/sockatmark.c: Likewise.
33514 * socket/socket.c: Likewise.
33515 * socket/socketpair.c: Likewise.
33516 * stdio-common/ctermid.c: Likewise.
33517 * stdio-common/cuserid.c: Likewise.
33518 * stdio-common/remove.c: Likewise.
33519 * stdio-common/rename.c: Likewise.
33520 * stdio-common/renameat.c: Likewise.
33521 * stdio-common/tempname.c: Likewise.
33522 * stdlib/getcontext.c: Likewise.
33523 * stdlib/makecontext.c: Likewise.
33524 * stdlib/setcontext.c: Likewise.
33525 * stdlib/swapcontext.c: Likewise.
33526 * stdlib/system.c: Likewise.
33527 * streams/fattach.c: Likewise.
33528 * streams/fdetach.c: Likewise.
33529 * streams/getmsg.c: Likewise.
33530 * streams/getpmsg.c: Likewise.
33531 * streams/putmsg.c: Likewise.
33532 * streams/putpmsg.c: Likewise.
33533 * sysdeps/unix/bsd/getpt.c: Likewise.
33534 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
33535 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
33536 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33538 Likewise.
33539 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
33540 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33541 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33542 * sysvipc/msgctl.c: Likewise.
33543 * sysvipc/msgget.c: Likewise.
33544 * sysvipc/msgrcv.c: Likewise.
33545 * sysvipc/msgsnd.c: Likewise.
33546 * sysvipc/semctl.c: Likewise.
33547 * sysvipc/semget.c: Likewise.
33548 * sysvipc/semop.c: Likewise.
33549 * sysvipc/semtimedop.c: Likewise.
33550 * sysvipc/shmat.c: Likewise.
33551 * sysvipc/shmctl.c: Likewise.
33552 * sysvipc/shmdt.c: Likewise.
33553 * sysvipc/shmget.c: Likewise.
33554 * termios/tcdrain.c: Likewise.
33555 * termios/tcflow.c: Likewise.
33556 * termios/tcflush.c: Likewise.
33557 * termios/tcgetattr.c: Likewise.
33558 * termios/tcgetpgrp.c: Likewise.
33559 * termios/tcsendbrk.c: Likewise.
33560 * termios/tcsetattr.c: Likewise.
33561 * termios/tcsetpgrp.c: Likewise.
33562 * time/adjtime.c: Likewise.
33563 * time/clock.c: Likewise.
33564 * time/getitimer.c: Likewise.
33565 * time/gettimeofday.c: Likewise.
33566 * time/setitimer.c: Likewise.
33567 * time/settimeofday.c: Likewise.
33568 * time/stime.c: Likewise.
33569 * time/time.c: Likewise.
33570
335712012-11-04 Pino Toscano <toscano.pino@tiscali.it>
33572
33573 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
33574 /usr/old/bin.
33575
33576 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
33577 instead of spaces.
33578 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
33579
335802012-11-03 Joseph Myers <joseph@codesourcery.com>
33581
33582 [BZ #14796]
33583 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
33584 FE_TONEAREST before applying Dekker multiplication and Knuth
33585 addition. Clear inexact exceptions and check for exact zero
33586 results afterwards.
33587 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33588 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33589 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33590 * math/libm-test.inc (fma_test): Add more tests.
33591 (fma_test_towardzero): Likewise.
33592 (fma_test_downward): Likewise.
33593 (fma_test_upward): Likewise.
33594 * sysdeps/generic/math_private.h (default_libc_fesetround): New
33595 function.
33596 (libc_fesetround): New macro.
33597 (libc_fesetroundf): Likewise.
33598 (libc_fesetroundl): Likewise.
33599 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
33600 function.
33601 (libc_fesetround_387): Likewise.
33602 (libc_fesetroundf): New macro.
33603 (libc_fesetround): Likewise.
33604 (libc_fesetroundl): Likewise.
33605 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
33606 function.
33607 (libc_fesetroundf): New macro.
33608 (libc_fesetround): Likewise.
33609 (libc_fesetroundl): Likewise.
33610 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
33611 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
33612 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
33613 libm_hidden_ver.
33614 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
33615 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
33616 libm_hidden_def.
33617 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
33618 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
33619 libm_hidden_ver.
33620 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
33621 libm_hidden_def.
33622
33623 [BZ #3439]
33624 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
33625 integer constant usable in #if and use that to give value to enum
33626 constant.
33627 (FE_DIVBYZERO): Likewise.
33628 (FE_UNDERFLOW): Likewise.
33629 (FE_OVERFLOW): Likewise.
33630 (FE_INVALID): Likewise.
33631 (FE_INVALID_SNAN): Likewise.
33632 (FE_INVALID_ISI): Likewise.
33633 (FE_INVALID_IDI): Likewise.
33634 (FE_INVALID_ZDZ): Likewise.
33635 (FE_INVALID_IMZ): Likewise.
33636 (FE_INVALID_COMPARE): Likewise.
33637 (FE_INVALID_SOFTWARE): Likewise.
33638 (FE_INVALID_SQRT): Likewise.
33639 (FE_INVALID_INTEGER_CONVERSION): Likewise.
33640 (FE_TONEAREST): Likewise.
33641 (FE_TOWARDZERO): Likewise.
33642 (FE_UPWARD): Likewise.
33643 (FE_DOWNWARD): Likewise.
33644 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
33645 (FE_DIVBYZERO): Likewise.
33646 (FE_OVERFLOW): Likewise.
33647 (FE_UNDERFLOW): Likewise.
33648 (FE_INEXACT): Likewise.
33649 (FE_TONEAREST): Likewise.
33650 (FE_DOWNWARD): Likewise.
33651 (FE_UPWARD): Likewise.
33652 (FE_TOWARDZERO): Likewise.
33653 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
33654 (FE_UNDERFLOW): Likewise.
33655 (FE_OVERFLOW): Likewise.
33656 (FE_DIVBYZERO): Likewise.
33657 (FE_INVALID): Likewise.
33658 (FE_TONEAREST): Likewise.
33659 (FE_TOWARDZERO): Likewise.
33660 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
33661 (FE_OVERFLOW): Likewise.
33662 (FE_UNDERFLOW): Likewise.
33663 (FE_DIVBYZERO): Likewise.
33664 (FE_INEXACT): Likewise.
33665 (FE_TONEAREST): Likewise.
33666 (FE_TOWARDZERO): Likewise.
33667 (FE_UPWARD): Likewise.
33668 (FE_DOWNWARD): Likewise.
33669 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
33670 (FE_DIVBYZERO): Likewise.
33671 (FE_OVERFLOW): Likewise.
33672 (FE_UNDERFLOW): Likewise.
33673 (FE_INEXACT): Likewise.
33674 (FE_TONEAREST): Likewise.
33675 (FE_DOWNWARD): Likewise.
33676 (FE_UPWARD): Likewise.
33677 (FE_TOWARDZERO): Likewise.
33678
336792012-11-02 Chris Metcalf <cmetcalf@tilera.com>
33680
33681 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
33682
336832012-11-03 Andreas Schwab <schwab@linux-m68k.org>
33684
33685 * scripts/cross-test-ssh.sh (command): Use newlines to separate
33686 commands. Quote $PWD.
33687 (blacklist_exports): Don't use remove_newlines. Replace "declare
33688 -x" by "export".
33689 (remove_newlines): Remove.
33690
336912012-11-02 H.J. Lu <hongjiu.lu@intel.com>
33692
33693 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
33694 * stdlib/stdlib.h (atof): Moved to ...
33695 * include/bits/stdlib-float.h: Here. New file.
33696 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
33697 * stdlib/bits/stdlib-float.h: New file.
33698 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
33699 -mno-sse -mno-mmx.
33700 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
33701 <xmmintrin.h>.
33702
337032012-11-02 Joseph Myers <joseph@codesourcery.com>
33704
33705 * conform/conformtest.pl (@headers): Add fenv.h.
33706 * conform/data/fenv.h-data: New file.
33707 * include/fenv.h [_ISOMAC]: Disable all contents of file except
33708 include of <math/fenv.h>.
33709
33710 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
33711 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
33712 && !UNIX98]. Enables tests for XOPEN2K8.
33713 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
33714 POSIX2008]: Likewise.
33715
33716 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
33717 (struct rusage): Do not expect type or its members.
33718
33719 [BZ #3439]
33720 * math/math.h (FP_NAN): Define macro to integer constant usable in
33721 #if and use that to give value to enum constant.
33722 (FP_INFINITE): Likewise.
33723 (FP_ZERO): Likewise.
33724 (FP_SUBNORMAL): Likewise.
33725 (FP_NORMAL): Likewise.
33726
337272012-11-02 Andreas Schwab <schwab@linux-m68k.org>
33728
33729 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
33730 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
33731 arguments.
33732
337332012-11-02 Roland McGrath <roland@hack.frob.com>
33734
33735 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
33736 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
33737 autoconf-time if not.
33738 * configure.in: Remove AC_PREREQ.
33739
337402012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33741
33742 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
33743 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
33744 of the internal implementation.
33745
337462012-11-02 Joseph Myers <joseph@codesourcery.com>
33747
33748 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
33749 except include of <misc/sys/syslog.h>.
33750
337512012-11-01 Andreas Schwab <schwab@linux-m68k.org>
33752
33753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
33754 function returns with a NULL context exit with zero.
33755
337562012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33757
33758 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
33759
337602012-11-01 H.J. Lu <hongjiu.lu@intel.com>
33761
33762 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
33763 (run_program_cmd): This.
33764 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
33765 (tst_langinfo): New variable. Use it.
33766
337672012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
33768
33769 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
33770 floating point opcodes.
33771
337722012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33773
33774 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
33775 variable.
33776
33777 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
33778
33779 * sysdeps/mach/hurd/powerpc: Remove directory.
33780 * sysdeps/mach/powerpc: Likewise.
33781
337822012-11-01 Andreas Schwab <schwab@linux-m68k.org>
33783
33784 * scripts/check-local-headers.sh: Ignore c++ headers.
33785
337862012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33787
33788 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
33789 __libc_cleanup_region_start argument.
33790
337912012-11-01 Joseph Myers <joseph@codesourcery.com>
33792
33793 [BZ #14784]
33794 [BZ #14785]
33795 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
33796 x * y using scaling, not as x * y + z.
33797 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33798 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33799 * math/libm-test.inc (fma_test): Add more tests.
33800 (fma_test_towardzero): Likewise.
33801 (fma_test_downward): Likewise.
33802 (fma_test_upward): Likewise.
33803
338042012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33805
33806 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
33807
338082012-10-31 Joseph Myers <joseph@codesourcery.com>
33809
33810 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
33811 New variable.
33812
338132012-10-31 Thomas Schwinge <thomas@codesourcery.com>
33814
33815 * rt/tst-shm.c (worker): Correct checking for mmap failure.
33816
338172012-10-31 Andreas Schwab <schwab@linux-m68k.org>
33818
33819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33820 Fix sort order.
33821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33822 Likewise.
33823
338242012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33825
33826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33827 Fix the order of the list for glibc 2.17.
33828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33829 Likewise.
33830
338312012-10-31 Andreas Schwab <schwab@linux-m68k.org>
33832
33833 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33834
338352012-10-31 Joseph Myers <joseph@codesourcery.com>
33836
33837 [BZ #14610]
33838 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
33839 for low part of x being zero before using __atanl (y).
33840 * math/libm-test.inc (atan2_test): Add another test.
33841
33842 * manual/install.texi (Configuring and compiling): Document
33843 general use of test-wrapper and test-wrapper-env.
33844 * INSTALL: Regenerated.
33845
33846 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
33847 (__fma): Do not extract and scale down low bits on after-rounding
33848 systems when result rounded to normal precision would have normal
33849 exponent.
33850 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
33851 (__fmal): Do not extract and scale down low bits on after-rounding
33852 systems when result rounded to normal precision would have normal
33853 exponent.
33854 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
33855 (__fmal): Do not extract and scale down low bits on after-rounding
33856 systems when result rounded to normal precision would have normal
33857 exponent.
33858 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
33859 macro.
33860 (fma_test): Add more tests.
33861 (fma_test_towardzero): Likewise.
33862 (fma_test_downward): Likewise.
33863 (fma_test_upward): Likewise.
33864
338652012-10-30 H.J. Lu <hongjiu.lu@intel.com>
33866
33867 * sysdeps/i386/tininess.h: Renamed to ...
33868 * sysdeps/x86/tininess.h: This.
33869 * sysdeps/x86_64/tininess.h: Removed.
33870
338712012-10-30 Joseph Myers <joseph@codesourcery.com>
33872
33873 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
33874 input. Use $(build-program-cmd).
33875 ($(objpfx)tst-array1-static.out): Likewise.
33876 ($(objpfx)tst-array2.out): Likewise.
33877 ($(objpfx)tst-array3.out): Likewise.
33878 ($(objpfx)tst-array4.out): Likewise.
33879 ($(objpfx)tst-array5.out): Likewise.
33880 ($(objpfx)tst-array5-static.out): Likewise.
33881
338822012-10-30 Chris Metcalf <cmetcalf@tilera.com>
33883
33884 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
33885 if defined.
33886
33887 * nss/nsswitch.h (nss_interface_function): Provide new
33888 macro for use with NSS functions.
33889 * grp/initgroups.c: Use new macro.
33890 * nss/getXXbyYY.c: Likewise.
33891 * nss/getXXbyYY_r.c: Likewise.
33892 * nss/getXXent.c: Likewise.
33893 * nss/getXXent_r.c: Likewise.
33894 * sysdeps/posix/getaddrinfo.c: Likewise.
33895
338962012-10-30 Andreas Jaeger <aj@suse.de>
33897
33898 * po/ru.po: Update Russion translation from translation project.
33899
339002012-10-30 Joseph Myers <joseph@codesourcery.com>
33901
33902 [BZ #14152]
33903 [BZ #14783]
33904 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
33905 result and shift together with sticky bit instead of replicating
33906 round-to-nearest rounding.
33907 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33908 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33909 * math/libm-test.inc (fma_test): Add more tests. Do not permit
33910 missing underflow exceptions.
33911 (fma_test_towardzero): Add more tests.
33912 (fma_test_downward): Likewise.
33913 (fma_test_upward): Likewise.
33914
33915 [BZ #14047]
33916 * sysdeps/generic/tininess.h: New file.
33917 * sysdeps/i386/tininess.h: Likewise.
33918 * sysdeps/sh/tininess.h: Likewise.
33919 * sysdeps/x86_64/tininess.h: Likewise.
33920 * stdlib/tst-strtod-underflow.c: Likewise.
33921 * stdlib/tst-tininess.c: Likewise.
33922 * stdlib/strtod_l.c: Include <tininess.h>.
33923 (round_and_return): Do not set errno for exact underflow cases.
33924 Force an underflow exception when setting errno for underflow.
33925 Determine underflow based on rounding to normal precision if
33926 TININESS_AFTER_ROUNDING.
33927 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
33928 ERANGE for exact underflow cases.
33929 * stdlib/Makefile (tests): Add tst-tininess and
33930 tst-strtod-underflow.
33931 ($(objpfx)tst-tininess): Use $(link-libm).
33932 ($(objpfx)tst-strtod-underflow): Likewise.
33933
339342012-10-30 Andreas Jaeger <aj@suse.de>
33935
33936 [BZ#14767]
33937 * elf/Makefile (tests): Remove conditional for have-initfini-array
33938 since this is now always required and the variable does not exist
33939 anymore.
33940 (tests-static): Likewise.
33941 (modules-names): Likewise.
33942
33943 * po/eo.po: Add Esperanto translation from translation project.
33944
33945 * elf/tst-array1.c (fini_array): Make writeable so that it can be
33946 merged with constructor/destructor.
33947 (init_array): Likewise.
33948 * elf/tst-array2dep.c (fini_array): Likewise.
33949 (init_array): Likewise.
33950
339512012-10-29 Mike Frysinger <vapier@gentoo.org>
33952
33953 * manual/message.texi: Delete @cartouche tags.
33954
339552012-10-29 Pino Toscano <toscano.pino@tiscali.it>
33956
33957 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
33958 EOPNOTSUPP.
33959 * sysdeps/mach/hurd/fsync.c: Likewise.
33960
33961 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
33962 [_POSIX_REALTIME_SIGNALS]: Change condition to
33963 [_POSIX_REALTIME_SIGNALS > 0].
33964
339652012-10-27 Andreas Jaeger <aj@suse.de>
33966
33967 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
33968 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
33969 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
33970 [__WORDSIZE != 64]: Likewise.
33971
339722012-10-26 H.J. Lu <hongjiu.lu@intel.com>
33973
33974 * iconvdata/tst-table.sh: Remove ${SHELL}.
33975 * iconvdata/tst-tables.sh: Likewise.
33976
339772012-10-25 David S. Miller <davem@davemloft.net>
33978
33979 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33980 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
33981 of strtoull.
33982
33983 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
33984 ifunc-impl-list.c
33985 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33986 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
33987 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
33988 file.
33989
339902012-10-25 Roland McGrath <roland@hack.frob.com>
33991
33992 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33993 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
33994 __getdirentries.
33995
339962012-10-25 Joseph Myers <joseph@codesourcery.com>
33997 Jim Blandy <jimb@codesourcery.com>
33998
33999 * scripts/cross-test-ssh.sh: New file.
34000 * manual/install.texi (Configuring and compiling): Document use of
34001 cross-test-ssh.sh.
34002 * INSTALL: Regenerated.
34003
340042012-10-25 Pino Toscano <toscano.pino@tiscali.it>
34005
34006 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
34007 EOPNOTSUPP.
34008
340092012-10-25 Joseph Myers <joseph@codesourcery.com>
34010
34011 * Makeconfig (run-program-prefix): Fix comment.
34012
340132012-10-24 Joseph Myers <joseph@codesourcery.com>
34014 Jim Blandy <jimb@codesourcery.com>
34015
34016 * Makeconfig (test-wrapper): New variable,
34017 (test-wrapper-env): Likewise.
34018 [$(cross-compiling) = yes && $(test-wrapper) != ""]
34019 (run-built-tests): Define to yes.
34020 (run-program-prefix): Use $(test-wrapper).
34021 (built-program-cmd): Likewise.
34022 * Rules (make-test-out): Use $(test-wrapper-env) and
34023 $(host-built-program-cmd).
34024 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
34025 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
34026 tst-pathopt.sh.
34027 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
34028 $(test-wrapper-env) to tst-rtld-load-self.sh.
34029 ($(objpfx)order2.out): Use $(test-wrapper).
34030 ($(objpfx)tst-initorder.out): Likewise.
34031 ($(objpfx)tst-initorder2.out): Likewise.
34032 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
34033 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
34034 (test_wrapper_env): New variable. Use it to run ld.so.
34035 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
34036 Use it to run ld.so.
34037 (test_wrapper_env): Likewise.
34038 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
34039 $(test-wrapper) to run-iconv-test.sh.
34040 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
34041 (ICONV): Use $test_wrapper.
34042 * posix/Makefile ($(objpfx)globtest.out): Pass
34043 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
34044 globtest.sh, not $(run-program-prefix).
34045 * posix/globtest.sh (run_via_rtld_prefix): New variable.
34046 (test_wrapper): Likewise.
34047 (test_wrapper_env): Likewise. Use it to run globtest with HOME
34048 set together with run_via_rtld_prefix.
34049 (run_program_prefix): Define in terms of test_wrapper and
34050 run_via_rtld_prefix.
34051
340522012-10-24 Roland McGrath <roland@hack.frob.com>
34053
34054 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
34055 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
34056 Targets removed.
34057
34058 [BZ #14743]
34059 * include/time.h: Remove librt_hidden_proto (clock_gettime).
34060 Declare __clock_getres, __clock_gettime, __clock_settime,
34061 __clock_nanosleep, and __clock_getcpuclockid.
34062 * rt/clock_gettime.c: Define __clock_gettime as an alias.
34063 Remove librt_hidden_def (clock_gettime).
34064 * sysdeps/unix/clock_gettime.c: Likewise.
34065 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
34066 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34067 * rt/clock_getres.c: Define __clock_getres as an alias.
34068 * sysdeps/posix/clock_getres.c: Likewise.
34069 * rt/clock_settime.c: Define __clock_settime as an alias.
34070 * sysdeps/unix/clock_settime.c: Likewise.
34071 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
34072 * sysdeps/unix/clock_nanosleep.c: Likewise.
34073 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34074 * rt/clock-compat.c: New file.
34075 * rt/Makefile (librt-routines): Add clock-compat and move
34076 $(clock-routines) to ...
34077 (routines): ... here, new variable.
34078 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
34079 Don't add get_clockfreq here.
34080 * rt/Versions (libc: GLIBC_2.17): New version set.
34081 Add clock_* symbols here.
34082 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
34083 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
34084 (GLIBC_2.17): Add clock_* symbols.
34085 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34086 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34087 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34089 Likewise.
34090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34091 Likewise.
34092 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34093 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34096 * NEWS: Mention the move.
34097
34098 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34099 Use __open, __read, __close rather than their public counterparts.
34100 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34101 (__get_clockfreq_via_cpuinfo): Likewise.
34102 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
34103 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
34104
34105 * config.h.in (HAVE_IFUNC): New #undef.
34106 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
34107 was successful.
34108 * configure: Regenerated.
34109
341102012-10-24 Mike Frysinger <vapier@gentoo.org>
34111
34112 * configure.in: Move READELF check to start of file.
34113 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
34114 libc_cv_asm_gnu_indirect_function in the process.
34115 * configure: Regenerated.
34116
341172012-10-24 Mike Frysinger <vapier@gentoo.org>
34118
34119 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
34120 send the output to /dev/null.
34121 (libc_cv_cc_with_libunwind): Likewise.
34122 (libc_cv_as_noexecstack): Likewise.
34123 * configure: Regenerate.
34124
341252012-10-24 Joseph Myers <joseph@codesourcery.com>
34126
34127 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
34128
34129 * posix/globtest.sh (TMPDIR): Do not set.
34130 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
34131 (testout): Likewise.
34132
341332012-10-24 Andreas Jaeger <aj@suse.de>
34134
34135 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
34136 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
34137 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
34138 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
34139 posix_fadvise64, posix_fallocate64.
34140
34141 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
34142 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
34143 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
34144 Likewise.
34145 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
34146 Likewise.
34147 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
34148
34149 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
34150 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
34151 <bits/fcntl-linux.h>.
34152 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
34153
34154 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
34155 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
34156 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
34157 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
34158 [__WORDSIZE != 64]: Likewise.
34159
341602012-10-23 Joseph Myers <joseph@codesourcery.com>
34161
34162 * Makeconfig (run-built-tests): New variable.
34163 * Rules [$(cross-compiling) = yes]: Change condition to
34164 [$(run-built-tests) = no].
34165 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
34166 to [$(run-built-tests) = yes].
34167 * elf/Makefile [$(cross-compiling) = no]: Likewise
34168 * grp/Makefile [$(cross-compiling) = no]: Likewise.
34169 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
34170 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
34171 * intl/Makefile [$(cross-compiling) = no]: Likewise.
34172 * io/Makefile [$(cross-compiling) = no]: Likewise.
34173 * libio/Makefile [$(cross-compiling) = no]: Likewise.
34174 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
34175 * misc/Makefile [$(cross-compiling) = no]: Likewise.
34176 * posix/Makefile [$(cross-compiling) = no]: Likewise.
34177 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
34178 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
34179 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
34180 * string/Makefile [$(cross-compiling) = no]: Likewise.
34181
34182 * posix/Makefile ($(objpfx)globtest.out): Pass
34183 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
34184 $(rtld-installed-name).
34185 * posix/globtest.sh (elf_objpfx): Remove variable.
34186 (rtld_installed_name): Likewise.
34187 (library_path): Likewise.
34188 (run_program_prefix): New variable. Use for running globtest
34189 binary.
34190
341912012-10-23 Jim Blandy <jimb@codesourcery.com>
34192 Joseph Myers <joseph@codesourcery.com>
34193
34194 * Makeconfig (host-built-program-cmd): New variable.
34195 * elf/Makefile (tst-stackguard1-ARGS): Use
34196 $(host-built-program-cmd).
34197 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
34198 (tst-spawn-ARGS): Likewise.
34199 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
34200
342012012-10-23 Joseph Myers <joseph@codesourcery.com>
34202 Jim Blandy <jimb@codesourcery.com>
34203
34204 * Makeconfig (run-via-rtld-prefix): New variable.
34205 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
34206 (built-program-cmd): Likewise.
34207
342082012-10-22 Andreas Jaeger <aj@suse.de>
34209
34210 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
34211 __O_RSYNC if it exists, otherwise to O_SYNC.
34212
342132012-10-22 Jim Blandy <jimb@codesourcery.com>
34214 Joseph Myers <joseph@codesourcery.com>
34215
34216 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
34217 /dev/null.
34218 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
34219 from /dev/null
34220 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
34221 /dev/null.
34222
342232012-10-22 Andreas Jaeger <aj@suse.de>
34224
34225 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
34226 Define always.
34227 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
34228
34229 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34230 bits/fcntl-linux.h.
34231
34232 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
34233 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
34234
34235 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
34236 to __O_LARGEFILE.
34237 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
34238 to __O_LARGEFILE.
34239
342402012-10-21 Jim Blandy <jimb@codesourcery.com>
34241 Joseph Myers <joseph@codesourcery.com>
34242
34243 * config.make.in (NM): New variable.
34244
342452012-10-21 Andreas Jaeger <aj@suse.de>
34246
34247 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
34248 definitions and declarations that are provided by
34249 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34250
342512012-10-20 H.J. Lu <hongjiu.lu@intel.com>
34252
34253 [BZ #14683]
34254 * elf/Makefile (tests-static): Add tst-leaks1-static.
34255 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
34256 ($(objpfx)tst-leaks1-static): New rule.
34257 ($(objpfx)tst-leaks1-static-mem): Likewise.
34258 (tst-leaks1-static-ENV): New macro.
34259 * elf/dl-open.c (dl_open_worker): Check the main application
34260 only if SHARED is defined.
34261 * elf/tst-leaks1-static.c: New file.
34262
342632012-10-20 Andreas Jaeger <aj@suse.de>
34264
34265 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
34266 generic values for Linux.
34267 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
34268 and declarations that are provided by <bits/fcntl-linux.h> and
34269 include <bits/fcntl-linux.h>.
34270 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34271 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34272
342732012-10-20 Roland McGrath <roland@hack.frob.com>
34274
34275 * io/fcntl.h: Move include of <bits/types.h> to the top and
34276 include it unconditionally.
34277
342782012-10-20 H.J. Lu <hongjiu.lu@intel.com>
34279
34280 * wcsmbs/Makefile (tests-ifunc): New variable.
34281 (tests): Add $(tests-ifunc).
34282 * wcsmbs/test-wcschr-ifunc.c: New file.
34283 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
34284 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
34285 * wcsmbs/test-wcslen-ifunc.c: Likewise.
34286 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
34287 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
34288
34289 * string/Makefile (tests-ifunc): New variable.
34290 (tests): Add $(tests-ifunc).
34291 * string/test-memccpy.c (TEST_NAME): New macro.
34292 * string/test-memchr.c (TEST_NAME): Likewise.
34293 * string/test-memcmp.c (TEST_NAME): Likewise.
34294 * string/test-memcpy.c (TEST_NAME): Likewise.
34295 * string/test-memmem.c (TEST_NAME): Likewise.
34296 * string/test-memmove.c (TEST_NAME): Likewise.
34297 * string/test-memset.c (TEST_NAME): Likewise.
34298 * string/test-rawmemchr.c (TEST_NAME): Likewise.
34299 * string/test-stpcpy.c (TEST_NAME): Likewise.
34300 * string/test-stpncpy.c (TEST_NAME): Likewise.
34301 * string/test-strcasecmp.c (TEST_NAME): Likewise.
34302 * string/test-strcasestr.c (TEST_NAME): Likewise.
34303 * string/test-strcat.c (TEST_NAME): Likewise.
34304 * string/test-strchr.c (TEST_NAME): Likewise.
34305 * string/test-strcmp.c(TEST_NAME): Likewise.
34306 * string/test-strcpy.c (TEST_NAME): Likewise.
34307 * string/test-strcspn.c (TEST_NAME): Likewise.
34308 * string/test-strlen.c (TEST_NAME): Likewise.
34309 * string/test-strncasecmp.c (TEST_NAME): Likewise.
34310 * string/test-strncmp.c (TEST_NAME): Likewise.
34311 * string/test-strncpy.c (TEST_NAME): Likewise.
34312 * string/test-strnlen.c (TEST_NAME): Likewise.
34313 * string/test-strpbrk.c (TEST_NAME): Likewise.
34314 * string/test-strrchr.c (TEST_NAME): Likewise.
34315 * string/test-strspn.c (TEST_NAME): Likewise.
34316 * string/test-strstr.c (TEST_NAME): Likewise.
34317 * string/test-bcopy-ifunc.c: New file.
34318 * string/test-bzero-ifunc.c: Likewise.
34319 * string/test-memccpy-ifunc.c: Likewise.
34320 * string/test-memchr-ifunc.c: Likewise.
34321 * string/test-memcmp-ifunc.c: Likewise.
34322 * string/test-memcpy-ifunc.c: Likewise.
34323 * string/test-memmem-ifunc.c: Likewise.
34324 * string/test-memmove-ifunc.c: Likewise.
34325 * string/test-mempcpy-ifunc.c: Likewise.
34326 * string/test-memset-ifunc.c: Likewise.
34327 * string/test-rawmemchr-ifunc.c: Likewise.
34328 * string/test-stpcpy-ifunc.c: Likewise.
34329 * string/test-stpncpy-ifunc.c: Likewise.
34330 * string/test-strcasecmp-ifunc.c: Likewise.
34331 * string/test-strcasestr-ifunc.c: Likewise.
34332 * string/test-strcat-ifunc.c: Likewise.
34333 * string/test-strchr-ifunc.c: Likewise.
34334 * string/test-strchrnul-ifunc.c: Likewise.
34335 * string/test-strcmp-ifunc.c: Likewise.
34336 * string/test-strcpy-ifunc.c: Likewise.
34337 * string/test-strcspn-ifunc.c: Likewise.
34338 * string/test-strlen-ifunc.c: Likewise.
34339 * string/test-strncasecmp-ifunc.c: Likewise.
34340 * string/test-strncat-ifunc.c: Likewise.
34341 * string/test-strncmp-ifunc.c: Likewise.
34342 * string/test-strncpy-ifunc.c: Likewise.
34343 * string/test-strnlen-ifunc.c: Likewise.
34344 * string/test-strpbrk-ifunc.c: Likewise.
34345 * string/test-strrchr-ifunc.c: Likewise.
34346 * string/test-strspn-ifunc.c: Likewise.
34347 * string/test-strstr-ifunc.c: Likewise.
34348
34349 * debug/Makefile (tests-ifunc): New variable.
34350 (tests): Add $(tests-ifunc).
34351 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
34352 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
34353 * debug/test-stpcpy_chk-ifunc.c: New file.
34354 * debug/test-strcpy_chk-ifunc.c: Likewise.
34355
343562012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
34357
34358 [BZ #13601]
34359 * elf/dl-load.c (open_verify): Retry read if the entire ELF
34360 header is not read in.
34361
343622012-10-19 Joseph Myers <joseph@codesourcery.com>
34363
34364 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
34365 script to $(SHELL) as $<. Pass $(common-objpfx) to script
34366 directly. Pass built executable to script as
34367 $(built-program-cmd).
34368 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
34369 $testprogram without using LD_LIBRARY_PATH and $ldso.
34370
34371 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
34372 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
34373 $(rtld-installed-name).
34374 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
34375 (rtld_installed_name): Likewise.
34376 (library_path): Likewise.
34377 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
34378 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
34379 $(run-program-prefix) to tst-tables.sh.
34380 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
34381 it to run tst-table-from and tst-table-to.
34382 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
34383 Pass it to tst-table.sh.
34384 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
34385 $(run-program-prefix) to tst-gettext.sh.
34386 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
34387 tst-translit.sh.
34388 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
34389 tst-gettext2.sh.
34390 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
34391 to run tst-gettext.
34392 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
34393 to run tst-gettext2.
34394 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
34395 to run tst-translit.
34396 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
34397 $(run-program-prefix) to tst-mtrace.sh.
34398 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
34399 to run tst-mtrace.
34400 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
34401 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
34402 $(rtld-installed-name).
34403 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
34404 (rtld_installed_name): Likewise.
34405 (run_program_prefix): New variable. Use it to run wordexp-test.
34406
34407 * Makeconfig (ARCH): Remove all definitions.
34408 (machine): Likewise.
34409 [ARCH]: Remove conditional code.
34410 [!objdir]: Give error.
34411 [!objdir] (objpfx): Remove.
34412 [!objdir] (common-objpfx): Likewise.
34413 [!objdir] (common-objdir): Likewise.
34414 * configure.in (config_makefile): Remove. Hardcode Makefile in
34415 AC_CONFIG_FILES call.
34416 * configure: Regenerated.
34417
34418 [BZ #13888]
34419 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
34420 or TMPDIR.
34421 (testout): Likewise.
34422
34423 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
34424 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
34425 $(rtld-installed-name).
34426 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
34427 (rtld_installed_name): Likwise.
34428 (runit): Remove function.
34429 (run_getconf): New variable, Use it for running getconf binary.
34430
344312012-10-18 H.J. Lu <hongjiu.lu@intel.com>
34432
34433 [BZ #14716]
34434 * string/test-memmem.c (check_result): New function.
34435 (do_one_test): Use it.
34436 (check1): New function.
34437 (test_main): Use it.
34438
344392012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
34440
34441 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
34442
344432012-10-18 Joseph Myers <joseph@codesourcery.com>
34444
34445 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
34446 (_G_LSEEK64): Likewise.
34447 (_G_MMAP64): Likewise.
34448 (_G_FSTAT64): Likewise.
34449 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
34450 (_G_LSEEK64): Likewise.
34451 (_G_MMAP64): Likewise.
34452 (_G_FSTAT64): Likewise.
34453 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
34454 unconditional. Call __mmap64 directly.
34455 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
34456 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
34457 __lseek64 directly.
34458 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
34459 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
34460 __mmap64 directly.
34461 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
34462 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
34463 __lseek64 directly.
34464 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
34465 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
34466 __lseek64 directly.
34467 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
34468 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
34469 __lseek64 directly.
34470 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
34471 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
34472 __fxstat64 directly.
34473 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
34474 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
34475 unconditional.
34476 (freopen64) [!_G_OPEN64]: Remove conditional code.
34477 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
34478 unconditional.
34479 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
34480 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
34481 unconditional.
34482 (ftello64) [!_G_LSEEK64]: Remove conditional code.
34483 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
34484 unconditional.
34485 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34486 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
34487 unconditional.
34488 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
34489 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
34490 unconditional.
34491 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34492 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
34493 unconditional.
34494 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34495 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
34496 unconditional.
34497 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34498
344992012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
34500
34501 [BZ #12140]
34502 * manual/memory.texi (Malloc Tunable Parameters): Add note
34503 about free list pointers overwriting some perturb bytes.
34504 Wording suggested by Roland McGrath.
34505
345062012-10-17 Joseph Myers <joseph@codesourcery.com>
34507
34508 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
34509 (lgamma_test): Likewise.
34510 (tgamma_test): Likewise.
34511
345122012-10-16 Florian Weimer <fweimer@redhat.com>
34513
34514 [BZ #14700]
34515 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
34516 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
34517
345182012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
34519
34520 * NEWS: Mention BZ #14716.
34521 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
34522 when removing AVAILABLE1_USES_J macro.
34523
345242012-10-12 H.J. Lu <hongjiu.lu@intel.com>
34525
34526 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
34527 (__bswap_64): __uint64_t for unsigned 64-bit int.
34528
345292012-10-12 Andreas Schwab <schwab@linux-m68k.org>
34530
34531 * include/string.h (memmem): Declare libc hidden alias.
34532 * string/memmem.c (memmem): Define libc hidden alias.
34533 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
34534 __read, __close instead of open, read, close.
34535
345362012-10-11 H.J. Lu <hongjiu.lu@intel.com>
34537
34538 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
34539 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
34540 global and hidden.
34541 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
34542 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
34543 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
34544 Likewise.
34545 (__rawmemchr_sse2): Likewise.
34546 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
34547 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
34548 (__strchr_sse2): Likewise.
34549 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
34550 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
34551 (__strcasecmp_sse2): Likewise.
34552 (__strncasecmp_sse2): Likewise.
34553 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
34554 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
34555 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
34556 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
34557 (__strrchr_sse2): Likewise.
34558 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
34559 ifunc-impl-list.c.
34560 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
34561 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
34562 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
34563 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34564 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
34565 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
34566 * sysdeps/x86_64/multiarch/memset.S: Likewise.
34567 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34568 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
34569 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
34570 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
34571 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
34572 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
34573 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
34574 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
34575 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34576 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
34577 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
34578 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
34579 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
34580 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
34581 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
34582 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
34583 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34584 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
34585 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34586 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34587 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34588 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
34589 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
34590
34591 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
34592 global and hidden.
34593 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
34594 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
34595 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
34596 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
34597 Likewise.
34598 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
34599 Likewise.
34600 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
34601 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
34602 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
34603 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
34604 ifunc-impl-list.c.
34605 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34606 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34607 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34608 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34609 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34610 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34611 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34612 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34613 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34614 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34615 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34616 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34617 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34618 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34619 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34620 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34621 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34622 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
34623 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34624 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34625 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34626 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34627 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34628 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34629 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34630 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34631 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34632 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34633 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34634 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34635 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34636 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34637 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34638 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
34639 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34640 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34641 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34642 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34643 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34644 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34645 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
34646
34647 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
34648 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
34649 * include/ifunc-impl-list.h: New file.
34650 * misc/ifunc-impl-list.c: Likewise.
34651 * misc/Makefile (routines): Add ifunc-impl-list.
34652 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
34653 * string/test-string.h: Include <ifunc-impl-list.h>.
34654 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
34655 TEST_NAME]: New variables.
34656 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
34657 are defined.
34658 (test_init): Call __libc_ifunc_impl_list to initialize
34659 func_list if TEST_IFUNC and TEST_NAME are defined.
34660
34661 * string/Makefile (strop-tests): Add bcopy and bzero.
34662 * string/test-bcopy.c: New file.
34663 * string/test-bzero.c: Likewise.
34664 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
34665 defined.
34666 * string/test-memset.c: Support bzero test if TEST_BZERO is
34667 defined.
34668 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
34669 __libc_memmove.
34670 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
34671 __libc_memset.
34672 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
34673 of memset.
34674
346752012-10-10 Joseph Myers <joseph@codesourcery.com>
34676
34677 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
34678 * configure: Regenerated.
34679
34680 * Makeconfig (+link-static-before-libc): Don't include
34681 $(link-static-libc).
34682
34683 * libio/libio.h (_IO_pos_t): Remove.
34684
346852012-10-10 Alexandre Oliva <aoliva@redhat.com>
34686
34687 * NEWS: Add note about FIPS mode. Wording suggested by Roland
34688 McGrath.
34689
346902012-10-10 Alexandre Oliva <aoliva@redhat.com>
34691
34692 * crypt/crypt-entry.c: Include fips-private.h.
34693 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
34694 * crypt/md5c-test.c (main): Tolerate disabled MD5.
34695 * sysdeps/unix/sysv/linux/fips-private.h: New file.
34696 * sysdeps/generic/fips-private.h: New file, dummy fallback.
34697
346982012-10-10 Alexandre Oliva <aoliva@redhat.com>
34699
34700 * crypt/crypt-private.h: Include stdbool.h.
34701 (_ufc_setup_salt_r): Return bool.
34702 * crypt/crypt-entry.c: Include errno.h.
34703 (__crypt_r): Return NULL with EINVAL for bad salt.
34704 * crypt/crypt_util.c (bad_for_salt): New.
34705 (_ufc_setup_salt_r): Check that salt is long enough and within
34706 the specified alphabet.
34707 * crypt/badsalttest.c: New file.
34708 * crypt/Makefile (tests): Add it.
34709 ($(objpfx)badsalttest): New.
34710
347112012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
34712
34713 * NEWS: Add entry for BZ #14602.
34714
347152012-10-09 Joseph Myers <joseph@codesourcery.com>
34716
34717 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
34718 type-generic.
34719 * math/libm-test.inc: Update comment listing what functions and
34720 macros are tested.
34721 (isgreater_test): New function.
34722 (isgreaterequal_test): Likewise.
34723 (isless_test): Likewise.
34724 (islessequal_test): Likewise.
34725 (islessgreater_test): Likewise.
34726 (isunordered_test): Likewise.
34727 (main): Call the new functions.
34728
347292012-10-09 Roland McGrath <roland@hack.frob.com>
34730
34731 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
34732 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
34733 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
34734 * sysdeps/i386/configure: Regenerated.
34735 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
34736 * sysdeps/mach/configure: Regenerated.
34737 * sysdeps/mach/hurd/configure: Regenerated.
34738 * sysdeps/powerpc/configure: Regenerated.
34739 * sysdeps/powerpc/powerpc32/configure: Regenerated.
34740 * sysdeps/powerpc/powerpc64/configure: Regenerated.
34741 * sysdeps/s390/s390-32/configure: Regenerated.
34742 * sysdeps/s390/s390-64/configure: Regenerated.
34743 * sysdeps/sh/configure: Regenerated.
34744 * sysdeps/sparc/configure: Regenerated.
34745 * sysdeps/unix/sysv/linux/configure: Regenerated.
34746 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
34747 * sysdeps/x86_64/configure: Regenerated.
34748
34749 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
34750 defined. Don't check if MAP is NULL.
34751
347522012-10-09 Joseph Myers <joseph@codesourcery.com>
34753
34754 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
34755 (_G_stat64): Likewise.
34756 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
34757 (_G_stat64): Likewise.
34758 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
34759 instead of struct _G_stat64.
34760 * libio/fileops.c (mmap_remap_check): Likewise.
34761 (decide_maybe_mmap): Likewise.
34762 (_IO_new_file_seekoff): Likewise.
34763 (_IO_file_stat): Likewise.
34764 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
34765 _G_off64_t.
34766 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
34767 instead of struct _G_stat64.
34768 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34769
347702012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
34771
34772 [BZ #14602]
34773 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34774 Replace with ...
34775 (CHECK_EOL): New macro.
34776 (two_way_short_needle): Check beginning of haystack for EOL. Use
34777 CHECK_EOL.
34778 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34779 Replace with CHECK_EOL.
34780 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34781 Replace with CHECK_EOL.
34782
347832012-10-08 Joseph Myers <joseph@codesourcery.com>
34784
34785 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
34786 type-generic.
34787 * math/libm-test.inc: Update comment listing what functions and
34788 macros are tested.
34789 (finite_test): New function.
34790 (isinf_test): Likewise.
34791 (isnan_test): Likewise.
34792 (fpclassify_test): Test subnormal input.
34793 (isfinite_test): Likewise.
34794 (isnormal_test): Likewise.
34795 (main): Call the new functions.
34796
347972012-10-08 Jonathan Nieder <jrnieder@gmail.com>
34798
34799 [BZ #14660]
34800 * Makerules (%.dynsym): Force C locale when running
34801 $(OBJDUMP) --dynamic-syms.
34802
348032012-10-08 Andreas Schwab <schwab@linux-m68k.org>
34804
34805 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
34806 <stdint.h>.
34807
348082012-10-06 David S. Miller <davem@davemloft.net>
34809
34810 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
34811 upper 32-bits of the length value in %o2 since we use branch-on-register
34812 tests which consider the entire 64-bit register.
34813
348142012-10-06 H.J. Lu <hongjiu.lu@intel.com>
34815
34816 * string/test-strstr.c (check2): Add a test for page boundary.
34817
348182012-10-05 David S. Miller <davem@davemloft.net>
34819
34820 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
34821 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
34822 file.
34823 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34824 sysdep_routines.
34825 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34826 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
34827 and bzero when HWCAP_SPARC_CRYPTO is present.
34828
348292012-10-05 H.J. Lu <hongjiu.lu@intel.com>
34830
34831 [BZ #14602]
34832 * string/test-strstr.c (check2): New function.
34833 (test_main): Call check2.
34834
34835 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
34836 and bug-strchr1.
34837 * string/bug-strcasestr1.c (do_test): Moved to ...
34838 * string/test-strcasestr.c (check1): Here. New function.
34839 (do_one_test): Break out result checking code into ...
34840 (check_result): This. New function.
34841 (do_one_test): Call check_result.
34842 (test_main): Call check1.
34843 * string/bug-strchr1.c (do_test): Moved to ...
34844 * string/test-strchr.c (check1): Here. New function.
34845 (do_one_test): Break out result checking code into ...
34846 (check_result): This. New function.
34847 (do_one_test): Call check_result.
34848 (test_main): Call check1.
34849 * string/bug-strstr1.c (main): Moved to ...
34850 * string/test-strstr.c (check1): Here. New function.
34851 (do_one_test): Break out result checking code into ...
34852 (check_result): This. New function.
34853 (do_one_test): Call check_result.
34854 (test_main): Call check1.
34855 * string/bug-strcasestr1.c: Removed.
34856 * string/bug-strchr1.c: Likewise.
34857 * string/bug-strstr1.c: Likewise.
34858
34859 * elf/Makefile (dl-routines): Add hwcaps.
34860 * elf/dl-support.c (_dl_important_hwcaps): Removed.
34861 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
34862 (_dl_important_hwcaps): Moved to ...
34863 * elf/dl-hwcaps.c: Here. New file.
34864 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
34865
34866 [BZ #14557]
34867 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
34868 if IS_IN_rtld isn't defined.
34869
34870 * elf/dl-support.c (_dl_sysinfo_map): New.
34871 Include "get-dynamic-info.h" and "setup-vdso.h".
34872 (_dl_non_dynamic_init): Call setup_vdso.
34873 * elf/dynamic-link.h: Don't include <assert.h>.
34874 (elf_get_dynamic_info): Moved to ...
34875 * elf/get-dynamic-info.h: Here. New file.
34876 * elf/dynamic-link.h: Include "get-dynamic-info.h".
34877 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
34878 * elf/setup-vdso.h: Here. New file.
34879 * elf/rtld.c: Include "setup-vdso.h".
34880 (dl_main): Call setup_vdso.
34881
348822012-10-05 Joseph Myers <joseph@codesourcery.com>
34883
34884 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
34885 creal in comment listing functions tested. List finite, isinf,
34886 isnan, isless, islessequal, isgreater, isgreaterequal,
34887 islessgreater, isunordered, lgamma_r and pow10 as functions and
34888 macros not tested. Mention which functions not tested are aliases
34889 for other functions. Fix typo. Note that signs of NaNs are not
34890 tested.
34891
34892 * scripts/config.guess: Update from config.git.
34893 * scripts/config.sub: Likewise.
34894
348952012-10-04 Roland McGrath <roland@hack.frob.com>
34896
34897 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
34898 * misc/madvise.c (madvise): Renamed to __madvise.
34899 Make madvise a weak alias.
34900 * include/sys/mman.h: Declare __madvise.
34901 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
34902 * sysdeps/unix/syscalls.list
34903 (madvise): Make __madvise the strong name, and madvise a weak alias.
34904 * sysdeps/unix/sysv/linux/syscalls.list
34905 (madvise, mmap): Remove redundant entries.
34906 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
34907 * malloc/malloc.c (mtrim): Likewise.
34908 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
34909
349102012-10-03 Roland McGrath <roland@hack.frob.com>
34911
34912 * sysdeps/mach/hurd/dl-cache.c: File removed.
34913 * config.h.in (USE_LDCONFIG): New #undef.
34914 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
34915 * configure: Regenerated.
34916 * elf/Makefile (dl-routines): Add dl-cache only under
34917 [$(use-ldconfig) = yes].
34918 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
34919 cache on [USE_LDCONFIG].
34920 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
34921 [USE_LDCONFIG].
34922 * elf/rtld.c (dl_main): Likewise.
34923
349242012-10-03 Pino Toscano <toscano.pino@tiscali.it>
34925
34926 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
34927 _SC_LEVEL4_CACHE_LINESIZE.
34928
349292012-10-03 Roland McGrath <roland@hack.frob.com>
34930
34931 * sysdeps/unix/bsd/confstr.h: File removed.
34932
349332012-10-02 Alexandre Oliva <aoliva@redhat.com>
34934
34935 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
34936 sys/sdt-config.h.
34937
349382012-10-02 Roland McGrath <roland@hack.frob.com>
34939
34940 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
34941 Make 'mapoff' field ElfW(Off) rather than off_t.
34942
349432012-10-02 Dmitry V. Levin <ldv@altlinux.org>
34944
34945 * nscd/Makefile: Remove nscd-cflags and all its users.
34946 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
34947 (CFLAGS-nonlib): Add compiler flags for nscd modules.
34948
34949 [BZ #10631]
34950 * malloc.c (malloc_printerr): Clarify error message.
34951
349522012-10-02 H.J. Lu <hongjiu.lu@intel.com>
34953
34954 [BZ #14648]
34955 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34956 Set bit_FMA_Usable if FMA is supported.
34957 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
34958 macro.
34959 (bit_FMA4_Usable): Updated.
34960 (index_FMA_Usable): New macro.
34961 (CPUID_FMA): Likewise
34962 (HAS_FMA): Defined with bit_FMA_Usable.
34963
349642012-10-01 Roland McGrath <roland@hack.frob.com>
34965
34966 * bits/types.h (__swblk_t): Type removed.
34967 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
34968 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
34969 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34970 (__SWBLK_T_TYPE): Likewise.
34971 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34972 (__SWBLK_T_TYPE): Likewise.
34973 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34974 (__SWBLK_T_TYPE): Likewise.
34975 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34976 (__SWBLK_T_TYPE): Likewise.
34977
349782012-10-01 Patsy Franklin <pfrankli@redhat.com>
34979 Honza Horak <hhorak@redhat.com>
34980
34981 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
34982 (xdr_mapname): Use YPMAXMAP as maxsize.
34983 (xdr_peername): Use YPMAXPEER as maxsize.
34984 (xdr_keydat): Use YPAXRECORD as maxsize.
34985 (xdr_valdat): Use YPMAXRECORD as maxsize.
34986
349872012-10-01 Roland McGrath <roland@hack.frob.com>
34988
34989 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
34990
34991 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
34992 * csu/init-first.c: ... here.
34993 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
34994 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
34995 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
34996 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34997 * sysdeps/i386/init-first.c: File removed.
34998 * sysdeps/sh/init-first.c: File removed.
34999
350002012-10-01 Joseph Myers <joseph@codesourcery.com>
35001
35002 [BZ #14645]
35003 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
35004 if x * y might underflow to zero and z is zero.
35005 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35006 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35007 * math/libm-test.inc (min_subnorm_value): New variable.
35008 (fma_test): Add more tests.
35009 (fma_test_towardzero): Likewise.
35010 (fma_test_downward): Likewise
35011 (fma_test_upward): Likewise.
35012 (initialize): Set min_subnorm_value.
35013
350142012-09-29 Joseph Myers <joseph@codesourcery.com>
35015
35016 [BZ #14638]
35017 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
35018 0 + 0.
35019 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
35020 mode for addition resulting in exact zero.
35021 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
35022 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
35023 exact 0 + 0.
35024 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35025 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35026 * math/libm-test.inc (fma_test): Add more tests.
35027 (fma_test_towardzero): New function.
35028 (fma_test_downward): Likewise.
35029 (fma_test_upward): Likewise.
35030 (main): Call the new functions.
35031
350322012-09-28 David S. Miller <davem@davemloft.net>
35033
35034 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
35035
350362012-09-28 Roland McGrath <roland@hack.frob.com>
35037
35038 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
35039 instead of SIGALRM.
35040
35041 * sysdeps/gnu/_G_config.h: Moved to ...
35042 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
35043 * sysdeps/mach/hurd/_G_config.h: Moved to ...
35044 * sysdeps/generic/_G_config.h: ... here.
35045
35046 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
35047
35048 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
35049
35050 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
35051 Conditionalize target on [libnss_test1.so-version].
35052
35053 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
35054
35055 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
35056 (elfobjdir): Move out of conditionals.
35057
35058 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
35059 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
35060 (__nss_lookup_function): Conditionalize label remove_from_tree on
35061 [!DO_STATIC_NSS || SHARED], matching its only use.
35062
350632012-09-28 David S. Miller <davem@davemloft.net>
35064
35065 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
35066 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
35067 file.
35068 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35069 sysdep_routines.
35070 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35071 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
35072 when HWCAP_SPARC_CRYPTO is present.
35073
350742012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35075
35076 * io/tst-mknodat.c: Create a FIFO instead of a socket.
35077
350782012-09-28 Andreas Schwab <schwab@linux-m68k.org>
35079
35080 [BZ #6530]
35081 * stdio-common/vfprintf.c (process_string_arg): Revert
35082 2000-07-22 change.
35083
350842011-09-28 Jonathan Nieder <jrnieder@gmail.com>
35085
35086 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
35087 for testcase.
35088 * stdio-common/tst-sprintf.c: Include <locale.h>
35089 (main): Test sprintf's handling of incomplete multibyte
35090 characters.
35091
350922012-09-28 H.J. Lu <hongjiu.lu@intel.com>
35093
35094 * elf/dl-runtime.c (VERSYMIDX): Removed.
35095 * elf/dl-version.c (VERSYMIDX): Likewise.
35096 * elf/do-rel.h (VERSYMIDX): Likewise.
35097 (VALIDX): Likewise.
35098 * elf/dynamic-link.h (VERSYMIDX): Likewise.
35099 * elf/rtld.c (VALIDX): Likewise.
35100 (ADDRIDX): Likewise.
35101 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
35102 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
35103 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
35104 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
35105 (VALIDX): Likewise.
35106 (ADDRIDX): Likewise.
35107
351082012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35109
35110 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
35111
351122012-09-28 Dmitry V. Levin <ldv@altlinux.org>
35113
35114 [BZ #11438]
35115 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
35116 to global scope.
35117 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
35118 addresses are in the same scope as 192.0.2/24.
35119 * posix/gai.conf: Document new scope table defaults.
35120
351212012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35122
35123 [BZ #5298]
35124 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
35125 for ftell. Compute offsets from write pointers instead.
35126 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35127
351282012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35129
35130 [BZ #14543]
35131 * libio/Makefile (tests): New test case tst-fseek.
35132 * libio/tst-fseek.c: New test case to verify that fseek/ftell
35133 combination works in wide mode.
35134 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
35135 state when the external buffer state changes.
35136
351372012-09-27 David S. Miller <davem@davemloft.net>
35138
35139 [BZ #14376]
35140 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
35141 pass reloc->r_addend in as the 'high' argument to
35142 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
35143
35144 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35145
351462012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35147
35148 * rt/tst-aio2.c: Include <pthread.h>.
35149 * rt/tst-aio3.c: Likewise.
35150
351512012-09-27 Steve Ellcey <sellcey@mips.com>
35152
35153 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
35154
351552012-09-27 H.J. Lu <hongjiu.lu@intel.com>
35156
35157 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
35158 contents on [SHARED].
35159
351602012-09-26 Marek Polacek <polacek@redhat.com>
35161
35162 [BZ #14530]
35163 [BZ #13741]
35164 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
35165 for C++ and GCC <4.3 as well as for non GCC compilers.
35166
351672012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
35168
35169 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35170
351712012-09-25 Roland McGrath <roland@hack.frob.com>
35172
35173 * Makefile.in (all, install): Declare with .PHONY.
35174 Reported by Michael Hope <michael.hope@linaro.org>.
35175
351762012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35177
35178 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
35179 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
35180 system header.
35181 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
35182 Likewise.
35183 (sydep_routines): Add the new and the internal functions.
35184 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
35185 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
35186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
35187 (GLIBC_2.17): Add the new function.
35188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35189 (GLIBC_2.17): Likewise.
35190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
35191 (GLIBC_2.17): Likewise.
35192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
35193 (GLIBC_2.17): Likewise.
35194 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
35195
351962012-09-25 Alan Modra <amodra@gmail.com>
35197
35198 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
35199 Add release barrier before setting once_control to say
35200 initialisation is done. Add hints on lwarx. Use macro in
35201 place of isync.
35202 (clear_once_control): Add release barrier.
35203
352042012-09-25 Joseph Myers <joseph@codesourcery.com>
35205
35206 [BZ #13629]
35207 * math/s_clog.c (__clog): Handle more values close to |z| = 1
35208 specially.
35209 * math/s_clog10.c (__clog10): Likewise.
35210 * math/s_clog10f.c (__clog10f): Likewise.
35211 * math/s_clog10l.c (__clog10l): Likewise.
35212 * math/s_clogf.c (__clogf): Likewise.
35213 * math/s_clogl.c (__clogl): Likewise.
35214 * math/Makefile (libm-calls): Add x2y2m1.
35215 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
35216 (__x2y2m1): Likewise.
35217 (__x2y2m1l): Likewise.
35218 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
35219 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
35220 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
35221 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
35222 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
35223 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
35224 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
35225 * sysdeps/i386/fpu/libm-test-ulps: Update.
35226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35227
35228 [BZ #14621]
35229 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
35230 int as type of variable DEPTH.
35231 (glob): Use size_t instead of int as type of variables NEWCOUNT
35232 and OLD_PATHC.
35233
352342012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35235
35236 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35237 Add s_sincosf-sse2.
35238 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
35239 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
35240 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
35241 macros for using routine as __sincosf_ia32.
35242 Use macro for function declaration and weak_alias.
35243 * sysdeps/i386/fpu/libm-test-ulps: Update.
35244
35245 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
35246 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35247
35248 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
35249 subnormal argument.
35250 * math/s_cexpf.c (__cexpf): Likewise.
35251 * math/s_csinf.c (__csinf): Likewise.
35252 * math/s_csinhf.c (__csinhf): Likewise.
35253 * math/s_ctanf.c (__ctanf): Likewise.
35254 * math/s_ctanhf.c (__ctanhf): Likewise.
35255 * math/s_ccosh.c (__ccoshf): Likewise.
35256 * math/s_cexp.c (__cexpl): Likewise.
35257 * math/s_csin.c (__csin): Likewise.
35258 * math/s_csinh.c (__csinh): Likewise.
35259 * math/s_ctan.c (__ctan): Likewise.
35260 * math/s_ctanh.c (ctanh): Likewise.
35261 * math/s_ccoshl.c (__ccoshl): Likewise.
35262 * math/s_cexpl.c (__cexpl): Likewise.
35263 * math/s_csinl.c (__csinl): Likewise.
35264 * math/s_csinhl.c (__csinhl): Likewise.
35265 * math/s_ctanl.c (__ctanl): Likewise.
35266 * math/s_ctanhl.c (__ctanhl): Likewise.
35267
352682012-09-25 Joseph Myers <joseph@codesourcery.com>
35269
35270 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
35271 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
35272 (_IO_off_t): Define to __off_t, not _G_off_t.
35273 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
35274 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
35275 (_IO_wint_t): Define to wint_t, not _G_wint_t.
35276 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
35277 type of __dummy and __dummy2 fields.
35278 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
35279 (_G_ssize_t): Likewise.
35280 (_G_off_t): Likewise.
35281 (_G_pid_t): Likewise.
35282 (_G_uid_t): Likewise.
35283 (_G_wchar_t): Likewise.
35284 (_G_wint_t): Likewise.
35285 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
35286 (_G_ssize_t): Likewise.
35287 (_G_off_t): Likewise.
35288 (_G_pid_t): Likewise.
35289 (_G_uid_t): Likewise.
35290 (_G_wchar_t): Likewise.
35291 (_G_wint_t): Likewise.
35292 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
35293 (_G_ssize_t): Likewise.
35294 (_G_off_t): Likewise.
35295 (_G_pid_t): Likewise.
35296 (_G_uid_t): Likewise.
35297 (_G_wchar_t): Likewise.
35298 (_G_wint_t): Likewise.
35299
353002012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35301
35302 * malloc/arena.c: Include malloc-sysdep.h.
35303 (shrink_heap): Use check_may_shrink_heap to decide if madvise
35304 is sufficient to shrink the heap or an unmap is needed.
35305 * sysdeps/generic/malloc-sysdep.h: New file. Define
35306 new function check_may_shrink_heap.
35307 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
35308 new function check_may_shrink_heap.
35309
353102012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35311
35312 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
35313 comments.
35314
353152012-09-24 Dmitry V. Levin <ldv@altlinux.org>
35316
35317 * catgets/test-gencat.sh: Add "set -e".
35318 * elf/tst-pathopt.sh: Likewise.
35319 * grp/tst_fgetgrent.sh: Likewise.
35320 * iconvdata/run-iconv-test.sh: Likewise.
35321 * intl/tst-gettext.sh: Likewise.
35322 * intl/tst-gettext2.sh: Likewise.
35323 * intl/tst-gettext4.sh: Likewise.
35324 * intl/tst-gettext6.sh: Likewise.
35325 * intl/tst-translit.sh: Likewise.
35326 * io/ftwtest-sh: Likewise.
35327 * libio/test-freopen.sh: Likewise.
35328 * malloc/tst-mtrace.sh: Likewise.
35329 * posix/globtest.sh: Likewise.
35330 * posix/tst-getconf.sh: Likewise.
35331 * posix/wordexp-tst.sh: Likewise.
35332 * stdio-common/tst-printf.sh: Likewise.
35333 * stdio-common/tst-unbputc.sh: Likewise.
35334 * stdlib/tst-fmtmsg.sh: Likewise.
35335 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35336 * catgets/Makefile: Do not specify -e option when running
35337 testsuite shell scripts.
35338 * elf/Makefile: Likewise.
35339 * grp/Makefile: Likewise.
35340 * iconvdata/Makefile: Likewise.
35341 * intl/Makefile: Likewise.
35342 * io/Makefile: Likewise.
35343 * libio/Makefile: Likewise.
35344 * malloc/Makefile: Likewise.
35345 * posix/Makefile: Likewise.
35346 * stdio-common/Makefile: Likewise.
35347 * stdlib/Makefile: Likewise.
35348 * sysdeps/x86_64/Makefile: Likewise.
35349
35350 * io/ftwtest-sh: Add copyright header.
35351 * posix/globtest.sh: Likewise.
35352 * posix/tst-getconf.sh: Likewise.
35353 * posix/wordexp-tst.sh: Likewise.
35354 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35355
353562012-09-24 H.J. Lu <hongjiu.lu@intel.com>
35357
35358 [BZ #13679]
35359 * Makeconfig (+link): Defined as $(+link-static) if
35360 $(build-shared) isn't yes.
35361 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
35362 isn't yes.
35363 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
35364
35365 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
35366
35367 [BZ #14562]
35368 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
35369 new chunk size with MALLOC_ALIGN_MASK.
35370
353712012-09-24 Joseph Myers <joseph@codesourcery.com>
35372
35373 [BZ #5044]
35374 * stdio-common/printf_fphex.c: Include <stdbool.h> and
35375 <rounding-mode.h>.
35376 (__printf_fphex): Determine rounding using get_rounding_mode and
35377 round_away.
35378 * stdio-common/tst-printf-round.c (struct hex_test): New
35379 structure.
35380 (hex_tests): New variable.
35381 (test_hex_in_one_mode): New function.
35382 (do_test): Also run tests for hex float output.
35383
353842012-09-21 Joseph Myers <joseph@codesourcery.com>
35385
35386 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35387 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35388 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
35389 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35390 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35391 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
35392 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35393 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35394
353952012-09-20 Joseph Myers <joseph@codesourcery.com>
35396
35397 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
35398 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
35399 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
35400 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
35401
354022012-09-19 Dmitry V. Levin <ldv@altlinux.org>
35403
35404 [BZ #14579]
35405 * elf/rtld.c (dl_main): Limit the check for self loading to normal
35406 mode only.
35407 * elf/tst-rtld-load-self.sh: New test.
35408 * elf/Makefile: Run it.
35409
354102012-09-18 Joseph Myers <joseph@codesourcery.com>
35411
35412 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
35413 (tst-writev-ENV): Remove.
35414 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
35415
354162012-09-17 Chris Metcalf <cmetcalf@tilera.com>
35417
35418 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
35419
354202012-09-17 Joseph Myers <joseph@codesourcery.com>
35421
35422 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
35423 unconditional.
35424 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
35425 Likewise.
35426 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
35427 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
35428 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
35429 Likewise.
35430
354312012-09-14 H.J. Lu <hongjiu.lu@intel.com>
35432
35433 [BZ #14587]
35434 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
35435 * config.make.in (have-cpp-asm-debuginfo): Removed.
35436 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
35437 * configure: Regenerated.
35438
354392012-09-14 Joseph Myers <joseph@codesourcery.com>
35440
35441 [BZ #5044]
35442 * stdio-common/printf_fp.c: Include <stdbool.h> and
35443 <rounding-mode.h>.
35444 (___printf_fp): Determine rounding using get_rounding_mode and
35445 round_away.
35446 * stdio-common/tst-printf-round.c: New file.
35447 * stdio-common/Makefile (tests): Add tst-printf-round.
35448 (link-libm): New variable.
35449 ($(objpfx)tst-printf-round): Depend in $(link-libm).
35450
354512012-09-13 H.J. Lu <hongjiu.lu@intel.com>
35452
35453 [BZ #14576]
35454 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
35455 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
35456 Likewise.
35457 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
35458 Likewise.
35459
354602012-09-13 Joseph Myers <joseph@codesourcery.com>
35461
35462 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
35463 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35464 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35465 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35466
354672012-09-12 Joseph Myers <joseph@codesourcery.com>
35468
35469 [BZ #14518]
35470 * include/rounding-mode.h: New file.
35471 * sysdeps/generic/get-rounding-mode.h: Likewise.
35472 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
35473 * stdlib/strtod_l.c: Include <rounding-mode.h>.
35474 (MAX_VALUE): New macro.
35475 (MIN_VALUE): Likewise.
35476 (overflow_value): New function.
35477 (underflow_value): Likewise.
35478 (round_and_return): Use overflow_value and underflow_value to
35479 determine return values in overflow and underflow cases. Use
35480 round_away to determine rounding depending on rounding mode.
35481 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
35482 determine return values in overflow and underflow cases.
35483 * stdlib/tst-strtod-round.c: Include <fenv.h>.
35484 (struct test_results): New structure.
35485 (struct test): Use struct test_results to store expected results
35486 for all rounding modes.
35487 (TEST): Include expected results for all rounding modes.
35488 (test_in_one_mode): New function.
35489 (do_test): Use test_in_one_mode to compute and check results.
35490 Check results for all rounding modes.
35491 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
35492 $(link-libm).
35493
354942012-12-09 Allan McRae <allan@archlinux.org>
35495
35496 * sysdeps/i386/fpu/libm-test-ulps: Update
35497
354982012-09-11 Joseph Myers <joseph@codesourcery.com>
35499
35500 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
35501 (_G_int32_t): Likewise.
35502 (_G_uint16_t): Likewise.
35503 (_G_uint32_t): Likewise.
35504 (_G_HAVE_BOOL): Likewise.
35505 (_G_HAVE_ATEXIT): Likewise.
35506 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35507 (_G_HAVE_IO_FILE_OPEN): Likewise.
35508 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
35509 (_G_int32_t): Likewise.
35510 (_G_uint16_t): Likewise.
35511 (_G_uint32_t): Likewise.
35512 (_G_HAVE_BOOL): Likewise.
35513 (_G_HAVE_ATEXIT): Likewise.
35514 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35515 (_G_HAVE_IO_FILE_OPEN): Likewise.
35516 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
35517 (_G_int32_t): Likewise.
35518 (_G_uint16_t): Likewise.
35519 (_G_uint32_t): Likewise.
35520 (_G_HAVE_BOOL): Likewise.
35521 (_G_HAVE_ATEXIT): Likewise.
35522 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35523 (_G_HAVE_IO_FILE_OPEN): Likewise.
35524
355252012-09-11 H.J. Lu <hongjiu.lu@intel.com>
35526
35527 * csu/libc-tls.c: Update copyright years.
35528
355292012-09-10 Joseph Myers <joseph@codesourcery.com>
35530
35531 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
35532 [!_G_USING_THUNKS]: Remove conditional code.
35533 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
35534 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
35535
35536 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
35537 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
35538 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35539 (_G_VTABLE_LABEL_PREFIX): Likewise.
35540 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35541 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35542 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35543 (_G_VTABLE_LABEL_PREFIX): Likewise.
35544 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35545 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35546 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35547 (_G_VTABLE_LABEL_PREFIX): Likewise.
35548 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35549
355502012-09-10 H.J. Lu <hongjiu.lu@intel.com>
35551
35552 * libio/Makefile: Include ../Makeconfig before tests.
35553 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
35554 only if $(build-shared) is yes.
35555
35556 * iconv/gconv_db.c: Update copyright years.
35557
355582012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35559
35560 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
35561 unwind info if defined PIC. Fix special cases description.
35562 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
35563
35564 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
35565 DP_HI_MASK entry.
35566 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
35567
355682012-09-07 H.J. Lu <hongjiu.lu@intel.com>
35569
35570 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
35571
35572 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
35573 is NULL.
35574
35575 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
35576 (LDLIBS-tst-chk4): This.
35577 (LDFLAGS-tst-chk5): Renamed to ...
35578 (LDLIBS-tst-chk5): This.
35579 (LDFLAGS-tst-chk6): Renamed to ...
35580 (LDLIBS-tst-chk6): This.
35581 (LDFLAGS-tst-lfschk4): Renamed to ...
35582 (LDLIBS-tst-lfschk4): This.
35583 (LDFLAGS-tst-lfschk5): Renamed to ...
35584 (LDLIBS-tst-lfschk5): This.
35585 (LDFLAGS-tst-lfschk6): Renamed to ...
35586 (LDLIBS-tst-lfschk6): This.
35587
35588 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
35589 on $(common-objpfx)soversions.mk.
35590
355912012-09-07 Joseph Myers <joseph@codesourcery.com>
35592
35593 [BZ #10014]
35594 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
35595 example host name.
35596
355972012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
35598
35599 * malloc/arena.c (arena_get_retry): New function that gets
35600 another arena for the caller to try its request on.
35601 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
35602 current arena cannot fulfill the request.
35603 (__libc_memalign): Likewise.
35604 (__libc_memalign): Likewise.
35605 (__libc_pvalloc): Likewise.
35606 (__libc_calloc): Likewise.
35607
356082012-09-05 John Tobey <john.tobey@gmail.com>
35609
35610 [BZ #13542]
35611 * manual/arith.texi (Operations on Complex): Fix description
35612 of carg branch cut.
35613
356142012-09-06 Joseph Myers <joseph@codesourcery.com>
35615
35616 [BZ #10014]
35617 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
35618 host name.
35619
35620 [BZ #10038]
35621 * manual/memory.texi (Memory): Make order of menu items match
35622 order of sections.
35623
356242012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35625
35626 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
35627 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
35628 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
35629
356302012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35631
35632 * csu/libc-tls.c (static_dtv): Renamed to ...
35633 (_dl_static_dtv): This. Make it global.
35634 (_dl_initial_dtv): Removed.
35635 (__libc_setup_tls): Updated.
35636 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
35637 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
35638 DL_INITIAL_DTV.
35639
356402012-09-06 Petr Machata <pmachata@redhat.com>
35641
35642 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
35643 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
35644 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
35645 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
35646
356472012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35648
35649 [BZ #14545]
35650 * csu/libc-tls.c (_dl_initial_dtv): New variable.
35651 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
35652 freeing dtv[-1].
35653
356542012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35655
35656 [BZ #14544]
35657 * Makeconfig (link-static-before-libc): Replace $(+prector)
35658 with $(+prectorT).
35659 (link-static-after-libc): Replace $(+postctor) with
35660 $(+postctorT).
35661 (link-bounded): Replace $(+prector)/$(+postctor) with
35662 $(+prectorT)/$(+postctorT).
35663 (+prectorT): New macro.
35664 (+postctorT): Likewise.
35665
356662012-09-06 Joseph Myers <joseph@codesourcery.com>
35667
35668 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
35669 (round_str): Handle values above the maximum for IBM long double
35670 as inexact.
35671 * stdlib/tst-strtod-round.c (tests): Regenerated.
35672
356732012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35674
35675 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
35676 assembler flag.
35677 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
35678 zarch_nohighgprs around the zarch optimized routines.
35679 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
35680 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
35681 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
35682 for zarch.
35683
356842012-09-05 David S. Miller <davem@davemloft.net>
35685
35686 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35687
35688 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
35689 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
35690 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
35691 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35692 entries.
35693
356942012-09-05 Alexandre Oliva <aoliva@redhat.com>
35695
35696 * malloc/arena.c: Fold copyright years.
35697 * malloc/mcheck.c, malloc/memusage.c: Likewise.
35698
356992012-09-05 Alexandre Oliva <aoliva@redhat.com>
35700
35701 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
35702
357032012-09-05 Alexandre Oliva <aoliva@redhat.com>
35704
35705 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
35706
357072012-09-05 Alexandre Oliva <aoliva@redhat.com>
35708
35709 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
35710 change internal state upon failure.
35711
357122012-09-05 Alexandre Oliva <aoliva@redhat.com>
35713
35714 * malloc/mcheck.c (mcheck_check_all): Fix typo.
35715 * malloc/memusage.c (mmap): Likewise.
35716 (mmap64, mremap): Likewise. Adjust name in comment.
35717
357182012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
35719
35720 * libio/fileops.c: Fix typos in comments.
35721 * libio/oldfileops.c: Likewise.
35722 * libio/wfileops.c: Likewise.
35723
357242012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
35725
35726 [BZ #1349]
35727 * malloc/Makefile (tests): Add tst-malloc-usable test case.
35728 (tst-malloc-usable-ENV): Set environment for test case.
35729 * malloc/hooks.c (malloc_check_get_size): New function to get
35730 requested size.
35731 * malloc/malloc.c (musable): Use malloc_check_get_size.
35732 * malloc/tst-malloc-usable.c: New test case.
35733
357342012-09-05 Andreas Schwab <schwab@linux-m68k.org>
35735
35736 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
35737
357382012-09-05 Allan McRae <allan@archlinux.org>
35739
35740 [BZ #13966]
35741 * configure.in (CXX_SYSINCLUDES): Use compiler output to
35742 determine header location.
35743 * configure: Regenerated.
35744
357452012-09-05 Andreas Schwab <schwab@linux-m68k.org>
35746
35747 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
35748 float format.
35749 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
35750 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
35751 format.
35752 (test): Regenerate.
35753
357542012-09-04 David S. Miller <davem@davemloft.net>
35755
35756 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
35757 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
35758 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
35759
357602012-09-04 Florian Weimer <fweimer@redhat.com>
35761
35762 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
35763 failures.
35764
35765 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
35766
357672012-09-04 Joseph Myers <joseph@codesourcery.com>
35768
35769 [BZ #9914]
35770 * libio/iogetdelim.c: Include <limits.h>.
35771 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
35772 + len + 1 would overflow.
35773
357742012-09-03 Andreas Jaeger <aj@suse.de>
35775
35776 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35777 * sysdeps/i386/fpu/libm-test-ulps: Update.
35778
357792012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35780
35781 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35782 Add s_sinf-sse2, s_conf-sse2.
35783
35784 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
35785 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
35786 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
35787 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
35788
35789 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
35790 for using routine as __sinf_ia32.
35791 Use macro for function declaration and weak_alias.
35792 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
35793 for using routine as __cosf_ia32.
35794 Use macro for function declaration and weak_alias.
35795
35796 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
35797 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
35798
35799 * sysdeps/x86_64/fpu/s_sinf.S: New file.
35800 * sysdeps/x86_64/fpu/s_cosf.S: New file.
35801 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35802
35803 * math/libm-test.inc (cos_test): Add more test cases.
35804 (sin_test): Likewise.
35805 (sincos_test): Likewise.
35806
358072012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35808
35809 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
35810 (IFUNC_RESOLVE): Make pointers to the specialized implementations
35811 hidden.
35812 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35813
358142012-09-02 H.J. Lu <hongjiu.lu@intel.com>
35815
35816 [BZ #14538]
35817 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
35818 first element of the GOT.
35819 (elf_machine_load_address): Return the difference between
35820 the runtime address of _DYNAMIC and elf_machine_dynamic ().
35821
358222012-09-01 Allan McRae <allan@archlinux.org>
35823
35824 [BZ #13412]
35825 * configure.in (AWK): Require gawk version 3.0 or later.
35826 * configure: Regenerated.
35827
358282012-09-01 Joseph Myers <joseph@codesourcery.com>
35829
35830 * sysdeps/unix/sysv/linux/kernel-features.h
35831 (__ASSUME_POSIX_CPU_TIMERS): Remove.
35832 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35833 [__NR_clock_getres]: Make code unconditional.
35834 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
35835 (clock_getcpuclockid): Remove code left unreachable by removal of
35836 conditionals.
35837 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
35838 code unconditional.
35839 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35840 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35841 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
35842 Make code unconditional.
35843 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35844 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35845 * sysdeps/unix/sysv/linux/clock_settime.c
35846 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
35847 conditional code.
35848 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
35849 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35850
358512012-08-29 H.J. Lu <hongjiu.lu@intel.com>
35852
35853 [BZ #14476]
35854 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
35855 scripts/test-installation.pl.
35856
35857 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
35858 and $ld_so_version if it is set.
35859
358602012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35861
35862 [BZ #14516]
35863 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
35864 failure if reading from procfs failed.
35865 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
35866
358672012-08-27 Joseph Myers <joseph@codesourcery.com>
35868
35869 * sysdeps/unix/sysv/linux/kernel-features.h
35870 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
35871 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35872 Remove conditional code.
35873 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35874 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
35875 Remove conditional code.
35876 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35877 * sysdeps/unix/sysv/linux/i386/fxstat.c
35878 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35879 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35880 * sysdeps/unix/sysv/linux/i386/fxstatat.c
35881 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35882 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35883 * sysdeps/unix/sysv/linux/i386/lxstat.c
35884 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35885 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35886 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
35887 Remove conditional code.
35888 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35889 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35890 Remove conditional code.
35891 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35892 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
35893 <kernel-features.h>.
35894 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
35895 Remove.
35896 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
35897 Remove conditional code.
35898 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35899 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
35900 Remove conditional.
35901
359022012-08-27 Mike Frysinger <vapier@gentoo.org>
35903
35904 [BZ #5400]
35905 * NEWS: Add fixed bug number.
35906
359072012-08-27 Joseph Myers <joseph@codesourcery.com>
35908
35909 [BZ #14519]
35910 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
35911 underflowing exponent in case of negative sign.
35912 * stdlib/tst-strtod-round-data: Add more tests.
35913 * stdlib/tst-strtod-round.c (tests): Regenerated.
35914
35915 [BZ #3479]
35916 * stdlib/strtod_l.c (NDIG): Remove.
35917 (HEXNDIG): Likewise.
35918 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
35919 smallest representable value.
35920 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
35921 lie within an exact representation of 1/2 ulp of the result.
35922 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
35923 unconditionally.
35924 (TENS_P9_IDX): Define unconditionally.
35925 (TENS_P9_SIZE): Likewise.
35926 (TENS_P10_IDX): Likewise.
35927 (TENS_P10_SIZE): Likewise.
35928 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
35929 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
35930 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
35931 entries for 10^2^13 and 10^2^14.
35932 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
35933 (TENS_P13_IDX): Define.
35934 (TENS_P13_SIZE): Likewise.
35935 (TENS_P14_IDX): Likewise.
35936 (TENS_P14_SIZE): Likewise.
35937 (_fpioconst_pow10): Change array size to
35938 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
35939 unconditional.
35940 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
35941 1024]: Add entries for 10^2^13 and 10^2^14.
35942 [LAST_POW10 > _LAST_POW10]: Remove #error.
35943 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
35944 (_fpioconst_pow10): Change array size to
35945 FPIOCONST_POW10_ARRAY_SIZE.
35946 * stdlib/gen-fpioconst.c: New file.
35947 * stdlib/gen-tst-strtod-round.c: Likewise.
35948 * stdlib/tst-strtod-round-data: Likewise.
35949 * stdlib/tst-strtod-round.c: Likewise.
35950 * stdlib/Makefile (tests): Add tst-strtod-round.
35951
35952 [BZ #14459]
35953 * stdlib/strtod_l.c: Include <stdint.h>.
35954 (NDEBUG): Do not define.
35955 (round_and_return): Change EXPONENT parameter to type intmax_t.
35956 Rearrange calculations to avoid internal overflow possibilities.
35957 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
35958 Rearrange calculations to avoid internal overflow possibilities.
35959 Assert that number fits inside MPNSIZE limbs.
35960 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
35961 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
35962 calculations and add assertions to avoid internal overflow
35963 possibilities. Add casts to avoid signed/unsigned operations.
35964 * stdlib/tst-strtod-overflow.c: New file.
35965 * stdlib/Makefile (tests): Add tst-strtod-overflow.
35966
359672012-08-25 Marek Polacek <polacek@redhat.com>
35968
35969 * time/time.h: Fix some typos in comments.
35970
359712012-08-23 Roland McGrath <roland@hack.frob.com>
35972
35973 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
35974 * posix/tst-rfc3484-2.c: Likewise.
35975 * posix/tst-rfc3484-3.c: Likewise.
35976
359772012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
35978
35979 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
35980 (EF_ARM_ABI_FLOAT_HARD): Likewise.
35981
359822012-08-23 Joseph Myers <joseph@codesourcery.com>
35983
35984 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
35985 #include of fxstatat64.c.
35986
359872012-08-22 Roland McGrath <roland@hack.frob.com>
35988
35989 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
35990 * shadow/getspent_r.c: Likewise.
35991 * shadow/getspnam.c: Likewise.
35992 * shadow/getspnam_r.c: Likewise.
35993 * gshadow/getsgent.c: Likewise.
35994 * gshadow/getsgent_r.c: Likewise.
35995 * gshadow/getsgnam.c: Likewise.
35996 * gshadow/getsgnam_r.c: Likewise.
35997 * inet/getnetbyad.c: Likewise.
35998 * inet/getnetbyad_r.c: Likewise.
35999 * inet/getnetbynm.c: Likewise.
36000 * inet/getnetbynm_r.c: Likewise.
36001 * inet/getnetent.c: Likewise.
36002 * inet/getnetent_r.c: Likewise.
36003 * inet/getproto.c: Likewise.
36004 * inet/getproto_r.c: Likewise.
36005 * inet/getprtent.c: Likewise.
36006 * inet/getprtent_r.c: Likewise.
36007 * inet/getprtname.c: Likewise.
36008 * inet/getprtname_r.c: Likewise.
36009 * inet/getrpcbyname.c: Likewise.
36010 * inet/getrpcbyname_r.c: Likewise.
36011 * inet/getrpcbynumber.c: Likewise.
36012 * inet/getrpcbynumber_r.c: Likewise.
36013 * inet/getrpcent.c: Likewise.
36014 * inet/getrpcent_r.c: Likewise.
36015 * inet/getaliasent.c: Likewise.
36016 * inet/getaliasent_r.c: Likewise.
36017 * inet/getaliasname.c: Likewise.
36018 * inet/getaliasname_r.c: Likewise.
36019 * nscd/getgrgid_r.c: Likewise.
36020 * nscd/getgrnam_r.c: Likewise.
36021 * nscd/gethstbyad_r.c: Likewise.
36022 * nscd/gethstbynm3_r.c: Likewise.
36023 * nscd/getpwnam_r.c: Likewise.
36024 * nscd/getpwuid_r.c: Likewise.
36025 * nscd/getsrvbynm_r.c: Likewise.
36026 * nscd/getsrvbypt_r.c: Likewise.
36027 * nscd/gai.c: Likewise.
36028
36029 * configure.in (build_nscd): New substituted variable, set
36030 by --disable-build-nscd and defaults to $use_nscd.
36031 * configure: Regenerated.
36032 * config.make.in (build-nscd): New substituted variable.
36033 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
36034 Change conditional to require [$(build-nscd) = yes] as well.
36035 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
36036
36037 [BZ# 13696]
36038 * configure.in (use_nscd): New substituted variable, set by
36039 --disable-nscd. If enabled, define USE_NSCD.
36040 * configure: Regenerated.
36041 * config.h.in: Add USE_NSCD.
36042 * config.make.in (use-nscd): New substituted variable.
36043 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
36044 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
36045 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
36046 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
36047 (CFLAGS-getgrnam_r.c): Likewise.
36048 (CFLAGS-initgroups.c): Likewise.
36049 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
36050 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
36051 Variables removed.
36052 * inet/getnetgrent_r.c
36053 (nscd_setnetgrent): New function, broken out of ...
36054 (setnetgrent): ... here. Call it.
36055 (innetgr): Conditionalize nscd bits on [USE_NSCD].
36056 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
36057 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
36058 * nscd/Makefile (routines, aux): Move definitions after include of
36059 Makeconfig. Conditionalize on [$(use-nscd) != no].
36060 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
36061 Conditionalize on [USE_NSCD].
36062 (is_nscd, nscd_init_cb): Likewise.
36063 (nss_load_library): Conditionalize init callback on [USE_NSCD].
36064 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
36065 * nss/nss_db/db-init.c: Likewise.
36066 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
36067 [USE_NSCD].
36068 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
36069 (make_request): Use it.
36070 (cache_valid_p): New function.
36071 (__check_pf): Use it.
36072 * NEWS: Add item for --disable-nscd.
36073
360742012-08-22 Dmitry V. Levin <ldv@altlinux.org>
36075
36076 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
36077 to support sed >= 4.2.1-20-ga9bf076.
36078 * configure: Regenerated.
36079
360802012-08-22 Roland McGrath <roland@hack.frob.com>
36081
36082 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
36083 Conditionalize whole body on [IREL].
36084
360852012-08-22 Jeff Law <law@redhat.com>
36086
36087 [BZ #14505]
36088 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
36089 if the family is PF_UNSPEC.
36090
360912012-08-22 Mike Frysinger <vapier@gentoo.org>
36092
36093 * Makerules (lib-version): Rename from V.
36094 (install-lib-nosubdir): Change V to lib-version.
36095
360962012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
36097
36098 [BZ #14252]
36099 * powerpc32/power6/wcschr.c: New file.
36100 * powerpc32/power6/wcscpy.c: New file.
36101 * powerpc32/power6/wcsrchr.c: New file.
36102 * powerpc64/power6/wcschr.c: New file.
36103 * powerpc64/power6/wcscpy.c: New file.
36104 * powerpc64/power6/wcsrchr.c: New file.
36105
361062012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36107
36108 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
36109 (two_way_short_needle): Use it.
36110 * string/strstr.c (AVAILABLE1_USES_J): Define.
36111 * string/strcasestr.c: Likewise.
36112
36113 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
36114 array references.
36115 * string/strcasestr.c (TOLOWER): Make side-effect safe.
36116
36117 [BZ #11607]
36118 * NEWS: Add an entry.
36119 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
36120 define their defaults.
36121 (two_way_short_needle): Detect end-of-string on-the-fly.
36122 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
36123 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
36124 * string/bug-strcasestr1.c: New test.
36125 * string/Makefile: Run it.
36126
361272012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36128
36129 [BZ #11607]
36130 * string/str-two-way.h (two_way_short_needle): Optimize matching of
36131 the first character.
36132
361332012-08-21 Roland McGrath <roland@hack.frob.com>
36134
36135 * csu/elf-init.c (__libc_csu_irel): Function removed.
36136 * csu/libc-start.c (apply_irel): New function.
36137 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
36138
361392012-08-21 Joseph Myers <joseph@codesourcery.com>
36140
36141 * sysdeps/unix/sysv/linux/kernel-features.h
36142 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
36143 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36144 <kernel-features.h>.
36145 [__NR_fadvise64_64]: Make code unconditional.
36146 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
36147 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36148 !__NR_fadvise64_64)]: Likewise.
36149 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36150 !__NR_fadvise64_64))]: Likewise.
36151 [__NR_fadvise64]: Make code unconditional.
36152 [!__NR_fadvise64]: Remove conditional code.
36153 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
36154 <kernel-features.h>.
36155 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36156 unconditional.
36157 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36158 conditional code.
36159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
36160 not include <kernel-features.h>.
36161 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36162 unconditional.
36163 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36164 conditional code.
36165 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
36166 include <kernel-features.h>.
36167 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36168 unconditional.
36169 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36170 conditional code.
36171
361722012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36173
36174 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
36175 slight instruction rearrangements per scrollpipe analysis.
36176 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36177
361782012-08-20 Roland McGrath <roland@hack.frob.com>
36179
36180 * manual/syslog.texi (syslog; vsyslog, closelog):
36181 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
36182 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
36183
36184 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
36185 DSOCAPS to match condition on defining it.
36186
361872012-08-20 Joseph Myers <joseph@codesourcery.com>
36188
36189 * sysdeps/unix/sysv/linux/kernel-features.h
36190 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
36191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
36192 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36193 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
36195 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36196 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
36198 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36199 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36200
36201 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
36202 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
36203
36204 * sysdeps/unix/sysv/linux/kernel-features.h
36205 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
36206 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
36207 unconditional.
36208 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36209 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
36210 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36211 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36212 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
36213 Make code unconditional.
36214 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36215 (__mmap64) [!__NR_mmap2]: Likewise.
36216 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
36217 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36218 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36219 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
36220 [__NR_mmap2]: Make code unconditional.
36221 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36222 (__mmap64) [!__NR_mmap2]: Likewise.
36223
362242012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36225
36226 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
36227
362282012-08-18 Andreas Jaeger <aj@suse.de>
36229
36230 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
36231
362322012-08-18 Mike Frysinger <vapier@gentoo.org>
36233
36234 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
36235 * include/unistd.h (__have_sock_cloexec): Likewise.
36236 (__have_pipe2): Likewise.
36237 (__have_dup3): Likewise.
36238
362392012-08-18 Mike Frysinger <vapier@gentoo.org>
36240
36241 [BZ #9685]
36242 * include/unistd.h (__have_pipe2): Change define into an extern int.
36243 (__have_dup3): Likewise.
36244 * socket/have_sock_cloexec.c: Include fcntl.h.
36245 (__have_pipe2): New variable.
36246 (__have_dup3): Likewise.
36247
362482012-08-17 Mike Frysinger <vapier@gentoo.org>
36249
36250 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
36251
362522012-08-17 Marek Polacek <polacek@redhat.com>
36253
36254 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
36255 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
36256
362572012-08-17 Roland McGrath <roland@hack.frob.com>
36258
36259 * configure.in: Add AC_SUBST for sysheaders.
36260 * configure: Regenerated.
36261 * config.make.in (sysheaders): New substituted variable.
36262
36263 * sysdeps/unix/mkfifo.c: Moved ...
36264 * sysdeps/posix/mkfifo.c: ... here.
36265 * sysdeps/unix/mkfifoat.c: Moved ...
36266 * sysdeps/posix/mkfifoat.c: ... here.
36267
36268 * sysdeps/unix/utime.c: Moved ...
36269 * sysdeps/posix/utime.c: ... here.
36270
36271 * sysdeps/unix/time.c: Moved ...
36272 * sysdeps/posix/time.c: ... here.
36273 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
36274 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
36275
36276 * sysdeps/unix/nice.c: Moved ...
36277 * sysdeps/posix/nice.c: ... here.
36278
36279 * sysdeps/unix/alarm.c: Moved ...
36280 * sysdeps/posix/alarm.c: ... here.
36281
36282 * intl/Makefile ($(codeset_mo)): Depend on the input file.
36283
362842012-08-17 Jeff Law <law@redhat.com>
36285
36286 * intl/Makefile (codeset_mo): New variable.
36287 ($(codeset_mo)): New target.
36288 (tst-codeset.out): Depend on that. Remove explicit rule.
36289 (tst-gettext3.out, tst-gettext5.out): Likewise.
36290 (LOCPATH-ENV, tst-codeset-ENV): New variables.
36291 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
36292 * intl/tst-codeset.sh: Remove.
36293 * intl/tst-gettext3.sh: Likewise.
36294 * intl/tst-gettext5.sh: Likewise.
36295
362962012-08-17 Roland McGrath <roland@hack.frob.com>
36297
36298 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
36299 * sysdeps/unix/syscalls.list: ... here.
36300
36301 * sysdeps/posix/getaddrinfo.c
36302 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
36303 (gaiconf_init, gaiconf_reload): Use them.
36304 [!_STATBUF_ST_NSEC]
36305 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
36306 Define using time_t rather than struct timespec.
36307
36308 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
36309 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
36310 Macros removed.
36311 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
36312 [!NO_THREADS].
36313 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
36314 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
36315 Likewise.
36316
36317 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
36318 __libc_cleanup_push argument.
36319
36320 * bits/param.h: New file.
36321 * misc/sys/param.h: New file.
36322 * include/sys/param.h: New file.
36323 * misc/Makefile (headers): Add bits/param.h.
36324 * sysdeps/generic/sys/param.h: File removed.
36325 * sysdeps/unix/sysv/linux/bits/param.h: New file.
36326 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
36327 * sysdeps/mach/hurd/bits/param.h: New file.
36328 * sysdeps/mach/hurd/sys/param.h: File removed.
36329
36330 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
36331 last change.
36332
36333 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
36334 [_IO_MTSAFE_IO].
36335 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
36336 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
36337 New macros.
36338
36339 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
36340 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
36341 rather than -D_IO_MTSAFE_IO conditionally.
36342 * stdio-common/Makefile (CPPFLAGS): Likewise.
36343 * wcsmbs/Makefile (CPPFLAGS): Likewise.
36344 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
36345 Use $(libio-mtsafe).
36346 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
36347 of -D_IO_MTSAFE_IO.
36348 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
36349 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
36350 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
36351 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
36352 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
36353 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
36354 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
36355 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
36356 (CFLAGS-fread_u_chk.c): Likewise.
36357 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
36358 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
36359 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
36360 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
36361 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
36362 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
36363 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
36364 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
36365 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
36366
36367 * libio/Makefile: Test [$(libc-reentrant) = yes]
36368 instead of [$(filter %REENTRANT, $(defines)) nonempty].
36369
36370 * Makeconfig
36371 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
36372 * sysdeps/pthread/configure: File removed.
36373 * sysdeps/pthread/Makeconfig: New file.
36374 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
36375 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
36376
363772012-08-16 Gary Benson <gbenson@redhat.com>
36378
36379 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
36380 unmapping the first object in a namespace.
36381
363822012-08-16 Roland McGrath <roland@hack.frob.com>
36383
36384 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
36385 (__internal_setnetgrent): ... this. Add internal_function to
36386 definition. Add libc_hidden_def.
36387 (setnetgrent): Update caller.
36388 (internal_endnetgrent): Renamed to ...
36389 (__internal_endnetgrent): ... this. Add internal_function to
36390 definition. Add libc_hidden_def.
36391 (endnetgrent): Update caller.
36392 (internal_getnetgrent_r): Renamed to ...
36393 (__internal_getnetgrent_r): ... this. Add internal_function to
36394 definition. Add libc_hidden_def.
36395 (__getnetgrent_r): Update caller.
36396 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
36397
363982012-08-16 Joseph Myers <joseph@codesourcery.com>
36399
36400 * stdlib/longlong.h: Update from GCC.
36401
364022012-08-16 Roland McGrath <roland@hack.frob.com>
36403
36404 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
36405 on _QL, which is set by umul_ppmm but never used.
36406 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
36407 variables, which are set by GMP macros but never used.
36408 * stdio-common/_itowa.c (_itowa): Likewise.
36409 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
36410 * stdlib/mod_1.c (mpn_mod_1): Likewise.
36411
364122012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
36413
36414 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
36415 struct La_sh_regs is not constant.
36416 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
36417 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
36418 and struct La_sparc64_regs are not constant.
36419
364202012-08-16 Joseph Myers <joseph@codesourcery.com>
36421
36422 * sysdeps/unix/sysv/linux/kernel-features.h
36423 (__ASSUME_POSIX_TIMERS): Remove.
36424 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36425 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36426 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
36427 Make code unconditional.
36428 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36429 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
36430 Make code unconditional.
36431 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36432 * sysdeps/unix/sysv/linux/clock_nanosleep.c
36433 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
36434 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36435 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
36436 Make code unconditional.
36437 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36438 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
36439 (__libc_missing_posix_timers): Remove.
36440
364412012-08-15 Roland McGrath <roland@hack.frob.com>
36442
36443 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
36444 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
36445
36446 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
36447
36448 * elf/dl-sym.c: Include <stdlib.h>.
36449
36450 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
36451 constants, which avoids warnings in 32-bit builds.
36452
36453 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
36454 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
36455
36456 * misc/lseek.c: File moved to ...
36457 * io/lseek.c: ... here.
36458
36459 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
36460
36461 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
36462 shifting LEN more than 31 bits at once.
36463
364642012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36465
36466 [BZ #14195]
36467 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
36468 segmentation fault for a case of two empty input strings.
36469 * string/test-strncasecmp.c (check1): Renamed to...
36470 (bz12205): ...this.
36471 (bz14195): Add new testcase for two empty input strings and N > 0.
36472 (test_main): Call new testcase, adapt for renamed function.
36473
364742012-08-15 Andreas Jaeger <aj@suse.de>
36475
36476 [BZ #14090]
36477 * crypt/md5test2.c: New test, based on test supplied by Serge
36478 Belyshev <belyshev@depni.sinp.msu.ru>.
36479 * crypt/Makefile (xtests): Add md5test-giant..
36480 * crypt/Makefile ($(objpfx)md5test-giant): Add.
36481
364822012-08-15 Paul Eggert <eggert@cs.ucla.edu>
36483
36484 [BZ #14090]
36485 * crypt/md5.c (md5_process_block): Don't assume the buffer
36486 length is less than 2**32.
36487 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
36488 length is less than 2**64.
36489
364902012-08-15 Roland McGrath <roland@hack.frob.com>
36491
36492 * string/str-two-way.h: Include <sys/param.h>.
36493 (MAX): Macro removed.
36494
36495 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
36496 Move #define and #undef of memmove to just before and after
36497 including <string.h>.
36498
36499 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
36500 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
36501 and after including <string.h>. Move declarations of
36502 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
36503 to before #include "string/memmove.c".
36504
36505 * include/dirent.h: Declare __getdirentries.
36506
36507 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
36508 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
36509
365102012-08-14 Mike Frysinger <vapier@gentoo.org>
36511
36512 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
36513 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
36514 * sysdeps/i386/configure: Regenerated.
36515 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
36516 STABS_CURRENT_FILE, and STABS_FUN.
36517 (END): Remove call to STABS_FUN_END.
36518 (STABS_CURRENT_FILE1): Delete.
36519 (STABS_CURRENT_FILE): Likewise.
36520 (STABS_FUN): Likewise.
36521 (STABS_FUN_END): Likewise.
36522 (STABS_FUN2): Likewise.
36523 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
36524 * sysdeps/x86_64/configure: Regenerated.
36525
365262012-08-14 Roland McGrath <roland@hack.frob.com>
36527
36528 * elf/dl-open.c: Include <atomic.h>.
36529 * elf/dl-lookup.c: Likewise.
36530
365312012-08-14 Joseph Myers <joseph@codesourcery.com>
36532
36533 * sysdeps/unix/sysv/linux/kernel-features.h
36534 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
36535 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
36536 unconditionally.
36537 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
36538 unconditionally.
36539 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
36540 condition on __ASSUME_CLONE_THREAD_FLAGS.
36541
365422012-08-14 Andreas Jaeger <aj@suse.de>
36543
36544 * sysdeps/i386/fpu/libm-test-ulps: Update.
36545
365462012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
36547
36548 * include/atomic.h (atomic_exchange_and_add): Split into ...
36549 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
36550 New atomic macros.
36551
365522012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
36553
36554 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36555
365562012-08-13 Jeff Law <law@redhat.com>
36557
36558 * manual/stdio.texi (snprintf): Clarify handling of the trailing
36559 null byte in the output string.
36560
365612012-08-10 Joseph Myers <joseph@codesourcery.com>
36562
36563 * sysdeps/unix/sysv/linux/kernel-features.h
36564 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
36565 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
36566 (__ASSUME_ARG_MAX_STACK_BASED): Define.
36567 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36568 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
36569 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
36570 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
36571
365722012-08-09 Jeff Law <law@redhat.com>
36573
36574 [BZ #13939]
36575 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
36576 When avoid_arena is set, don't retry in the that arena. Pick the
36577 next one, whatever it might be.
36578 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
36579 (arena_lock): Pass in new parameter to arena_get2.
36580 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
36581 arena_get2.
36582 (__libc_malloc): Unify retrying after main arena failure with
36583 __libc_memalign version.
36584 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
36585
365862012-08-09 H.J. Lu <hongjiu.lu@intel.com>
36587
36588 [BZ #14166]
36589 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
36590 to __redirect_strstr.
36591 (__strstr_sse42): Use typeof __redirect_strstr.
36592 (__strstr_ia32): Likewise.
36593 (__libc_strstr): New prototype.
36594 (strstr): Renamed to ...
36595 (__libc_strstr): This.
36596 (strstr): New strong alias of __libc_strstr.
36597 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36598 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
36599 __redirect_time.
36600 Include <time.h>.
36601 (__libc_time): New prototype.
36602 (time_ifunc): Replace time with __libc_time.
36603 (time): New strong alias and hidden definition of __libc_time.
36604 (__GI_time): Remove strong alias.
36605 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
36606 Include <stddef.h>.
36607 (memmove): Redefined to __redirect_memmove.
36608 (__memmove_sse2): Use typeof __redirect_memmove.
36609 (__memmove_ssse3): Likewise.
36610 (__memmove_ssse3_back): Likewise.
36611 (__libc_memmove): New prototype.
36612 (memmove): Renamed to ...
36613 (__libc_memmove): This.
36614 (memmove): New strong alias of __libc_memmove.
36615
366162012-08-08 Mark Salter <msalter@redhat.com>
36617
36618 * elf/elf.h
36619 (R_MN10300_TLS_GD): Define.
36620 (R_MN10300_TLS_LD): Likewise.
36621 (R_MN10300_TLS_LDO): Likewise.
36622 (R_MN10300_TLS_GOTIE): Likewise.
36623 (R_MN10300_TLS_IE): Likewise.
36624 (R_MN10300_TLS_LE): Likewise.
36625 (R_MN10300_TLS_DTPMOD): Likewise.
36626 (R_MN10300_TLS_DTPOFF): Likewise.
36627 (R_MN10300_TLS_TPOFF): Likewise.
36628 (R_MN10300_SYM_DIFF): Likewise.
36629 (R_MN10300_ALIGN): Likewise.
36630 (R_MN10300_NUM): Update.
36631
366322012-08-08 Joseph Myers <joseph@codesourcery.com>
36633
36634 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
36635 Remove.
36636
366372012-08-08 Roland McGrath <roland@hack.frob.com>
36638
36639 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
36640
36641 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
36642 sysdeps/unix -> sysdeps/posix move.
36643 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
36644
366452012-08-07 Allan McRae <allan@archlinux.org>
36646
36647 [BZ #14303]
36648 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
36649 (SUNOS_CPP): Likewise.
36650 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
36651 not found.
36652 (open_input): Call CPP using execvp.
36653
366542012-08-07 Joseph Myers <joseph@codesourcery.com>
36655
36656 * sysdeps/unix/sysv/linux/kernel-features.h
36657 (__ASSUME_PROT_GROWSUPDOWN): Remove.
36658 (__ASSUME_NO_CLONE_DETACHED): Likewise.
36659 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36660 (__ASSUME_WAITID_SYSCALL): Likewise.
36661 * sysdeps/unix/sysv/linux/dl-execstack.c
36662 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
36663 code unconditional.
36664 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
36665 conditional code.
36666 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
36667 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
36668 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
36669 code.
36670 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
36671 unconditional.
36672 [__ASSUME_WAITID_SYSCALL]: Likewise.
36673 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
36674
366752012-08-07 Roland McGrath <roland@hack.frob.com>
36676
36677 * sysdeps/unix/closedir.c: Renamed to ...
36678 * sysdeps/posix/closedir.c: ... here.
36679 * sysdeps/unix/dirfd.c: Renamed to ...
36680 * sysdeps/posix/dirfd.c: ... here.
36681 * sysdeps/unix/dirstream.h: Renamed to ...
36682 * sysdeps/posix/dirstream.h: ... here.
36683 * sysdeps/unix/fdopendir.c: Renamed to ...
36684 * sysdeps/posix/fdopendir.c: ... here.
36685 * sysdeps/unix/opendir.c: Renamed to ...
36686 * sysdeps/posix/opendir.c: ... here.
36687 * sysdeps/unix/readdir.c: Renamed to ...
36688 * sysdeps/posix/readdir.c: ... here.
36689 * sysdeps/unix/readdir_r.c: Renamed to ...
36690 * sysdeps/posix/readdir_r.c: ... here.
36691 * sysdeps/unix/rewinddir.c: Renamed to ...
36692 * sysdeps/posix/rewinddir.c: ... here.
36693 * sysdeps/unix/seekdir.c: Renamed to ...
36694 * sysdeps/posix/seekdir.c: ... here.
36695 * sysdeps/unix/telldir.c: Renamed to ...
36696 * sysdeps/posix/telldir.c: ... here.
36697 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
36698 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
36699 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
36700 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
36701
36702 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
36703 * bits/fcntl.h: ... here.
36704
36705 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
36706 not 0.
36707 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
36708 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
36709 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
36710 (struct flock): Move l_start, l_len to the beginning.
36711 Use __pid_t for l_pid.
36712 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
36713 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
36714 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
36715 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
36716 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
36717 [__USE_LARGEFILE64] (struct flock64): New type.
36718 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
36719
36720 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
36721 * bits/dirent.h: ... here.
36722
36723 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
36724 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
36725
367262012-08-07 Joseph Myers <joseph@codesourcery.com>
36727
36728 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36729 Change from 2.6.0 to 2.6.16.
36730 * sysdeps/unix/sysv/linux/configure: Regenerated.
36731 * sysdeps/unix/sysv/linux/kernel-features.h
36732 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
36733 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
36734 version.
36735 (__ASSUME_UTIMES): Likewise.
36736 (__ASSUME_CLONE_STOPPED): Remove.
36737 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
36738 architectures, not kernel version.
36739 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
36740 (__ASSUME_NO_CLONE_DETACHED): Likewise.
36741 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36742 (__ASSUME_WAITID_SYSCALL): Likewise.
36743 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
36744 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
36745 * README: State 2.6.16 as minimum Linux kernel version. Do not
36746 refer to older versions.
36747
367482012-08-06 Roland McGrath <roland@hack.frob.com>
36749
36750 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
36751 Define alphasort64 as an alias.
36752 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
36753 Define versionsort64 as an alias.
36754 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
36755 Define scandir64 as an alias.
36756 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
36757 Define scandirat64 as an alias.
36758 * dirent/alphasort64.c (alphasort64):
36759 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
36760 * dirent/versionsort64.c: Likewise.
36761 * dirent/scandir64.c: Likewise.
36762 * dirent/scandirat64.c: Likewise.
36763 * sysdeps/wordsize-64/alphasort.c: File removed.
36764 * sysdeps/wordsize-64/alphasort64.c: File removed.
36765 * sysdeps/wordsize-64/scandir.c: File removed.
36766 * sysdeps/wordsize-64/scandir64.c: File removed.
36767 * sysdeps/wordsize-64/scandirat.c: File removed.
36768 * sysdeps/wordsize-64/scandirat64.c: File removed.
36769 * sysdeps/wordsize-64/versionsort.c: File removed.
36770 * sysdeps/wordsize-64/versionsort64.c: File removed.
36771 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
36772 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
36773 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
36774 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
36775 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
36776 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
36777 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
36778 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
36779
36780 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
36781 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36782 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
36783 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36784 [defined __arch64__ || defined __sparcv9]
36785 (__INO_T_MATCHES_INO64_T): New macro.
36786 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36787 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
36788 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
36789 * sysdeps/unix/sysv/linux/bits/dirent.h
36790 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
36791 (_DIRENT_MATCHES_DIRENT64): New macro.
36792
36793 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
36794 Define lockf64 as an alias.
36795 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
36796 Define fseeko64 as an alias.
36797 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
36798 Define ftello64 as an alias.
36799 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
36800 Define _IO_fgetpos64 and fgetpos64 as aliases.
36801 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
36802 Define _IO_fsetpos64 and fsetpos64 as aliases.
36803 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
36804 Conditionalize body on this.
36805 * libio/fseeko64.c: Likewise.
36806 * libio/ftello64.c: Likewise.
36807 * libio/iofgetpos64.c: Likewise.
36808 * libio/iofsetpos64.c: Likewise.
36809 * sysdeps/wordsize-64/lockf.c: File removed.
36810 * sysdeps/wordsize-64/lockf64.c: File removed.
36811 * sysdeps/wordsize-64/fseeko.c: File removed.
36812 * sysdeps/wordsize-64/fseeko64.c: File removed.
36813 * sysdeps/wordsize-64/ftello.c: File removed.
36814 * sysdeps/wordsize-64/ftello64.c: File removed.
36815 * sysdeps/wordsize-64/iofgetpos.c: File removed.
36816 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
36817 * sysdeps/wordsize-64/iofsetpos.c: File removed.
36818 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
36819 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
36820 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
36821 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
36822 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
36823 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
36824 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
36825 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
36826 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
36827 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
36828 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
36829
36830 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36831 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36832 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
36833 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36834 [defined __arch64__ || defined __sparcv9]
36835 (__OFF_T_MATCHES_OFF64_T): New macro.
36836 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36837 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36838 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36839 (__OFF_T_MATCHES_OFF64_T): New macro.
36840
368412012-08-06 H.J. Lu <hongjiu.lu@intel.com>
36842
36843 * stdlib/secure-getenv.c (__secure_getenv): Replace
36844 GLIBC_2_16 with GLIBC_2_17.
36845
368462012-08-06 H.J. Lu <hongjiu.lu@intel.com>
36847
36848 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
36849 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36850
368512012-08-03 David S. Miller <davem@davemloft.net>
36852
36853 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36854
368552012-08-03 Joseph Myers <joseph@codesourcery.com>
36856
36857 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
36858 Remove.
36859 (__ASSUME_CORRECT_SI_PID): Likewise.
36860 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
36861 (__ASSUME_TMPFS_NAME): Likewise.
36862 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
36863 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
36864 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
36865 (HAVE_AUX_SECURE): Make definition unconditional.
36866 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
36867 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
36868
368692012-08-03 Roland McGrath <roland@hack.frob.com>
36870
36871 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
36872 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
36873 * sysdeps/mach/hurd/eloop-threshold.h: New file.
36874 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36875 __eloop_threshold instead of SYMLOOP_MAX.
36876
36877 * sysdeps/generic/eloop-threshold.h: New file.
36878 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
36879 of MAXSYMLINKS.
36880 * elf/chroot_canon.c (chroot_canon): Likewise.
36881
368822012-08-03 Joseph Myers <joseph@codesourcery.com>
36883
36884 [BZ #13717]
36885 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36886 Change to 2.6.0 everywhere.
36887 * sysdeps/unix/sysv/linux/configure: Regenerated.
36888 * sysdeps/unix/sysv/linux/kernel-features.h
36889 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
36890 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
36891 kernel versions.
36892 (__ASSUME_POSIX_TIMERS): Define unconditionally.
36893 (__ASSUME_FUTEX_REQUEUE): Remove.
36894 (__ASSUME_STATFS64): Define unconditionally.
36895 (__ASSUME_AT_SECURE): Likewise.
36896 (__ASSUME_CORRECT_SI_PID): Likewise.
36897 (__ASSUME_TGKILL): Define without depending on kernel version for
36898 i386.
36899 (__ASSUME_UTIMES): Likewise.
36900 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
36901 kernel version.
36902 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
36903 (__ASSUME_TMPFS_NAME): Likewise.
36904 * README: Update reference to Linux kernel versions.
36905
369062012-08-02 Marek Polacek <polacek@redhat.com>
36907
36908 [BZ# 14150]
36909 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
36910 libc_cv_asm_type_prefix with %.
36911 * configure: Regenerated.
36912 * include/libc-symbols.h: Remove comment about
36913 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36914 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
36915 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
36916 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
36917 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
36918 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36919 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
36920 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
36921 * elf/tst-unique2mod1.c: Likewise.
36922 * elf/tst-unique1mod2.c: Likewise.
36923 * elf/tst-unique1mod1.c: Likewise.
36924 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
36925 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
36926 Replace ASM_TYPE_DIRECTIVE with .type.
36927 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36928 * sysdeps/i386/sysdep.h: Likewise.
36929 * sysdeps/x86_64/sysdep.h: Likewise.
36930 * sysdeps/sh/sysdep.h: Likewise.
36931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36932 Do not define ASM_TYPE_DIRECTIVE.
36933 * sysdeps/powerpc/sysdep.h: Likewise.
36934 * sysdeps/powerpc/powerpc32/sysdep.h:
36935 Replace ASM_TYPE_DIRECTIVE with .type.
36936 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36937 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36938 * sysdeps/i386/fpu/e_powf.S: Likewise.
36939 * sysdeps/i386/fpu/e_expl.S: Likewise.
36940 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36941 * sysdeps/i386/fpu/e_acosh.S: Likewise.
36942 * sysdeps/i386/fpu/e_pow.S: Likewise.
36943 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36944 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36945 * sysdeps/i386/fpu/s_expm1.S: Likewise.
36946 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36947 * sysdeps/i386/fpu/e_log2.S: Likewise.
36948 * sysdeps/i386/fpu/e_log2l.S: Likewise.
36949 * sysdeps/i386/fpu/e_scalb.S: Likewise.
36950 * sysdeps/i386/fpu/e_powl.S: Likewise.
36951 * sysdeps/i386/fpu/e_log10f.S: Likewise.
36952 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36953 * sysdeps/i386/fpu/e_logl.S: Likewise.
36954 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36955 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36956 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36957 * sysdeps/i386/fpu/e_log2f.S: Likewise.
36958 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36959 * sysdeps/i386/fpu/e_log.S: Likewise.
36960 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36961 * sysdeps/i386/fpu/e_logf.S: Likewise.
36962 * sysdeps/i386/fpu/e_log10l.S: Likewise.
36963 * sysdeps/i386/fpu/e_atanh.S: Likewise.
36964 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36965 * sysdeps/i386/fpu/e_log10.S: Likewise.
36966 * sysdeps/i386/fpu/s_frexp.S: Likewise.
36967 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36968 * sysdeps/i386/fpu/s_asinh.S: Likewise.
36969 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36970 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36971 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
36972 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36973 * sysdeps/i386/i686/strtok.S: Likewise.
36974 * sysdeps/i386/i386-mcount.S: Likewise.
36975 * sysdeps/i386/strtok.S: Likewise.
36976 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
36977 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36978 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36979 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36980 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36981 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36982 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36983 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36984 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36985 * sysdeps/x86_64/_mcount.S: Likewise.
36986 * sysdeps/x86_64/strtok.S: Likewise.
36987 * sysdeps/sh/_mcount.S: Likewise.
36988
369892012-08-01 Roland McGrath <roland@hack.frob.com>
36990
36991 * libio/iofopen.c: Include <fcntl.h>.
36992 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
36993 (_IO_fopen64, fopen64): Define as aliases.
36994 * libio/iofopen64.c: Include <fcntl.h>.
36995 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
36996 Conditionalize body on this.
36997 * sysdeps/wordsize-64/iofopen.c: File removed.
36998 * sysdeps/wordsize-64/iofopen64.c: File removed.
36999
370002012-08-01 Marek Polacek <polacek@redhat.com>
37001
37002 * libc/Makeconfig: Use elf in place of binfmt-subdir.
37003 Use dlfcn directly instead of a variable.
37004 (binfmt-subdir): Do not define.
37005 (dlfcn): Likewise.
37006
370072012-08-01 Joseph Myers <joseph@codesourcery.com>
37008
37009 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
37010 Remove all definitions.
37011 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
37012 <kernel-features.h>.
37013 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37014 (miss_F_GETOWN_EX): Remove all definitions.
37015 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
37016 macro definition.
37017 [!__ASSUME_FCNTL64]: Remove conditional code.
37018 [__ASSUME_FCNTL64]: Make code unconditional.
37019 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
37020 <kernel-features.h>.
37021 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37022 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
37023 (lockf64) [__NR_fcntl64]: Make code unconditional.
37024 (lockf64) [__ASSUME_FCNTL64]: Likewise.
37025
37026 * sysdeps/unix/sysv/linux/kernel-features.h
37027 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
37028 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
37029 Make code unconditional.
37030 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37031 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
37033 [__NR_vfork]: Make code unconditional.
37034 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37035 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
37037 [__NR_vfork]: Make code unconditional.
37038 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37039 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37040
370412012-08-01 Roland McGrath <roland@hack.frob.com>
37042
37043 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
37044 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
37045
37046 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37047 Define mkstemp64 as an alias.
37048 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37049 Define mkstemps64 as an alias.
37050 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37051 Define mkostemp64 as an alias.
37052 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37053 Define mkostemps64 as an alias.
37054 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
37055 Conditionalize body on this.
37056 * misc/mkostemp64.c: Likewise.
37057 * misc/mkostemps64.c: Likewise.
37058 * misc/mkstemps64.c: Likewise.
37059 * sysdeps/wordsize-64/mkstemp64.c: File removed.
37060 * sysdeps/wordsize-64/mkostemp64.c: File removed.
37061 * sysdeps/wordsize-64/mkostemp.c: File removed.
37062 * sysdeps/wordsize-64/mkstemp.c: File removed.
37063 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
37064 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
37065 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
37066 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
37067
37068 [BZ #14138]
37069 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
37070 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
37071 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
37072 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
37073
37074 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
37075 compat_symbol macros from <shlib-compat.h> rather than the underlying
37076 default_symbol_version and symbol_version macros, so that DEFAULT
37077 lines in shlib-versions are respected.
37078 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
37079
370802012-08-01 Florian Weimer <fweimer@redhat.com>
37081
37082 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
37083 Declare with warn_unused_result.
37084 (setgid, setregid, setegid, setresgid): Likewise.
37085 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
37086 Likewise.
37087 * WUR-REPORT: Remove set*id functions.
37088
370892012-07-31 Pino Toscano <toscano.pino@tiscali.it>
37090
37091 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
37092
370932012-07-31 Roland McGrath <roland@hack.frob.com>
37094
37095 [BZ #10191]
37096 * include/sys/socket.h (__libc_accept, __libc_accept4):
37097 Add attribute_hidden.
37098 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
37099
37100 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
37101 use of PTR_MANGLE.
37102 * inet/getnetgrent_r.c (setup): Likewise.
37103
37104 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
37105
371062012-07-31 David S. Miller <davem@davemloft.net>
37107
37108 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37109
371102012-07-31 Joseph Myers <joseph@codesourcery.com>
37111
37112 [BZ #13629]
37113 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
37114 value between 1.0 and 2.0 and smaller part has absolute value less
37115 than 1.0.
37116 * math/s_clog10.c (__clog10): Likewise.
37117 * math/s_clog10f.c (__clog10f): Likewise.
37118 * math/s_clog10l.c (__clog10l): Likewise.
37119 * math/s_clogf.c (__clogf): Likewise.
37120 * math/s_clogl.c (__clogl): Likewise.
37121 * math/libm-test.inc (clog_test): Add more tests.
37122 (clog10_test): Likewise.
37123 * sysdeps/i386/fpu/libm-test-ulps: Update.
37124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37125
371262012-07-31 Florian Weimer <fweimer@redhat.com>
37127
37128 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
37129 Exit with zero in case no suitable GID is found, and write a
37130 message to standard error.
37131
371322012-07-30 Roland McGrath <roland@hack.frob.com>
37133
37134 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
37135 rather than to 1.
37136 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
37137 (MAXPATHLEN): Removed.
37138 (NOGROUP, NODEV): New macros.
37139 (setbit, clrbit, isset, isclr): New macros.
37140 (howmany, roundup, powerof2): New macros.
37141 (DEV_BSIZE): New macro.
37142
37143 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
37144 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
37145
37146 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
37147 definition on [!__NO_LONG_DOUBLE_MATH].
37148
37149 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
37150 PTR_MANGLE and PTR_DEMANGLE.
37151
37152 * socket/accept4.c (accept4): Rename to __libc_accept4.
37153 Define accept4 as a weak alias.
37154
37155 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
37156 on [_DIRENT_HAVE_D_TYPE].
37157 * io/ftw.c (ftw_dir): Likewise.
37158
37159 * io/xmknod.c (__xmknod): Don't check PATH for being null.
37160
37161 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
37162
37163 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
37164 Use the BSD numbers rather than the arbitrary ones we had.
37165 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
37166 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
37167 (SIGXCPU, SIGXFSZ): New macros.
37168 (_NSIG): Now 32.
37169
37170 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
37171 initializer on [_LIBC_REENTRANT].
37172
37173 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
37174 definitions inside [_POSIX_MAPPED_FILES].
37175
37176 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
37177
37178 * dirent/opendir.c: Include <fcntl.h>.
37179
37180 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
37181 (__libc_getspecific): Likewise.
37182 (__libc_key_create): Likewise.
37183
37184 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
37185 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
37186 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
37187 (tmpfile64): Define as alias.
37188 * sysdeps/wordsize-64/tmpfile.c: File removed.
37189 * sysdeps/wordsize-64/tmpfile64.c: File removed.
37190 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
37191 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
37192
37193 * stdio-common/vfscanf.c: Include <stdbool.h>.
37194 * nss/makedb.c: Likewise.
37195 * stdio-common/_i18n_number.h: Likewise.
37196 * argp/argp-help.c: Likewise.
37197 * posix/wordexp.c: Likewise.
37198 * sysdeps/posix/spawni.c: Likewise.
37199 * nss/nss_files/files-initgroups.c: Likewise.
37200 * stdio-common/reg-modifier.c: Include <stdlib.h>.
37201 * nss/nss_files/files-initgroups.c: Likewise.
37202 * nss/nss_db/db-netgrp.c: Likewise.
37203 * nss/nss_db/db-initgroups.c: Likewise.
37204 * io/fchmodat.c: Include <sys/stat.h>.
37205
37206 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
37207 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
37208
37209 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
37210 [HAVE_MMAP].
37211
37212 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
37213 Add multiple inclusion protection.
37214
372152012-07-27 David S. Miller <davem@davemloft.net>
37216
37217 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37218
372192012-07-27 Gary Benson <gbenson@redhat.com>
37220
37221 [BZ #14298]
37222 * elf/rtld.c: Include <stap-probe.h>.
37223 (dl_main): Added static probes "init_start" and "init_complete".
37224 * elf/dl-load.c: Include <stap-probe.h>.
37225 (lose): Take new parameter "nsid".
37226 Added static probe "map_failed".
37227 (_dl_map_object_from_fd): Pass namespace id to lose.
37228 Added static probe "map_start".
37229 (open_verify): Pass namespace id to lose.
37230 * elf/dl-open.c: Include <stap-probe.h>.
37231 (dl_open_worker) Added static probes "map_complete", "reloc_start"
37232 and "reloc_complete".
37233 * elf/dl-close.c: Include <stap-probe.h>.
37234 (_dl_close_worker): Added static probes "unmap_start" and
37235 "unmap_complete".
37236 * elf/rtld-debugger-interface.txt: New file documenting the above.
37237
372382012-07-26 Roland McGrath <roland@hack.frob.com>
37239
37240 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
37241 rather than a string variable.
37242 * sunrpc/rpc_main.c (h_output): Likewise.
37243 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
37244
372452012-07-26 Pino Toscano <toscano.pino@tiscali.it>
37246
37247 * inet/check_native.c: New file.
37248
372492012-07-26 Joseph Myers <joseph@codesourcery.com>
37250
37251 [BZ #13629]
37252 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
37253 if larger part has absolute value 1.0.
37254 * math/s_clog10.c (__clog10): Likewise.
37255 * math/s_clog10f.c (__clog10f): Likewise.
37256 * math/s_clog10l.c (__clog10l): Likewise.
37257 * math/s_clogf.c (__clogf): Likewise.
37258 * math/s_clogl.c (__clogl): Likewise.
37259 * math/libm-test.inc (clog_test): Add more tests.
37260 (clog10_test): Likewise.
37261 * sysdeps/i386/fpu/libm-test-ulps: Update.
37262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37263
37264 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
37265 (pltexit): Likewise.
37266 (La_regs): Likewise.
37267 (La_retval): Likewise.
37268 (int_retval): Likewise.
37269 Update #error for removed macros to refer only to definitions in
37270 tst-audit.h.
37271 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
37272 macro.
37273 (pltexit): Likewise.
37274 (La_regs): Likewise.
37275 (La_retval): Likewise.
37276 (int_retval): Likewise.
37277 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
37278 macro.
37279 (pltexit): Likewise.
37280 (La_regs): Likewise.
37281 (La_retval): Likewise.
37282 (int_retval): Likewise.
37283 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
37284 macro.
37285 (pltexit): Likewise.
37286 (La_regs): Likewise.
37287 (La_retval): Likewise.
37288 (int_retval): Likewise.
37289 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
37290 macro.
37291 (pltexit): Likewise.
37292 (La_regs): Likewise.
37293 (La_retval): Likewise.
37294 (int_retval): Likewise.
37295 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
37296 macro.
37297 (pltexit): Likewise.
37298 (La_regs): Likewise.
37299 (La_retval): Likewise.
37300 (int_retval): Likewise.
37301 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
37302 macro.
37303 (pltexit): Likewise.
37304 (La_regs): Likewise.
37305 (La_retval): Likewise.
37306 (int_retval): Likewise.
37307 * sysdeps/generic/tst-audit.h: Update comment to refer only to
37308 macro definitions in tst-audit.h.
37309 * sysdeps/i386/tst-audit.h: New file.
37310 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
37311 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
37312 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
37313 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
37314 * sysdeps/sh/tst-audit.h: Likewise.
37315 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
37316 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
37317 * sysdeps/x86_64/tst-audit.h: Likewise.
37318
373192012-07-26 Andreas Jaeger <aj@suse.de>
37320
37321 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
37322 ptrace.
37323
37324 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
37325 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
37326 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
37327 PTRACE_O_MASK.
37328 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
37329 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
37330 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
37331
37332 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
37333 value.
37334
37335 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
37336 _sigsys.
37337 (si_call_addr, si_syscall, si_arch): Define new macro.
37338 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
37339 _sigsys.
37340 (si_call_addr, si_syscall, si_arch): Define new marcro.
37341 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
37342 _sigsys.
37343 (si_call_addr, si_syscall, si_arch): Define new macro.
37344 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
37345 _sigsys.
37346 (si_call_addr, si_syscall, si_arch): Define new macro.
37347
373482012-07-25 Joseph Myers <joseph@codesourcery.com>
37349
37350 [BZ #13717]
37351 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37352 Change to 2.4.21 where previously 2.4.1.
37353 * sysdeps/unix/sysv/linux/configure: Regenerated.
37354 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
37355 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
37356 Linux kernel version.
37357 (__ASSUME_STD_AUXV): Remove.
37358 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
37359 kernel version.
37360 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
37361 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
37362 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
37363 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
37364 (__ASSUME_NETLINK_SUPPORT): Likewise.
37365 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
37366 (__no_netlink_support): Remove conditional definition.
37367 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
37368 Remove.
37369 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37370 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
37371 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
37372 (if_nameindex_ioctl): Remove.
37373 (if_nameindex_netlink): Do not handle __no_netlink_support.
37374 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37375 code.
37376 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
37377 Remove conditional code.
37378 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37379 code.
37380 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
37381 unconditional.
37382 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37383 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
37384 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
37385 Remove.
37386 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
37387 [!__ASSUME_STD_AUXV]: Remove conditional code.
37388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
37389 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
37390 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
37391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
37392 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
37393 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37394 code.
37395 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37397 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
37398 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37399 conditional code.
37400 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
37402 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37403 code.
37404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37405 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37406 conditional code.
37407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
37408 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37409 code unconditional.
37410 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37411 conditional code.
37412 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37413 unconditional.
37414 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37415 conditional code.
37416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37417 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37418 unconditional.
37419 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37420 conditional code.
37421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
37422 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37423 code unconditional.
37424 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37425 conditional code.
37426 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37427 unconditional.
37428 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37429 conditional code.
37430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
37431 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37432 code unconditional.
37433 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37434 conditional code.
37435 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37436 unconditional.
37437 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37438 conditional code.
37439
374402012-07-25 Andreas Schwab <schwab@linux-m68k.org>
37441
37442 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
37443 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
37444 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
37445 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
37446 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
37447 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
37448 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
37449 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
37450 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
37451 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37452 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
37453 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
37454 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
37455 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
37456 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
37457 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
37458 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
37459 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
37460 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
37461 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
37462 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
37463 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
37464 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37465
374662012-07-25 Florian Weimer <fweimer@redhat.com>
37467
37468 * Versions.def: Add GLIBC_2.17.
37469 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
37470 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
37471 Introduce __libc_secure_getenv.
37472 * stdlib/Versions (2.17): Add secure_getenv
37473 (GLIBC_PRIVATE): Add __libc_secure_getenv.
37474 * stdlib/secure-getenv.c: Rename __secure_getenv to
37475 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
37476 symbol __secure_getenv for GLIBC_2.0.
37477 * stdlib/tst-secure-getenv.c: New.
37478 * stdlib/Makefile (tests): Add testcase.
37479 * manual/startup.texi (Environment Access): Document
37480 secure_getenv.
37481 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
37482 __libc_secure_getenv.
37483 * inet/ruserpass.c (ruserpass): Likewise.
37484 * malloc/mtrace.c (mtrace): Likewise.
37485 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
37486 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
37487 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
37488 * sysdeps/posix/tempname.c: Likewise. Evaluate
37489 HAVE_SECURE_GETENV.
37490 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
37491 __secure_getenv to __libc_secure_getenv.
37492 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
37493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37494 Likewise.
37495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37496 Likewise.
37497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37498 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37499 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37500 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37501 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37502 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37503 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37504
375052012-07-25 Joseph Myers <joseph@codesourcery.com>
37506
37507 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
37508 (struct La_i86_retval): Likewise.
37509 (struct La_x86_64_regs): Likewise.
37510 (struct La_x86_64_retval): Likewise.
37511 (struct La_x32_regs): Likewise.
37512 (struct La_x32_retval): Likewise.
37513 (struct La_ppc32_regs): Likewise.
37514 (struct La_ppc32_retval): Likewise.
37515 (struct La_ppc64_regs): Likewise.
37516 (struct La_ppc64_retval): Likewise.
37517 (struct La_sh_regs): Likewise.
37518 (struct La_sh_retval): Likewise.
37519 (struct La_s390_32_regs): Likewise.
37520 (struct La_s390_32_retval): Likewise.
37521 (struct La_s390_64_regs): Likewise.
37522 (struct La_s390_64_retval): Likewise.
37523 (struct La_sparc32_regs): Likewise.
37524 (struct La_sparc32_retval): Likewise.
37525 (struct La_sparc64_regs): Likewise.
37526 (struct La_sparc64_retval): Likewise.
37527 (struct audit_ifaces): Remove architecture-specific pltenter and
37528 pltexit members.
37529 * sysdeps/i386/ldsodefs.h: New file.
37530 * sysdeps/powerpc/ldsodefs.h: Likewise.
37531 * sysdeps/s390/ldsodefs.h: Likewise.
37532 * sysdeps/sh/ldsodefs.h: Likewise.
37533 * sysdeps/sparc/ldsodefs.h: Likewise.
37534 * sysdeps/x86_64/ldsodefs.h: Likewise.
37535
375362012-07-25 Marek Polacek <polacek@redhat.com>
37537
37538 [BZ #6808]
37539 * math/libm-test.inc (yn_test): Add another test.
37540 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
37541 to ERANGE when the result is +-Inf.
37542 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
37543 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
37544 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
37545 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
37546
375472012-07-24 Joseph Myers <joseph@codesourcery.com>
37548
37549 * conform/data/time.h-data (NULL): Use macro-constant. Require
37550 equal to 0.
37551 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
37552 clock_t.
37553 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
37554
375552012-07-23 Thomas Schwinge <thomas@codesourcery.com>
37556
37557 * configure.in <sysdeps resolving>: Correct printing
37558 Implies_before.
37559 * configure: Regenerate.
37560
375612012-07-22 Thomas Schwinge <thomas@codesourcery.com>
37562
37563 * math/w_ilogb.c: Include <limits.h>.
37564 * math/w_ilogbl.c: Likewise.
37565
375662012-07-20 Joseph Myers <joseph@codesourcery.com>
37567
37568 * manual/lang.texi (__va_copy): Document primarily as ISO C99
37569 va_copy. Document allowing for unavailable va_copy only as
37570 pre-C99 compatibility.
37571 * manual/string.texi (Copying and Concatenation): Use va_copy
37572 instead of __va_copy in concat example.
37573
375742012-07-20 Pino Toscano <toscano.pino@tiscali.it>
37575
37576 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
37577 (__sendto): Use create_address_port. Initialize APORT and deallocate
37578 it if not null.
37579
37580 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
37581 with O_NOLINK passed to __file_name_lookup.
37582
37583 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
37584 with O_NOLINK passed to __file_name_lookup.
37585
37586 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
37587 negative N or less than NGIDS.
37588
37589 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
37590 type to string_t. Set ERANGE as errno and return it if NAME is not big
37591 enough. Use memcpy instead of strncpy.
37592
375932012-07-20 Joseph Myers <joseph@codesourcery.com>
37594
37595 * elf/Makefile (check-data): Remove.
37596 (localplt.data): New vpath directive.
37597 ($(objpfx)check-localplt.out): Use localplt.data from vpath
37598 instead of $(check-data).
37599 * scripts/data/localplt-generic.data: Move to ...
37600 * sysdeps/generic/localplt.data: ... here.
37601 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
37602 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
37603 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
37604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
37605 ... here.
37606 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
37607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
37608 ... here.
37609 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
37610 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
37611 ... here.
37612 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
37613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37614 ... here.
37615 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
37616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
37617 ... here.
37618 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
37619 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
37620 ... here.
37621
376222012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37623
37624 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
37625 PPC32 and PPC64 files.
37626 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
37627 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
37628
376292012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37630
37631 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
37632 __makecontext_ret to ...
37633 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
37634 ... here and call exit if uc_link is NULL. New file.
37635 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
37636 __makecontext_ret.S.
37637 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
37638 __makecontext_ret to ...
37639 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
37640 ... here and call exit if uc_link is NULL. New file.
37641 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
37642 __makecontext_ret.S.
37643
376442012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37645
37646 * elf/elf.h (R_390_IRELATIVE): New definition.
37647 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
37648 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
37649 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
37650 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
37651 (elf_machine_lazy_rel): Likewise.
37652 * sysdeps/s390/dl-irel.h: New file.
37653 * sysdeps/s390/s390-64/memcpy.S: New asm code.
37654 * sysdeps/s390/s390-64/memset.S: New asm code.
37655 * sysdeps/s390/s390-64/memcmp.S: New asm code.
37656 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
37657 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
37658 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
37659 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
37660 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
37661 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
37662 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
37663 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
37664 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
37665 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
37666 * sysdeps/s390/s390-32/memcpy.S: New asm code.
37667 * sysdeps/s390/s390-32/memset.S: New asm code.
37668 * sysdeps/s390/s390-32/memcmp.S: New asm code.
37669
376702012-07-17 Marek Polacek <polacek@redhat.com>
37671
37672 [BZ #14349]
37673 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
37674 * sysdeps/s390/s390-64/configure.in: Likewise.
37675 * sysdeps/sparc/configure.in: Likewise.
37676 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
37677 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
37678 * sysdeps/i386/configure.in: Likewise.
37679 * sysdeps/x86_64/configure.in: Likewise.
37680 * sysdeps/sh/configure.in: Likewise.
37681 * sysdeps/s390/s390-32/configure: Regenerated.
37682 * sysdeps/s390/s390-64/configure: Likewise.
37683 * sysdeps/x86_64/configure: Likewise.
37684 * sysdeps/sh/configure: Likewise.
37685 * sysdeps/powerpc/powerpc64/configure: Likewise.
37686 * sysdeps/powerpc/powerpc32/configure: Likewise.
37687 * sysdeps/sparc/configure: Likwise.
37688 * sysdeps/i386/configure: Likewise.
37689
37690 * elf/dl-open.c: Comment fixes.
37691
376922012-07-17 Joseph Myers <joseph@codesourcery.com>
37693
37694 * Makefile [CXX] (check-data): Remove.
37695 [CXX] (c++-types.data): New vpath directive.
37696 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
37697 vpath. Do not allow for C++ type data being missing.
37698 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
37699 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
37700 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
37701 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
37702 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
37703 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
37704 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
37705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
37706 ... here.
37707 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
37708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
37709 ... here.
37710 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
37711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
37712 ... here.
37713 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
37714 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
37715 ... here.
37716 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
37717 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
37718 ... here.
37719 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
37720 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
37721 ... here.
37722 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
37723 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
37724 ... here.
37725 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
37726 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
37727
37728 * elf/tls-macros.h (TLS_LE): Move architecture-specific
37729 definitions to architecture-specific files.
37730 (TLS_IE): Likewise.
37731 (TLS_LD): Likewise.
37732 (TLS_GD): Likewise.
37733 * sysdeps/i386/tls-macros.h: New file.
37734 * sysdeps/powerpc/tls-macros.h: Likewise.
37735 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
37736 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
37737 * sysdeps/sh/tls-macros.h: Likewise.
37738 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
37739 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
37740 * sysdeps/x86_64/tls-macros.h: Likewise.
37741
377422012-07-17 Thomas Schwinge <thomas@codesourcery.com>
37743
37744 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
37745 zero value for regular exit case.
37746
37747 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
37748 (__start_context): Preserve zero value for regular exit case.
37749
377502012-07-17 Thomas Schwinge <thomas@codesourcery.com>
37751 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37752
37753 * manual/setjmp.texi (setcontext): Clarify normal process
37754 termination when uc_link is the null pointer.
37755 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
37756 exit call.
37757
377582012-07-16 Andreas Schwab <schwab@linux-m68k.org>
37759
37760 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
37761 preprocessor. Test for each exception mask separately.
37762
377632012-07-16 Andreas Jaeger <aj@suse.de>
37764
37765 * po/ru.po: Update from translation team.
37766
377672012-07-15 Joseph Myers <joseph@codesourcery.com>
37768
37769 * conform/data/string.h-data (NULL): Use macro-constant. Require
37770 equal to 0.
37771 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37772 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37773 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
37774 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
37775 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37776
377772012-07-13 Andreas Jaeger <aj@suse.de>
37778
37779 * po/fr.po: Update from translation team.
37780
377812012-07-12 Marek Polacek <polacek@redhat.com>
37782
37783 [BZ #14173]
37784 * math/libm-test.inc (yn_test): Add test for BZ #14173.
37785 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
37786 loop condition.
37787
377882012-07-12 Joseph Myers <joseph@codesourcery.com>
37789
37790 [BZ #13717]
37791 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37792 Change to 2.4.1 where previously 2.4.0.
37793 * sysdeps/unix/sysv/linux/configure: Regenerated.
37794 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
37795 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
37796 version.
37797 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
37798 (__ASSUME_AT_CLKTCK): Remove.
37799 (__ASSUME_AT_PAGESIZE): Likewise.
37800 (__ASSUME_AT_XID): Likewise.
37801 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
37802 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
37803 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
37804 unconditionally.
37805 (HAVE_AUX_PAGESIZE): Likewise.
37806 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
37807 [__ASSUME_AT_CLKTCK]: Make code unconditional.
37808 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
37809
378102012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
37811
37812 [BZ #14307]
37813 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
37814 the temporary buffer used to invoke __gethostbyname2_r,
37815 __gethostbyaddr_r and gethostbyname4_r to make room for struct
37816 host_data / struct gaih_addrtuple.
37817 * resolv/nss_dns/dns-host.c (global scope): Move definition of
37818 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
37819 header file nss/nsswitch.h.
37820 * nss/nsswitch.h (global scope): Add definition of implementation
37821 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
37822 resolv/nss_dns/dns-host.c).
37823
378242012-07-11 Andreas Jaeger <aj@suse.de>
37825
37826 * po/fr.po: Update from translation team.
37827
37828 * po/sv.po: Update from translation team
37829 * po/fr.po: Another update from translation team.
37830
378312012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37832
37833 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
37834 for subnormals or multiply small sinh result by itself.
37835 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37836 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37837
378382012-07-11 David S. Miller <davem@davemloft.net>
37839
37840 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37841
378422012-07-10 Andreas Schwab <schwab@linux-m68k.org>
37843
37844 [BZ #14347]
37845 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
37846 (INTERNAL_MARK): Shift it here.
37847
378482012-07-10 Marek Polacek <polacek@redhat.com>
37849
37850 [BZ #14151]
37851 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
37852 libc_cv_asm_global_directive with .globl.
37853 * configure: Regenerated.
37854 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
37855 with .globl.
37856 * sysdeps/i386/configure: Regenerated.
37857 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
37858 with .globl.
37859 * sysdeps/x86_64/configure: Regenerated.
37860 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
37861 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
37862 * elf/tst-unique2mod2.c: Likewise.
37863 * elf/tst-unique2mod1.c: Likewise.
37864 * elf/tst-unique1mod2.c: Likewise.
37865 * elf/tst-unique1mod1.c: Likewise.
37866 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37867 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37868 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37869 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37870 * sysdeps/mach/sysdep.h: Likewise.
37871 * sysdeps/i386/sysdep.h: Likewise.
37872 * sysdeps/i386/i386-mcount.S: Likewise.
37873 * sysdeps/x86_64/_mcount.S: Likewise.
37874 * sysdeps/x86_64/sysdep.h: Likewise.
37875 * sysdeps/sh/_mcount.S: Likewise.
37876 * sysdeps/sh/sysdep.h: Likewise.
37877 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
37878 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
37879 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
37880 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37881 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
37882 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
37883 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
37884 * locale/localeinfo.h: Likewise.
37885 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
37886 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
37887
378882012-07-09 Roland McGrath <roland@hack.frob.com>
37889
37890 [BZ #14336]
37891 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
37892 system".
37893 * manual/message.texi (The Uniforum approach): Likewise.
37894 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
37895 (glibc iconv Implementation): Likewise.
37896
378972012-07-09 Joseph Myers <joseph@codesourcery.com>
37898
37899 [BZ #14337]
37900 * math/s_clog.c (__clog): Avoid scaling a value down where that
37901 could result in underflow.
37902 * math/s_clog10.c (__clog10): Likewise.
37903 * math/s_clog10f.c (__clog10f): Likewise.
37904 * math/s_clog10l.c (__clog10l): Likewise.
37905 * math/s_clogf.c (__clogf): Likewise.
37906 * math/s_clogl.c (__clogl): Likewise.
37907 * math/libm-test.inc (clog_test): Add more tests.
37908 (clog10_test): Likewise.
37909 * sysdeps/i386/fpu/libm-test-ulps: Update.
37910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37911
379122012-07-06 Andreas Schwab <schwab@linux-m68k.org>
37913
37914 [BZ #14283]
37915 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
37916 by 7 not 8 to examine high bit of fractional part.
37917
37918 [BZ #14042]
37919 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
37920 for call to __mcount_internal.
37921 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
37922 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
37923 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
37924
379252012-07-06 Joseph Myers <joseph@codesourcery.com>
37926
37927 [BZ #14154]
37928 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
37929 approximation for values within 0x1p-13f of an odd multiple of
37930 pi/4.
37931 * math/libm-test.inc (tan_test): Do not allow spurious underflow
37932 exception. Add more tests.
37933 * sysdeps/i386/fpu/libm-test-ulps: Update.
37934
37935 [BZ #6778]
37936 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
37937 inputs and return -1 for them. Do not check for +Inf in case not
37938 reachable for +Inf.
37939 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
37940 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
37941 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37942 and return -1 for them. Do not check for +Inf in case not
37943 reachable for +Inf.
37944 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
37945 define.
37946 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37947 and return -1 for them. Do not check for +Inf in case not
37948 reachable for +Inf.
37949 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
37950 spurious underflow.
37951 * sysdeps/i386/fpu/libm-test-ulps: Update.
37952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37953
379542012-07-06 Mike Frysinger <vapier@gentoo.org>
37955
37956 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
37957
379582012-07-05 Joseph Myers <joseph@codesourcery.com>
37959
37960 [BZ #14157]
37961 [BZ #14331]
37962 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
37963 could result in spurious underflow. Scale down values above
37964 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
37965 * math/s_csqrtf.c (__csqrtf): Likewise.
37966 * math/s_csqrtl.c (__csqrtl): Likewise.
37967 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
37968 spurious underflow.
37969 * sysdeps/i386/fpu/libm-test-ulps: Update.
37970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37971
379722012-07-04 Andreas Schwab <schwab@linux-m68k.org>
37973
37974 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
37975 xopen-msg.sed.
37976 * catgets/xopen-msg.awk: New file.
37977 * catgets/xopen-msg.sed: Removed.
37978
37979 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
37980 po2text.sed.
37981 * intl/po2test.awk: New file.
37982 * intl/po2test.sed: Removed.
37983
379842012-07-04 Joseph Myers <joseph@codesourcery.com>
37985
37986 [BZ #14328]
37987 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
37988 or multiply small sinh result by itself.
37989 * math/s_ctanf.c (__ctanf): Likewise.
37990 * math/s_ctanh.c (__ctanh): Likewise.
37991 * math/s_ctanhf.c (__ctanhf): Likewise.
37992 * math/s_ctanhl.c (__ctanhl): Likewise.
37993 * math/s_ctanl.c (__ctanl): Likewise.
37994 * math/libm-test.inc (ctan_test_tonearest): New function.
37995 (ctan_test_towardzero): Likewise.
37996 (ctan_test_downward): Likewise.
37997 (ctan_test_upward): Likewise.
37998 (ctanh_test_tonearest): Likewise.
37999 (ctanh_test_towardzero): Likewise.
38000 (ctanh_test_downward): Likewise.
38001 (ctanh_test_upward): Likewise.
38002 (main): Call these new functions.
38003 * sysdeps/i386/fpu/libm-test-ulps: Update.
38004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38005
380062012-07-03 Mike Frysinger <vapier@gentoo.org>
38007
38008 * .gitignore: Delete /ports entry.
38009
380102012-07-03 Andreas Jaeger <aj@suse.de>
38011
38012 * po/bg.po: Update from translation team.
38013 * po/cs.po: Likewise.
38014 * po/de.po: Likewise.
38015 * po/hr.po: Likewise.
38016 * po/nl.pl: Likewise.
38017 * po/pl.po: Likewise.
38018 * po/vi.po: Likewise.
38019
380202012-07-03 Joseph Myers <joseph@codesourcery.com>
38021
38022 * Makeconfig [!+link] (+link-before-libc): New variable.
38023 [!+link] (+link-after-libc): Likewise.
38024 [!+link] (+link-tests): Likewise.
38025 [!+link] (+link): Define in terms of $(+link-before-libc) and
38026 $(+link-after-libc).
38027 [!+link-static] (+link-static-before-libc): New variable.
38028 [!+link-static] (+link-static-after-libc): Likewise.
38029 [!+link-static] (+link-static-tests): Likewise.
38030 [!+link-static] (+link-static): Define in terms of
38031 $(+link-static-before-libc) and $(+link-static-after-libc).
38032 [build-shared] (link-libc-before-gnulib): New variable.
38033 [build-shared] (link-libc-tests): Likewise.
38034 [build-shared] (link-libc): Define in terms of
38035 $(link-libc-before-gnulib).
38036 [!build-shared] (link-libc-tests): New variable.
38037 (link-libc-static-tests): New variable.
38038 [!gnulib] (gnulib-arch): New variable.
38039 [!gnulib] (gnulib-tests): Likewise.
38040 [!gnulib] (static-gnulib-arch): Likewise.
38041 [!gnulib] (static-gnulib-tests): Likewise.
38042 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
38043 Define with "=" instead of ":=".
38044 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
38045 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
38046 * Rules (binaries-all-notests): New variable.
38047 (binaries-all-tests): Likewise.
38048 (binaries-static-notests): Likewise.
38049 (binaries-static-tests): Likewise.
38050 (binaries-all): Define using $(binaries-all-notests) and
38051 $(binaries-all-tests).
38052 (binaries-static): Define using $(binaries-static-notests) and
38053 $(binaries-static-tests).
38054 (binaries-shared-tests): New variable.
38055 (binaries-shared-notests): Likewise.
38056 (binaries-shared): Remove variable.
38057 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
38058 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
38059 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
38060 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
38061 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
38062 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
38063 * elf/Makefile (sln-modules): New variable.
38064 (extra-objs): Add $(sln-modules:=.o).
38065 (ldconfig-modules): Add static-stubs.
38066 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
38067 * elf/static-stubs.c: New file.
38068
38069 [BZ #14283]
38070 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
38071 by 7 not 8 to examine high bit of fractional part. Use volatile
38072 variables when splitting into final array of floats if
38073 __FLT_EVAL_METHOD__ != 0.
38074 * math/libm-test.inc (cos_test): Add another test.
38075 (sin_test): Likewise.
38076 * sysdeps/i386/fpu/libm-test-ulps: Update.
38077
38078 [BZ #14273]
38079 * math/libm-test.inc (cosh_test): Add more tests.
38080
38081 * version.h (RELEASE): Set to "development".
38082 (VERSION): Set to "2.16.90".
38083
380842012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
38085
38086 * NEWS: Update copyright. Remove last-updated date.
38087 Mention math library bug fixes and timezone data changes.
38088 * README: Mention GNU/Hurd, x32, and HPPA support status.
38089
380902012-06-28 Thomas Schwinge <thomas@codesourcery.com>
38091
38092 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
38093
380942012-06-27 Andreas Jaeger <aj@suse.de>
38095
38096 * manual/contrib.texi (Contributors): Add Samuel Thibault.
38097
380982012-06-25 Andreas Jaeger <aj@suse.de>
38099
38100 * sysdeps/s390/fpu/libm-test-ulps: Update.
38101
381022012-06-23 Andreas Schwab <schwab@linux-m68k.org>
38103 Thomas Schwinge <thomas@codesourcery.com>
38104
38105 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
38106 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
38107 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
38108 fanotify_mark.
38109
381102012-06-23 Thomas Schwinge <thomas@codesourcery.com>
38111
38112 * sysdeps/mach/start.c: Remove file.
38113 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
38114 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
38115 * sysdeps/sh/init-first.c: Likewise.
38116
38117 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
38118 registers for frame unwinding purposes, add CFI directives.
38119 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38120 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
38121 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
38122 Likewise.
38123
38124 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
38125 __fortify_fail returning.
38126 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38127
38128 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
38129 sysdeps/sh/____longjmp_chk.S.
38130 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
38131 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
38132 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
38133 (gen-as-const-headers): Append sigaltstack-offsets.sym.
38134
38135 * sysdeps/sh/abort-instr.h: New file.
38136 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
38137 process in case exit returns.
38138
38139 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
38140 initialize the GOT register before use.
38141
38142 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
38143 calculation of ARGC > 4.
38144
38145 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
38146 meaningful names to some local labels.
38147
381482012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38149 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38150
38151 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
38152 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
38153 (__arch_compare_and_exchange_val_16_acq): Likewise.
38154 (__arch_compare_and_exchange_val_32_acq): Likewise.
38155 (atomic_exchange_and_add): Fix gUSA sequence.
38156 (atomic_add): Likewise.
38157 (atomic_add_negative): Likewise.
38158 (atomic_add_zero): Likewise.
38159 (atomic_bit_test_set): Likewise.
38160
381612012-06-22 Andreas Schwab <schwab@redhat.com>
38162
38163 [BZ #13579]
38164 * include/link.h (struct link_map): Add l_free_initfini.
38165 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
38166 l_initfini.
38167 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
38168 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
38169 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
38170 set.
38171
381722012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
38173
38174 * configure.in: Use AC_LANG_SOURCE.
38175 * configure: Regenerate.
38176
381772012-06-22 Roland McGrath <roland@hack.frob.com>
38178
38179 * configure.in (libc_cv_localstatedir): New substituted variable.
38180 * configure: Regenerated.
38181 * config.make.in (localstatedir): New variable, substituted from
38182 libc_cv_localstatedir.
38183 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
38184 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
38185 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
38186 * sysdeps/gnu/configure: Regenerated.
38187
381882012-06-21 Jeff Law <law@redhat.com>
38189
38190 [BZ #14277]
38191 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
38192 free. Simplify list management for _LIBC case.
38193
381942012-06-21 Joseph Myers <joseph@codesourcery.com>
38195
38196 [BZ #14273]
38197 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
38198 Clear sign bit of 64-bit integer value before comparing against
38199 overflow value.
38200
38201 * sysdeps/mach/configure: Regenerated.
38202
382032012-06-21 H.J. Lu <hongjiu.lu@intel.com>
38204
38205 [BZ #14278]
38206 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
38207
382082012-06-21 Jeff Law <law@redhat.com>
38209
38210 [BZ #13882]
38211 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
38212 uint16_t for elements in the "seen" array to avoid char overflows.
38213 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38214 * elf/dl-open.c (dl_open_worker): Likewise.
38215
382162012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
38217
38218 * scripts/list-sources.sh: Scan PORTS for translations.
38219 * po/libc.pot: Regenerated.
38220
382212012-06-21 Andreas Jaeger <aj@suse.de>
38222
38223 [BZ #12194]
38224 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
38225 warning.
38226 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
38227 * bits/byteswap-16.h (__bswap_16): Likewise.
38228 * bits/byteswap.h (__bswap_constant_16): Likewise.
38229
382302012-06-18 H.J. Lu <hongjiu.lu@intel.com>
38231
38232 [BZ #14117]
38233 * sysdeps/i386/fpu_control.h: Removed.
38234 * sysdeps/x86_64/fpu_control.h: Moved to ...
38235 * sysdeps/x86/fpu_control.h: Here.
38236
38237 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
38238 (_FPU_SETCW): Likewise.
38239
382402012-06-15 H.J. Lu <hongjiu.lu@intel.com>
38241
38242 [BZ #14117]
38243 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
38244 * sysdeps/x86/fpu/bits/mathinline.h: This.
38245 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
38246
38247 [BZ #14050]
38248 [BZ #14117]
38249 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
38250 functions if __x86_64__ is defined.
38251
382522012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
38253
38254 * string/endian.h: Add !__ASSEMBLER__ condition for including
38255 conversion interfaces.
38256
382572012-06-15 Joseph Myers <joseph@codesourcery.com>
38258
38259 [BZ #14241]
38260 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
38261 of ABS(x) in calculating zero to negative powers other than odd
38262 integers.
38263 * math/libm-test.inc (pow_test): Add more tests.
38264
382652012-06-15 Andreas Jaeger <aj@suse.de>
38266
38267 * manual/contrib.texi (Contributors): Update entry of Liubov
38268 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
38269 Machado Filho.
38270
382712012-06-15 Cyril Hrubis <metan@ucw.cz>
38272
38273 * string/string.h: Add __wur to GNU version of strerror_r.
38274
382752012-06-14 H.J. Lu <hongjiu.lu@intel.com>
38276
38277 [BZ #14229]
38278 * string/Makefile (tests): Add tst-strtok_r.
38279 * string/tst-strtok_r.c: New file.
38280 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
38281 RAX_LP/RDX_LP on SAVE_PTR.
38282
382832012-06-14 Roland McGrath <roland@hack.frob.com>
38284
38285 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
38286
382872012-06-14 Joseph Myers <joseph@codesourcery.com>
38288
38289 * libm_test.inc (csqrt_test): Allow more spurious underflow
38290 exceptions.
38291 (j0_test): Likewise.
38292 (j1_test): Likewise.
38293 (y0_test): Likewise.
38294 (y1_test): Likewise.
38295
382962012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
38297
38298 * po/Makefile (libc.pot): Use UTF-8 charset.
38299
383002012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
38301
38302 [BZ #14210]
38303 Suppress sign-conversion warning from FD_SET.
38304 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
38305 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
38306 not unsigned long int.
38307 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
38308
383092012-06-12 H.J. Lu <hongjiu.lu@intel.com>
38310
38311 [BZ #14050]
38312 [BZ #14117]
38313 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
38314 __extern_always_inline instead of __extern_inline.
38315 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
38316 (__signbit): Likewise.
38317 (__signbitl): Support C++ namespace.
38318 (lrintf): New inline function.
38319 (lrint): Likewise.
38320 (llrintf): Likewise.
38321 (llrint): Likewise.
38322 (fmaxf): Likewise.
38323 (fmax): Likewise.
38324 (fminf): Likewise.
38325 (fmin): Likewise.
38326 (rint): Likewise.
38327 (rintf): Likewise.
38328 (ceil): Likewise.
38329 (ceilf): Likewise.
38330 (floor): Likewise.
38331 (floorf): Likewise.
38332 (nearbyint): Likewise.
38333 (nearbyintf): Likewise.
38334
383352012-06-12 Thomas Schwinge <thomas@codesourcery.com>
38336
38337 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
38338 non-default versions.
38339
383402012-06-11 Roland McGrath <roland@hack.frob.com>
38341
38342 [BZ #14218]
38343 * manual/argp.texi (Argp): Reword argp_parse description slightly.
38344
383452012-06-09 Thomas Schwinge <thomas@codesourcery.com>
38346
38347 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
38348 (FE_UPWARD, FE_DOWNWARD): Don't define.
38349 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
38350 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38351
38352 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
38353 reading it.
38354 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38355 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38356
383572012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38358
38359 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38360 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
38361 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
38362 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
38363
383642012-06-06 H.J. Lu <hongjiu.lu@intel.com>
38365
38366 [BZ #14117]
38367 * sysdeps/i386/fpu/bits/fenv.h: Removed.
38368 * sysdeps/i386/fpu/Implies: New file.
38369 * sysdeps/x86_64/fpu/Implies: Likewise.
38370 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
38371 * sysdeps/x86/fpu/bits/fenv.h: This.
38372
38373 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
38374 __SSE_MATH__.
38375
383762012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
38377
38378 [BZ #14134]
38379 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
38380 character 0xffff that matches the last element of the
38381 conversion table.
38382
383832012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38384
38385 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
38386 fmodl commit.
38387
383882012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38389
38390 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
38391 values higher than 25.6283.
38392
383932012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38394
38395 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
38396 subnormal exponent extraction and add some __builtin_expect.
38397 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
38398 Fix for subnormal mantissa calculation.
38399
384002012-06-04 Mike Frysinger <vapier@gentoo.org>
38401
38402 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
38403 cpu2 is -1 and errno is not ENOSYS.
38404
384052012-06-04 H.J. Lu <hongjiu.lu@intel.com>
38406
38407 [BZ #14117]
38408 * sysdeps/i386/i486/bits/string.h: Renamed to ...
38409 * sysdeps/x86/bits/string.h: This.
38410 * sysdeps/x86_64/bits/string.h: Removed.
38411
38412 * sysdeps/i386/i486/bits/string.h: Define inline functions only
38413 if not compiling for x86-64, but compiling for >= i486.
38414
38415 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
38416 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
38417
38418 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
38419 New macro from Linux kernel 3.4.0.
38420 (FP_XSTATE_MAGIC2): Likewise.
38421 (FP_XSTATE_MAGIC2_SIZE): Likewise.
38422 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
38423 (struct _fpx_sw_bytes): New struct.
38424 (struct _xsave_hdr): Likewise.
38425 (struct _ymmh_state): Likewise.
38426 (struct _xstate): Likewise.
38427
38428 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
38429 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
38430 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
38431 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
38432 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
38433 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
38434
38435 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
38436 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
38437 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
38438 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
38439 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
38440 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
38441
384422012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38443
38444 [BZ #13743]
38445 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
38446 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
38447 (sysdep_headers): Include sys/platform/ppc.h.
38448 * sysdeps/powerpc/test-gettimebase.c: Test for
38449 __ppc_get_timebase() to catch future ISA opcode/insn changes.
38450 * manual/Makefile (appendices): Include platform.texi.
38451 * manual/contrib.texi (Contributors): Update @node pointers.
38452 * manual/maint.texi (Maintenance): Likewise.
38453 (Platform): New node.
38454 * manual/platform.texi: New file. Document the new features.
38455
384562012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
38457 Jakub Jelinek <jakub@redhat.com>
38458
38459 [BZ #14188]
38460 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
38461 where __builtin_expect is unavailable.
38462
384632012-06-03 David S. Miller <davem@davemloft.net>
38464
38465 * stdlib/longlong.h: Updated from GCC.
38466
384672012-06-02 Andreas Schwab <schwab@linux-m68k.org>
38468
38469 [BZ #14042]
38470 * sysdeps/powerpc/powerpc32/mcount.c: New file.
38471 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
38472 __mcount_internal.
38473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38474 (GLIBC_2.16): Likewise.
38475
384762012-06-01 H.J. Lu <hongjiu.lu@intel.com>
38477
38478 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
38479
384802012-06-01 Joseph Myers <joseph@codesourcery.com>
38481
38482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
38483 (default-abi): New variable.
38484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
38485 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
38486 variable.
38487 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
38488 Likewise.
38489 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
38490 Likewise.
38491 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
38492 Likewise.
38493
38494 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
38495 definition. Document in comment.
38496
384972012-06-01 David S. Miller <davem@davemloft.net>
38498
38499 * stdlib/longlong.h: Updated from GCC.
38500
385012012-06-01 H.J. Lu <hongjiu.lu@intel.com>
38502
38503 [BZ #14117]
38504 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
38505 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
38506 sys/debugreg.h sys/io.h here.
38507 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
38508 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
38509 sys/io.h.
38510 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
38511 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
38512 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
38513 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
38514 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
38515 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
38516
38517 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
38518 Define only if __x86_64__ is defined.
38519
385202012-06-01 Joseph Myers <joseph@codesourcery.com>
38521
38522 [BZ #14048]
38523 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
38524 Use int64_t for variable i.
38525 * math/libm-test.inc (fmod_test): Add more tests.
38526
38527 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
38528 z computation is not scheduled after fetestexcept.
38529 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
38530 Use math_force_eval instead of asm to ensure calculation scheduled
38531 before exception test.
38532 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
38533 Ensure a1 + u.d computation is not scheduled after fetestexcept.
38534
385352012-06-01 Aurelien Jarno <aurelien@aurel32.net>
38536
38537 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
38538 computation is not scheduled after fetestexcept.
38539
385402012-06-01 H.J. Lu <hongjiu.lu@intel.com>
38541
38542 [BZ #14117]
38543 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
38544 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
38545
385462012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38547
38548 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
38549 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38550
385512012-05-31 H.J. Lu <hongjiu.lu@intel.com>
38552
38553 [BZ #14117]
38554 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
38555 <bits/wordsize.h>.
38556 (__WCHAR_MIN): Support __WORDSIZE == 64.
38557 (__WCHAR_MAX): Likewise.
38558
38559 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
38560 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
38561
38562 [BZ #14183]
38563 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
38564 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
38565
38566 [BZ #14117]
38567 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
38568 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
38569
38570 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
38571 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
38572
38573 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
38574 Defined to 1 if __x86_64__ isn't defined.
38575 (_STAT_VER_LINUX_OLD): New.
38576 (st_atime): Remove duplicate.
38577 (st_mtime): Likewise.
38578 (st_ctime): Likewise.
38579
385802012-05-31 David S. Miller <davem@davemloft.net>
38581
38582 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
38583 entries.
38584
385852012-06-01 Andreas Schwab <schwab@linux-m68k.org>
38586
38587 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
38588 gen-libm-test.pl.
38589
38590 [BZ #14132]
38591 * elf/dl-reloc.c: Include <_itoa.h>.
38592 (_dl_reloc_bad_type): Remove use of INTUSE.
38593 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
38594 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
38595 * stdio-common/psiginfo.c (psiginfo): Likewise.
38596 * stdio-common/psignal.c (psignal): Likewise.
38597 * string/strsignal.c (strsignal): Likewise.
38598 * include/signal.h (_sys_siglist): Declare hidden proto.
38599 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
38600 INTVARDEF with libc_hidden_data_def.
38601 * stdio-common/itoa-udigits.c: Likewise.
38602 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
38603 (_itoa_lower_digits_internal): Remove declaration.
38604 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
38605 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
38606 (_sys_sigabbrev_internal): Remove aliases.
38607 (_sys_siglist): Define hidden alias.
38608
386092012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
38610
38611 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38612 bits/sysctl.h.
38613
386142012-05-31 H.J. Lu <hongjiu.lu@intel.com>
38615
38616 [BZ #14117]
38617 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
38618 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
38619
38620 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
38621 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
38622 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
38623 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
38624 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
38625 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
38626
38627 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
38628 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
38629 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
38630
38631 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
38632 with __addr.
38633 (insw): Likewise.
38634 (insl): Likewise.
38635 (outsb): Likewise.
38636 (outsw): Likewise.
38637 (outsl): Likewise.
38638
38639 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
38640 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
38641 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
38642
38643 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
38644 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
38645 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
38646 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
38647 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
38648 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
38649
38650 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
38651 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
38652
38653 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
38654 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
38655
38656 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
38657 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
38658 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
38659
38660 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
38661 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
38662 to ...
38663 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
38664
38665 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
38666 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
38667 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
38668
38669 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
38670 for x86-64.
38671 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
38672
386732012-05-31 Joseph Myers <joseph@codesourcery.com>
38674
38675 * math/math.h (M_El): Use two more decimal places.
38676 (M_LOG2El): Likewise.
38677 (M_LOG10El): Likewise.
38678 (M_LN2l): Likewise.
38679 (M_LN10l): Likewise.
38680 (M_PIl): Likewise.
38681 (M_PI_2l): Likewise.
38682 (M_PI_4l): Likewise.
38683 (M_1_PIl): Likewise.
38684 (M_2_PIl): Likewise.
38685 (M_2_SQRTPIl): Likewise.
38686 (M_SQRT2l): Likewise.
38687 (M_SQRT1_2l): Likewise.
38688
386892012-05-31 David S. Miller <davem@davemloft.net>
38690
38691 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
38692 values between float registers.
38693 * sysdeps/sparc/sparc64/memset.S: Likewise.
38694 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38695
386962012-05-31 Mike Frysinger <vapier@gentoo.org>
38697
38698 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
38699 -D_FORTIFY_SOURCE=1.
38700 (CPPFLAGS-tst-longjmp_chk.c): Define.
38701 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
38702 (CPPFLAGS-tst-longjmp_chk2.c): Define.
38703 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
38704 CFLAGS-tst-wchar-h.c.
38705
387062012-05-31 Marek Polacek <polacek@redhat.com>
38707
38708 [BZ #14132]
38709 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
38710 __endmntent_internal): Remove declaration.
38711 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
38712 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
38713 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
38714
387152012-05-30 David S. Miller <davem@davemloft.net>
38716
38717 * sysdeps/sparc/sparc32/soft-fp/q_util.c
38718 (___Q_simulate_exceptions): Use real FP ops rather than writing
38719 into the %fsr.
38720 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
38721 Likewise.
38722
387232012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38724
38725 [BZ #14117]
38726 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
38727 * sysdeps/x86/bits/xtitypes.h: This.
38728
38729 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
38730 * sysdeps/x86/bits/wordsize.h: This.
38731
38732 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
38733 * sysdeps/x86/bits/huge_vall.h: This.
38734
38735 * sysdeps/i386/bits/select.h: Removed.
38736 * sysdeps/x86_64/bits/select.h: Renamed to ...
38737 * sysdeps/x86/bits/select.h: This.
38738
38739 * sysdeps/i386/bits/setjmp.h: Removed.
38740 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
38741 * sysdeps/x86/bits/setjmp.h: This.
38742
38743 * sysdeps/i386/bits/mathdef.h: Removed.
38744 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
38745 * sysdeps/x86/bits/mathdef.h: This.
38746
387472012-05-30 Andreas Schwab <schwab@linux-m68k.org>
38748
38749 [BZ #14132]
38750 * include/sys/socket.h (__connect_internal)
38751 (__libc_sa_len_internal): Remove declaration.
38752 (__connect, __libc_sa_len): Declare hidden_proto.
38753 (SA_LEN): Remove use of INTUSE.
38754 * socket/connect.c: Add libc_hidden_def.
38755 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
38756 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
38757 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
38758 alias.
38759 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
38760 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
38761 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
38762 of adding _internal alias.
38763
387642012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38765
38766 [BZ #14117]
38767 * sysdeps/i386/bits/link.h: Removed.
38768 * sysdeps/i386/bits/linkmap.h: Likewise.
38769 * sysdeps/x86_64/bits/link.h: Renamed to ...
38770 * sysdeps/x86/bits/link.h: This.
38771 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
38772 * sysdeps/x86/bits/linkmap.h: This.
38773
38774 * sysdeps/i386/bits/endian.h: Removed.
38775 * sysdeps/x86_64/bits/endian.h: Renamed to ...
38776 * sysdeps/x86/bits/endian.h: This.
38777
38778 * sysdeps/i386/bits/byteswap.h: Removed.
38779 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38780 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
38781 * sysdeps/x86/bits/byteswap.h: This.
38782 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
38783 * sysdeps/x86/bits/byteswap-16.h: This.
38784 * sysdeps/i386/Implies: Add x86.
38785 * sysdeps/x86_64/Implies: Likewise.
38786
387872012-05-30 David S. Miller <davem@davemloft.net>
38788
38789 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
38790 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
38791 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38792 (FP_TRAPPING_EXCEPTIONS): Define.
38793 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38794 (FP_TRAPPING_EXCEPTIONS): Define.
38795 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
38796 subnormals only when inexact has been signalled or underflow
38797 exceptions are enabled.
38798 (_FP_PACK_CANONICAL): Likewise.
38799
388002012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38801
38802 [BZ #14183]
38803 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
38804 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
38805
388062012-05-30 Richard Henderson <rth@twiddle.net>
38807
38808 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
38809 with #ifndef NOT_IN_libc.
38810
38811 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
38812 marked to avoid plt entry.
38813
388142012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38815
38816 [BZ #14112]
38817 * Makeconfig (default-abi): New macro.
38818 (abi-includes): Likewise.
38819 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
38820 $(abi-$(default-abi)-lib-soname) for soname if defined.
38821 ($(common-objpfx)gnu/lib-names.stmp): Generate from
38822 abi-variants.
38823 * Makefile (installed-stubs): Likewise.
38824 * include/stubs-biarch.h: Removed.
38825 * scripts/lib-names.awk: Only handle one library at a time.
38826 * scripts/soversions.awk: Remove WORDSIZE support.
38827 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
38828 entries.
38829 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
38830 Removed.
38831 (syscall-list-default-condition): Likewise.
38832 (syscall-list-default-condition): Likewise.
38833 (syscall-list-includes): Likewise.
38834 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
38835 syscall-list-* with abi-*. Handle undefined abi-variants.
38836 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
38837 * sysdeps/unix/sysv/linux/i386/Implies: New file.
38838 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
38839 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
38840 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
38841 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
38842 Removed.
38843 (syscall-list-32-options): Likewise.
38844 (syscall-list-32-condition): Likewise.
38845 (syscall-list-64-options): Likewise.
38846 (syscall-list-64-condition): Likewise.
38847 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
38848 macro.
38849 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
38850 Renamed to ...
38851 (abi-*): This.
38852 (abi-64-ld-soname): New macro.
38853 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
38854 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
38855 Renamed to ...
38856 (abi-*): This.
38857 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
38858 * sysdeps/x86_64/x32/shlib-versions: Likewise.
38859
388602012-05-30 Joseph Myers <joseph@codesourcery.com>
38861
38862 * sysdeps/unix/sysv/linux/kernel-features.h
38863 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
38864 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
38865 include <kernel-features.h>.
38866 [!__NR_ftruncate64]: Remove conditional code.
38867 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38868 [__NR_ftruncate64]: Make code unconditional.
38869 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38870 * sysdeps/unix/sysv/linux/truncate64.c: Do not
38871 include <kernel-features.h>.
38872 [!__NR_ftruncate64]: Remove conditional code.
38873 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38874 [__NR_ftruncate64]: Make code unconditional.
38875 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
38877 include <kernel-features.h>.
38878 [!__NR_ftruncate64]: Remove conditional code.
38879 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38880 [__NR_ftruncate64]: Make code unconditional.
38881 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38883 include <kernel-features.h>.
38884 [!__NR_ftruncate64]: Remove conditional code.
38885 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38886 [__NR_ftruncate64]: Make code unconditional.
38887 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38888
38889 * configure.in (libc_cv_fpie): Weaken to a compile test using
38890 LIBC_TRY_CC_OPTION.
38891 * configure: Regenerated.
38892
388932012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38894
38895 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
38896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
38897 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
38898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38899 Refreshed.
38900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
38901 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
38902 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
38903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
38904 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
38905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38906 Refreshed.
38907
389082012-05-27 David S. Miller <davem@davemloft.net>
38909
38910 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
38911 (___Q_zero): New.
38912 (__Q_simulate_exceptions): Return void. Change to simulate
38913 exceptions by writing into the %fsr.
38914 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
38915 (__Qp_handle_exceptions): Likewise.
38916 (numbers): Delete.
38917 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
38918 __Qp_handle_exceptions.
38919 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
38920 __Qp_handle_exceptions.
38921 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38922 as unused and give dummy FP_RND_NEAREST initializer.
38923 (FP_INHIBIT_RESULTS): Define.
38924 (___Q_simulate_exceptions): Update declaration.
38925 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
38926 formatting.
38927 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38928 as unused and give dummy FP_RND_NEAREST initializer.
38929 (__Qp_handle_exceptions): Update declaration.
38930 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
38931 formatting.
38932
389332012-05-27 Thomas Schwinge <thomas@codesourcery.com>
38934
38935 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
38936 the temporary FPU control word.
38937 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
38938 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
38939 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
38940 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38941 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38942 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
38943 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
38944 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38945 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38946 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
38947 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38948
389492012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38950
38951 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
38952 fields.
38953
389542012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
38955
38956 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
38957 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
38958 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
38959 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
38960 Likewise.
38961 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
38962 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
38963 Likewise.
38964
389652012-05-27 Ulrich Drepper <drepper@gmail.com>
38966
38967 * po/h.po: Update from translation team.
38968
389692012-05-26 Andreas Schwab <schwab@linux-m68k.org>
38970
38971 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
38972
38973 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
38974 handling of denormals.
38975 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38976 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38977 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38978 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38979 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38980 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
38981 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
38982 Likewise.
38983
389842012-05-26 Marek Polacek <polacek@redhat.com>
38985
38986 [BZ #14152]
38987 * math/libm-test.inc (fma_test): Don't always expect underflow
38988 exception.
38989
389902012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38991
38992 [BZ #12416]
38993 * elf/tst-execstack.c: Include stackinfo.h.
38994 (do_test): Adjust test case to ensure that pthread_getattr_np
38995 behaviour remains the same after marking stack executable.
38996
389972012-05-25 Joseph Myers <joseph@codesourcery.com>
38998
38999 * sysdeps/unix/sysv/linux/kernel-features.h
39000 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
39001 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
39002 kernel-features.h.
39003 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39004 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39005 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
39006 kernel-features.h.
39007 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39008 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39009
390102012-05-25 H.J. Lu <hongjiu.lu@intel.com>
39011
39012 * configure.in: Define the default includes to being none.
39013 * configure: Regenerated.
39014
390152012-05-25 Roland McGrath <roland@hack.frob.com>
39016
39017 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
39018 * sysdeps/x86_64/setjmp.S: Likewise.
39019 * sysdeps/i386/bsd-setjmp.S: Likewise.
39020 * sysdeps/i386/bsd-_setjmp.S: Likewise.
39021 * sysdeps/i386/setjmp.S: Likewise.
39022 * sysdeps/i386/__longjmp.S: Likewise.
39023 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39024 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
39025
39026 * include/stap-probe.h: New file.
39027 * configure.in: Handle --enable-systemtap.
39028 * configure: Regenerated.
39029 * config.h.in (USE_STAP_PROBE): New #undef.
39030 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
39031 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
39032 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39033
390342012-05-25 Joseph Myers <joseph@codesourcery.com>
39035
39036 [BZ #13717]
39037 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39038 to 2.4.0 where earlier.
39039 * sysdeps/unix/sysv/linux/configure: Regenerated.
39040 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39041 <kernel-features.h>.
39042 [__ASSUME_32BITUIDS]: Make code unconditional.
39043 [!__ASSUME_32BITUIDS]: Remove conditional code.
39044 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
39045 <kernel-features.h>.
39046 [__ASSUME_32BITUIDS]: Make code unconditional.
39047 [!__ASSUME_32BITUIDS]: Remove conditional code.
39048 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
39049 [__ASSUME_32BITUIDS]: Make code unconditional.
39050 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
39051 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
39052 <kernel-features.h>.
39053 [__ASSUME_32BITUIDS]: Make code unconditional.
39054 [!__ASSUME_32BITUIDS]: Remove conditional code.
39055 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
39056 <kernel-features.h>.
39057 [__ASSUME_32BITUIDS]: Make code unconditional.
39058 [!__ASSUME_32BITUIDS]: Remove conditional code.
39059 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
39060 <kernel-features.h>.
39061 [__ASSUME_32BITUIDS]: Make code unconditional.
39062 [!__ASSUME_32BITUIDS]: Remove conditional code.
39063 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
39064 <kernel-features.h>.
39065 [__ASSUME_32BITUIDS]: Make code unconditional.
39066 [!__ASSUME_32BITUIDS]: Remove conditional code.
39067 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39068 <kernel-features.h>.
39069 [__ASSUME_32BITUIDS]: Make code unconditional.
39070 [!__ASSUME_32BITUIDS]: Remove conditional code.
39071 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39072 <kernel-features.h>.
39073 [__ASSUME_32BITUIDS]: Make code unconditional.
39074 [!__ASSUME_32BITUIDS]: Remove conditional code.
39075 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
39076 <kernel-features.h>.
39077 [__ASSUME_32BITUIDS]: Make code unconditional.
39078 [!__ASSUME_32BITUIDS]: Remove conditional code.
39079 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39080 <kernel-features.h>.
39081 [__ASSUME_32BITUIDS]: Make code unconditional.
39082 [!__ASSUME_32BITUIDS]: Remove conditional code.
39083 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39084 <kernel-features.h>.
39085 [__ASSUME_32BITUIDS]: Make code unconditional.
39086 [!__ASSUME_32BITUIDS]: Remove conditional code.
39087 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
39088 <kernel-features.h>.
39089 [__ASSUME_32BITUIDS]: Make code unconditional.
39090 [!__ASSUME_32BITUIDS]: Remove conditional code.
39091 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
39092 <kernel-features.h>.
39093 [__NR_setresgid] (__setresgid): Do not declare.
39094 [__ASSUME_32BITUIDS]: Make code unconditional.
39095 [!__ASSUME_32BITUIDS]: Remove conditional code.
39096 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
39097 <kernel-features.h>.
39098 [__NR_setresuid] (__setresuid): Do not declare.
39099 [__ASSUME_32BITUIDS]: Make code unconditional.
39100 [!__ASSUME_32BITUIDS]: Remove conditional code.
39101 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
39102 <kernel-features.h>.
39103 [__ASSUME_32BITUIDS]: Make code unconditional.
39104 [!__ASSUME_32BITUIDS]: Remove conditional code.
39105 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
39106 <kernel-features.h>.
39107 [__ASSUME_32BITUIDS]: Make code unconditional.
39108 [!__ASSUME_32BITUIDS]: Remove conditional code.
39109 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
39110 <kernel-features.h>.
39111 [__ASSUME_32BITUIDS]: Make code unconditional.
39112 [!__ASSUME_32BITUIDS]: Remove conditional code.
39113 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
39114 <kernel-features.h>.
39115 [__ASSUME_32BITUIDS]: Make code unconditional.
39116 [!__ASSUME_32BITUIDS]: Remove conditional code.
39117 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
39118 <kernel-features.h>.
39119 [__ASSUME_32BITUIDS]: Make code unconditional.
39120 [!__ASSUME_32BITUIDS]: Remove conditional code.
39121 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
39122 <kernel-features.h>.
39123 [__ASSUME_32BITUIDS]: Make code unconditional.
39124 [!__ASSUME_32BITUIDS]: Remove conditional code.
39125 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
39126 <kernel-features.h>.
39127 [__ASSUME_32BITUIDS]: Make code unconditional.
39128 [!__ASSUME_32BITUIDS]: Remove conditional code.
39129 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
39130 <kernel-features.h>.
39131 [__ASSUME_32BITUIDS]: Make code unconditional.
39132 [!__ASSUME_32BITUIDS]: Remove conditional code.
39133 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
39134 <kernel-features.h>.
39135 [__ASSUME_32BITUIDS]: Make code unconditional.
39136 [!__ASSUME_32BITUIDS]: Remove conditional code.
39137 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39138 <kernel-features.h>.
39139 [__ASSUME_32BITUIDS]: Make code unconditional.
39140 [!__ASSUME_32BITUIDS]: Remove conditional code.
39141 * sysdeps/unix/sysv/linux/kernel-features.h
39142 (__ASSUME_SETRESUID_SYSCALL): Remove.
39143 (__ASSUME_SETRESGID_SYSCALL): Likewise.
39144 (__ASSUME_32BITUIDS): Likewise.
39145 (__ASSUME_LDT_WORKS): Likewise.
39146 (__ASSUME_O_DIRECTORY): Likewise.
39147 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
39148 architecture but not kernel version.
39149 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39150 (__ASSUME_MMAP2_SYSCALL): Likewise.
39151 (__ASSUME_STAT64_SYSCALL): Likewise.
39152 (__ASSUME_IPC64): Likewise.
39153 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
39154 <kernel-features.h>.
39155 [__ASSUME_32BITUIDS]: Make code unconditional.
39156 [!__ASSUME_32BITUIDS]: Remove conditional code.
39157 * sysdeps/unix/sysv/linux/opendir.c: Do not include
39158 <kernel-features.h>.
39159 [__ASSUME_O_DIRECTORY]: Make code unconditional.
39160 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
39161 132096]: Remove conditional code.
39162 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
39163 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39164 <kernel-features.h>.
39165 [__ASSUME_32BITUIDS]: Make code unconditional.
39166 [!__ASSUME_32BITUIDS]: Remove conditional code.
39167 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39168 <kernel-features.h>.
39169 [__ASSUME_32BITUIDS]: Make code unconditional.
39170 [!__ASSUME_32BITUIDS]: Remove conditional code.
39171 * sysdeps/unix/sysv/linux/setegid.c: Do not include
39172 <kernel-features.h>.
39173 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
39174 unconditional.
39175 (__setresgid): Do not declare.
39176 [__ASSUME_32BITUIDS]: Make code unconditional.
39177 [!__ASSUME_32BITUIDS]: Remove conditional code.
39178 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
39179 <kernel-features.h>.
39180 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
39181 unconditional.
39182 (__setresuid): Do not declare.
39183 [__ASSUME_32BITUIDS]: Make code unconditional.
39184 [!__ASSUME_32BITUIDS]: Remove conditional code.
39185 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39186 <kernel-features.h>.
39187 [__ASSUME_32BITUIDS]: Make code unconditional.
39188 [!__ASSUME_32BITUIDS]: Remove conditional code.
39189 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
39190 <kernel-features.h>.
39191 [__ASSUME_32BITUIDS]: Make code unconditional.
39192 [!__ASSUME_32BITUIDS]: Remove conditional code.
39193
391942012-05-25 Richard Henderson <rth@twiddle.net>
39195
39196 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
39197 dl_hwcap to ifunc resolver.
39198 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
39199 elf_ifunc_invoke.
39200 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
39201 dl_hwcap to ifunc resolver.
39202 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
39203
392042012-05-24 Joseph Myers <joseph@codesourcery.com>
39205
39206 [BZ #14153]
39207 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
39208 for |x| <= 2**-26, not 2**-57.
39209 * math/libm-test.inc (acos_test): Do not allow spurious underflow
39210 exception.
39211
392122012-05-24 Jeff Law <law@redhat.com>
39213
39214 * stdio-common/Makefile (tests): Add bug25.
39215 * stdio-common/bug25.c: New test.
39216
392172012-05-24 H.J. Lu <hongjiu.lu@intel.com>
39218
39219 [BZ #13576]
39220 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
39221 multiple of MALLOC_ALIGNMENT in size.
39222 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
39223
392242012-05-24 Joseph Myers <joseph@codesourcery.com>
39225
39226 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
39227 Require >= 256.
39228 (FILENAME_MAX): Use macro-int-constant.
39229 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
39230 (_IOFBF): Use macro-int-constant.
39231 (_IOLBF): Likewise.
39232 (_IONBF): Likewise.
39233 (SEEK_CUR): Likewise.
39234 (SEEK_END): Likewise.
39235 (SEEK_SET): Likewise.
39236 (TMP_MAX): Likewise.
39237 (EOF): Use macro-int-constant. Require < 0.
39238 (NULL): Use macro-constant. Require == 0.
39239 (stdin): Require type to be FILE *.
39240 (stdout): Likewise.
39241 (stderr): Likewise.
39242 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
39243 macro-int-constant.
39244 (EXIT_SUCCESS): Likewise.
39245 (NULL): Use macro-constant. Require == 0.
39246 (RAND_MAX): Use macro-int-constant.
39247 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
39248 [C99-based standards] (strtof): Require function.
39249 [C99-based standards] (strtold): Likewise.
39250 [C99-based standards] (strtoll): Likewise.
39251 [C99-based standards] (strtoull): Likewise.
39252 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39253 [ISO || ISO99 || ISO11] (limits.h): Likewise.
39254 [ISO || ISO99 || ISO11] (math.h): Likewise.
39255 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
39256 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39257 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39258
392592012-05-24 Andreas Schwab <schwab@linux-m68k.org>
39260
39261 [BZ #14132]
39262 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
39263 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
39264 * intl/dgettext.c (DCGETTEXT): Likewise.
39265 * intl/gettext.c (DCGETTEXT): Likewise.
39266 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
39267 * posix/regex_internal.h (gettext): Likewise.
39268 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
39269 Remove declaration.
39270 * include/argz.h (__argz_count_internal)
39271 (__argz_stringify_internal): Remove declaration.
39272 (__argz_count, __argz_stringify): Declare hidden proto.
39273 * intl/dcgettext.c: Remove use of INTDEF.
39274 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
39275 * string/argz-stringify.c: Likewise.
39276 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39277 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39278 Declare hidden proto.
39279 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39280 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39281 Declare hidden proto.
39282 * include/stdio.h (__asprintf_internal): Don't declare.
39283 (__asprintf): Don't define as macro. Declare hidden proto.
39284 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
39285 (__fsetlocking): Declare hidden proto.
39286 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
39287 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
39288 hidden proto.
39289 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
39290 (_IO_setlinebuf): Remove use of INTUSE.
39291 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
39292 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
39293 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
39294 Remove declaration.
39295 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
39296 (_IO_do_flush): Remove use of INTUSE.
39297 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
39298 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
39299 (_IO_adjust_column, _IO_least_wmarker)
39300 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
39301 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
39302 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
39303 (_IO_default_doallocate, _IO_wdefault_doallocate)
39304 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
39305 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
39306 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
39307 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
39308 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
39309 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
39310 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
39311 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
39312 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
39313 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
39314 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
39315 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
39316 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
39317 proto.
39318 (_IO_flush_all_internal, _IO_adjust_column_internal)
39319 (_IO_default_uflow_internal, _IO_default_finish_internal)
39320 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
39321 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
39322 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
39323 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
39324 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
39325 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
39326 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
39327 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
39328 (_IO_file_close_internal, _IO_file_close_it_internal)
39329 (_IO_file_underflow_internal, _IO_file_overflow_internal)
39330 (_IO_file_init_internal, _IO_file_attach_internal)
39331 (_IO_file_fopen_internal, _IO_file_read_internal)
39332 (_IO_file_sync_internal, _IO_file_seek_internal)
39333 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
39334 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
39335 (_IO_str_underflow_internal, _IO_str_overflow_internal)
39336 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
39337 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
39338 (_IO_list_all_internal, _IO_link_in_internal)
39339 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
39340 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
39341 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
39342 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
39343 (_IO_do_write_internal, _IO_padn_internal)
39344 (_IO_getline_info_internal, _IO_getline_internal)
39345 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
39346 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
39347 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
39348 (_IO_vfscanf_internal, _IO_vfprintf_internal)
39349 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
39350 (_IO_init_internal, _IO_un_link_internal): Don't declare.
39351 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
39352 with libc_hidden_ver, remove use of INTUSE.
39353 * libio/genops.c: Likewise.
39354 * libio/freopen.c: Likewise.
39355 * libio/freopen64.c: Likewise.
39356 * libio/iofclose.c: Likewise.
39357 * libio/iofdopen.c: Likewise.
39358 * libio/iofflush.c: Likewise.
39359 * libio/iofflush_u.c: Likewise.
39360 * libio/iofgets.c: Likewise.
39361 * libio/iofgets_u.c: Likewise.
39362 * libio/iofopen.c: Likewise.
39363 * libio/iofopncook.c: Likewise.
39364 * libio/iofread.c: Likewise.
39365 * libio/iofread_u.c: Likewise.
39366 * libio/ioftell.c: Likewise.
39367 * libio/iofwrite.c: Likewise.
39368 * libio/iogetline.c: Likewise.
39369 * libio/iogets.c: Likewise.
39370 * libio/iogetwline.c: Likewise.
39371 * libio/iopadn.c: Likewise.
39372 * libio/iopopen.c: Likewise.
39373 * libio/ioseekoff.c: Likewise.
39374 * libio/ioseekpos.c: Likewise.
39375 * libio/iosetbuffer.c: Likewise.
39376 * libio/iosetvbuf.c: Likewise.
39377 * libio/ioungetc.c: Likewise.
39378 * libio/ioungetwc.c: Likewise.
39379 * libio/iovdprintf.c: Likewise.
39380 * libio/iovsprintf.c: Likewise.
39381 * libio/iovsscanf.c: Likewise.
39382 * libio/memstream.c: Likewise.
39383 * libio/obprintf.c: Likewise.
39384 * libio/oldfileops.c: Likewise.
39385 * libio/oldiofclose.c: Likewise.
39386 * libio/oldiofdopen.c: Likewise.
39387 * libio/oldiofopen.c: Likewise.
39388 * libio/oldiopopen.c: Likewise.
39389 * libio/oldstdfiles.c: Likewise.
39390 * libio/putc.c: Likewise.
39391 * libio/setbuf.c: Likewise.
39392 * libio/setlinebuf.c: Likewise.
39393 * libio/stdfiles.c: Likewise.
39394 * libio/strops.c: Likewise.
39395 * libio/vasprintf.c: Likewise.
39396 * libio/vscanf.c: Likewise.
39397 * libio/vsnprintf.c: Likewise.
39398 * libio/vswprintf.c: Likewise.
39399 * libio/wfiledoalloc.c: Likewise.
39400 * libio/wfileops.c: Likewise.
39401 * libio/wgenops.c: Likewise.
39402 * libio/wmemstream.c: Likewise.
39403 * libio/wstrops.c: Likewise.
39404 * libio/__fpurge.c: Likewise.
39405 * libio/__fsetlocking.c: Likewise.
39406 * assert/assert.c: Likewise.
39407 * debug/fgets_chk.c: Likewise.
39408 * debug/fgets_u_chk.c: Likewise.
39409 * debug/fread_chk.c: Likewise.
39410 * debug/fread_u_chk.c: Likewise.
39411 * debug/gets_chk.c: Likewise.
39412 * debug/obprintf_chk.c: Likewise.
39413 * debug/vasprintf_chk.c: Likewise.
39414 * debug/vdprintf_chk.c: Likewise.
39415 * debug/vsnprintf_chk.c: Likewise.
39416 * debug/vsprintf_chk.c: Likewise.
39417 * malloc/mtrace.c: Likewise.
39418 * misc/error.c: Likewise.
39419 * misc/syslog.c: Likewise.
39420 * stdio-common/asprintf.c: Likewise.
39421 * stdio-common/fxprintf.c: Likewise.
39422 * stdio-common/getw.c: Likewise.
39423 * stdio-common/isoc99_fscanf.c: Likewise.
39424 * stdio-common/isoc99_scanf.c: Likewise.
39425 * stdio-common/isoc99_vfscanf.c: Likewise.
39426 * stdio-common/isoc99_vscanf.c: Likewise.
39427 * stdio-common/isoc99_vsscanf.c: Likewise.
39428 * stdio-common/printf-prs.c: Likewise.
39429 * stdio-common/printf_fp.c: Likewise.
39430 * stdio-common/printf_fphex.c: Likewise.
39431 * stdio-common/printf_size.c: Likewise.
39432 * stdio-common/putw.c: Likewise.
39433 * stdio-common/scanf.c: Likewise.
39434 * stdio-common/sprintf.c: Likewise.
39435 * stdio-common/tmpfile.c: Likewise.
39436 * stdio-common/vfprintf.c: Likewise.
39437 * stdio-common/vfscanf.c: Likewise.
39438 * stdlib/strfmon_l.c: Likewise.
39439 * sunrpc/openchild.c: Likewise.
39440 * sunrpc/xdr_stdio.c: Likewise.
39441 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
39442 * sysdeps/mach/hurd/tmpfile.c: Likewise.
39443
394442012-05-24 Roland McGrath <roland@hack.frob.com>
39445
39446 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39447
39448 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
39449 in the third column, to generate for the shared library an IFUNC
39450 that uses _dl_vdso_vsym.
39451 * Makerules (COMPILE.c, compile-stdin.c): New variables.
39452 * Makeconfig (object-suffixes-noshared): New variable.
39453
39454 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
39455 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
39456 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
39457 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
39458
39459 [BZ #14132]
39460 * include/sys/time.h (__gettimeofday): Remove macro.
39461 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
39462 * time/gettimeofday.c (__gettimeofday): Remove #undef.
39463 Remove INTDEF.
39464 (__gettimeofday): Add libc_hidden_def.
39465 (gettimeofday): Add libc_hidden_weak.
39466 * sysdeps/mach/gettimeofday.c: Likewise.
39467 * sysdeps/posix/gettimeofday.c: Likewise.
39468 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
39469 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
39470 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
39471 (__gettimeofday_internal): Remove strong_alias.
39472 (__gettimeofday): Add libc_hidden_def.
39473 (gettimeofday): Add libc_hidden_weak.
39474 * sysdeps/unix/syscalls.list (gettimeofday):
39475 Remove __gettimeofday_internal alias.
39476
394772012-05-24 Daniel Jacobowitz <drow@false.org>
39478 H.J. Lu <hongjiu.lu@intel.com>
39479
39480 [BZ #12495]
39481 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
39482 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
39483 (largebin_index_32_big): New.
39484 (largebin_index): Use it for 16-byte alignment.
39485 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
39486 correction with front_misalign.
39487
394882012-05-24 H.J. Lu <hongjiu.lu@intel.com>
39489
39490 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
39491 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
39492 Likewise.
39493 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
39494 Likewise.
39495 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39496 Likewise.
39497 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
39498 Likewise.
39499 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
39500 Likewise.
39501 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
39502 Likewise.
39503 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
39504 Likewise.
39505 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
39506 Likewise.
39507 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
39508 Likewise.
39509 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
39510 Likewise.
39511 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
39512 Likewise.
39513 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
39514 Likewise.
39515
39516 * scripts/data/c++-types-x32-linux-gnu.data: New file.
39517 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
39518
395192012-05-24 Joseph Myers <joseph@codesourcery.com>
39520
39521 [BZ #10846]
39522 [BZ #14036]
39523 * math/libm-test.inc (exp_test): Add test from bug 14036.
39524 (pow_test): Add test from bug 10846.
39525
39526 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
39527 and other flags.
39528 (special_function): Do not include flags in test name.
39529 (parse_args): Likewise.
39530 * sysdeps/i386/fpu/libm-test-ulps: Update.
39531 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39532 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39533 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39535
39536 * math/gen-libm-test.pl (%beautify): Add entries for underflow
39537 exceptions.
39538 * math/libm-test.inc ("Philosophy"): Update comment about
39539 exception testing.
39540 (UNDERFLOW_EXCEPTION): New macro.
39541 (UNDERFLOW_EXCEPTION_OK): Likewise.
39542 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
39543 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
39544 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
39545 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
39546 (INVALID_EXCEPTION_OK): Update value.
39547 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39548 (OVERFLOW_EXCEPTION_OK): Likewise.
39549 (IGNORE_ZERO_INF_SIGN): Likewise.
39550 (test_exceptions): Handle underflow exceptions.
39551 (acos_test): Update for underflow exception expectations.
39552 (cexp_test): Likewise.
39553 (clog_test): Likewise.
39554 (clog10_test): Likewise.
39555 (csqrt_test): Likewise.
39556 (ctan_test): Likewise.
39557 (ctanh_test): Likewise.
39558 (exp_test): Likewise.
39559 (exp10_test): Likewise.
39560 (exp2_test): Likewise.
39561 (expm1_test): Likewise.
39562 (fma_test): Likewise.
39563 (j0_test): Likewise.
39564 (jn_test): Likewise.
39565 (nexttoward_test): Likewise.
39566 (pow_test): Likewise.
39567 (scalbn_test): Likewise.
39568 (scalbln_test): Likewise.
39569 (tan_test): Likewise.
39570 (y1_test): Likewise.
39571 * sysdeps/i386/fpu/libm-test-ulps: Update.
39572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39573
395742012-05-23 David S. Miller <davem@davemloft.net>
39575
39576 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39577 (__libc_sigaction): Remove unused local variables.
39578
395792012-05-23 H.J. Lu <hongjiu.lu@intel.com>
39580
39581 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
39582
395832012-05-23 Paul Eggert <eggert@cs.ucla.edu>
39584
39585 mktime: avoid signed integer overflow
39586 * time/mktime.c (__mktime_internal): Do not mishandle the case
39587 where diff == INT_MIN.
39588
39589 mktime: simplify computation of average
39590 * time/mktime.c (ranged_convert): Use new time_t_avg function
39591 instead of rolling our own (probably-slower) code.
39592
39593 mktime: do not assume signed right shift propagates sign bit
39594 * time/mktime.c (isdst_differ): New static function.
39595 (__mktime_internal): No need to normalize tm_isdst now.
39596 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
39597 tm_isdst values.
39598
39599 mktime: merge another wrapv change from gnulib
39600 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
39601 from some compilers.
39602
39603 mktime: remove incorrect attempt at unusual arithmetics
39604 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
39605 The code didn't really work on such machines anyway.
39606 (TYPE_MINIMUM): Assume two's complement.
39607 (twos_complement_arithmetic): Verify that long_int and time_t
39608 are two's complement (or unsigned, in the latter case).
39609
39610 mktime: check signed shifts on long_int and time_t, too
39611 * time/mktime.c (SHR): Check that shifts work as desired
39612 on the types long_int and time_t too, as SHR is used on
39613 such types.
39614
39615 mktime: do not assume 'long' is wide enough
39616 * time/mktime.c (verify): Move decl up.
39617 (long_int): New type.
39618 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
39619 to remove assumption in the code that 'long' is wide enough to
39620 store year values. This assumption is not true on x32 and on
39621 some non-glibc platforms.
39622
39623 mktime: merge wrapv change from gnulib
39624 * time/mktime.c (WRAPV): New macro.
39625 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
39626 (guess_time_tm, __mktime_internal): Do not assume that signed
39627 integer overflow wraps around; modern compilers generate code
39628 where this assumption is no longer valid.
39629
396302012-05-23 H.J. Lu <hongjiu.lu@intel.com>
39631
39632 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39633 Replace "jmp L(pseudo_end)" with "ret".
39634 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
39635 Likewise.
39636
396372012-05-23 Andreas Jaeger <aj@suse.de>
39638
39639 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
39640 * sysdeps/unix/sysv/linux/poll.c: Remove file.
39641
396422012-05-23 Andreas Jaeger <aj@suse.de>
39643 Maximilian Attems <max@stro.at>
39644
39645 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
39646 New macros.
39647
396482012-05-23 H.J. Lu <hongjiu.lu@intel.com>
39649
39650 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
39651 code so that pseudo_end is just ret and the stack pointer is
39652 correct also for static library in error case.
39653
396542012-05-23 Joseph Myers <joseph@codesourcery.com>
39655
39656 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
39657 move to syscalls.list.
39658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
39659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
39660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
39661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
39662
39663 * manual/install.texi (Running make install): Do not mention Linux
39664 kernel version for which pt_chown is not needed.
39665 (Linux): Do not mention problems with nscd with 2.0 kernels.
39666 * INSTALL: Regenerated.
39667
396682012-05-23 Andreas Jaeger <aj@suse.de>
39669
39670 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
39671 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
39672 macro.
39673 * sysdeps/unix/sysv/linux/s390/bits/mman.h
39674 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39675 * sysdeps/unix/sysv/linux/sh/bits/mman.h
39676 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39677 * sysdeps/unix/sysv/linux/i386/bits/mman.h
39678 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39679 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
39680 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39681 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
39682 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39683 * sysdeps/unix/sysv/linux/bits/in.h
39684 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
39685
396862012-05-22 Roland McGrath <roland@hack.frob.com>
39687
39688 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
39689 (PREPARE_VERSION): Just use assert instead, it will be elided
39690 under [NDEBUG] anyway.
39691
396922012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39693
39694 * sysdeps/unix/sysv/linux/Makefile: Include
39695 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
39696 (sysdep_routines): Remove sysctl.
39697 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
39698 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
39699 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
39700 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
39701 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
39702
397032012-05-22 Andreas Jaeger <aj@suse.de>
39704
39705 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
39706 that pseudo_end is just ret and the stack pointer is correct also
39707 for static library in error case.
39708
397092012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
39710
39711 [BZ #14122]
39712 * nss/nsswitch.c (defconfig_entries): New variable.
39713 (__nss_database_lookup): Don't leak defconfig entries.
39714 (nss_parse_service_list): Don't leak on error paths.
39715 (free_database_entries): New function.
39716 (free_defconfig): New function.
39717 (free_mem): Move common code to free_database_entries.
39718
397192012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39720
39721 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
39722 Add arch_prctl.
39723 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
39724
39725 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39726 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
39727 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
39728 New macro.
39729 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
39730 (INTERNAL_SYSCALL_TYPES): Likewise.
39731 (LOAD_ARGS_TYPES_[1-6]): Likewise.
39732 (LOAD_REGS_TYPES_[1-6]): Likewise.
39733 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
39734 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
39735
397362012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39737
39738 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
39739 copysignl for GLIBC_2_0.
39740 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
39741 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
39742 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
39743 logbl for GLIBC_2_0.
39744 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
39745 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
39746
397472012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39748
39749 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
39750 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39751
39752 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39753 Use "neg %eax".
39754
39755 * time/mktime.c: Update copyright years.
39756
397572012-05-22 Paul Eggert <eggert@cs.ucla.edu>
39758
39759 mktime: merge comment-quoting-style change from gnulib
39760 * time/mktime.c: Quote 'like this' in comments.
39761 The GNU coding standards suggest that we no longer quote `like this',
39762 as "`" and "'" are typically rendered asymmetrically nowadays.
39763 The typical gnulib style is to quote 'like this' when quoting
39764 code, and "like this" when quoting English.
39765
39766 * time/mktime.c (compile-command): Add "-I.".
39767
39768 mktime: merge mktime-internal.h change from gnulib
39769 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
39770
39771 mktime: merge time_r change from gnulib
39772 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
39773
39774 mktime: merge DEBUG change from gnulib
39775 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
39776 case system <time.h> has a #define.
39777
39778 mktime: merge <sys/types.h> change from gnulib
39779 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
39780 since <time.t> is now guaranteed to define time_t.
39781
39782 mktime: merge HAVE_CONFIG_H change from gnulib
39783 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
39784
397852012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39786
39787 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39788 Use "neg %eax".
39789
39790 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
39791 __rlim_t cast.
39792 (struct rusage): Use anonymous union to pad each field to
39793 __syscall_slong_t.
39794
397952012-05-21 David S. Miller <davem@davemloft.net>
39796
39797 * Makefules (o-iterator): Remove .s cases.
39798 (compile-command.s): Delete.
39799 (COMPILE.s): Delete.
39800 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
39801
398022012-05-21 Joseph Myers <joseph@codesourcery.com>
39803
39804 * configure.in (libc_cv_predef_stack_protector): Only consider
39805 "foobar" and "__stack_chk_fail" lines in libc_undefs.
39806 * configure: Regenerated.
39807
398082012-05-21 H.J. Lu <hongjiu.lu@intel.com>
39809
39810 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39811 New macro. Use R*LP on int and pointer.
39812 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
39813 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
39814 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
39815 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
39816
39817 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
39818 [__WORDSIZE_TIME64_COMPAT32] instead of
39819 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
39820 (struct utmp): Likewise.
39821 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
39822 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
39823 Renamed to ...
39824 (__WORDSIZE_TIME64_COMPAT32): This.
39825 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
39826 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
39827 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
39828 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
39829 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
39830 (__WORDSIZE_TIME64_COMPAT32): New macro.
39831
398322012-05-21 Andreas Jaeger <aj@suse.de>
39833
39834 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
39835 only if [SHARED]. Add prototype for __wcschr_ia32.
39836
398372012-05-21 Roland McGrath <roland@hack.frob.com>
39838
39839 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
39840 of %rbp unmolested in the jmp_buf while mangling the low bits.
39841 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
39842 unmolested high bits of %rbp while demangling the low bits.
39843 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39844
398452012-05-21 Andreas Jaeger <aj@suse.de>
39846
39847 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
39848 * sunrpc/svc_simple.c: Use it for registerrpc.
39849 * sunrpc/xcrypt.c: Use it for passwd2des.
39850
39851 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
39852
398532012-05-21 H.J. Lu <hongjiu.lu@intel.com>
39854
39855 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
39856 Don't define if [__SYSCALL_WORDSIZE != 32].
39857 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
39858 New macro.
39859
398602012-05-21 Bruno Haible <bruno@clisp.org>
39861 Andreas Jaeger <aj@suse.de>
39862
39863 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
39864 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
39865 inptr and inend for must_buffer_ch.
39866 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
39867 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
39868 * stdio-common/Makefile (tests): Remove bug15.
39869 (bug15-ENV): Remove macro.
39870 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
39871 anymore.
39872
398732012-05-19 Andreas Jaeger <aj@suse.de>
39874 Roland McGrath <roland@hack.frob.com>
39875
39876 * manual/contrib.texi: Completely rewritten. It contains now an
39877 alphabetical list of contributors and their contributions.
39878
398792012-05-21 Richard Henderson <rth@twiddle.net>
39880
39881 * misc/getauxval.c (__getauxval): Use unsigned long int.
39882 * misc/sys/auxv.h: Include <sys/cdefs.h>.
39883 (getauxval): Use unsigned long int.
39884
398852012-05-21 H.J. Lu <hongjiu.lu@intel.com>
39886
39887 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39888
398892012-05-21 Roland McGrath <roland@hack.frob.com>
39890
39891 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
39892 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
39893 __alignof__ (long double).
39894
398952012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39896
39897 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39898
398992012-05-20 Richard Henderson <rth@twiddle.net>
39900
39901 * misc/getauxval.c: New file.
39902 * misc/sys/auxv.h: New file.
39903 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
39904 (routines): Add getauxval.
39905 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
39906 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
39907 * elf/dl-sysdep.c (_dl_auxv): Remove.
39908 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
39909 * elf/dl-support.c (_dl_auxv): New variable.
39910 (_dl_aux_init): Initialize it.
39911 * manual/startup.texi (Auxiliary Vector): New node.
39912 * sysdeps/generic/bits/hwcap.h: New file.
39913 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
39914 * sysdeps/powerpc/sysdep.h: ... here. Include it.
39915 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
39916 * sysdeps/sparc/sysdep.h: ... here. Include it.
39917 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
39918 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
39919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39920 Update.
39921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
39922 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
39923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
39924 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
39925 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39926 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39927 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
39928 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
39929
399302012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39931
39932 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39933
399342012-05-19 David S. Miller <davem@davemloft.net>
39935
39936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39937
399382012-05-19 Joseph Myers <joseph@codesourcery.com>
39939
39940 [BZ #14123]
39941 * math/s_ccosh.c: Include <float.h>
39942 (__ccosh): Avoid internal overflow calculating sinh and cosh
39943 values before multiplying by sin and cos values.
39944 * math/s_ccoshf.c: Likewise.
39945 * math/s_ccoshl.c: Likewise.
39946 * math/s_csin.c: Likewise.
39947 * math/s_csinf.c: Likewise.
39948 * math/s_csinl.c: Likewise.
39949 * math/s_csinh.c: Likewise.
39950 * math/s_csinhf.c: Likewise.
39951 * math/s_csinhl.c: Likewise.
39952 * math/libm-test.inc (ccos_test): Add more tests.
39953 (ccosh_test): Likewise.
39954 (csin_test): Likewise.
39955 (csinh_test): Likewise.
39956 * sysdeps/i386/fpu/libm-test-ulps: Update.
39957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39958
399592012-05-19 H.J. Lu <hongjiu.lu@intel.com>
39960
39961 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
39962 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
39963
39964 * sysdeps/x86_64/x32/_itoa.h: Add comment.
39965
399662012-05-19 Joseph Myers <joseph@codesourcery.com>
39967
39968 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
39969 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
39970 * sysdeps/powerpc/soft-fp/Versions: Likewise.
39971 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
39972 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
39973 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
39974 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
39975 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
39976 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
39977 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
39978 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
39979 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
39980 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
39981 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
39982 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
39983 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
39984 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
39985 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
39986 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
39987 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
39988 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
39989 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
39990 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
39991 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
39992 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
39993 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
39994 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
39995 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
39996 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
39997 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
39998 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
39999
400002012-05-18 Andreas Jaeger <aj@suse.de>
40001
40002 * csu/.gitignore: Delete.
40003
400042012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40005
40006 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
40007 (timex): Use __syscall_slong_t.
40008
400092012-05-18 Andreas Jaeger <aj@suse.de>
40010 Carlos O'Donell <carlos_odonell@mentor.com>
40011
40012 * manual/install.texi (Configuring and compiling): Update
40013 description about files modified in the source directory.
40014 * INSTALL: Regenerated.
40015
400162012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40017
40018 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
40019 value. Use "or" to set return value to -1.
40020 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
40021 negate return value.
40022
400232012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40024
40025 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
40026 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
40027 failure if the compiler has Graphite support disabled.
40028 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
40029 Likewise.
40030 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
40031 (CFLAGS-memmove.c): Likewise.
40032 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
40033 Likewise.
40034
400352012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40036
40037 * sysdeps/x86_64/x32/_itoa.h: New file.
40038
40039 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
40040 getdents system call only if kernel and user dirents have the
40041 same d_ino and d_off.
40042
40043 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40044 LLONG_MAX != LONG_MAX.
40045 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40046 (_fitoa_word): Likewise.
40047
40048 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
40049 years.
40050 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
40051 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
40052 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
40053
40054 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
40055 include <bits/wordsize.h>. Check __x86_64__ instead of
40056 __WORDSIZE.
40057 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
40058 if __x86_64__ is defined. Use anonymous union on fpstate.
40059
40060 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
40061 anonymous union.
40062
400632012-05-18 Andreas Schwab <schwab@linux-m68k.org>
40064
40065 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
40066 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
40067 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
40068 Refer to _rtld_local_ro instead of _rtld_global_ro.
40069 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
40070 Likewise.
40071 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
40072 Likewise.
40073 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
40074 Likewise.
40075 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
40076 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
40077 of _rtld_global, and rtld_progname instead of _dl_argv[0].
40078
40079 * sysdeps/powerpc/powerpc32/dl-machine.c
40080 (__elf_machine_runtime_setup) [PROF]: Don't reference
40081 _dl_prof_resolve.
40082
400832012-05-18 Andreas Jaeger <aj@suse.de>
40084
40085 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
40086 function only available for GCCs before 3.4 since GCC 3.4
40087 introduced a builtin.
40088 (lrint): Likewise.
40089 (llrintf): Likewise.
40090 (llrint): Likewise.
40091 (fmaxf): Likewise.
40092 (fmax): Likewise.
40093 (fminf): Likewise.
40094 (fmin): Likewise.
40095 (rint): Likewise.
40096 (rintf): Likewise.
40097 (nearbyint): Likewise.
40098 (nearbyintf): Likewise.
40099 (ceil): Likewise.
40100 (ceilf): Likewise.
40101 (floor): Likewise.
40102 (floorf): Likewise.
40103
401042012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40105
40106 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
40107 on both fields and cast pointer to __syscall_ulong_t.
40108
40109 * bits/types.h (__fsword_t): New type.
40110 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
40111 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
40112 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40113 (__FSWORD_T_TYPE): Likewise.
40114 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40115 (__FSWORD_T_TYPE): Likewise.
40116 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40117 (__FSWORD_T_TYPE): Likewise.
40118 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
40119 (__FSWORD_T_TYPE): Likewise.
40120 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
40121 __SWORD_TYPE with __fsword_t.
40122 (statfs64): Likewise.
40123
401242012-05-17 David S. Miller <davem@davemloft.net>
40125
40126 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
40127
401282012-05-17 Andreas Jaeger <aj@suse.de>
40129
40130 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
40131 warning.
40132
401332012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40134
40135 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
40136
401372012-05-17 Andreas Jaeger <aj@suse.de>
40138
40139 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
40140 when it is used.
40141
401422012-05-17 Chris Metcalf <cmetcalf@tilera.com>
40143
40144 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
40145
401462012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40147
40148 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
40149 * sysdeps/x86_64/tst-mallocalign1.c: New file.
40150
401512012-05-17 Andreas Jaeger <aj@suse.de>
40152 Carlos O'Donell <carlos_odonell@mentor.com>
40153
40154 [BZ #14059]
40155 * sysdeps/x86_64/multiarch/init-arch.h
40156 (bit_YMM_Usable): Rename to...
40157 (bit_AVX_Usable): ... this.
40158 (bit_FMA4_Usable): New macro.
40159 (bit_XMM_state): New macro.
40160 (bit_YMM_state): New macro.
40161 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
40162 [__ASSEMBLER__] (index_AVX_Usable): ... this.
40163 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
40164 (CPUID_OSXSAVE): New macro.
40165 (CPUID_AVX): New macro.
40166 (CPUID_FMA4): New macro.
40167 (index_YMM_Usable): Rename to...
40168 (index_AVX_Usable): ... this.
40169 (HAS_AVX): Use HAS_ARCH_FEATURE.
40170 (HAS_FMA4): Likewise.
40171 (HAS_YMM_USABLE): Remove.
40172 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40173 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
40174 are present.
40175 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
40176 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
40177 * sysdeps/x86_64/multiarch/Makefile: Likewise.
40178 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
40179 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
40180
401812012-05-17 Chris Metcalf <cmetcalf@tilera.com>
40182
40183 * math/libm-test.c: Support platforms without multiple rounding modes.
40184 * math/bug-nextafter.c: Support platforms without FP exceptions.
40185 * math/bug-nexttoward.c: Likewise.
40186 * math/test-fenv.c: Likewise.
40187 * math/test-misc.c: Likewise.
40188 * stdlib/bug-getcontext.c: Likewise.
40189
401902012-05-17 Andreas Jaeger <aj@suse.de>
40191
40192 * manual/examples/search.c (critter_cmp): Change signature to
40193 avoid warnings.
40194 * manual/string.texi (Collation Functions): Likewise.
40195
401962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40197
40198 * bits/types.h: Fold copyright years.
40199 * bits/typesizes.h: Likewise.
40200 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
40201 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40202 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
40203 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
40204 * time/time.h: Likewise.
40205
402062012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
40207
40208 [BZ #208]
40209 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
40210 in instead of returning them. Return void.
40211 (__libc_mallinfo): Accumulate over all arenas.
40212 (__malloc_stats): Adjust for change in int_mallinfo interface.
40213
402142012-05-16 Roland McGrath <roland@hack.frob.com>
40215
40216 [BZ #10375]
40217 * configure.in (NM): Add AC_CHECK_TOOL for it.
40218 (libc_extra_cflags): New substituted variable.
40219 Check for -fstack-protector being used implicitly.
40220 * configure: Regenerated.
40221 * config.make.in (config-extra-cflags): New variable,
40222 gets @libc_extra_cflags@.
40223 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
40224
40225 [BZ #10375]
40226 * configure.in: Check for _FORTIFY_SOURCE being predefined.
40227 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
40228 * configure: Regenerated.
40229 * config.make.in (CPPUNDEFS): New substituted variable.
40230 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
40231 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
40232 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
40233
402342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40235
40236 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
40237 (mq_attr): Use __syscall_slong_t.
40238
402392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40240
40241 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
40242 Check __x86_64__ instead of __WORDSIZE.
40243 (_STAT_VER_LINUX): Likewise.
40244 (stat): Check __x86_64__ instead of __WORDSIZE. Use
40245 __syscall_ulong_t and __syscall_slong_t.
40246 (stat64): Likewise.
40247
402482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40249
40250 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
40251
402522012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40253
40254 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
40255
402562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40257
40258 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
40259 __syscall_ulong_t.
40260
40261 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
40262 include <bits/wordsize.h>. Check __x86_64__ instead of
40263 __WORDSIZE.
40264 (greg_t): Use "__extension__ long long int" if __x86_64__ is
40265 defined.
40266 (mcontext_t): Replace "unsigned long" with "unsigned long long".
40267
40268 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
40269 include <bits/wordsize.h>. Check __x86_64__ instead of
40270 __WORDSIZE.
40271 (user_regs_struct): Use "__extension__ unsigned long long"
40272 instead of "unsigned long" if __x86_64__ is defined.
40273 (user): Likewise. Pad after pointer field if __ILP32__ is
40274 defined.
40275
402762012-05-16 Joseph Myers <joseph@codesourcery.com>
40277
40278 * configure.in (makeinfo): Require version 4.5 or later. Allow
40279 versions 5 to 9.
40280 * configure: Regenerated.
40281 * manual/install.texi (texinfo): Increase version requirement to
40282 4.5 or later.
40283 * INSTALL: Regenerated.
40284
40285 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
40286
402872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40288
40289 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
40290
40291 * sysdeps/x86_64/x32/ffs.c: New file.
40292
40293 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
40294 __syscall_ulong_t.
40295 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
40296 defined. Use __syscall_ulong_t.
40297 (shminfo): Use __syscall_ulong_t.
40298 (shm_info): Likewise.
40299
40300 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
40301 __syscall_ulong_t.
40302
40303 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
40304 <bits/wordsize.h>.
40305 (msgqnum_t): Use __syscall_ulong_t.
40306 (msglen_t): Likewise.
40307 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
40308 __syscall_ulong_t.
40309
40310 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
40311 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40312
40313 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
40314
40315 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
40316 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
40317
40318 * sysvipc/sys/msg.h (msgbuf): Replace long int with
40319 __syscall_slong_t.
40320
40321 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
40322 include <bits/wordsize.h>. Check __x86_64__ instead of
40323 __WORDSIZE.
40324
40325 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
40326 "unsigned long long int" if __x86_64__ is defined.
40327 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
40328
40329 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
40330 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40331 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
40332
40333 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
40334 <stdint.h>.
40335 (GET_PC): Cast to uintptr_t first.
40336 (GET_FRAME): Likewise.
40337 (GET_STACK): Likewise.
40338
40339 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
40340 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
40341 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
40342 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
40343 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
40344 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
40345 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
40346 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
40347 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
40348 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
40349 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
40350 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
40351 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40352 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
40353 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
40354 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
40355 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
40356 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
40357 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
40358 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
40359 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
40360 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
40361 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
40362 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
40363 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
40364 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
40365 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
40366 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
40367 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
40368
403692012-05-16 Andreas Schwab <schwab@linux-m68k.org>
40370
40371 * Makerules (+depfiles): Also collect depfiles from .oS in
40372 $(extra-objs).
40373 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
40374 .oS, $(libnldbl-routines)).
40375
40376 * Makerules (native-compile-mkdep-flags): Define.
40377 * sunrpc/Makefile (extra-objs): Add $(addprefix
40378 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
40379 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
40380 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
40381 calling $(make-target-directory).
40382
403832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40384
40385 * bits/types.h (__snseconds_t): Removed.
40386 * time/time.h (struct timespec): Replace __snseconds_t with
40387 __syscall_slong_t.
40388 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
40389 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
40390 Likewise.
40391 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40392 (__SNSECONDS_T_TYPE): Likewise.
40393 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40394 (__SNSECONDS_T_TYPE): Likewise.
40395 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40396 (__SNSECONDS_T_TYPE): Likewise.
40397
403982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40399
40400 * sysdeps/mach/hurd/bits/typesizes.h
40401 (__SYSCALL_SLONG_TYPE): New macro.
40402 (__SYSCALL_ULONG_TYPE): Likewise.
40403
404042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40405
40406 * bits/types.h (__syscall_slong_t): New type.
40407 (__syscall_ulong_t): Likewise.
40408
40409 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
40410 (__SYSCALL_ULONG_TYPE): Likewise.
40411 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40412 (__SYSCALL_SLONG_TYPE): Likewise.
40413 (__SYSCALL_ULONG_TYPE): Likewise.
40414 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40415 (__SYSCALL_SLONG_TYPE): Likewise.
40416 (__SYSCALL_ULONG_TYPE): Likewise.
40417 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40418 (__SYSCALL_SLONG_TYPE): Likewise.
40419 (__SYSCALL_ULONG_TYPE): Likewise.
40420
404212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40422
40423 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
40424 Add sigaltstack-offsets.sym.
40425 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
40426 <sigaltstack-offsets.h>.
40427 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
40428 longjmp_msg pointer.
40429 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
40430 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
40431 signal stack.
40432 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
40433
404342012-05-15 Joseph Myers <joseph@codesourcery.com>
40435
40436 * elf/stackguard-macros.h: Remove file.
40437 * sysdeps/generic/stackguard-macros.h: New file.
40438 * sysdeps/i386/stackguard-macros.h: Likewise.
40439 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
40440 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
40441 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
40442 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
40443 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
40444 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
40445 * sysdeps/x86_64/stackguard-macros.h: Likewise.
40446 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
40447 <elf/stackguard-macros.h>.
40448
40449 [BZ #14109]
40450 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
40451 __aligned__ in attribute.
40452 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
40453 (gregset_t): Likewise.
40454
404552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40456
40457 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
40458 * sysdeps/x86_64/64/Implies-after: Here. New file.
40459 * sysdeps/x86_64/x32/Implies-after: New file.
40460
404612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40462
40463 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
40464 and access return value for _dl_profile_fixup. Use R10_LP to
40465 load frame size.
40466
404672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40468
40469 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
40470
404712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40472
40473 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
40474 * sysdeps/x86_64/x32/sysdep.h: New file.
40475
404762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40477
40478 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
40479 * sysdeps/x86_64/setjmp.S: Likewise.
40480
404812012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40482
40483 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
40484 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
40485 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
40486 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
40487 remove unused global constant.
40488
404892012-05-15 Chris Metcalf <cmetcalf@tilera.com>
40490
40491 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
40492 include of <not-cancel.h>.
40493
404942012-05-15 Roland McGrath <roland@hack.frob.com>
40495
40496 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
40497
404982012-05-15 Jeff Law <law@redhat.com>
40499 Andreas Jaeger <aj@suse.de>
40500
40501 [BZ #13594]
40502 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
40503 out from...
40504 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
40505 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
40506 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
40507 code changing __hst_map_handle.map.
40508
405092012-05-15 Roland McGrath <roland@hack.frob.com>
40510
40511 * configure.in (sysnames): Look for Implies-before and Implies-after
40512 files.
40513 * configure: Regenerated.
40514
405152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40516
40517 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
40518 8-byte data alignment with LP_SIZE alignment.
40519
405202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40521
40522 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
40523 into R10_LP.
40524
405252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40526
40527 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
40528
405292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40530
40531 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
40532 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
40533 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
40534 Likewise.
40535 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40536
405372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40538
40539 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
40540 (stackinfo_sub_sp): Likewise.
40541
405422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40543
40544 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
40545 RAX_LP.
40546
405472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40548
40549 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
40550 into R*_LP.
40551
405522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40553
40554 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
40555 sizes into R*_LP.
40556
405572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40558
40559 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
40560
405612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40562
40563 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
40564 into R11_LP and load __x86_64_shared_cache_size_half into
40565 R8_LP.
40566
405672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40568
40569 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
40570 R8_LP.
40571
405722012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40573
40574 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
40575 logb for POWER7.
40576 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
40577 logbf for POWER7.
40578 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
40579 logbl for POWER7.
40580 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
40581 powerpc32/power7/fpu/s_logb.c via #include.
40582 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
40583 powerpc32/power7/fpu/s_logbf.c via #include.
40584 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
40585 powerpc32/power7/fpu/s_logbl.c via #include.
40586
405872012-05-15 Joseph Myers <joseph@codesourcery.com>
40588
40589 * README.libm: Remove file.
40590
405912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40592
40593 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
40594 count for x32. Use R*_LP and omit operand-size suffix.
40595
405962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40597
40598 * shlib-versions: Move x86_64-.*-linux.* entries to ...
40599 * sysdeps/x86_64/64/shlib-versions: Here. New file.
40600 * sysdeps/x86_64/x32/shlib-versions: New file.
40601
406022012-05-14 Roland McGrath <roland@hack.frob.com>
40603
40604 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
40605 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
40606 Use _dl_fatal_printf instead.
40607
406082012-05-14 Joseph Myers <joseph@codesourcery.com>
40609
40610 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
40611 set if not set by the user. Do not allow for being unset.
40612 * sysdeps/unix/sysv/linux/configure: Regenerated.
40613
406142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40615
40616 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
40617 the `q' suffix from lea and replace .quad with ASM_ADDR.
40618
406192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40620
40621 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
40622 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
40623 instead of $17.
40624 (PTR_DEMANGLE): Likewise.
40625
406262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40627
40628 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
40629 (LP_OP): Likewise.
40630 (ASM_ADDR): Likewise.
40631 (RAX_LP): Likewise.
40632 (RBP_LP): Likewise.
40633 (RBX_LP): Likewise.
40634 (RCX_LP): Likewise.
40635 (RDI_LP): Likewise.
40636 (RSI_LP): Likewise.
40637 (RSP_LP): Likewise.
40638 (R8_LP): Likewise.
40639 (R9_LP): Likewise.
40640 (R10_LP): Likewise.
40641 (R10_LP): Likewise.
40642 (R11_LP): Likewise.
40643 (R12_LP): Likewise.
40644 (R13_LP): Likewise.
40645 (R14_LP): Likewise.
40646 (R15_LP): Likewise.
40647
406482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40649
40650 * sysdeps/x86_64/x32/dl-machine.h: New file.
40651
406522012-05-14 Andreas Jaeger <aj@suse.de>
40653
40654 * manual/Makefile (subdir): Remove export of subdir.
40655 (all): Remove target.
40656 (.PHONY): Remove all from list.
40657 (mkinstalldirs): Remove.
40658 (.PHONY): Remove installdirs from list.
40659 ($(inst_infodir)/libc.info): Use make-target-directory.
40660 (installdirs): Remove.
40661 (subdir_%): Remove.
40662 (glibc-targets): Remove.
40663 (lib): Remove.
40664 (stubs): Remove.
40665 ($(objpfx)stubs ../po/manual.pot): Remove.
40666 ($(objpfx)stamp%): Remove.
40667 (make-target-directory): Remove.
40668 (subdir_install): Remove.
40669 (routines): Remove.
40670 (aux): Remove.
40671 (sources): Remove.
40672 (objects): Remove.
40673 (headers): Remove.
40674
40675 [BZ #13750]
40676 * manual/.gitignore: Remove, it's not needed anymore.
40677 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
40678 all files in it.
40679 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
40680 directory.
40681 (texis): Renamed to $(objpfx)texis.
40682 (texis-path): New, contains path to generated files.
40683 (chapters.%): Use texis-path for complete path, add extra argument
40684 libc-texinfo.sh.
40685 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
40686 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
40687 (summary,texi, stamp-summary): Use complete path of
40688 files. Generate files in build dir.
40689 (dir-add.texi): Build in build dir.
40690 (libm-err.texi,stamp-libm-err): Likewise.
40691 (version.texi, stamp-version): Likewise.
40692 (.%c.texi): Likewise.
40693 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
40694 (mostlyclean): Remove target.
40695 (realclean): Remove target.
40696 (generated): Add new variable with contents from mostlyclean and
40697 realclean, remove entries duplicated in common-mostlyclean, add
40698 stamp-libm-err and stamp-version.
40699 (generated-dirs): Add libc directory.
40700 ($(inst_infodir)/libc.info): Install files from build dir.
40701
40702 * manual/install.texi (Configuring and compiling): Adjust since
40703 the info files are not part of the tar ball anymore.
40704
407052012-05-14 Andreas Jaeger <aj@suse.de>
40706
40707 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
40708 variable.
40709
407102012-05-14 Joseph Myers <joseph@codesourcery.com>
40711
40712 [BZ #13717]
40713 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40714 to 2.2.0 where earlier.
40715 * sysdeps/unix/sysv/linux/configure: Regenerated.
40716 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
40717 Remove conditional code.
40718 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
40719 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
40720 Remove conditional code.
40721 [!__NR_lchown]: Likewise.
40722 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40723 [__NR_lchown]: Likewise.
40724 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
40725 comment referencing __ASSUME_LCHOWN_SYSCALL.
40726 * sysdeps/unix/sysv/linux/i386/sigaction.c
40727 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40728 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40729 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
40730 Remove conditional code.
40731 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
40732 (__protocol_available): Remove #if 0 code.
40733 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
40734 conditional code.
40735 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
40736 * sysdeps/unix/sysv/linux/kernel-features.h
40737 (__ASSUME_GETCWD_SYSCALL): Don't define.
40738 (__ASSUME_REALTIME_SIGNALS): Likewise.
40739 (__ASSUME_PREAD_SYSCALL): Likewise.
40740 (__ASSUME_PWRITE_SYSCALL): Likewise.
40741 (__ASSUME_POLL_SYSCALL): Likewise.
40742 (__ASSUME_LCHOWN_SYSCALL): Likewise.
40743 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
40744 non-SPARC.
40745 (__ASSUME_SIOCGIFNAME): Don't define.
40746 (__ASSUME_MSG_NOSIGNAL): Likewise.
40747 (__ASSUME_SENDFILE): Define unconditionally.
40748 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
40749 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
40750 conditional code.
40751 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
40752 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
40753 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40754 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40755 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
40756 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40757 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
40759 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40760 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
40762 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40763 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
40765 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40766 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
40768 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40769 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
40771 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40772 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
40774 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40775 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
40777 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40778 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
40780 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40781 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40782 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
40783 Remove conditional code.
40784 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40785 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40786 Remove conditional code.
40787 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40788 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
40789 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
40790 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40791 Remove conditional code.
40792 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40793 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
40794 Remove conditional code.
40795 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40796 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
40797 Remove conditional code.
40798 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40799 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40800 Remove conditional code.
40801 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40802 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40803 Remove conditional code.
40804 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40805 * sysdeps/unix/sysv/linux/sh/pwrite64.c
40806 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40807 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40808 * sysdeps/unix/sysv/linux/sigaction.c
40809 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40810 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40811 * sysdeps/unix/sysv/linux/sigpending.c
40812 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40813 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40814 * sysdeps/unix/sysv/linux/sigprocmask.c
40815 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40816 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40817 * sysdeps/unix/sysv/linux/sigsuspend.c
40818 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40819 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40820 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40821 (__libc_missing_rt_sigs): Remove.
40822 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
40823 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
40824 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
40825 Remove conditional code.
40826 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
40827 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
40828 return 1.
40829 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
40830 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
40831 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
40832 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
40833
408342012-05-14 Andreas Jaeger <aj@suse.de>
40835
40836 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
40837 it's not used in glibc.
40838 (__coshm1): Likewise.
40839 (__acosh1p): Likewise.
40840 (__sgn): Likewise.
40841
40842 * manual/string.texi (Copying and Concatenation): Add missing
40843 variable in concat example.
40844 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40845
408462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40847
40848 [BZ #14103]
40849 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
40850 __builtin_clzl with __builtin_clzll.
40851
408522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40853
40854 [BZ #14104]
40855 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
40856 libc_freeres_ptr.
40857
408582012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40859
40860 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
40861 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
40862 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
40863 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
40864
408652012-05-14 Mike Frysinger <vapier@gentoo.org>
40866
40867 * NEWS: Update ia64 info.
40868
408692012-05-12 Andreas Schwab <schwab@linux-m68k.org>
40870
40871 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
40872 used as bcopy.
40873
408742012-05-12 Thomas Schwinge <thomas@codesourcery.com>
40875
40876 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
40877 * sysdeps/unix/syscalls.list (dup3): Likewise.
40878 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
40879 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
40880
408812012-05-11 H.J. Lu <hongjiu.lu@intel.com>
40882
40883 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
40884 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
40885
408862012-05-11 H.J. Lu <hongjiu.lu@intel.com>
40887
40888 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
40889 thread pointer.
40890 (TLS_IE): Use mov/add instead of movq/addq to load thread
40891 pointer.
40892 (TLS_GD_PREFIX): New.
40893 (TLS_GD): Use it.
40894
408952012-05-11 David S. Miller <davem@davemloft.net>
40896
40897 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
40898 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
40899 (_FPU_SETCW): Likewise.
40900
409012012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40902
40903 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
40904 is 32-byte aligned.
40905
409062012-05-11 Andreas Schwab <schwab@linux-m68k.org>
40907
40908 [BZ #11837]
40909 * iconvdata/gb18030.c: Update tables.
40910 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
40911 characters specially.
40912 (BODY for TO_LOOP): Add encoding of missing ranges.
40913
409142012-05-11 Thomas Schwinge <thomas@codesourcery.com>
40915
40916 [BZ #13673]
40917 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
40918 * sysdeps/mach/hurd/dup3.c: Likewise.
40919 * sysdeps/mach/hurd/readlinkat.c: Likewise.
40920 * sysdeps/powerpc/memmove.c:: Likewise.
40921
409222012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40923
40924 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
40925 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
40926
409272012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40928
40929 * elf/elf.h (R_X86_64_RELATIVE64): New.
40930 (R_X86_64_NUM): Updated.
40931 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40932 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
40933 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
40934 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
40935 tst-quad1pie tst-quad2pie
40936 (modules-names): Add tst-quadmod1 tst-quadmod2.
40937 ($(objpfx)tst-quad1): New dependency.
40938 ($(objpfx)tst-quad2): Likewise.
40939 ($(objpfx)tst-quad1pie): Likewise.
40940 ($(objpfx)tst-quad2pie): Likewise.
40941 * sysdeps/x86_64/tst-quad1.c: New file.
40942 * sysdeps/x86_64/tst-quad1pie.c: New file.
40943 * sysdeps/x86_64/tst-quad2.c: Likewise.
40944 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
40945 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
40946 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
40947 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
40948 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
40949
409502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40951
40952 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
40953 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
40954 * streams/stropts.h (t_scalar_t): Define type.
40955
40956 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
40957 (_PATH_PRESERVE): Set to "/var/lib".
40958 (_PATH_RWHODIR): Set to "/var/spool/rwho".
40959
40960 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
40961 instead of int.
40962
40963 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
40964 if __dir_mkfile succeeded.
40965
40966 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
40967 checking for _hurd_dtablesize. Unlock it right after having
40968 finished _hurd_dtable allocation.
40969
409702012-05-10 Thomas Schwinge <thomas@schwinge.name>
40971
40972 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
40973 * sysdeps/mach/hurd/configure: Regenerated.
40974 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
40975 special-casing to...
40976 * sysdeps/gnu/configure.in: ... this new file.
40977 * sysdeps/unix/sysv/linux/configure: Regenerated.
40978 * sysdeps/gnu/configure: New generated file.
40979
40980 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
40981 for Linux: use nsec instead of usec, as well as:
40982 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
40983 members of type struct timespec.
40984 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
40985 New macros.
40986 (struct stat64): Likewise.
40987 (_STATBUF_ST_NSEC): New macro.
40988 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
40989
40990 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40991 __strtoul_internal rather than strtoul.
40992
409932012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40994
40995 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
40996 and reject them.
40997
409982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40999
41000 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
41001 which preserves existing values.
41002 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
41003
410042012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41005
41006 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
41007 TIMEOUT values. Return EINVAL for NFDS values either negative or
41008 greater than FD_SETSIZE.
41009
410102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41011
41012 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
41013 allocated, call __vm_protect to finish enabling the existing space, and
41014 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
41015 allocate the remainder.
41016
410172012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41018
41019 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
41020 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
41021
410222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41023
41024 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
41025 sysdeps/mach/hurd/readlink.c.
41026
41027 * posix/tst-sysconf.c (posix_options): Only use
41028 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
41029 _POSIX_SYNCHRONIZED_IO when they are defined
41030 * sysdeps/mach/hurd/bits/posix_opt.h:
41031 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
41032 (_XOPEN_REALTIME): Undefine macro.
41033 (_XOPEN_REALTIME_THREADS): Undefine macro.
41034 (_XOPEN_SHM): Undefine macro.
41035 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
41036 macro to -1.
41037 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
41038 macro to -1.
41039 (_POSIX_ASYNC_IO): Undefine macro.
41040 (_POSIX_PRIORITIZED_IO): Undefine macro.
41041 (_POSIX_SPIN_LOCKS): Define macro to -1.
41042
41043 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
41044 SA_NODEFER, SA_RESETHAND.
41045 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
41046 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
41047 F_DUPFD_CLOEXEC.
41048
410492012-05-10 Thomas Schwinge <thomas@schwinge.name>
41050
41051 * elf/Makefile (pldd-modules): Define unconditionally.
41052
410532012-05-10 Thomas Schwinge <thomas@schwinge.name>
41054
41055 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
41056
410572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41058
41059 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
41060 Return ENOENT when name is empty.
41061 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
41062
410632012-05-10 Thomas Schwinge <thomas@schwinge.name>
41064
41065 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
41066
41067 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
41068
410692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41070
41071 Fix mlock in all cases except non-readable pages.
41072 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
41073 instead of VM_PROT_ALL as parameter to __vm_wire function.
41074
41075 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
41076 (__mkdir): When path is `/', just fail with EEXIST.
41077 * sysdeps/mach/hurd/mkdirat.c: Likewise.
41078
410792012-05-10 Thomas Schwinge <thomas@schwinge.name>
41080
41081 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
41082 <sys/uio.h> (for writev).
41083 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
41084 and <sys/param.h> (for MIN).
41085
410862012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41087
41088 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
41089 REQUESTED_TIME. Properly set the remaining time and return EINTR
41090 if interrupted.
41091
410922012-05-10 Thomas Schwinge <thomas@schwinge.name>
41093
41094 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
41095 Depend on against $(link-rpcuserlibs).
41096
410972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41098
41099 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
41100 (__libc_stack_end): Do not use attribute_relro.
41101 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
41102 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
41103 to libthread-provided value.
41104 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
41105 attribute_relro.
41106
411072012-05-10 Thomas Schwinge <thomas@schwinge.name>
41108
41109 [BZ #3748]
41110 * bits/libc-lock.h (__libc_once_get): New macro.
41111 * sysdeps/mach/bits/libc-lock.h: Likewise.
41112 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
41113 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
41114 instead of using implementation details.
41115
41116 * libio/fileops.c: Unconditionally include <kernel-features.h>.
41117 * libio/freopen.c: Likewise.
41118 * libio/freopen64.c: Likewise.
41119 * misc/syslog.c: Likewise.
41120 * nscd/connections.c: Likewise.
41121 * nscd/netgroupcache.c: Likewise.
41122 * sysdeps/posix/getcwd.c: Likewise.
41123
411242012-05-10 Roland McGrath <roland@hack.frob.com>
41125
41126 * math/w_ilogbf.c: Add #include <limits.h>.
41127
411282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41129
41130 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
41131 path instead of returning without unlocking.
41132
41133 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
41134 immediate-write ioctls.
41135 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
41136
411372012-05-10 Thomas Schwinge <thomas@schwinge.name>
41138
41139 * sysdeps/mach/hurd/i386/init-first.c (init): Use
41140 __builtin_frame_address instead of making assumptions about the
41141 location of the return address relative to DATA. Force early load of
41142 the return address.
41143 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
41144 __builtin_frame_address.
41145
41146 dup3 for GNU Hurd.
41147 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
41148 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
41149 implement dup3 and do some further code clean-ups.
41150 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
41151 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
41152
411532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41154
41155 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
41156
41157 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
41158 HURD_CRITICAL_END around holding _hurd_dtable_lock.
41159 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
41160 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
41161 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
41162 d->port.lock.
41163
41164 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
41165 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
41166 when handler == SIG_ERR, not when handler != SIG_ERR.
41167
411682012-05-10 Thomas Schwinge <thomas@schwinge.name>
41169
41170 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
41171 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
41172 definitions.
41173
41174 accept4 for GNU Hurd.
41175 * include/sys/socket.h (__libc_accept4): New prototype.
41176 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
41177 to implement __libc_accept4.
41178 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
41179 __libc_accept4.
41180 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
41181
41182 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
41183 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
41184 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
41185 signal-defines.sym.
41186
411872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41188
41189 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
41190
411912012-05-10 Thomas Schwinge <thomas@schwinge.name>
41192
41193 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
41194 assertion on O_CLOEXEC flag.
41195 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
41196 * hurd/intern-fd.c: Likewise.
41197 * hurd/port2fd.c: Likewise.
41198
411992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41200
41201 [BZ #3906]
41202 * bits/in.h (IPV6_PKTINFO): Define new macro.
41203 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
41204
412052012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41206
41207 [BZ #13954]
41208 [BZ #13955]
41209 [BZ #13956]
41210 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
41211 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41212 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
41213 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41214 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41215 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41216 * math/libm-test.inc (logb_test) : Additional logb tests.
41217
412182012-05-09 Andreas Schwab <schwab@linux-m68k.org>
41219 Andreas Jaeger <aj@suse.de>
41220
41221 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
41222 * configure: Regenerated.
41223 * config.h.in (LINK_OBSOLETE_RPC): New macro.
41224 * config.make.in (link-obsolete-rpc): New substituted variable.
41225 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
41226 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
41227 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41228 (shared-only-routines): Don't set it under [link-obsolete-rpc],
41229 so that libc.a contains the symbols.
41230 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41231 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
41232 * sunrpc/auth_none.c: Likewise.
41233 * sunrpc/auth_unix.c: Likewise.
41234 * sunrpc/authdes_prot.c: Likewise.
41235 * sunrpc/authuxprot.c: Likewise.
41236 * sunrpc/clnt_gen.c: Likewise.
41237 * sunrpc/clnt_perr.c: Likewise.
41238 * sunrpc/clnt_raw.c: Likewise.
41239 * sunrpc/clnt_simp.c: Likewise.
41240 * sunrpc/clnt_tcp.c: Likewise.
41241 * sunrpc/clnt_udp.c: Likewise.
41242 * sunrpc/clnt_unix.c: Likewise.
41243 * sunrpc/des_crypt.c: Likewise.
41244 * sunrpc/des_soft.c: Likewise.
41245 * sunrpc/get_myaddr.c: Likewise.
41246 * sunrpc/key_call.c: Likewise.
41247 * sunrpc/key_prot.c: Likewise.
41248 * sunrpc/netname.c: Likewise.
41249 * sunrpc/pm_getmaps.c: Likewise.
41250 * sunrpc/pm_getport.c: Likewise.
41251 * sunrpc/pmap_clnt.c: Likewise.
41252 * sunrpc/pmap_prot.c: Likewise.
41253 * sunrpc/pmap_prot2.c: Likewise.
41254 * sunrpc/pmap_rmt.c: Likewise.
41255 * sunrpc/publickey.c: Likewise.
41256 * sunrpc/rpc_cmsg.c: Likewise.
41257 * sunrpc/rpc_common.c: Likewise.
41258 * sunrpc/rpc_dtable.c: Likewise.
41259 * sunrpc/rpc_prot.c: Likewise.
41260 * sunrpc/rpc_thread.c: Likewise.
41261 * sunrpc/rtime.c: Likewise.
41262 * sunrpc/svc.c: Likewise.
41263 * sunrpc/svc_auth.c: Likewise.
41264 * sunrpc/svc_raw.c: Likewise.
41265 * sunrpc/svc_run.c: Likewise.
41266 * sunrpc/svc_tcp.c: Likewise.
41267 * sunrpc/svc_udp.c: Likewise.
41268 * sunrpc/svc_unix.c: Likewise.
41269 * sunrpc/svcauth_des.c: Likewise.
41270 * sunrpc/xcrypt.c: Likewise.
41271 * sunrpc/xdr.c: Likewise.
41272 * sunrpc/xdr_array.c: Likewise.
41273 * sunrpc/xdr_float.c: Likewise.
41274 * sunrpc/xdr_intXX_t.c: Likewise.
41275 * sunrpc/xdr_mem.c: Likewise.
41276 * sunrpc/xdr_rec.c: Likewise.
41277 * sunrpc/xdr_ref.c: Likewise.
41278 * sunrpc/xdr_sizeof.c: Likewise.
41279 * sunrpc/xdr_stdio.c: Likewise.
41280
412812012-05-10 Roland McGrath <roland@hack.frob.com>
41282
41283 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
41284 change. Update copyright years.
41285
412862012-05-10 Joseph Myers <joseph@codesourcery.com>
41287
41288 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
41289
412902012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
41291 Joseph Myers <joseph@codesourcery.com>
41292 Paul Pluzhnikov <ppluzhnikov@google.com>
41293
41294 [BZ #14012]
41295 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
41296 requiring rpcgen.
41297 [cross-compiling] (extra-libs): Likewise.
41298 [cross-compiling] (extra-libs-others): Likewise.
41299 [cross-compiling] (librpcsvc-routines): Likewise.
41300 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
41301 [cross-compiling] (omit-deps): Likewise.
41302 (sunrpc-CPPFLAGS): New variable.
41303 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
41304 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
41305 (cross-rpcgen-objs): New variable.
41306 (extra-objs): Append $(cross-rpcgen-objs).
41307 ($(cross-rpcgen-objs)): New rule.
41308 ($(objpfx)cross-rpcgen): Likewise.
41309 (rpcgen-cmd): Define to use $(built-program-file). Expand
41310 comment.
41311 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
41312 ($(objpfx)x%.stmp): Likewise.
41313 * sunrpc/proto.h [IS_IN_build] (_): Define.
41314 [IS_IN_build] (_libc_intl_domainname): Likewise.
41315
413162012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41317
41318 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
41319 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
41320 and R_X86_64_TPOFF64.
41321
413222012-05-10 Joseph Myers <joseph@codesourcery.com>
41323
41324 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
41325 sysdeps/unix/sysv/syscalls.list.
41326 (stime): Likewise.
41327 (utime): Likewise.
41328 * sysdeps/unix/sysv/syscalls.list: Remove file.
41329
413302012-05-10 Paul Eggert <eggert@cs.ucla.edu>
41331
41332 [BZ #3440]
41333 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
41334 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
41335 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
41336 (__LC_IDENTIFICATION): Make these macros useful in #if
41337 expressions, as required by C99.
41338
413392012-05-10 Andreas Schwab <schwab@linux-m68k.org>
41340
41341 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
41342 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
41343 after this.
41344
413452012-05-09 H.J. Lu <hongjiu.lu@intel.com>
41346
41347 * stdlib/longlong.h: Updated from GCC.
41348
413492012-05-09 Andreas Jaeger <aj@suse.de>
41350
41351 * nscd/nscd.c (run_modes): Make named enum, reorder so that
41352 default is first entry.
41353 (run_mode): Set type.
41354 (main): Remove informal message about syslog.
41355 (options): Fix typo.
41356
41357 [BZ #14053]
41358 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
41359 to asm.
41360 (lrint): Likewise.
41361 (llrintf): Likewise.
41362 (llrint): Likewise.
41363 (rint): Likewise.
41364 (rintf): Likewise.
41365 (nearbyint): Likewise.
41366 (nearbyintf): Likewise.
41367
413682012-05-09 Andreas Jaeger <aj@suse.de>
41369 Pedro Alves <palves@redhat.com>
41370
41371 * nscd/nscd.c (run_mode): Use enum.
41372 (main): Cleanup coding style issue.
41373
413742012-05-09 Alexandre Oliva <aoliva@redhat.com>
41375 Andreas Jaeger <aj@suse.de>
41376
41377 * nscd/nscd.c (go_background): Replaced with...
41378 (run_mode): ... this.
41379 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
41380 (options): Add -F --foreground.
41381 (main): Implement it.
41382 (parse_opt): Parse it.
41383
413842012-05-09 Andreas Jaeger <aj@suse.de>
41385
41386 [BZ #14083]
41387 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
41388 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
41389 -Wconversion warning.
41390 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
41391 Likewise.
41392
413932012-05-09 Joseph Myers <joseph@codesourcery.com>
41394
41395 * conform/data/locale.h-data (NULL): Use macro-constant. Require
41396 == 0.
41397 (LC_ALL): Use macro-int-constant.
41398 (LC_COLLATE): Likewise.
41399 (LC_CTYPE): Likewise.
41400 (LC_MESSAGES): Likewise.
41401 (LC_MONETARY): Likewise.
41402 (LC_NUMERIC): Likewise.
41403 (LC_TIME): Likewise.
41404 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
41405 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41406 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41407 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
41408 Specify type.
41409 [C99-based standards] (float_t): Expect type.
41410 [C99-based standards] (double_t): Expect type.
41411 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
41412 type.
41413 [C99-based standards] (HUGE_VALL): Likewise.
41414 [C99-based standards] (INFINITY): Likewise.
41415 [C99-based standards] (NAN): Likewise.
41416 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
41417 [C99-based standards] (FP_NAN): Likewise.
41418 [C99-based standards] (FP_NORMAL): Likewise.
41419 [C99-based standards] (FP_SUBNORMAL): Likewise.
41420 [C99-based standards] (FP_ZERO): Likewise.
41421 [C99-based standards] (FP_FAST_FMA): Use
41422 optional-macro-int-constant. Specify type. Require == 1.
41423 [C99-based standards] (FP_FAST_FMAF): Likewise.
41424 [C99-based standards] (FP_FAST_FMAL): Likewise.
41425 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
41426 [C99-based standards] (FP_ILOGBNAN): Likewise.
41427 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
41428 Specify type.
41429 [C99-based standards] (MATH_ERREXCEPT): Likewise.
41430 [C99-based standards] (math_errhandling): Specify type.
41431 [ISO99 || ISO11] (signgam): Do not allow.
41432 [non-C99-based standards] (copysignf): Do not allow.
41433 [non-C99-based standards] (exp2f): Likewise.
41434 [non-C99-based standards] (log2f): Likewise.
41435 [non-C99-based standards] (modff): Allow.
41436 [non-C99-based standards] (erff): Do not allow.
41437 [non-C99-based standards] (erfcf): Likewise.
41438 [non-C99-based standards] (gammaf): Likewise.
41439 [non-C99-based standards] (hypotf): Likewise.
41440 [non-C99-based standards] (j0f): Likewise.
41441 [non-C99-based standards] (j1f): Likewise.
41442 [non-C99-based standards] (jnf): Likewise.
41443 [non-C99-based standards] (lgammaf): Likewise.
41444 [non-C99-based standards] (tgammaf): Likewise.
41445 [non-C99-based standards] (y0f): Likewise.
41446 [non-C99-based standards] (y1f): Likewise.
41447 [non-C99-based standards] (ynf): Likewise.
41448 [non-C99-based standards] (isnanf): Likewise.
41449 [non-C99-based standards] (acoshf): Likewise.
41450 [non-C99-based standards] (asinhf): Likewise.
41451 [non-C99-based standards] (atanhf): Likewise.
41452 [non-C99-based standards] (cbrtf): Likewise.
41453 [non-C99-based standards] (expm1f): Likewise.
41454 [non-C99-based standards] (ilogbf): Likewise.
41455 [non-C99-based standards] (log1pf): Likewise.
41456 [non-C99-based standards] (logbf): Likewise.
41457 [non-C99-based standards] (nextafterf): Likewise.
41458 [non-C99-based standards] (remainderf): Likewise.
41459 [non-C99-based standards] (rintf): Likewise.
41460 [non-C99-based standards] (scalbf): Likewise.
41461 [non-C99-based standards] (copysignl): Likewise.
41462 [non-C99-based standards] (exp2l): Likewise.
41463 [non-C99-based standards] (log2l): Likewise.
41464 [non-C99-based standards] (modfl): Allow.
41465 [non-C99-based standards] (erfl): Do not allow.
41466 [non-C99-based standards] (erfcl): Likewise.
41467 [non-C99-based standards] (gammal): Likewise.
41468 [non-C99-based standards] (hypotl): Likewise.
41469 [non-C99-based standards] (j0l): Likewise.
41470 [non-C99-based standards] (j1l): Likewise.
41471 [non-C99-based standards] (jnl): Likewise.
41472 [non-C99-based standards] (lgammal): Likewise.
41473 [non-C99-based standards] (tgammal): Likewise.
41474 [non-C99-based standards] (y0l): Likewise.
41475 [non-C99-based standards] (y1l): Likewise.
41476 [non-C99-based standards] (ynl): Likewise.
41477 [non-C99-based standards] (isnanl): Likewise.
41478 [non-C99-based standards] (acoshl): Likewise.
41479 [non-C99-based standards] (asinhl): Likewise.
41480 [non-C99-based standards] (atanhl): Likewise.
41481 [non-C99-based standards] (cbrtl): Likewise.
41482 [non-C99-based standards] (expm1l): Likewise.
41483 [non-C99-based standards] (ilogbl): Likewise.
41484 [non-C99-based standards] (log1pl): Likewise.
41485 [non-C99-based standards] (logbl): Likewise.
41486 [non-C99-based standards] (nextafterl): Likewise.
41487 [non-C99-based standards] (remainderl): Likewise.
41488 [non-C99-based standards] (rintl): Likewise.
41489 [non-C99-based standards] (scalbl): Likewise.
41490 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41491 [non-C99-based standards] (FP_*): Do not allow.
41492 [C99-based standards] (FP_*): Change to
41493 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41494 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41495 allow.
41496 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
41497 (SIG_ERR): Likewise.
41498 [X/Open-based standards] (SIG_HOLD): Likewise.
41499 (SIG_IGN): Likewise.
41500 (SIGABRT): Use macro-int-constant. Specify type. Require
41501 positive value.
41502 (SIGFPE): Likewise.
41503 (SIGILL): Likewise.
41504 (SIGINT): Likewise.
41505 (SIGSEGV): Likewise.
41506 (SIGTER): Likewise.
41507 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
41508 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
41509 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
41510 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
41511 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
41512 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
41513 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
41514 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
41515 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
41516 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
41517 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
41518 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
41519 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
41520 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
41521 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
41522 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
41523 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
41524 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
41525 [X/Open-based standards] (SIGTRAP): Likewise.
41526 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
41527 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
41528 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
41529 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
41530 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41531 allow.
41532
415332012-05-08 Ian Wienand <ianw@vmware.com>
41534
41535 [BZ #14080]
41536 * time/tzset.c (__tzset_parse_tz): Update default rules for
41537 daylight time changes in the Energy Policy Act of 2005.
41538
415392012-05-09 Andreas Jaeger <aj@suse.de>
41540
41541 [BZ #13983]
41542 * elf/ldconfig.c (parse_conf): Change string to make clear that
41543 ldconfig only issued a warning if ld.so.conf does not exist.
41544
415452012-05-08 David S. Miller <davem@davemloft.net>
41546
41547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
41548 movxtod instead of popping the value on the stack.
41549
41550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41551
415522012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
41553
41554 * config.h.in: Add HAVE_ARM_PCS_VFP.
41555
415562012-05-08 Roland Mc Grath <roland@hack.frob.com>
41557
41558 [BZ #13979]
41559 * include/features.h: Warn if user requests __FORTIFY_SOURCE
41560 checking but the checks are disabled for any reason.
41561
415622012-05-08 H.J. Lu <hongjiu.lu@intel.com>
41563
41564 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
41565 and ELF64_R_TYPE with ELFW(R_TYPE).
41566
415672012-05-08 Joseph Myers <joseph@codesourcery.com>
41568
41569 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
41570 (ulimit): Likewise.
41571
41572 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
41573 (settimeofday): Likewise.
41574
415752012-05-08 Mike Frysinger <vapier@gentoo.org>
41576
41577 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
41578 a struct th_u2 inside the union, and move tu_block/tu_code into
41579 a new th_u3 union of tu_block/tu_code inside of that. Move
41580 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
41581 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
41582 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
41583 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
41584 (th_stuff): Change to th_u1.tu_stuff.
41585 (th_data): Define.
41586 (th_msg): Change to th_u1.th_u2.tu_data.
41587
415882012-05-07 David S. Miller <davem@davemloft.net>
41589
41590 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41591
41592 [BZ #14074]
41593 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
41594 (SETUP_PIC_REG): Use it.
41595 (SETUP_PIC_REG_LEAF): Use it.
41596
415972012-05-07 Joseph Myers <joseph@codesourcery.com>
41598
41599 [BZ #13885]
41600 [BZ #13923]
41601 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41602 USE_AS_EXPM1L.
41603 (EXPL_FINITE): Likewise.
41604 (FLDLOG): Likewise.
41605 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41606 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41607 e_expl.S.
41608 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41609 USE_AS_EXPM1L.
41610 (EXPL_FINITE): Likewise.
41611 (FLDLOG): Likewise.
41612 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41613 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41614 e_expl.S.
41615 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
41616 test of -max_value argument for long double.
41617 * sysdeps/i386/fpu/libm-test-ulps: Update.
41618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41619
416202012-05-06 David S. Miller <davem@davemloft.net>
41621
41622 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
41623 quad soft-float symbols whose references which are compiler
41624 generated.
41625 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41626
416272012-05-06 Joseph Myers <joseph@codesourcery.com>
41628
41629 [BZ #13884]
41630 [BZ #13914]
41631 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41632 USE_AS_EXP10L.
41633 (EXPL_FINITE): Likewise.
41634 (FLDLOG): Likewise.
41635 (c0): Likewise.
41636 (c1): Likewise.
41637 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
41638 Adjust comments for base varying.
41639 (__expl_finite): Change alias to EXPL_FINITE.
41640 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
41641 e_expl.S.
41642 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
41643 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
41644 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
41645 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
41646 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41647 USE_AS_EXP10L.
41648 (EXPL_FINITE): Likewise.
41649 (FLDLOG): Likewise.
41650 (c0): Likewise.
41651 (c1): Likewise.
41652 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
41653 Adjust comments for base varying.
41654 (__expl_finite): Change alias to EXPL_FINITE.
41655 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
41656 tests for bugs.
41657 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41658
41659 [BZ #14064]
41660 * math/libm-test.inc (check_float_internal): Correct ulp
41661 calculation for subnormal expected results.
41662
416632012-05-06 Andreas Jaeger <aj@suse.de>
41664
41665 * Makeconfig (+math-flags): New, set to -frounding-math.
41666 (+cflags): Add +math-flags so that all of glibc gets compiled with
41667 it.
41668
41669 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
41670
416712012-05-05 Joseph Myers <joseph@codesourcery.com>
41672
41673 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
41674 Disable one test.
41675
41676 [BZ #13787]
41677 [BZ #13922]
41678 [BZ #14036]
41679 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
41680 (__ieee754_expl): Allow for and saturate large arguments.
41681 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
41682 (u_threshold): Likewise.
41683 (__exp): Call __ieee754_exp before checking for overflow and
41684 underflow.
41685 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
41686 (u_threshold): Likewise.
41687 (__expf): Call __ieee754_expf before checking for overflow and
41688 underflow.
41689 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
41690 (u_threshold): Likewise.
41691 (__expl): Call __ieee754_expl before checking for overflow and
41692 underflow.
41693 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
41694 (__ieee754_expl): Allow for and saturate large arguments.
41695 * math/libm-test.inc (exp_test): Add another test. Do not allow
41696 missing overflow exception on overflow.
41697 (expm1_test): Do not allow missing overflow exception on overflow.
41698
41699 * sysdeps/i386/fpu/e_expl.c: Move to ...
41700 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
41701 rather than using inline asm.
41702 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
41703 * sysdeps/x86_64/fpu/e_expl.S: Copy from
41704 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
41705
41706 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
41707 (nice): Likewise.
41708 (poll): Likewise.
41709 (signal): Likewise.
41710 (time): Likewise.
41711 (times): Likewise.
41712
417132012-05-04 Joseph Myers <joseph@codesourcery.com>
41714
41715 * sysdeps/unix/syscalls.list (adjtime): Add entry from
41716 sysdeps/unix/common/syscalls.list.
41717 (fchmod): Likewise.
41718 (fchown): Likewise.
41719 (ftruncate): Likewise.
41720 (getrusage): Likewise.
41721 (gettimeofday): Likewise.
41722 (setpgid): Likewise.
41723 (setregid): Likewise.
41724 (setreuid): Likewise.
41725 (sigaction): Likewise.
41726 (truncate): Likewise.
41727 (vhangup): Likewise.
41728 * sysdeps/unix/common/syscalls.list: Remove file.
41729 * sysdeps/unix/bsd/Implies: Don't include unix/common.
41730 * sysdeps/unix/sysv/linux/Implies: Likewise.
41731
417322012-05-04 H.J. Lu <hongjiu.lu@intel.com>
41733
41734 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
41735 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
41736 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
41737 Moved to ...
41738 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
41739 Here.
41740 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
41741 to ...
41742 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
41743 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
41744 to ...
41745 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
41746 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
41747 to ...
41748 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
41749 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
41750 to ...
41751 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
41752 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
41753 to ...
41754 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
41755 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
41756 to ...
41757 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
41758 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
41759 to ...
41760 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41761 Here.
41762 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
41763 to ...
41764 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
41765 Here.
41766 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
41767 to ...
41768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
41769 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
41770 Moved to ...
41771 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
41772 Here.
41773 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
41774 to ...
41775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
41776
417772012-05-04 Joseph Myers <joseph@codesourcery.com>
41778
41779 * sysdeps/unix/common/bits/dirent.h: Remove file.
41780 * sysdeps/unix/common/bits/fcntl.h: Likewise.
41781
41782 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
41783 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
41784 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
41785 * sysdeps/unix/bsd/isatty.c: Likewise.
41786 * sysdeps/unix/bsd/tcdrain.c: Likewise.
41787 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
41788 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
41789
417902012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41791
41792 [BZ #13563]
41793 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
41794 long double comparison inaccuracies.
41795 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
41796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41797
417982012-05-04 Andreas Schwab <schwab@linux-m68k.org>
41799
41800 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
41801 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
41802
418032012-05-04 Joseph Myers <joseph@codesourcery.com>
41804
41805 [BZ #14049]
41806 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
41807 nonzero digits before rounding a hex value.
41808 * stdlib/tst-strtod.c (tests): Add another test.
41809
418102012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41811
41812 * sysdeps/s390/fpu/libm-test-ulps: Update.
41813
418142012-05-03 Andreas Jaeger <aj@suse.de>
41815
41816 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
41817 does not get optimized out.
41818 (malloc_opt_barrier): New.
41819
418202012-05-03 Andreas Jaeger <aj@suse.de>
41821 Roland McGrath <roland@hack.frob.com>
41822
41823 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
41824 intermediate file deletion.
41825 (generated): Add .symlist files.
41826
418272012-05-03 Joseph Myers <joseph@codesourcery.com>
41828
41829 [BZ #13775]
41830 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
41831 Redirect under this condition.
41832 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41833 [__USE_GNU] (__dprintf_chk): Not under this condition.
41834 [__USE_GNU] (__vdprintf_chk): Likewise.
41835 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
41836 under this condition.
41837 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41838 [__USE_XOPEN2K8] (dprintf): Define under this condition.
41839 [__USE_XOPEN2K8] (vdprintf): Likewise.
41840 [__USE_GNU] (__dprintf_chk): Not under this condition.
41841 [__USE_GNU] (__vdprintf_chk): Likewise.
41842 [__USE_GNU] (dprintf): Likewise.
41843 [__USE_GNU] (vdprintf): Likewise.
41844
418452012-05-03 Roland McGrath <roland@hack.frob.com>
41846
41847 * elf/Makefile (common-generated): Set this instead of generated for
41848 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
41849 $(all-built-dso)-derived lists.
41850
418512012-05-03 Andreas Jaeger <aj@suse.de>
41852
41853 * sysdeps/i386/fpu/libm-test-ulps: Update.
41854
41855 * FAQ: Removed.
41856 * FAQ.in: Likewise.
41857 * scripts/gen-FAQ.pl: Likewise.
41858 * manual/install.texi (Installation): Point to online location of
41859 FAQ.
41860 * Makefile (files-for-dist): Remove FAQ.
41861 (FAQ): Remove.
41862
418632012-05-02 Allan McRae <allan@archlinux.org>
41864
41865 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
41866 (LDFLAGS-reldepmod5.so): Likewise.
41867 (LDFLAGS-reldep6mod1.so): Likewise.
41868 (LDFLAGS-reldep6mod4.so): Likewise.
41869 (LDFLAGS-reldep8mod3.so): Likewise.
41870 (LDFLAGS-unload4mod1.so): Likewise.
41871 (LDFLAGS-unload4mod2.so): Likewise.
41872 (LDFLAGS-tst-initorder): Likewise.
41873 (LDFLAGS-tst-initordera2.so): Likewise.
41874 (LDFLAGS-tst-initordera3.so): Likewise.
41875 (LDFLAGS-tst-initordera4.so): Likewise.
41876 (LDFLAGS-tst-initorderb2.so): Likewise.
41877 (LDFLAGS-noload): Likewise.
41878 (LDFLAGS-next): Likewise.
41879 (LDFLAGS-order2mod1.so): Likewise.
41880 (LDFLAGS-order2mod2.so): Likewise.
41881 (LDFLAGS-tst-initorder2): Likewise.
41882 (LDFLAGS-tst-initorder2a.so): Likewise.
41883 (LDFLAGS-tst-initorder2b.so): Likewise.
41884 (LDFLAGS-tst-initorder2c.so): Likewise.
41885 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
41886
418872012-05-02 David S. Miller <davem@davemloft.net>
41888
41889 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41890
418912012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
41892
41893 [BZ #14055]
41894 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
41895
418962012-05-02 Andreas Jaeger <aj@suse.de>
41897
41898 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
41899 since we manipulate rounding mode.
41900 (CPPFLAGS-test-idouble.c): Likewise.
41901 (CPPFLAGS-test-ifloat.c): Likewise.
41902 (CFLAGS-test-ldouble.c): Likewise.
41903 (CFLAGS-test-double.c): Likewise.
41904 (CFLAGS-test-float.c): Likewise.
41905 (CFLAGS-test-misc.c): Likewise.
41906 (CFLAGS-test-test-fenv.c): Likewise.
41907
419082012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41909
41910 [BZ #2550]
41911 [BZ #2570]
41912 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
41913 comparisons to determine direction to adjust input.
41914
419152012-05-01 Roland McGrath <roland@hack.frob.com>
41916
41917 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
41918 output to the target.
41919
41920 * scripts/localplt.awk: New file.
41921 * elf/Makefile ($(objpfx)check-localplt): Target removed.
41922 (check-localplt-CFLAGS): Variable removed.
41923 ($(all-built-dso:=.jmprel)): New static pattern rule.
41924 (generated): Add those targets.
41925 (localplt-built-dso): New variable.
41926 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
41927
41928 * elf/check-localplt.c: File removed.
41929
41930 * scripts/check-execstack.awk: New file.
41931 * elf/Makefile ($(objpfx)check-execstack): Target removed.
41932 (check-execstack-CFLAGS): Variable removed.
41933 ($(objpfx)check-execstack.h): Target removed.
41934 ($(objpfx)execstack-default): New target.
41935 (generated): Add that instead of check-execstack.h.
41936 ($(all-built-dso:=.phdr)): New static pattern rule.
41937 (generated): Add those targets.
41938 * elf/check-execstack.c: File removed.
41939
41940 * scripts/check-textrel.awk: New file.
41941 * elf/Makefile ($(objpfx)check-textrel): Target removed.
41942 (check-textrel-CFLAGS): Variable removed.
41943 (all-built-dso): Use := to define.o
41944 ($(all-built-dso:=.dyn)): New static pattern rule.
41945 (generated): Add those targets.
41946 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
41947 * config.make.in (READELF): New substituted variable.
41948 * elf/check-textrel.c: File removed.
41949
419502012-05-01 Joseph Myers <joseph@codesourcery.com>
41951
41952 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41953 allow.
41954 * conform/data/ctype.h-data [C99-based standards] (isblank):
41955 Expect function.
41956 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
41957 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
41958 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41959 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
41960 Specify type. Require positive value.
41961 (EILSEQ): Likewise.
41962 (ERANGE): Likewise.
41963 [ISO || POSIX] (EILSEQ): Do not expect.
41964 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
41965 Specify type. Require positive value.
41966 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
41967 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
41968 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
41969 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
41970 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
41971 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
41972 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
41973 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
41974 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
41975 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
41976 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
41977 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
41978 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
41979 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
41980 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
41981 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
41982 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
41983 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
41984 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
41985 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
41986 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
41987 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
41988 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
41989 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
41990 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
41991 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
41992 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
41993 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
41994 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
41995 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
41996 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
41997 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
41998 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
41999 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
42000 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
42001 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
42002 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
42003 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
42004 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
42005 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
42006 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
42007 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
42008 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
42009 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
42010 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
42011 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
42012 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
42013 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
42014 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
42015 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
42016 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
42017 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
42018 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
42019 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
42020 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
42021 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
42022 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
42023 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
42024 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
42025 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
42026 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
42027 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
42028 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
42029 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
42030 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
42031 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
42032 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
42033 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
42034 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
42035 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
42036 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
42037 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
42038 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
42039 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
42040 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
42041 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
42042 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
42043 Require >= 2.
42044 (FLT_ROUNDS): Expect as macro, not constant.
42045 (FLT_MANT_DIG): Use macro-int-constant.
42046 (DBL_MANT_DIG): Likewise.
42047 (LDBL_MANT_DIG): Likewise.
42048 (FLT_DIG): Likewise.
42049 (DBL_DIG): Likewise.
42050 (LDBL_DIG): Likewise.
42051 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
42052 (DBL_MIN_EXP): Likewise.
42053 (LDBL_MIN_EXP): Likewise.
42054 (FLT_MAX_EXP): Use macro-int-constant.
42055 (DBL_MAX_EXP): Likewise.
42056 (LDBL_MAX_EXP): Likewise.
42057 (FLT_MAX_10_EXP): Likewise.
42058 (DBL_MAX_10_EXP): Likewise.
42059 (LDBL_MAX_10_EXP): Likewise.
42060 (FLT_MAX): Use macro-constant.
42061 (DBL_MAX): Likewise.
42062 (LDBL_MAX): Likewise.
42063 (FLT_EPSILON): Use macro-constant. Give upper bound.
42064 (DBL_EPSILON): Likewise.
42065 (LDBL_EPSILON): Likewise.
42066 (FLT_MIN): Likewise.
42067 (DBL_MIN): Likewise.
42068 (LDBL_MIN): Likewise.
42069 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
42070 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
42071 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
42072 [ISO11] (FLT_HAS_SUBNORM): Likewise.
42073 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
42074 [ISO11] (DBL_DECIMAL_DIG): Likewise.
42075 [ISO11] (FLT_DECIMAL_DIG): Likewise.
42076 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
42077 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
42078 [ISO11] (FLT_TRUE_MIN): Likewise.
42079 [ISO11] (LDBL_TRUE_MIN): Likewise.
42080 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42081 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
42082 (SCHAR_MIN): Use macro-int-constant. Specify type.
42083 (SCHAR_MAX): Likewise.
42084 (UCHAR_MAX): Likewise.
42085 (CHAR_MIN): Likewise.
42086 (CHAR_MAX): Likewise.
42087 (MB_LEN_MAX): Use macro-int-constant.
42088 (SHRT_MIN): Use macro-int-constant. Specify type.
42089 (SHRT_MAX): Likewise.
42090 (USHRT_MAX): Likewise.
42091 (INT_MAX): Likewise.
42092 (INT_MIN): Use macro-int-constant. Specify type. Make upper
42093 bound negative.
42094 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
42095 bound with "U".
42096 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42097 bound with "L".
42098 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
42099 bound negative. Suffix upper bound with "L".
42100 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42101 bound with "UL".
42102 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
42103 Specify type.
42104 [C99-based standards] (LLONG_MAX): Likewise.
42105 [C99-based standards] (ULLONG_MAX): Likewise.
42106 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
42107 == 0.
42108 [ISO11] (max_align_t): Require type.
42109 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42110
42111 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
42112 from $CFLAGS, without defining away __attribute__ calls.
42113 (checknamespace): Use $CFLAGS_namespace.
42114
42115 * conform/conformtest.pl (@keywords): Only include C99 keywords
42116 for standards based on C99 or C11.
42117
42118 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
42119 Disable tests.
42120 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
42121 UNIX98]: Likewise.
42122
42123 * conform/conformtest.pl: Handle "macro-int-constant" and test for
42124 usability of symbols in #if.
42125
42126 * conform/conformtest.pl: If macro or constant types start
42127 "promoted:", expect the symbol to be of the following type
42128 promoted by the integer promotions.
42129
42130 * conform/conformtest.pl: Parse all "constant" and "macro" lines
42131 in one place. Also handle "macro-constant".
42132
42133 * conform/conformtest.pl: Only accept expected macro values with
42134 "==". Parse all "macro" lines in one place.
42135 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
42136
42137 * conform/conformtest.pl: Handle braced types on "constant" lines
42138 instead of handling "typed-constant".
42139 * conform/data/signal.h-data: Use "constant" instead of
42140 "typed-constant".
42141
42142 * conform/conformtest.pl: Handle "optional-" at start of lines in
42143 one place rather than duplicating several cases. Handle each
42144 format of "macro" line with initial "optional-".
42145
42146 * conform/conformtest.pl: Only accept expected constant or
42147 optional-constant values with "==". Parse all "constant" lines in
42148 one place. Parse all "optional-constant" lines in one place.
42149 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
42150 * conform/data/fmtmsg.h-data: Likewise.
42151 * conform/data/netinet/in.h-data: Likewise.
42152 * conform/data/tar.h-data: Likewise.
42153 * conform/data/limits.h-data: Use "==" form on "constant" and
42154 "optional-constant" lines.
42155
42156 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
42157 Use -std=c99 for XOPEN2K.
42158 (@knownproblems): Remove.
42159 (newtoken): Don't check %isknown.
42160
42161 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
42162 Do not expect macro.
42163 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
42164 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
42165 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
42166 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
42167 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
42168 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
42169 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
42170 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
42171 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
42172 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
42173 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
42174 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
42175 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
42176 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
42177 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
42178 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
42179 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
42180 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
42181 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
42182 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
42183 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
42184 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
42185 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
42186 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
42187 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
42188 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
42189 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
42190 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
42191 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
42192 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
42193 [XPG3] (acosh): Likewise.
42194 [XPG3] (asinh): Likewise.
42195 [XPG3] (atanh): Likewise.
42196 [XPG3] (cbrt): Likewise.
42197 [XPG3] (expm1): Likewise.
42198 [XPG3] (ilogb): Likewise.
42199 [XPG3] (log1p): Likewise.
42200 [XPG3] (logb): Likewise.
42201 [XPG3] (nextafter): Likewise.
42202 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
42203 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
42204 [XPG3] (remainder): Likewise.
42205 [XPG3] (rint): Likewise.
42206 [XPG3 || XPG4 || UNIX98] (round): Likewise.
42207 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
42208 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
42209 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
42210 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
42211 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
42212 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
42213 [UNIX98 || XOPEN2K] (scalb): Expect.
42214 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
42215 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
42216 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
42217 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
42218 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
42219 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
42220 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
42221 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
42222 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
42223 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
42224 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
42225 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
42226 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
42227 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
42228 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
42229 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
42230 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
42231 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
42232 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
42233 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
42234 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
42235 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
42236 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
42237 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
42238 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
42239 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
42240 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
42241 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
42242 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
42243 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
42244 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
42245 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
42246 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
42247 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
42248 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
42249 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
42250 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
42251 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
42252 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
42253 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
42254 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
42255 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
42256 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
42257 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
42258 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
42259 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
42260 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
42261 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
42262 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
42263 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
42264 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
42265 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
42266 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
42267 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
42268 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
42269 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
42270 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
42271 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
42272 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
42273 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
42274 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
42275 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
42276 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
42277 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
42278 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
42279 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
42280 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
42281 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
42282 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
42283 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
42284 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
42285 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
42286 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
42287 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
42288 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
42289 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
42290 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
42291 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
42292 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
42293 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
42294 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
42295 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
42296 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
42297 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
42298 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
42299 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
42300 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
42301 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
42302 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
42303 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
42304 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
42305 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
42306 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
42307 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
42308 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
42309 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
42310 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
42311 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
42312 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
42313 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
42314 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
42315 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
42316 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
42317 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
42318 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
42319 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
42320 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
42321 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
42322 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
42323 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
42324 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
42325 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
42326 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
42327 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
42328 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
42329 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
42330 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
42331 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
42332 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
42333 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
42334 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
42335 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
42336 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
42337 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
42338 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
42339 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
42340 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
42341 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
42342 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
42343 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
42344 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
42345 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
42346 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
42347 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
42348 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
42349 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
42350 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
42351
42352 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
42353 _XOPEN_SOURCE_EXTENDED for XPG4.
42354
42355 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
42356
42357 * Makeconfig (localtime): Remove variable.
42358 (inst_localtime-file): Likewise.
42359
423602012-05-01 Andreas Schwab <schwab@linux-m68k.org>
42361
42362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
42363 Update.
42364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42365 Update.
42366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
42367 Update.
42368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
42369 Update.
42370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
42371 Update.
42372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
42373 Update.
42374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42375 Update.
42376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
42377 Update.
42378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42379 Update.
42380
423812012-05-01 Joseph Myers <joseph@codesourcery.com>
42382
42383 [BZ #2550]
42384 [BZ #2570]
42385 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
42386 comparisons to determine direction to adjust input.
42387 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
42388 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
42389 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
42390 Likewise.
42391 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
42392 Likewise.
42393 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
42394 Likewise.
42395 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
42396 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
42397 Likewise.
42398 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
42399 Likewise.
42400 * math/libm-test.inc (nexttoward_test): Add more tests.
42401
424022012-05-01 Andreas Schwab <schwab@linux-m68k.org>
42403
42404 [BZ #14040]
42405 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
42406 in version GLIBC_2.1, not GLIBC_2.0.
42407 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
42408 Likewise.
42409
424102012-04-30 Joseph Myers <joseph@codesourcery.com>
42411
42412 [BZ #13942]
42413 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
42414 (1 - x) * (1 + x).
42415 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42416 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
42417 * math/libm-test.inc (acos_test): Add more tests.
42418 (asin_test): Likewise.
42419 * sysdeps/i386/fpu/libm-test-ulps: Update.
42420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42421
42422 [BZ #14034]
42423 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
42424 of square root.
42425 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
42426 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42427 * math/libm-test.inc (acos_test_tonearest): New function.
42428 (acos_test_towardzero): Likewise.
42429 (acos_test_downward): Likewise.
42430 (acos_test_upward): Likewise.
42431 (asin_test_tonearest): Likewise.
42432 (asin_test_towardzero): Likewise.
42433 (asin_test_downward): Likewise.
42434 (asin_test_upward): Likewise.
42435 (main): Call the new functions.
42436 * sysdeps/i386/fpu/libm-test-ulps: Update.
42437 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42438
42439 [BZ #13884]
42440 [BZ #13924]
42441 * math/e_exp10.c: Include <float.h>.
42442 (__ieee754_exp10): Handle underflow here rather than multiplying
42443 large negative argument by M_LN10.
42444 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
42445 of __ieee754_expf.
42446 * math/e_exp10l.c: Include <float.h>.
42447 (__ieee754_exp10l): Handle underflow here rather than multiplying
42448 large negative argument by M_LN10l.
42449 * math/libm-test.inc (exp10_test): Add another test. Do not allow
42450 spurious overflow exception on underflow.
42451
424522012-04-29 Marek Polacek <polacek@redhat.com>
42453
42454 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
42455 (__fortify_function): New macro.
42456 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
42457 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
42458 __extern_always_inline.
42459 * libio/bits/stdio2.h: Likewise.
42460 * libio/bits/stdio.h: Likewise.
42461 * string/string.h: Likewise.
42462 * string/bits/string3.h: Likewise.
42463 * include/stdio.h: Likewise.
42464 * stdlib/bits/stdlib.h: Likewise.
42465 * stdlib/stdlib.h: Likewise.
42466 * rt/bits/mqueue2.h: Likewise.
42467 * rt/mqueue.h: Likewise.
42468 * posix/bits/unistd.h: Likewise.
42469 * posix/unistd.h: Likewise.
42470 * io/bits/poll2.h: Likewise.
42471 * io/bits/fcntl2.h: Likewise.
42472 * io/fcntl.h: Likewise.
42473 * io/sys/poll.h: Likewise.
42474 * misc/bits/syslog.h: Likewise.
42475 * misc/bits/syslog-ldbl.h: Likewise.
42476 * misc/sys/syslog.h: Likewise.
42477 * socket/bits/socket2.h: Likewise.
42478 * socket/sys/socket.h: Likewise.
42479 * debug/tst-chk1.c: Likewise.
42480 * wcsmbs/bits/wchar2.h: Likewise.
42481 * wcsmbs/bits/wchar-ldbl.h: Likewise.
42482 * wcsmbs/wchar.h: Likewise.
42483
424842012-04-29 Andreas Jaeger <aj@suse.de>
42485
42486 * Makerules (tests): Remove enable-check-abi protection.
42487 (check-abi-warn): Remove.
42488 (check-abi-%): Remove check-abi-warn usage.
42489
42490 * configure.in: Remove check-abi configure option.
42491 * configure: Regenerated.
42492 * config.make.in (enable-check-abi): Remove.
42493
424942012-04-28 Andreas Schwab <schwab@linux-m68k.org>
42495
42496 [BZ #14033]
42497 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
42498 double functions to double *_finite functions.
42499
42500 [BZ #13941]
42501 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
42502 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
42503 LDBL_MIN_EXP.
42504 * stdio-common/Makefile (tests): Add tst-sprintf3.
42505 * stdio-common/tst-sprintf3.c: New file.
42506
42507 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
42508 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
42509
425102012-04-28 Joseph Myers <joseph@codesourcery.com>
42511
42512 * conform/conformtest.pl: Remove duplicate typed-constant
42513 handling.
42514
425152012-04-28 David S. Miller <davem@davemloft.net>
42516
42517 * Makerules (%.abilist): Add vpath on sysdep_dirs.
42518 (check-abi-%): Remove AWK script prerequisite and explicit
42519 abilist directory.
42520 (check-abi): Rewrite to just diff the symlist with the abilist.
42521 (config-tls, config-abi-config): Delete, no longer used.
42522 (update-abi-%): Remove AWK script and explicit abilist directory.
42523 (update-abi): Rewrite to simply compare and conditionally copy the
42524 symlist and the sysdep abilist file. Remove update-abi-config
42525 checks.
42526 * abilist/ld.abilist: Remove.
42527 * abilist/libBrokenLocale.abilist: Remove.
42528 * abilist/libanl.abilist: Remove.
42529 * abilist/libcrypt.abilist: Remove.
42530 * abilist/libdl.abilist: Remove.
42531 * abilist/librt.abilist: Remove.
42532 * abilist/libthread_db.abilist: Remove.
42533 * abilist/libutil.abilist: Remove.
42534 * scripts/extract-abilist.awk: Remove.
42535 * scripts/merge-abilist.awk: Remove.
42536 * sysdeps/generic/libcidn.abilist: New file.
42537 * sysdeps/generic/libnss_compat.abilist: New file.
42538 * sysdeps/generic/libnss_db.abilist: New file.
42539 * sysdeps/generic/libnss_dns.abilist: New file.
42540 * sysdeps/generic/libnss_files.abilist: New file.
42541 * sysdeps/generic/libnss_hesiod.abilist: New file.
42542 * sysdeps/generic/libnss_nis.abilist: New file.
42543 * sysdeps/generic/libnss_nisplus.abilist: New file.
42544 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
42545 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
42546 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
42547 file.
42548 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
42549 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
42550 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
42551 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
42552 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
42553 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
42554 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
42555 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
42556 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
42557 file.
42558 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
42559 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
42560 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
42561 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
42562 file.
42563 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
42564 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
42565 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
42566 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
42567 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
42568 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
42569 file.
42570 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
42571 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
42572 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
42573 file.
42574 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
42575 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
42576 New file.
42577 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
42578 New file.
42579 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
42580 New file.
42581 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
42582 New file.
42583 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
42584 New file.
42585 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
42586 New file.
42587 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
42588 New file.
42589 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
42590 New file.
42591 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
42592 New file.
42593 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
42594 New file.
42595 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
42596 New file.
42597 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
42598 New file.
42599 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
42600 New file.
42601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
42602 file.
42603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
42604 New file.
42605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
42606 New file.
42607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
42608 file.
42609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
42610 New file.
42611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
42612 New file.
42613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
42614 file.
42615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
42616 New file.
42617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42618 New file.
42619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
42620 New file.
42621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
42622 New file.
42623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
42624 New file.
42625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
42626 New file.
42627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
42628 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
42629 file.
42630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
42631 New file.
42632 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
42633 file.
42634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
42635 file.
42636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
42637 file.
42638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
42639 file.
42640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
42641 file.
42642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42643 New file.
42644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
42645 file.
42646 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
42647 file.
42648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
42649 New file.
42650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
42651 file.
42652 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
42653 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
42654 file.
42655 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
42656 New file.
42657 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
42658 file.
42659 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
42660 file.
42661 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
42662 file.
42663 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
42664 file.
42665 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
42666 file.
42667 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42668 New file.
42669 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
42670 file.
42671 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
42672 file.
42673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
42674 New file.
42675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
42676 file.
42677 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
42678 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
42679 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
42680 file.
42681 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
42682 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
42683 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
42684 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
42685 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
42686 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
42687 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
42688 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
42689 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
42690 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
42691 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
42692 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
42693 file.
42694 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
42695 New file.
42696 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
42697 file.
42698 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
42699 file.
42700 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
42701 file.
42702 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
42703 file.
42704 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
42705 file.
42706 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42707 New file.
42708 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
42709 New file.
42710 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
42711 file.
42712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
42713 New file.
42714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
42715 file.
42716 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
42717 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
42718 file.
42719 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
42720 New file.
42721 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
42722 file.
42723 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
42724 file.
42725 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
42726 file.
42727 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
42728 file.
42729 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
42730 file.
42731 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42732 New file.
42733 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
42734 New file.
42735 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
42736 file.
42737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
42738 New file.
42739 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
42740 file.
42741
427422012-04-28 Joseph Myers <joseph@codesourcery.com>
42743
42744 * conform/conformtest.pl: Fix typo in handling typed-constant from
42745 allow-header.
42746
427472012-04-27 Joseph Myers <joseph@codesourcery.com>
42748
42749 * README: Cut down references to pre-2.6 Linux kernels and
42750 Linuxthreads. Update lists of configurations in libc and ports
42751 and sort alphabetically. Say "or newer" with Linux kernel version
42752 requirements.
42753
42754 * config.h.in [IS_IN_build]: Allow compiling without optimization.
42755
427562012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
42757
42758 [BZ #887]
42759 * math/libm-test.inc (logb_test_downward): New test to expose
42760 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
42761 rounding mode.
42762
427632012-04-27 Joseph Myers <joseph@codesourcery.com>
42764
42765 [BZ #14027]
42766 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
42767 to be done.
42768 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
42769 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
42770
427712012-04-26 Joseph Myers <joseph@codesourcery.com>
42772
42773 * sysdeps/unix/i386/brk.S: Remove file.
42774 * sysdeps/unix/i386/dl-brk.S: Likewise.
42775 * sysdeps/unix/i386/pipe.S: Likewise.
42776 * sysdeps/unix/i386/sigreturn.S: Likewise.
42777 * sysdeps/unix/i386/syscall.S: Likewise.
42778 * sysdeps/unix/i386/vfork.S: Likewise.
42779 * sysdeps/unix/i386/wait.S: Likewise.
42780
42781 * sysdeps/unix/common/tcsendbrk.c: Move to ...
42782 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
42783
42784 * configure.in (arm*-none*): Do not allow without
42785 --enable-hacker-mode.
42786 (netbsd*): Remove case setting base_os.
42787 (386bsd*): Likewise.
42788 (freebsd*): Likewise.
42789 (bsdi*): Likewise.
42790 (osf*): Likewise.
42791 (sunos*): Likewise.
42792 (ultrix*): Likewise.
42793 (newsos*): Likewise.
42794 (dynix*): Likewise.
42795 (*bsd*): Likewise.
42796 (sysv*): Likewise.
42797 (isc*): Likewise.
42798 (esix*): Likewise.
42799 (sco*): Likewise.
42800 (minix*): Likewise.
42801 (irix4*): Likewise.
42802 (irix6*): Likewise.
42803 (solaris[2-9]*): Likewise.
42804 (none): Likewise.
42805 * configure: Regenerated.
42806
428072012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42808
42809 [BZ #11521]
42810 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
42811 overflow or cancellation in calculating denominator.
42812 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
42813 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
42814 down expression to avoid unexpected rounding in newer GCCs.
42815 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
42816
428172012-04-26 David S. Miller <davem@davemloft.net>
42818
42819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
42820 long-double compat symbols.
42821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
42825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
42827 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
42828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
42829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
42830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
42831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
42832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
42833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42834
428352012-04-25 David S. Miller <davem@davemloft.net>
42836
42837 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
42838 HWCAP_* values only after the memory barriers have been defined.
42839 (atomic_full_barrier): Define.
42840 (atomic_read_barrier): Define.
42841 (atomic_write_barrier): Define.
42842
428432012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
42844
42845 * shlib-versions: Add libgcc_s version information.
42846 * sysdeps/generic/libgcc_s.h: Remove.
42847 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
42848 libgcc_s.h.
42849 * sysdeps/gnu/unwind-resume.c: Likewise.
42850 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
42851
428522012-04-25 David S. Miller <davem@davemloft.net>
42853
42854 * sysdeps/unix/sparc/brk.S: Delete.
42855 * sysdeps/unix/sparc/dl-brk.S: Delete.
42856 * sysdeps/unix/sparc/pipe.S: Delete.
42857 * sysdeps/unix/sparc/sysdep.S: Delete.
42858 * sysdeps/unix/sparc/sysdep.h: Delete.
42859 * sysdeps/unix/sparc/vfork.S: Delete.
42860 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
42861 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
42862 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
42863 (ret_ERRVAL, r0, r1, MOVE): Define.
42864 (JUMPTARGET): Remove.
42865 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
42866 sysdeps/unix/sparc/sysdep.h
42867 (ENTRY, END): Remove.
42868 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42869
428702012-04-25 Joseph Myers <joseph@codesourcery.com>
42871
42872 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
42873 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
42874 -DIS_IN_build.
42875
42876 * timezone/README: Update upstream location and email address for
42877 tzcode and tzdata.
42878 * timezone/zdump.c: Update from tzcode 2012b.
42879 * timezone/zic.c: Likewise.
42880
42881 * configure.in (libc_cv_as_needed): Remove test.
42882 * configure: Regenerated.
42883 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
42884 conditional definition.
42885 [$(have-as-needed) != yes] (no-as-needed): Likewise.
42886 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
42887 * config.make.in (have-as-needed): Remove variable.
42888
428892012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
42890 Paul Pluzhnikov <ppluzhnikov@google.com>
42891
42892 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
42893 strings correctly.
42894
428952012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
42896
42897 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
42898 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
42899 * sysdeps/sh/strlen.S: Likewise.
42900
429012012-04-24 Joseph Myers <joseph@codesourcery.com>
42902
42903 * sysdeps/unix/fork.S: Remove file.
42904 * sysdeps/unix/i386/fork.S: Likewise.
42905 * sysdeps/unix/sparc/fork.S: Likewise.
42906
42907 * sysdeps/unix/system.c: Remove file.
42908 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
42909
42910 * sysdeps/unix/getegid.S: Remove file.
42911 * sysdeps/unix/geteuid.S: Likewise.
42912
429132012-04-24 Roland McGrath <roland@hack.frob.com>
42914
42915 * scripts/check-localplt.awk: New file.
42916 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
42917 of diff.
42918 * scripts/data/localplt-generic.data: Add a comment.
42919
42920 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
42921 NODE when __dir_mkfile failed.
42922 * sysdeps/mach/hurd/symlinkat.c: Likewise.
42923 Reported by Ludovic Courtès <ludo@gnu.org>.
42924
429252012-04-24 Andreas Jaeger <aj@suse.de>
42926
42927 * Makerules (common-clean): Also remove gen-as-const-headers
42928 files.
42929
429302012-04-24 Joseph Myers <joseph@codesourcery.com>
42931
42932 * Makerules (native-compile): Do not change working directory for
42933 build. Use $(OUTPUT_OPTION) in command.
42934 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
42935
429362012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42937
42938 [BZ #13886]
42939 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
42940 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
42941 * math/libm-test.inc (floor_test): Add more tests.
42942 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
42943
429442012-04-24 Joseph Myers <joseph@codesourcery.com>
42945
42946 * sysdeps/unix/getdents.c: Remove file.
42947 * sysdeps/unix/sysv/getdents.c: Likewise.
42948 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
42949
42950 * sysdeps/unix/syscalls.list (madvise): Add syscall from
42951 sysdeps/unix/mman/syscalls.list.
42952 (mmap): Likewise.
42953 (mprotect): Likewise.
42954 (msync): Likewise.
42955 (munmap): Likewise.
42956 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
42957 * sysdeps/unix/mman/syscalls.list: Remove.
42958 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
42959
42960 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
42961 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
42962 * configure: Regenerated.
42963 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
42964 $(libgcc_s_suffix).
42965 * config.make.in (libgcc_s_suffix): Remove variable.
42966
429672012-04-23 Joseph Myers <joseph@codesourcery.com>
42968
42969 * sysdeps/unix/sysv/gethostname.c: Move to ...
42970 * sysdeps/posix/gethostname.c: ... here.
42971
42972 * sysdeps/unix/execve.S: Remove file.
42973
42974 * sysdeps/unix/_exit.S: Remove file.
42975
429762012-04-23 Andreas Jaeger <aj@suse.de>
42977
42978 [BZ #13739]
42979 * manual/Makefile: Remove make dist support, there's no
42980 need for a stand-alone documentation tar ball.
42981 (TEXI2DVI): Define always, it's not in Makeconfig.
42982 (dist): Removed.
42983 (tar-it): Removed.
42984 (edition): Removed.
42985 (glibc-doc-$(edition).tar): Removed
42986 (%.Z): Removed.
42987 (%.gz): Removed.
42988 (%.uu): Removed.
42989 (ETAGS): Remove, it's in Makeconfig.
42990 (move-if-change): Remove, it's in Makeconfig.
42991
429922012-04-23 Paul Eggert <eggert@cs.ucla.edu>
42993
42994 [BZ #13970]
42995 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
42996 (strtod, strtof, strtold, strtol, strtoul, strtoq)
42997 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
42998 (strtod_l, strtof_l, strtold_l): Remove __wur.
42999 It is not necessarily an error to ignore strtol's return value.
43000 One can reliably look at the stored endptr to decide whether
43001 the number had valid syntax.
43002
430032012-04-21 Andreas Jaeger <aj@suse.de>
43004
43005 [BZ #13739]
43006 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
43007
430082012-04-21 Joseph Myers <joseph@codesourcery.com>
43009
43010 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
43011 * sysdeps/unix/sysv/Versions: Remove file.
43012
430132012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
43014
43015 [BZ #13927]
43016 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43017
430182012-04-21 Nick Alcock <nick.alcock@oracle.com>
43019
43020 [BZ #7064]
43021 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
43022 version from __vm86.
43023
430242012-04-20 Joseph Myers <joseph@codesourcery.com>
43025
43026 * sysdeps/unix/common/lxstat.c: Remove file.
43027 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
43028
43029 * sysdeps/unix/sysv/Makefile: Remove file.
43030
43031 * sysdeps/unix/sysv/direct.h: Remove file.
43032
43033 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
43034 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
43035 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
43036 * sysdeps/unix/sysv/bits/signum.h: Likewise.
43037 * sysdeps/unix/sysv/bits/stat.h: Likewise.
43038 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
43039 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
43040
43041 * sysdeps/unix/sysv/setrlimit.c: Remove file.
43042
43043 * sysdeps/unix/xmknod.c: Remove file.
43044 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
43045
43046 * sysdeps/unix/sysv/settimeofday.c: Remove file.
43047
43048 * sysdeps/unix/sysv/i386/time.S: Remove file.
43049
43050 * sysdeps/unix/fxstat.c: Remove file.
43051 * sysdeps/unix/xstat.c: Likewise.
43052 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
43053
43054 * sysdeps/unix/sysv/sigaction.c: Remove file.
43055
43056 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
43057 (sysdep_headers): Remove variable.
43058 [termio.h not in sysdep_headers] (generated): Likewise.
43059 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
43060 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
43061 * sysdeps/unix/sysv/tcdrain.c: Likewise.
43062 * sysdeps/unix/sysv/tcflow.c: Likewise.
43063 * sysdeps/unix/sysv/tcflush.c: Likewise.
43064 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
43065 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
43066 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
43067 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
43068 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
43069
43070 * sysdeps/unix/siglist.c: Remove file.
43071
43072 * sysdeps/unix/getppid.S: Remove file.
43073
43074 * sysdeps/unix/mkdir.c: Remove file.
43075 * sysdeps/unix/rmdir.c: Likewise.
43076
430772012-04-19 Andreas Schwab <schwab@linux-m68k.org>
43078
43079 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
43080 ERR_MAX value.
43081 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
43082 errlist-compat value.
43083
430842012-04-18 David S. Miller <davem@davemloft.net>
43085
43086 * sysdeps/generic/memcopy.h (reg_char): Delete.
43087 * debug/strcat_chk.c: Use char, not reg_char.
43088 * debug/strcpy_chk.c: Likewise.
43089 * debug/strncat_chk.c: Likewise.
43090 * debug/strncpy_chk.c: Likewise.
43091 * string/memchr.c: Likewise.
43092 * string/memrchr.c: Likewise.
43093 * string/rawmemchr.c: Likewise.
43094 * string/strcat.c: Likewise.
43095 * string/strchr.c: Likewise.
43096 * string/strchrnul.c: Likewise.
43097 * string/strcmp.c: Likewise.
43098 * string/strcpy.c: Likewise.
43099 * string/strncat.c: Likewise.
43100 * string/strncmp.c: Likewise.
43101 * string/strncpy.c: Likewise.
43102
431032012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43104
43105 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
43106 __builtin_memcopy is called when src and dest ranges are known to not
43107 overlap.
43108
431092012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43110
43111 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
43112 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
43113 fwd_align_merge macro call.
43114 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
43115 bwd_align_merge macro call.
43116 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43117
431182012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43119
43120 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
43121 bwd_align_merge macros.
43122 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
43123 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
43124 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43125
431262012-04-18 David S. Miller <davem@davemloft.net>
43127
43128 * sysdeps/sparc/sparc64/memcopy.h: Delete.
43129
431302012-04-18 Andreas Jaeger <aj@suse.de>
43131
43132 [BZ# 6794]
43133 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
43134 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
43135 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43136
43137 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
43138 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
43139 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43140
43141 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
43142 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
43143 Adjust for changed ldbl-128 files.
43144
43145 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
43146 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
43147 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43148
431492012-04-17 David S. Miller <davem@davemloft.net>
43150
43151 * sysdeps/sparc/sparc32/memcopy.h: Delete.
43152
431532012-04-17 Andreas Schwab <schwab@linux-m68k.org>
43154
43155 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
43156 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
43157 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
43158 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
43159 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43160 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
43161
431622012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43163
43164 [BZ #6794]
43165 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
43166 * math/libm-test.inc: Add ilogb errno and exception tests.
43167 * math/w_ilogb.c: New file: ilogb wrapper.
43168 * math/w_ilogbf.c: New file: ilogbf wrapper.
43169 * math/w_ilogbl.c: New file: ilogbl wrapper.
43170 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
43171 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
43172 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
43173 exception being thrown with 0.0 as argument.
43174 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
43175 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
43176 exception being thrown with 0.0 as argument.
43177 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
43178 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43179 exception being thrown with 0.0 as argument.
43180 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
43181 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43182 exception being thrown with 0.0 as argument.
43183 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
43184 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
43185 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
43186 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
43187 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
43188 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
43189 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
43190 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
43191 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
43192
431932012-04-17 Petr Baudis <pasky@ucw.cz>
43194
43195 * include/sys/uio.h: Change __vector to __iovec to avoid clash
43196 with altivec.
43197
431982012-04-16 Marek Polacek <polacek@redhat.com>
43199
43200 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
43201
432022012-04-16 Marek Polacek <polacek@redhat.com>
43203
43204 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
43205 operands of fdivp instruction.
43206
432072012-04-13 H.J. Lu <hongjiu.lu@intel.com>
43208
43209 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
43210 * elf/tst-auditmod3b.c: Likewise.
43211 * elf/tst-auditmod4b.c: Likewise.
43212 * elf/tst-auditmod5b.c: Likewise.
43213 * elf/tst-auditmod6b.c: Likewise.
43214 * elf/tst-auditmod6c.c: Likewise.
43215 * elf/tst-auditmod7b.c: Likewise.
43216 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
43217 * sysdeps/x86_64/preconfigure.in: Likewise.
43218 * sysdeps/x86_64/preconfigure: Regenerated.
43219
432202012-04-13 H.J. Lu <hongjiu.lu@intel.com>
43221
43222 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
43223 __ILP32__.
43224
432252012-04-13 Antoine Balestrat <merkil33@gmail.com>
43226
43227 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43228 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
43229
432302012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
43231
43232 [BZ #13973]
43233 * locale/iso-639.def: Fix gl language name. Spotted by
43234 Yaron Shahrabani.
43235
432362012-04-12 Roland McGrath <roland@hack.frob.com>
43237
43238 [BZ #2074]
43239 * libio/libio.h (__io_write_fn): Update comment.
43240
432412012-04-12 Petr Baudis <pasky@ucw.cz>
43242
43243 [BZ #2074]
43244 * stdio.texi (Hook Functions): The user provided writer function
43245 is not allowed to return -1.
43246
432472012-04-11 David S. Miller <davem@davemloft.net>
43248
43249 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43250
432512012-04-11 Mike Frysinger <vapier@gentoo.org>
43252
43253 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
43254 Add a leading slash to rtkaio.
43255
432562012-04-11 Jim Meyering <meyering@redhat.com>
43257
43258 [BZ #11959]
43259 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
43260 It is not necessarily an error to ignore fwrite's return
43261 value. One can reliably use ferror to test for errors after
43262 the fact.
43263
432642012-04-10 H.J. Lu <hongjiu.lu@intel.com>
43265
43266 * bits/types.h (__snseconds_t): New type.
43267 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
43268
43269 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
43270 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43271 (__SNSECONDS_T_TYPE): Likewise.
43272 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43273 (__SNSECONDS_T_TYPE): Likewise.
43274 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43275 (__SNSECONDS_T_TYPE): Likewise.
43276
432772012-04-10 Andreas Jaeger <aj@suse.de>
43278
43279 [BZ #2636]
43280 * manual/time.texi (Processor Time): Return type of times is
43281 elapsed real time since an arbitrary point in the past.
43282 (CPU Time): Move CLK_TCK from here...
43283 (Processor Time): ...to here. Correct description.
43284 * manual/conf.texi (Constants for Sysconf): Correct description of
43285 _SC_CLK_TCK.
43286
432872012-04-10 David S. Miller <davem@davemloft.net>
43288
43289 [BZ #13967]
43290 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
43291 where the is a gap between DT_REL(A) and DT_JMPREL.
43292
432932012-04-10 H.J. Lu <hongjiu.lu@intel.com>
43294
43295 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
43296 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43297 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43298
432992012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
43300
43301 * elf/dl-support.c (_dl_inhibit_cache): New variable.
43302 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
43303 (dl_main): Handle --inhibit-cache.
43304 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
43305 _dl_inhibit_cache.
43306 * elf/dl-load.c (_dl_map_object): Use it.
43307 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
43308
433092012-04-09 Joseph Myers <joseph@codesourcery.com>
43310
43311 [BZ #13872]
43312 * sysdeps/i386/fpu/e_powl.S (p78): New object.
43313 (__ieee754_powl): Saturate large exponents rather than testing for
43314 overflow of y*log2(x).
43315 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43316 * math/libm-test.inc (pow_test): Do not permit spurious overflow
43317 exceptions.
43318
43319 [BZ #11521]
43320 * math/s_ctan.c: Include <float.h>.
43321 (__ctan): Avoid internal overflow or cancellation in calculating
43322 denominator.
43323 * math/s_ctanf.c: Likewise.
43324 * math/s_ctanl.c: Likewise.
43325 * math/s_ctanh.c: Likewise.
43326 * math/s_ctanhf.c: Likewise.
43327 * math/s_ctanhl.c: Likewise.
43328 * math/libm-test.inc (ctan_test): Add more tests.
43329 (ctanh_test): Likewise.
43330 * sysdeps/i386/fpu/libm-test-ulps: Update.
43331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43332
433332012-04-09 Andreas Jaeger <aj@suse.de>
43334
43335 [BZ #6894]
43336 * manual/filesys.texi (Directory Entries): Mention that d_namlen
43337 is an optional BSD extension.
43338
43339 [BZ #10254]
43340 * manual/stdio.texi (Opening Streams): Document additional fopen
43341 parameters.
43342
433432012-04-09 Roland McGrath <roland@hack.frob.com>
43344
43345 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
43346 %eax without telling the compiler.
43347
433482012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
43349
43350 [BZ # 13963]
43351 * manual/install.texi: Use sourceware.org.
43352
433532012-04-09 Joseph Myers <joseph@codesourcery.com>
43354
43355 [BZ #13873]
43356 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
43357 (__ieee754_pow): Generate overflow and underflow using huge*huge
43358 and tiny*tiny rather than just returning constant infinity or zero
43359 for large exponents.
43360 * math/libm-test.inc (pow_test): Require overflow exceptions for
43361 applicable cases of large exponents.
43362
43363 [BZ #706]
43364 * sysdeps/i386/fpu/e_pow.S (p10): New object.
43365 (__ieee754_pow): Use iterative multiplication algorithm only for
43366 integer exponents with absolute value below 1024. Check for odd
43367 integer exponents when using algorithm for real exponents.
43368 * math/libm-test.inc (pow_test): Add more tests.
43369 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43370
433712012-04-08 Joseph Myers <joseph@codesourcery.com>
43372
43373 [BZ #13705]
43374 * math/libm-test.inc (exp_test): Do not allow overflow exception
43375 on underflow test.
43376
433772012-04-08 Aurelien Jarno <aurelien@aurel32.net>
43378
43379 [BZ #13705]
43380 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
43381 instead of __kernel_standard_f.
43382
433832012-04-08 Mike Frysinger <vapier@gentoo.org>
43384
43385 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
43386 * sysdeps/x86_64/memset_chk.S: Likewise.
43387
433882012-04-08 Andreas Jaeger <aj@suse.de>
43389
43390 [BZ #10153]
43391 * manual/startup.texi (Environment Access): Describe return value
43392 for putenv and setenv.
43393
43394 [BZ #6895]
43395 * manual/filesys.texi (Directory Entries): Add description for
43396 DT_LNK.
43397
43398 [BZ #6890]
43399 * manual/filesys.texi (Directory Entries): Clarify that it's file
43400 system not operating system in the description of DT_UNKNOWN.
43401
43402 [BZ #6578]
43403 * manual/syslog.texi (closelog): Fix reference, it's openlog.
43404
434052012-04-08 Stephen Compall <s11@member.fsf.org>
43406
43407 [BZ #6649]
43408 * manual/llio.texi (Opening and Closing Files): Add cross
43409 reference to explain mode argument.
43410
434112012-04-07 Mike Frysinger <vapier@gentoo.org>
43412
43413 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
43414 * sysdeps/x86_64/memset_chk.S: Likewise.
43415
434162012-04-07 David S. Miller <davem@davemloft.net>
43417
43418 * elf/elf.h (R_SPARC_WDISP10): Define.
43419 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
43420 R_SPARC_SIZE32.
43421 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
43422 R_SPARC_SIZE64 and R_SPARC_H34.
43423
434242012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
43425
43426 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
43427 conditions and remove no longer applicable assertion.
43428
434292012-04-06 H.J. Lu <hongjiu.lu@intel.com>
43430
43431 * bits/byteswap.h: Include <features.h>.
43432 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43433 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43434
434352012-04-06 H.J. Lu <hongjiu.lu@intel.com>
43436
43437 * bits/byteswap.h (__bswap_16): Removed.
43438 Include <bits/byteswap-16.h> to get __bswap_16.
43439 * sysdeps/i386/bits/byteswap.h: Likewise.
43440 * sysdeps/s390/bits/byteswap.h: Likewise.
43441 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43442 * bits/byteswap-16.h: New file.
43443 * sysdeps/i386/bits/byteswap-16.h: Likewise.
43444 * sysdeps/s390/bits/byteswap-16.h: Likewise.
43445 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
43446 * string/Makefile (headers): Add bits/byteswap-16.h.
43447
434482012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
43449
43450 [BZ #13895]
43451 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
43452 extra indirection.
43453 * nss/Makefile (tests-static, tests): Add tst-nss-static.
43454 * nss/tst-nss-static.c: New.
43455
434562012-04-06 Robert Millan <rmh@gnu.org>
43457
43458 [BZ #6486]
43459 * manual/llio.texi (File Position Primitive): lseek
43460 refers to WHENCE when it really means OFFSET.
43461
434622012-04-06 Andreas Jaeger <aj@suse.de>
43463
43464 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
43465 strncmp declarations.
43466
43467 * abilist/libc.abilist: Add __poll and __ppoll.
43468
434692012-04-05 David S. Miller <davem@davemloft.net>
43470
43471 * scripts/check-local-headers.sh: Accept a host triplet in the
43472 path matched by the exclude regexp.
43473
43474 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
43475 definition.
43476 * sysdeps/powerpc/powerpc32/dl-machine.h
43477 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
43478 * sysdeps/s390/s390-32/dl-machine.h
43479 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43480 * sysdeps/sparc/sparc32/dl-machine.h
43481 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43482 * sysdeps/sparc/sparc64/dl-machine.h
43483 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43484
43485 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
43486 lazy binding.
43487 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
43488 undefined symbol errors.
43489
43490 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
43491 DT_NEEDED entries.
43492
434932012-04-05 Michael Matz <matz@suse.de>
43494
43495 [BZ #13592]
43496 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
43497
434982012-04-05 Andreas Jaeger <aj@suse.de>
43499
43500 [BZ #13908]
43501 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
43502 comment.
43503
435042012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43505
43506 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
43507 which ROUND is no valid rounding mode.
43508
435092012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43510
43511 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
43512 read again.
43513 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
43514
435152012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43516
43517 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
43518 an exception using FPU order intentionally.
43519
435202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43521
43522 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
43523 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
43524 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
43525 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
43526
435272012-04-05 Simon Josefsson <simon@josefsson.org>
43528
43529 [BZ #12340]
43530 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
43531 EINVAL when BUFLEN is too smal.
43532
435332012-04-05 Thomas Schwinge <thomas@codesourcery.com>
43534
43535 [BZ #13553]
43536 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
43537 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
43538
435392012-04-03 Andreas Jaeger <aj@suse.de>
43540
43541 [BZ #13938]
43542 * manual/setjmp.texi (System V contexts): Fix sentence.
43543
43544 [BZ #13926]
43545 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
43546 New macro for this case.
43547 [!__GNUC__] (__bswap_64): New inline function for this case.
43548 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43549 * bits/byteswap.h: Likewise.
43550 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
43551 ull, guard with __GLIBC_HAVE_LONG_LONG.
43552
43553 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
43554 __GLIBC_HAVE_LONG_LONG.
43555
43556 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
43557 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
43558
435592012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43560
43561 [BZ #13691]
43562 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
43563 inptr and inend, rather than using last_ch.
43564
435652012-04-02 David S. Miller <davem@davemloft.net>
43566
43567 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
43568 * stdio-common/printf-parse.h (read_int): Change return type to
43569 'int', return -1 on INT_MAX overflow.
43570 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
43571 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
43572 overflows INT_MAX. Check for overflow of in-format-string precision
43573 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
43574 SIZE_MAX not INT_MAX for integer overflow test.
43575 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
43576 skip the construct in the format string but do not record anything.
43577 * stdio-common/bug22.c: Adjust to test both width/prevision
43578 INT_MAX overflow as well as total length INT_MAX overflow. Check
43579 explicitly for proper errno values.
43580
435812012-04-02 Thomas Schwinge <thomas@codesourcery.com>
43582
43583 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
43584 CHAR_MAX.
43585 * string/test-strcmp.c [! WIDE]: Likewise.
43586 * time/tst-mktime2.c: Likewise for INT_MAX.
43587 * string/test-string.h: #include <sys/param.h> for MIN.
43588
43589 * csu/init-first.c (__libc_init_first): Call __ctype_init.
43590 * sysdeps/i386/init-first.c (init): Likewise.
43591 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
43592 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
43593 * sysdeps/sh/init-first.c (init): Likewise.
43594
435952012-04-01 Ulrich Drepper <drepper@gmail.com>
43596
43597 * po/ru.po: Update from translation team.
43598 * po/vi.po: Likewise.
43599
436002012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
43601
43602 * resolv/nss_dns/dns-host.c: Merge copyright years.
43603
436042012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43605
43606 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43607 Optimize memcpy with prefetch if
43608 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
43609 src, dst pointers have unequal 16 byte alignments.
43610
436112012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
43612
43613 [BZ #13928]
43614 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
43615 from a CNAME entry and return the minimum ttl for the query.
43616 (gaih_getanswer_slice): Likewise.
43617
436182012-03-30 Jeff Law <law@redhat.com>
43619
43620 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
43621 due to long keys.
43622 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
43623 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
43624
43625 * resolv/nss_dns/dns-host.c: Update copyright year.
43626
436272012-03-30 Ulrich Drepper <drepper@gmail.com>
43628
43629 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
43630 requests to save a system call. Fix check that all bytes are sent.
43631
43632 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
43633 comments for sendmmsg.
43634
436352012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43636
43637 [BZ #13691]
43638 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
43639 with only 1 character between 0x0041 and 0x01b0.
43640 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
43641 * wcsmbs/tst-mbsnrtowcs.c: New file.
43642
436432012-03-29 David S. Miller <davem@davemloft.net>
43644
43645 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
43646 small copies by hand.
43647
436482012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43649
43650 [BZ #13761]
43651 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
43652 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
43653 group memberships.
43654
436552012-03-28 David S. Miller <davem@davemloft.net>
43656
43657 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
43658 that branches into memcpy.
43659 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
43660 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43661 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43662 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43663 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
43664 bits.
43665 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
43666 implementation too.
43667 * sysdeps/sparc/mempcpy.S: New file.
43668
43669 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
43670 the IFUNC routine in the libc case.
43671 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43672
43673 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
43674 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
43675 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
43676 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
43677 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
43678 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
43679 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
43680 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
43681
43682 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
43683 loop to 256 bytes instead of 64 bytes and fix test signedness.
43684
43685 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
43686 * sysdeps/sparc/sparc32/Makefile: rather than here...
43687 * sysdeps/sparc/sparc64/Makefile: and here.
43688
436892012-03-28 Ulrich Drepper <drepper@gmail.com>
43690
43691 * malloc/mallocbug.c: Avoid warnings about unused variables.
43692
436932012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
43694
43695 [BZ #13760]
43696 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
43697 in the right place. Discard and retry query if response is
43698 larger than input buffer size.
43699
437002012-03-28 Joseph Myers <joseph@codesourcery.com>
43701
43702 [BZ #369]
43703 [BZ #2678]
43704 [BZ #3866]
43705 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
43706 x for large integer exponent.
43707 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43708 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
43709 sign of result as needed afterwards.
43710 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
43711 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
43712 result for underflowing pow the same as for overflow.
43713 (__kernel_standard_l): Handle powl overflow and underflow here
43714 rather than calling __kernel_standard.
43715 * math/libm-test.inc (pow_test): Add more tests.
43716
43717 [BZ #3868]
43718 [BZ #13879]
43719 [BZ #13910]
43720 [BZ #13911]
43721 [BZ #13912]
43722 [BZ #13913]
43723 [BZ #13915]
43724 [BZ #13916]
43725 [BZ #13917]
43726 [BZ #13918]
43727 [BZ #13919]
43728 [BZ #13920]
43729 [BZ #13921]
43730 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
43731 * sysdeps/ieee754/k_standard.c: Include <float.h>.
43732 (__kernel_standard_l): New function.
43733 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
43734 __kernel_standard.
43735 * math/w_acosl.c (__acosl): Likewise.
43736 * math/w_asinl.c (__asinl): Likewise.
43737 * math/w_atan2l.c (__atan2l): Likewise.
43738 * math/w_atanhl.c (__atanhl): Likewise.
43739 * math/w_coshl.c (__coshl): Likewise.
43740 * math/w_exp10l.c (__exp10l): Likewise.
43741 * math/w_exp2l.c (__exp2l): Likewise.
43742 * math/w_fmodl.c (__fmodl): Likewise.
43743 * math/w_hypotl.c (__hypotl): Likewise.
43744 * math/w_j0l.c (__j0l, __y0l): Likewise.
43745 * math/w_j1l.c (__j1l, __y1l): Likewise.
43746 * math/w_jnl.c (__jnl, __ynl): Likewise.
43747 * math/w_lgammal.c (__lgammal): Likewise.
43748 * math/w_log10l.c (__log10l): Likewise.
43749 * math/w_log2l.c (__log2l): Likewise.
43750 * math/w_logl.c (__logl): Likewise.
43751 * math/w_powl.c (__powl): Likewise.
43752 * math/w_remainderl.c (__remainderl): Likewise.
43753 * math/w_scalbl.c (sysv_scalbl): Likewise.
43754 * math/w_sinhl.c (__sinhl): Likewise.
43755 * math/w_sqrtl.c (__sqrtl): Likewise.
43756 * math/w_tgammal.c (__tgammal): Likewise.
43757 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
43758 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
43759 * math/libm-test.inc (acos_test): Add more tests.
43760 (acosh_test): Likewise.
43761 (asin_test): Likewise.
43762 (atanh_test): Likewise.
43763 (exp_test): Likewise.
43764 (exp10_test): Likewise.
43765 (exp2_test): Likewise.
43766 (expm1_test): Likewise.
43767 (lgamma_test): Likewise.
43768 (log_test): Likewise.
43769 (log10_test): Likewise.
43770 (log1p_test): Likewise.
43771 (log2_test): Likewise.
43772 (pow_test): Do not allow some spurious overflow exceptions.
43773 (sqrt_test): Add more tests.
43774 (tgamma_test): Likewise.
43775 (y0_test): Likewise.
43776 (y1_test): Likewise.
43777 (yn_test): Likewise.
43778
437792012-03-27 Anton Blanchard <anton@samba.org>
43780
43781 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
43782 MAP_HUGETLB.
43783 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43784 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43785 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43786
437872012-03-27 David S. Miller <davem@davemloft.net>
43788
43789 * conform/Makefile: Run run-conformtest.sh using $(BASH).
43790
43791 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
43792 have-as-vis3 check.
43793
437942012-03-27 Andreas Jaeger <aj@suse.de>
43795
43796 * sysdeps/x86_64/elf/configure.in: Moved to ...
43797 * sysdeps/x86_64/configure.in: ... here.
43798 * sysdeps/x86_64/elf/start.S: Moved to ...
43799 * sysdeps/x86_64/start.S: ... here.
43800 * sysdeps/x86_64/elf/configure: Delete.
43801
43802 * sysdeps/x86_64/configure.in: Merge contents from
43803 sysdeps/i386/configure.in (without i686 check).
43804
43805 * sysdeps/i386/elf/Versions: Merge into ...
43806 * sysdeps/i386/Versions: ... this.
43807 * sysdeps/i386/elf/Versions: Delete file.
43808 * sysdeps/i386/elf/start.S: Moved to ...
43809 * sysdeps/i386/start.S: ...here.
43810 * sysdeps/i386/elf/configure.in: Merge into...
43811 * sysdeps/i386/configure.in: ...here.
43812 * sysdeps/i386/elf/configure.in: Delete file.
43813 * sysdeps/i386/elf/configure: Delete file.
43814
43815 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
43816 * debug/backtracesyms.c: ... here.
43817 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
43818 * debug/backtracesymsfd.c: ... here.
43819 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
43820 * sysdeps/generic/ifunc-sel.h: ... here.
43821
43822 * sysdeps/unix/i386/start.c: Delete file.
43823 * sysdeps/unix/sparc/start.c: Delete file.
43824 * sysdeps/unix/start.c: Delete file.
43825
43826 * sysdeps/sh/elf/configure.in: Moved to ...
43827 * sysdeps/sh/configure.in: ... here.
43828 * sysdeps/sh/elf/start.S: Moved to ...
43829 * sysdeps/sh/start.S: ... here.
43830 * sysdeps/sh/elf/configure: Delete file.
43831
43832 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
43833 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
43834 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
43835 * sysdeps/powerpc/powerpc64/entry.h: ... here.
43836 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
43837 * sysdeps/powerpc/powerpc64/start.S: here.
43838 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
43839 * sysdeps/powerpc/powerpc64/Makefile: ... this.
43840 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
43841 * sysdeps/powerpc/powerpc64/configure.in: ... this.
43842 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
43843
43844 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
43845 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
43846 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
43847 * sysdeps/powerpc/powerpc32/start.S: ... here.
43848 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
43849 * sysdeps/powerpc/powerpc32/configure.in: ... this.
43850 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
43851
43852 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
43853 * sysdeps/powerpc/ifunc-sel.h: ... here.
43854 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
43855 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
43856
43857 * sysdeps/sparc/elf/configure.in: Moved to ...
43858 * sysdeps/sparc/configure.in: ... here.
43859 * sysdeps/sparc/elf/configure: Delete file.
43860 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
43861 * sysdeps/sparc/sparc32/start.S: ... here.
43862 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
43863 * sysdeps/sparc/sparc64/start.S: ... here.
43864 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
43865 * sysdeps/sparc/sparc32/Makefile: ... this.
43866 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
43867 * sysdeps/sparc/sparc64/Makefile: ... this.
43868
43869 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
43870 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
43871 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
43872 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
43873 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
43874 * sysdeps/s390/s390-32/setjmp.S: ... here.
43875 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
43876 * sysdeps/s390/s390-32/configure.in: ... here.
43877 * sysdeps/s390/s390-32/elf/configure: Delete file.
43878 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
43879 * sysdeps/s390/s390-32/start.S: ... here.
43880
43881 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
43882 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
43883 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
43884 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
43885 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
43886 * sysdeps/s390/s390-64/setjmp.S: ... here.
43887 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
43888 * sysdeps/s390/s390-64/configure.in: ... here
43889 * sysdeps/s390/s390-64/elf/configure: Delete file.
43890 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
43891 * sysdeps/s390/s390-64/start.S: ... here.
43892 * sysdeps/s390/s390-64/elf/configure: Delete.
43893
43894 * configure.in: Remove support for elf directories in sysdeps.
43895
43896 * configure: Regenerated.
43897 * sysdeps/i386/configure: Regenerated.
43898 * sysdeps/powerpc/powerpc32/configure: Regenerated.
43899 * sysdeps/powerpc/powerpc64/configure: Regenerated.
43900 * sysdeps/s390/s390-32/configure: Regenerated.
43901 * sysdeps/s390/s390-64/configure: Regenerated.
43902 * sysdeps/sh/configure: Regenerated.
43903 * sysdeps/sparc/configure: Regenerated.
43904 * sysdeps/x86_64/configure: Regenerated.
43905
439062012-03-26 Andreas Schwab <schwab@linux-m68k.org>
43907
43908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43909
43910 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
43911 denormal result into account.
43912
439132012-03-25 Roland McGrath <roland@hack.frob.com>
43914
43915 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
43916 Reported by Allan McRae <allan@archlinux.org>.
43917
439182012-03-23 Jeff Law <law@redhat.com>
43919
43920 * nss/getnssent.c (__nss_getent): Fix typo.
43921
439222012-03-23 David S. Miller <davem@davemloft.net>
43923
43924 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43925
439262012-03-23 H.J. Lu <hongjiu.lu@intel.com>
43927
43928 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
43929 to pad to uint64_t for each field.
43930 (dl_tls_index): Replace unsigned long with uint64_t.
43931
439322012-03-23 Daniel Jacobowitz <dmj@google.com>
43933 Paul Pluzhnikov <ppluzhnikov@google.com>
43934
43935 [BZ #6528]
43936 * grp/Makefile (otherlibs): Don't set it.
43937 * inet/Makefile (otherlibs): Likewise.
43938 * login/Makefile (otherlibs): Likewise.
43939 * nscd/Makefile (otherlibs): Likewise.
43940 * posix/Makefile (otherlibs): Likewise.
43941 * pwd/Makefile (otherlibs): Likewise.
43942 * rt/Makefile (otherlibs): Likewise.
43943 * sunrpc/Makefile (otherlibs): Likewise.
43944 * nss/Makefile (otherlibs): Likewise.
43945 Add libnss_files to routines and static-only-routines.
43946 ($(objpfx)getent): Remove rule.
43947 * resolv/Makefile: Add libnss_dns and libresolv to routines and
43948 static-only-routines.
43949
439502012-03-22 Joseph Myers <joseph@codesourcery.com>
43951
43952 [BZ #13892]
43953 * math/s_cexp.c: Include <float.h>.
43954 (__cexp): Handle exp result overflowing not necessarily
43955 overflowing both real and imaginary parts of result.
43956 * math/s_cexpf.c: Likewise.
43957 * math/s_cexpl.c: Likewise.
43958 * math/libm-test.inc (cexp_test): Add more tests.
43959 * sysdeps/i386/fpu/libm-test-ulps: Update.
43960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43961
439622012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43963
43964 * include/link.h (ELFW): New macro.
43965 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
43966 Replace ELF64_R_TYPE with ELFW(R_TYPE).
43967
439682012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43969
43970 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
43971 with uint64_t.
43972
439732012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43974
43975 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
43976 declaration.
43977 (struct La_x32_retval): Likewise.
43978
439792012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43980
43981 * sysdeps/x86_64/preconfigure.in: New file.
43982 * sysdeps/x86_64/preconfigure: New generated file.
43983
439842012-03-22 Joseph Myers <joseph@codesourcery.com>
43985
43986 [BZ #13824]
43987 * math/e_exp2l.c: Include <float.h>.
43988 (__ieee754_exp2l): Handle overflow and underflow cases
43989 separately. Only pass fractional part of argument to
43990 __ieee754_expl.
43991 * math/libm-test.inc (exp2_test): Add more tests.
43992
43993 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
43994 negating x to take absolute value.
43995 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
43996 Likewise.
43997 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43998 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
43999 Likewise.
44000 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
44001 computing low part if x was negated.
44002 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44003
440042012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44005
44006 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
44007 la_x32_gnu_pltexit.
44008 (pltexit): Cast int_retval to ptrdiff_t.
44009 * elf/tst-auditmod3b.c: Likewise.
44010 * elf/tst-auditmod4b.c: Likewise.
44011 * elf/tst-auditmod5b.c: Likewise.
44012 * elf/tst-auditmod6b.c: Likewise.
44013 * elf/tst-auditmod6c.c: Likewise.
44014 * elf/tst-auditmod7b.c: Likewise.
44015
44016 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
44017 and x32_gnu_pltexit.
44018
44019 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
44020 __ELF_NATIVE_CLASS.
44021 (La_x32_regs): New macro.
44022 (La_x32_retval): Likewise.
44023 (la_x32_gnu_pltenter): New function prototype.
44024 (la_x32_gnu_pltexit): Likewise.
44025
440262012-03-21 Andreas Schwab <schwab@linux-m68k.org>
44027
44028 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
44029 exponent.
44030
44031 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44032
44033 * configure.in (libc_cv_cc_nofma): Check for option to disable
44034 generation of FMA instructions.
44035 * configure: Regenerate.
44036 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
44037 * sysdeps/ieee754/dbl-64/Makefile: New file.
44038 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
44039 Remove brandred-fma4.
44040 (CFLAGS-brandred-fma4.c): Remove.
44041 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
44042 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
44043 define.
44044 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
44045 define.
44046
440472012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44048
44049 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44050 LLONG_MAX != LONG_MAX.
44051 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44052 (_fitoa_word): Likewise.
44053 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
44054 LLONG_MAX != LONG_MAX.
44055 * stdio-common/_itowa.h: Include <_itoa.h>.
44056 (_itowa_word): Use _ITOA_WORD_TYPE on value.
44057 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
44058 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
44059 only if not defined.
44060 (_ITOA_WORD_TYPE): Likewise.
44061 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44062 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
44063
440642012-03-21 David S. Miller <davem@davemloft.net>
44065
44066 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44067
440682012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44069
44070 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
44071 of x86_64 when setting libc_cv_slibdir, libdir and
44072 libc_cv_localedir.
44073 * sysdeps/unix/sysv/linux/configure: Regenerated.
44074
440752012-03-21 Joseph Myers <joseph@codesourcery.com>
44076
44077 * manual/lang.texi (Old Varargs): Remove section.
44078 (How Variadic): Update menu.
44079 (va_start): Do not mention varargs.h.
44080
440812012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44082 Joseph Myers <joseph@codesourcery.com>
44083
44084 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
44085 link test.
44086 * configure: Regenerated.
44087
440882012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44089
44090 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
44091 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
44092 conformtest.pl
44093
440942012-03-21 Joseph Myers <joseph@codesourcery.com>
44095
44096 * NOTES: Remove.
44097 * Makefile (files-for-dist): Remove NOTES.
44098 (NOTES): Remove rule.
44099 * README: Don't refer to NOTES.
44100 * manual/creature.texi: Don't include macros.texi.
44101 * manual/intro.texi (creature.texi): Remove comment referring to
44102 NOTES.
44103
44104 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
44105 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
44106 * configure: Regenerated.
44107 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
44108 LIBC_TRY_CC_OPTION.
44109 (libc_cv_as_i686): Likewise.
44110 (libc_cv_cc_avx): Likewise.
44111 (libc_cv_cc_sse2avx): Likewise.
44112 (libc_cv_cc_fma4): Likewise.
44113 (libc_cv_cc_novzeroupper): Likewise.
44114 * sysdeps/i386/configure: Regenerated.
44115
44116 [BZ #13883]
44117 * sysdeps/i386/fpu/s_cexp.S: Remove.
44118 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44119 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44120 * math/libm-test.inc (cexp_test): Add more tests.
44121 * sysdeps/i386/fpu/libm-test-ulps: Update.
44122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44123
441242012-03-21 Allan McRae <allan@archlinux.org>
44125
44126 * timezone/Makefile: Do not install iso3166.tab and zone.tab
44127
441282012-03-21 Joseph Myers <joseph@codesourcery.com>
44129
44130 [BZ #13871]
44131 * math/w_exp2.c: Do not include <float.h>.
44132 (o_threshold, u_threshold): Remove.
44133 (__exp2): Calculate result before checking finiteness and calling
44134 __kernel_standard.
44135 * math/w_exp2f.c: Likewise.
44136 * math/w_exp2l.c: Likewise.
44137 * math/libm-test.inc (exp2_test): Require overflow exception for
44138 1e6 input.
44139
44140 [BZ #3866]
44141 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
44142 range of signed 64-bit integers before using fistpll. Remove
44143 checks for whether integers fit in mantissa bits.
44144 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
44145 the range of signed 32-bit integers before using fistpl. Remove
44146 checks for whether integers fit in mantissa bits.
44147 * sysdeps/i386/fpu/e_powl.S (p64): New object.
44148 (__ieee754_powl): Test for y outside the range of signed 64-bit
44149 integers before using fistpll. Reduce 64-bit values to 63-bit
44150 ones as needed.
44151 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
44152 divide-by-zero is raised for zero to large negative powers.
44153 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
44154 (__ieee754_powl): Test for y outside the range of signed 64-bit
44155 integers before using fistpll. Reduce 64-bit values to 63-bit
44156 ones as needed.
44157 * math/libm-test.inc (pow_test): Add more tests.
44158
441592012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44160
44161 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
44162 <stdio-common/_itoa.h>.
44163 * debug/segfault.c: Likewise.
44164 * elf/dl-cache.c: Likewise.
44165 * elf/dl-minimal.c: Likewise.
44166 * elf/dl-misc.c: Likewise.
44167 * elf/dl-sysdep.c: Likewise.
44168 * elf/dl-version.c: Likewise.
44169 * elf/rtld.c: Likewise.
44170 * hurd/hurdsock.c: Likewise.
44171 * hurd/lookup-retry.c: Likewise.
44172 * malloc/malloc.c: Likewise.
44173 * malloc/mtrace.c: Likewise.
44174 * nscd/nscd_getgr_r.c: Likewise.
44175 * nscd/nscd_getpw_r.c: Likewise.
44176 * nscd/nscd_getserv_r.c: Likewise.
44177 * posix/getopt_init.c: Likewise.
44178 * posix/wordexp.c: Likewise.
44179 * stdio-common/_itoa.c: Likewise.
44180 * stdio-common/printf_fphex.c: Likewise.
44181 * stdio-common/vfprintf.c: Likewise.
44182 * string/_strerror.c: Likewise.
44183 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
44184 * sysdeps/i386/i686/hp-timing.h: Likewise.
44185 * sysdeps/mach/_strerror.c: Likewise.
44186 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
44187 * sysdeps/mach/hurd/sethostid.c: Likewise.
44188 * sysdeps/mach/hurd/xmknodat.c: Likewise.
44189 * sysdeps/mach/xpg-strerror.c: Likewise.
44190 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44191 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44192 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
44193 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
44194 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44195 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
44196 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
44197 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
44198 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
44199 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
44200 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
44201 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44202 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
44203 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
44204 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
44205 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
44206 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
44207 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
44208 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
44209 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
44210 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
44211
44212 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
44213
44214 * stdio-common/_itoa.h: Moved to ...
44215 * sysdeps/generic/_itoa.h: Here.
44216
44217 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
44218
44219 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
44220 instead of "_itoa.h" and "_itowa.h".
44221 * stdio-common/vfprintf.: Likewise.
44222
442232012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44224
44225 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
44226 <bits/wordsize.h>.
44227 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
44228 (__signbit): Likwise.
44229 (llrintf): Likwise.
44230 (llrint): Likwise.
44231
442322012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44233
44234 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
44235 __WORDSIZE != 64.
44236
442372012-03-20 Joseph Myers <joseph@codesourcery.com>
44238
44239 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
44240 OVERFLOW_EXCEPTION_OK.
44241 * math/libm-test.inc ("Philosophy"): Update comment about
44242 exception testing.
44243 (OVERFLOW_EXCEPTION): Define.
44244 (OVERFLOW_EXCEPTION_OK): Likewise.
44245 (INVALID_EXCEPTION_OK): Renumber.
44246 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44247 (IGNORE_ZERO_INF_SIGN): Likewise.
44248 (test_exceptions): Handle FE_OVERFLOW.
44249 (exp10_test): Expect overflow exceptions.
44250 (exp2_test): Likewise.
44251 (expm1_test): Likewise.
44252 (nextafter_test): Likewise.
44253 (pow_test): Likewise.
44254 (scalbn_test): Likewise.
44255 (scalbln_test): Likewise.
44256
442572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44258
44259 * sysdeps/x86_64/bits/atomic.h
44260 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
44261 64bit integer.
44262 (atomic_exchange_acq): Likewise.
44263 (__arch_exchange_and_add_body): Likewise.
44264 (__arch_add_body): Likewise.
44265 (atomic_add_negative): Likewise.
44266 (atomic_add_zero): Likewise.
44267
442682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44269
44270 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
44271 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
44272
442732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44274
44275 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
44276 Check __x86_64__ instead of __WORDSIZE.
44277
442782012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44279
44280 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
44281
442822012-03-19 David S. Miller <davem@davemloft.net>
44283
44284 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44285
44286 * sysdeps/sparc/fpu/fenv_private.h: New file.
44287 * sysdeps/sparc/fpu/math_private.h: Use it.
44288 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
44289 Remove.
44290 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
44291 (libc_feholdexcept_setroundl): Remove.
44292 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
44293 Remove.
44294 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
44295 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
44296
442972012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44298
44299 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
44300 int64_t instead of long int.
44301 (INSERT_WORDS64): Likwise.
44302
443032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44304
44305 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
44306 _Unwind_GetCFA return to _Unwind_Ptr first.
44307
443082012-03-19 Joseph Myers <joseph@codesourcery.com>
44309
44310 [BZ #13629]
44311 * math/s_clog.c: Include <float.h>.
44312 (__clog): Scale large or subnormal inputs.
44313 * math/s_clogf.c: Likewise.
44314 * math/s_clogl.c: Likewise.
44315 * math/s_clog10.c: Include <float.h>.
44316 (M_LOG10_2): Define.
44317 (__clog10): Scale large or subnormal inputs.
44318 * math/s_clog10f.c: Likewise.
44319 * math/s_clog10l.c: Likewise.
44320 * math/libm-test.inc (clog_test): Add more tests.
44321 (clog10_test): Likewise.
44322 * sysdeps/i386/fpu/libm-test-ulps: Update.
44323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44324
44325 [BZ #11451]
44326 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
44327 x and y.
44328 * math/libm-test.inc (atan2_test): Add another test.
44329
44330 * Makerules (common-objdir-compile): Remove.
44331 * sysdeps/unix/Makefile (config-generated): Do not add
44332 $(unix-generated) to variable.
44333 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
44334 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
44335 Remove rule.
44336 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
44337 Likewise.
44338 [generic bits/local_lim.h] (before-compile): Do not append to
44339 variable.
44340 [generic bits/local_lim.h] (common-generated): Likewise.
44341 [generic sys/param.h] (before-compile): Do not append to variable.
44342 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
44343 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
44344 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
44345 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
44346 include.
44347 [generic sys/param.h] (sys/param.h-includes): Remove variable.
44348 [generic sys/param.h] (sys/param.h-includes): Remove rule.
44349 [generic sys/param.h] ($(addprefix
44350 $(common-objpfx),$(sys/param.h-includes))): Likewise.
44351 [generic sys/param.h] (common-generated): Do not append to
44352 variable.
44353 [generic sys/param.h] (sysdep_headers): Likewise.
44354 [generic bits/errno.h] (before-compile): Do not append to
44355 variable.
44356 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
44357 rule.
44358 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
44359 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
44360 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
44361 [generic bits/errno.h] (common-generated): Do not append to
44362 variable.
44363 [generic bits/ioctls.h] (before-compile): Do not append to
44364 variable.
44365 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
44366 rule.
44367 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
44368 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
44369 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
44370 rule.
44371 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
44372 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
44373 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
44374 [generic bits/ioctls.h] (common-generated): Do not append to
44375 variable.
44376 [generic sys/syscall.h] (syscall.h): Remove variable.
44377 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
44378 rule.
44379 [generic sys/syscall.h] (before-compile): Do not append to
44380 variable.
44381 [generic sys/syscall.h] (common-generated): Likewise.
44382 * sysdeps/unix/errnos-tmpl.c: Remove file.
44383 * sysdeps/unix/errnos.awk: Likewise.
44384 * sysdeps/unix/ioctls-tmpl.c: Likewise.
44385 * sysdeps/unix/ioctls.awk: Likewise.
44386 * sysdeps/unix/mk-local_lim.c: Likewise.
44387 * sysdeps/unix/snarf-ioctls: Likewise.
44388
443892012-03-19 Richard Henderson <rth@twiddle.net>
44390
44391 * sysdeps/i386/fpu/fenv_private.h: New file.
44392 * sysdeps/i386/fpu/math_private.h: Use it.
44393 (math_opt_barrier, math_force_eval): Remove.
44394 (libc_feholdexcept_setround_53bit): Remove.
44395 (libc_feupdateenv_53bit): Remove.
44396 * sysdeps/x86_64/fpu/math_private.h: Likewise.
44397 (math_opt_barrier, math_force_eval): Remove.
44398 (libc_feholdexcept): Remove.
44399 (libc_feholdexcept_setround): Remove.
44400 (libc_fetestexcept, libc_fesetenv): Remove.
44401 (libc_feupdateenv_test): Remove.
44402 (libc_feupdateenv, libc_feholdsetround): Remove.
44403 (libc_feresetround): Remove.
44404
44405 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
44406 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
44407
44408 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
44409 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
44410 (libc_feupdateenv_testl): New.
44411 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
44412 (libc_feupdateenv_testf): New.
44413 (libc_feupdateenv): Use libc_feupdateenv_test.
44414 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
44415 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
44416
44417 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
44418 (libc_feholdsetroundf, libc_feholdsetroundl): New.
44419 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
44420 (libc_feresetround_noex): New.
44421 (libc_feresetround_noexf): New.
44422 (libc_feresetround_noexl): New.
44423 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
44424 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
44425 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
44426 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
44427 SET_RESTORE_ROUND.
44428 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
44429 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
44430 (__cos): Likewise.
44431 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
44432 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
44433 SET_RESTORE_ROUND_NOEX.
44434 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
44435 SET_RESTORE_ROUND_NOEXF.
44436 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
44437 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
44438 (libc_feholdsetroundf): New.
44439 (libc_feresetround, libc_feresetroundf): New.
44440
44441 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
44442 (libc_feholdexcept_setround_53bit): Convert from macro to function.
44443 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
44444
44445 * sysdeps/generic/math_private.h: Include <fenv.h>.
44446 (default_libc_feholdexcept): New.
44447 (default_libc_feholdexcept_setround): New.
44448 (default_libc_fesetenv, default_libc_feupdateenv): New.
44449 (libc_feholdexcept): Only define if undefined.
44450 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
44451 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
44452 (libc_feholdexcept_setroundl): Likewise.
44453 (libc_feholdexcept_setround_53bit): Likewise.
44454 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
44455 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
44456 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
44457 (libc_feupdateenv_53bit): Likewise.
44458 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
44459 (libc_feholdexcept): Convert from macro to inline function.
44460 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
44461 (libc_fesetenv, libc_feupdateenv): Likewise.
44462
44463 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
44464 not previously defined.
44465 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
44466 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
44467 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
44468 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
44469 * sysdeps/ieee754/flt-32/math_private.h: New file.
44470 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
44471 math_private.h below SET_FLOAT_WORD.
44472 (__isnan, __isinf_ns, __finite): Remove.
44473 (__isnanf, __isinf_nsf, __finitef): Remove.
44474
444752012-03-18 Andreas Schwab <schwab@linux-m68k.org>
44476
44477 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44478
444792012-03-17 David S. Miller <davem@davemloft.net>
44480
44481 [BZ #6471]
44482 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
44483 for 2.16.
44484
444852012-03-16 David S. Miller <davem@davemloft.net>
44486
44487 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
44488 warnings.
44489
44490 [BZ #6471]
44491 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
44492 properly.
44493 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
44494 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
44495 sysdep_routines when subdir is sysvipc.
44496 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
44497 __getshmlba helper.
44498
44499 * sysdeps/sparc/fpu/libm-test/ulps: Update.
44500
445012012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44502
44503 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
44504 [__LP64__].
44505
445062012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44507
44508 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
44509 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
44510 (__lround): Renamed to ...
44511 (__llround): This. Replace long int with long long int.
44512 Define lround functions as aliases of llround functions.
44513 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
44514
445152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44516
44517 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
44518 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
44519 adresses to uintptr_t. Replace "long int" and "unsigned long
44520 int" with "greg_t" on va_arg.
44521
445222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44523
44524 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
44525 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
44526
44527 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
44528 Move e_machine check before EI_CLASS check. Handle x32
44529 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
44530 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
44531 SKIP_EM_IA_64 and include
44532 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
44533
44534 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
44535 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
44536 (add_system_dir): New macro.
44537
44538 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
44539 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
44540
445412012-03-16 Joseph Myers <joseph@codesourcery.com>
44542
44543 [BZ #2551]
44544 [BZ #2552]
44545 [BZ #2553]
44546 [BZ #2554]
44547 [BZ #2562]
44548 [BZ #2563]
44549 [BZ #2565]
44550 [BZ #2566]
44551 [BZ #2576]
44552 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
44553 (y0): Likewise.
44554 * math/w_j0f.c (j0f): Likewise.
44555 (y0f): Likewise.
44556 * math/w_j0l.c (__j0l): Likewise.
44557 (__y0l): Likewise.
44558 * math/w_j1.c (j1): Likewise.
44559 (y1): Likewise.
44560 * math/w_j1f.c (j1f): Likewise.
44561 (y1f): Likewise.
44562 * math/w_j1l.c (__j1l): Likewise.
44563 (__y1l): Likewise.
44564 * math/w_jn.c (jn): Likewise.
44565 (yn): Likewise.
44566 * math/w_jnf.c (jnf): Likewise.
44567 (ynf): Likewise.
44568 * math/w_jnl.c (__jnl): Likewise.
44569 (__ynl): Likewise.
44570 * math/libm-test.inc (j0_test): Add more tests.
44571 (j1_test): Likewise.
44572 (jn_test): Likewise. Add trailing semicolon to existing test.
44573 (y0_test): Likewise.
44574 (y1_test): Likewise.
44575 * sysdeps/i386/fpu/libm-test-ulps: Update.
44576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44577
44578 [BZ #13851]
44579 [BZ #13854]
44580 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
44581 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
44582 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
44583 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
44584 (__tanl): Set errno for infinite argument.
44585 * sysdeps/i386/fpu/mptan.c: Remove.
44586 * sysdeps/i386/fpu/s_tan.S: Likewise.
44587 * sysdeps/i386/fpu/s_tanl.S: Likewise.
44588 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
44589 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
44590 * math/libm-test.inc (tan_test): Add more tests and enable more
44591 tests for double and long double.
44592 * sysdeps/i386/fpu/libm-test-ulps: Update.
44593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44594
445952012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
44596
44597 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
44598 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
44599
446002012-03-16 Roland McGrath <roland@hack.frob.com>
44601
44602 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
44603 * configure.in: Use it for both main tree and add-ons.
44604 * configure: Regenerated.
44605
446062012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44607
44608 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
44609
446102012-03-16 Joseph Myers <joseph@codesourcery.com>
44611
44612 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
44613 in comment.
44614
44615 [BZ #13851]
44616 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
44617 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
44618 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
44619 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
44620 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
44621 infinite argument.
44622 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
44623 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
44624 != 0 for prec == 2.
44625 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
44626 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
44627 * sysdeps/i386/fpu/s_cosl.S: Likewise.
44628 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
44629 * sysdeps/i386/fpu/s_sinl.S: Likewise.
44630 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
44631 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
44632 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
44633 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
44634 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
44635 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
44636 * math/libm-test.inc (cos_test): Add more tests and enable more
44637 tests for long double.
44638 (sin_test): Likewise.
44639 (sincos_test): Likewise.
44640 * sysdeps/i386/fpu/libm-test-ulps: Update.
44641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44642
446432012-03-16 David S. Miller <davem@davemloft.net>
44644
44645 * sysdeps/sparc/fpu/math_private.h: New file.
44646
446472012-03-15 David S. Miller <davem@davemloft.net>
44648
44649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
44650 file.
44651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
44652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
44653 file.
44654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
44655 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
44656 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
44657 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
44658 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
44659 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
44660 sysdep routines.
44661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44662
44663 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
44664 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
44665
44666 * sysdeps/sparc/sparc-ifunc.h: New file.
44667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
44668 sparc-ifunc.h
44669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
44670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
44671 Likewise.
44672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
44673 Likewise.
44674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
44675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
44676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
44678 Likewise.
44679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
44681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
44683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
44684 Likewise.
44685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
44686 Likewise.
44687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
44689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
44690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
44691 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
44692 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
44693 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
44694 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
44695 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
44696 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
44697 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
44698 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
44699 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
44700 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
44701 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
44702 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
44703 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
44704 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
44705 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
44706 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
44707 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
44708 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
44709 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
44710 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
44711
447122012-03-15 Andreas Schwab <schwab@linux-m68k.org>
44713
44714 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
44715 scaling.
44716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44717
447182012-03-15 Andreas Jaeger <aj@suse.de>
44719
44720 [BZ #13852]
44721 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
44722 ieee754/flt-32 implementation for sin, cos and sincos.
44723 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
44724 * sysdeps/i386/fpu/s_cosf.S: Likewise.
44725 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
44726 * sysdeps/i386/fpu/s_sinf.S: Likewise.
44727 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
44728 ieee754/flt-32 implementation for tan.
44729
44730 * math/libm-test.inc (cos_test): Enable some large input tests for
44731 float as well
44732 (sin_test): Likewise.
44733 (sincos_test): Likewise.
44734 (tan_test): Add tests for large input.
44735
44736 * sysdeps/i386/fpu/libm-test-ulps: Update.
44737
447382012-03-15 Andreas Jaeger <aj@suse.de>
44739
44740 [BZ #13658]
44741 * math/libm-test.inc (cos_test): Add more test cases.
44742 (sin_test): Likewise.
44743 (sincos_test): Likewise.
44744
447452012-03-15 Andreas Jaeger <aj@suse.de>
44746
44747 [BZ #13837]
44748 * math/libm-test.inc (cos_test): Add a test case for large input
44749 value.
44750 (sin_test): Likewise.
44751 (sincos_test): Likewise.
44752
447532012-03-15 Andreas Jaeger <aj@suse.de>
44754 Joseph Myers <joseph@codesourcery.com>
44755
44756 [BZ #13658]
44757 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
44758 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
44759 * sysdeps/i386/fpu/branred.c: Likewise.
44760 * sysdeps/i386/fpu/dosincos.c: Likewise.
44761 * sysdeps/i386/fpu/mpa.c: Likewise.
44762 * sysdeps/i386/fpu/s_cos.S: Likewise.
44763 * sysdeps/i386/fpu/s_sin.S: Likewise.
44764 * sysdeps/i386/fpu/s_sincos.S: Likewise.
44765 * sysdeps/i386/fpu/sincos32.c: Likewise.
44766
44767 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
44768 Define.
44769 (libc_feupdateenv_53bit): Define.
44770 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
44771 Define.
44772 (libc_feupdateenv_53bit): Define.
44773
44774 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
44775 53 bit (without extend i386 double precision).
44776
44777 * math/libm-test.inc (sincos_test): Add tests for large input.
44778 (sin): Likewise.
44779 (cos): Likewise.
44780
44781 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
44782
447832012-03-15 Andreas Schwab <schwab@linux-m68k.org>
44784
44785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44786
447872012-03-15 David S. Miller <davem@davemloft.net>
44788
44789 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
44790 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
44791 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
44792 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
44793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
44794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
44795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
44796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
44797 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
44798 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
44799 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
44800 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
44801 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
44802 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
44803 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
44804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
44805 file.
44806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
44807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
44808 file.
44809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
44810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
44811 file.
44812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
44813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
44814 file.
44815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
44816 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
44817 fmin/fmax sysdep routines.
44818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44819
448202012-03-14 David S. Miller <davem@davemloft.net>
44821
44822 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
44823 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
44824 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
44825 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
44826 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
44827 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
44828 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
44829 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
44830 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
44831 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
44832 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
44833 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
44834 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
44835 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
44836 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
44837 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
44838 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
44839 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
44840 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
44841 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
44842 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
44843 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
44844 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
44845 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
44846 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
44847 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
44848 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
44849 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
44850 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
44851 routines.
44852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
44853 file.
44854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
44855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
44856 file.
44857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
44858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
44859 file.
44860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
44861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
44862 file.
44863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
44864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
44865 file.
44866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
44867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
44868 file.
44869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
44870 file.
44871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
44872 file.
44873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
44874 file.
44875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
44876 New file.
44877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
44878 file.
44879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
44880 file.
44881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
44882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
44883 file.
44884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
44885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
44886 file.
44887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
44888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
44889 file.
44890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
44891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
44892 VIS3 routines.
44893
44894 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
44895 New file.
44896
44897 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44898
44899 * sysdeps/sparc/configure.in: New file.
44900 * sysdeps/sparc/configure: Generate.
44901 * configure.in (libc_cv_sparc_as_vis3): Substitute.
44902 * configure: Regenerate.
44903 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
44904 * config.make.in (have-as-vis3): New.
44905 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
44906 available use -Av9d instead of -Av9a.
44907 * sysdeps/sparc/sparc64/Makefile: Likewise.
44908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
44909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
44910 New file.
44911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
44912 file.
44913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
44914 New file.
44915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
44916 file.
44917 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
44918 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
44919 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
44920 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
44921 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
44922
44923 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
44924 fzeros/fnegs to load 0x80000000 into a float register instead of
44925 using the stack.
44926 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
44927
449282012-03-14 Joseph Myers <joseph@codesourcery.com>
44929
44930 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44931 bits/syscall.h.
44932 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
44933 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
44934 ($(inst_includedir)/bits/syscall.h): Remove rule.
44935 ($(objpfx)bits/syscall.d): Include instead of
44936 $(objpfx)syscall-list.d.
44937 (generated): Change syscall-list.h and syscall-list.d to
44938 bits/syscall.h and bits/syscall.d.
44939
449402012-03-14 Roland McGrath <roland@hack.frob.com>
44941
44942 [BZ #13846]
44943 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
44944
449452012-03-14 Joseph Myers <joseph@codesourcery.com>
44946
44947 [BZ #13841]
44948 * math/s_csqrt.c: Include <float.h>.
44949 (__csqrt): Scale large or subnormal inputs.
44950 * math/s_csqrtf.c: Likewise.
44951 * math/s_csqrtl.c: Likewise.
44952 * math/libm-test.inc (csqrt_test): Add more tests.
44953 * sysdeps/i386/fpu/libm-test-ulps: Update.
44954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44955
44956 [BZ #13840]
44957 * math/libm-test.inc (hypot_test): Add more tests.
44958
449592012-03-13 David S. Miller <davem@davemloft.net>
44960
44961 [BZ #13840]
44962 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
44963 double-precision for the calculation instead of scaling.
44964
449652012-03-13 Joseph Myers <joseph@codesourcery.com>
44966
44967 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
44968 manipulate bits before adding and subtracting TWO52[sx].
44969 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
44970 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
44971 Likewise.
44972 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
44973
449742012-03-13 David S. Miller <davem@davemloft.net>
44975
44976 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
44977 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
44978 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
44979 rtld-global-offsets.h
44980 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44981
44982 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
44983 large parameters.
44984
44985 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
44986
44987 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
44988 'err' in the ifdef scope in which it is actually used.
44989
44990 * nss/nss_db/db-init.c: Include string.h
44991
449922012-03-12 David S. Miller <davem@davemloft.net>
44993
44994 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44995 masking out of the most significant byte of random value used.
44996 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44997 Fix coding style in previous change.
44998
44999 * sysdeps/unix/sysv/linux/kernel-features.h
45000 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
45001 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
45002 expression.
45003 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
45004 later.
45005
450062012-03-11 David S. Miller <davem@davemloft.net>
45007
45008 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
45009 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
45010 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
45011 for 'resultvar' otherwise things get truncated on 64-bit.
45012
45013 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45014 Fix masking out of the most significant byte of random value used.
45015
45016 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45017
450182012-03-10 Andreas Schwab <schwab@linux-m68k.org>
45019
45020 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45021
450222012-03-09 David S. Miller <davem@davemloft.net>
45023
45024 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
45025 variables with appropriate CPP guards.
45026 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
45027 from the frame pointer, not the stack pointer. Correct layout
45028 comments. Fix test on resulting framesize and the management of
45029 the outregs buffer for pltexit. Preserve floating point return
45030 values across _dl_call_pltexit call.
45031 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
45032 framesize and the management of the outregs buffer for pltexit.
45033 Preserve floating point return values across _dl_call_pltexit
45034 call.
45035 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
45036 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
45037 (la_sparc64_gnu_pltexit): New functions.
45038 (print_exit): Fix format string for return register value.
45039
450402012-03-10 Joseph Myers <joseph@codesourcery.com>
45041
45042 * sunrpc/Makefile (others): Add rpcgen.
45043 ($(objpfx)rpcgen): Remove special build rule and dependency on
45044 libc.
45045 * sunrpc/rpcgen.c: New file.
45046
450472012-03-09 Paul Eggert <eggert@cs.ucla.edu>
45048
45049 [BZ #13673]
45050 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
45051 * stdio-common/bug-vfprintf-nargs.c: Likewise.
45052 * sysdeps/i386/crti.S: Likewise.
45053 * sysdeps/i386/crtn.S: Likewise.
45054 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
45055 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
45056 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
45057 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
45058 * sysdeps/sh/crti.S: Likewise.
45059 * sysdeps/sh/crtn.S: Likewise.
45060 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45061
45062 [BZ #13673]
45063 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
45064 with URL.
45065 * locale/programs/locfile-kw.gperf: Likewise.
45066 * locale/programs/charmap-kw.h: Regenerated.
45067 * locale/programs/locfile-kw.h: Likewise.
45068
45069 [BZ #13673]
45070 * intl/plural.y: Replace FSF snail mail address with URL.
45071 * intl/plural.c: Regenerated.
45072
450732012-03-09 Richard Henderson <rth@twiddle.net>
45074
45075 * include/math_private.h: Remove file.
45076 * math/math_private.h: Move file ...
45077 * sysdeps/generic/math_private.h: ... here.
45078
45079 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
45080 * sysdeps/powerpc/fpu/math_private.h: Likewise.
45081 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45082
45083 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
45084 and <math_private.h>.
45085 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45086 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45087 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45088 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45089 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45090 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
45091 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45092 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45093 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45094 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45095 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45096 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45097 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45098 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45099 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45100 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45101 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45102 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45103 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45104 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45105 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45106 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45107 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45108 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45109 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45110 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45111 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45112 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45113 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45114 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45115 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45116 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45117 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45118 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45119 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45120 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45121 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45122 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45123 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45124 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45125 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
45126 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45127 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45128 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45129 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45130 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45131 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
45132 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45133 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45134 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45135 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45136 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
45137 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45138 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45139 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45140 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45141 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45142 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45143 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45144 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
45145 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45146 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45147 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45148 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45149 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
45150 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45151 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45152 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45153 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
45154 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
45155 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
45156 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45157 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
45158 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45159 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
45160 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
45161 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
45162 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45163 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
45164 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
45165 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
45166 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
45167 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
45168 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45169 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45170 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
45171 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
45172 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
45173 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45174 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45175 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45176 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45177 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45178 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45179 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45180 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45181 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45182 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45183 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45184 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45185 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45186 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45187 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45188 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45189 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45190 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45191 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45192 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45193 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45194 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45195 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45196 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45197 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45198 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45199 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
45200 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45201 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45202 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45203 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45204 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45205 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45206 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45207 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45208 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
45209 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45210 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45211 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45212 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
45213 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45214 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
45215 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
45216 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45217 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45218 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
45219 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
45220 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45221 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45222 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45223 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
45224 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45225 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45226 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45227 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45228 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
45229 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
45230 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45231 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45232 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45233 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
45234 * sysdeps/ieee754/k_standard.c: Likewise.
45235 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45236 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45237 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45238 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45239 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45240 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45241 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45242 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45243 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45244 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45245 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45246 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45247 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45248 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45249 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45250 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45251 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
45252 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45253 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45254 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
45255 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
45256 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
45257 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45258 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45259 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
45260 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
45261 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45262 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45263 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45264 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45265 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
45266 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45267 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45268 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45269 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
45270 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45271 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45272 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
45273 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
45274 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45275 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
45276 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
45277 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
45278 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45279 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
45280 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
45281 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45282 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45283 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45284 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45285 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45286 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
45287 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45288 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
45289 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45290 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45291 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
45292 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
45293 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45294 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45295 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45296 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
45297 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45298 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45299 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45300 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45301 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45302 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45303 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45304 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45305 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45306 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45307 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45308 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45309 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45310 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45311 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
45312 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45313 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45314 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
45315 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
45316 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
45317 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45318 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45319 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
45320 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45321 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45322 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
45323 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45324 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45325 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
45326 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45327 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
45328 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
45329 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45330 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45331 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
45332 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
45333 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
45334 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
45335 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45336 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45337 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45338 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45339 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
45340 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45341 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45342 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
45343 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
45344 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45345 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45346 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45347 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45348 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45349 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45350 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45351 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45352 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45353 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45354 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45355 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45356 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45357 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45358 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45359 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45360 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
45361 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45362 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45363 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45364 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45365 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45366 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45367 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45368 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
45369 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45370 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45371 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
45372 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
45373 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45374 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
45375 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
45376 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45377 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
45378 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
45379 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45380 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45381 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45382 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45383 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45384 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
45385 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45386 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45387 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45388 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45389 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
45390 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
45391 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45392 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45393 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45394 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
45395 * sysdeps/ieee754/s_lib_version.c: Likewise.
45396 * sysdeps/ieee754/s_matherr.c: Likewise.
45397 * sysdeps/ieee754/s_signgam.c: Likewise.
45398 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45399 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45400 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
45401 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
45402 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
45403 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45404 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
45405 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
45406 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
45407 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
45408 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
45409 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
45410 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45411 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45412 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
45413 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
45414 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
45415 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
45416 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
45417 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45418 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45419
454202012-03-09 Joseph Myers <joseph@codesourcery.com>
45421
45422 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
45423 * sunrpc/rpc_main.c: Likewise.
45424 * sunrpc/rpc_svcout.c: Likewise.
45425
454262012-03-09 David S. Miller <davem@davemloft.net>
45427
45428 * include/math_private.h: New file.
45429
454302012-03-09 Joseph Myers <joseph@codesourcery.com>
45431
45432 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
45433 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
45434 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
45435 from <bits/socket_type.h>.
45436 (enum __socket_type): Don't define here.
45437 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
45438 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45439 bits/socket_type.h.
45440
45441 [BZ #13566]
45442 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
45443 checking __USE_GNU.
45444
45445 * Makerules ($(inst_includedir)/%.h): New rule.
45446 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
45447 (install-others): Remove variable setting.
45448 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
45449
454502012-03-08 Richard Henderson <rth@twiddle.net>
45451
45452 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
45453 from macro to inline function; merge with the
45454 !__LIBC_INTERNAL_MATH_INLINES version.
45455 (__ieee754_sqrtf): Likewise.
45456
45457 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
45458 to inline function.
45459 (__rintf, __floor, __floorf): Likewise.
45460
45461 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
45462 macro to inline function.
45463 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
45464
45465 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
45466 not <math/math_private.h>.
45467
454682012-03-08 David S. Miller <davem@davemloft.net>
45469
45470 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
45471 copyright year.
45472 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
45473
454742012-03-08 Thomas Schwinge <thomas@codesourcery.com>
45475
45476 * resolv/gai_misc.c (handle_requests): Fix struct timespec
45477 normalization.
45478 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
45479 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
45480
454812012-03-08 Ulrich Drepper <drepper@gmail.com>
45482
45483 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
45484 be defined individually, they must be defined as a block. Define
45485 S for printing a string instead of hidint the different by using a
45486 macro for adding the 'l'.
45487 * stdio-common/tst-fphex-wide.c: Adjust.
45488
454892012-03-07 Marek Polacek <polacek@redhat.com>
45490
45491 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
45492
454932012-03-08 Marek Polacek <polacek@redhat.com>
45494
45495 [BZ #13806]
45496 * stdio-common/Makefile (tests): Add tst-fphex-wide.
45497 * stdio-common/tst-fphex.c: Define a few macros to make the
45498 test reusable. Use them.
45499 * stdio-common/tst-fphex-wide.c: New file.
45500
455012012-03-08 Joseph Myers <joseph@codesourcery.com>
45502
45503 [BZ #6911]
45504 * manual/macros.texi (gnusystems): New macro.
45505 (nongnusystems): Likewise.
45506 (gnulinuxhurdsystems): Likewise.
45507 (gnuhurdsystems): Likewise..
45508 (gnulinuxsystems): Likewise.
45509 * manual/charset.texi: Use new macros or @theglibc{} to refer to
45510 variants of the GNU system, not "GNU system".
45511 * manual/conf.texi: Likewise.
45512 * manual/errno.texi: Likewise. Update example of errno macro
45513 expansion.
45514 * manual/filesys.texi: Likewise.
45515 (getumask): Document as specific to GNU/Hurd.
45516 * manual/install.texi: Likewise. Reword some references to
45517 GNU/Linux.
45518 * manual/intro.texi: Likewise.
45519 * manual/io.texi: Likewise.
45520 (File Name Portability): Detail which constraints are inapplicable
45521 to all GNU systems and which are only inapplicable to GNU/Hurd.
45522 * manual/job.texi: Likewise.
45523 * manual/llio.texi: Likewise.
45524 (O_NOCTTY): Document as present on GNU/Linux.
45525 * manual/maint.texi: Likewise.
45526 * manual/memory.texi: Likewise.
45527 * manual/pattern.texi: Likewise.
45528 * manual/pipe.texi: Likewise.
45529 * manual/process.texi: Likewise.
45530 * manual/resource.texi: Likewise.
45531 (RUSAGE_CHILDREN): Remove statement about specifying a particular
45532 child on GNU/Hurd.
45533 * manual/setjmp.texi: Likewise.
45534 * manual/signal.texi: Likewise.
45535 * manual/startup.texi: Likewise.
45536 * manual/stdio.texi: Likewise.
45537 * manual/terminal.texi: Likewise.
45538 (ONLCR): Document as POSIX.
45539 (OXTABS): Document availability on GNU/Linux as XTABS.
45540 (ONOEOT): Document availability separately from other bits.
45541 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
45542 * manual/time.texi: Likewise.
45543 * manual/users.texi: Likewise.
45544 * INSTALL: Regenerated.
45545 * sysdeps/gnu/errlist.c: Regenerated.
45546
45547 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
45548 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
45549 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
45550 puts.
45551 * configure: Regenerated.
45552
455532012-03-07 Joseph Myers <joseph@codesourcery.com>
45554
45555 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
45556 default includes instead of AC_HEADER_CHECK.
45557 * sysdeps/i386/configure: Regenerated.
45558
45559 [BZ #10716]
45560 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
45561 * math/s_cacoshf.c (__cacoshf): Likewise.
45562 * math/s_cacoshl.c (__cacoshl): Likewise.
45563 * math/s_casinh.c (__casinh): Set signs of result from argument.
45564 * math/s_casinhf.c (__casinhf): Likewise.
45565 * math/s_casinhl.c (__casinhl): Likewise.
45566 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
45567 (casinh_test): Add more tests.
45568 * sysdeps/i386/fpu/libm-test-ulps: Update.
45569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45570
455712012-03-07 Ulrich Drepper <drepper@gmail.com>
45572
45573 * po/zh_TW.po: Update from translation team.
45574
45575 * login/Makefile (distribute): Remove variable.
45576 * catgets/Makefile: Likewise.
45577 * mach/Makefile: Likewise.
45578 * malloc/Makefile: Likewise.
45579 * misc/Makefile: Likewise.
45580 * iconv/Makefile: Likewise.
45581 * nscd/Makefile: Likewise.
45582 * hurd/Makefile: Likewise.
45583 * manual/Makefile: Likewise.
45584 * locale/Makefile: Likewise.
45585 * intl/Makefile: Likewise.
45586 * conform/Makefile: Likewise.
45587 * nss/Makefile: Likewise.
45588 * time/Makefile: Likewise.
45589 * soft-fp/Makefile: Likewise.
45590 * dirent/Makefile: Likewise.
45591 * gmon/Makefile: Likewise.
45592 * po/Makefile: Likewise.
45593 * rt/Makefile: Likewise.
45594 * socket/Makefile: Likewise.
45595 * math/Makefile: Likewise.
45596 * signal/Makefile: Likewise.
45597 * debug/Makefile: Likewise.
45598 * elf/Makefile: Likewise.
45599 * timezone/Makefile: Likewise.
45600 * stdlib/Makefile: Likewise.
45601 * iconvdata/Makefile: Likewise.
45602 * sunrpc/Makefile: Likewise.
45603 * io/Makefile: Likewise.
45604 * argp/Makefile: Likewise.
45605 * inet/Makefile: Likewise.
45606 * hesiod/Makefile: Likewise.
45607 * grp/Makefile: Likewise.
45608 * csu/Makefile: Likewise.
45609 * wctype/Makefile: Likewise.
45610 * crypt/Makefile: Likewise.
45611 * libio/Makefile: Likewise.
45612 * string/Makefile: Likewise.
45613 * nis/Makefile: Likewise.
45614 * resolv/Makefile: Likewise.
45615 * stdio-common/Makefile: Likewise.
45616 * wcsmbs/Makefile: Likewise.
45617 * dlfcn/Makefile: Likewise.
45618 * posix/Makefile: Likewise.
45619
45620 [BZ #6959]
45621 * timezone/Makefile: Don't install timezone files, just the programs
45622 and scripts.
45623
456242012-03-06 Ulrich Drepper <drepper@gmail.com>
45625
45626 * nss/databases.def: Add missing gshadow entry.
45627
45628 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
45629
456302012-03-06 Marek Polacek <polacek@redhat.com>
45631
45632 [BZ #13726]
45633 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
45634 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
45635 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
45636 * stdio-common/tst-long-dbl-fphex.c: New file.
45637
456382012-03-06 David S. Miller <davem@davemloft.net>
45639
45640 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45641 (set_obp_int): New function.
45642 (get_obp_int): New function.
45643 (__get_clockfreq_via_dev_openprom): Likewise.
45644 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
45645 Avoid unused variable warnings on 'val' and use builtin_expect.
45646 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
45647 __builtin_expect.
45648 (INLINE_CLONE_SYSCALL): Likewise.
45649
456502012-03-05 David S. Miller <davem@davemloft.net>
45651
45652 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45653
456542012-03-05 Andreas Schwab <schwab@linux-m68k.org>
45655
45656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45657
45658 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
45659 only for |x| >= 40.
45660 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45661
456622012-03-05 H.J. Lu <hongjiu.lu@intel.com>
45663
45664 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
45665 Replace gettimeofday with __vdso_gettimeofday.
45666
45667 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45668 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
45669 __vdso_clock_gettime and __vdso_getcpu.
45670
45671 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
45672 time with __vdso_time.
45673
456742012-03-05 Joseph Myers <joseph@codesourcery.com>
45675
45676 * manual/lang.texi (size_t): Note types to which size_t may be
45677 equivalent with the GNU C Library, but do not describe when
45678 differences between them are significant.
45679
456802012-03-05 Andreas Jaeger <aj@suse.de>
45681
45682 * sysdeps/i386/fpu/libm-test-ulps: Update.
45683
456842012-03-05 Joseph Myers <joseph@codesourcery.com>
45685
45686 [BZ #3976]
45687 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
45688 (__ieee754_pow): Save and restore rounding mode and use
45689 round-to-nearest for main computations.
45690 * math/libm-test.inc (pow_test_tonearest): New function.
45691 (pow_test_towardzero): Likewise.
45692 (pow_test_downward): Likewise.
45693 (pow_test_upward): Likewise.
45694 (main): Call the new functions.
45695 * sysdeps/i386/fpu/libm-test-ulps: Update.
45696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45697
45698 [BZ #3976]
45699 * math/libm-test.inc (cosh_test_tonearest): New function.
45700 (cosh_test_towardzero): Likewise.
45701 (cosh_test_downward): Likewise.
45702 (cosh_test_upward): Likewise.
45703 (sinh_test_tonearest): Likewise.
45704 (sinh_test_towardzero): Likewise.
45705 (sinh_test_downward): Likewise.
45706 (sinh_test_upward): Likewise.
45707 (main): Call the new functions.
45708 * sysdeps/i386/fpu/libm-test-ulps: Update.
45709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45710
457112012-03-05 Tom de Vries <tom@codesourcery.com>
45712
45713 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
45714 default stack guard is set in last bytes.
45715 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
45716
457172012-03-05 Kees Cook <keescook@chromium.org>
45718
45719 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
45720
45721 [BZ #13656]
45722 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
45723 possibly allocate from heap instead of stack.
45724 * stdio-common/bug-vfprintf-nargs.c: New file.
45725 * stdio-common/Makefile (tests): Add nargs overflow test.
45726
457272012-03-03 Andreas Schwab <schwab@linux-m68k.org>
45728
45729 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45730
457312012-03-03 Marek Polacek <polacek@redhat.com>
45732
45733 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
45734 * math/math_private.h: Likewise.
45735 * stdlib/tst-strtod.c: Likewise.
45736 * sysdeps/i386/i486/bits/atomic.h: Likewise.
45737 * sysdeps/x86_64/bits/atomic.h: Likewise.
45738
457392012-03-02 David S. Miller <davem@davemloft.net>
45740
45741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
45742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
45743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
45744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
45745 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
45746 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
45747 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
45748 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
45749
457502012-03-02 Roland McGrath <roland@hack.frob.com>
45751
45752 [BZ #13792]
45753 * manual/examples/README: New file, says the example source files
45754 can be used under GPL>=2.
45755 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
45756 line containing just "*/".
45757 * manual/examples/add.c: Add copyright header (GPL>=2).
45758 * manual/examples/argp-ex1.c: Likewise.
45759 * manual/examples/argp-ex2.c: Likewise.
45760 * manual/examples/argp-ex3.c: Likewise.
45761 * manual/examples/argp-ex4.c: Likewise.
45762 * manual/examples/atexit.c: Likewise.
45763 * manual/examples/db.c: Likewise.
45764 * manual/examples/dir.c: Likewise.
45765 * manual/examples/dir2.c: Likewise.
45766 * manual/examples/execinfo.c: Likewise.
45767 * manual/examples/filecli.c: Likewise.
45768 * manual/examples/filesrv.c: Likewise.
45769 * manual/examples/fmtmsgexpl.c: Likewise.
45770 * manual/examples/genpass.c: Likewise.
45771 * manual/examples/inetcli.c: Likewise.
45772 * manual/examples/inetsrv.c: Likewise.
45773 * manual/examples/isockad.c: Likewise.
45774 * manual/examples/longopt.c: Likewise.
45775 * manual/examples/memopen.c: Likewise.
45776 * manual/examples/memstrm.c: Likewise.
45777 * manual/examples/mkfsock.c: Likewise.
45778 * manual/examples/mkisock.c: Likewise.
45779 * manual/examples/mygetpass.c: Likewise.
45780 * manual/examples/pipe.c: Likewise.
45781 * manual/examples/popen.c: Likewise.
45782 * manual/examples/rprintf.c: Likewise.
45783 * manual/examples/search.c: Likewise.
45784 * manual/examples/select.c: Likewise.
45785 * manual/examples/setjmp.c: Likewise.
45786 * manual/examples/sigh1.c: Likewise.
45787 * manual/examples/sigusr.c: Likewise.
45788 * manual/examples/stpcpy.c: Likewise.
45789 * manual/examples/strdupa.c: Likewise.
45790 * manual/examples/strftim.c: Likewise.
45791 * manual/examples/strncat.c: Likewise.
45792 * manual/examples/subopt.c: Likewise.
45793 * manual/examples/swapcontext.c: Likewise.
45794 * manual/examples/termios.c: Likewise.
45795 * manual/examples/testopt.c: Likewise.
45796 * manual/examples/testpass.c: Likewise.
45797 * manual/examples/timeval_subtract.c: Likewise.
45798
45799 [BZ #13792]
45800 * manual/time.texi (Elapsed Time): Move timeval_subtract example
45801 function to ...
45802 * manual/timeval_subtract.c.texi: ... here, new file.
45803
458042012-03-02 David S. Miller <davem@davemloft.net>
45805
45806 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
45807
458082012-03-02 Joseph Myers <joseph@codesourcery.com>
45809
45810 [BZ #3976]
45811 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
45812 (__sin): Save and restore rounding mode and use round-to-nearest
45813 for all computations.
45814 (__cos): Save and restore rounding mode and use round-to-nearest
45815 for all computations.
45816 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
45817 <fenv.h>.
45818 (tan): Save and restore rounding mode and use round-to-nearest for
45819 all computations.
45820 * math/libm-test.inc (cos_test_tonearest): New function.
45821 (cos_test_towardzero): Likewise.
45822 (cos_test_downward): Likewise.
45823 (cos_test_upward): Likewise.
45824 (sin_test_tonearest): Likewise.
45825 (sin_test_towardzero): Likewise.
45826 (sin_test_downward): Likewise.
45827 (sin_test_upward): Likewise.
45828 (tan_test_tonearest): Likewise.
45829 (tan_test_towardzero): Likewise.
45830 (tan_test_downward): Likewise.
45831 (tan_test_upward): Likewise.
45832 (main): Call the new functions.
45833 * sysdeps/i386/fpu/libm-test-ulps: Update.
45834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45835
45836 [BZ #10135]
45837 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
45838 small n, then large n, before computing and testing k+n.
45839 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
45840 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
45841 Likewise.
45842 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
45843 Likewise.
45844 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
45845 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
45846 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
45847 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
45848 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
45849 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
45850 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
45851 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
45852 * math/libm-test.inc (scalbn_test): Add more tests.
45853 (scalbln_test): Likewise.
45854
45855 * manual/filesys.texi (mode_t): Describe constraints on size and
45856 signedness, not exact equivalence to a particular type.
45857 (ino_t): Likewise.
45858 (ino64_t): Likewise.
45859 (dev_t): Likewise.
45860 (nlink_t): Likewise.
45861 (blkcnt_t): Likewise.
45862 (blkcnt64_t): Likewise.
45863 * manual/llio.texi (off_t): Likewise.
45864
45865 [BZ #3976]
45866 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
45867 (__ieee754_exp): Save and restore rounding mode and use
45868 round-to-nearest for all computations.
45869 * math/libm-test.inc (exp_test_tonearest): New function.
45870 (exp_test_towardzero): Likewise.
45871 (exp_test_downward): Likewise.
45872 (exp_test_upward): Likewise.
45873 (main): Call the new functions.
45874 * sysdeps/i386/fpu/libm-test-ulps: Update.
45875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45876
458772012-03-01 Chris Demetriou <cgd@google.com>
45878
45879 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
45880 have predictable order.
45881
458822012-03-01 David S. Miller <davem@davemloft.net>
45883
45884 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
45885
45886 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
45887 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
45888 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
45889 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
45890
45891 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
45892 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
45893 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
45894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
45895 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
45896 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
45897 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
45898 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
45899 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
45900
45901 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45902
45903 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
45904 * sysdeps/sparc/fpu/libm-test-ulps: to here.
45905 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
45906
45907 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
45908 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45909 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45910 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
45911 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
45912 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
45913 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
45914 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45915 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45916 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
45917 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
45918 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45919 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45920 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45921 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45922 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45923 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
45924 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
45925 * sysdeps/sparc/elf/configure: Regenerated.
45926
459272012-03-01 Joseph Myers <joseph@codesourcery.com>
45928
45929 * configure.in (AS, LD): Require binutils 2.20 or later.
45930 * configure: Regenerated.
45931 * manual/install.texi (Tools for Compilation): Give binutils 2.20
45932 as required minimum version.
45933 * INSTALL: Regenerated.
45934
45935 [BZ #2541]
45936 [BZ #4108]
45937 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
45938 before squaring exponent.
45939 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
45940 bottom long double and 27 bits of top long double before squaring
45941 exponent.
45942 * math/libm-test.inc (erfc_test): Add more tests.
45943 * sysdeps/i386/fpu/libm-test-ulps: Update.
45944 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45946
459472012-03-01 Kai Tietz <ktietz@redhat.com>
45948
45949 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
45950 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
45951 containing bit-fields.
45952 * soft-fp/extended.h (_FP_UNION_E): Likewise.
45953 * soft-fp/single.h (_FP_UNION_S): Likewise.
45954 * soft-fp/double.h (_FP_UNION_D): Likewise.
45955
459562012-02-29 Joseph Myers <joseph@codesourcery.com>
45957
45958 [BZ #13786]
45959 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
45960 not include ../strcmp.S.
45961 [USE_AS_STRNCASECMP_L]: Likewise.
45962 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
45963 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
45964 * sysdeps/i386/i686/multiarch/strncase_l-c.c
45965 (__strncasecmp_l_ia32): Define as alias to
45966 __strncasecmp_l_nonascii.
45967
45968 [BZ #5794]
45969 * math/libm-test.inc (expm1_test): Add test for bug 5794.
45970 * sysdeps/i386/fpu/libm-test-ulps: Update.
45971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45972
45973 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
45974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45975
459762012-02-29 Jeff Law <law@redhat.com>
45977
45978 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
45979 out of bounds read.
45980
459812012-02-29 Marek Polacek <polacek@redhat.com>
45982
45983 [BZ #13706]
45984 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
45985 * elf/Makefile: Add rules to run tst-unused-dep.out.
45986
459872012-02-28 David S. Miller <davem@davemloft.net>
45988
45989 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
45990 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
45991 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
45992 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
45993 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
45994 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
45995
459962012-02-29 Joseph Myers <joseph@codesourcery.com>
45997
45998 * math/libm-test.inc (llround_test): Move one test from
45999 lround_test. Use TEST_f_L in moved test.
46000 (lround_test): Move misplaced test to llround_test. Add testcase
46001 from bug 2561.
46002
460032012-02-28 Ulrich Drepper <drepper@gmail.com>
46004
46005 * sysdeps/x86_64/fpu/e_expf.S: New file.
46006 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
46007
460082012-02-28 Stanislav Brabec <sbrabec@suse.cz>
46009
46010 [BZ #13637]
46011 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
46012 of remain_len that may cause incomplete multi-byte character and
46013 false match.
46014 * posix/bug-regex33.c: New file.
46015 * posix/Makefile (tests): Add bug-regex33.
46016
460172012-02-28 Joseph Myers <joseph@codesourcery.com>
46018
46019 * manual/macros.texi: New file.
46020 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
46021 * manual/libc.texinfo: Include macros.texi.
46022 * manual/creatute.texi: Likewise.
46023 * manual/install.texi: Likewise.
46024 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
46025 @glibcadj{} in references to the GNU C Library.
46026 * manual/charset.texi: Likewise.
46027 * manual/conf.texi: Likewise.
46028 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
46029 when not using those macros.
46030 * manual/creature.texi: Likewise.
46031 * manual/crypt.texi: Likewise.
46032 * manual/errno.texi: Likewise.
46033 * manual/filesys.texi: Likewise.
46034 * manual/header.texi: Likewise.
46035 * manual/install.texi: Likewise.
46036 * manual/intro.texi: Likewise.
46037 * manual/io.texi: Likewise.
46038 * manual/job.texi: Likewise.
46039 * manual/lang.texi: Likewise.
46040 * manual/libc.texiinfo: Likewise.
46041 * manual/llio.texi: Likewise.
46042 * manual/locale.texi: Likewise.
46043 * manual/maint.texi: Likewise.
46044 * manual/math.texi: Likewise.
46045 * manual/memory.texi: Likewise.
46046 * manual/message.texi: Likewise.
46047 * manual/nss.texi: Likewise.
46048 * manual/pattern.texi: Likewise.
46049 * manual/process.texi: Likewise.
46050 * manual/resource.texi: Likewise.
46051 * manual/search.texi: Likewise.
46052 * manual/setjmp.texi: Likewise.
46053 * manual/signal.texi: Likewise.
46054 * manual/socket.texi: Likewise.
46055 * manual/startup.texi: Likewise.
46056 * manual/stdio.texi: Likewise.
46057 * manual/string.texi: Likewise.
46058 * manual/sysinfo.texi: Likewise.
46059 * manual/syslog.texi: Likewise.
46060 * manual/terminal.texi: Likewise.
46061 * manual/time.texi: Likewise.
46062 * manual/users.texi: Likewise.
46063 * INSTALL: Regenerated.
46064 * NOTES: Regenerated.
46065 * sysdeps/gnu/errlist.c: Regenerated.
46066
460672012-02-28 Andreas Schwab <schwab@linux-m68k.org>
46068
46069 * include/dirent.h: Include <dirstream.h> before
46070 <dirent/dirent.h>.
46071
460722012-02-28 David S. Miller <davem@davemloft.net>
46073
46074 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
46075 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
46076 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
46077 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
46078
460792012-02-27 David S. Miller <davem@davemloft.net>
46080
46081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
46082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
46083 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
46084 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
46085
46086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
46087 frame pointer instead of stack pointer relative arg slot.
46088 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46089 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46090 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46091
460922012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
46093
46094 [BZ #3992]
46095 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
46096
460972012-02-27 David S. Miller <davem@davemloft.net>
46098
46099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
46100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
46103 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46104 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46105 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
46106 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
46107
461082012-02-27 Joseph Myers <joseph@codesourcery.com>
46109
46110 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
46111 later. Allow versions 5-9.
46112 * configure: Regenerated.
46113 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
46114 required minimum version and 4.6 as recommended version. Do not
46115 mention bugs in GCC 2.7 and 2.8.
46116 * INSTALL: Regenerated.
46117
461182012-02-27 David S. Miller <davem@davemloft.net>
46119
46120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
46121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
46122 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
46123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
46124 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
46125 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
46126 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
46127 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
46128
46129 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
46130 manipulate bits before adding and subtracting TWO112[sx].
46131 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
46132
461332012-02-27 Roland McGrath <roland@hack.frob.com>
46134
46135 [BZ #13775]
46136 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
46137 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
46138 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
46139 being in POSIX, because they are in 1003.1-2008.
46140
46141 * rt/tst-aio.c: Include <fcntl.h>.
46142 * rt/tst-aio7.c: Likewise.
46143 * rt/tst-aio64.c: Likewise.
46144
46145 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
46146
461472012-02-27 Joseph Myers <joseph@codesourcery.com>
46148
46149 * manual/install.texi (--with-headers): Describe headers as
46150 interface headers, not private headers.
46151 (Specific advice for GNU/Linux systems): Describe use of headers
46152 from "make headers_install", not private headers from older
46153 kernels.
46154 * INSTALL: Regenerated.
46155 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
46156 Change to 2.6.19.
46157 * sysdeps/unix/sysv/linux/configure: Regenerated.
46158
46159 * manual/llio.texi (fclean): Remove documentation.
46160
46161 * manual/Makefile (libc-texi-generated): New variable. Include
46162 version.texi.
46163 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
46164 $(libc-texi-generated), not duplicated list of files.
46165 (version.texi, stamp-version): New rules.
46166 (realclean): Remove $(libc-texi-generated), not individual files
46167 from that list. Do not remove dir-add.texinfo.
46168 * manual/libc.texinfo: Comment out uses of edition numbers and
46169 references to printed manual. Remove last-updated dates.
46170 (EDITION): Comment out.
46171 (ISBN): Likewise.
46172 (VERSION, UPDATED): Remove.
46173 (version.texi): Include.
46174
461752012-02-27 Andreas Schwab <schwab@linux-m68k.org>
46176
46177 * sysdeps/posix/spawni.c: Include <signal.h>.
46178 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
46179 * sysdeps/pthread/aio_fsync.c: Likewise.
46180
461812012-02-26 Ulrich Drepper <drepper@gmail.com>
46182
46183 * conform/Makefile (tests): Run only when not cross-compiling and
46184 when fast-check is not defined.
46185
46186 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
46187 * conform/data/limits.h-data: Fixes for POSIX2008.
46188 * conform/run-conformtest.sh: Run all tests.
46189 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
46190 headers.
46191 * include/bits/dlfcn.h: Likewise.
46192 * include/langinfo.h: Likewise.
46193 * include/monetary.h: Likewise.
46194 * include/sys/poll.h: Likewise.
46195
46196 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
46197 for __USE_GNU.
46198 * posix/spawn.h: Define __need_sigset_t.
46199 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
46200 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
46201 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
46202 to get sigevent_t only.
46203 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
46204 only for __USE_GNU.
46205 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46206 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46207 process_vm_writev only for __USE_GNU.
46208 * termios/termios.h: Declare tcgetsid also for POSIX2008.
46209
46210 * conform/Makefile: For now ignore errors from run-conformtest.
46211 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
46212 POSIX to avoid namespace pollution. Don't prepend headers.
46213 * conform/data/aio.h-data: Fixes for POSIX testing.
46214 * conform/data/fcntl.h-data: Likewise.
46215 * conform/data/glob.h-data: Likewise.
46216 * conform/data/grp.h-data: Likewise.
46217 * conform/data/pthread.h-data: Likewise.
46218 * conform/data/pwd.h-data: Likewise.
46219 * conform/data/signal.h-data: Likewise.
46220 * conform/data/spawn.h-data: Likewise.
46221 * conform/data/stdio.h-data: Likewise.
46222 * conform/data/stdlib.h-data: Likewise.
46223 * conform/data/stropts.h-data: Likewise.
46224 * conform/data/sys/mman.h-data: Likewise.
46225 * conform/data/sys/stat.h-data: Likewise.
46226 * conform/data/sys/types.h-data: Likewise.
46227 * conform/data/sys/wait.h-data: Likewise.
46228 * conform/data/time.h-data: Likewise.
46229 * conform/data/unistd.h-data: Likewise.
46230 * conform/data/utime.h-data: Likewise.
46231
46232 * io/sys/stat.h: fchmod was always in POSIX.
46233 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
46234 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
46235 * rt/aio.h: Define __need_timespec before including <time.h>.
46236 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
46237 struct. Add forward declaration of pthread_attr_t and use it in
46238 sigevent.
46239 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46240 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46241 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
46242 always remove CLK_TCK definition.
46243
462442012-02-26 Andreas Schwab <schwab@linux-m68k.org>
46245
46246 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
46247
462482012-02-25 Ulrich Drepper <drepper@gmail.com>
46249
46250 * conform/run-conformtest.sh: New file.
46251 * conform/Makefile: Run run-conformtest for tests.
46252 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
46253 support.
46254
46255 * conform/data/uchar.h-data: New file.
46256 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
46257 * conform/data/arpa/inet.h-data: Likewise.
46258 * conform/data/assert.h-data: Likewise.
46259 * conform/data/complex.h-data: Likewise.
46260 * conform/data/cpio.h-data: Likewise.
46261 * conform/data/ctype.h-data: Likewise.
46262 * conform/data/dirent.h-data: Likewise.
46263 * conform/data/dlfcn.h-data: Likewise.
46264 * conform/data/errno.h-data: Likewise.
46265 * conform/data/fcntl.h-data: Likewise.
46266 * conform/data/float.h-data: Likewise.
46267 * conform/data/fmtmsg.h-data: Likewise.
46268 * conform/data/fnmatch.h-data: Likewise.
46269 * conform/data/ftw.h-data: Likewise.
46270 * conform/data/glob.h-data: Likewise.
46271 * conform/data/grp.h-data: Likewise.
46272 * conform/data/iconv.h-data: Likewise.
46273 * conform/data/inttypes.h-data: Likewise.
46274 * conform/data/langinfo.h-data: Likewise.
46275 * conform/data/libgen.h-data: Likewise.
46276 * conform/data/limits.h-data: Likewise.
46277 * conform/data/locale.h-data: Likewise.
46278 * conform/data/math.h-data: Likewise.
46279 * conform/data/monetary.h-data: Likewise.
46280 * conform/data/mqueue.h-data: Likewise.
46281 * conform/data/ndbm.h-data: Likewise.
46282 * conform/data/net/if.h-data: Likewise.
46283 * conform/data/netdb.h-data: Likewise.
46284 * conform/data/netinet/in.h-data: Likewise.
46285 * conform/data/nl_types.h-data: Likewise.
46286 * conform/data/poll.h-data: Likewise.
46287 * conform/data/pthread.h-data: Likewise.
46288 * conform/data/pwd.h-data: Likewise.
46289 * conform/data/regex.h-data: Likewise.
46290 * conform/data/sched.h-data: Likewise.
46291 * conform/data/search.h-data: Likewise.
46292 * conform/data/semaphore.h-data: Likewise.
46293 * conform/data/setjmp.h-data: Likewise.
46294 * conform/data/signal.h-data: Likewise.
46295 * conform/data/spawn.h-data: Likewise.
46296 * conform/data/stdarg.h-data: Likewise.
46297 * conform/data/stdio.h-data: Likewise.
46298 * conform/data/stdlib.h-data: Likewise.
46299 * conform/data/string.h-data: Likewise.
46300 * conform/data/strings.h-data: Likewise.
46301 * conform/data/stropts.h-data: Likewise.
46302 * conform/data/sys/ipc.h-data: Likewise.
46303 * conform/data/sys/mman.h-data: Likewise.
46304 * conform/data/sys/msg.h-data: Likewise.
46305 * conform/data/sys/resource.h-data: Likewise.
46306 * conform/data/sys/select.h-data: Likewise.
46307 * conform/data/sys/sem.h-data: Likewise.
46308 * conform/data/sys/shm.h-data: Likewise.
46309 * conform/data/sys/socket.h-data: Likewise.
46310 * conform/data/sys/stat.h-data: Likewise.
46311 * conform/data/sys/statvfs.h-data: Likewise.
46312 * conform/data/sys/time.h-data: Likewise.
46313 * conform/data/sys/timeb.h-data: Likewise.
46314 * conform/data/sys/times.h-data: Likewise.
46315 * conform/data/sys/types.h-data: Likewise.
46316 * conform/data/sys/uio.h-data: Likewise.
46317 * conform/data/sys/un.h-data: Likewise.
46318 * conform/data/sys/utsname.h-data: Likewise.
46319 * conform/data/sys/wait.h-data: Likewise.
46320 * conform/data/syslog.h-data: Likewise.
46321 * conform/data/tar.h-data: Likewise.
46322 * conform/data/termios.h-data: Likewise.
46323 * conform/data/utime.h-data: Likewise.
46324 * conform/data/utmpx.h-data: Likewise.
46325 * conform/data/varargs.h-data: Likewise.
46326 * conform/data/wchar.h-data: Likewise.
46327 * conform/data/wctype.h-data: Likewise.
46328 * conform/data/wordexp.h-data: Likewise.
46329
46330 * include/stropts.h: New file.
46331 * include/uchar.h: New file.
46332 * include/aio.h: Changes to allow conformtest.pl to use the headers.
46333 * include/assert.h: Likewise.
46334 * include/ctype.h: Likewise.
46335 * include/dirent.h: Likewise.
46336 * include/dlfcn.h: Likewise.
46337 * include/fcntl.h: Likewise.
46338 * include/fnmatch.h: Likewise.
46339 * include/glob.h: Likewise.
46340 * include/grp.h: Likewise.
46341 * include/libio.h: Likewise.
46342 * include/locale.h: Likewise.
46343 * include/math.h: Likewise.
46344 * include/net/if.h: Likewise.
46345 * include/netdb.h: Likewise.
46346 * include/netinet/in.h: Likewise.
46347 * include/pthread.h: Likewise.
46348 * include/pwd.h: Likewise.
46349 * include/regex.h: Likewise.
46350 * include/sched.h: Likewise.
46351 * include/search.h: Likewise.
46352 * include/setjmp.h: Likewise.
46353 * include/signal.h: Likewise.
46354 * include/stdio.h: Likewise.
46355 * include/stdlib.h: Likewise.
46356 * include/string.h: Likewise.
46357 * include/sys/cdefs.h: Likewise.
46358 * include/sys/mman.h: Likewise.
46359 * include/sys/msg.h: Likewise.
46360 * include/sys/resource.h: Likewise.
46361 * include/sys/select.h: Likewise.
46362 * include/sys/socket.h: Likewise.
46363 * include/sys/stat.h: Likewise.
46364 * include/sys/statvfs.h: Likewise.
46365 * include/sys/time.h: Likewise.
46366 * include/sys/times.h: Likewise.
46367 * include/sys/uio.h: Likewise.
46368 * include/sys/utsname.h: Likewise.
46369 * include/sys/wait.h: Likewise.
46370 * include/termios.h: Likewise.
46371 * include/time.h: Likewise.
46372 * include/ulimit.h: Likewise.
46373 * include/unistd.h: Likewise.
46374 * include/utime.h: Likewise.
46375 * include/wchar.h: Likewise.
46376 * include/wctype.h: Likewise.
46377 * include/wordexp.h: Likewise.
46378
46379 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
46380
46381 * time/time.h: TIME_UTC must be a macro.
46382 Make timespec_get available for ISO C11 only as well.
46383
463842012-02-24 Ulrich Drepper <drepper@gmail.com>
46385
46386 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
46387 Reported by Peng Haitao <penght@cn.fujitsu.com>.
46388
463892012-02-24 Joseph Myers <joseph@codesourcery.com>
46390
46391 * configure.in: Use -o not -a in test for unsupported multi-arch.
46392
463932012-02-24 Joseph Myers <joseph@codesourcery.com>
46394
46395 * manual/texinfo.tex: Update to version 2012-01-19.16.
46396
463972012-02-24 Joseph Myers <joseph@codesourcery.com>
46398
46399 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
46400
464012012-02-24 Roland McGrath <roland@hack.frob.com>
46402
46403 [BZ #13738]
46404 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
46405 * manual/fdl-1.3.texi: New file.
46406 * manual/fdl-1.1.texi: File removed.
46407
46408 [BZ #13738]
46409 * manual/libc.texinfo (FDL_VERSION): New @set.
46410 Use it for mention of FDL in cover text.
46411 (Documentation License): Use it in @include file name.
46412
464132012-02-22 Joseph Myers <joseph@codesourcery.com>
46414 Roland McGrath <roland@hack.frob.com>
46415
46416 [BZ #5461]
46417 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
46418 (not LONG_LONG_MAX and LONG_LONG_MIN.
46419 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
46420 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
46421 name.
46422 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
46423
464242012-02-22 Joseph Myers <joseph@codesourcery.com>
46425
46426 [BZ #2547]
46427 [BZ #11365]
46428 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
46429 manipulate bits before adding and subtracting TWO23[sx].
46430 * math/libm-test.inc (nearbyint_test): Add more tests.
46431
464322012-02-22 Joseph Myers <joseph@codesourcery.com>
46433
46434 [BZ #2548]
46435 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
46436 bits before adding and subtracting TWO23[sx].
46437 * math/libm-test.inc (rint_test): Add more tests.
46438 (rint_test_tonearest): Likewise.
46439 (rint_test_towardzero): Likewise.
46440 (rint_test_downward): Likewise.
46441 (rint_test_upward: Likewise.
46442
464432012-02-22 Joseph Myers <joseph@codesourcery.com>
46444
46445 [BZ #10110]
46446 * include/stdc-predef.h: New file. Extracted from features.h.
46447 * include/features.h: Include stdc-predef.h.
46448 * Makefile (headers): Add stdc-predef.h.
46449 * CONFORMANCE (Compiler limitations): Update.
46450
464512012-02-22 Joseph Myers <joseph@codesourcery.com>
46452
46453 * manual/libc.texinfo (VERSION, UPDATED): Revert.
46454
464552012-02-21 David S. Miller <davem@davemloft.net>
46456
46457 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
46458 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46459
464602012-02-20 David S. Miller <davem@davemloft.net>
46461
46462 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
46463 using a normal save/restore sequence, rather than allocating a
46464 dummy stack frame just to store a frame pointer and restore.
46465 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46466
464672012-02-21 Joseph Myers <joseph@codesourcery.com>
46468
46469 * manual/install.texi: Fix stray word in line-wrapped comment.
46470
464712012-02-20 David S. Miller <davem@davemloft.net>
46472
46473 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
46474 both binutils and gcc support GOTDATA.
46475
46476 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
46477 "rd %pc" in the PIC register setup sequences.
46478
46479 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
46480 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
46481 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46482 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
46483 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46484 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46485 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46486 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46487 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
46488 (SYSCALL_ERROR_HANDLER): Likewise.
46489 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46490 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46491 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
46492 (SYSCALL_ERROR_HANDLER): Likewise.
46493
46494 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
46495 (HAVE_GCC_GOTDATA): New.
46496 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
46497 relocation support in both binutils and gcc.
46498 * sysdeps/sparc/elf/configure: Regenerate.
46499
46500 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
46501 * sysdeps/sparc/sparc32/elf/configure: Delete.
46502 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
46503 * sysdeps/sparc/sparc64/elf/configure: Delete.
46504 * sysdeps/sparc/elf/configure.in: New file.
46505 * sysdeps/sparc/elf/configure: Generate.
46506
46507 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
46508 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
46509 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46510 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
46511 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
46512
465132012-02-21 Joseph Myers <joseph@codesourcery.com>
46514
46515 * manual/install.texi: Do not mention specific glibc version
46516 numbers.
46517 * manual/libc.texinfo (VERSION, UPDATED): Update.
46518 (@copying): Use @copyright{} and range of years.
46519
465202012-02-21 Joseph Myers <joseph@codesourcery.com>
46521
46522 [BZ #13695]
46523 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
46524 [crti.S not in sysdirs] (generated): Do not append.
46525 [crti.S not in sysdirs] (omit-deps): Likewise.
46526 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
46527 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
46528 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
46529 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
46530 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
46531 Likewise.
46532 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
46533 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
46534 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
46535 * csu/defs.awk: Remove file.
46536 * sysdeps/generic/initfini.c: Likewise.
46537 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
46538 variable.
46539 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
46540 Likewise.
46541
465422012-02-20 Joseph Myers <joseph@codesourcery.com>
46543
46544 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
46545 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
46546 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
46547 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
46548 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46549 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
46550 <bits/epoll.h>.
46551 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
46552 (__EPOLL_PACKED): Define to empty if not defined by
46553 <bits/epoll.h>.
46554 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
46555 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46556 bits/epoll.h.
46557
465582012-02-20 Joseph Myers <joseph@codesourcery.com>
46559
46560 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
46561 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
46562 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
46563 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
46564 <bits/timerfd.h>.
46565 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
46566 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46567 bits/timerfd.h.
46568
465692012-02-20 Joseph Myers <joseph@codesourcery.com>
46570
46571 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
46572 in C locale.
46573 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46574 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46575 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
46576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46577
465782012-02-20 Aurelien Jarno <aurelien@aurel32.net>
46579
46580 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46581 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46582
465832012-02-19 Andreas Schwab <schwab@linux-m68k.org>
46584
46585 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
46586 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
46587 defined.
46588 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
46589 Likewise.
46590 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
46591 entry for 2.16.
46592
465932012-02-19 Aurelien Jarno <aurelien@aurel32.net>
46594
46595 * math/w_acos.c: Use non-signaling floating-point comparisons.
46596 * math/w_acosf.c: Likewise.
46597 * math/w_acosh.c: Likewise.
46598 * math/w_acoshf.c: Likewise.
46599 * math/w_acoshl.c: Likewise.
46600 * math/w_acosl.c: Likewise.
46601 * math/w_asin.c: Likewise.
46602 * math/w_asinf.c: Likewise.
46603 * math/w_asinl.c: Likewise.
46604 * math/w_atanh.c: Likewise.
46605 * math/w_atanhf.c: Likewise.
46606 * math/w_atanhl.c: Likewise.
46607 * math/w_exp2.c: Likewise.
46608 * math/w_exp2f.c: Likewise.
46609 * math/w_exp2l.c: Likewise.
46610 * math/w_j0.c: Likewise.
46611 * math/w_j0f.c: Likewise.
46612 * math/w_j0l.c: Likewise.
46613 * math/w_j1.c: Likewise.
46614 * math/w_j1f.c: Likewise.
46615 * math/w_j1l.c: Likewise.
46616 * math/w_jn.c: Likewise.
46617 * math/w_jnf.c: Likewise.
46618 * math/w_log.c: Likewise.
46619 * math/w_log10.c: Likewise.
46620 * math/w_log10f.c: Likewise.
46621 * math/w_log10l.c: Likewise.
46622 * math/w_log2.c: Likewise.
46623 * math/w_log2f.c: Likewise.
46624 * math/w_log2l.c: Likewise.
46625 * math/w_logf.c: Likewise.
46626 * math/w_logl.c: Likewise.
46627 * math/w_sqrt.c: Likewise.
46628 * math/w_sqrtf.c: Likewise.
46629 * math/w_sqrtl.c: Likewise.
46630 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46631 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
46632 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46633 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46634 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46635
466362012-02-19 Joseph Myers <joseph@codesourcery.com>
46637
46638 [BZ #9739]
46639 * manual/string.texi (strnlen): Use correct parameter name in
46640 equivalent expression.
46641
466422012-02-19 Joseph Myers <joseph@codesourcery.com>
46643
46644 [BZ #11174]
46645 * manual/users.texi (seteuid): Consistently use neweuid for
46646 argument name.
46647
466482012-02-19 Joseph Myers <joseph@codesourcery.com>
46649
46650 [BZ #13704]
46651 * manual/nss.texi (Services in the NSS configuration): Correct
46652 list of services in example configuration file.
46653
466542012-02-19 Nick Bowler <nbowler@draconx.ca>
46655
46656 [BZ #11322]
46657 * manual/arith.texi: Remove statements about negative zero
46658 behaving identically to zero.
46659
466602012-02-18 Joseph Myers <joseph@codesourcery.com>
46661
46662 [BZ #5993]
46663 * manual/install.texi: Do not document upgrading from libc5.
46664
466652012-02-18 Joseph Myers <joseph@codesourcery.com>
46666
46667 [BZ #4596]
46668 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
46669
466702012-02-18 David S. Miller <davem@davemloft.net>
46671
46672 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
46673 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
46674 %o7 across the call.
46675 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
46676 instead.
46677 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
46678 SETUP_PIC_REG_LEAF.
46679 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46680 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
46681 * sysdeps/sparc/crtn.S: Likewise.
46682
466832012-02-17 Ulrich Drepper <drepper@gmail.com>
46684
46685 * aout/Makefile: Remove.
46686
466872012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
46688
46689 [BZ #13058]
46690 * manual/examples/argp-ex1.c (main): Format definition in GNU
46691 style.
46692 * manual/examples/argp-ex2.c (main): Likewise.
46693 * manual/examples/argp-ex3.c (main): Likewise.
46694 * manual/examples/argp-ex4.c (main): Likewise.
46695 * manual/examples/longopt.c (main): Use new-style prototype
46696 definition.
46697 * manual/examples/strncat.c (main): Specify return type and use
46698 (void) for arguments.
46699 * manual/examples/subopt.c (main): Use char **argv argument.
46700
467012012-02-17 Joseph Myers <joseph@codesourcery.com>
46702
46703 [BZ #5077]
46704 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
46705 rounding modes.
46706
467072012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
46708
46709 [BZ #6907]
46710 * manual/string.texi (strchr): Change when strchrnul is
46711 recommended.
46712
467132012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
46714
46715 [BZ #174]
46716 * manual/locale.texi (setlocale): Document LOCPATH.
46717
467182012-02-17 Joseph Myers <joseph@codesourcery.com>
46719
46720 [BZ #10210]
46721 * manual/process.texi (execle): Move @dots{} before last argument.
46722
467232012-02-17 Paul Bolle <pebolle@tiscali.nl>
46724
46725 [BZ #12047]
46726 * manual/charset.texi (Generic Charset Conversion): Fix typo
46727 (LC_TYPE -> LC_CTYPE).
46728
467292012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
46730
46731 [BZ #5805]
46732 * manual/arith.texi (scalbn): Use @var{} on parameter names.
46733 (scalbnf): Likewise.
46734 (scalbnl): Likewise.
46735 (scalbln): Likewise.
46736 (scalblnf): Likewise.
46737 (scalblnl): Likewise.
46738 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
46739 (vwarnx): Likewise.
46740 (verr): Likewise.
46741 (verrx): Likewise.
46742 * manual/filesys.texi (telldir): Use braces around return type.
46743 * manual/llio.texi (mmap): Add space after comma.
46744 (mmap64): Likewise.
46745 * manual/math.texi (jn): Use @var{} on parameter names.
46746 (jnf): Likewise.
46747 (jnl): Likewise.
46748 (yn): Likewise.
46749 (ynf): Likewise.
46750 (ynl): Likewise.
46751 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
46752 line.
46753 * manual/resource.texi (ulimit): Use @dots{} instead of literal
46754 "...".
46755 (sched_get_priority_min): Remove semicolon on @deftypefun line.
46756 (sched_get_priority_max): Likewise.
46757 * manual/signal.texi (sigvec): Add space after comma.
46758 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
46759 names.
46760 (if_indextoname): Likewise.
46761 (if_freenameindex): Likewise.
46762 (sendto): Use ',' instead of '.' in prototype.
46763 * manual/startup.texi (syscall): Use @dots{} instead of literal
46764 "...".
46765 * manual/stdio.texi (__fpending): Separate initial words of
46766 paragraph from @deftypefun line.
46767 * manual/syslog.texi (syslog): Use @dots{} instead of literal
46768 "...".
46769 (vsyslog): Use @var{} on parameter names.
46770 * manual/terminal.texi (stty): Use @var{} on parameter names.
46771 * manual/users.texi (getutmp): Use @var{} on parameter names.
46772 (getutmpx): Likewise.
46773
467742012-02-17 Joseph Myers <joseph@codesourcery.com>
46775
46776 [BZ #6884]
46777 * manual/stdio.texi (fopen): Fix typos in description of
46778 ",ccs=STRING".
46779
467802012-02-17 Aurelien Jarno <aurelien@aurel32.net>
46781
46782 [BZ #4026]
46783 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
46784 get clock_id definition.
46785
467862012-02-17 Thomas Schwinge <thomas@schwinge.name>
46787
46788 [BZ #4822]
46789 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
46790 (madvise): Cast every argument to void on its own.
46791
467922012-02-17 Joseph Myers <joseph@codesourcery.com>
46793
46794 [BZ #9902]
46795 * manual/startup.texi (Exit Status): Fix typo.
46796
467972012-02-17 Joseph Myers <joseph@codesourcery.com>
46798
46799 [BZ #10140]
46800 * manual/examples/argp-ex1.c: Include <stdlib.h>.
46801 * manual/examples/argp-ex2.c: Likewise.
46802 * manual/examples/argp-ex3.c: Likewise.
46803
468042012-02-16 Richard Henderson <rth@redhat.com>
46805
46806 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
46807 * sysdeps/s390/s390-32/initfini.c: Remove.
46808 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
46809 * sysdeps/s390/s390-64/initfini.c: Remove.
46810
468112012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46812
46813 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
46814 compiler output for sysdeps/generic/initfini.c.
46815 * sysdeps/sh/elf/initfini.c: Remove file.
46816
468172012-02-16 David S. Miller <davem@davemloft.net>
46818
46819 [BZ #11494]
46820 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
46821
46822 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
46823 * sysdeps/sparc/crti.S: New file.
46824 * sysdeps/sparc/crtn.S: New file.
46825 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
46826 * sysdeps/sparc/sparc64/Makefile: Likewise.
46827
468282012-02-15 Mike Frysinger <vapier@gentoo.org>
46829
46830 [BZ #3335]
46831 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
46832
468332012-02-15 Roland McGrath <roland@hack.frob.com>
46834
46835 [BZ #4822]
46836 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
46837
46838 * mach/devstream.c (cookie_io_functions_t): Macro removed.
46839 (write, read, close): Likewise.
46840 Patch by Aurelien Jarno <aurelien@aurel32.net>.
46841
468422012-02-15 Joseph Myers <joseph@codesourcery.com>
46843
46844 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
46845 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
46846 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
46847 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
46848 <bits/signalfd.h>.
46849 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
46850 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46851 bits/signalfd.h.
46852
468532012-02-14 Marek Polacek <polacek@redhat.com>
46854
46855 * sysdeps/x86_64/crti.S: New file.
46856 * sysdeps/x86_64/crtn.S: New file.
46857 * sysdeps/x86_64/elf/initfini.c: Remove file.
46858
468592012-02-13 Joseph Myers <joseph@codesourcery.com>
46860
46861 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
46862 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
46863 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
46864 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
46865 <bits/inotify.h>.
46866 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
46867 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46868 bits/inotify.h.
46869
468702012-02-13 Joseph Myers <joseph@codesourcery.com>
46871
46872 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
46873 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
46874 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
46875 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
46876 <bits/eventfd.h>.
46877 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
46878 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46879 bits/eventfd.h.
46880
468812012-02-10 Thomas Schwinge <thomas@codesourcery.com>
46882
46883 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
46884 __feraiseexcept instead of feraiseexcept.
46885
46886 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
46887 nanosleep invocations.
46888 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
46889 strings, and add error checking for a nanosleep invocations.
46890
468912012-02-09 Paul Eggert <eggert@cs.ucla.edu>
46892
46893 Replace FSF snail mail address with URLs, as per GNU coding standards.
46894 Most of the snail mail addresses were wrong anyway, and omitting
46895 them makes the source code easier to maintain. Almost all of the
46896 changes are to license notices and to locale LC_IDENTIFICATION
46897 addresses, except for this one:
46898 * manual/libc.texinfo: In "Published by", give the FSF's URL,
46899 not its snail mail address.
46900
469012012-02-09 Richard Henderson <rth@twiddle.net>
46902
46903 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
46904 of kernel-features.h.
46905
46906 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
46907
469082012-02-08 Marek Polacek <polacek@redhat.com>
46909
46910 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
46911 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
46912 * sysdeps/gnu/_G_config.h: Likewise.
46913 * sysdeps/generic/_G_config.h: Likewise.
46914
469152012-02-08 Andreas Schwab <schwab@linux-m68k.org>
46916
46917 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
46918 tests.
46919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46920
46921 * sysdeps/powerpc/powerpc32/crti.S: New file.
46922 * sysdeps/powerpc/powerpc32/crtn.S: New file.
46923 * sysdeps/powerpc/powerpc64/crti.S: New file.
46924 * sysdeps/powerpc/powerpc64/crtn.S: New file.
46925
46926 * Makeconfig (have-initfini): Don't set.
46927 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
46928 * configure.in (nopic_initfini): Don't substitute.
46929 * config.h.in (HAVE_INITFINI): Don't #undef.
46930 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
46931 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
46932
469332012-02-08 Joseph Myers <joseph@codesourcery.com>
46934
46935 Support crti.S and crtn.S provided directly by architectures.
46936 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
46937 [crti.S in sysdirs] (omit-deps): Likewise.
46938 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
46939 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
46940 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
46941 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
46942 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
46943 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
46944 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
46945 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
46946 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
46947 compiler output for sysdeps/generic/initfini.c.
46948 * sysdeps/i386/elf/Makefile: Remove file.
46949 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
46950
469512012-02-07 Marek Polacek <polacek@redhat.com>
46952
46953 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
46954 * sysdeps/gnu/_G_config.h: Likewise.
46955 * sysdeps/mach/hurd/_G_config.h: Likewise.
46956
469572012-02-07 Marek Polacek <polacek@redhat.com>
46958
46959 * math/Makefile (tests): Add tst-CMPLX2.
46960 * math/tst-CMPLX2.c: New file.
46961
469622012-02-07 Andreas Schwab <schwab@linux-m68k.org>
46963
46964 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46965
46966 * math/libm-test.inc (jn_test): Add missing L suffix.
46967
469682012-02-06 Marek Polacek <polacek@redhat.com>
46969
46970 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
46971 * sysdeps/i386/fpu/e_powf.S: Likewise.
46972 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46973 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46974 * sysdeps/i386/fpu/e_acosh.S: Likewise.
46975 * sysdeps/i386/fpu/e_pow.S: Likewise.
46976 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46977 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46978 * sysdeps/i386/fpu/s_expm1.S: Likewise.
46979 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46980 * sysdeps/i386/fpu/e_log2.S: Likewise.
46981 * sysdeps/i386/fpu/e_log2l.S: Likewise.
46982 * sysdeps/i386/fpu/e_scalb.S: Likewise.
46983 * sysdeps/i386/fpu/e_powl.S: Likewise.
46984 * sysdeps/i386/fpu/s_log1p.S: Likewise.
46985 * sysdeps/i386/fpu/e_log10f.S: Likewise.
46986 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46987 * sysdeps/i386/fpu/e_logl.S: Likewise.
46988 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46989 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
46990 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46991 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46992 * sysdeps/i386/fpu/e_log2f.S: Likewise.
46993 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46994 * sysdeps/i386/fpu/e_log.S: Likewise.
46995 * sysdeps/i386/fpu/s_cexp.S: Likewise.
46996 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46997 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
46998 * sysdeps/i386/fpu/e_logf.S: Likewise.
46999 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47000 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47001 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
47002 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47003 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47004 * sysdeps/i386/fpu/e_log10.S: Likewise.
47005 * sysdeps/i386/fpu/s_frexp.S: Likewise.
47006 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47007 * sysdeps/i386/fpu/s_asinh.S: Likewise.
47008 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47009 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47010 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47011 * sysdeps/i386/asm-syntax.h: Likewise.
47012 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47013 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47014 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47015 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
47016 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
47017 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47018 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47019 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47020 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47021 * sysdeps/powerpc/sysdep.h: Likewise.
47022 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
47023 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47024
470252012-02-06 Joseph Myers <joseph@codesourcery.com>
47026
47027 [BZ #411]
47028 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
47029
470302012-02-06 Joseph Myers <joseph@codesourcery.com>
47031
47032 * sysdeps/i386/sysdep.h: Include <features.h>.
47033 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
47034 version.
47035
470362012-02-05 Joseph Myers <joseph@codesourcery.com>
47037
47038 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
47039 Define.
47040 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
47041 LOAD_PIC_REG_STR.
47042
470432012-02-03 Joseph Myers <joseph@codesourcery.com>
47044
47045 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
47046 (SETUP_PIC_REG): Use GET_PC_THUNK.
47047 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
47048 macro.
47049
470502012-02-03 Joseph Myers <joseph@codesourcery.com>
47051
47052 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
47053 for non-PIC compilation.
47054 (SETUP_PIC_REG): Add .p2align directive.
47055 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
47056 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
47057 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
47058 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
47059 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47060 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
47061 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
47062 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47063 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
47064 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
47065 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
47066 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
47067 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
47068 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
47069 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
47070 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47071 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47072 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
47073 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
47074 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
47075 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47076 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47077 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
47078 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
47079 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47080 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47081 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47082 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47083 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
47084 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
47085 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
47086 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47087 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
47088 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
47089 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
47090 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
47091 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
47092 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
47093 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
47094 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
47095 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
47096
470972012-02-03 Joseph Myers <joseph@codesourcery.com>
47098
47099 * math/tst-CMPLX.c: Include <stdio.h>.
47100
471012012-01-31 Joseph Myers <joseph@codesourcery.com>
47102
47103 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
47104 float.
47105 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47106 * sysdeps/sparc/bits/mathdef.h: Likewise.
47107
471082012-01-31 Marek Polacek <polacek@redhat.com>
47109
47110 * libio/libio.h: Don't define _PARAMS.
47111 * locale/programs/config.h: Don't define PARAMS.
47112 * stdlib/strtol_l.c: Likewise.
47113 (__strtol_l): Remove PARAMS from the prototype.
47114
471152012-01-31 Ulrich Drepper <drepper@gmail.com>
47116
47117 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
47118 names. Just use the correct names. Remove unnecessary wrapper
47119 functions.
47120 * malloc/arena.c: Likewise.
47121 * malloc/hooks.c: Likewise.
47122
47123 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
47124 ARENA_TEST says not to. Simplify test for creation of a new arena.
47125 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
47126
471272012-01-30 Ulrich Drepper <drepper@gmail.com>
47128
47129 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
47130 into tail calls.
47131 (update_get_addr): New function.
47132 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
47133 GET_ADDR_MODULE parameter.
47134
471352012-01-30 Joseph Myers <joseph@codesourcery.com>
47136
47137 * crypt/cert.c: Remove __STDC__ conditionals.
47138 * crypt/crypt-entry.c: Likewise.
47139 * crypt/crypt_util.c: Likewise.
47140 * libio/filedoalloc.c: Likewise.
47141 * libio/fileops.c: Likewise.
47142 * libio/genops.c: Likewise.
47143 * libio/iofclose.c: Likewise.
47144 * libio/iofdopen.c: Likewise.
47145 * libio/iofopen.c: Likewise.
47146 * libio/iofopen64.c: Likewise.
47147 * libio/iogetdelim.c: Likewise.
47148 * libio/iopopen.c: Likewise.
47149 * libio/obprintf.c: Likewise.
47150 * libio/oldfileops.c: Likewise.
47151 * libio/oldiofclose.c: Likewise.
47152 * libio/oldiofdopen.c: Likewise.
47153 * libio/oldiofopen.c: Likewise.
47154 * libio/oldiopopen.c: Likewise.
47155 * libio/wfiledoalloc.c: Likewise.
47156 * libio/wgenops.c: Likewise.
47157 * locale/programs/xmalloc.c: Likewise.
47158 * misc/syslog.c: Likewise.
47159 * stdio-common/xbug.c: Likewise.
47160 * string/memchr.c: Likewise.
47161 * string/memcmp.c: Likewise.
47162 * string/memrchr.c: Likewise.
47163 * string/rawmemchr.c: Likewise.
47164 * sysdeps/posix/getcwd.c: Likewise.
47165 * time/strftime_l.c: Likewise.
47166
471672012-01-30 Joseph Myers <joseph@codesourcery.com>
47168
47169 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
47170 * config.make.in (config-cflags-sse2avx): Define.
47171 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
47172 Fix typo.
47173
471742012-01-29 Chris Metcalf <cmetcalf@tilera.com>
47175
47176 * scripts/config.guess: Update from upstream config git repository.
47177 * scripts/config.sub: Likewise.
47178
471792012-01-28 Chris Metcalf <cmetcalf@tilera.com>
47180
47181 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
47182 (EM_NUM): Update.
47183 (R_TILEPRO_*, R_TILEGX_*): New macros.
47184
47185 * scripts/firstversions.awk: Fix bug in version range handling.
47186
47187 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
47188
47189 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
47190
47191 * include/sys/epoll.h: New file.
47192 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
47193 libc_hidden_def.
47194
471952012-01-28 Ulrich Drepper <drepper@gmail.com>
47196
47197 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
47198 Avoid unnecessary __WORDSIZE == 64 test.
47199 (fmaxf): Use VEX format if possible.
47200 (fmax): Likewise.
47201 (fminf): Likewise.
47202 (fmin): Likewise.
47203
47204 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
47205 * math/math_private.h: Remove libc_fegetround* and
47206 libc_fesetround*.
47207 * sysdeps/i386/configure.in: Check for -msse2avx.
47208 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
47209 also if SSE2AVX is defined.
47210 Remove libc_fegetround* and libc_fesetround*.
47211 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
47212 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
47213 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
47214 of HAS_YMM_USABLE.
47215 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47216 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47217 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47218 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47219 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47220
47221 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
47222
472232012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47224
47225 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
47226 size is not set.
47227 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47228
472292012-01-27 Ulrich Drepper <drepper@gmail.com>
47230
47231 [BZ #13618]
47232 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
47233 relocation.
47234 * Makeconfig (libm): Define.
47235 * elf/Makefile: Add rules to build and run tst-relsort1.
47236 * elf/tst-relsort1.c: New file.
47237 * elf/tst-relsort1mod1.c: New file.
47238 * elf/tst-relsort1mod2.c: New file.
47239
472402012-01-27 Joseph Myers <joseph@codesourcery.com>
47241
47242 * math/s_ldexp.c: Remove __STDC__ conditionals.
47243 * math/s_ldexpf.c: Likewise.
47244 * math/s_ldexpl.c: Likewise.
47245 * math/s_nextafter.c: Likewise.
47246 * math/s_nexttowardf.c: Likewise.
47247 * math/s_significand.c: Likewise.
47248 * math/s_significandf.c: Likewise.
47249 * math/s_significandl.c: Likewise.
47250 * math/w_jnl.c: Likewise.
47251 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47252 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47253 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47254 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47255 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47256 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47257 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
47258 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47259 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47260 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47261 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47262 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47263 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47264 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47265 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47266 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47267 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47268 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47269 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47270 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47271 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47272 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47273 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47274 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47275 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47276 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47277 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47278 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47279 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47280 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47281 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47282 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47283 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47284 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47285 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47286 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47287 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47288 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47289 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47290 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47291 * sysdeps/ieee754/k_standard.c: Likewise.
47292 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47293 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47294 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47295 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47296 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47297 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47298 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47299 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47300 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47301 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47302 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47303 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47304 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47305 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47306 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47307 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47308 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47309 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47310 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47311 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47312 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47313 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47314 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47315 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47316 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47317 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47318 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47319 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47320 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47321 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47322 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47323 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
47324 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47325 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47326 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47327 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47328 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
47329 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47330 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47331 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
47332 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
47333 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47334 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
47335 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
47336 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47337 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47338 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47339 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47340 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47341 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
47342 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
47343 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47344 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47345 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47346 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47347 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47348 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
47349 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47350 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47351 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47352 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47353 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47354 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47355 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47356 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47357 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47358 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47359 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47360 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47361 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47362 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47363 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47364 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47365 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47366 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47367 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47368 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47369 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47370 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47371 * sysdeps/ieee754/s_matherr.c: Likewise.
47372 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47373 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47374 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47375 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47376
473772012-01-26 Joseph Myers <joseph@codesourcery.com>
47378
47379 * crypt/md5.h: Remove __STDC__ conditionals.
47380 * libio/libioP.h: Likewise.
47381 * locale/programs/config.h: Likewise.
47382 * sysdeps/generic/sysdep.h: Likewise.
47383 * sysdeps/i386/asm-syntax.h: Likewise.
47384 * sysdeps/s390/asm-syntax.h: Likewise.
47385 * sysdeps/unix/sysdep.h: Likewise.
47386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
47387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47388
473892012-01-26 Joseph Myers <joseph@codesourcery.com>
47390
47391 * libio/libio.h: Remove __STDC__ conditionals.
47392 * malloc/obstack.h: Likewise.
47393 * math/complex.h: Likewise.
47394 * math/math.h: Likewise.
47395 * sysdeps/generic/_G_config.h: Likewise.
47396 * sysdeps/gnu/_G_config.h: Likewise.
47397 * sysdeps/mach/hurd/_G_config.h: Likewise.
47398 * sysdeps/powerpc/bits/mathdef.h: Likewise.
47399 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47400 * sysdeps/sparc/bits/mathdef.h: Likewise.
47401
474022012-01-26 Ulrich Drepper <drepper@gmail.com>
47403
47404 [BZ #13583]
47405 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
47406 Clean up HAS_* macros.
47407 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
47408 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
47409 possible.
47410 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
47411 HAS_AVX.
47412 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47413 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47414 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47415 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47416 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47417
474182012-01-25 Joseph Myers <joseph@codesourcery.com>
47419
47420 * elf/tst-unique3.cc (gets): Remove declaration.
47421 * elf/tst-unique3lib.cc (gets): Likewise.
47422 * elf/tst-unique3lib2.cc (gets): Likewise.
47423 * elf/tst-unique4.cc (gets): Likewise.
47424
474252012-01-24 Ulrich Drepper <drepper@gmail.com>
47426
47427 * include/stdio.h: Add C++ protection. Add gets declarations and
47428 definitions.
47429 * debug/tst-chk1.c: Don't declare gets here.
47430 * stdio-common/tst-gets.c: Likewise.
47431
474322012-01-24 Joseph Myers <joseph@codesourcery.com>
47433
47434 * posix/glob: Remove directory.
47435
474362012-01-24 Joseph Myers <joseph@codesourcery.com>
47437
47438 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
47439
474402012-01-22 Pino Toscano <toscano.pino@tiscali.it>
47441
47442 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
47443 of the non-standard EPFNOSUPPORT.
47444
474452011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
47446
47447 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
47448 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
47449 ANYWHERE set to 1 only on KERN_NO_SPACE error.
47450
474512012-01-21 Ulrich Drepper <drepper@gmail.com>
47452
47453 * wcsmbs/uchar.h: Test __STDC_VERSION__.
47454
474552012-01-20 Ulrich Drepper <drepper@gmail.com>
47456
47457 * nscd/aicache.c (addhstaiX): Do not cache negative results of
47458 transient errors.
47459 * nscd/grpcache.c (cache_addgr): Likewise.
47460 * nscd/hstcache.c (cache_addhst): Likewise.
47461 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47462 * nscd/pwdcache.c (cache_addpw): Likewise.
47463 * nscd/servicescache.c (cache_addserv): Likewise.
47464
474652012-01-16 Ulrich Drepper <drepper@gmail.com>
47466
47467 * malloc/malloc.c: Various cleanups.
47468 * malloc/hooks.c: Likewise.
47469
47470 * stdlib/Makefile (tests): Add bug-fmtmsg1.
47471 * stdlib/bug-fmtmsg1.c: New file.
47472
47473 * stdlib/fmtmsg.c (init): Add missing unlock.
47474 Patch by Peng Haitao <penght@cn.fujitsu.com>.
47475
474762012-01-12 Marek Polacek <polacek@redhat.com>
47477
47478 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
47479 and _GNU_SOURCE.
47480
474812012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
47482
47483 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
47484 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
47485 macro to ensure uniqueness of label name.
47486 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47487 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47488
474892012-01-11 Ulrich Drepper <drepper@gmail.com>
47490
47491 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
47492
47493 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
47494 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47495 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47496 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
47497
474982012-01-10 Ulrich Drepper <drepper@gmail.com>
47499
47500 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
47501
47502 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
47503 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47504 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47505
47506 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
47507
47508 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
47509 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47510 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47511 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
47512
47513 * math/bits/math-finite.h: Add ldexp support.
47514
475152012-01-10 Marek Polacek <polacek@redhat.com>
47516
47517 * locale/programs/localedef.h (show_archive_content): Add noreturn
47518 attribute.
47519
475202012-01-09 Ulrich Drepper <drepper@gmail.com>
47521
47522 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
47523
475242012-01-08 Ulrich Drepper <drepper@gmail.com>
47525
47526 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
47527
47528 * io/Makefile (headers): Add bits/poll2.h.
47529
475302011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
47531
47532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
47533 typo #include statement.
47534
475352012-01-08 Ulrich Drepper <drepper@gmail.com>
47536
47537 * include/sys/cdefs.h: Define __attribute_alloc_size.
47538 * catgets/gencat.c: Add alloc_size attribute and apply consistently
47539 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
47540 * elf/pldd.c: Likewise.
47541 * iconv/iconv_charmap.c: Likewise.
47542 * iconv/iconvconfig.c: Likewise.
47543 * iconv/strtab.c: Likewise.
47544 * locale/programs/locale.c: Likewise.
47545 * locale/programs/localedef.h: Likewise.
47546 * locale/programs/simple-hash.c: Likewise.
47547 * nscd/nscd.h: Likewise.
47548 * nss/makedb.c: Likewise.
47549 * sysdeps/generic/ldconfig.h: Likewise.
47550 * locale/programs/localedef.c: Remove xmalloc prototype.
47551 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
47552
475532012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47554
47555 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
47556 appropriate.
47557
475582012-01-08 Ulrich Drepper <drepper@gmail.com>
47559
47560 * math/Makefile (tests): Add tst-CMPLX.
47561 * math/tst-CMPLX.c: New file.
47562
47563 * math/complex.h (CMPLXL): Fix typo.
47564
47565 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
47566 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
47567 GLIBC_2.16.
47568 * debug/tst-chk1.c: Add poll and ppoll tests.
47569 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
47570 * include/sys/poll.h: Add hidden proto for ppoll.
47571 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
47572 * sysdeps/mach/hurd/ppoll.c: Likewise.
47573 * io/ppoll.c: Likewise.
47574 * debug/poll_chk.c: New file.
47575 * debug/ppoll_chk.c: New file.
47576 * include/bits/poll2.h: New file.
47577 * io/bits/poll2.h: New file.
47578
47579 [BZ #1350]
47580 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
47581
47582 * configure.in: static is always set to yes. Remove.
47583 * config.make.in: Don't set build-static.
47584 * Makeconfig: Remove use of build-static.
47585 * dlfcn/Makefile: Likewise.
47586 * elf/Makefile: Likewise.
47587 * math/Makefile: Likewise.
47588 * misc/Makefile: Likewise.
47589 * nptl/Makefile: Likewise.
47590 * sysdeps/mach/hurd/Makefile: Likewise.
47591
47592 * configure.in: PWD_P is not used anymore.
47593 * config.make.in: Remove PWD_P entry.
47594
47595 * configure.in: Remove last remnants of RANLIB.
47596 No need to check for signed size_t anymore.
47597 Don't set libc_commonpagesize and libc_relro_required here for Alpha
47598 and IA-64.
47599 Remove __builtin_expect test because we require at least gcc 3.4.
47600 * aclocal.m4: Likewise.
47601
47602 * wcsmbs/mbrtoc16.c: Implement using towc function.
47603 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
47604 * wcsmbs/wcsmbsload.c: Likewise.
47605 * iconv/gconv_simple.c: Likewise.
47606 * iconv/gconv_int.h: Likewise.
47607 * iconv/gconv_builtin.h: Likewise.
47608 * iconv/iconv_prog.c: Remove CHAR16 handling.
47609
47610 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
47611
47612 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
47613
47614 * configure.in: Remove --with-elf and --enable-bounded options.
47615 Dont set base_machine for ia64. More non-ELF conditions removed.
47616 Remove testing and setting of leading underscore information.
47617 * config.make.in (build-bounded): Set to no.
47618 * config.h.in: Remove NO_UNDERSCORES entry.
47619 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
47620 them.
47621 * csu/start.c: Remove !NO_UNDERSCORE code.
47622 * locale/localeinfo.h: Likewise.
47623 * sysdeps/generic/machine-gmon.h: Likewise.
47624 * sysdeps/generic/sysdep.h: Likewise.
47625 * sysdeps/i386/sysdep.h: Likewise.
47626 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47627 * sysdeps/mach/sysdep.h: Likewise.
47628 * sysdeps/s390/s390-32/sysdep.h: Likewise.
47629 * sysdeps/s390/s390-64/sysdep.h: Likewise.
47630 * sysdeps/sh/sysdep.h: Likewise.
47631 * sysdeps/sparc/sparc32/alloca.S: Likewise.
47632 * sysdeps/unix/i386/sysdep.S: Likewise.
47633 * sysdeps/unix/sparc/start.c: Likewise.
47634 * sysdeps/unix/sparc/sysdep.S: Likewise.
47635 * sysdeps/unix/sparc/sysdep.h: Likewise.
47636 * sysdeps/unix/start.c: Likewise.
47637 * sysdeps/unix/x86_64/sysdep.S: Likewise.
47638 * sysdeps/x86_64/sysdep.h: Likewise.
47639
476402012-01-07 Ulrich Drepper <drepper@gmail.com>
47641
47642 [BZ #13553]
47643 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
47644 for non-gcc.
47645 * argp/argp-fmtstream.h: Use const instead __const.
47646 * argp/argp.h: Likewise.
47647 * assert/assert.h: Likewise.
47648 * bits/fenv.h: Likewise.
47649 * bits/sched.h: Likewise.
47650 * bits/sigset.h: Likewise.
47651 * bits/sigthread.h: Likewise.
47652 * catgets/nl_types.h: Likewise.
47653 * conform/data/pthread.h-data: Likewise.
47654 * crypt/crypt-private.h: Likewise.
47655 * crypt/crypt.h: Likewise.
47656 * crypt/crypt_util.c: Likewise.
47657 * ctype/ctype.h: Likewise.
47658 * debug/execinfo.h: Likewise.
47659 * debug/mbsnrtowcs_chk.c: Likewise.
47660 * debug/mbsrtowcs_chk.c: Likewise.
47661 * debug/wcsnrtombs_chk.c: Likewise.
47662 * debug/wcsrtombs_chk.c: Likewise.
47663 * debug/wcstombs_chk.c: Likewise.
47664 * dirent/dirent.h: Likewise.
47665 * dlfcn/dlfcn.h: Likewise.
47666 * elf/neededtest4.c: Likewise.
47667 * grp/grp.h: Likewise.
47668 * gshadow/gshadow.h: Likewise.
47669 * iconv/gconv.h: Likewise.
47670 * iconv/gconv_int.h: Likewise.
47671 * iconv/gconv_simple.c: Likewise.
47672 * iconv/iconv.h: Likewise.
47673 * iconv/loop.c: Likewise.
47674 * iconv/skeleton.c: Likewise.
47675 * include/aio.h: Likewise.
47676 * include/aliases.h: Likewise.
47677 * include/argz.h: Likewise.
47678 * include/arpa/inet.h: Likewise.
47679 * include/assert.h: Likewise.
47680 * include/dirent.h: Likewise.
47681 * include/dlfcn.h: Likewise.
47682 * include/execinfo.h: Likewise.
47683 * include/fcntl.h: Likewise.
47684 * include/fenv.h: Likewise.
47685 * include/glob.h: Likewise.
47686 * include/grp.h: Likewise.
47687 * include/libintl.h: Likewise.
47688 * include/mntent.h: Likewise.
47689 * include/netdb.h: Likewise.
47690 * include/pwd.h: Likewise.
47691 * include/rpc/netdb.h: Likewise.
47692 * include/sched.h: Likewise.
47693 * include/search.h: Likewise.
47694 * include/shadow.h: Likewise.
47695 * include/signal.h: Likewise.
47696 * include/stdio.h: Likewise.
47697 * include/stdlib.h: Likewise.
47698 * include/string.h: Likewise.
47699 * include/sys/socket.h: Likewise.
47700 * include/sys/stat.h: Likewise.
47701 * include/sys/statfs.h: Likewise.
47702 * include/sys/statvfs.h: Likewise.
47703 * include/sys/syslog.h: Likewise.
47704 * include/sys/time.h: Likewise.
47705 * include/sys/uio.h: Likewise.
47706 * include/time.h: Likewise.
47707 * include/unistd.h: Likewise.
47708 * include/utmp.h: Likewise.
47709 * include/wchar.h: Likewise.
47710 * include/wctype.h: Likewise.
47711 * inet/aliases.h: Likewise.
47712 * inet/arpa/inet.h: Likewise.
47713 * inet/netinet/ether.h: Likewise.
47714 * inet/netinet/in.h: Likewise.
47715 * intl/libintl.h: Likewise.
47716 * io/bits/fcntl2.h: Likewise.
47717 * io/fcntl.h: Likewise.
47718 * io/ftw.h: Likewise.
47719 * io/sys/poll.h: Likewise.
47720 * io/sys/stat.h: Likewise.
47721 * io/sys/statfs.h: Likewise.
47722 * io/sys/statvfs.h: Likewise.
47723 * io/utime.h: Likewise.
47724 * libio/bits/stdio.h: Likewise.
47725 * libio/bits/stdio2.h: Likewise.
47726 * libio/libio.h: Likewise.
47727 * libio/libioP.h: Likewise.
47728 * libio/stdio.h: Likewise.
47729 * locale/lc-ctype.c: Likewise.
47730 * locale/locale.h: Likewise.
47731 * login/utmp.h: Likewise.
47732 * malloc/arena.c: Likewise.
47733 * malloc/malloc.c: Likewise.
47734 * malloc/malloc.h: Likewise.
47735 * malloc/mcheck.c: Likewise.
47736 * malloc/mtrace.c: Likewise.
47737 * math/bits/mathcalls.h: Likewise.
47738 * math/fenv.h: Likewise.
47739 * math/math_private.h: Likewise.
47740 * misc/bits/error.h: Likewise.
47741 * misc/bits/syslog.h: Likewise.
47742 * misc/err.h: Likewise.
47743 * misc/error.h: Likewise.
47744 * misc/fstab.h: Likewise.
47745 * misc/mntent.h: Likewise.
47746 * misc/regexp.h: Likewise.
47747 * misc/search.h: Likewise.
47748 * misc/sgtty.h: Likewise.
47749 * misc/sys/mman.h: Likewise.
47750 * misc/sys/syslog.h: Likewise.
47751 * misc/sys/uio.h: Likewise.
47752 * misc/sys/xattr.h: Likewise.
47753 * misc/ttyent.h: Likewise.
47754 * nis/rpcsvc/ypclnt.h: Likewise.
47755 * nss/nss.h: Likewise.
47756 * posix/bits/unistd.h: Likewise.
47757 * posix/fnmatch.h: Likewise.
47758 * posix/glob.h: Likewise.
47759 * posix/sched.h: Likewise.
47760 * posix/spawn.h: Likewise.
47761 * posix/sys/wait.h: Likewise.
47762 * posix/unistd.h: Likewise.
47763 * posix/wordexp.h: Likewise.
47764 * pwd/pwd.h: Likewise.
47765 * resolv/netdb.h: Likewise.
47766 * resource/sys/resource.h: Likewise.
47767 * rt/aio.h: Likewise.
47768 * rt/bits/mqueue2.h: Likewise.
47769 * rt/mqueue.h: Likewise.
47770 * shadow/shadow.h: Likewise.
47771 * signal/signal.h: Likewise.
47772 * socket/send.c: Likewise.
47773 * socket/sendto.c: Likewise.
47774 * socket/sys/socket.h: Likewise.
47775 * stdio-common/printf.h: Likewise.
47776 * stdlib/bits/stdlib.h: Likewise.
47777 * stdlib/fmtmsg.h: Likewise.
47778 * stdlib/monetary.h: Likewise.
47779 * stdlib/stdlib.h: Likewise.
47780 * stdlib/ucontext.h: Likewise.
47781 * streams/stropts.h: Likewise.
47782 * string/argz.h: Likewise.
47783 * string/bits/string2.h: Likewise.
47784 * string/string.h: Likewise.
47785 * string/strings.h: Likewise.
47786 * sunrpc/rpc/auth.h: Likewise.
47787 * sunrpc/rpc/auth_des.h: Likewise.
47788 * sunrpc/rpc/clnt.h: Likewise.
47789 * sunrpc/rpc/netdb.h: Likewise.
47790 * sunrpc/rpc/pmap_clnt.h: Likewise.
47791 * sunrpc/rpc/xdr.h: Likewise.
47792 * sysdeps/generic/inttypes.h: Likewise.
47793 * sysdeps/generic/net/if.h: Likewise.
47794 * sysdeps/generic/sys/swap.h: Likewise.
47795 * sysdeps/gnu/net/if.h: Likewise.
47796 * sysdeps/gnu/utmpx.h: Likewise.
47797 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
47798 * sysdeps/i386/i486/bits/string.h: Likewise.
47799 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
47800 * sysdeps/s390/bits/string.h: Likewise.
47801 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
47802 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
47803 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
47804 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
47805 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
47806 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
47807 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
47808 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
47809 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
47810 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
47811 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
47812 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
47813 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
47814 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
47815 * sysdeps/unix/sysv/linux/readv.c: Likewise.
47816 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
47817 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
47818 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47819 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47820 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47821 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47822 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
47823 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
47824 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
47825 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
47826 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
47827 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
47828 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47829 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
47830 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
47831 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
47832 * sysvipc/sys/ipc.h: Likewise.
47833 * sysvipc/sys/msg.h: Likewise.
47834 * sysvipc/sys/sem.h: Likewise.
47835 * sysvipc/sys/shm.h: Likewise.
47836 * termios/termios.h: Likewise.
47837 * time/sys/time.h: Likewise.
47838 * time/time.h: Likewise.
47839 * wcsmbs/bits/wchar2.h: Likewise.
47840 * wcsmbs/uchar.h: Likewise.
47841 * wcsmbs/wchar.h: Likewise.
47842 * wctype/wctype.h: Likewise.
47843
47844 [BZ #13551]
47845 * Makeconfig: Remove all but ELF support including AIX support.
47846 * Makerules: Likewise.
47847 * config.h.in: Likewise.
47848 * config.make.in: Likewise.
47849 * configure: Likewise.
47850 * configure.in: Likewise.
47851 * csu/Makefile: Likewise.
47852 * csu/version.c: Likewise.
47853 * debug/Makefile: Likewise.
47854 * dlfcn/Makefile: Likewise.
47855 * elf/Makefile: Likewise.
47856 * extra-lib.mk: Likewise.
47857 * iconv/Makefile: Likewise.
47858 * include/libc-symbols.h: Likewise.
47859 * include/shlib-compat.h: Likewise.
47860 * resolv/Makefile: Likewise.
47861 * resolv/res_libc.c: Likewise.
47862 * rt/Makefile: Likewise.
47863 * sysdeps/i386/asm-syntax.h: Likewise.
47864 * sysdeps/i386/sysdep.h: Likewise.
47865 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47866 * sysdeps/mach/sysdep.h: Likewise.
47867 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
47868 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
47869 * sysdeps/s390/asm-syntax.h: Likewise.
47870 * sysdeps/s390/s390-32/sysdep.h: Likewise.
47871 * sysdeps/s390/s390-64/sysdep.h: Likewise.
47872 * sysdeps/sh/sysdep.h: Likewise.
47873 * sysdeps/unix/sparc/sysdep.h: Likewise.
47874 * sysdeps/wordsize-32/divdi3.c: Likewise.
47875 * sysdeps/x86_64/sysdep.h: Likewise.
47876
47877 * argp/Versions: Remove _argp_unlock_xxx.
47878
47879 [BZ #13559]
47880 * abilist/ld.abilist: Update. Adjust for removal of tls option.
47881 * abilist/libBrokenLocale.abilist: Likewise.
47882 * abilist/libanl.abilist: Likewise.
47883 * abilist/libc.abilist: Likewise.
47884 * abilist/libcrypt.abilist: Likewise.
47885 * abilist/libdl.abilist: Likewise.
47886 * abilist/libm.abilist: Likewise.
47887 * abilist/libnsl.abilist: Likewise.
47888 * abilist/libpthread.abilist: Likewise.
47889 * abilist/libresolv.abilist: Likewise.
47890 * abilist/librt.abilist: Likewise.
47891 * abilist/libthread_db.abilist: Likewise.
47892 * abilist/libutil.abilist: Likewise.
47893 * abilist/libnss_db.abilist: New file.
47894
47895 * scripts/abilist.awk: Add support for indirect functions.
47896
47897 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
47898
47899 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
47900
47901 * shlib-versions: Remove entries for ports architectures.
47902
47903 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
47904 files in ports.
47905 * elf/stackguard-macros.h: Remove support for IA-64.
47906 * elf/tst-auditmod1.c: Likewise.
47907 * sysdeps/generic/ldsodefs.h: Likewise.
47908
47909 * sysdeps/unix/sysv/linux/configure.in: Ports should define
47910 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
47911 configure files.
47912
47913 [BZ #13552]
47914 * configure.in: Remove --enable-omitfp support.
47915 * FAQ.in: Adjust.
47916 * config.make.in: Likewise.
47917 * Makeconfig: Likewise.
47918 * manual/install.texi: Likewise.
47919
47920 In case anyone cares, the IA-64 architecture could move to ports.
47921 * sysdeps/ia64/*: Removed.
47922 * sysdeps/unix/sysv/linux/ia64/*: Removed.
47923 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
47924
47925 [BZ #13555]
47926 * configure.in: Remove entries for unsupported architectures.
47927
47928 [BZ #13533]
47929 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
47930 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
47931 routines.
47932 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
47933 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
47934 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
47935 fall back to using wcrtomb.
47936 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
47937 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
47938 renaming.
47939 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
47940 * wcsmbs/tst-c16c32-1.c: New file.
47941
47942 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
47943 local variable.
47944
47945 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
47946
47947 * elf/tst-unique3.cc: Add explicit declaration of gets.
47948 * elf/tst-unique3lib.cc: Likewise.
47949 * elf/tst-unique3lib2.cc: Likewise.
47950 * elf/tst-unique4.cc: Likewise.
47951
47952 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
47953
479542012-01-06 Joseph Myers <joseph@codesourcery.com>
47955
47956 [BZ #13566]
47957 * assert/assert.h (static_assert): Don't define for C++.
47958 * libio/stdio.h (gets): Do declare for C++ <= C++11.
47959 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
47960
479612012-01-03 Ulrich Drepper <drepper@gmail.com>
47962
47963 * iconv/loop.c (single loop): Fix assertion in storing of
47964 remaining bytes.
47965
47966 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
47967
479682012-01-01 Ulrich Drepper <drepper@gmail.com>
47969
47970 * posix/getconf.c: Update copyright year.
47971 * nss/getent.c: Likewise.
47972 * nss/makedb.c: Likewise.
47973 * iconv/iconvconfig.c: Likewise.
47974 * iconv/iconv_prog.c: Likewise.
47975 * elf/ldconfig.c: Likewise.
47976 * elf/pldd.c: Likewise.
47977 * elf/sotruss.ksh: Likewise.
47978 * catgets/gencat.c: Likewise.
47979 * csu/version.c: Likewise.
47980 * elf/ldd.bash.in: Likewise.
47981 * elf/sprof.c (print_version): Likewise.
47982 * locale/programs/locale.c: Likewise.
47983 * locale/programs/localedef.c: Likewise.
47984 * login/programs/pt_chown.c: Likewise.
47985 * nscd/nscd.c (print_version): Likewise.
47986 * debug/xtrace.sh: Likewise.
47987 * malloc/memusage.sh: Likewise.
47988 * malloc/mtrace.pl: Likewise.
47989 * debug/catchsegv.sh: Likewise.
47990
479912011-12-30 Jakub Jelinek <jakub@redhat.com>
47992
47993 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
47994 pure attribute.
47995
479962011-12-24 Ulrich Drepper <drepper@gmail.com>
47997
47998 [BZ #13533]
47999 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
48000 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
48001 transformations.
48002 * iconv/gconv_int.h: Likewise.
48003 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
48004 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
48005 from libc for GLIBC_2.16.
48006 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
48007 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
48008 * wcsmbs/uchar.h: Really define mbstate_t.
48009 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
48010 * wcsmbs/c16rtomb.c: New file.
48011 * wcsmbs/mbrtoc16.c: New file.
48012 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
48013 for C/POSIX locale.
48014 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
48015 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
48016
48017 * wcsmbs/wchar.h: Add missing __restrict.
48018
480192011-12-23 Ulrich Drepper <drepper@gmail.com>
48020
48021 [BZ #13532]
48022 * time/Makefile (routines): Add timespec_get.
48023 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
48024 * time/time.h: Define TIME_UTC and declare timespec_get. Define
48025 timespec for ISO C11.
48026 * time/timespec_get.c: New file.
48027 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
48028 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
48029
48030 [BZ #13531]
48031 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
48032 * stdlib/stdlib.h: Declare aligned_alloc.
48033 * Versions.def: Add GLIBC_2.16 for libc.
48034 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
48035
48036 [BZ 13527]
48037 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
48038 ISO C11.
48039
48040 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
48041 code.
48042
48043 [BZ #13528]
48044 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
48045
48046 [BZ #13529]
48047 * assert/assert.h (static_assert): Define.
48048
48049 * version.h: Update for 2.16 development version.
48050
48051 [BZ #13526]
48052 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
48053 _ISOC11_SOURCE.
48054
48055 * version.h (RELEASE): Bump for 2.15 release.
48056 * include/features.h (__GLIBC_MINOR__): Bump to 15.
48057
48058 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
48059 Patch by Marek Polacek <mpolacek@redhat.com>.
48060
48061 * bits/byteswap.h: Protect long long constants with __extension__.
48062 * sysdeps/i386/bits/byteswap.h: Likewise.
48063 * sysdeps/ia64/bits/byteswap.h: Likewise.
48064 * sysdeps/s390/bits/byteswap.h: Likewise.
48065 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48066
480672011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48068
48069 [BZ #13540]
48070 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
48071 destination buffer.
48072 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
48073
480742011-12-23 Marek Polacek <polacek@redhat.com>
48075
48076 * elf/dl-addr.c (determine_info): Add inline keyword.
48077 * elf/tst-auditmod4b.c (check_avx): Likewise.
48078 * elf/tst-auditmod6b.c (check_avx): Likewise.
48079 * elf/tst-auditmod6c.c (check_avx): Likewise.
48080 * elf/tst-auditmod7b.c (check_avx): Likewise.
48081
480822011-12-23 Ulrich Drepper <drepper@gmail.com>
48083
48084 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
48085 !__SSE_MATH__.
48086
480872011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48088
48089 [BZ #13540]
48090 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
48091 processing for last bytes.
48092
480932011-08-06 Bruno Haible <bruno@clisp.org>
48094
48095 [BZ #13061]
48096 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
48097 U+0385, not to U+1FEE.
48098
48099 [BZ #13062]
48100 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
48101 entry for U+00A5 U+0301.
48102
481032011-12-22 Ulrich Drepper <drepper@gmail.com>
48104
48105 [BZ #13166]
48106 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
48107 buffer for the output is too small.
48108
48109 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
48110 optimization.
48111
48112 [BZ #13185]
48113 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
48114 SSE flags if possible.
48115
481162011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48117
48118 [BZ #13540]
48119 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
48120 processing for last bytes.
48121
481222011-12-22 Joseph Myers <joseph@codesourcery.com>
48123
48124 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
48125 (syscall-list-default-options, syscall-list-default-condition)
48126 (syscall-list-includes): Define.
48127 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
48128 list of ABIs and options and #if conditions for each ABI. Do not
48129 handle common syscalls between ABIs specially.
48130 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
48131 Remove.
48132 (syscall-list-variants, syscall-list-32bit-options)
48133 (syscall-list-32bit-condition, syscall-list-64bit-options)
48134 (syscall-list-64bit-condition): Define.
48135 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
48136 (syscall-list-variants, syscall-list-32bit-options)
48137 (syscall-list-32bit-condition, syscall-list-64bit-options)
48138 (syscall-list-64bit-condition): Define.
48139 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
48140 Remove.
48141 (syscall-list-variants, syscall-list-32bit-options)
48142 (syscall-list-32bit-condition, syscall-list-64bit-options)
48143 (syscall-list-64bit-condition): Define.
48144 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
48145 Remove.
48146 (syscall-list-variants, syscall-list-32bit-options)
48147 (syscall-list-32bit-condition, syscall-list-64bit-options)
48148 (syscall-list-64bit-condition): Define.
48149
481502011-12-22 Ulrich Drepper <drepper@gmail.com>
48151
48152 * locale/iso-639.def: Add brx entry.
48153
48154 [BZ #13328]
48155 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
48156 Proposed by Mariusz_Cukr <marcukr@op.pl>.
48157
48158 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
48159 __feraiseexcept_renamed.
48160
481612011-12-21 Ulrich Drepper <drepper@gmail.com>
48162
48163 [BZ #13538]
48164 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
48165 EPOLLET with unsigned values.
48166 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48167 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48168
48169 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
48170 to large cancellation.
48171 * math/s_cacoshf.c: Likewise.
48172 * math/s_cacoshl.c: Likewise.
48173
481742011-11-18 Richard B. Kreckel <kreckel@ginac.de>
48175
48176 [BZ #13305]
48177 [BZ #12786]
48178 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
48179 * math/s_cacoshf.c: Likewise.
48180 * math/s_cacoshl.c: Likewise.
48181
481822011-12-21 Ulrich Drepper <drepper@gmail.com>
48183
48184 [BZ #13439]
48185 * iconv/gconv.h: Define __GCONV_SWAP.
48186 * iconvdata/unicode.c: The swap bit must be stored in __flags.
48187 * iconvdata/utf-16.c: Likewise.
48188 * iconvdata/utf-32.c: Likewise.
48189
481902011-12-21 Andreas Schwab <schwab@linux-m68k.org>
48191
48192 [BZ #13524]
48193 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
48194 numerator after shifting it by one limb.
48195
481962011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
48197
48198 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
48199 under [__USE_EXTERN_INLINES].
48200
482012011-12-17 Ulrich Drepper <drepper@gmail.com>
48202
48203 [BZ #13446]
48204 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
48205
482062011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48207
48208 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
48209 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
48210 optimized code.
48211 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
48212 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
48213 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
48214 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
48215 for strncasecmp/strncasecmp_l compilation.
48216 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
48217 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
48218
482192011-12-08 Marek Polacek <mpolacek@redhat.com>
48220
48221 [BZ #13484]
48222 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
48223 of __asm__.
48224
482252011-12-17 Ulrich Drepper <drepper@gmail.com>
48226
48227 [BZ #13506]
48228 * time/tzfile.c (__tzfile_read): Check values from file header.
48229
482302011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
48231
48232 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
48233 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
48234 * powerpc/powerpc32/dl-start.S: Likewise.
48235 * powerpc/powerpc32/elf/start.S: Likewise.
48236 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
48237 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
48238 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
48239 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
48240 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48241 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
48242 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
48243 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48244 * powerpc/powerpc32/fpu/s_round.S: Likewise.
48245 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48246 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48247 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48248 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
48249 * powerpc/powerpc32/memset.S: Likewise.
48250 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48251 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48252 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48253 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48254 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48255 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
48256 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
48257 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
48258 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
48259 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
48260 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
48261 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48262 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48263
482642011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48265
48266 * math/libm-test.inc: Added more nearbyint tests.
48267 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
48268 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
48269 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
48270 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
48271
482722011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
48273
48274 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
48275 FD_CLOEXEC.
48276
482772011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48278
48279 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
48280 Add wcscpy-ssse3 wcscpy-c.
48281 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
48282 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
48283 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
48284 * sysdeps/x86_64/wcschr.S: New file.
48285 * sysdeps/x86_64/wcsrchr.S: New file.
48286 * string/test-strcmp.c: Remove checking of wcscmp function for
48287 wrong alignments.
48288 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
48289 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
48290 wcsrchr-sse2 wcsrchr-c.
48291 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
48292 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
48293 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
48294 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
48295 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
48296 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
48297 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
48298 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
48299 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
48300 * wcsmbc/wcschr.c (WCSCHR): New macro.
48301
483022011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48303
48304 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
48305 * wcsmbs/test-wcsrchr.c: New file.
48306 * string/test-strrchr.c: Add wcsrchr support.
48307 (WIDE): New macro.
48308 * wcsmbs/test-wcscpy.c: New file.
48309 * string/test-strcpy.c: Add wcscpy support.
48310 (WIDE): New macro.
48311
483122011-12-10 Ulrich Drepper <drepper@gmail.com>
48313
48314 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
48315 the inner loop.
48316
483172011-12-06 Andreas Schwab <schwab@linux-m68k.org>
48318
48319 [BZ #13472]
48320 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
48321
483222011-12-04 Ulrich Drepper <drepper@gmail.com>
48323
48324 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
48325 Minor optimizations.
48326
48327 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
48328 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
48329 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
48330
483312011-12-03 Ulrich Drepper <drepper@gmail.com>
48332
48333 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
48334 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
48335 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
48336 for gcc to avoid warnings.
48337 * inet/Makefile (tests): Add tst-checks.
48338 * inet/tst-checks.c: New file.
48339
48340 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
48341 warning.
48342
48343 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
48344 __wmemcmp_sse2.
48345
48346 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
48347 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
48348
48349 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
48350
483512011-12-02 Ulrich Drepper <drepper@gmail.com>
48352
48353 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
48354 problem.
48355
48356 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
48357
483582011-11-29 Joseph Myers <joseph@codesourcery.com>
48359
48360 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
48361 conditional on GCC version.
48362 (__arch_compare_and_exchange_val_8_acq)
48363 (__arch_compare_and_exchange_val_16_acq)
48364 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
48365 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
48366 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
48367
483682011-12-02 Joseph Myers <joseph@codesourcery.com>
48369
48370 * sysdeps/sh/backtrace.c: New file.
48371
483722011-12-02 Andreas Schwab <schwab@redhat.com>
48373
48374 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
48375 parenthesis.
48376
483772011-12-01 Andreas Schwab <schwab@redhat.com>
48378
48379 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
48380 falling back to utime.
48381
483822011-11-30 Andreas Schwab <schwab@redhat.com>
48383
48384 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
48385 expectations for float.
48386
483872011-11-29 Andreas Schwab <schwab@redhat.com>
48388
48389 * locale/weight.h (findidx): Add parameter len.
48390 * locale/weightwc.h (findidx): Likewise.
48391 * posix/fnmatch_loop.c (FCT): Adjust caller.
48392 * posix/regcomp.c (build_equiv_class): Likewise.
48393 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
48394 * posix/regexec.c (check_node_accept_bytes): Likewise.
48395 * string/strcoll_l.c (STRCOLL): Likewise.
48396 * string/strxfrm_l.c (STRXFRM): Likewise.
48397
483982011-11-17 Ulrich Drepper <drepper@gmail.com>
48399
48400 * Makefile.in: Remove CVSOPT handling.
48401 * configure.in: Remove use of AC_REVISION.
48402 * iconvdata/Makefile (distribute): No need to filter out CVS.
48403 * scripts/list-sources.sh: Remove CVS, subversion and monotone
48404 handling.
48405
484062011-11-16 Andreas Schwab <schwab@redhat.com>
48407
48408 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
48409 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
48410 [USE_AS_STRNCASECMP_L]: Likewise.
48411 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
48412 NO_TLS_DIRECT_SEG_REFS.
48413 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
48414 Fix argument offsets for non-PIC.
48415 [USE_AS_STRNCASECMP_L]: Likewise.
48416 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
48417 NO_TLS_DIRECT_SEG_REFS.
48418
484192011-11-15 Ulrich Drepper <drepper@gmail.com>
48420
48421 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
48422 O_CLOEXEC.
48423 * locale/loadlocale.c (_nl_load_locale): Likewise.
48424
484252011-11-15 Andreas Schwab <schwab@redhat.com>
48426
48427 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
48428 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
48429 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
48430 (SYSCALL_GETTIME): Set errno on error.
48431
48432 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
48433 count references to noai6ai_cached.
48434
484352011-11-15 Ulrich Drepper <drepper@gmail.com>
48436
48437 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
48438
48439 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
48440 FD_CLOEXEC for /proc/self/maps.
48441
48442 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
48443 FD_CLOEXEC for /proc/meminfo.
48444
48445 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
48446 gai.conf.
48447
48448 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
48449 FD_CLOEXEC for given file.
48450
48451 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
48452
48453 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
48454 FD_CLOEXEC for /etc/hosts.
48455 (_gethtent): Likewise.
48456
48457 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
48458
48459 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
48460 cancellation and set FD_CLOEXEC for /etc/netgroup.
48461
48462 * nss/nss_files/files-key.c (search): Don't allow cancellation when
48463 reading /etc/publickey.
48464
48465 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
48466 allow cancellation when reading /etc/group.
48467
48468 * nss/nss_files/files-alias.c (internal_setent): Don't allow
48469 cancellation.
48470 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
48471
48472 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
48473 when using data file.
48474
48475 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
48476
48477 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
48478 (write_nis_obj): Use "c" and "e" in fopen.
48479
48480 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
48481
48482 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
48483
48484 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
48485
48486 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
48487
48488 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
48489 locale.alias.
48490
48491 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
48492
48493 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
48494
48495 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
48496
48497 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
48498 file parsing and set FD_CLOEXEC.
48499
485002011-11-14 Ulrich Drepper <drepper@gmail.com>
48501
48502 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
48503
485042011-11-14 Andreas Schwab <schwab@redhat.com>
48505
48506 * malloc/arena.c (arena_get2): Don't call reused_arena when
48507 _int_new_arena failed.
48508
485092011-11-14 Ulrich Drepper <drepper@gmail.com>
48510
48511 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
48512 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
48513 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
48514 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48515 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48516 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
48517 to compile strcasecmp and strncasecmp.
48518 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
48519 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
48520
48521 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
48522
485232011-11-13 Ulrich Drepper <drepper@gmail.com>
48524
48525 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
48526 locale-defines.sym to gen-as-const-headers.
48527 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
48528 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
48529 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
48530 to compile strcasecmp and strncasecmp.
48531 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
48532 strcasecmp_l and strncasecmp_l.
48533 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
48534 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
48535 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
48536 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
48537 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
48538 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
48539 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
48540 * sysdeps/i386/i686/multiarch/strncase.S: New file.
48541 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
48542 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
48543 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
48544
485452011-11-12 Ulrich Drepper <drepper@gmail.com>
48546
48547 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
48548 result of SYSDEP_GETTIME_CPU to retval.
48549 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
48550 parameter list to macro. Remove trailing semicolon. Adjust users.
48551
48552 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
48553 variable.
48554
48555 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
48556 mantissa words.
48557 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
48558
48559 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
48560 from unused variable.
48561
48562 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
48563 DWARF definitions.
48564 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
48565 for assembling.
48566
48567 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
48568 over namespaces.
48569
48570 * sunrpc/rpc_prot.c (rejected): Fix case value.
48571
48572 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
48573 unsigned long long int to avoid warnings in shift.
48574
48575 * posix/regex_internal.c (re_string_reconstruct): Actually use result
48576 of use of trans.
48577 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
48578 variable tmp.
48579
48580 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
48581 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
48582 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
48583
48584 * nis/nis_table.c (nis_list): Use variable of correct type for
48585 result of __follow_path call.
48586
485872011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48588
48589 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
48590 of math functions ceil, trunc, floor, round, and sqrt, when
48591 avaliable on the platform.
48592 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
48593 name clash.
48594 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48595 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48596 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48597
485982011-10-30 Marek Polacek <mpolacek@redhat.com>
48599
48600 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
48601 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
48602
486032011-11-11 Roland McGrath <roland@hack.frob.com>
48604
48605 * include/unistd.h: Fix __readlink return type.
48606 Reported by Chris Metcalf <cmetcalf@tilera.com>.
48607
486082011-11-11 Ulrich Drepper <drepper@gmail.com>
48609
48610 * stdlib/ucontext.h: Undo last change for makecontext.
48611
486122011-11-11 Andreas Schwab <schwab@redhat.com>
48613
48614 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
48615
48616 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
48617 * setjmp/setjmp.h: Mark functions as non-leaf.
48618 * setjmp/bits/setjmp2.h: Likewise.
48619 * stdlib/ucontext.h: Likewise.
48620
486212011-11-10 Andreas Schwab <schwab@redhat.com>
48622
48623 * malloc/arena.c (_int_new_arena): Don't increment narenas.
48624 (reused_arena): Don't check arena limit.
48625 (arena_get2): Atomically check arena limit.
48626
486272011-11-08 Ulrich Drepper <drepper@gmail.com>
48628
48629 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
48630 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
48631
48632 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
48633 instructions.
48634
486352011-11-07 Andreas Schwab <schwab@redhat.com>
48636
48637 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
48638 handler when locking.
48639
48640 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48641 Fix size of allocated buffer.
48642
486432011-11-04 Andreas Schwab <schwab@redhat.com>
48644
48645 [BZ #10103]
48646 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
48647 declarations for long double functions.
48648 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
48649
48650 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
48651
486522011-11-03 Andreas Schwab <schwab@redhat.com>
48653
48654 * nscd/nscd.c (main): Don't start AVC thread until credentials are
48655 installed.
48656
48657 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
48658 is disabled.
48659
486602011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
48661
48662 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
48663
486642011-11-01 Andreas Schwab <schwab@linux-m68k.org>
48665
48666 * include/alloca.h (stackinfo_alloca_round): Define.
48667 (extend_alloca): Use it.
48668 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
48669 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
48670 here.
48671
48672 * scripts/check-local-headers.sh: Ignore libaudit.h.
48673
48674 * nscd/Makefile (extra-objs): Make recursively expanded.
48675
486762011-11-01 Ulrich Drepper <drepper@gmail.com>
48677
48678 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
48679 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48680
48681 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
48682 * posix/tst-rfc3484-2.c: Likewise.
48683 * posix/tst-rfc3484-3.c: Likewise.
48684
48685 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48686 process_vm_writev.
48687 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
48688 process_vm_writev.
48689 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
48690 process_vm_writev from libc using GLIBC_2.15 version.
48691
48692 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
48693
486942011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
48695
48696 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
48697 stack usage.
48698
486992011-10-31 Ulrich Drepper <drepper@gmail.com>
48700
48701 [BZ #13367]
48702 * nss/getent.c (initgroups_keys): Show error message in case no group
48703 names are given.
48704
48705 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
48706 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
48707 __bump_nl_timestamp.
48708 * nscd/connections (nscd_init): When host database is served open
48709 netlink socket and request notification about configuration changes.
48710 (main_loop_poll): Track netlink file descriptor and bump timestamp
48711 in case data becomes available.
48712 (main_loop_epoll): Likewise.
48713 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
48714 (database_pers_head): Add extra_data fileds.
48715 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
48716 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
48717 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
48718 Adjust caller.
48719 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
48720 in6ai data, call __free_in6ai.
48721 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
48722 Add -DHAVE_NETLINK.
48723 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
48724 interface information. Reuse previous data if netlink timestamp
48725 is not changed.
48726 (__bump_nl_timestamp): New function.
48727 (__free_in6ai): New function.
48728
487292011-10-30 Ulrich Drepper <drepper@gmail.com>
48730
48731 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
48732 close_not_cancel_no_status here.
48733 (__check_pf): Reorganize code a bit to not call close twice if OOM.
48734
487352011-10-29 Ulrich Drepper <drepper@gmail.com>
48736
48737 [BZ #13276]
48738 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
48739 return value.
48740
48741 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
48742 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
48743 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
48744
487452011-07-03 Andreas Jaeger <aj@suse.de>
48746
48747 [BZ #10709]
48748 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
48749 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
48750 * math/libm-test.inc (sin_test): Add test case.
48751
487522011-10-29 Ulrich Drepper <drepper@gmail.com>
48753
48754 [BZ #13337]
48755 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
48756 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48757
48758 * elf/chroot_canon.c (chroot_canon): Cleanups.
48759
48760 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
48761
48762 [BZ #13335]
48763 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
48764 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48765
48766 * string/test-strchr.c: Make usable for strchrnul testing.
48767 * string/test-strchrnul.c: New file.
48768 * string/Makefile (strop-tests): Add strchrnul.
48769
48770 * po/it.po: Update from translation team.
48771 * po/es.po: Likewise.
48772
487732011-10-28 Ulrich Drepper <drepper@gmail.com>
48774
48775 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
48776 the three constants needed as parameters. Drop the others.
48777 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
48778 __m128i_strloadu_tolower.
48779 Create and initialize variable zero and use it in all the places
48780 where _mm_setzero_si128 was used.
48781
48782 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
48783 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
48784 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
48785 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
48786 anymore.
48787 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
48788 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
48789 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
48790 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
48791 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
48792 __mpranred, __mptan.
48793 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
48794 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
48795 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
48796 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
48797 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
48798 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
48799 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
48800 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
48801 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
48802
488032011-10-28 Andreas Schwab <schwab@redhat.com>
48804
48805 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
48806 redefine if SHARED.
48807 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
48808
48809 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
48810 wide char related routines to wcsmbs subdir.
48811
488122011-10-27 Andreas Schwab <schwab@redhat.com>
48813
48814 [BZ #13344]
48815 * misc/sys/cdefs.h (__THROWNL): Define.
48816 * posix/unistd.h: Use __THREADNL instead of __THREAD
48817 for memory synchronization functions.
48818
488192011-10-26 Roland McGrath <roland@hack.frob.com>
48820
48821 [BZ #13349]
48822 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
48823 doesn't exist.
48824 * manual/stdio.texi (Obstack Streams): Node removed.
48825
488262011-10-26 Andreas Schwab <schwab@redhat.com>
48827
48828 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
48829 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48830 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48831
48832 * math/math_private.h (math_force_eval): Allow non-addressable
48833 arguments.
48834 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
48835
488362011-10-25 Ulrich Drepper <drepper@gmail.com>
48837
48838 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
48839 file is not needed.
48840
48841 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
48842 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
48843 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48844 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48845 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48846 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48847 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48848 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
48849 Add AVX variants.
48850 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
48851 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
48852 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
48853 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
48854 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
48855 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
48856 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
48857 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
48858 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
48859 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
48860 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
48861 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
48862 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
48863 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
48864 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
48865 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
48866 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
48867 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
48868 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
48869
48870 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
48871 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
48872
48873 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
48874 place. Use VEX encoding when compiling for AVX.
48875
488762011-10-25 Andreas Schwab <schwab@redhat.com>
48877
48878 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
48879 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
48880
48881 * string/test-strchr.c (do_test): Don't generate NUL bytes.
48882
488832011-10-25 Ulrich Drepper <drepper@gmail.com>
48884
48885 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
48886 useless if() expression.
48887 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48888 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48889 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48890 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48891 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48892 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48893 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48894 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48895 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48896 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48897 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48898 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48899 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48900 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48901 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48902 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48903 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48904 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48905 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48906
48907 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
48908
489092011-10-25 Andreas Schwab <schwab@redhat.com>
48910
48911 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
48912 condition.
48913 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48914
489152011-10-25 Ulrich Drepper <drepper@gmail.com>
48916
48917 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
48918 .text section. Avoid duplicate constants.
48919 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48920 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48921 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48922 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48923 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48924 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48925 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48926 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48927 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48928 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
48929 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48930 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48931 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
48932 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
48933 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
48934 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
48935 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
48936 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48937 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48938 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48939 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48940 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48941 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48942 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
48943 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
48944 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
48945 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
48946 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
48947 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
48948 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
48949 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
48950 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
48951 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48952 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
48953 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
48954 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
48955 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
48956 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
48957 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
48958 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
48959 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
48960 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
48961 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
48962 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
48963 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
48964
489652011-10-24 Ulrich Drepper <drepper@gmail.com>
48966
48967 * sysdeps/x86_64/dla.h: Move to ...
48968 * sysdeps/x86_64/fpu/dla.h: ...here.
48969 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
48970 situations. Use __builtin_fma only for gcc 4.6 and up.
48971
48972 * config.make.in: Add have-mfma4 entry.
48973 * configure.in: Substitute libc_cv_cc_fma4.
48974 * math/Makefile (dbl-only-routines): Add sincostab.
48975 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
48976 Use __sincostab not sincos.
48977 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
48978 name is a macro.
48979 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48980 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48981 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48982 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
48983 using __copysign.
48984 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
48985 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
48986 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
48987 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
48988 and __inv.
48989 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
48990 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
48991 __copysign.
48992 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
48993 define aliases when function name is a macro.
48994 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
48995 sysdeps/ieee754/dbl-64/sincos.tbl.
48996 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
48997 fma4-enabled routines.
48998 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
48999 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
49000 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
49001 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
49002 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
49003 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
49004 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
49005 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
49006 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
49007 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
49008 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
49009 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
49010 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
49011 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
49012 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
49013 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
49014 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
49015 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
49016 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
49017 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
49018 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
49019 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
49020 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
49021 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
49022 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
49023 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
49024 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
49025 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
49026 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
49027 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
49028
49029 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
49030 rename.
49031 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49032 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49033 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49034 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49035 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49036 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49037 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49038 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49039
490402011-10-24 Andreas Schwab <schwab@redhat.com>
49041
49042 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
49043
490442011-10-23 Ulrich Drepper <drepper@gmail.com>
49045
49046 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
49047
49048 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
49049 prediction.
49050 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
49051
49052 * string/strnlen.c: Don't define STRNLEN, reverse logic.
49053 Remove unused variable magic_bits.
49054 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
49055
49056 * string/strnlen.c: Define and use STRNLEN macro.
49057 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
49058 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
49059 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
49060 * wcsmbs/wcslen.c: Define and use WCSLEN.
49061 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
49062 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
49063 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
49064 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
49065 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
49066 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
49067 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49068
490692011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49070
49071 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49072 strnlen-sse2-no-bsf.
49073 Rename strlen-no-bsf to strlen-sse2-no-bsf.
49074 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
49075 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
49076 Add strnlen support.
49077 (USE_AS_STRNLEN): New macro.
49078 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
49079 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
49080 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
49081 * sysdeps/x86_64/wcslen.S: New file.
49082
490832011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
49084
49085 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49086 XMM-moves are used for copying on small sizes.
49087
490882011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49089
49090 * wcsmbs/Makefile (strop-tests): Add wcschr.
49091 * wcsmbs/test-wcschr.c: New file.
49092 * string/test-strchr.c: Update.
49093 Add wcschr support.
49094 (WIDE): New macro.
49095
490962011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49097
49098 * wcsmbs/Makefile (strop-tests): Add wcslen.
49099 * wcsmbs/test-wcslen.c: New file.
49100 * string/test-strlen.c: Update.
49101 Add wcslen support.
49102 (WIDE): New macro.
49103
491042011-10-23 Ulrich Drepper <drepper@gmail.com>
49105
49106 * po/it.po: Update from translation team.
49107
491082011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49109
49110 * sysdeps/x86_64/wcscmp.S: Update.
49111 Fix wrong comparison semantics.
49112 wcscmp shall use signed comparison not unsigned.
49113 Don't use substraction to avoid overflow bug.
49114 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
49115 * wcsmbc/wcscmp.c: Likewise.
49116 * string/test-strcmp.c: Likewise.
49117 Add new tests to check cases with negative values.
49118
491192011-10-23 Ulrich Drepper <drepper@gmail.com>
49120
49121 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
49122 * sysdeps/x86_64/dla.h: ...here. New file.
49123 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
49124 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49125 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49126 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49127 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49128 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49129 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49130 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49131 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49132
491332011-10-23 Andreas Schwab <schwab@linux-m68k.org>
49134
49135 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
49136 __ynl_finite aliases.
49137
491382011-10-22 Ulrich Drepper <drepper@gmail.com>
49139
49140 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49141
49142 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
49143 define DLA_FMA.
49144 [DLA_FMA] (EMULV): Use DLA_FMA.
49145 [DLA_FMA] (MUL12): Use EMULV.
49146 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
49147 that are not needed.
49148 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49149 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49150 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49151 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49152 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49153 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49154 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49155
491562011-10-22 Andreas Schwab <schwab@linux-m68k.org>
49157
49158 * math/s_nan.c: Undef __nan.
49159 * math/s_nanf.c: Undef __nanf.
49160 * math/s_nanl.c: Undef __nanl.
49161 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
49162 "math_private.h".
49163
491642011-10-22 Ulrich Drepper <drepper@gmail.com>
49165
49166 * math/s_catan.c: Add branch predictions.
49167 * math/s_catanf.c: Likewise.
49168 * math/s_catanh.c: Likewise.
49169 * math/s_catanhf.c: Likewise.
49170 * math/s_catanhl.c: Likewise.
49171 * math/s_catanl.c: Likewise.
49172 * math/s_cexp.c: Likewise.
49173 * math/s_cexpf.c: Likewise.
49174 * math/s_cexpl.c: Likewise.
49175 * math/s_clog.c: Likewise.
49176 * math/s_clog10.c: Likewise.
49177 * math/s_clog10f.c: Likewise.
49178 * math/s_clog10l.c: Likewise.
49179 * math/s_clogf.c: Likewise.
49180 * math/s_clogl.c: Likewise.
49181 * math/s_csqrt.c: Likewise.
49182 * math/s_csqrtf.c: Likewise.
49183 * math/s_csqrtl.c: Likewise.
49184 * math/s_ctanf.c: Likewise.
49185 * math/s_ctanh.c: Likewise.
49186 * math/s_ctanhf.c: Likewise.
49187 * math/s_ctanhl.c: Likewise.
49188 * math/s_ctanl.c: Likewise.
49189
49190 * math/math_private.h: Define __nan, __nanf, __nanl.
49191 * math/s_cacosh.c: Include <math_private.h>.
49192 * math/s_cacoshl.c: Likewise.
49193 * math/s_casinh.c: Likewise.
49194 * math/s_casinhf.c: Likewise.
49195 * math/s_casinhl.c: Likewise.
49196 * math/s_ccos.c: Rely entire on ccosh.
49197 * math/s_ccosf.c: Rely entire on ccoshf.
49198 * math/s_ccosl.c: Rely entirely on ccoshl.
49199 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
49200 Remove tests for FE_INVALID.
49201 * math/s_ccoshf.c: Likewise.
49202 * math/s_ccoshl.c: Likewise.
49203 * math/s_csin.c: Likewise.
49204 * math/s_csinf.c: Likewise.
49205 * math/s_csinh.c Likewise.
49206 * math/s_csinhf.c: Likewise.
49207 * math/s_csinhl.c: Likewise.
49208 * math/s_csinl.c: Likewise.
49209 * math/s_ctan.c: Likewise.
49210 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
49211 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
49212 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
49213
492142011-10-21 Ulrich Drepper <drepper@gmail.com>
49215
49216 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
49217 compilation problems.
49218
49219 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
49220 __builtin_expect.
49221
492222011-10-20 Ulrich Drepper <drepper@gmail.com>
49223
49224 * sysdeps/i386/configure.in: Test for -mfma4 option.
49225 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
49226 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
49227 COMMON_CPUID_INDEX_80000001.
49228 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
49229 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
49230 use it if FMA3 is not supported.
49231 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
49232
49233 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
49234 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49235
492362011-10-20 Andreas Schwab <schwab@redhat.com>
49237
49238 [BZ #12892]
49239 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
49240 it would create a cycle with a link time dependency.
49241
492422011-10-19 Ulrich Drepper <drepper@gmail.com>
49243
49244 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
49245 instruction.
49246 * string/Makefile (strop-tests): Add rawmemchr.
49247 * string/test-rawmemchr.c: New file.
49248
49249 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
49250 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
49251 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
49252 when compiling str{,n}casecmp and when AVX is available. Hook up
49253 new optimized code in initializers.
49254
492552011-10-19 Andreas Schwab <schwab@redhat.com>
49256
49257 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
49258 __feraiseexcept instead of feraiseexcept.
49259
492602011-10-18 Ulrich Drepper <drepper@gmail.com>
49261
49262 * math/math_private.h: Define defaults for libc_fetestexcept and
49263 libc_feupdateenv.
49264 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
49265 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
49266 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49267 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49268 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
49269 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49270 libc_fetestexcept and libc_feupdateenv.
49271
49272 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
49273 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
49274 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
49275 * sysdeps/x86_64/fpu/math_private.h: Define special version of
49276 libc_feholdexcept_setround.
49277
49278 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
49279 Add s_nearbyint-c and s_nearbyintf-c.
49280 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
49281 nearbyintf inlines.
49282 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
49283 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
49284 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
49285 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
49286
49287 * math/math_private.h: Define defaults for libc_fegetround,
49288 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
49289 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
49290 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
49291 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
49292 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
49293 standard functions.
49294 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49295 Remove comments and hacks for old compiler versions.
49296 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49297 libc_fegetround, libc_fesetround, libc_feholdexcept, and
49298 libc_feholdexceptl.
49299
493002011-10-18 Andreas Schwab <schwab@redhat.com>
49301
49302 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
49303 (__feraiseexcept_renamed): Add __NTH.
49304 (feraiseexcept): Add __NTH. Rename local variables to fix
49305 namespace violations.
49306
493072011-10-17 Ulrich Drepper <drepper@gmail.com>
49308
49309 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
49310
49311 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
49312
49313 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
49314 recently added interfaces.
49315 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
49316
49317 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
49318 about macro parameter expansion.
49319
49320 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
49321 __NO_MATH_INLINES is defined. Cleanups.
49322
49323 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
49324 and __floorf is target has SSE4.1.
49325 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
49326 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
49327 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
49328 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
49329
49330 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
49331 name.
49332 (floorf): Likewise.
49333
49334 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
49335
493362011-10-17 Andreas Schwab <schwab@redhat.com>
49337
49338 * misc/sys/cdefs.h: Fix last change.
49339
49340 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
49341 database lookup.
49342
493432011-10-16 Ulrich Drepper <drepper@gmail.com>
49344
49345 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
49346
49347 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
49348 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49349 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49350 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49351 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49352 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
49353 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49354 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49355 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
49356 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
49357 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
49358 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
49359 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
49360 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
49361 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
49362 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
49363 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
49364 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
49365 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
49366 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
49367 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
49368 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
49369
49370 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
49371 ceil, ceilf, floor, floorf.
49372
49373 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
49374 Perform IRELATIVE relocations last.
49375
49376 * elf/do-rel.h: Add another parameter nrelative, replacing the
49377 local variable with the same name. Change name of the function
49378 to end in Rel or Rela (uppercase).
49379 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
49380 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
49381 elf_dynamic_do_##reloc function.
49382
493832011-10-15 Ulrich Drepper <drepper@gmail.com>
49384
49385 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
49386 is sufficient, at least on modern CPUs.
49387
49388 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
49389
49390 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
49391 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
49392
49393 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
49394 __expl_finite.
49395 * math/bits/math-finite.h: Add entries for exp.
49396 * math/e_expl.c: Add __*_finite alias.
49397 * sysdeps/i386/fpu/e_exp.S: Likewise.
49398 * sysdeps/i386/fpu/e_expf.S: Likewise.
49399 * sysdeps/i386/fpu/e_expl.c: Likewise.
49400 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49401 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49402 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49403 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49404 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
49405 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49406 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49407
49408 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
49409 is sufficient, at least on modern CPUs.
49410
49411 * ctype/ctype-info.c (__ctype_init): Define.
49412 * include/ctype.h (__ctype_init): Declare.
49413 (__ctype_b_loc): The variable is always initialized.
49414 (__ctype_toupper_loc): Likewise.
49415 (__ctype_tolower_loc): Likewise.
49416 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
49417 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
49418
494192011-10-15 Andreas Schwab <schwab@linux-m68k.org>
49420
49421 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
49422
49423 * configure.in: Also look in $cxxmachine/include for C++ system
49424 headers.
49425
494262011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49427
49428 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
49429 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
49430 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
49431 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
49432 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
49433 (USE_AS_WMEMCMP): New macro.
49434 Fixing indents.
49435 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
49436 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
49437 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
49438 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
49439 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49440 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
49441 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
49442 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
49443 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
49444 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
49445 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
49446 (USE_AS_WMEMCMP): New macro.
49447 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
49448 * sysdeps/string/test-memcmp.c: Update.
49449 Fix simple_wmemcmp.
49450 Add new tests.
49451 * wcsmbs/wmemcmp.c: Update.
49452 (WMEMCMP): New macro.
49453 Fix overflow bug.
49454
494552011-10-12 Andreas Jaeger <aj@suse.de>
49456
49457 [BZ #13268]
49458 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
49459
494602011-10-15 Ulrich Drepper <drepper@gmail.com>
49461
49462 * libio/iofwide.c (do_length): Avoid warning.
49463
49464 * ctype/ctype.h (__isctype_f): Add missing __THROW.
49465
494662011-10-14 Ulrich Drepper <drepper@gmail.com>
49467
49468 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
49469
49470 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
49471 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
49472 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
49473 * sysdeps/i386/i686/fpu/e_log.S: New file.
49474 * sysdeps/i386/i686/fpu/e_logf.S: New file.
49475 * sysdeps/i386/i686/fpu/e_logl.S: New file.
49476
49477 * ctype/ctype.h: Add support for inlined isXXX functions when
49478 compiling C++ code.
49479
494802011-10-14 Andreas Schwab <schwab@redhat.com>
49481
49482 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49483
49484 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
49485
494862011-10-13 Roland McGrath <roland@hack.frob.com>
49487
49488 [BZ #13291]
49489 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
49490
494912011-10-13 Andreas Schwab <schwab@redhat.com>
49492
49493 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
49494 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
49495 feraiseexcept.
49496
49497 * sysdeps/x86_64/memrchr.S: Check for zero size.
49498
49499 * string/stratcliff.c: Add memrchr tests.
49500
495012011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49502
49503 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49504 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
49505 rawmemchr-sse2 rawmemchr-sse2-bsf.
49506 * sysdeps/i386/i686/multiarch/memchr.S: New file.
49507 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
49508 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
49509 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
49510 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
49511 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
49512 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
49513 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
49514 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
49515 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
49516 * string/memrchr.c (MEMRCHR): New macro.
49517
495182011-10-12 Ulrich Drepper <drepper@gmail.com>
49519
49520 Add integration with gcc's -ffinite-math-only and optimize wrapper
49521 functions in libm.
49522 * Versions.def: Define GLIBC_2.15 version for libm.
49523 * math/Makefile (headers): Add bits/math-finite.h.
49524 * math/bits/math-finite.h: New file.
49525 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
49526 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
49527 * math/e_acoshl.c: Add __*_finite alias.
49528 * math/e_acosl.c: Likewise.
49529 * math/e_asinl.c: Likewise.
49530 * math/e_atan2l.c: Likewise.
49531 * math/e_atanhl.c: Likewise.
49532 * math/e_coshl.c: Likewise.
49533 * math/e_exp10.c: Likewise.
49534 * math/e_exp10f.c: Likewise.
49535 * math/e_exp10l.c: Likewise.
49536 * math/e_exp2l.c: Likewise.
49537 * math/e_fmodl.c: Likewise.
49538 * math/e_gammal_r.c: Likewise.
49539 * math/e_hypotl.c: Likewise.
49540 * math/e_j0l.c: Likewise.
49541 * math/e_j1l.c: Likewise.
49542 * math/e_jnl.c: Likewise.
49543 * math/e_lgammal_r.c: Likewise.
49544 * math/e_log10l.c: Likewise.
49545 * math/e_log2l.c: Likewise.
49546 * math/e_logl.c: Likewise.
49547 * math/e_powl.c: Likewise.
49548 * math/e_sinhl.c: Likewise.
49549 * math/e_sqrtl.c: Likewise.
49550 * math/e_scalb.c: Completely rewritten and optimized.
49551 * math/e_scalbf.c: Likewise.
49552 * math/e_scalbl.c: Likewise.
49553 * math/w_acos.c: Likewise.
49554 * math/w_acosf.c: Likewise.
49555 * math/w_acosl.c: Likewise.
49556 * math/w_acosh.c: Likewise.
49557 * math/w_acoshf.c: Likewise.
49558 * math/w_acoshl.c: Likewise.
49559 * math/w_asin.c: Likewise.
49560 * math/w_asinf.c: Likewise.
49561 * math/w_asinl.c: Likewise.
49562 * math/w_atan2.c: Likewise.
49563 * math/w_atan2f.c: Likewise.
49564 * math/w_atan2l.c: Likewise.
49565 * math/w_atanh.c: Likewise.
49566 * math/w_atanhf.c: Likewise.
49567 * math/w_atanhl.c: Likewise.
49568 * math/w_exp10.c: Likewise.
49569 * math/w_exp10f.c: Likewise.
49570 * math/w_exp10l.c: Likewise.
49571 * math/w_fmod.c: Likewise.
49572 * math/w_fmodf.c: Likewise.
49573 * math/w_fmodl.c: Likewise.
49574 * math/w_j0.c: Likewise.
49575 * math/w_j0f.c: Likewise.
49576 * math/w_j0l.c: Likewise.
49577 * math/w_j1.c: Likewise.
49578 * math/w_j1f.c: Likewise.
49579 * math/w_j1l.c: Likewise.
49580 * math/w_jn.c: Likewise.
49581 * math/w_jnf.c: Likewise.
49582 * math/w_log.c: Likewise.
49583 * math/w_logf.c: Likewise.
49584 * math/w_logl.c: Likewise.
49585 * math/w_log10.c: Likewise.
49586 * math/w_log10f.c: Likewise.
49587 * math/w_log10l.c: Likewise.
49588 * math/w_log2.c: Likewise.
49589 * math/w_log2f.c: Likewise.
49590 * math/w_log2l.c: Likewise.
49591 * math/w_pow.c: Likewise.
49592 * math/w_powf.c: Likewise.
49593 * math/w_powl.c: Likewise.
49594 * math/w_remainder.c: Likewise.
49595 * math/w_remainderf.c: Likewise.
49596 * math/w_remainderl.c: Likewise.
49597 * math/w_scalb.c: Likewise.
49598 * math/w_scalbf.c: Likewise.
49599 * math/w_scalbl.c: Likewise.
49600 * math/w_sqrt.c: Likewise.
49601 * math/w_sqrtf.c: Likewise.
49602 * math/w_sqrtl.c: Likewise.
49603 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
49604 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
49605 used.
49606 * math/math_private.h: Declare __kernel_standard_f.
49607 * math/w_cosh.c: Remove cruft and optimize a bit.
49608 * math/w_coshf.c: Likewise.
49609 * math/w_coshl.c: Likewise.
49610 * math/w_exp2.c: Likewise.
49611 * math/w_exp2f.c: Likewise.
49612 * math/w_exp2l.c: Likewise.
49613 * math/w_hypot.c: Likewise.
49614 * math/w_hypotf.c: Likewise.
49615 * math/w_hypotl.c: Likewise.
49616 * math/w_lgamma.c: Likewise.
49617 * math/w_lgamma_r.c: Likewise.
49618 * math/w_lgammaf.c: Likewise.
49619 * math/w_lgammaf_r.c: Likewise.
49620 * math/w_lgammal.c: Likewise.
49621 * math/w_lgammal_r.c: Likewise.
49622 * math/w_sinh.c: Likewise.
49623 * math/w_sinhf.c: Likewise.
49624 * math/w_sinhl.c: Likewise.
49625 * math/w_tgamma.c: Likewise.
49626 * math/w_tgammaf.c: Likewise.
49627 * math/w_tgammal.c: Likewise.
49628 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49629 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49630 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
49631 Minor optimizations. Pretty printing. Remove cruft.
49632 * sysdeps/i386/fpu/e_acosf.S: Likewise.
49633 * sysdeps/i386/fpu/e_acosh.S: Likewise.
49634 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49635 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49636 * sysdeps/i386/fpu/e_acosl.c: Likewise.
49637 * sysdeps/i386/fpu/e_asin.S: Likewise.
49638 * sysdeps/i386/fpu/e_asinf.S: Likewise.
49639 * sysdeps/i386/fpu/e_atan2.S: Likewise.
49640 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
49641 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
49642 * sysdeps/i386/fpu/e_atanh.S: Likewise.
49643 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49644 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49645 * sysdeps/i386/fpu/e_exp10.S: Likewise.
49646 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
49647 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
49648 * sysdeps/i386/fpu/e_exp2.S: Likewise.
49649 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
49650 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
49651 * sysdeps/i386/fpu/e_fmod.S: Likewise.
49652 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
49653 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
49654 * sysdeps/i386/fpu/e_hypot.S: Likewise.
49655 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
49656 * sysdeps/i386/fpu/e_log.S: Likewise.
49657 * sysdeps/i386/fpu/e_log10.S: Likewise.
49658 * sysdeps/i386/fpu/e_log10f.S: Likewise.
49659 * sysdeps/i386/fpu/e_log10l.S: Likewise.
49660 * sysdeps/i386/fpu/e_log2.S: Likewise.
49661 * sysdeps/i386/fpu/e_log2f.S: Likewise.
49662 * sysdeps/i386/fpu/e_log2l.S: Likewise.
49663 * sysdeps/i386/fpu/e_logf.S: Likewise.
49664 * sysdeps/i386/fpu/e_logl.S: Likewise.
49665 * sysdeps/i386/fpu/e_pow.S: Likewise.
49666 * sysdeps/i386/fpu/e_powf.S: Likewise.
49667 * sysdeps/i386/fpu/e_powl.S: Likewise.
49668 * sysdeps/i386/fpu/e_remainder.S: Likewise.
49669 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
49670 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
49671 * sysdeps/i386/fpu/e_scalb.S: Likewise.
49672 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49673 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49674 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
49675 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
49676 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
49677 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49678 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49679 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49680 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49681 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49682 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49683 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
49684 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49685 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49686 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49687 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49688 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
49689 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49690 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49691 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49692 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49693 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49694 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49695 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49696 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49697 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49698 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
49699 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49700 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49701 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
49702 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
49703 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49704 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
49705 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
49706 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
49707 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49708 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
49709 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49710 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
49711 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
49712 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
49713 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
49714 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
49715 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
49716 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
49717 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
49718 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
49719 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
49720 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
49721 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49722 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
49723 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
49724 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
49725 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
49726 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
49727 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
49728 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
49729 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
49730 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49731 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
49732 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
49733 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
49734 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
49735 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
49736 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
49737 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
49738 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
49739 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49740 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49741 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
49742 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
49743 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
49744 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
49745 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
49746 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
49747 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
49748 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
49749 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
49750 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
49751 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
49752 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49753 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
49754 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
49755 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49756 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
49757 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49758 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
49759 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
49760 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49761 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49762 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
49763 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49764 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
49765 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49766 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
49767 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49768 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49769 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49770 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
49771 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49772 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49773 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49774 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
49775 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
49776 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
49777 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
49778 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
49779 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
49780 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
49781 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49782 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49783 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49784 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49785 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
49786 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49787 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
49788 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
49789 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
49790 (__isnanf): Likewise.
49791 (__isinf_ns): Likewise.
49792 (__isinf_nsf): Likewise.
49793 (__finite): Likewise.
49794 (__finitef): Likewise.
49795 (__ieee754_sqrt): Define as macro.
49796 (__ieee754_sqrtf): Define as macro.
49797 (__ieee754_sqrtl): Define as macro.
49798 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
49799 inlined copy.
49800 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
49801 __FINITE_MATH_ONLY__ consistent.
49802 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
49803
498042011-10-10 Andreas Schwab <schwab@linux-m68k.org>
49805
49806 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
49807 of rawmemchr.
49808
49809 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
49810
498112011-10-09 Ulrich Drepper <drepper@gmail.com>
49812
49813 * po/ja.po: Update from translation team.
49814
498152011-10-08 Roland McGrath <roland@hack.frob.com>
49816
49817 * locale/programs/locarchive.c (prepare_address_space): New function.
49818 (create_archive, enlarge_archive, open_archive): Use it.
49819
49820 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
49821 inside [SHARED], where it is used.
49822
49823 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
49824
49825 * nss/getent.c (netgroup_keys): Remove unused variable.
49826 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
49827
498282011-10-08 Ulrich Drepper <drepper@gmail.com>
49829
49830 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
49831 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
49832 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
49833 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
49834 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
49835 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
49836 * math/Makefile (libm-calls): Add s_isinf_ns.
49837 * math/divtc3.c: Use __isinf_nsl instead of isinf.
49838 * math/multc3.c: Likewise.
49839 * math/s_casin.c: Likewise.
49840 * math/s_casinf.c: Likewise.
49841 * math/s_casinl.c: Likewise.
49842 * math/s_ccos.c: Likewise.
49843 * math/s_ccosf.c: Likewise.
49844 * math/s_ccosl.c: Likewise.
49845 * math/s_ctan.c: Likewise.
49846 * math/s_ctanf.c: Likewise.
49847 * math/s_ctanh.c: Likewise.
49848 * math/s_ctanhf.c: Likewise.
49849 * math/s_ctanhl.c: Likewise.
49850 * math/s_ctanl.c: Likewise.
49851 * math/w_fmod.c: Likewise.
49852 * math/w_fmodf.c: Likewise.
49853 * math/w_fmodl.c: Likewise.
49854 * math/w_remainder.c: Likewise.
49855 * math/w_remainderf.c: Likewise.
49856 * math/w_remainderl.c: Likewise.
49857 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
49858 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
49859 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
49860 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
49861 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
49862 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
49863 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
49864 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
49865
49866 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
49867 of the number.
49868 * stdio-common/printf_fphex.c: Likewise.
49869 * stdio-common/printf_size.c: Likewise.
49870
49871 * math/e_exp10.c: Include math_private.h using <...> not "...".
49872 * math/e_exp10f.c: Likewise.
49873 * math/e_exp10l.c: Likewise.
49874 * math/e_exp2l.c: Likewise.
49875 * math/e_j0l.c: Likewise.
49876 * math/e_j1l.c: Likewise.
49877 * math/e_jnl.c: Likewise.
49878 * math/e_lgammal_r.c: Likewise.
49879 * math/e_rem_pio2l.c: Likewise.
49880 * math/e_scalb.c: Likewise.
49881 * math/e_scalbf.c: Likewise.
49882 * math/e_scalbl.c: Likewise.
49883 * math/k_cosl.c: Likewise.
49884 * math/k_sinl.c: Likewise.
49885 * math/k_tanl.c: Likewise.
49886 * math/s_cacoshf.c: Likewise.
49887 * math/s_catan.c: Likewise.
49888 * math/s_catanf.c: Likewise.
49889 * math/s_catanh.c: Likewise.
49890 * math/s_catanhf.c: Likewise.
49891 * math/s_catanhl.c: Likewise.
49892 * math/s_catanl.c: Likewise.
49893 * math/s_ccosh.c: Likewise.
49894 * math/s_ccoshf.c: Likewise.
49895 * math/s_ccoshl.c: Likewise.
49896 * math/s_cexp.c: Likewise.
49897 * math/s_cexpf.c: Likewise.
49898 * math/s_cexpl.c: Likewise.
49899 * math/s_clog.c: Likewise.
49900 * math/s_clog10.c: Likewise.
49901 * math/s_clog10f.c: Likewise.
49902 * math/s_clog10l.c: Likewise.
49903 * math/s_clogf.c: Likewise.
49904 * math/s_clogl.c: Likewise.
49905 * math/s_csin.c: Likewise.
49906 * math/s_csinf.c: Likewise.
49907 * math/s_csinh.c: Likewise.
49908 * math/s_csinhf.c: Likewise.
49909 * math/s_csinhl.c: Likewise.
49910 * math/s_csinl.c: Likewise.
49911 * math/s_csqrt.c: Likewise.
49912 * math/s_csqrtf.c: Likewise.
49913 * math/s_csqrtl.c: Likewise.
49914 * math/s_ctan.c: Likewise.
49915 * math/s_ctanf.c: Likewise.
49916 * math/s_ctanh.c: Likewise.
49917 * math/s_ctanhf.c: Likewise.
49918 * math/s_ctanhl.c: Likewise.
49919 * math/s_ctanl.c: Likewise.
49920 * math/s_ldexp.c: Likewise.
49921 * math/s_ldexpf.c: Likewise.
49922 * math/s_ldexpl.c: Likewise.
49923 * math/s_significand.c: Likewise.
49924 * math/s_significandf.c: Likewise.
49925 * math/s_significandl.c: Likewise.
49926 * math/w_acos.c: Likewise.
49927 * math/w_acosf.c: Likewise.
49928 * math/w_acosh.c: Likewise.
49929 * math/w_acoshf.c: Likewise.
49930 * math/w_acoshl.c: Likewise.
49931 * math/w_acosl.c: Likewise.
49932 * math/w_asin.c: Likewise.
49933 * math/w_asinf.c: Likewise.
49934 * math/w_asinl.c: Likewise.
49935 * math/w_atan2.c: Likewise.
49936 * math/w_atan2f.c: Likewise.
49937 * math/w_atan2l.c: Likewise.
49938 * math/w_atanh.c: Likewise.
49939 * math/w_atanhf.c: Likewise.
49940 * math/w_atanhl.c: Likewise.
49941 * math/w_cosh.c: Likewise.
49942 * math/w_coshf.c: Likewise.
49943 * math/w_coshl.c: Likewise.
49944 * math/w_dremf.c: Likewise.
49945 * math/w_exp10.c: Likewise.
49946 * math/w_exp10f.c: Likewise.
49947 * math/w_exp10l.c: Likewise.
49948 * math/w_exp2.c: Likewise.
49949 * math/w_exp2f.c: Likewise.
49950 * math/w_fmod.c: Likewise.
49951 * math/w_fmodf.c: Likewise.
49952 * math/w_fmodl.c: Likewise.
49953 * math/w_hypot.c: Likewise.
49954 * math/w_hypotf.c: Likewise.
49955 * math/w_hypotl.c: Likewise.
49956 * math/w_j0.c: Likewise.
49957 * math/w_j0f.c: Likewise.
49958 * math/w_j0l.c: Likewise.
49959 * math/w_j1.c: Likewise.
49960 * math/w_j1f.c: Likewise.
49961 * math/w_j1l.c: Likewise.
49962 * math/w_jn.c: Likewise.
49963 * math/w_jnf.c: Likewise.
49964 * math/w_jnl.c: Likewise.
49965 * math/w_lgamma.c: Likewise.
49966 * math/w_lgamma_r.c: Likewise.
49967 * math/w_lgammaf.c: Likewise.
49968 * math/w_lgammaf_r.c: Likewise.
49969 * math/w_lgammal.c: Likewise.
49970 * math/w_lgammal_r.c: Likewise.
49971 * math/w_log.c: Likewise.
49972 * math/w_log10.c: Likewise.
49973 * math/w_log10f.c: Likewise.
49974 * math/w_log10l.c: Likewise.
49975 * math/w_log2.c: Likewise.
49976 * math/w_log2f.c: Likewise.
49977 * math/w_log2l.c: Likewise.
49978 * math/w_logf.c: Likewise.
49979 * math/w_logl.c: Likewise.
49980 * math/w_pow.c: Likewise.
49981 * math/w_powf.c: Likewise.
49982 * math/w_powl.c: Likewise.
49983 * math/w_remainder.c: Likewise.
49984 * math/w_remainderf.c: Likewise.
49985 * math/w_remainderl.c: Likewise.
49986 * math/w_scalb.c: Likewise.
49987 * math/w_scalbf.c: Likewise.
49988 * math/w_scalbl.c: Likewise.
49989 * math/w_sinh.c: Likewise.
49990 * math/w_sinhf.c: Likewise.
49991 * math/w_sinhl.c: Likewise.
49992 * math/w_sqrt.c: Likewise.
49993 * math/w_sqrtf.c: Likewise.
49994 * math/w_sqrtl.c: Likewise.
49995 * math/w_tgamma.c: Likewise.
49996 * math/w_tgammaf.c: Likewise.
49997 * math/w_tgammal.c: Likewise.
49998
49999 * po/ja.po: Update from translation team.
50000
500012011-09-29 Andreas Jaeger <aj@suse.de>
50002
50003 [BZ #13179]
50004 * sunrpc/netname.c (netname2host): Fix logic.
50005
50006 [BZ #6779]
50007 [BZ #6783]
50008 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
50009 correctly.
50010 * math/w_remainder.c (__remainder): Likewise.
50011 * math/w_remainderf.c (__remainderf): Likewise.
50012 * math/libm-test.inc (remainder_test): Add test cases.
50013
500142011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50015
50016 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
50017 sdiv_qrnnd.
50018
500192011-10-07 Ulrich Drepper <drepper@gmail.com>
50020
50021 * string/test-memcmp.c: Avoid unncessary #defines.
50022 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50023
500242011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50025
50026 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
50027 Use new sse2 version for core i3 - i7 as it's faster
50028 than sse42 version.
50029 (bit_Prefer_PMINUB_for_stringop): New.
50030 * sysdeps/x86_64/rawmemchr.S: Update.
50031 Replace with faster SSE2 version.
50032 * sysdeps/x86_64/memrchr.S: New file.
50033 * sysdeps/x86_64/memchr.S: Update.
50034 Replace with faster SSE2 version.
50035
500362011-09-12 Marek Polacek <mpolacek@redhat.com>
50037
50038 * elf/dl-load.c (lose): Add cast to avoid warning.
50039
500402011-10-07 Ulrich Drepper <drepper@gmail.com>
50041
50042 * po/ca.po: Update from translation team.
50043
50044 * inet/getnetgrent_r.c: Hook up nscd.
50045 * nscd/Makefile (routines): Add nscd_netgroup.
50046 (nscd-modules): Add netgroupcache.
50047 (CFLAGS-netgroupcache.c): Define.
50048 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
50049 (cache_search): Add const to second parameter.
50050 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
50051 INNETGR.
50052 (dbs): Add netgrdb entry.
50053 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
50054 (verify_persistent_db): Handle netgrdb.
50055 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
50056 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
50057 GETFDNETGR.
50058 (netgroup_response_header): Define.
50059 (innetgroup_response_header): Define.
50060 (datahead): Add netgroup_response_header and innetgroup_response_header
50061 elements.
50062 * nscd/nscd.conf: Add entries for netgroup cache.
50063 * nscd/nscd.h (dbtype): Add netgrdb.
50064 (_PATH_NSCD_NETGROUP_DB): Define.
50065 (netgroup_iov_disabled): Declare.
50066 (xmalloc, xcalloc, xrealloc): Move declarations here.
50067 (cache_search): Adjust prototype.
50068 Add netgroup-related prototypes.
50069 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
50070 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
50071 (__nscd_innetgr): Declare.
50072 * nscd/selinux.c (perms): Use access_vector_t as element type and
50073 add netgroup-related initializers.
50074 * nscd/netgroupcache.c: New file.
50075 * nscd/nscd_netgroup.c: New file.
50076 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
50077 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
50078 For four parameters use innetgr.
50079 * nss/nss_files/files-init.c: Add definition and callback for netgr.
50080 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
50081 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
50082 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
50083
50084 * nscd/connections.c (register_traced_file): Don't register file
50085 for disabled databases.
50086
500872011-10-06 Ulrich Drepper <drepper@gmail.com>
50088
50089 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
50090
50091 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
50092 from tree and freeing node.
50093
500942011-09-25 Jiri Olsa <jolsa@redhat.com>
50095
50096 * nss/nsswitch.c (__nss_database_lookup): Handle
50097 nss_parse_service_list out of memory case.
50098
500992011-09-15 Jiri Olsa <jolsa@redhat.com>
50100
50101 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
50102 out of memory case.
50103
501042011-10-04 Andreas Schwab <schwab@redhat.com>
50105
50106 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
50107 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
50108 pass it down.
50109 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
50110 elf_machine_rela, elf_machine_lazy_rel.
50111 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
50112 (ELF_DYNAMIC_DO_REL): Likewise.
50113 (ELF_DYNAMIC_DO_RELA): Likewise.
50114 (ELF_DYNAMIC_RELOCATE): Likewise.
50115 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
50116 to ELF_DYNAMIC_DO_REL.
50117 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
50118 (dl_main): In trace mode always set __RTLD_NOIFUNC.
50119 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
50120 elf_machine_rela.
50121 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
50122 skip_ifunc, don't call ifunc function if non-zero.
50123 (elf_machine_rela): Likewise.
50124 (elf_machine_lazy_rel): Likewise.
50125 (elf_machine_lazy_rela): Likewise.
50126 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
50127 (elf_machine_lazy_rel): Likewise.
50128 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
50129 Likewise.
50130 (elf_machine_lazy_rel): Likewise.
50131 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50132 Likewise.
50133 (elf_machine_lazy_rel): Likewise.
50134 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
50135 (elf_machine_lazy_rel): Likewise.
50136 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
50137 (elf_machine_lazy_rel): Likewise.
50138 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50139 (elf_machine_lazy_rel): Likewise.
50140 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
50141 (elf_machine_lazy_rel): Likewise.
50142 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
50143 (elf_machine_lazy_rel): Likewise.
50144 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50145 (elf_machine_lazy_rel): Likewise.
50146
501472011-09-28 Ulrich Drepper <drepper@gmail.com>
50148
50149 * nss/nss_files/files-init.c (_nss_files_init): Use static
50150 initialization for all the *_traced_file variables.
50151
501522011-09-28 Andreas Schwab <schwab@redhat.com>
50153
50154 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50155
501562011-09-27 Roland McGrath <roland@hack.frob.com>
50157
50158 [BZ #13226]
50159 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
50160
501612011-09-27 Andreas Schwab <schwab@redhat.com>
50162
50163 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50164 Reread the line before reparsing it.
50165
501662011-09-26 Andreas Schwab <schwab@redhat.com>
50167
50168 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
50169
501702011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
50171 Maxim Kuvyrkov <maxim@codesourcery.com>
50172 Joseph Myers <joseph@codesourcery.com>
50173
50174 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
50175 if needed for __stack_chk_guard.
50176
501772011-09-19 Roland McGrath <roland@hack.frob.com>
50178
50179 * sysdeps/posix/spawni.c (script_execute): Always define it.
50180 It will be optimized away if unused.
50181 (maybe_script_execute): New function.
50182 (__spawni): Call it.
50183
50184 * Makerules: Don't include tls.make.
50185 (config-tls): Always set to thread.
50186 * tls.make.c: File removed.
50187
501882011-09-19 Mike Frysinger <vapier@gentoo.org>
50189
50190 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
50191 * config.make.in (CPPFLAGS-config): New substituted variable.
50192
501932011-09-15 Ulrich Drepper <drepper@gmail.com>
50194
50195 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
50196
50197 [BZ #13192]
50198 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
50199 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
50200
502012011-09-15 Roland McGrath <roland@hack.frob.com>
50202
50203 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
50204 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
50205 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50206 (CALL_FAIL): Likewise.
50207 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
50208 (CALL_FAIL): Macro removed.
50209 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
50210
502112011-09-15 Ulrich Drepper <drepper@gmail.com>
50212
50213 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
50214 for __FINITE_MATH_ONLY__ == 1.
50215
502162011-09-15 Andreas Schwab <schwab@redhat.com>
50217
50218 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
50219 __ieee754_sqrt instead of sqrt.
50220 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
50221 __ieee754_sqrtf instead of sqrtf.
50222 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
50223 __floorf instead of floorf.
50224 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
50225 __floorf, __truncf instead of floorf, truncf.
50226
502272011-09-14 Ulrich Drepper <drepper@gmail.com>
50228
50229 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
50230
50231 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
50232 __extern_always_inline.
50233 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
50234 32-bit.
50235
502362011-09-14 Andreas Schwab <schwab@redhat.com>
50237
50238 * elf/rtld.c (dl_main): Also relocate in dependency order when
50239 doing symbol dependency testing.
50240
502412011-09-13 Andreas Schwab <schwab@linux-m68k.org>
50242
50243 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50244 Always define `refsym'.
50245
502462011-09-13 Andreas Schwab <schwab@redhat.com>
50247
50248 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
50249 (__FD_ELT): Renamed from __FDELT.
50250 * misc/bits/select2.h (__FD_ELT): Likewise.
50251 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
50252 __FD_MASK instead of __FDELT, __FDMASK.
50253 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50254 Likewise.
50255 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50256 Likewise.
50257
50258 * elf/Makefile (gen-ldd): Fix pattern.
50259
50260 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
50261 (init_tls): Likewise.
50262
502632011-09-12 Ulrich Drepper <drepper@gmail.com>
50264
50265 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
50266
502672011-09-12 Andreas Schwab <schwab@redhat.com>
50268
50269 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
50270 `struct cmsghdr *' instead of `void *'.
50271 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
50272 Likewise.
50273
502742011-09-11 Andreas Schwab <schwab@linux-m68k.org>
50275
50276 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
50277 if non-absolute.
50278 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
50279 ldd_rewrite_script.
50280
502812011-09-11 Ulrich Drepper <drepper@gmail.com>
50282
50283 * configure.in: Remove --with-tls option.
50284 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
50285 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
50286 out in case it is missing.
50287 * sysdeps/ia64/elf/configure.in: Likewise.
50288 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
50289 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
50290 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
50291 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
50292 * sysdeps/sh/elf/configure.in: Likewise.
50293 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
50294 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50295 * sysdeps/x86_64/elf/configure.in: Likewise.
50296 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
50297 * sysdeps/mach/hurd/tls.h: Likewise.
50298
50299 [BZ #13067]
50300 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
50301
50302 [BZ #13090]
50303 * configure.in: Fix use of AC_INIT.
50304
50305 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
50306
503072011-09-10 Ulrich Drepper <drepper@gmail.com>
50308
50309 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
50310 __set_errno.
50311 * malloc/hooks.c: Likewise.
50312
50313 [BZ #11929]
50314 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
50315 variables statically.
50316 (narenas): Initialize.
50317 (list_lock): Initialize.
50318 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
50319 initializtion of main_arena and list_lock. Small cleanups.
50320 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
50321 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
50322 Add initializers to main_arena and mp_.
50323 (malloc_state): Remove pagesize member. Change all users to use
50324 GLRO(dl_pagesize).
50325
50326 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
50327 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
50328 is always initialized.
50329
50330 * malloc/malloc.c: Removed unused configurations and dead code.
50331 * malloc/arena.c: Likewise.
50332 * malloc/hooks.c: Likewise.
50333 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
50334
50335 * include/tls.h: Removed. USE___THREAD must always be defined.
50336 * bits/libc-tsd.h: Don't handle !USE___THREAD.
50337 * elf/dl-libc.c: Likewise.
50338 * elf/dl-tsd.c: Likewise.
50339 * include/errno.h: Likewise.
50340 * include/netdb.h: Likewise.
50341 * include/resolv.h: Likewise.
50342 * inet/herrno-loc.c: Likewise.
50343 * inet/herrno.c: Likewise.
50344 * malloc/arena.c: Likewise.
50345 * malloc/hooks.c: Likewise.
50346 * malloc/malloc.c: Likewise.
50347 * resolv/res-state.c: Likewise.
50348 * resolv/res_libc.c: Likewise.
50349 * sysdeps/i386/dl-machine.h: Likewise.
50350 * sysdeps/ia64/dl-machine.h: Likewise.
50351 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
50352 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
50353 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
50354 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
50355 * sysdeps/sh/dl-machine.h: Likewise.
50356 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
50357 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
50358 * sysdeps/unix/i386/sysdep.S: Likewise.
50359 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
50360 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
50361 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
50362 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
50363 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
50364 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
50365 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
50366 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
50367 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50368 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
50369 * sysdeps/unix/x86_64/sysdep.S: Likewise.
50370 * sysdeps/x86_64/dl-machine.h: Likewise.
50371 * tls.make.c: Likewise.
50372
50373 * configure.in: Remove --with-__thread option. Make tests for
50374 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
50375 tls_model attribute fail if no support is available. Remove
50376 USE_IN_LIBIO.
50377 * Makeconfig: Adjust for dropped configure option. All features are
50378 now mandatory.
50379 * Makerules: Likewise.
50380 * Versions.def: Likewise.
50381 * argp/argp-fmtstream.c: Likewise.
50382 * argp/argp-fmtstream.h: Likewise.
50383 * argp/argp-help.c: Likewise.
50384 * assert/assert.c: Likewise.
50385 * config.h.in: Likewise.
50386 * config.make.in: Likewise.
50387 * configure: Likewise.
50388 * configure.in: Likewise.
50389 * csu/Versions: Likewise.
50390 * csu/init.c: Likewise.
50391 * elf/tst-audit2.c: Likewise.
50392 * elf/tst-tls10.c: Likewise.
50393 * elf/tst-tls10.h: Likewise.
50394 * elf/tst-tls11.c: Likewise.
50395 * elf/tst-tls12.c: Likewise.
50396 * elf/tst-tls14.c: Likewise.
50397 * elf/tst-tlsmod11.c: Likewise.
50398 * elf/tst-tlsmod12.c: Likewise.
50399 * elf/tst-tlsmod13.c: Likewise.
50400 * elf/tst-tlsmod13a.c: Likewise.
50401 * elf/tst-tlsmod14a.c: Likewise.
50402 * elf/tst-tlsmod15b.c: Likewise.
50403 * elf/tst-tlsmod16a.c: Likewise.
50404 * elf/tst-tlsmod16b.c: Likewise.
50405 * elf/tst-tlsmod7.c: Likewise.
50406 * elf/tst-tlsmod8.c: Likewise.
50407 * elf/tst-tlsmod9.c: Likewise.
50408 * gmon/gmon.c: Likewise.
50409 * grp/fgetgrent_r.c: Likewise.
50410 * grp/putgrent.c: Likewise.
50411 * hurd/fopenport.c: Likewise.
50412 * include/libc-symbols.h: Likewise.
50413 * include/tls.h: Likewise.
50414 * intl/gettextP.h: Likewise.
50415 * intl/loadinfo.h: Likewise.
50416 * locale/global-locale.c: Likewise.
50417 * locale/localeinfo.h: Likewise.
50418 * mach/devstream.c: Likewise.
50419 * malloc/arena.c: Likewise.
50420 * malloc/set-freeres.c: Likewise.
50421 * misc/err.c: Likewise.
50422 * misc/getttyent.c: Likewise.
50423 * misc/mntent_r.c: Likewise.
50424 * posix/getopt.c: Likewise.
50425 * posix/wordexp.c: Likewise.
50426 * pwd/fgetpwent_r.c: Likewise.
50427 * resolv/Versions: Likewise.
50428 * resolv/res_hconf.c: Likewise.
50429 * shadow/fgetspent_r.c: Likewise.
50430 * shadow/putspent.c: Likewise.
50431 * stdio-common/printf_fphex.c: Likewise.
50432 * stdio-common/tmpfile.c: Likewise.
50433 * stdlib/abort.c: Likewise.
50434 * stdlib/fmtmsg.c: Likewise.
50435 * sunrpc/auth_unix.c: Likewise.
50436 * sunrpc/clnt_perr.c: Likewise.
50437 * sunrpc/clnt_tcp.c: Likewise.
50438 * sunrpc/clnt_udp.c: Likewise.
50439 * sunrpc/clnt_unix.c: Likewise.
50440 * sunrpc/openchild.c: Likewise.
50441 * sunrpc/svc_simple.c: Likewise.
50442 * sunrpc/svc_tcp.c: Likewise.
50443 * sunrpc/svc_udp.c: Likewise.
50444 * sunrpc/svc_unix.c: Likewise.
50445 * sunrpc/xdr.c: Likewise.
50446 * sunrpc/xdr_array.c: Likewise.
50447 * sunrpc/xdr_rec.c: Likewise.
50448 * sunrpc/xdr_ref.c: Likewise.
50449 * sunrpc/xdr_stdio.c: Likewise.
50450
504512011-09-09 Ulrich Drepper <drepper@gmail.com>
50452
50453 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50454
504552011-07-03 Andreas Jaeger <aj@suse.de>
50456
50457 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
50458 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
50459 regenerate with gen-libm-tests.pl.
50460
504612010-05-12 Petr Baudis <pasky@suse.cz>
50462
50463 [BZ #11589]
50464 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
50465 around j0() zero points by switching to j1().
50466 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50467 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50468 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50469 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50470
504712011-09-09 Ulrich Drepper <drepper@gmail.com>
50472
50473 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
50474 instead of 0.
50475 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
50476 instead of 0.
50477 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50478 Patch in part by Pavel Roskin <proski@gnu.org>.
50479
50480 [BZ #13138]
50481 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
50482 realloc.
50483 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
50484 Free memory block if necessary.
50485
50486 [BZ #12847]
50487 * libio/genops.c (INTDEF): For string streams the _lock pointer can
50488 be NULL. Don't lock in this case.
50489
504902011-09-09 Roland McGrath <roland@hack.frob.com>
50491
50492 * elf/elf.h (ELFOSABI_GNU): New macro.
50493 (ELFOSABI_LINUX): Define to that.
50494
504952011-07-29 Denis Zaitceff <zaitceff@gmail.com>
50496
50497 * string/strncat.c (strncat): Undef the symbol in case it has been
50498 defined in bits/string.h.
50499
505002011-09-09 Ulrich Drepper <drepper@gmail.com>
50501
50502 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
50503
50504 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
50505 link map.
50506
505072011-08-17 Andreas Jaeger <aj@suse.de>
50508
50509 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
50510
505112011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
50512 Ian Lance Taylor <iant@google.com>
50513
50514 * math/libm-test.inc (lround_test): New testcase.
50515 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
50516
505172011-09-08 Ulrich Drepper <drepper@gmail.com>
50518
50519 * Makefile: Remove support for automatic cvs check-ins.
50520 * Makerules: Likewise.
50521 * config.make.in: Likewise.
50522 * configure.in: Likewise.
50523 * intl/Makefile: Likewise.
50524 * locale/Makefile: Likewise.
50525 * po/Makefile: Likewise.
50526 * posix/Makefile: Likewise.
50527 * sysdeps/gnu/Makefile: Likewise.
50528 * sysdeps/mach/hurd/Makefile: Likewise.
50529 * sysdeps/sparc/sparc32/Makefile: Likewise.
50530
50531 [BZ #13118]
50532 * posix/Makefile (bug-regex32-ENV): Define.
50533 Patch by John Stanley <jpsinthemix@verizon.net>.
50534
50535 * misc/Makefile (headers): Add bits/select2.h.
50536 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
50537 * misc/bits/select2.h: New file.
50538 * include/bits/select2.h: New file.
50539 * debug/Makefile (routines): Add fdelt_chk.
50540 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
50541 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
50542 FD_ISSET.
50543 * debug/fdelt_chk.c: New file.
50544
50545 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
50546 * wcsmbs/test-wmemcmp.c: Likewise.
50547 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
50548 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
50549
505502011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50551
50552 * string/Makefile (strop-tests): Add memcmp.
50553 * string/test-wmemcmp.c: New file.
50554 * string/test-memcmp.c: Add wmemcmp support.
50555
505562011-09-08 Roland McGrath <roland@hack.frob.com>
50557
50558 [BZ #13153]
50559 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
50560 2011-07-19 change.
50561
50562 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
50563 garbage value in a __mach_port_mod_refs call in the cases of the
50564 task-self and thread-self ports.
50565
505662011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
50567
50568 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
50569
505702011-09-08 Andreas Schwab <schwab@redhat.com>
50571
50572 * elf/dl-load.c (lose): Check for non-null L.
50573
505742011-09-07 Ulrich Drepper <drepper@gmail.com>
50575
50576 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
50577
50578 * elf/dl-libc.c (dlerror_run): Pass back error code from
50579 dl_catch_error.
50580
50581 [BZ #13123]
50582 * elf/dl-load.c (lose): Free l_origin if it is valid.
50583
50584 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
50585 names.
50586 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
50587 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50588 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50589 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50590 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
50591 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
50592
505932011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50594
50595 * sysdeps/powerpc/fpu/e_hypot.c: New file.
50596 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
50597 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
50598 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
50599 * sysdeps/powerpc/fpu/k_cosf.c: New file.
50600 * sysdeps/powerpc/fpu/k_sinf.c: New file.
50601 * sysdeps/powerpc/fpu/s_cosf.c: New file.
50602 * sysdeps/powerpc/fpu/s_sinf.c: New file.
50603 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
50604 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
50605
506062011-08-15 Alan Modra <amodra@gmail.com>
50607
50608 [BZ #13092]
50609 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
50610 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
50611 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
50612 ppc_mcount to static-only-routines.
50613 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
50614 __mcount_internal.
50615 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
50616 __mcount_internal with usual JUMPTARGET. Remove useless nop.
50617
506182011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
50619
50620 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
50621 for finite and infinity parameters.
50622
506232011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
50624
50625 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
50626 and add nop instructions for throughput optimization.
50627 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50628
506292011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
50630
50631 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
50632 aligned copy for power7 with vector-scalar instructions.
50633 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
50634
506352011-07-24 H.J. Lu <hongjiu.lu@intel.com>
50636
50637 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
50638 AVX check.
50639
506402011-09-07 Andreas Schwab <schwab@redhat.com>
50641
50642 [BZ #13144]
50643 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
50644 last change.
50645
506462011-09-07 Ulrich Drepper <drepper@gmail.com>
50647
50648 * sysdeps/unix/sysv/linux/x86_64/init-first.c
50649 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
50650 syscall wrapper around clock_gettime in __vdso_clock_gettime.
50651 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
50652 clock_gettime.
50653
506542011-09-06 Ulrich Drepper <drepper@gmail.com>
50655
50656 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
50657 Forgot to demangle the pointer.
50658
50659 * sysdeps/i386/sysdep.h: Define atom_text_section.
50660 * sysdeps/x86_64/sysdep.h: Likewise.
50661 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
50662 section with atom_text_section.
50663 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50664 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50665 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
50666 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50667 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
50668
50669 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
50670 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
50671 already be defined. Change to take two parameters and don't assign
50672 result to variable. Adjust all users.
50673 Define INTERNAL_GETTIME if not already defined.
50674 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
50675 call.
50676 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
50677 HAVE_CLOCK_GETTIME_VSYSCALL.
50678 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
50679
50680 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
50681 gettimeofday vsyscall, just use time.
50682
506832011-09-06 Andreas Schwab <schwab@redhat.com>
50684
50685 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
50686 <errno.h>.
50687
506882011-09-06 Ulrich Drepper <drepper@gmail.com>
50689
50690 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
50691 syscall on x86-64.
50692 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
50693 syscall.
50694 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
50695 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
50696 syscall if possible.
50697
506982011-09-05 Ulrich Drepper <drepper@gmail.com>
50699
50700 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
50701 e_ident. Don't pass to find_mapsXX.
50702 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
50703
507042011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50705
50706 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50707 strchr-sse2-no-bsf strrchr-sse2-no-bsf
50708 * sysdeps/x86_64/multiarch/strchr.S: Update.
50709 Check bit_slow_BSF bit.
50710 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50711 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
50712 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
50713
507142011-09-05 Ulrich Drepper <drepper@gmail.com>
50715
50716 [BZ #13134]
50717 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
50718 before glibc 2.15.
50719 (tryshell): Define.
50720 (__spawni): Change last parameter to be flag. Test
50721 SPAWN_XFLAGS_USE_PATH flag to use path or not.
50722 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
50723 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
50724 * posix/spawni.c: Likewise.
50725 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
50726 * posix/spawnp.c: Likewise. Change normal version to use
50727 SPAWN_XFLAGS_USE_PATH.
50728 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
50729 SPAWN_XFLAGS_TRY_SHELL.
50730
50731 [BZ #13150]
50732 * posix/glob.h: Remove gcc 1.x support.
50733
50734 [BZ #13068]
50735 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
50736
507372011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50738
50739 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50740 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
50741 strrchr-sse2-bsf
50742 * sysdeps/i386/i686/multiarch/strchr.S: New file.
50743 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
50744 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
50745 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
50746 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
50747 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
50748
507492011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50750
50751 * sysdeps/x86_64/wcscmp.S: New file.
50752
50753 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
50754 wcscmp-c wcscmp-sse2
50755 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
50756 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
50757 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
50758 * wcsmbs/wcscmp.c: Allow renaming.
50759
507602011-09-05 David S. Miller <davem@davemloft.net>
50761
50762 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
50763 stack slot, rather than the struct return pointer slot.
50764 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
50765 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
50766 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
50767 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
50768
507692011-09-05 Ulrich Drepper <drepper@gmail.com>
50770
50771 * po/ja.po: Update from translation team.
50772
50773 [BZ #13144]
50774 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
50775 kernel in 64-bit binaries.
50776
507772011-09-01 David S. Miller <davem@davemloft.net>
50778
50779 * elf/elf.h (HWCAP_SPARC_*): Move to..
50780 * sysdeps/sparc/sysdep.h: this new file and add new values.
50781 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
50782 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
50783 _DL_HWCAP_COUNT to 24.
50784 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
50785 entries.
50786 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
50787 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
50788 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
50789 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
50790 instead of magic constants.
50791 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50792
507932011-08-31 David S. Miller <davem@davemloft.net>
50794
50795 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
50796 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
50797 Reimplement to do errno handling inline.
50798 (SYSCALL_ERROR_HANDLER): New macro.
50799 (__SYSCALL_STRING): Do not do errno handling in asm.
50800 (__CLONE_SYSCALL_STRING): Delete.
50801 (__INTERNAL_SYSCALL_STRING): Delete.
50802 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
50803 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
50804 (PSEUDO): Reimplement to do errno handling inline.
50805 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
50806 (SYSCALL_ERROR_HANDLER): New macro.
50807 (__SYSCALL_STRING): Do not do errno handling in asm.
50808 (__CLONE_SYSCALL_STRING): Delete.
50809 (__INTERNAL_SYSCALL_STRING): Delete.
50810 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
50811 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
50812 i386.
50813 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
50814 (inline_syscall*): Add 'err' argument.
50815 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
50816 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
50817 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
50818 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
50819
50820 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
50821 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50822
508232011-08-30 Andreas Schwab <schwab@redhat.com>
50824
50825 * elf/rtld.c (dl_main): Relocate objects in dependency order.
50826
508272011-08-29 Jiri Olsa <jolsa@redhat.com>
50828
50829 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
50830 directive.
50831
508322011-08-24 David S. Miller <davem@davemloft.net>
50833
50834 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
50835
508362011-08-24 Andreas Schwab <schwab@redhat.com>
50837
50838 * elf/Makefile: Add rules to build and run unload8 test.
50839 * elf/unload8.c: New file.
50840 * elf/unload8mod1.c: New file.
50841 * elf/unload8mod1x.c: New file.
50842 * elf/unload8mod2.c: New file.
50843 * elf/unload8mod3.c: New file.
50844
50845 * elf/dl-close.c (_dl_close_worker): Reset private search list if
50846 it wasn't used.
50847
508482011-08-23 David S. Miller <davem@davemloft.net>
50849
50850 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
50851 subtract stack bias.
50852 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
50853 %sp not %fp in calculations.
50854 (_JMPBUF_UNWINDS_ADJ): Likewise.
50855
50856 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
50857 (aio_suspend): Call it to force an exception region around the
50858 AIO_MISC_WAIT() invocation.
50859
508602011-08-23 Andreas Schwab <schwab@redhat.com>
50861
50862 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
50863 backslash.
50864
508652011-07-04 Aurelien Jarno <aurelien@aurel32.net>
50866
50867 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
50868 protection macro.
50869 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
50870 and <dl-machine.h>.
50871 (Elf64_FuncDesc): Remove.
50872
508732011-08-22 David S. Miller <davem@davemloft.net>
50874
50875 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
50876 sigaltstack check, add missing cfi directives.
50877 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
50878 missing cfi directives, and sigaltstack handling.
50879
508802011-08-16 Andreas Schwab <schwab@redhat.com>
50881
50882 [BZ #11724]
50883 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
50884 object is seen twice.
50885 * elf/dl-fini.c (_dl_sort_fini): Likewise.
50886
50887 * elf/Makefile (distribute): Add tst-initorder2.c.
50888 (tests): Add tst-initorder2.
50889 (modules-names): Add tst-initorder2a tst-initorder2b
50890 tst-initorder2c tst-initorder2d. Add rules to build them.
50891 ($(objpfx)tst-initorder2.out): New rule.
50892 * elf/tst-initorder2.c: New file.
50893 * elf/tst-initorder2.exp: New file.
50894
508952011-08-22 Andreas Schwab <schwab@redhat.com>
50896
50897 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
50898
50899 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
50900 dependencies back to end of function.
50901
50902 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50903 $(elfobjdir)/ld.so.
50904
509052011-08-21 Ulrich Drepper <drepper@gmail.com>
50906
50907 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
50908 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
50909 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
50910 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
50911 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
50912 of __vdso_gettimeofday.
50913 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
50914 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
50915 attribute_hidden.
50916 (_libc_vdso_platform_setup): Remove initialization of
50917 __vdso_gettimeofday and __vdso_time.
50918
509192011-08-20 Ulrich Drepper <drepper@gmail.com>
50920
50921 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
50922 and fgetc_unlocked.
50923 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
50924 getc_unlocked.
50925
50926 * elf/dl-open.c (add_to_global): Report additions to the global scope
50927 for LD_DEBUG=scopes.
50928 (dl_open_worker): Also print scope of newly loaded dependencies.
50929 (_dl_show_scope): Indicate if there is no scope.
50930
50931 [BZ #13114]
50932 * stdio-common/Makefile (tests): Add bug24.
50933 * stdio-common/bug24.c: New file.
50934
509352011-08-19 Andreas Jaeger <aj@suse.de>
50936
50937 [BZ #13114]
50938 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
50939 non-existant file when using close-on-exec mode.
50940
509412011-08-20 Ulrich Drepper <drepper@gmail.com>
50942
50943 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
50944 the very first instruction.
50945
50946 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
50947 the CFI state in the end.
50948 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
50949 inclusion of dl-trampoline.h.
50950 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
50951
509522011-08-19 Andreas Schwab <schwab@redhat.com>
50953
50954 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
50955 expectations for long double.
50956
50957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
50958 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
50959
509602011-08-14 David S. Miller <davem@davemloft.net>
50961
50962 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
50963 artificual limit depends upon the system page size.
50964
509652011-08-17 Ulrich Drepper <drepper@gmail.com>
50966
50967 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
50968 * resolv/Makefile: Define CFLAGS-libresolv.
50969
509702011-08-17 Andreas Schwab <schwab@redhat.com>
50971
50972 * nss/makedb.c (compute_tables): Make variables used in nested
50973 function static.
50974
509752011-08-17 Ulrich Drepper <drepper@gmail.com>
50976
50977 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
50978 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
50979 if buffer was too small.
50980
50981 * elf/pldd.c (main): Attach to all threads in the process.
50982 Rewrite /proc handling to use *at functions.
50983
509842011-08-16 Ulrich Drepper <drepper@gmail.com>
50985
50986 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
50987 specifies first scope to show.
50988 (dl_open_worker): Update callers. Move printing scope of new
50989 object to before the relocation.
50990 * elf/rtld.c (dl_main): Update _dl_show_scope call.
50991 * sysdeps/generic/ldsodefs.h: Update declaration.
50992
50993 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
50994 string for the scope number.
50995
509962011-08-14 Ulrich Drepper <drepper@gmail.com>
50997
50998 * nscd/servicescache.c (cache_addserv): Make sure written is always
50999 initialized.
51000
510012011-08-14 Roland McGrath <roland@hack.frob.com>
51002
51003 * sysdeps/i386/i486/bits/atomic.h
51004 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
51005 statement expression, so as to suppress "set but not used" warning.
51006 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
51007
51008 * string/strncat.c (STRNCAT): Use prototype definition.
51009
51010 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
51011 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
51012 -Iprograms here.
51013 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
51014 (localedef-modules): Add localedef.
51015 (locale-modules): Add locale.
51016
51017 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
51018 * elf/rtld.c (dl_main): Invert order of assignment in last change,
51019 to avoid a warning.
51020
510212011-08-14 David S. Miller <davem@davemloft.net>
51022
51023 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
51024 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
51025
510262011-08-13 Ulrich Drepper <drepper@gmail.com>
51027
51028 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
51029 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
51030 * elf/rtld.c (dl_main): Set l_name of vDSO.
51031 Call _dl_show_scope when DL_DEBUG_SCOPES.
51032 (process_dl_debug): Recognize scopes flag and also set it for all.
51033 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
51034 Declare _dl_show_scope.
51035
51036 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
51037 (do_dlopen): Pass caller_dlopen to dl_open.
51038 (__libc_dlopen_mode): Initialize caller_dlopen.
51039
51040 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
51041 of libc. Make tolower call locale-independent. Optimize a bit by
51042 using isdigit instead of isalnum.
51043 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
51044
510452011-08-12 Ulrich Drepper <drepper@gmail.com>
51046
51047 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
51048 was a dependency or dynamically loaded.
51049
510502011-08-11 Ulrich Drepper <drepper@gmail.com>
51051
51052 * intl/l10nflist.c: Allow architecture-specific pop function.
51053 * sysdeps/x86_64/l10nflist.c: New file.
51054
51055 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
51056 classification.
51057
510582011-08-10 Andreas Schwab <schwab@redhat.com>
51059
51060 * include/dirent.h: Add libc_hidden_proto for scandirat and
51061 scandirat64. Don't declare __scandirat64.
51062 * dirent/scandirat.c: Add libc_hidden_def.
51063 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
51064 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
51065
510662011-08-10 David S. Miller <davem@davemloft.net>
51067
51068 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
51069 enum.
51070 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51071 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51072 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51073
510742011-08-09 Ulrich Drepper <drepper@gmail.com>
51075
51076 * Versions.def [libc]: Add GLIBC_2.15.
51077 * dirent/Makefile (routines): Add scandirat and scandirat64.
51078 * dirent/Versions [libc]: Export scandirat and scandirat64 for
51079 GLIBC_2.15.
51080 * dirent/dirent.h: Declare scandirat and scandirat64.
51081 * dirent/scandirat.c: New file.
51082 * dirent/scandirat64.c: New file.
51083 * sysdeps/wordsize-64/scandirat.c: New file.
51084 * sysdeps/wordsize-64/scandirat64.c: New file.
51085 * dirent/opendir.c: Define opendirat.
51086 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
51087 using scandirat.
51088 * dirent/scandir64.c: Adjust for scandir.c change.
51089 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
51090 __scandirat64, and __scandir_cancel_handler.
51091 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
51092 additional parameter and use openat instead of open (outside of ld.so).
51093 Add new __opendir as wrapper around __opendirat.
51094 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
51095 here without requiring old scandirat implementation.
51096
510972011-08-08 Ulrich Drepper <drepper@gmail.com>
51098
51099 * dirent/scandir.c (cancel_handler): Renamed to
51100 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
51101 defined. Adjust users.
51102 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
51103 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
51104
511052011-08-04 Ulrich Drepper <drepper@gmail.com>
51106
51107 * string/test-string.h (IMPL): Use __STRING to expand name and then
51108 stringify it.
51109
51110 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
51111 of cleanups.
51112
511132011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51114
51115 * string/Makefile: Update.
51116 (strop-tests): Append strncat.
51117 * string/test-wcscmp.c: New file.
51118 New comprehensive test for wcscmp.
51119 * string/test-strcmp.c: Update.
51120 (WIDE): New define.
51121
511222011-07-22 Andreas Schwab <schwab@redhat.com>
51123
51124 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
51125 line.
51126
511272011-07-26 Andreas Schwab <schwab@redhat.com>
51128
51129 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51130 encoding to ACE if AI_IDN.
51131
511322011-08-01 Jakub Jelinek <jakub@redhat.com>
51133
51134 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
51135 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
51136
511372011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51138
51139 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
51140 Fix overflow bug in strncat.
51141 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
51142
51143 * string/test-strncat.c: Update.
51144 Add new tests for checking overflow bugs.
51145
511462011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51147
51148 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51149 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
51150 * sysdeps/i386/i686/multiarch/strcat.S: New file.
51151 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
51152 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
51153 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
51154 * sysdeps/i386/i686/multiarch/strncat.S: New file.
51155 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
51156 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
51157
51158 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
51159 (USE_AS_STRCAT): Define.
51160 Add strcat and strncat support.
51161 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51162
511632011-07-25 Andreas Schwab <schwab@redhat.com>
51164
51165 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
51166 __n bigger than INT_MAX+1.
51167 (__strncmp_g): Likewise.
51168
511692011-07-23 Ulrich Drepper <drepper@gmail.com>
51170
51171 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
51172 * libio/stido.h: Likewise.
51173
51174 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
51175 (AF_NFC): Define.
51176 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
51177 (AF_NFC): Define.
51178
51179 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
51180 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51181 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51182 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
51183 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51184
51185 [BZ #13021]
51186 * scripts/test-installation.pl: Don't expect libnss_test1 to be
51187 installed.
51188
51189 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
51190 typo.
51191 (_dl_x86_64_save_sse): Likewise.
51192
511932011-07-22 Ulrich Drepper <drepper@gmail.com>
51194
51195 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
51196 OSXSAVE.
51197 (_dl_x86_64_save_sse): Likewise.
51198
51199 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
51200
51201 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
51202
512032011-07-21 Andreas Schwab <schwab@redhat.com>
51204
51205 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
51206 change.
51207 (_dl_x86_64_save_sse): Use correct AVX check.
51208
512092011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51210
51211 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
51212 bug in strncpy/strncat.
51213 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
51214
512152011-07-21 Ulrich Drepper <drepper@gmail.com>
51216
51217 * string/tester.c (test_strcat): Add tests for different alignments
51218 of source and destination.
51219 (test_strncat): Likewise.
51220
512212011-07-20 Ulrich Drepper <drepper@gmail.com>
51222
51223 [BZ #12852]
51224 * posix/glob.c (glob): Check passed in values before using them in
51225 expressions to avoid some overflows.
51226 (glob_in_dir): Likewise.
51227
51228 [BZ #13007]
51229 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
51230 check for AVX enablement so that we don't crash with old kernels and
51231 new hardware.
51232 * elf/tst-audit4.c: Add same checks here.
51233 * elf/tst-audit6.c: Likewise.
51234
51235 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
51236
512372011-07-09 Andreas Schwab <schwab@linux-m68k.org>
51238
51239 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
51240
512412011-07-20 Ulrich Drepper <drepper@gmail.com>
51242
51243 * po/cs.po: Update from translation team.
51244 * po/bg.po: Likewise.
51245
512462011-07-12 Marek Polacek <mpolacek@redhat.com>
51247
51248 * misc/sys/cdefs.h: Add support for const attribute.
51249 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
51250 to gnu_dev_{major,minor,makedev} functions.
51251
512522011-07-20 Marek Polacek <mpolacek@redhat.com>
51253
51254 * intl/dcigettext.c (get_output_charset): Add missing bracket.
51255
512562011-07-20 Andreas Schwab <schwab@redhat.com>
51257
51258 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
51259 strlen results.
51260
512612011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51262
51263 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
51264 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
51265 register in order to avoid conflicts with the soft frame pointer
51266 being held in r11 when necessary.
51267 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
51268 (INTERNAL_VSYSCALL_NCS): Likewise.
51269
512702011-07-14 Marek Polacek <mpolacek@redhat.com>
51271
51272 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
51273 * elf/dl-fini.c (_dl_fini): Adjust caller.
51274 * elf/dl-close.c (_dl_close_worker): Likewise.
51275 * sysdeps/generic/ldsodefs.h: Adjust declaration.
51276
512772011-07-15 Marek Polacek <mpolacek@redhat.com>
51278
51279 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
51280 "aux_cache->nlibs < 0".
51281
51282 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
51283 in the reload-count case.
51284
512852011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51286
51287 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51288 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
51289 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
51290 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
51291 * sysdeps/x86_64/multiarch/strcat.S: New file.
51292 * sysdeps/x86_64/multiarch/strncat.S: New file.
51293 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
51294 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
51295 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
51296 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
51297 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
51298 (USE_AS_STRCAT): Define.
51299 Add strcat and strncat support.
51300 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51301 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
51302 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
51303 * string/strncat.c: Update.
51304 (USE_AS_STRNCAT): Define.
51305 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51306 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
51307 and i7.
51308 * sysdeps/x86_64/multiarch/init-arch.h
51309 (bit_Prefer_PMINUB_for_stringop): New.
51310 (index_Prefer_PMINUB_for_stringop): Likewise.
51311 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
51312 bit_Prefer_PMINUB_for_stringop.
51313
513142011-07-19 Ulrich Drepper <drepper@gmail.com>
51315
51316 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
51317 buffer64.
51318 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
51319 of casting of buffer.
51320 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
51321 buffer32 and buffer64.
51322 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
51323 writes instead of casting of buffer.
51324 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
51325 buffer32.
51326 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
51327 casting of buffer.
51328
513292011-07-19 Andreas Schwab <schwab@redhat.com>
51330
51331 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
51332
513332011-07-19 Ulrich Drepper <drepper@gmail.com>
51334
51335 * nscd/nscd.c (termination_handler): Don't do anything for a database
51336 if it has not yet been initialized.
51337
513382011-07-18 Ulrich Drepper <drepper@gmail.com>
51339
51340 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51341
513422011-07-15 Marek Polacek <mpolacek@redhat.com>
51343
51344 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51345
513462011-07-18 Ulrich Drepper <drepper@gmail.com>
51347
51348 * po/nl.po: Update from translation team.
51349 * po/sv.po: Likewise.
51350
513512011-07-16 Roland McGrath <roland@hack.frob.com>
51352
51353 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
51354 now disallowed by GCC.
51355
51356 * configure.in (use-default-link): Default to yes if a test -shared
51357 link meets our qualifications.
51358 * configure: Regenerated.
51359
51360 * config.make.in (output-format): New variable.
51361 * configure.in: Check for ld --print-output-format support.
51362 * configure: Regenerated.
51363 * Makerules ($(common-objpfx)format.lds)
51364 [$(output-format) != unknown]: Just use $(output-format),
51365 instead of the linker-script munging.
51366
513672011-07-14 Roland McGrath <roland@hack.frob.com>
51368
51369 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
51370 of $(common-objpfx)shlib.lds.
51371 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
51372
51373 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
51374 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
51375
51376 * configure.in (-z relro check): Adjust test code to add a large
51377 writable data section after it.
51378 * configure: Regenerated.
51379
513802011-07-11 Roland McGrath <roland@hack.frob.com>
51381
51382 * configure.in (-z relro check): Fix test code to make the variable
51383 truly const.
51384 * configure: Regenerated.
51385
513862011-07-11 Ulrich Drepper <drepper@gmail.com>
51387
51388 * nscd/nscd.h (struct traced_file): Define.
51389 (struct database_dyn): Remove inotify_descr, reset_res, and filename
51390 elements. Add traced_files.
51391 (inotify_fd): Declare.
51392 (register_traced_file): Declare.
51393 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
51394 (inotify_fd): Export.
51395 (resolv_conf_descr): Remove.
51396 (nscd_init): Move inotify descriptor creation to main.
51397 Don't register files for notification here.
51398 (register_traced_file): New function.
51399 (invalidate_cache): Don't use reset_res to determine whether to call
51400 res_init, go through the list of registered files.
51401 (main_loop_poll): The inotify descriptors are now stored in the
51402 structures for the traced files.
51403 (main_loop_epoll): Likewise
51404 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
51405 to __nss_disable_nscd.
51406 * nscd/cache.c (prune_cache): There is no single inotify descriptor
51407 for a database anymore. Check the records for all the registered
51408 files instead.
51409 * nss/Makefile (libnss_files-routines): Add files-init.
51410 (libnss_db-routines): Add db-init.
51411 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
51412 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
51413 * nss/nss_db/db-init.c: New file.
51414 * nss/nss_files/files-init.c: New file.
51415 * nss/nsswitch.c (nss_load_library): New function. Broken out of
51416 __nss_lookup_function.
51417 (__nss_lookup_function): Call nss_load_library.
51418 (nss_load_all_libraries): New function.
51419 (__nss_disable_nscd): Take parameter with callback function for files
51420 to register. Set is_nscd. Load all the DSOs for the NSS modules
51421 used for the cached services.
51422 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
51423 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
51424 options for features to all the files in nscd.
51425
51426 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
51427
514282011-07-10 Roland McGrath <roland@hack.frob.com>
51429
51430 * csu/elf-init.c (__libc_csu_init): Comment typo.
51431
514322011-07-09 Ulrich Drepper <drepper@gmail.com>
51433
51434 * po/pl.po: Update from translation team.
51435 * po/ja.po: Likewise.
51436 * po/ru.po: Likewise.
51437 * po/ko.po: Likewise.
51438 * po/fr.po: Likewise.
51439
514402011-07-09 Roland McGrath <roland@hack.frob.com>
51441
51442 * configure.in (.ctors/.dtors header and trailer check):
51443 Use an empirical test on a built program.
51444 * configure: Regenerated.
51445
51446 * configure.in (-z relro check): Use an empirical test on a built DSO.
51447 Detect, but do not require, on ia64.
51448 * configure: Regenerated.
51449
51450 * configure.in (READELF): Find it with AC_CHECK_TOOL.
51451 Update tests that use readelf to use $READELF instead.
51452 * configure: Regenerated.
51453
514542011-07-08 Ulrich Drepper <drepper@gmail.com>
51455
51456 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
51457 if the result is not used.
51458
514592011-07-05 Andreas Jaeger <aj@suse.de>
51460
51461 [BZ#9696]
51462 * stdlib/tst-strtod.c: Add testcase.
51463
514642011-07-07 Ulrich Drepper <drepper@gmail.com>
51465
51466 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
51467 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
51468 The latter has a higher limit. Take additional parameter to pass to
51469 the new function.
51470 (__pathconf): Pass file to __statfs_link_max.
51471 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
51472 __statfs_link_max.
51473 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
51474 __statfs_link_max.
51475
51476 [BZ #12868]
51477 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
51478 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51479 Handle Lustre.
51480 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
51481 (__statfs_filesize_max): Likewise.
51482 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
51483
514842011-07-05 Andreas Jaeger <aj@suse.de>
51485
51486 * resolv/res_comp.c (dn_skipname): Remove unused variable.
51487
514882011-07-06 Marek Polacek <mpolacek@redhat.com>
51489
51490 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
51491 `status' variable.
51492 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
51493 Likewise.
51494
514952011-07-04 H.J. Lu <hongjiu.lu@intel.com>
51496
51497 * Makefile (strop-tests): Add strncat.
51498 * string/test-strncat.c: New file.
51499
515002011-06-30 Marek Polacek <mpolacek@redhat.com>
51501
51502 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
51503
515042011-06-21 Andreas Jaeger <aj@suse.de>
51505
51506 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
51507 Copy rule from iconvdata/Makefile.
51508
515092011-07-06 Ulrich Drepper <drepper@gmail.com>
51510
51511 [BZ #12922]
51512 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
51513 but no long options are defined, just return 'W'.
51514
515152011-06-22 Marek Polacek <mpolacek@redhat.com>
51516
51517 [BZ #9696]
51518 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
51519
515202011-07-06 Ulrich Drepper <drepper@gmail.com>
51521
51522 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
51523 netgroups to read.
51524 (innetgr): Likewise.
51525
515262011-07-05 Roland McGrath <roland@hack.frob.com>
51527
51528 * config.make.in (install_root): Default to $(DESTDIR).
51529
515302011-07-05 Ulrich Drepper <drepper@gmail.com>
51531
51532 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
51533
515342011-07-02 Roland McGrath <roland@hack.frob.com>
51535
51536 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
51537
51538 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
51539 containing directory rather than embedding absolute directory names.
51540
51541 * scripts/check-local-headers.sh: Rewritten using awk.
51542 Match by word, not by line. Print error messages for matches.
51543 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
51544
51545 * Makerules [shlib-lds-flags empty]:
51546 ($(common-objpfx)libc_pic.opts): New target.
51547 ($(common-objpfx)libc_pic.os.clean): New target.
51548 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
51549
51550 * config.make.in (OBJCOPY): New variable.
51551 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
51552 * configure: Regenerated.
51553
51554 * config.make.in (use-default-link): New variable.
51555 * configure.in (use_default_link): Grok --with-default-link to set it.
51556 * configure: Regenerated.
51557 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
51558 (shlib-lds, shlib-lds-flags): Define to empty.
51559
51560 * Makerules (shlib-lds): New variable.
51561 (shlib-lds-flags): New variable.
51562 (build-shlib, build-moduile, build-module-asneeded): Use it.
51563 ($(common-objpfx)libc.so): Use $(shlib-lds).
51564 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
51565 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
51566
51567 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
51568 DT_FLAGS/DT_FLAGS_1 with zero flags.
51569
51570 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
51571 linker script munging.
51572
515732011-07-02 Ulrich Drepper <drepper@gmail.com>
51574
51575 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
51576 as 128-bit value.
51577 * crypt/sha512.c (sha512_process_block): Perform total addition using
51578 128-bit if possible.
51579 (__sha512_finish_ctx): Likewise.
51580 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
51581 as 64-bit value.
51582 * crypt/sha256.c (SWAP64): Define.
51583 (sha256_process_block): Perform total addition using 64-bit if
51584 possible.
51585 (__sha256_finish_ctx): Likewise.
51586
515872011-07-01 Ulrich Drepper <drepper@gmail.com>
51588
51589 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
51590 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51591 * nscd/hstcache.c (cache_addhst): Likewise.
51592 * nscd/grpcache.c (cache_addgr): Likewise.
51593 * nscd/aicache.c (addhstaiX): Likewise
51594 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
51595
515962011-07-01 Thorsten Kukuk <kukuk@suse.de>
51597
51598 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
51599 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51600 * nscd/hstcache.c (cache_addhst): Likewise.
51601 * nscd/grpcache.c (cache_addgr): Likewise.
51602 * nscd/aicache.c (addhstaiX): Likewise
51603
516042011-07-01 Andreas Schwab <schwab@redhat.com>
51605
51606 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
51607 domain only when needed.
51608
516092011-06-30 Andreas Schwab <schwab@redhat.com>
51610
51611 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
51612 is always restored.
51613
516142011-06-29 Ulrich Drepper <drepper@gmail.com>
51615
51616 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
51617 are re-adding the entry.
51618 * nscd/servicescache.c (cache_addserv): Likewise.
51619
516202011-06-30 Aurelien Jarno <aurelien@aurel32.net>
51621
51622 * sysdeps/generic/dl-irel.h: fix protection against multiple
51623 inclusions.
51624 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
51625
516262011-06-28 Ulrich Drepper <drepper@gmail.com>
51627
51628 [BZ #12935]
51629 * malloc/memusage.sh: Fix quoting in message.
51630 * debug/xtrace.sh: Likewise.
51631
51632 * configure.in: Remove support for --experimental-malloc option, make
51633 it the default.
51634 * config.make.in: Likewise.
51635 * malloc/Makefile: Likewise.
51636
516372011-06-27 Andreas Schwab <schwab@redhat.com>
51638
51639 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
51640 two-byte characters.
51641
516422011-06-27 Roland McGrath <roland@hack.frob.com>
51643
51644 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
51645 AC_CACHE_CHECK invocation.
51646 * configure: Regenerated.
51647
51648 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
51649
516502011-06-27 Ulrich Drepper <drepper@gmail.com>
51651
51652 [BZ #12350]
51653 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
51654 bit from old_res_options.
51655
51656 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
51657
51658 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
51659 value type for setfct.
51660
516612011-06-23 H.J. Lu <hongjiu.lu@intel.com>
51662
51663 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51664 __gettimeofday instead of gettimeofday.
51665
516662011-06-26 Ulrich Drepper <drepper@gmail.com>
51667
51668 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
51669
516702011-06-24 H.J. Lu <hongjiu.lu@intel.com>
51671
51672 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
51673
51674 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
51675 info.
51676
516772011-06-22 H.J. Lu <hongjiu.lu@intel.com>
51678
51679 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51680 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51681 strcpy-sse2-unaligned strncpy-sse2-unaligned
51682 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
51683 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
51684 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
51685 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
51686 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
51687 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
51688 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
51689 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
51690 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
51691 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
51692 (STRCPY): Support SSE2 and SSSE3 versions.
51693
516942011-06-24 Ulrich Drepper <drepper@gmail.com>
51695
51696 [BZ #12874]
51697 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
51698 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
51699 kernels which artificially limit size of requests.
51700
517012011-06-22 H.J. Lu <hongjiu.lu@intel.com>
51702
51703 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51704 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51705 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
51706 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
51707 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
51708 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
51709 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
51710 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
51711 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
51712 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
51713 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
51714 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
51715 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
51716 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
51717 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
51718 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51719 Enable unaligned load optimization for Intel Core i3, i5 and i7
51720 processors.
51721 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
51722 Define.
51723 (index_Fast_Unaligned_Load): Define.
51724 (HAS_FAST_UNALIGNED_LOAD): Define.
51725
517262011-06-23 Marek Polacek <mpolacek@redhat.com>
51727
51728 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
51729
517302011-06-22 Ulrich Drepper <drepper@gmail.com>
51731
51732 [BZ #12907]
51733 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
51734 until it is clear that the information is realy needed.
51735 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
51736
517372011-06-22 Andreas Schwab <schwab@redhat.com>
51738
51739 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
51740
517412011-06-22 Ulrich Drepper <drepper@gmail.com>
51742
51743 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51744 /sys/devices/system/cpu/online if it is usable.
51745
51746 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
51747 reading the information from the /proc filesystem to once a second.
51748
517492011-06-21 Andreas Jaeger <aj@suse.de>
51750
51751 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
51752 NULL after inclusion of kernel headers.
51753
517542011-06-21 Ulrich Drepper <drepper@gmail.com>
51755
51756 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
51757 calls to internal_setent.
51758
51759 [BZ #12885]
51760 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
51761 addresses using gethostbyname4_r ignore IPv4 addresses.
51762
51763 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
51764 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
51765
51766 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
51767
517682011-06-20 David S. Miller <davem@davemloft.net>
51769
51770 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
51771 inclusions.
51772 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
51773
51774 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
51775 (elf_irel): Use it.
51776 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
51777 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
51778 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
51779 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
51780 * sysdeps/x86_64/dl-irel.h: Likewise.
51781
51782 * elf/dl-runtime.c: Use elf_ifunc_invoke.
51783 * elf/dl-sym.c: Likewise.
51784
517852011-06-15 Ulrich Drepper <drepper@gmail.com>
51786
51787 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
51788 need to dereference resplen2.
51789
517902011-06-14 Andreas Schwab <schwab@redhat.com>
51791
51792 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
51793
517942011-06-15 Ulrich Drepper <drepper@gmail.com>
51795
51796 * Makeconfig: Define vardbdir and inst_vardbdir.
51797 * nss/Makefile: Add rules to install db-Makefile.
51798
51799 * nss/nss_db/db-XXX.c: Cleanup.
51800
51801 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
51802 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
51803 GLIBC_PRIVATE.
51804 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
51805 * nss/makedb.c: Implement -g option to specify that value strings
51806 are generated and should not be added to table iterated over for
51807 get*ent calls.
51808 * nss/nss_db/db-initgroups.c: New file.
51809
51810 * nss/getent.c: Add support for initgroups lookups through getgrouplist
51811 interface.
51812
51813 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
51814 (internal_getgrouplist): Adjust to name change.
51815 Update use_initgroups_entry if this is not the first call.
51816 * nss/databases.def: Add initgroups entry.
51817
51818 * nss/makedb.c (compute_tables): Check result of multiple hash table
51819 sizes to minimize maximum chain length.
51820
518212011-06-14 Ulrich Drepper <drepper@gmail.com>
51822
51823 * Versions.def: Add entry for libnss_db.
51824 * shlib-versions: Likewise.
51825 * nss/Makefile: Add rules to build libnss_db.
51826 * nss/Versions: Add libnss_db information. Organize libnss_files
51827 entries better.
51828 * nss/db-Makefile: Add gshadow support. Change rules for the new
51829 makedb progra. Some minor improvements to generate smaller files.
51830 * nss/nss_db/nss_db.h: Move NSS database header data structures to
51831 here from...
51832 * nss/makedb.c: ...here.
51833 Improve database format to be smaller and require less memory at
51834 runtime.
51835 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
51836 db anymore.
51837 * nss/nss_db/db-netgrp.c: Likewise.
51838 * nss/nss_db/db-open.c: Likewise.
51839 * nss/nss_files/flies-XXX.x: Adjust comments.
51840 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
51841 * nss/nss_files/files-grp.c: Likewise.
51842 * nss/nss_files/files-hosts.c: Likewise.
51843 * nss/nss_files/files-network.c: Likewise.
51844 * nss/nss_files/files-proto.c: Likewise.
51845 * nss/nss_files/files-pwd.c: Likewise.
51846 * nss/nss_files/files-rpc.c: Likewise.
51847 * nss/nss_files/files-service.c: Likewise.
51848 * nss/nss_files/files-sgrp.c: Likewise.
51849 * nss/nss_files/files-spwd.c: Likewise.
51850 * nss/nss_db/db-alias.c: Removed.
51851 * nss/nss_db/dummy-db.h: Removed.
51852
518532011-06-02 Ulrich Drepper <drepper@gmail.com>
51854
51855 * nss/makedb.c: Rewritten to not use database library.
51856 * nss/Makefile: Update to build new makedb program.
51857
518582011-06-14 Andreas Jaeger <aj@suse.de>
51859
51860 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
51861 memset declaration.
51862
518632011-06-10 Andreas Schwab <schwab@redhat.com>
51864
51865 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
51866 tmpbuf.
51867
518682011-06-10 Roland McGrath <roland@hack.frob.com>
51869
51870 * Makerules (shlib.lds): Fail if the linker script comes out empty.
51871 * elf/Makefile ($(objpfx)ld.so): Likewise.
51872
51873 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
51874 Don't list ld.so twice in dependencies.
51875
51876 * posix/bug-regex31.c: Include <stdlib.h>.
51877
51878 * nscd/hstcache.c (cache_addhst): Remove unused variable.
51879
51880 * nis/nss_compat/compat-spwd.c
51881 (getspent_next_nss_netgr): Remove unused variable.
51882 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
51883
51884 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
51885 nonmembers" output to use the right array.
51886
51887 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
51888
51889 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
51890
51891 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
51892 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
51893 * catgets/gencat.c (read_input_file): Likewise.
51894 * locale/programs/locarchive.c (enlarge_archive): Likewise.
51895
51896 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
51897 variable definition inside #if's controlling its use.
51898
51899 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
51900
51901 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
51902
51903 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
51904
51905 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
51906 unreachable code.
51907
51908 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
51909
51910 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
51911 * configure: Regenerated.
51912
51913 * Makerules: Revert last change.
51914 * elf/Makefile: Likewise.
51915
519162011-06-09 Roland McGrath <roland@hack.frob.com>
51917
51918 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
51919 * elf/Makefile ($(objpfx)librtld.os): Likewise.
51920 (reloc-link): Likewise.
51921
519222011-06-09 Ulrich Drepper <drepper@gmail.com>
51923
51924 * elf/Makefile: Add rules to build pldd.
51925 * elf/pldd.c: New file.
51926 * elf/pldd-xx.c: New file.
51927
519282011-06-07 Ulrich Drepper <drepper@gmail.com>
51929
51930 * version.h: Update for 2.15 development version.
51931
519322011-06-07 David S. Miller <davem@davemloft.net>
51933
51934 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
51935 ifuncs.
51936 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
51937 elf_machine_lazy_rel): Likewise.
51938 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
51939 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
51940 elf_machine_lazy_rel): Likewise.
51941 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
51942 dl_hwcap via passed in argument.
51943 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
51944 Likewise.
51945
519462011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51947
51948 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
51949
519502011-06-06 Roland McGrath <roland@hack.frob.com>
51951
51952 [BZ #12849]
51953 * manual/fdl-1.1.texi: New file, verbatim from:
51954 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
51955 * manual/lgpl-2.1.texi: New file, verbatim from:
51956 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
51957 * manual/Makefile (licenses): New variable, list those new file names.
51958 (texis): Use it.
51959 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
51960
51961 * manual/fdl.texi: File removed.
51962 * manual/lesser.texi: File removed.
51963 * manual/libc.texinfo (Copying, Documentation License):
51964 Use new @include file names, put @appendix directive before @include.
51965
519662011-06-04 Jakub Jelinek <jakub@redhat.com>
51967
51968 [BZ #12841]
51969 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
51970 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
51971 (mq_open): Add __NTH.
51972
519732011-06-02 H.J. Lu <hongjiu.lu@intel.com>
51974
51975 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51976 Assume Intel Core i3/i5/i7 processor if AVX is available.
51977
519782011-05-31 Ulrich Drepper <drepper@gmail.com>
51979
51980 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51981 typo.
51982
519832011-05-31 Andreas Schwab <schwab@redhat.com>
51984
51985 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
51986 memory. Use alloca_account. Fix memory leak when retrying.
51987
519882011-05-31 Ulrich Drepper <drepper@gmail.com>
51989
51990 * version.h (RELEASE): Bump for 2.14 release.
51991 * include/features.h (__GLIBC_MINOR__): Bump to 14.
51992
51993 * config.make.in (RANLIB): Remove entry.
51994
519952011-05-30 Ulrich Drepper <drepper@gmail.com>
51996
51997 * po/Makefile (po-sed-cmd): Add ksh to extensions.
51998 (libc.pot): Work around missing support for .ksh extension in xgettext.
51999
52000 [BZ #12684]
52001 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
52002 if both request failed.
52003 (send_dg): In case of server errors clear resplen or *resplen2.
52004
52005 [BZ #12454]
52006 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
52007 when there are multiple maps.
52008 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
52009 (_dl_fini): Remove test here.
52010
52011 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
52012
520132011-05-29 Ulrich Drepper <drepper@gmail.com>
52014
52015 [BZ #12350]
52016 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
52017 bit from old_res_options.
52018 (gaih_inet): Likewise.
52019
52020 [BZ #11099]
52021 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
52022 as signed.
52023
52024 * resolv/res_init.c (res_setoptions): Make the code more compact.
52025
52026 [BZ #11558]
52027 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
52028 set RES_USEVC.
52029
52030 [BZ #11634]
52031 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
52032
52033 * malloc/malloc.h: Mark malloc hook variables as deprecated.
52034
52035 [BZ #11781]
52036 * malloc/malloc.h: Declare malloc hook variables as volatile.
52037
52038 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
52039 in last patch.
52040
52041 [BZ #11799]
52042 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
52043 raise in the comment.
52044 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52045 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52046 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
52047
520482011-05-28 Ulrich Drepper <drepper@gmail.com>
52049
52050 [BZ #12811]
52051 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
52052 grow the buffers more if it already has to be sufficient.
52053 (build_wcs_upper_buffer): Likewise.
52054 * posix/regexec.c (check_matching): Likewise.
52055 (clean_state_log_if_needed): Likewise.
52056 (extend_buffers): Don't enlarge buffers beyond size of the input
52057 buffer.
52058 Patches mostly by Emil Wojak <emil@wojak.eu>.
52059 * posix/bug-regex32.c: New file.
52060 * posix/Makefile (tests): Add bug-regex32.
52061
52062 * locale/findlocale.c (_nl_find_locale): Return right away if
52063 _nl_explode_name failed.
52064 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
52065
52066 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
52067
52068 * debug/xtrace.sh: Unify messages.
52069 * malloc/memusage.sh: Likewise.
52070
52071 [BZ #12813]
52072 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
52073 time symbol from vDSO. Substitute with vsyscall if not available.
52074 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
52075 __vdso_time.
52076
52077 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
52078 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
52079 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
52080 Add sendmmsg and internal_sendmmsg.
52081 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
52082 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
52083 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
52084
52085 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
52086 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
52087 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
52088
520892011-05-27 Ulrich Drepper <drepper@gmail.com>
52090
52091 [BZ #12813]
52092 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
52093 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
52094 available.
52095 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
52096 __vdso_getcpu.
52097
52098 [BZ #12814]
52099 * iconvdata/Makefile (tests): Add bug-iconv9.
52100 * iconvdata/bug-iconv9.c: New file.
52101
521022011-05-27 Andreas Schwab <schwab@redhat.com>
52103
52104 [BZ #12814]
52105 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
52106
521072011-05-25 Jakub Jelinek <jakub@redhat.com>
52108
52109 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52110 (struct user_regs_struct): Change intcs field back to cs.
52111
521122011-05-25 Ulrich Drepper <drepper@gmail.com>
52113
52114 * po/ja.po: Update from translation team.
52115
521162011-05-23 Ulrich Drepper <drepper@gmail.com>
52117
52118 [BZ #12795]
52119 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
52120 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
52121
521222011-05-20 Andreas Schwab <schwab@redhat.com>
52123
52124 * stdlib/longlong.h: Update from GCC.
52125
521262011-05-23 Andreas Schwab <schwab@redhat.com>
52127
52128 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
52129 parameter name.
52130 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
52131 Add parameter name.
52132 (__sysconf): Pass it down.
52133
521342011-05-22 Ulrich Drepper <drepper@gmail.com>
52135
52136 [BZ #12671]
52137 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
52138 some situations.
52139 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
52140 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
52141 add in in __libc_use_alloca calls. Adjust callers.
52142 (glob): Use malloc in some situations.
52143
52144 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
52145 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
52146 pltexit.
52147
521482011-05-21 Ulrich Drepper <drepper@gmail.com>
52149
52150 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
52151 and CLOCK_BOOTTIME_ALARM.
52152
52153 [BZ #12782]
52154 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
52155 is returned.
52156
52157 * string/_strerror.c (__strerror_r): Print negative errors as signed
52158 numbers.
52159
52160 [BZ #12777]
52161 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
52162 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
52163 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
52164
52165 * configure.in: Fix typo in redirection and correct removal of test
52166 files in two cases.
52167
52168 [BZ #12788]
52169 * locale/setlocale.c (new_composite_name): Fix test to check for
52170 identical name of all categories.
52171
52172 [BZ #12792]
52173 * libio/filedoalloc.c (local_isatty): New function.
52174 (_IO_file_doallocate): Use local_isatty.
52175 * stdio-common/perror.c (perror): In case a new stream is used
52176 forward the stream error.
52177 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
52178 error flag.
52179
521802011-05-20 Ulrich Drepper <drepper@gmail.com>
52181
52182 [BZ #11869]
52183 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
52184 alloca.
52185 * include/alloca.h (extend_alloca_account): Define.
52186
52187 [BZ #11857]
52188 * posix/regex.h: Fix comments with documentation of user-accessible
52189 fields after compilation and describe correct free'ing of pattern
52190 after re_compile_pattern.
52191 Patch by Reuben Thomas <rrt@sc3d.org>.
52192
521932011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
52194
52195 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
52196 and -mno-altivec to prevent the compiler from using Altivec and/or
52197 VSX instructions when the corresponding registers are not available.
52198
521992011-05-19 Andreas Schwab <schwab@redhat.com>
52200
52201 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
52202
522032011-05-19 Ulrich Drepper <drepper@gmail.com>
52204
52205 * libio/freopen.c (freopen): Use __dup2, not dup2.
52206 * libio/freopen64.c (freopen64): Likewise.
52207
522082011-05-17 H.J. Lu <hongjiu.lu@intel.com>
52209
52210 [BZ #12775]
52211 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
52212 * math/Makefile (tests): Add test-powl.
52213 (CFLAGS-test-powl.c): Define.
52214 * math/test-powl.c: New file.
52215
522162011-05-16 H.J. Lu <hongjiu.lu@intel.com>
52217
52218 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
52219
522202011-05-17 Ulrich Drepper <drepper@gmail.com>
52221
52222 [BZ #11837]
52223 * iconvdata/gb18030.c: Update to GB18020-2005.
52224
522252011-05-16 Ulrich Drepper <drepper@gmail.com>
52226
52227 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
52228 RE_SYNTAX_POSIX_AWK): Update to match recent development.
52229 Patch by Aharon Robbins <arnold@skeeve.com>.
52230
52231 [BZ #11892]
52232 * stdlib/putenv.c (putenv): Don't always create copy of the variable
52233 on the stack.
52234
52235 [BZ #11895]
52236 * misc/pselect.c (__pselect): Handle timeout value errors hidden
52237 through underflows.
52238
52239 [BZ #12766]
52240 * misc/error.c (error_at_line): Ensure file_name and old_file_name
52241 point to strings before performing equality test for error_one_per_line
52242 mode.
52243
52244 [BZ #11697]
52245 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
52246
52247 [BZ #11820]
52248 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52249 (struct user_fpregs_struct): Avoid __uint*_t types.
52250
52251 [BZ #6420]
52252 * malloc/mtrace.c (tr_where): Add additional parameter to point to
52253 symbol info. Use it instead of calling _dl_addr locally.
52254 (lock_and_info): New function.
52255 (tr_freehook): Call lock_and_info and pass symbol info as additional
52256 parameter to tr_where.
52257 (tr_mallochook): Likewise.
52258 (tr_reallochook): Likewise.
52259 (tr_memalignhook): Likewise.
52260
52261 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
52262 used and couldn't be at all thread-safe.
52263
522642011-05-15 Ulrich Drepper <drepper@gmail.com>
52265
52266 * libio/freopen.c (freopen): Don't close old file descriptor
52267 before the new one is opened. Instead dup the new file descriptor
52268 to the old one after the new stream is created.
52269 * libio/freopen64.c (freopen64): Likewise.
52270 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
52271 * libio/fileops.c (_IO_new_file_close_it): Handle new
52272 _IO_FLAGS2_NOCLOSE flag.
52273 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
52274 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
52275 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
52276 _IO_FLAGS2_NOCLOSE flag.
52277 * include/unistd.h: Add hidden_proto for dup3.
52278 Define __have_dup3.
52279 * io/dup3.c: Define hidden symbol.
52280 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
52281
52282 [BZ #7101]
52283 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
52284 when an incomplete long option is used.
52285 * posix/tst-getopt_long1.c: New file.
52286 * posix/Makefile (tests): Add tst-getopt_long1.
52287
52288 [BZ #10138]
52289 * scripts/config.guess: Update from autoconf-2.68.
52290 * scripts/config.sub: Likewise.
52291
52292 [BZ #10157]
52293 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
52294 tests into ...
52295 (has_cpuclock): ...this. New function.
52296 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
52297 macro here based on has_cpuclock code.
52298
52299 [BZ #10149]
52300 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52301 First byte (not low byte) is now always NUL.
52302 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
52303
52304 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52305 Use non-cancelable interfaces.
52306
52307 [BZ #9809]
52308 * locale/iso-639.def: Add entry for Sorani.
52309
52310 [BZ #11901]
52311 * include/stdlib.h: Move include protection to the right place.
52312 Define abort_msg_s. Declare __abort_msg with it.
52313 * stdlib/abort.c (__abort_msg): Adjust type.
52314 * assert/assert.c (__assert_fail_base): New function. Majority
52315 of code from __assert_fail. Allocate memory for __abort_msg with
52316 mmap.
52317 (__assert_fail): Now call __assert_fail_base.
52318 * assert/assert-perr.c: Remove bulk of implementation. Use
52319 __assert_fail_base.
52320 * include/assert.hL Declare __assert_fail_base.
52321 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
52322 mmap.
52323 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
52324
523252011-05-14 Ulrich Drepper <drepper@gmail.com>
52326
52327 [BZ #11952]
52328 [BZ #12453]
52329 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
52330 until all modules are registered in the DTV.
52331 * elf/Makefile: Add rules to build and run tst-tls19.
52332 * elf/tst-tls19.c: New file.
52333 * elf/tst-tls19mod1.c: New file.
52334 * elf/tst-tls19mod2.c: New file.
52335 * elf/tst-tls19mod3.c: New file.
52336 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
52337
52338 [BZ #12083]
52339 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
52340 correctly.
52341
52342 [BZ #12601]
52343 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
52344 two-byte sequence errors.
52345 * iconvdata/Makefile (tests): Add bug-iconv8.
52346 * iconvdata/bug-iconv8.c: New file.
52347
52348 [BZ #12626]
52349 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
52350 buf2 definition.
52351
52352 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
52353
52354 [BZ #12432]
52355 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
52356 (dummy_getcfa): New function.
52357 (init): Get _Unwind_GetCFA address, use dummy if not found.
52358 (backtrace_helper): In recursion check, also check whether CFA changes.
52359 (__backtrace): Completely initialize arg.
52360
52361 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
52362 storing incomplete byte sequence in state object. Avoid testing for
52363 guaranteed too small input if we know there is enough data available.
52364
523652011-05-11 Andreas Schwab <schwab@redhat.com>
52366
52367 * Makeconfig (+link-pie): Indent.
52368 * Rules (binaries-pie): Define if $(have-fpie) and
52369 $(build-shared).
52370 (binaries-shared): Also filter out $(binaries-pie).
52371 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
52372 * nscd/Makefile (others-pie): Add nscd.
52373 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
52374 ($(objpfx)nscd): Remove command override.
52375 * login/Makefile (others-pie): Add pt_chown.
52376 ($(objpfx)pt_chown): Remove command override.
52377 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
52378 remove command overrides.
52379
523802011-05-13 Ulrich Drepper <drepper@gmail.com>
52381
52382 * libio/tst_putwc.c: Fix error messages.
52383
52384 [BZ #12724]
52385 * libio/fileops.c (_IO_new_file_close_it): Always flush when
52386 currently writing and seek to current position when not.
52387 * libio/Makefile (tests): Add bug-fclose1.
52388 * libio/bug-fclose1.c: New file.
52389
523902011-05-12 Ulrich Drepper <drepper@gmail.com>
52391
52392 [BZ #12511]
52393 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
52394 don't set DF_1_NODELETE here.
52395 (do_lookup_x): When entering new entry test for copy relocation
52396 and if necessary set DF_1_NODELETE flag.
52397 * elf/tst-unique4.cc: New file.
52398 * elf/tst-unique4.h: New file.
52399 * elf/tst-unique4lib.cc: New file.
52400 * elf/Makefile: Add rules to build and run tst-unique4.
52401 Patch by Piotr Bury <pbury@goahead.com>.
52402
524032011-05-11 Ulrich Drepper <drepper@gmail.com>
52404
52405 [BZ #12052]
52406 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
52407
52408 [BZ #12625]
52409 * misc/mntent_r.c (addmntent): Flush the stream after the output
52410
52411 [BZ #12393]
52412 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
52413 (is_trusted_path_normalize): Skip initial colon. Append slash
52414 to empty buffer. Duplicate is_trusted_path code but allow
52415 constructed patch to be prefix.
52416 (is_dst): Allow $ORIGIN followed by /.
52417 (_dl_dst_substitute): Correct clearing of check_for_trusted.
52418 Correct testing of result of is_trusted_path_normalize
52419 (decompose_rpath): Fix warning.
52420
524212011-05-10 Ulrich Drepper <drepper@gmail.com>
52422
52423 [BZ #11257]
52424 * grp/initgroups.c (internal_getgrouplist): When we found the service
52425 list through the initgroups entry in nsswitch.conf do not always
52426 continue on a successful lookup. Don't always use the
52427 __nss_group_database value if it is set.
52428 * nss/nsswitch.conf (initgroups): Change action for successful db
52429 lookup to continue for compatibility.
52430
524312011-05-09 Ulrich Drepper <drepper@gmail.com>
52432
52433 [BZ #11532]
52434 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
52435 and CP774 modules.
52436 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
52437 and CP774 modules.
52438 * iconvdata/tst-tables.sh: Likewise.
52439 * iconvdata/cp770.c: New file.
52440 * iconvdata/cp771.c: New file.
52441 * iconvdata/cp772.c: New file.
52442 * iconvdata/cp773.c: New file.
52443 * iconvdata/cp774.c: New file.
52444 * iconvdata/testdata/CP770: New file.
52445 * iconvdata/testdata/CP770..UTF8: New file.
52446 * iconvdata/testdata/CP771: New file.
52447 * iconvdata/testdata/CP771..UTF8: New file.
52448 * iconvdata/testdata/CP772: New file.
52449 * iconvdata/testdata/CP772..UTF8: New file.
52450 * iconvdata/testdata/CP773: New file.
52451 * iconvdata/testdata/CP773..UTF8: New file.
52452 * iconvdata/testdata/CP774: New file.
52453 * iconvdata/testdata/CP774..UTF8: New file.
52454
52455 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
52456 END CHARMAP line.
52457 * iconvdata/gen-8bit-gap.sh: Likewise.
52458 * iconvdata/gen-8bit.sh: Likewise.
52459
52460 * locale/iso-639.def: Add ary entry.
52461
52462 [BZ #11258]
52463 * locale/C-translit.h.in: Add U20A1 transliteration.
52464
52465 [BZ #12178]
52466 * locale/iso-639.def: Add wae entry.
52467 Patch by Kevin Bortis <bortis@translate-wae.ch>.
52468
52469 [BZ #12545]
52470 * locale/programs/localedef.c (construct_output_path): Use ssize_t
52471 for n.
52472
52473 [BZ #12711]
52474 * locale/C-translit.h.in: Add entry for U20B9.
52475 Patch by pravin.d.s@gmail.com.
52476
524772011-05-08 Ulrich Drepper <drepper@gmail.com>
52478
52479 [BZ #12713]
52480 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
52481 ENAMETOOLONG use generic getcwd.
52482 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
52483 in rtld. Use *stat64.
52484 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
52485 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
52486 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
52487 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
52488 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
52489 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
52490 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
52491 __fstatat64 macros.
52492 * include/dirent.h: Add libc_hidden_proto for rewinddir.
52493 * dirent/rewinddir.c: Add libc_hidden_def.
52494 * sysdeps/mach/hurd/rewinddir.c: Likewise.
52495 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
52496
52497 * include/dirent.h (__alloc_dir): Add flags parameter.
52498 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
52499 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
52500 __alloc_dir.
52501 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
52502 from fdopendir if O_CLOEXEC is already set.
52503
525042011-03-15 Alan Modra <amodra@gmail.com>
52505
52506 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
52507 l_tls_firstbyte_offset non-zero. Save padding offset in
52508 l_tls_firstbyte_offset for later use.
52509 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
52510 freeing static tls block.
52511
525122011-03-05 Jonathan Nieder <jrnieder@gmail.com>
52513
52514 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
52515 where #ifdef was intended. The intent is to prevent ARG_MAX from
52516 being defined by the kernel headers.
52517
525182011-05-07 Ulrich Drepper <drepper@gmail.com>
52519
52520 [BZ #12734]
52521 * resolv/resolv.h: Define RES_NOTLDQUERY.
52522 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
52523 no-tld-query and set RES_NOTLDQUERY.
52524 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
52525 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
52526 modern BIND to search name as TLD unless forbidden.
52527
525282011-05-07 Petr Baudis <pasky@suse.cz>
52529 Ulrich Drepper <drepper@gmail.com>
52530
52531 [BZ #12393]
52532 * elf/dl-load.c (fillin_rpath): Move trusted path check...
52533 (is_trusted_path): ...to here.
52534 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
52535 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
52536 using is_trusted_path_normalize() in setuid scripts.
52537
525382011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
52539
52540 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
52541 __BEGIN/__END_DECLS.
52542
525432011-05-06 Ulrich Drepper <drepper@gmail.com>
52544
52545 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
52546 NSS_STATUS_NOTFOUND if no record was found.
52547
525482011-05-05 Andreas Schwab <schwab@redhat.com>
52549
52550 * sunrpc/Makefile (headers): Add rpc/netdb.h.
52551 (headers-not-in-tirpc): Remove rpc/netdb.h
52552 * resolv/netdb.h: Revert last change.
52553
525542011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
52555
52556 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
52557 circular dependency between libgcc.a and libc.a.
52558
525592011-05-05 Andreas Schwab <schwab@redhat.com>
52560
52561 * resolv/netdb.h: Don't include <rpc/netdb.h>.
52562 * nis/Makefile: Don't install rpcsvc/*.
52563 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
52564 instead of <rpc/types.h>.
52565 (MAXHOSTNAMELEN): Define.
52566
525672011-05-03 Andreas Schwab <schwab@redhat.com>
52568
52569 * elf/ldconfig.c (add_dir): Don't crash on empty path.
52570
525712011-04-28 Maciej Babinski <mbabinski@google.com>
52572
52573 [BZ #12714]
52574 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
52575 gethostbyname4_r when IPv6 results are possible.
52576
525772011-05-02 Ulrich Drepper <drepper@gmail.com>
52578
52579 [BZ #12723]
52580 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
52581 _PC_PIPE_BUF handling.
52582
525832011-04-30 Bruno Haible <bruno@clisp.org>
52584
52585 [BZ #12717]
52586 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
52587 * resolv/netdb.h (getnameinfo): Change type of flags parameter
52588 to 'int'.
52589 * inet/getnameinfo.c (getnameinfo): Likewise.
52590
525912011-04-29 Ulrich Drepper <drepper@gmail.com>
52592
52593 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
52594 to groups setting in database lookup.
52595 * nss/nsswitch.conf: Add initgroups entry.
52596
525972011-04-22 Ulrich Drepper <drepper@gmail.com>
52598
52599 [BZ #12685]
52600 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
52601 mode string.
52602 Patch by Eric Blake <eblake@redhat.com>.
52603
526042011-04-20 H.J. Lu <hongjiu.lu@intel.com>
52605
52606 * sunrpc/Makefile (need-export-routines): Add svc_run.
52607 (routines): Remove svc_run.
52608 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
52609 * sunrpc/clnt_perr.c (clnt_perrno): Export.
52610 * sunrpc/svc_run.c (svc_run): Likewise.
52611 * sunrpc/svc_udp.c (svcudp_create): Likewise.
52612
526132011-04-21 Ulrich Drepper <drepper@gmail.com>
52614
52615 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
52616 problem in reallocation in last patch.
52617
526182011-04-20 Ulrich Drepper <drepper@gmail.com>
52619
52620 * sunrpc/Makefile: Move inclusion of Rules.
52621
526222011-04-19 Ulrich Drepper <drepper@gmail.com>
52623
52624 * nss/nss_files/files-initgroups.c: New file.
52625 * nss/Makefile (libnss_files-routines): Add files-initgroups.
52626 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
52627 _nss_files_initgroups_dyn.
52628
526292011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
52630
52631 * elf/elf.h (R_ARM_IRELATIVE): Define.
52632
526332011-04-19 Ulrich Drepper <drepper@gmail.com>
52634
52635 * po/ru.po: Update from translation team.
52636
526372011-04-17 Ulrich Drepper <drepper@gmail.com>
52638
52639 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
52640 dependencies.
52641
526422011-02-06 Mike Frysinger <vapier@gentoo.org>
52643
52644 [BZ #12653]
52645 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
52646 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
52647 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52648 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52649 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52650
526512011-03-28 Andreas Schwab <schwab@linux-m68k.org>
52652
52653 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
52654 differing bytes.
52655 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52656 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52657 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52658
526592011-04-17 Ulrich Drepper <drepper@gmail.com>
52660
52661 [BZ #12420]
52662 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
52663 storing it.
52664 * stdlib/bug-getcontext.c: New file.
52665 * stdlib/Makefile: Add rules to build and run bug-getcontext.
52666
526672011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52668
52669 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
52670 instructions into .machine "z9-109".
52671 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
52672 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
52673
526742011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52675
52676 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
52677 between environment variables and auxiliary vector.
52678
526792011-04-16 Ulrich Drepper <drepper@gmail.com>
52680
52681 * Makefile: Add rules to build linkobj/libc.so.
52682 * include/libc-symbols.h: Define libc_hidden_nolink.
52683 * include/rpc/auth.h: Mark functions which are to be hidden.
52684 * include/rpc/auth_des.h: Likewise.
52685 * include/rpc/auth_unix.h: Likewise.
52686 * include/rpc/clnt.h: Likewise.
52687 * include/rpc/des_crypt.h: Likewise.
52688 * include/rpc/key_prot.h: Likewise.
52689 * include/rpc/pmap_clnt.h: Likewise.
52690 * include/rpc/pmap_prot.h: Likewise.
52691 * include/rpc/pmap_rmt.h: Likewise.
52692 * include/rpc/rpc_msg.h: Likewise.
52693 * include/rpc/svc.h: Likewise.
52694 * include/rpc/svc_auth.h: Likewise.
52695 * include/rpc/xdr.h: Likewise.
52696 * nis/Makefile: Link all DSOs against linkobj/libc.so.
52697 * nss/Makefile: Likewise.
52698 * sunrpc/Makefile: Don't install headers. Build library with normal
52699 entry points. Don't build rpcinfo. Link RPC tests appropriately.
52700 * sunrpc/auth_des.c: Hide exported symbols by default, export some
52701 for the compat linking library. Remove use of INTDEF/INTUSE.
52702 * sunrpc/auth_none.c: Likewise.
52703 * sunrpc/auth_unix.c: Likewise.
52704 * sunrpc/authdes_prot.c: Likewise.
52705 * sunrpc/authuxprot.c: Likewise.
52706 * sunrpc/clnt_gen.c: Likewise.
52707 * sunrpc/clnt_perr.c: Likewise.
52708 * sunrpc/clnt_raw.c: Likewise.
52709 * sunrpc/clnt_simp.c: Likewise.
52710 * sunrpc/clnt_tcp.c: Likewise.
52711 * sunrpc/clnt_udp.c: Likewise.
52712 * sunrpc/clnt_unix.c: Likewise.
52713 * sunrpc/des_crypt.c: Likewise.
52714 * sunrpc/des_soft.c: Likewise.
52715 * sunrpc/get_myaddr.c: Likewise.
52716 * sunrpc/key_call.c: Likewise.
52717 * sunrpc/key_prot.c: Likewise.
52718 * sunrpc/netname.c: Likewise.
52719 * sunrpc/pm_getmaps.c: Likewise.
52720 * sunrpc/pm_getport.c: Likewise.
52721 * sunrpc/pmap_clnt.c: Likewise.
52722 * sunrpc/pmap_prot.c: Likewise.
52723 * sunrpc/pmap_prot2.c: Likewise.
52724 * sunrpc/pmap_rmt.c: Likewise.
52725 * sunrpc/publickey.c: Likewise.
52726 * sunrpc/rpc_cmsg.c: Likewise.
52727 * sunrpc/rpc_common.c: Likewise.
52728 * sunrpc/rpc_dtable.c: Likewise.
52729 * sunrpc/rpc_prot.c: Likewise.
52730 * sunrpc/rpc_thread.c: Likewise.
52731 * sunrpc/rtime.c: Likewise.
52732 * sunrpc/svc.c: Likewise.
52733 * sunrpc/svc_auth.c: Likewise.
52734 * sunrpc/svc_authux.c: Likewise.
52735 * sunrpc/svc_raw.c: Likewise.
52736 * sunrpc/svc_run.c: Likewise.
52737 * sunrpc/svc_simple.c: Likewise.
52738 * sunrpc/svc_tcp.c: Likewise.
52739 * sunrpc/svc_udp.c: Likewise.
52740 * sunrpc/svc_unix.c: Likewise.
52741 * sunrpc/svcauth_des.c: Likewise.
52742 * sunrpc/xcrypt.c: Likewise.
52743 * sunrpc/xdr.c: Likewise.
52744 * sunrpc/xdr_array.c: Likewise.
52745 * sunrpc/xdr_float.c: Likewise.
52746 * sunrpc/xdr_intXX_t.c: Likewise.
52747 * sunrpc/xdr_mem.c: Likewise.
52748 * sunrpc/xdr_rec.c: Likewise.
52749 * sunrpc/xdr_ref.c: Likewise.
52750 * sunrpc/xdr_sizeof.c: Likewise.
52751 * sunrpc/xdr_stdio.c: Likewise.
52752
527532011-04-10 Ulrich Drepper <drepper@gmail.com>
52754
52755 [BZ #12650]
52756 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
52757 * sysdeps/ia64/dl-tls.h: Likewise.
52758 * sysdeps/powerpc/dl-tls.h: Likewise.
52759 * sysdeps/s390/dl-tls.h: Likewise.
52760 * sysdeps/sh/dl-tls.h: Likewise.
52761 * sysdeps/sparc/dl-tls.h: Likewise.
52762 * sysdeps/x86_64/dl-tls.h: Likewise.
52763 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
52764
527652011-03-14 Andreas Schwab <schwab@redhat.com>
52766
52767 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
52768 rpath element also skip the following colon.
52769 (expand_dynamic_string_token): Add is_path parameter and pass
52770 down to DL_DST_REQUIRED and _dl_dst_substitute.
52771 (decompose_rpath): Call expand_dynamic_string_token with
52772 non-zero is_path. Ignore empty rpaths.
52773 (_dl_map_object_from_fd): Call expand_dynamic_string_token
52774 with zero is_path.
52775
527762011-04-08 Andreas Schwab <schwab@linux-m68k.org>
52777
52778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
52779 Make cancelable.
52780
527812011-04-09 Ulrich Drepper <drepper@gmail.com>
52782
52783 [BZ #12655]
52784 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
52785 Patch by Filipe David Manana <fdmanana@apache.org>.
52786
527872011-04-07 Andreas Schwab <schwab@redhat.com>
52788
52789 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
52790 Maintain aligned stack.
52791 (CHECK_RSP): Remove unused macro.
52792
527932011-04-03 Ulrich Drepper <drepper@gmail.com>
52794
52795 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
52796 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
52797
527982011-04-02 Ulrich Drepper <drepper@gmail.com>
52799
52800 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
52801
52802 * include/features.h: Mention __USE_XOPEN2K8 in comment.
52803
528042011-03-26 H.J. Lu <hongjiu.lu@intel.com>
52805
52806 [BZ #12518]
52807 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
52808 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
52809 * sysdeps/x86_64/memmove.c: New file.
52810 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
52811 (memcpy): Renamed to ...
52812 (__new_memcpy): This.
52813 (memcpy): Provide GLIBC_2_14 memcpy.
52814 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
52815 (memcpy): Provide GLIBC_2_2_5 memcpy.
52816
528172011-04-01 Ulrich Drepper <drepper@gmail.com>
52818
52819 [BZ #12631]
52820 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
52821
528222011-03-30 Andreas Schwab <schwab@redhat.com>
52823
52824 * misc/syncfs.c: New file.
52825 * misc/Makefile (routines): Add syncfs.
52826 * posix/unistd.h: Declare syncfs.
52827 * sysdeps/unix/syscalls.list: Add syncfs.
52828
528292011-04-01 Andreas Schwab <schwab@redhat.com>
52830
52831 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
52832 open_by_handle_at.
52833 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52834 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52835 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52836 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52837 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52838 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
52839 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52840
528412011-04-01 Ulrich Drepper <drepper@gmail.com>
52842
52843 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
52844 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52845 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
52846 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52847 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52848 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52849 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52850
52851 * io/Makefile: Compile fallocate.c, fallocate64.c, and
52852 sync_file_range.c with -fexceptions.
52853 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
52854 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
52855 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
52856 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
52857 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
52858 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
52859 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
52860 sync_file_range as cancellation point
52861 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
52862 now a wrapper around __call_sync_file_range with cancellation handling.
52863 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
52864 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
52865 function name to __call_sync_file_range.
52866 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
52867 Add call_sync_file_range.
52868
528692011-04-01 Andreas Schwab <schwab@redhat.com>
52870
52871 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52872 bits/timex.h.
52873
528742011-04-01 Ulrich Drepper <drepper@gmail.com>
52875
52876 * iconv/iconv.h: Fix typo in comment.
52877 * io/fcntl.h: Likewise.
52878 * libio/stdio.h: Likewise.
52879 * posix/spawn.h: Likewise.
52880 * posix/unistd.h: Likewise.
52881 * stdlib/stdlib.h: Likewise.
52882 * time/time.h: Likewise.
52883 * wcsmbs/wchar.h: Likewise.
52884
52885 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
52886 open_by_handle): Add.
52887 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
52888 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
52889 Augment a few comments.
52890 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52891 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52892 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52893 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52894 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52895 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
52896 open_by_handle.
52897
52898 * io/fcntl.h (AT_EMPTY_PATH): Define.
52899
529002011-03-30 Ulrich Drepper <drepper@gmail.com>
52901
52902 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
52903 * sysdeps/unix/sysv/linux/bits/time.h: New file.
52904 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
52905 to...
52906 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
52907 * Versions.def: Add GLIBC_2.14.
52908 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
52909 Export.
52910
529112011-03-22 Ulrich Drepper <drepper@gmail.com>
52912
52913 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
52914 round counter.
52915 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52916
529172011-03-20 H.J. Lu <hongjiu.lu@intel.com>
52918
52919 [BZ #12597]
52920 * string/test-strncmp.c (do_page_test): New function.
52921 (check2): Likewise.
52922 (test_main): Call check2.
52923 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
52924
529252011-03-20 Ulrich Drepper <drepper@gmail.com>
52926
52927 [BZ #12587]
52928 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
52929 Handle cache information in CPU leaf 4.
52930 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52931
529322011-03-18 Ulrich Drepper <drepper@gmail.com>
52933
52934 [BZ #12583]
52935 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
52936 character representation.
52937 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
52938
529392011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
52940
52941 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
52942 END(__isnan) to END(__isnanf) to match function entry point/label
52943 EALIGN(__isnanf,...).
52944
529452011-03-10 Jakub Jelinek <jakub@redhat.com>
52946
52947 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
52948
529492011-03-10 Ulrich Drepper <drepper@gmail.com>
52950
52951 [BZ #12510]
52952 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
52953 copy from the symbol referenced in the relocation to initialize the
52954 used variable.
52955 Patch by Piotr Bury <pbury@goahead.com>.
52956 * elf/Makefile: Add rules to build and tst-unique3.
52957 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
52958 * elf/tst-unique3.cc: New file.
52959 * elf/tst-unique3.h: New file.
52960 * elf/tst-unique3lib.cc: New file.
52961 * elf/tst-unique3lib2.cc: New file.
52962
52963 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
52964
529652011-03-10 Mike Frysinger <vapier@gentoo.org>
52966
52967 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
52968 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
52969 to _start.
52970
529712011-03-06 Ulrich Drepper <drepper@gmail.com>
52972
52973 * elf/dl-load.c (_dl_map_object): If we are looking for the first
52974 to-be-loaded object along a path to loader is ld.so.
52975
529762011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
52977 Ulrich Drepper <drepper@gmail.com>
52978
52979 * sysdeps/x86_64/memset.S: After aligning destination, code
52980 branches to different locations depending on the value of
52981 misalignment, when multiarch is enabled. Fix this.
52982
529832011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
52984
52985 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
52986 Set _x86_64_preferred_memory_instruction for AMD processsors.
52987 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52988 Set bit_Prefer_SSE_for_memop for AMD processors.
52989
529902011-03-04 Ulrich Drepper <drepper@gmail.com>
52991
52992 * libio/fmemopen.c (fmemopen): Optimize a bit.
52993
529942011-03-03 Andreas Schwab <schwab@redhat.com>
52995
52996 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
52997
529982011-03-03 Roland McGrath <roland@redhat.com>
52999
53000 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
53001
530022011-02-28 Aurelien Jarno <aurelien@aurel32.net>
53003
53004 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
53005 __bzero_ultra1 instead of __memset_ultra1.
53006
530072011-02-23 Andreas Schwab <schwab@redhat.com>
53008 Ulrich Drepper <drepper@gmail.com>
53009
53010 [BZ #12509]
53011 * include/link.h (struct link_map): Add l_orig_initfini.
53012 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
53013 returning unsuccessfully.
53014 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
53015 close of a file loaded at startup, restore the original l_initfini
53016 list.
53017 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
53018 list, store the pointer.
53019 * elf/Makefile ($(objpfx)noload-mem): New rule.
53020 (noload-ENV): Define.
53021 (tests): Add $(objpfx)noload-mem.
53022 * elf/noload.c: Include <memcheck.h>.
53023 (main): Call mtrace. Close all opened handles.
53024
530252011-02-17 Andreas Schwab <schwab@redhat.com>
53026
53027 [BZ #12454]
53028 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
53029 dependencies are missing.
53030
530312011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
53032
53033 Fix __if_freereq crash: Unlike the generic version which uses free,
53034 Hurd needs munmap.
53035 * sysdeps/mach/hurd/ifreq.h: New file.
53036
530372011-01-27 Petr Baudis <pasky@suse.cz>
53038 Ulrich Drepper <drepper@gmail.com>
53039
53040 [BZ 12445]#
53041 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
53042 to extend_alloca().
53043 * stdio-common/bug23.c: New file.
53044 * stdio-common/Makefile (tests): Add bug23.
53045
530462010-09-28 Andreas Schwab <schwab@redhat.com>
53047 Ulrich Drepper <drepper@gmail.com>
53048
53049 [BZ #12489]
53050 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
53051 before performing relro protection. At old place add assertion
53052 to make sure nothing changed.
53053
530542011-02-17 Nathan Sidwell <nathan@codesourcery.com>
53055 Glauber de Oliveira Costa <glommer@gmail.com>
53056
53057 * elf/elf.h: Add new ARM TLS relocs.
53058
530592011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
53060
53061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53062 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
53063 cast from r3.
53064 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
53065 'tests' variable.
53066 * sysdeps/wordsize-64/tst-writev.c: New file.
53067
530682011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
53069
53070 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
53071 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
53072 insns in _dl_start to prevent a TOC reference before relocs are
53073 resolved.
53074
530752011-02-15 Ulrich Drepper <drepper@gmail.com>
53076
53077 [BZ #12469]
53078 * Makeconfig: Remove RANLIB definition.
53079 * Makerules: Don't use RANLIB.
53080 * aclocal.m4: Remove ranlib test.
53081 * configure.in: No need to check for ranlib.
53082 * elf/rtld-Rules: Don't use RANLIB.
53083
530842011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53085
53086 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
53087 protection macro.
53088 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
53089 inclusion protection macro.
53090
53091 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
53092 SIGRTMIN and SIGRTMAX and print information in that case only when
53093 SIGRTMIN is defined.
53094
530952011-02-11 Jakub Jelinek <jakub@redhat.com>
53096
53097 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
53098 arginfo fn returning -1.
53099
53100 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
53101 and thousands string is zero terminated.
53102
531032011-02-03 Andreas Schwab <schwab@redhat.com>
53104
53105 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
53106 sysdeps/unix/sysv/linux/bits/socket.h.
53107
531082011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
53109
53110 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
53111 (__CPU_COUNT): Remove old macros.
53112 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
53113 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
53114 (__CPU_ALLOC, __CPU_FREE): Add macros.
53115 (__sched_cpualloc, __sched_cpufree): Add declarations.
53116
531172011-02-05 Ulrich Drepper <drepper@gmail.com>
53118
53119 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
53120 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
53121 * nscd/aicache.c (addhstaiX): Return timeout of added value.
53122 (readdhstai): Return value of addhstaiX call.
53123 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
53124 (addgrbyX): Return value returned by cache_addgr.
53125 (readdgrbyname): Return value returned by addgrbyX.
53126 (readdgrbygid): Likewise.
53127 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
53128 (addpwbyX): Return value returned by cache_addpw.
53129 (readdpwbyname): Return value returned by addhstbyX.
53130 (readdpwbyuid): Likewise.
53131 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
53132 (addservbyX): Return value returned by cache_addserv.
53133 (readdservbyname): Return value returned by addservbyX:
53134 (readdservbyport): Likewise.
53135 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
53136 (addhstbyX): Return value returned by cache_addhst.
53137 (readdhstbyname): Return value returned by addhstbyX.
53138 (readdhstbyaddr): Likewise.
53139 (readdhstbynamev6): Likewise.
53140 (readdhstbyaddrv6): Likewise.
53141 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
53142 (readdinitgroups): Return value returned by addinitgroupsX.
53143 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
53144 (prune_cache): Keep track of timeout value of re-added entries.
53145 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
53146 * nscd/nscd.h: Adjust prototypes of readd* functions.
53147
531482011-02-04 Roland McGrath <roland@redhat.com>
53149
53150 * nis/nis_server.c (nis_servstate): Use the right name for 0.
53151 (nis_stats): Likewise.
53152 * nis/nis_modify.c (nis_modify): Likewise.
53153 * nis/nis_remove.c (nis_remove): Likewise.
53154 * nis/nis_add.c (nis_add): Likewise.
53155
53156 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
53157
53158 * posix/fnmatch_loop.c: Add some consts.
53159
53160 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
53161
531622011-02-02 H.J. Lu <hongjiu.lu@intel.com>
53163
53164 [BZ #12460]
53165 * config.make.in (config-cflags-novzeroupper): Define.
53166 * configure.in: Substitute libc_cv_cc_novzeroupper.
53167 * elf/Makefile (AVX-CFLAGS): Define.
53168 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
53169 (CFLAGS-tst-auditmod4a.c): Likewise.
53170 (CFLAGS-tst-auditmod4b.c): Likewise.
53171 (CFLAGS-tst-auditmod6b.c): Likewise.
53172 (CFLAGS-tst-auditmod6c.c): Likewise.
53173 (CFLAGS-tst-auditmod7b.c): Likewise.
53174 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
53175
531762011-02-02 Ulrich Drepper <drepper@gmail.com>
53177
53178 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
53179 function to the callback.
53180 Patch partly by Jiri Olsa <jolsa@redhat.com>.
53181
531822011-02-02 Andreas Schwab <schwab@redhat.com>
53183
53184 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
53185 of errno.
53186
531872011-01-19 Ulrich Drepper <drepper@gmail.com>
53188
53189 [BZ #11724]
53190 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
53191 of constructors.
53192 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
53193 of destructors.
53194 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
53195
53196 [BZ #11724]
53197 * elf/Makefile: Add rules to build and run new test.
53198 * elf/tst-initorder.c: New file.
53199 * elf/tst-initorder.exp: New file.
53200 * elf/tst-initordera1.c: New file.
53201 * elf/tst-initordera2.c: New file.
53202 * elf/tst-initordera3.c: New file.
53203 * elf/tst-initordera4.c: New file.
53204 * elf/tst-initorderb1.c: New file.
53205 * elf/tst-initorderb2.c: New file.
53206 * elf/tst-order-a1.c: New file.
53207 * elf/tst-order-a2.c: New file.
53208 * elf/tst-order-a3.c: New file.
53209 * elf/tst-order-a4.c: New file.
53210 * elf/tst-order-b1.c: New file.
53211 * elf/tst-order-b2.c: New file.
53212 * elf/tst-order-main.c: New file.
53213 New test case by George Gensure <werkt0@gmail.com>.
53214
532152010-10-01 Andreas Schwab <schwab@redhat.com>
53216
53217 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53218 decoding ACE if AI_CANONIDN.
53219
532202011-01-18 Ulrich Drepper <drepper@gmail.com>
53221
53222 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
53223
532242011-01-17 Ulrich Drepper <drepper@gmail.com>
53225
53226 * version.h (RELEASE): Bump for 2.13 release.
53227 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
53228
53229 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
53230
53231 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
53232 MADV_NOHUGEPAGE.
53233 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
53234 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53235 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53236 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53237 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53238 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53239
53240 * posix/getconf.c: Update copyright year.
53241 * catgets/gencat.c: Likewise.
53242 * csu/version.c: Likewise.
53243 * debug/catchsegv.sh: Likewise.
53244 * debug/xtrace.sh: Likewise.
53245 * elf/ldconfig.c: Likewise.
53246 * elf/ldd.bash.in: Likewise.
53247 * elf/sprof.c (print_version): Likewise.
53248 * iconv/iconv_prog.c: Likewise.
53249 * iconv/iconvconfig.c: Likewise.
53250 * locale/programs/locale.c: Likewise.
53251 * locale/programs/localedef.c: Likewise.
53252 * malloc/memusage.sh: Likewise.
53253 * malloc/mtrace.pl: Likewise.
53254 * nscd/nscd.c (print_version): Likewise.
53255 * nss/getent.c: Likewise.
53256
53257 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
53258 PF_CAIF, and PF_ALG.
53259 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53260
532612011-01-16 Andreas Schwab <schwab@linux-m68k.org>
53262
53263 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
53264 (modules-names): Use them.
53265 (ifunc-test-modules, ifunc-pie-tests): Define.
53266 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
53267 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
53268 (test-extras): Likewise.
53269 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
53270 $(compile-command.c).
53271 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
53272 (all-built-dso): Define.
53273 (check-textrel.out, check-execstack.out): Depend on it.
53274
53275 * configure.in: Don't override --enable-multi-arch.
53276
532772011-01-15 Ulrich Drepper <drepper@gmail.com>
53278
53279 [BZ #6812]
53280 * nscd/hstcache.c (tryagain): Define.
53281 (cache_addhst): Return tryagain not notfound for temporary errors.
53282 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
53283 failed.
53284
532852011-01-14 Ulrich Drepper <drepper@gmail.com>
53286
53287 [BZ #10563]
53288 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
53289 to make the syscall.
53290 * sysdeps/unix/sysv/linux/setgroups.c: New file.
53291
53292 [BZ #12378]
53293 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
53294 and fall back to matching as normal character if the string ends before
53295 the matching ']' is found. This is what POSIX requires.
53296 * posix/testfnm.c: Adjust test result.
53297 * posix/globtest.sh: Adjust test result. Add new test.
53298 * posix/tst-fnmatch.input: Likewise.
53299 * posix/tst-fnmatch2.c: Add new test.
53300
533012010-12-28 Andreas Schwab <schwab@linux-m68k.org>
53302
53303 * elf/Makefile (check-execstack): Revert last change. Depend on
53304 check-execstack.h.
53305 (check-execstack.h): New target.
53306 (generated): Add check-execstack.h.
53307 * elf/check-execstack.c: Include "check-execstack.h".
53308 (main): Revert last change.
53309 (handle_file): Return zero if GNU_STACK is absent and
53310 DEFAULT_STACK_PERMS doesn't include PF_X.
53311
533122011-01-13 Ulrich Drepper <drepper@gmail.com>
53313
53314 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
53315 in child fails because the descriptor is already closed.
53316 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
53317 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
53318 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
53319
53320 [BZ #12397]
53321 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
53322 syscall.
53323
53324 [BZ #10484]
53325 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
53326 temporary buffer used to handle multi lookups locally.
53327 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
53328
533292011-01-12 Ulrich Drepper <drepper@gmail.com>
53330
53331 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
53332 loader is ld.so.
53333
533342011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
53335
53336 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
53337 alignment for SSE2.
53338
533392011-01-12 Ulrich Drepper <drepper@gmail.com>
53340
53341 [BZ #12394]
53342 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
53343 characters. When rounding increased number of integer digits recompute
53344 number of groups.
53345 * stdio-common/tst-grouping.c: New file.
53346 * stdio-common/Makefile: Add rules to build and run tst-grouping.
53347
533482011-01-09 Ulrich Drepper <drepper@gmail.com>
53349
53350 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
53351 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
53352
53353 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
53354 void.
53355 * bits/select.h: Likewise.
53356
533572011-01-08 Ulrich Drepper <drepper@gmail.com>
53358
53359 * po/ja.po: Update from translation team.
53360
533612011-01-04 David S. Miller <davem@sunset.davemloft.net>
53362
53363 [BZ #11155]
53364 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
53365 implementation just like for lxstat, fxstatat, et al.
53366
533672010-12-27 Jim Meyering <meyering@redhat.com>
53368
53369 [BZ #12348]
53370 * posix/regexec.c (build_trtable): Return failure indication upon
53371 calloc failure. Otherwise, re_search_internal could infloop on OOM.
53372
533732010-12-25 Ulrich Drepper <drepper@gmail.com>
53374
53375 [BZ #12201]
53376 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
53377 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
53378 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
53379 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
53380
53381 [BZ #12207]
53382 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
53383
53384 [BZ #12204]
53385 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
53386 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
53387
533882010-12-15 H.J. Lu <hongjiu.lu@intel.com>
53389
53390 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
53391 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
53392 script has SORT_BY_INIT_PRIORITY.
53393 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
53394 NO_CTORS_DTORS_SECTIONS is defined.
53395 * elf/soinit.c: Likewise.
53396 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
53397 NO_CTORS_DTORS_SECTIONS is defined.
53398 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
53399 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
53400 * sysdeps/sh/init-first.c: Likewise.
53401 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
53402
534032010-12-24 Ulrich Drepper <drepper@gmail.com>
53404
53405 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
53406 always use the slow path.
53407
534082010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
53409
53410 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
53411 similar rule which adds the sysdep directories to the header search in
53412 order to pick up the correct platform stackinfo.h.
53413 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
53414 perform test if it is, otherwise return successfully without testing.
53415 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
53416 DEFAULT_STACK_PERMS define in stackinfo.h.
53417 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
53418 defined in stackinfo.h.
53419 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
53420 DEFAULT_STACK_PERMS defined in stackinfo.h.
53421 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
53422 * sysdeps/ia64/stackinfo.h: Likewise.
53423 * sysdeps/s390/stackinfo.h: Likewise.
53424 * sysdeps/sh/stackinfo.h: Likewise.
53425 * sysdeps/sparc/stackinfo.h: Likewise.
53426 * sysdeps/x86_64/stackinfo.h: Likewise.
53427 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
53428 PF_X for powerpc64. Retain PF_X for powerpc32.
53429
534302010-12-19 Ulrich Drepper <drepper@gmail.com>
53431
53432 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
53433 accurately.
53434 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
53435 GETDENTS_64BIT_ALIGNED.
53436
534372010-12-14 Ulrich Drepper <dreper@gmail.com>
53438
53439 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
53440
534412010-12-10 Andreas Schwab <schwab@redhat.com>
53442
53443 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
53444 _GNU_SOURCE.
53445
53446 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
53447 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
53448 Remove __restrict.
53449 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
53450 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
53451
534522010-12-09 Ulrich Drepper <drepper@gmail.com>
53453
53454 [BZ #11655]
53455 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
53456 are initialized.
53457
534582010-12-09 Jakub Jelinek <jakub@redhat.com>
53459
53460 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
53461
534622010-12-03 Ulrich Drepper <drepper@gmail.com>
53463
53464 * po/it.po: Update from translation team.
53465
534662010-12-01 H.J. Lu <hongjiu.lu@intel.com>
53467
53468 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
53469 unused codes.
53470
534712010-11-30 Ulrich Drepper <drepper@gmail.com>
53472
53473 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
53474
534752010-11-24 Andreas Schwab <schwab@redhat.com>
53476
53477 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
53478 specially.
53479 (gaih_getanswer_slice): Likewise.
53480
534812010-10-20 Jakub Jelinek <jakub@redhat.com>
53482
53483 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
53484
534852010-05-31 Petr Baudis <pasky@suse.cz>
53486
53487 [BZ #11149]
53488 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
53489 silently even in the chroot mode.
53490
534912010-11-22 Ulrich Drepper <drepper@gmail.com>
53492
53493 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
53494 last patch a bit. Pretty printing
53495
534962010-05-31 Petr Baudis <pasky@suse.cz>
53497
53498 [BZ #10085]
53499 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
53500 initialization of skip_initgroups_dyn.
53501
535022010-11-19 Ulrich Drepper <drepper@gmail.com>
53503
53504 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
53505 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53506
535072010-11-16 Ulrich Drepper <drepper@gmail.com>
53508
53509 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
53510
535112010-11-11 Andreas Schwab <schwab@redhat.com>
53512
53513 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
53514 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
53515 (tst-fnmatch-ENV): Set MALLOC_TRACE.
53516 ($(objpfx)tst-fnmatch-mem): New rule.
53517 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
53518 * posix/tst-fnmatch.c (main): Call mtrace.
53519
535202010-11-11 H.J. Lu <hongjiu.lu@intel.com>
53521
53522 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53523 Support Intel processor model 6 and model 0x2c.
53524
535252010-11-10 Luis Machado <luisgpm@br.ibm.com>
53526
53527 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
53528 signed comparison.
53529
535302010-11-09 H.J. Lu <hongjiu.lu@intel.com>
53531
53532 [BZ #12205]
53533 * string/test-strncasecmp.c (check_result): New function.
53534 (do_one_test): Use it.
53535 (check1): New function.
53536 (test_main): Use it.
53537 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
53538 Support strcasecmp and strncasecmp.
53539
535402010-11-08 Ulrich Drepper <drepper@gmail.com>
53541
53542 [BZ #12194]
53543 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
53544 * sysdeps/x86_64/bits/byteswap.h: Likewise.
53545
535462010-11-07 H.J. Lu <hongjiu.lu@intel.com>
53547
53548 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
53549 IFUNC support.
53550 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53551 memset-x86-64.
53552 * sysdeps/x86_64/multiarch/bzero.S: New file.
53553 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
53554 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
53555 * sysdeps/x86_64/multiarch/memset.S: New file.
53556 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
53557 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53558 Set bit_Prefer_SSE_for_memop for Intel processors.
53559 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
53560 Define.
53561 (index_Prefer_SSE_for_memop): Define.
53562 (HAS_PREFER_SSE_FOR_MEMOP): Define.
53563
535642010-11-04 Luis Machado <luisgpm@br.ibm.com>
53565
53566 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
53567 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
53568
535692010-11-03 H.J. Lu <hongjiu.lu@intel.com>
53570
53571 [BZ #12191]
53572 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53573 (__x86_64_raw_data_cache_size_half): Likewise.
53574 (__x86_64_raw_shared_cache_size): Likewise.
53575 (__x86_64_raw_shared_cache_size_half): Likewise.
53576
53577 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53578 (__x86_64_raw_data_cache_size_half): Likewise.
53579 (__x86_64_raw_shared_cache_size): Likewise.
53580 (__x86_64_raw_shared_cache_size_half): Likewise.
53581 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
53582 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
53583 and __x86_64_raw_shared_cache_size_half. Round
53584 __x86_64_data_cache_size_half, __x86_64_data_cache_size
53585 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
53586 to multiple of 256 bytes.
53587
535882010-11-03 Ulrich Drepper <drepper@gmail.com>
53589
53590 [BZ #12167]
53591 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
53592 of inacessible symlinks. Verify result of symlink before returning it.
53593 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
53594 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
53595
535962010-10-28 Erich Ritz <erichritz@gmail.com>
53597
53598 * math/math.h (isinf): Fix typo in comment.
53599
536002010-11-01 Ulrich Drepper <drepper@gmail.com>
53601
53602 * po/da.po: Update from translation team.
53603
536042010-10-26 Ulrich Drepper <drepper@gmail.com>
53605
53606 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
53607 is added to the list.
53608
536092010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53610 Ulrich Drepper <drepper@gmail.com>
53611
53612 * elf/dl-object.c (_dl_new_object): Don't append the new object to
53613 the global list here. Move code to...
53614 (_dl_add_to_namespace_list): ...here. New function.
53615 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
53616 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
53617 * elf/dl-load.c (lose): Don't remove the element from the list.
53618 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
53619 (_dl_map_object): Likewise.
53620
536212010-10-25 Ulrich Drepper <drepper@gmail.com>
53622
53623 [BZ #12159]
53624 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
53625 into all bytes of SSE register.
53626 Patch by Richard Li <richardpku@gmail.com>.
53627
536282010-10-24 Ulrich Drepper <drepper@gmail.com>
53629
53630 [BZ #12140]
53631 * malloc/malloc.c (_int_free): Fill correct number of bytes when
53632 perturbing.
53633
536342010-10-20 Michael B. Brutman <brutman@us.ibm.com>
53635
53636 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
53637 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
53638 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
53639 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
53641 submachine.
53642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
53643
536442010-10-22 Andreas Schwab <schwab@redhat.com>
53645
53646 * include/dlfcn.h (__RTLD_SECURE): Define.
53647 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
53648 mode & __RTLD_SECURE instead.
53649 (open_path): Rename preloaded parameter to secure.
53650 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
53651 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
53652 * elf/dl-deps.c (openaux): Likewise.
53653 * elf/rtld.c (struct map_args): Remove is_preloaded.
53654 (map_doit): Don't use it.
53655 (dl_main): Likewise.
53656 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
53657 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
53658
536592010-09-09 Andreas Schwab <schwab@redhat.com>
53660
53661 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
53662 (sysd-rules-targets): Remove duplicates.
53663 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
53664 rtld-%.$o dependency.
53665
536662010-10-18 Andreas Schwab <schwab@redhat.com>
53667
53668 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
53669 _dl_map_object do it.
53670
536712010-10-19 Ulrich Drepper <drepper@gmail.com>
53672
53673 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
53674 fast fma builtins, define the macros in the C99 standard.
53675 (FP_FAST_FMAF): Likewise.
53676 (FP_FAST_FMAL): Likewise.
53677 * sysdeps/x86_64/bits/mathdef.h: Likewise.
53678
53679 * bits/mathdef.h: Update copyright year.
53680 * sysdeps/powerpc/bits/mathdef.h: Likewise.
53681
536822010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
53683
53684 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
53685 builtins, define the macros in the C99 standard.
53686 (FP_FAST_FMAF): Likewise.
53687 (FP_FAST_FMAL): Likewise.
53688 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
53689 multiply/add.
53690 (FP_FAST_FMAF): Likewise.
53691
536922010-10-15 Jakub Jelinek <jakub@redhat.com>
53693
53694 [BZ #3268]
53695 * math/libm-test.inc (fma_test): Some new testcases.
53696 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
53697 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
53698 y and infinite z. Do multiplication by C already in long double.
53699 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
53700 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
53701 y and infinite z. Do bitwise or of inexact bit into u.d.
53702 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
53703 * sysdeps/i386/fpu/s_fmaf.S: Removed.
53704 * sysdeps/i386/fpu/s_fma.S: Removed.
53705 * sysdeps/i386/fpu/s_fmal.S: Removed.
53706
537072010-10-16 Jakub Jelinek <jakub@redhat.com>
53708
53709 [BZ #3268]
53710 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
53711 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
53712 computation is not scheduled after fetestexcept. Fix value
53713 of minimum denormal long double.
53714
537152010-10-14 Jakub Jelinek <jakub@redhat.com>
53716
53717 [BZ #3268]
53718 * math/libm-test.inc (fma_test): Add some more tests.
53719 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
53720 correctly.
53721
537222010-10-15 Andreas Schwab <schwab@redhat.com>
53723
53724 * scripts/data/localplt-s390-linux-gnu.data: New file.
53725 * scripts/data/localplt-s390x-linux-gnu.data: New file.
53726
537272010-10-13 Jakub Jelinek <jakub@redhat.com>
53728
53729 [BZ #3268]
53730 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
53731 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
53732 instead of dbl-64.
53733 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
53734 inlines.
53735 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
53736 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
53737 if one of x and y is very large and the other is subnormal.
53738 * sysdeps/s390/fpu/s_fmaf.c: New file.
53739 * sysdeps/s390/fpu/s_fma.c: New file.
53740 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
53741 * sysdeps/powerpc/fpu/s_fma.S: New file.
53742 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
53743 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
53744 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
53745
537462010-10-12 Jakub Jelinek <jakub@redhat.com>
53747
53748 [BZ #3268]
53749 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
53750 fma tests.
53751 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
53752 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
53753 * sysdeps/i386/i686/multiarch/s_fma.c: Include
53754 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
53755 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
53756 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
53757 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
53758
537592010-10-12 Ulrich Drepper <drepper@redhat.com>
53760
53761 [BZ #12078]
53762 * posix/regcomp.c (parse_branch): One more memory leak plugged.
53763 * posix/bug-regex31.input: Add test case.
53764
537652010-10-11 Ulrich Drepper <drepper@gmail.com>
53766
53767 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
53768 * posix/bug-regex31.input: New file.
53769
53770 [BZ #12078]
53771 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
53772 (parse_sub_exp): Fix last change, use postorder.
53773
53774 * posix/bug-regex31.c: New file.
53775 * posix/Makefile: Add rules to build and run bug-regex31.
53776
53777 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
53778
53779 [BZ #12078]
53780 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
53781
53782 [BZ #12108]
53783 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
53784 to have entries in sys_siglist.
53785
53786 [BZ #12093]
53787 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
53788 be NULL.
53789
537902010-10-07 Jakub Jelinek <jakub@redhat.com>
53791
53792 [BZ #3268]
53793 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
53794 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
53795 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
53796 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
53797 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
53798 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
53799 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
53800 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
53801 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
53802 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
53803 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
53804 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
53805 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
53806 * math/ftestexcept.c (fetestexcept): Likewise.
53807 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
53808 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
53809 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
53810 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
53811 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
53812 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
53813 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
53814
538152010-10-11 Ulrich Drepper <drepper@gmail.com>
53816
53817 [BZ #12107]
53818 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
53819 newline.
53820
538212010-10-06 Ulrich Drepper <drepper@gmail.com>
53822
53823 * string/bug-strstr1.c: New file.
53824 * string/Makefile: Add rules to build and run bug-strstr1.
53825
538262010-10-05 Eric Blake <eblake@redhat.com>
53827
53828 [BZ #12092]
53829 * string/str-two-way.h (two_way_long_needle): Always clear memory
53830 when skipping input due to the shift table.
53831
538322010-10-03 Ulrich Drepper <drepper@gmail.com>
53833
53834 [BZ #12005]
53835 * malloc/mcheck.c: Handle large requests.
53836
53837 [BZ #12077]
53838 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
53839 for strncmp and strncasecmp.
53840 * string/stratcliff.c: Add tests for strcmp and strncmp.
53841 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
53842
538432010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
53844
53845 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
53846 __set_fpscr.
53847
538482010-09-30 Andreas Jaeger <aj@suse.de>
53849
53850 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
53851 (CGROUP_SUPER_MAGIC): Define.
53852 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53853 Handle btrfs and cgroup file systems.
53854 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53855 Likewise.
53856
538572010-09-27 Luis Machado <luisgpm@br.ibm.com>
53858
53859 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
53860 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
53861
538622010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53863
53864 [BZ #12067]
53865 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
53866 trying to locate the ELF header.
53867
538682010-09-27 Andreas Schwab <schwab@redhat.com>
53869
53870 [BZ #11611]
53871 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
53872 Mask out sign-bit copies when constructing f_fsid.
53873
538742010-09-24 Petr Baudis <pasky@suse.cz>
53875
53876 * debug/stack_chk_fail_local.c: Add missing licence exception.
53877 * debug/warning-nop.c: Likewise.
53878
538792010-09-15 Joseph Myers <joseph@codesourcery.com>
53880
53881 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
53882 implementing getdents64 using getdents syscall, set d_type if
53883 __ASSUME_GETDENTS32_D_TYPE.
53884
538852010-09-16 Andreas Schwab <schwab@redhat.com>
53886
53887 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
53888 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
53889
538902010-09-21 Ulrich Drepper <drepper@redhat.com>
53891
53892 [BZ #12037]
53893 * posix/unistd.h: Undo change of feature selection for ftruncate from
53894 2010-01-11.
53895
538962010-09-20 Ulrich Drepper <drepper@redhat.com>
53897
53898 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
53899 detection.
53900
539012010-09-20 Andreas Schwab <schwab@redhat.com>
53902
53903 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
53904 fanotify_mark.
53905 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53906
539072010-09-14 Andreas Schwab <schwab@redhat.com>
53908
53909 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
53910 variables after CHECK_SP call.
53911 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
53912
539132010-09-13 Andreas Schwab <schwab@redhat.com>
53914 Ulrich Drepper <drepper@redhat.com>
53915
53916 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
53917 re-relocationg ld.so.
53918 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
53919 _dl_init_paths call.
53920 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
53921 here anymore.
53922
539232010-09-14 Ulrich Drepper <drepper@redhat.com>
53924
53925 * resolv/res_init.c (__res_vinit): Count the default server we added.
53926
539272010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
53928 Ulrich Drepper <drepper@redhat.com>
53929
53930 [BZ #11968]
53931 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53932 (____longjmp_chk): Use %ebx for saving value across system call.
53933 Add unwind info.
53934
539352010-09-06 Andreas Schwab <schwab@redhat.com>
53936
53937 * manual/Makefile: Don't mix pattern rules with normal rules.
53938
539392010-09-05 Andreas Schwab <schwab@linux-m68k.org>
53940
53941 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
53942 operation.
53943 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
53944 * libio/iofopncook.c (_IO_cookie_init): Likewise.
53945 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
53946 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
53947 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53948 Likewise.
53949
539502010-09-04 Ulrich Drepper <drepper@redhat.com>
53951
53952 [BZ #11979]
53953 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
53954 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
53955
539562010-09-02 Ulrich Drepper <drepper@redhat.com>
53957
53958 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
53959 * sysdeps/x86_64/addmul_1.S: Likewise.
53960 * sysdeps/x86_64/lshift.S: Likewise.
53961 * sysdeps/x86_64/mul_1.S: Likewise.
53962 * sysdeps/x86_64/rshift.S: Likewise.
53963 * sysdeps/x86_64/sub_n.S: Likewise.
53964 * sysdeps/x86_64/submul_1.S: Likewise.
53965
539662010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
53967
53968 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
53969 Define __sched_param instead of SCHED_* and sched_param when
53970 <bits/sched.h> is included with __need_schedparam defined.
53971 * bits/sched.h [__need_schedparam]
53972 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
53973 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
53974 (__defined_schedparam): Define to 1.
53975 (__sched_param): New structure, identical to sched_param.
53976 (__need_schedparam): Undefine.
53977
539782010-08-31 Mike Frysinger <vapier@gentoo.org>
53979
53980 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
53981 (epoll_create1): Declare.
53982
53983 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
53984
539852010-08-31 Andreas Schwab <schwab@redhat.com>
53986
53987 [BZ #7066]
53988 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
53989 shifting retval into place.
53990
539912010-09-01 Ulrich Drepper <drepper@redhat.com>
53992
53993 * nis/rpcsvc/nis.h: Update copyright notice.
53994 * nis/rpcsvc/nis.x: Likewise.
53995 * nis/rpcsvc/nis_callback.h: Likewise.
53996 * nis/rpcsvc/nis_callback.x: Likewise.
53997 * nis/rpcsvc/nis_object.x: Likewise.
53998 * nis/rpcsvc/nis_tags.h: Likewise.
53999 * nis/rpcsvc/yp.h: Likewise.
54000 * nis/rpcsvc/yp.x: Likewise.
54001 * nis/rpcsvc/ypupd.h: Likewise.
54002 * nis/yp_xdr.c: Likewise.
54003 * nis/ypupdate_xdr.c: Likewise.
54004
54005 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
54006 mainly the body of pmap_getport. Add parameters to specify timeouts.
54007 (pmap_getport): Use __libc_rpc_getport.
54008 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
54009 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
54010 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
54011
540122010-08-31 Andreas Schwab <schwab@linux-m68k.org>
54013
54014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
54015 fanotify_mark.
54016
540172010-08-27 Roland McGrath <roland@redhat.com>
54018
54019 * sysdeps/i386/i686/multiarch/Makefile
54020 (CFLAGS-varshift.c): New variable.
54021
540222010-08-27 Ulrich Drepper <drepper@redhat.com>
54023
54024 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
54025 * sysdeps/i386/i686/multiarch/varshift.c: New file.
54026
54027 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
54028
54029 * sysdeps/x86_64/strlen.S: Minimal code improvement.
54030
540312010-08-26 H.J. Lu <hongjiu.lu@intel.com>
54032
54033 * sysdeps/x86_64/strlen.S: Unroll the loop.
54034 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54035 strlen-sse2 strlen-sse2-bsf.
54036 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
54037 __strlen_no_bsf if bit_Slow_BSF is set.
54038 (__strlen_sse42): Removed.
54039 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
54040 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
54041
540422010-08-25 Roland McGrath <roland@redhat.com>
54043
54044 * sysdeps/x86_64/multiarch/varshift.S: File removed.
54045 * sysdeps/x86_64/multiarch/varshift.c: New file.
54046 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
54047 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
54048 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
54049 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54050
540512010-08-25 H.J. Lu <hongjiu.lu@intel.com>
54052
54053 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54054 strlen-sse2 strlen-sse2-bsf.
54055 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
54056 __strlen_sse2_bsf if bit_Slow_BSF is unset.
54057 (__strlen_sse2): Removed.
54058 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
54059 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
54060 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
54061 bit_Slow_BSF for Atom.
54062 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
54063 (index_Slow_BSF): Define.
54064 (HAS_SLOW_BSF): Define.
54065
540662010-08-25 Ulrich Drepper <drepper@redhat.com>
54067
54068 [BZ #10851]
54069 * resolv/res_init.c (__res_vinit): When no server address at all
54070 is given default to loopback.
54071
540722010-08-24 Roland McGrath <roland@redhat.com>
54073
54074 * configure.in: Remove config-name.h generation.
54075 * configure: Regenerated.
54076 * config-name.in: File removed.
54077 * scripts/config-uname.sh: New file.
54078 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
54079 ($(objdir)config-name.h): New target.
54080
54081 * sunrpc/rpc_parse.h: Avoid nested comment.
54082
540832010-08-24 Richard Henderson <rth@redhat.com>
54084 Ulrich Drepper <drepper@redhat.com>
54085 H.J. Lu <hongjiu.lu@intel.com>
54086
54087 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
54088 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
54089 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
54090 Replace _mm_srli_si128 with __m128i_shift_right. Replace
54091 _mm_alignr_epi8 with _mm_loadu_si128.
54092 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
54093 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
54094 (__m128i_shift_right): Removed.
54095 * sysdeps/i386/i686/multiarch/varshift.h: New file.
54096 * sysdeps/i386/i686/multiarch/varshift.S: New file.
54097 * sysdeps/x86_64/multiarch/varshift.h: New file.
54098 * sysdeps/x86_64/multiarch/varshift.S: New file.
54099
541002010-08-21 Mike Frysinger <vapier@gentoo.org>
54101
54102 * configure.in: Move assembler checks to before sysdep dir checking.
54103
541042010-08-20 Petr Baudis <pasky@suse.cz>
54105
54106 * LICENSES: Sync the sunrpc license.
54107
541082010-08-19 Ulrich Drepper <drepper@redhat.com>
54109
54110 * sunrpc/auth_des.c: Update copyright notice once again.
54111 * sunrpc/auth_none.c: Likewise.
54112 * sunrpc/auth_unix.c: Likewise.
54113 * sunrpc/authdes_prot.c: Likewise.
54114 * sunrpc/authuxprot.c: Likewise.
54115 * sunrpc/bindrsvprt.c: Likewise.
54116 * sunrpc/clnt_gen.c: Likewise.
54117 * sunrpc/clnt_perr.c: Likewise.
54118 * sunrpc/clnt_raw.c: Likewise.
54119 * sunrpc/clnt_simp.c: Likewise.
54120 * sunrpc/clnt_tcp.c: Likewise.
54121 * sunrpc/clnt_udp.c: Likewise.
54122 * sunrpc/clnt_unix.c: Likewise.
54123 * sunrpc/des_crypt.c: Likewise.
54124 * sunrpc/des_soft.c: Likewise.
54125 * sunrpc/get_myaddr.c: Likewise.
54126 * sunrpc/getrpcport.c: Likewise.
54127 * sunrpc/key_call.c: Likewise.
54128 * sunrpc/key_prot.c: Likewise.
54129 * sunrpc/openchild.c: Likewise.
54130 * sunrpc/pm_getmaps.c: Likewise.
54131 * sunrpc/pm_getport.c: Likewise.
54132 * sunrpc/pmap_clnt.c: Likewise.
54133 * sunrpc/pmap_prot.c: Likewise.
54134 * sunrpc/pmap_prot2.c: Likewise.
54135 * sunrpc/pmap_rmt.c: Likewise.
54136 * sunrpc/rpc/auth.h: Likewise.
54137 * sunrpc/rpc/auth_unix.h: Likewise.
54138 * sunrpc/rpc/clnt.h: Likewise.
54139 * sunrpc/rpc/des_crypt.h: Likewise.
54140 * sunrpc/rpc/key_prot.h: Likewise.
54141 * sunrpc/rpc/netdb.h: Likewise.
54142 * sunrpc/rpc/pmap_clnt.h: Likewise.
54143 * sunrpc/rpc/pmap_prot.h: Likewise.
54144 * sunrpc/rpc/pmap_rmt.h: Likewise.
54145 * sunrpc/rpc/rpc.h: Likewise.
54146 * sunrpc/rpc/rpc_des.h: Likewise.
54147 * sunrpc/rpc/rpc_msg.h: Likewise.
54148 * sunrpc/rpc/svc.h: Likewise.
54149 * sunrpc/rpc/svc_auth.h: Likewise.
54150 * sunrpc/rpc/types.h: Likewise.
54151 * sunrpc/rpc/xdr.h: Likewise.
54152 * sunrpc/rpc_clntout.c: Likewise.
54153 * sunrpc/rpc_cmsg.c: Likewise.
54154 * sunrpc/rpc_common.c: Likewise.
54155 * sunrpc/rpc_cout.c: Likewise.
54156 * sunrpc/rpc_dtable.c: Likewise.
54157 * sunrpc/rpc_hout.c: Likewise.
54158 * sunrpc/rpc_main.c: Likewise.
54159 * sunrpc/rpc_parse.c: Likewise.
54160 * sunrpc/rpc_parse.h: Likewise.
54161 * sunrpc/rpc_prot.c: Likewise.
54162 * sunrpc/rpc_sample.c: Likewise.
54163 * sunrpc/rpc_scan.c: Likewise.
54164 * sunrpc/rpc_scan.h: Likewise.
54165 * sunrpc/rpc_svcout.c: Likewise.
54166 * sunrpc/rpc_tblout.c: Likewise.
54167 * sunrpc/rpc_util.c: Likewise.
54168 * sunrpc/rpc_util.h: Likewise.
54169 * sunrpc/rpcinfo.c: Likewise.
54170 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
54171 * sunrpc/rpcsvc/key_prot.x: Likewise.
54172 * sunrpc/rpcsvc/klm_prot.x: Likewise.
54173 * sunrpc/rpcsvc/mount.x: Likewise.
54174 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
54175 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
54176 * sunrpc/rpcsvc/rex.x: Likewise.
54177 * sunrpc/rpcsvc/rstat.x: Likewise.
54178 * sunrpc/rpcsvc/rusers.x: Likewise.
54179 * sunrpc/rpcsvc/sm_inter.x: Likewise.
54180 * sunrpc/rpcsvc/spray.x: Likewise.
54181 * sunrpc/rpcsvc/yppasswd.x: Likewise.
54182 * sunrpc/rtime.c: Likewise.
54183 * sunrpc/svc.c: Likewise.
54184 * sunrpc/svc_auth.c: Likewise.
54185 * sunrpc/svc_authux.c: Likewise.
54186 * sunrpc/svc_raw.c: Likewise.
54187 * sunrpc/svc_run.c: Likewise.
54188 * sunrpc/svc_simple.c: Likewise.
54189 * sunrpc/svc_tcp.c: Likewise.
54190 * sunrpc/svc_udp.c: Likewise.
54191 * sunrpc/svc_unix.c: Likewise.
54192 * sunrpc/svcauth_des.c: Likewise.
54193 * sunrpc/xcrypt.c: Likewise.
54194 * sunrpc/xdr.c: Likewise.
54195 * sunrpc/xdr_array.c: Likewise.
54196 * sunrpc/xdr_float.c: Likewise.
54197 * sunrpc/xdr_mem.c: Likewise.
54198 * sunrpc/xdr_rec.c: Likewise.
54199 * sunrpc/xdr_ref.c: Likewise.
54200 * sunrpc/xdr_sizeof.c: Likewise.
54201 * sunrpc/xdr_stdio.c: Likewise.
54202
54203 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
54204 handling.
54205
542062010-08-19 Andreas Schwab <schwab@redhat.com>
54207
54208 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
54209
542102010-08-19 Luis Machado <luisgpm@br.ibm.com>
54211
54212 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
54213 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
54214 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
54215 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
54216 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
54217 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
54218 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
54219 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
54220 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
54221 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
54222 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
54223 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
54224 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
54225 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
54226
542272010-07-26 Anton Blanchard <anton@samba.org>
54228
54229 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
54230 * malloc/arena.c (heap_trim): Likewise.
54231
542322010-08-16 Ulrich Drepper <drepper@redhat.com>
54233
54234 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
54235 here. Not...
54236 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
54237 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
54238
542392010-08-12 H.J. Lu <hongjiu.lu@intel.com>
54240
54241 * sysdeps/i386/elf/Makefile: New file.
54242
542432010-08-14 Andreas Schwab <schwab@linux-m68k.org>
54244
54245 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
54246 from fanotify_init.
54247 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
54248 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54249
542502010-08-15 Ulrich Drepper <drepper@redhat.com>
54251
54252 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
54253 of strncasecmp_l.
54254 * sysdeps/multiarch/strcmp.S: Likewise.
54255
542562010-08-14 Ulrich Drepper <drepper@redhat.com>
54257
54258 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54259 strncase_l-nonascii.
54260 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54261 Add strncase_l-ssse3.
54262 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
54263 * sysdeps/x86_64/strcmp.S: Likewise.
54264 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
54265 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
54266 * sysdeps/x86_64/strncase.S: New file.
54267 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
54268 * sysdeps/x86_64/strncase_l.S: New file.
54269 * string/Makefile (strop-tests): Add strncasecmp.
54270 * string/test-strncasecmp.c: New file.
54271
54272 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
54273 warning.
54274
54275 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
54276 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
54277
542782010-08-14 Andreas Schwab <schwab@linux-m68k.org>
54279
54280 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
54281
542822010-08-12 Ulrich Drepper <drepper@redhat.com>
54283
54284 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
54285 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
54286 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
54287
542882010-05-01 Alan Modra <amodra@gmail.com>
54289
54290 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
54291 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
54292 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
54293 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
54294 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
54295 tidying. Don't tail-call __sigjmp_save for static lib.
54296 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
54297 save location.
54298 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
54299 (CALL_MCOUNT): Add eh info, and nop after bl.
54300 (TAIL_CALL_SYSCALL_ERROR): New macro.
54301 (PSEUDO_RET): Use it.
54302 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
54303 Correct save location of integer regs and cr.
54304 (_dl_profile_resolve): Correct cr save location. Delete nops
54305 after bl when SHARED. Reduce cfi size a little by better
54306 placement of cfi directives.
54307 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
54308 make a stack frame. Instead use parm save area as a temp.
54309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
54310 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
54311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
54312 Don't make a stack frame for parent, use parm save area.
54313 Increase child stack frame to 112 bytes. Don't save unused reg,
54314 and adjust reg usage. Set up cfi on error recovery and
54315 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
54316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54317 (__makecontext): Add dummy nop after jump to exit.
54318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
54319 Use correct parm save area and cr save, reduce stack frame.
54320 Correct cfi for possible PSEUDO_RET frame setup.
54321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
54322 Branch to local label emitted by PSEUDO_RET rather than
54323 __syscall_error.
54324
543252010-08-12 Andreas Schwab <schwab@redhat.com>
54326
54327 [BZ #11904]
54328 * locale/programs/locale.c (print_assignment): New function.
54329 (show_locale_vars): Use it.
54330
543312010-08-11 Ulrich Drepper <drepper@redhat.com>
54332
54333 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
54334 field.
54335 (struct statfs64): Likewise.
54336 (_STATFS_F_FLAGS): Define.
54337 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
54338 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54339 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
54340 (ST_VALID): Define locally.
54341 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
54342 __statvfs_getflags, use the provided value.
54343 * sysdeps/unix/sysv/linux/kernel-features.h: Define
54344 __ASSUME_STATFS_F_FLAGS.
54345
54346 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
54347
54348 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
54349 Add sys/fanotify.h.
54350 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
54351 fanotify_mask for GLIBC_2.13.
54352 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
54353 fanotify_init and fanotify_mark.
54354 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54355 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
54356
54357 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
54358 Add prlimit.
54359 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
54360 prlimit64 for GLIBC_2.13.
54361 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
54362 prlimit64.
54363 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
54364 syscall.
54365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
54366 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54367 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
54368 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
54369 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
54370 add prlimit alias.
54371 * sysdeps/unix/sysv/linux/prlimit.c: New file.
54372
54373 [BZ #11903]
54374 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
54375 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
54376
54377 * nss/Makefile: Add rules to build and run tst-nss-test1.
54378 * shlib-versions: Add entry for libnss_test1.
54379 * nss/nss_test1.c: New file.
54380 * nss/tst-nss-test1.c: New file.
54381
54382 * nss/nsswitch.c (__nss_database_custom): Define new variable.
54383 (__nss_configure_lookup): Set appropriate entry in
54384 __nss_configure_lookup to true.
54385 * nss/nsswitch.h: Define enum with indeces of databases in
54386 databases and __nss_database_custom arrays. Declare
54387 __nss_database_custom.
54388 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
54389 to avoid using nscd when custom rules are installed.
54390 * nss/getXXbyYY_r.c: Likewise.
54391 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
54392
54393 * nss/nss_files/files-parse.c: Whitespace fixes.
54394
543952010-08-09 Ulrich Drepper <drepper@redhat.com>
54396
54397 [BZ #11883]
54398 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
54399 * posix/fnmatch_loop.c: Likewise.
54400
544012010-07-17 Andi Kleen <ak@linux.intel.com>
54402
54403 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
54404 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
54405 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
54406 * Versions.def [GLIBC_2.13]: Add.
54407
544082010-08-06 Ulrich Drepper <drepper@redhat.com>
54409
54410 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54411 Also fail if tpwd after pwuid call is NULL.
54412
544132010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
54414
54415 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
54416 when converting to ms.
54417
544182010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
54419
54420 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
54421 EOPNOTSUPP errors with ENOTTY.
54422 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
54423 EOPNOTSUPP errors with ENOTTY.
54424
544252010-07-31 Ulrich Drepper <drepper@redhat.com>
54426
54427 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54428 Add strcasecmp_l-ssse3.
54429 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
54430 strcasecmp.
54431 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
54432 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
54433 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
54434
544352010-07-30 Ulrich Drepper <drepper@redhat.com>
54436
54437 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
54438
54439 * string/Makefile (strop-tests): Add strcasecmp.
54440 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54441 strcasecmp_l-nonascii.
54442 (gen-as-const-headers): Add locale-defines.sym.
54443 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
54444 * sysdeps/x86_64/strcasecmp.S: New file.
54445 * sysdeps/x86_64/strcasecmp_l.S: New file.
54446 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
54447 * sysdeps/x86_64/locale-defines.sym: New file.
54448 * string/test-strcasecmp.c: New file.
54449
54450 * string/test-strcasestr.c: Test both ends of the range of characters.
54451 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
54452
544532010-07-29 Roland McGrath <roland@redhat.com>
54454
54455 [BZ #11856]
54456 * manual/locale.texi (Yes-or-No Questions): Fix example code.
54457
544582010-07-27 Ulrich Drepper <drepper@redhat.com>
54459
54460 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
54461 for ld.so.
54462
544632010-07-27 Andreas Schwab <schwab@redhat.com>
54464
54465 * manual/memory.texi (Malloc Tunable Parameters): Document
54466 M_PERTURB.
54467
544682010-07-26 Roland McGrath <roland@redhat.com>
54469
54470 [BZ #11840]
54471 * configure.in (-fgnu89-inline check): Set and substitute
54472 gnu89_inline, not libc_cv_gnu89_inline.
54473 * configure: Regenerated.
54474 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
54475
544762010-07-26 Ulrich Drepper <drepper@redhat.com>
54477
54478 * string/test-strnlen.c: New file.
54479 * string/Makefile (strop-tests): Add strnlen.
54480 * string/tester.c (test_strnlen): Add a few more test cases.
54481 * string/tst-strlen.c: Better error reporting.
54482
54483 * sysdeps/x86_64/strnlen.S: New file.
54484
544852010-07-24 Ulrich Drepper <drepper@redhat.com>
54486
54487 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
54488 lower-latency instructions.
54489
544902010-07-23 Ulrich Drepper <drepper@redhat.com>
54491
54492 * string/test-strcasestr.c: New file.
54493 * string/test-strstr.c: New file.
54494 * string/Makefile (strop-tests): Add strstr and strcasestr.
54495 * string/str-two-way.h: Don't undefine MAX.
54496 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
54497
544982010-07-21 Andreas Schwab <schwab@redhat.com>
54499
54500 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54501 strcasestr-nonascii.
54502 (CFLAGS-strcasestr-nonascii.c): Define.
54503 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
54504 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
54505 Remove unused attribute.
54506
545072010-07-20 Roland McGrath <roland@redhat.com>
54508
54509 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
54510 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
54511 ld.so.cache was broken. With it, there is no way to disable dsocaps
54512 like LD_HWCAP_MASK can disable hwcaps.
54513
545142010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
54515
54516 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
54517
545182010-07-16 Ulrich Drepper <drepper@redhat.com>
54519
54520 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
54521 call in strcasestr.
54522 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
54523 __strcasestr_sse42_nonascii.
54524 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
54525 strcasestr-nonascii.c.
54526 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
54527
545282010-06-15 Luis Machado <luisgpm@br.ibm.com>
54529
54530 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
54531 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
54532 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
54533 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
54534
545352010-07-09 Ulrich Drepper <drepper@redhat.com>
54536
54537 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
54538 fcntl.
54539
545402010-07-06 Andreas Schwab <schwab@redhat.com>
54541
54542 [BZ #11577]
54543 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
54544 dl_signal_cerror.
54545
545462010-07-06 Ulrich Drepper <drepper@redhat.com>
54547
54548 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
54549 _PC_PIPE_BUF using F_GETPIPE_SZ.
54550
545512010-07-05 Roland McGrath <roland@redhat.com>
54552
54553 * manual/arith.texi (Rounding Functions): Fix rint description
54554 implicit in round description.
54555
545562010-07-02 Ulrich Drepper <drepper@redhat.com>
54557
54558 * elf/Makefile: Fix linking for a few tests to make recent linker
54559 happy.
54560
545612010-06-30 Andreas Schwab <schwab@redhat.com>
54562
54563 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54564 $(common-objpfx)libc_nonshared.a.
54565
545662010-06-21 Luis Machado <luisgpm@br.ibm.com>
54567
54568 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
54569 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
54570 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54571 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54572 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
54573 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
54574 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54575 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
54577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
54578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
54579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
54581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
54583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
54584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
54585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
54586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
54588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
54590 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
54591 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
54592 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
54593 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
54594 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
54595 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
54596 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
54597 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
54598 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
54599 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
54600 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
54601 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
54602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
54603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
54604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
54605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
54606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
54607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
54608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
54609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
54610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
54611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
54612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
54613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
54614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
54615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
54616
546172010-06-25 H.J. Lu <hongjiu.lu@intel.com>
54618
54619 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
54620 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
54621 * string/memmove.c (memmove): Renamed to ...
54622 (MEMMOVE): ...this. Default to memmove.
54623 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
54624 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
54625 (END_CHK): Define.
54626 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54627 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
54628 mempcpy-ssse3-back memmove-ssse3-back.
54629 * sysdeps/x86_64/multiarch/bcopy.S: New file .
54630 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
54631 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
54632 * sysdeps/x86_64/multiarch/memcpy.S: New file.
54633 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
54634 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
54635 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
54636 * sysdeps/x86_64/multiarch/memmove.c: New file.
54637 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
54638 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
54639 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
54640 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
54641 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
54642 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
54643 Define.
54644 (index_Fast_Copy_Backward): Define.
54645 (HAS_ARCH_FEATURE): Define.
54646 (HAS_FAST_REP_STRING): Define.
54647 (HAS_FAST_COPY_BACKWARD): Define.
54648
546492010-06-21 Andreas Schwab <schwab@redhat.com>
54650
54651 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54652 Restore proper fallback handling.
54653
546542010-06-19 Ulrich Drepper <drepper@redhat.com>
54655
54656 [BZ #11701]
54657 * posix/group_member.c (__group_member): Correct checking loop.
54658
54659 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
54660 OOM in getpwuid_r correctly. Return error number when the caller
54661 should return, otherwise -1.
54662 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
54663 call returning > 0 value.
54664 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
54665
546662010-06-07 Andreas Schwab <schwab@redhat.com>
54667
54668 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
54669 libc_nonshared.a from targets in modules-names.
54670
546712010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
54672
54673 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
54674 requires it.
54675
546762010-06-10 Luis Machado <luisgpm@br.ibm.com>
54677
54678 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
54679 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
54680 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
54681 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
54682
546832010-06-02 Andreas Schwab <schwab@redhat.com>
54684
54685 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
54686
546872010-06-14 Ulrich Drepper <drepper@redhat.com>
54688
54689 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
54690 and F_GETPIPE_SZ.
54691 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54692 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54693 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54694 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54695 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54696 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
54697
546982010-06-14 Roland McGrath <roland@redhat.com>
54699
54700 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
54701
547022010-06-07 Jakub Jelinek <jakub@redhat.com>
54703
54704 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
54705 __REDIRECT followed by __THROW.
54706 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
54707 * posix/getopt.h (getopt): Likewise.
54708
547092010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
54710
54711 * hurd/lookup-at.c (__file_name_lookup_at): Accept
54712 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
54713 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
54714 in AT_FLAGS.
54715 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
54716 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
54717
547182010-05-28 Luis Machado <luisgpm@br.ibm.com>
54719
54720 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
54721
547222010-05-26 H.J. Lu <hongjiu.lu@intel.com>
54723
54724 [BZ #11640]
54725 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54726 Properly check family and model.
54727
547282010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
54729
54730 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
54731
547322010-05-24 Luis Machado <luisgpm@br.ibm.com>
54733
54734 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
54735
547362010-05-21 Ulrich Drepper <drepper@redhat.com>
54737
54738 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
54739 symbol reference.
54740
547412010-05-19 Andreas Schwab <schwab@redhat.com>
54742
54743 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
54744 symbol reference.
54745
547462010-05-21 Andreas Schwab <schwab@redhat.com>
54747
54748 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
54749 and internal_recvmmsg.
54750 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
54751 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
54752 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
54753 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
54754
54755 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
54756 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
54757 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
54758
547592010-05-20 Andreas Schwab <schwab@redhat.com>
54760
54761 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
54762
547632010-05-17 Luis Machado <luisgpm@br.ibm.com>
54764
54765 POWER7 optimizations.
54766 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
54767 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
54768
547692010-05-19 Ulrich Drepper <drepper@redhat.com>
54770
54771 * version.h: Update for 2.13 development version.
54772
547732010-05-12 Andrew Stubbs <ams@codesourcery.com>
54774
54775 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
54776 exceptions. Return 0.
54777
547782010-05-07 Roland McGrath <roland@redhat.com>
54779
54780 * elf/ldconfig.c (main): Add a const.
54781
547822010-05-06 Ulrich Drepper <drepper@redhat.com>
54783
54784 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
54785 (args_options): Add no-idn option.
54786 (ahosts_keys_int): Add idn_flags to ai_flags.
54787 (parse_option): Handle 'i' option to clear idn_flags.
54788
54789 * malloc/malloc.c (_int_free): Possible race in the most recently
54790 added check. Only act on the data if no current modification
54791 happened.
54792
54793See ChangeLog.17 for earlier changes.